@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Keep fonts and chatbot glows, but let style.css define colors */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --primary: #7c3aed;
    --primary-glow: rgba(124, 58, 237, 0.2);

    /* Global design system variables for dynamic pages (Footer, Product, Search, Cart) */
    --text-primary: #ffffff;
    --text-secondary: #D6D1C7;
    --text-muted: #94a3b8;
    --border-glass: rgba(255, 255, 255, 0.08);
}

/* Typography Upgrades using Google Fonts */
body,
* {
    font-family: var(--font-body);
}

h1,
h2,
h3,
h4,
h5,
h6,
.logo span,
.logo p,
.section-title,
.hero-content h1 {
    font-family: var(--font-heading) !important;
}

/* Custom Scrollbar styled dynamically */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #c58a3d;
    border-radius: 10px;
}

/* Floating AI Chatbot Button in matching purple/orange */
.chatbot-launcher {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #7c3aed, #f97316);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.35);
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.chatbot-launcher:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 15px 30px rgba(124, 58, 237, 0.5);
}

/* Slide-up Chat Drawer styles */
#chatDrawer {
    font-family: var(--font-body);
}

/* Glowing animations */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* ==========================================================
   PREMIUM OVERRIDES & MOBILE VIEWPORT FIXES
   ========================================================== */

/* 1. Mobile Stacking Button Layout (Prevents Cut-Off on Narrow Screens) */
@media(max-width: 768px) {
    .product-buttons {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        margin-top: 15px !important;
    }

    .product-buttons .cart-btn,
    .product-buttons .buy-btn {
        width: 100% !important;
        flex: none !important;
        margin: 0 !important;
        height: 46px !important;
        min-height: 46px !important;
        padding: 0 12px !important;
        font-size: 13.5px !important;
        border-radius: 12px !important;
        white-space: nowrap !important;
        box-shadow: none !important;
    }
}

/* 2. Premium Curved Cards Styling (Consistent Curved Curvature) */
.product-card {
    border-radius: 25px !important;
}

.products-section .product-card {
    border-radius: 25px !important;
}

.launch-card {
    border-radius: 25px !important;
}

.feature-box {
    border-radius: 25px !important;
}

.why-card {
    border-radius: 25px !important;
}

.stat-box {
    border-radius: 25px !important;
}

/* 3. Unified Alabaster Curved Sections (Consistent Home & Shop layout) */
.products-section {
    background: #F5F5F0 !important;
    padding: 50px 30px !important;
    border-radius: 32px !important;
    margin: 60px auto !important;
    max-width: 1400px !important;
    width: 90% !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02) !important;
}

/* Search Page Styled to Match Home & Shop Sections */
.search-section {
    background: #F5F5F0 !important;
    border-radius: 32px !important;
    padding: 50px 30px !important;
    margin: 40px auto !important;
    max-width: 1200px !important;
    width: 90% !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02) !important;
}

.search-section .product-card {
    background: #ffffff !important;
    border: 1px solid #ececec !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
}

.search-section h3 {
    color: #111111 !important;
}

.search-section p {
    color: #555555 !important;
}

.search-section .price {
    color: #8B5E2B !important;
}

@media(max-width: 768px) {

    .products-section,
    .search-section {
        padding: 30px 15px !important;
        border-radius: 24px !important;
        margin: 30px auto !important;
    }
}

/* 4. Reduce Massive Gap Between Sticky Search Bar & Shop Hero Title */
.shop-hero {
    padding-top: 50px !important;
}

@media(max-width: 768px) {
    .shop-hero {
        padding-top: 30px !important;
    }
}

/* 5. Cart Layout Curved Overrides (Matches premium curves exactly) */
.cart-items {
    border-radius: 25px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.checkout-box {
    border-radius: 25px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.checkout-form input,
.checkout-form select,
.checkout-form textarea {
    border-radius: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.checkout-form input:focus,
.checkout-form select:focus,
.checkout-form textarea:focus {
    border-color: #00ff99 !important;
    box-shadow: 0 0 0 3px rgba(0, 255, 153, 0.15) !important;
}

.pay-btn {
    border-radius: 16px !important;
}

.clear-cart-btn {
    border-radius: 16px !important;
}

.cart-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.cart-item img {
    border-radius: 16px !important;
}

/* 6. Suggestions Dropdown Curvature styling */
#suggestions {
    border-radius: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* 7. Sleek Dynamic Navigation Back Arrow Button (Matches current page theme) */
.nav-back-arrow-btn {
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    border: none !important;
    background: rgba(124, 58, 237, 0.08) !important;
    color: #7c3aed !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-size: 17px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04) !important;
    margin-right: 12px !important;
}

.nav-back-arrow-btn:hover {
    background: #7c3aed !important;
    color: white !important;
    transform: scale(1.08) translateX(-2px) !important;
    box-shadow: 0 6px 15px rgba(124, 58, 237, 0.25) !important;
}

/* Dark Theme specific overrides for back button (Cart, Search, Product Details) */
body[style*="background: #0f172a"] .nav-back-arrow-btn,
body[style*="background:#0f172a"] .nav-back-arrow-btn,
body[style*="background: rgb(15, 23, 42)"] .nav-back-arrow-btn,
body[style*="background:#0d0d0d"] .nav-back-arrow-btn,
body[style*="background: #0d0d0d"] .nav-back-arrow-btn {
    background: rgba(255, 255, 255, 0.08) !important;
    color: white !important;
}

body[style*="background: #0f172a"] .nav-back-arrow-btn:hover,
body[style*="background:#0f172a"] .nav-back-arrow-btn:hover,
body[style*="background: rgb(15, 23, 42)"] .nav-back-arrow-btn:hover,
body[style*="background:#0d0d0d"] .nav-back-arrow-btn:hover,
body[style*="background: #0d0d0d"] .nav-back-arrow-btn:hover {
    background: #00ff99 !important;
    color: black !important;
    box-shadow: 0 6px 15px rgba(0, 255, 153, 0.25) !important;
}


/* PREMIUM HIGH-CONTRAST WHITE FOOTER GLOBAL OVERRIDES */
.footer {
    background: #ffffff !important;
    border-top: 1px solid #e2e8f0 !important;
    padding: 70px 20px 40px 20px !important;
}

.footer h3 {
    color: #111111 !important;
}

.footer p,
.footer span,
.footer div {
    color: #475569 !important;
}

.footer a {
    color: #111111 !important;
    transition: 0.2s ease !important;
}

.footer a:hover {
    color: #7c3aed !important;
    /* Premium brand purple hover */
}

/* Newsletter Input & Button styling for Light Footer */
.footer input[type="email"] {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #111111 !important;
}

.footer input[type="email"]::placeholder {
    color: #94a3b8 !important;
}

.footer button[type="submit"] {
    background: linear-gradient(135deg, #7c3aed, #9061f9) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.2) !important;
}

.footer button[type="submit"]:hover {
    box-shadow: 0 6px 15px rgba(124, 58, 237, 0.35) !important;
}

/* Social icons in footer */
.footer .social-icons-footer a {
    border: 1px solid #cbd5e1 !important;
    color: #475569 !important;
    background: #f8fafc !important;
}

.footer .social-icons-footer a:hover {
    background: #7c3aed !important;
    color: #ffffff !important;
    border-color: #7c3aed !important;
}

/* ==========================================================
   PREMIUM WHATSAPP REDIRECT CUSTOM STYLES
   ========================================================== */

/* Dynamic pulsing effect for the premium WhatsApp submission button */
.whatsapp-btn-pulse {
    position: relative;
    overflow: hidden;
    animation: waBtnPulse 2s infinite ease-in-out;
}

@keyframes waBtnPulse {
    0% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.55);
        transform: scale(1.02);
    }

    100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
        transform: scale(1);
    }
}

/* ==========================================================
   SITE-WIDE PREMIUM VISUAL POLISH & HOVER UPGRADES
   ========================================================== */

/* Product Cards Floating Hover Effect */
.product-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.01) !important;
    box-shadow: 0 20px 35px rgba(139, 94, 43, 0.06), 0 4px 15px rgba(0, 0, 0, 0.01) !important;
    border-color: rgba(124, 58, 237, 0.2) !important;
}

/* Enhancing CTA buttons with dynamic gradients & lift */
.cart-btn,
.buy-btn,
.shop-btn,
.pay-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.cart-btn:hover,
.buy-btn:hover,
.shop-btn:hover,
.pay-btn:hover {
    transform: translateY(-3px) !important;
}

/* Elegant Backdrop Blurs & Premium Glass Effects for Sidebars/Dialogs */
.sidebar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-left: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.05) !important;
}

/* Beautiful Smooth Entrance Animation for Titles */
.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
    margin-bottom: 30px;
    color: #1e293b !important;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #7c3aed, #c58a3d);
    border-radius: 2px;
}

/* ==========================================================
   FINAL POLISHING & MICRO-ANIMATION UPDATES
   ========================================================== */

/* Sitewide Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Premium Text Gradients for Hero */
.hero-content h1 {
    font-family: var(--font-heading) !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
}

.hero-content h1 span {
    background: linear-gradient(90deg, #a78bfa, #fde047) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    display: block !important;
    font-weight: 900 !important;
}

/* Hero shop button gradient and lift transition */
.hero-content .shop-btn {
    background: linear-gradient(135deg, #7c3aed, #db2777) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.35) !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.hero-content .shop-btn:hover {
    transform: translateY(-4px) scale(1.03) !important;
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.5) !important;
}

/* Why-Choose-Us card upgrades */
.why-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.why-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 15px 30px rgba(124, 58, 237, 0.06) !important;
    border-color: rgba(124, 58, 237, 0.18) !important;
}

.why-card i {
    color: #7c3aed !important;
    background: rgba(124, 58, 237, 0.06) !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 15px !important;
    font-size: 24px !important;
    transition: all 0.3s ease !important;
}

.why-card:hover i {
    background: #7c3aed !important;
    color: #ffffff !important;
    transform: scale(1.1) rotate(5deg) !important;
}

/* Connect-With-Us Section visual improvements */
.social-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 30px !important;
    padding: 50px 30px !important;
    margin: 60px auto !important;
    max-width: 1200px !important;
    width: 90% !important;
    text-align: center !important;
}

.social-section h2 {
    color: #1e293b !important;
    text-shadow: none !important;
}

.social-subtitle {
    color: #475569 !important;
    font-size: 15.5px !important;
    text-align: center !important;
    max-width: 600px !important;
    margin: -15px auto 35px auto !important;
    line-height: 1.6 !important;
}

.social-cards {
    display: flex !important;
    justify-content: center !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
}

.social-card-item {
    flex: 1 !important;
    min-width: 260px !important;
    max-width: 300px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 20px 25px !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    text-decoration: none !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
}

.social-card-item:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 15px 30px rgba(124, 58, 237, 0.08) !important;
    border-color: #7c3aed !important;
}

.social-icon-wrapper {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    flex-shrink: 0 !important;
    background: #f8fafc !important;
    transition: all 0.3s ease !important;
}

.social-card-info {
    text-align: left !important;
}

.social-card-info h3 {
    margin: 0 0 3px 0 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
}

.social-card-info p {
    margin: 0 !important;
    font-size: 13px !important;
    color: #64748b !important;
    font-weight: 500 !important;
}

/* Platform-specific styling updates */
.social-card-item.instagram .social-icon-wrapper i {
    background: linear-gradient(45deg, #f58529, #feda77, #dd2a7b, #8134af, #515bd4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.social-card-item.instagram:hover .social-icon-wrapper {
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af) !important;
}

.social-card-item.instagram:hover .social-icon-wrapper i {
    -webkit-text-fill-color: #ffffff !important;
}

.social-card-item.facebook .social-icon-wrapper i {
    color: #1877F2 !important;
}

.social-card-item.facebook:hover .social-icon-wrapper {
    background: #1877F2 !important;
}

.social-card-item.facebook:hover .social-icon-wrapper i {
    color: #ffffff !important;
}

.social-card-item.youtube .social-icon-wrapper i {
    color: #FF0000 !important;
}

.social-card-item.youtube:hover .social-icon-wrapper {
    background: #FF0000 !important;
}

.social-card-item.youtube:hover .social-icon-wrapper i {
    color: #ffffff !important;
}

/* ==========================================================
   PREMIUM PRODUCT BACKGROUND & SHOWCASE UPGRADES
   ========================================================== */

/* 1. Global Page Background - Luxury Soft Gradient Canvas */
body {
    background: radial-gradient(circle at 10% 20%, rgba(124, 58, 237, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(139, 94, 43, 0.03) 0%, transparent 45%),
        #fdfdfd !important;
    color: #1e293b !important;
}

/* 2. Product Card Image Showcase Background - Radial Studio Glow */
.product-image {
    background: radial-gradient(circle at center, rgba(124, 58, 237, 0.06) 0%, rgba(251, 191, 36, 0.03) 50%, #fafafb 100%) !important;
    position: relative !important;
    overflow: hidden !important;
    border-right: 1px solid rgba(0, 0, 0, 0.03) !important;
    transition: all 0.4s ease !important;
}

/* Studio ambient backlight behind transparent product image */
.product-image::before {
    content: '' !important;
    position: absolute !important;
    width: 140px !important;
    height: 140px !important;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.18) 0%, rgba(251, 191, 36, 0.08) 50%, transparent 75%) !important;
    border-radius: 50% !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 1 !important;
    pointer-events: none !important;
    filter: blur(12px) !important;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.product-card:hover .product-image::before {
    transform: translate(-50%, -50%) scale(1.3) !important;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.25) 0%, rgba(251, 191, 36, 0.12) 50%, transparent 75%) !important;
    filter: blur(15px) !important;
}

.product-image img {
    position: relative !important;
    z-index: 2 !important;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.04)) !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.product-card:hover .product-image img {
    filter: drop-shadow(0 15px 25px rgba(124, 58, 237, 0.12)) !important;
}

/* Responsive adjustments for mobile/tablet horizontal card view */
@media (max-width: 768px) {
    .product-image {
        border-right: none !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.03) !important;
    }
}