:root {
    --primary-emerald: #1A3B32;    /* Deep Forest Emerald (Ancient Heritage, Premium Luxury) */
    --accent-green: #8C9E5E;       /* Organic Leaf Green (Ayurvedic botanical tone) */
    --logo-green: #9cd334;         /* Original Vyas Green (Vibrant active/focus highlight) */
    --warm-gold: #c5a880;          /* Apothecary Brass / Gold (Premium borders & trims) */
    --parchment: #FDFBF7;          /* Classic Herbarium Parchment (Page background) */
    --sand: #F4EFEA;               /* Deep Sand (Soft separators) */
    --clay-dark: #1D2321;          /* Organic Carbon/Clay for body text */
    
    --primary: var(--primary-emerald);
    --secondary: var(--clay-dark);
    --accent: var(--accent-green);
    --bg-light: var(--parchment);
    --text-dark: var(--clay-dark);
    --glass: #ffffff;
    
    --border-subtle: rgba(26, 59, 50, 0.08);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-premium: 0 10px 30px rgba(26, 59, 50, 0.04);
    --shadow-premium-hover: 0 20px 45px rgba(26, 59, 50, 0.08);
}

/* Custom Spacing Helpers */
.p-20 { padding: 20px !important; }
.p-15 { padding: 15px !important; }
.ml-15 { margin-left: 15px !important; }
.ml-20 { margin-left: 20px !important; }

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(140, 158, 94, 0.025) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(26, 59, 50, 0.02) 0%, transparent 50%);
    background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6,
.main-menu ul li a {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: -0.3px;
}

a {
    text-decoration: none !important;
    transition: var(--transition-smooth);
}

.heading-premium {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--primary-emerald);
    position: relative;
}

#load {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    background-size: 100px;
    transition: opacity 0.5s ease-out;
}

/* Premium Buttons */
.btn-style-orange {
    background: linear-gradient(135deg, var(--primary-emerald), var(--accent-green));
    border-radius: 50px !important;
    padding: 12px 35px !important;
    box-shadow: 0 8px 25px rgba(26, 59, 50, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    font-weight: 600 !important;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: var(--transition-smooth) !important;
}

.btn-style-orange:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(26, 59, 50, 0.25);
    background: linear-gradient(135deg, var(--accent-green), var(--primary-emerald));
    color: #fff !important;
}

/* Card Effects */
.card-premium {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-premium);
}

.card-premium:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium-hover);
    border-color: rgba(26, 59, 50, 0.15);
}

.scroll-top {
    position: fixed;
    bottom: 40px;
    right: 110px;
    width: 50px;
    height: 50px;
    background: var(--primary-emerald);
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(26, 59, 50, 0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.scroll-top:hover {
    transform: translateY(-5px);
    background: var(--accent-green);
    box-shadow: 0 10px 20px rgba(140, 158, 94, 0.3);
}

/* Premium Footer Redesign */
.footer-premium {
    background-color: var(--primary-emerald);
    color: #ffffff;
    padding: 80px 0 30px;
    border-top: 3px solid var(--warm-gold);
    position: relative;
}

.footer-premium h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
}

.footer-premium h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 30px;
    height: 2px;
    background: var(--logo-green);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 15px;
}

.footer-links a:hover {
    color: var(--logo-green);
    padding-left: 5px;
}

.footer-contact-info p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
    margin-bottom: 12px;
}

.footer-contact-info i {
    color: var(--logo-green);
    margin-right: 10px;
    width: 20px;
}

.footer-bottom {
    margin-top: 60px;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
    color: #ffffff !important;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8) !important;
    opacity: 1 !important;
}

.footer-logo-small {
    max-width: 95px;
    margin-bottom: 25px;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.1));
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
    color: #fff;
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
}

/* Minimal Header Redesign */
.navbar-minimal {
    height: 80px;
    display: flex;
    align-items: center;
    padding: 0 40px;
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1400px;
    z-index: 2500;
    box-shadow: var(--shadow-premium);
    border-radius: 100px;
    border: 1px solid var(--border-subtle);
    transition: var(--transition-smooth);
}

.navbar-minimal.scrolled {
    top: 0;
    width: 100%;
    border-radius: 0 0 25px 25px;
    box-shadow: 0 10px 35px rgba(26, 59, 50, 0.06);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-links {
    display: flex;
    gap: 25px;
    margin-left: auto;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile Drawer Specific Global Elements */
.drawer-header {
    display: none !important;
}
.drawer-only-icon {
    display: none !important;
}
.drawer-only-text {
    display: none !important;
}
.drawer-divider {
    display: none !important;
}

/* Desktop specific cart nav overrides */
.cart-nav {
    position: relative;
    margin-right: 15px;
}
.cart-nav i {
    font-size: 20px;
}
.cart-nav #cart-count {
    position: absolute;
    top: -10px;
    right: -15px;
    background: var(--secondary);
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 50%;
    font-weight: 700;
}

/* Mobile Menu Blur Backdrop */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(26, 59, 50, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2400;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Mobile Bottom Nav - Premium Glassmorphic Design */
.mobile-bottom-nav {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 480px;
    background: rgba(255, 255, 255, 0.95); /* Matches pure white translucency */
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    border-radius: 40px;
    border: 1px solid rgba(26, 59, 50, 0.12); /* Subtle primary green border */
    box-shadow: 0 16px 40px rgba(26, 59, 50, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    z-index: 2000;
    padding: 0 15px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: rgba(26, 59, 50, 0.55); /* Muted primary emerald */
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    width: 18%;
    height: 52px;
    border-radius: 24px;
    position: relative;
}

.mobile-nav-item i {
    font-size: 20px;
    margin-bottom: 3px;
    transition: transform 0.25s ease;
}

.mobile-nav-item span {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
    font-family: 'Open Sans', sans-serif;
}

/* Haptic feedback micro-scale on touch */
.mobile-nav-item:active {
    transform: scale(0.9) translateY(1px);
    color: var(--primary) !important;
}

.mobile-nav-item.active {
    color: var(--primary-emerald) !important;
    background: rgba(140, 158, 94, 0.12) !important; /* Accent green tint */
    font-weight: 700;
}

.mobile-nav-item.active i {
    transform: scale(1.1);
    color: var(--primary-emerald) !important;
}

.mobile-nav-item.active span {
    opacity: 1;
    color: var(--primary-emerald);
}

/* Central Glowing Pulsing Action Button Container */
.mobile-central-btn-wrapper {
    width: 20%;
    display: flex;
    justify-content: center;
    position: relative;
}

.mobile-central-btn {
    position: absolute;
    top: -34px;
    width: 66px;
    height: 66px;
    background: linear-gradient(135deg, var(--primary-emerald), var(--accent-green));
    border-radius: 50%;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2200;
    border: 4px solid var(--parchment);
    box-shadow: 0 10px 25px rgba(26, 59, 50, 0.35);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Pulsing ring animation around leaf button */
.mobile-central-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--accent-green);
    top: 0;
    left: 0;
    animation: pulse-ring 2.5s infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.95);
        opacity: 1;
    }
    80%, 100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.mobile-central-btn:hover, .mobile-central-btn:active {
    transform: scale(0.92) translateY(-2px);
    box-shadow: 0 14px 30px rgba(26, 59, 50, 0.45);
    background: linear-gradient(135deg, var(--accent-green), var(--primary-emerald));
}

.mobile-central-btn i {
    font-size: 26px;
    margin-bottom: 0 !important;
    animation: herbal-sway 6s ease-in-out infinite alternate;
}

@keyframes herbal-sway {
    0% { transform: rotate(-5deg); }
    100% { transform: rotate(5deg); }
}

.mobile-cart-badge {
    position: absolute;
    top: 4px;
    right: 12px;
    background: var(--logo-green); /* Contrast bright green highlight */
    color: var(--primary-emerald);
    font-size: 9px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(156, 211, 52, 0.4);
    border: 1.5px solid var(--parchment);
}

.sub-bg {
    font-size: 28px !important;
    padding-left: 0 !important;
}

.sub-bg:before {
    display: none !important;
}

/* Mobile Responsive Fixes */
@media (max-width: 991px) {
    .navbar-minimal {
        padding: 0 20px;
        height: 70px;
        top: 10px;
        border-radius: 35px;
    }

    .navbar-minimal .logo-box {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 !important;
        flex-shrink: 0;
    }

    .navbar-minimal .logo-box img {
        height: 38px !important;
        width: auto !important;
        display: block;
        object-fit: contain;
    }

    /* side drawer navigation */
    .nav-links {
        display: flex !important;
        position: fixed;
        top: 0;
        right: -320px;
        width: 320px;
        height: 100vh;
        background: var(--parchment);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 30px 24px;
        box-shadow: -10px 0 40px rgba(26, 59, 50, 0.12);
        z-index: 2500;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        text-align: left;
        gap: 0;
        overflow-y: auto;
        margin-left: 0;
        border-left: 1px solid rgba(26, 59, 50, 0.08);
        visibility: hidden;
    }

    .nav-links.mobile-active {
        right: 0 !important;
        visibility: visible;
    }

    /* Drawer Header */
    .drawer-header {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 25px;
        margin-bottom: 20px;
        border-bottom: 1.5px solid var(--sand);
    }

    .drawer-title {
        font-family: 'Poppins', sans-serif;
        font-size: 20px;
        font-weight: 700;
        color: var(--primary-emerald);
    }

    .drawer-close-btn {
        background: var(--sand);
        border: none;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary-emerald);
        cursor: pointer;
        transition: var(--transition-smooth);
    }

    .drawer-close-btn:active {
        transform: scale(0.9);
        background: rgba(26, 59, 50, 0.1);
    }

    /* Drawer Links styling */
    .nav-links a {
        color: var(--primary-emerald) !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        text-transform: none !important;
        letter-spacing: 0.5px !important;
        padding: 14px 16px !important;
        border-radius: 12px;
        display: flex !important;
        align-items: center;
        gap: 12px;
        transition: var(--transition-smooth) !important;
        margin-bottom: 5px;
        width: 100%;
    }

    .nav-links a::after {
        display: none !important;
    }

    .nav-links a:hover, .nav-links a:active {
        background: rgba(140, 158, 94, 0.1) !important;
        padding-left: 20px !important;
    }

    /* Special Highlight for Quick Order */
    .nav-links a.quick-order-nav {
        color: var(--primary-emerald) !important;
        background: rgba(140, 158, 94, 0.08);
        border: 1px dashed rgba(140, 158, 94, 0.3);
    }

    .nav-links a.quick-order-nav:hover {
        background: rgba(140, 158, 94, 0.15) !important;
    }

    /* Cart Item inside mobile drawer */
    .nav-links a.cart-nav {
        position: relative;
        margin-right: 0 !important;
        display: flex !important;
        align-items: center;
        gap: 12px;
    }

    .nav-links a.cart-nav i {
        font-size: 18px !important;
    }

    .drawer-only-text {
        display: inline !important;
    }

    .nav-links a.cart-nav #cart-count {
        position: static !important;
        background: var(--primary-emerald) !important;
        color: #fff !important;
        font-size: 11px !important;
        padding: 3px 8px !important;
        border-radius: 12px !important;
        font-weight: 700 !important;
        margin-left: auto;
    }

    /* Mobile Icons */
    .drawer-only-icon {
        display: inline-block !important;
        font-size: 18px;
        color: var(--accent-green);
        width: 24px;
        text-align: center;
    }

    .nav-links a i:not(.drawer-only-icon) {
        font-size: 18px;
        color: var(--accent-green);
        width: 24px;
        text-align: center;
    }

    /* Divider */
    .drawer-divider {
        display: block !important;
        height: 1.5px;
        background: var(--sand);
        margin: 20px 0;
        width: 100%;
    }

    /* Auth Links in mobile drawer */
    .nav-links a.auth-nav-link {
        margin-top: 5px;
    }

    .nav-links a.btn-login-header {
        background: var(--primary-emerald) !important;
        color: #fff !important;
        border-radius: 12px !important;
        justify-content: center;
        box-shadow: 0 4px 15px rgba(26, 59, 50, 0.1) !important;
        margin-top: 10px;
        padding: 12px !important;
    }

    /* Toggler styling */
    .mobile-nav-toggler {
        display: flex !important;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        padding: 10px;
        z-index: 1001;
    }

    .mobile-nav-toggler span {
        font-size: 26px !important;
        color: var(--primary-emerald) !important;
        transition: transform 0.3s ease;
    }

    .mobile-nav-toggler:active span {
        transform: scale(0.85);
    }

    /* Tablet Responsive Heading Sizes */
    h1, .h1 { font-size: 30px !important; line-height: 1.25 !important; }
    h2, .h2 { font-size: 25px !important; line-height: 1.3 !important; }
    h3, .h3 { font-size: 21px !important; line-height: 1.35 !important; }
    h4, .h4 { font-size: 18px !important; }
    h5, .h5 { font-size: 16px !important; }
    h6, .h6 { font-size: 14px !important; }
}

/* Premium Mobile Suppression & Spacing */
@media (max-width: 767px) {
    /* Mobile Responsive Heading Sizes */
    h1, .h1 { font-size: 24px !important; line-height: 1.25 !important; }
    h2, .h2 { font-size: 20px !important; line-height: 1.3 !important; }
    h3, .h3 { font-size: 17px !important; line-height: 1.35 !important; }
    h4, .h4 { font-size: 15px !important; }
    h5, .h5 { font-size: 13px !important; }
    h6, .h6 { font-size: 11px !important; }

    .footer-premium {
        display: block !important;
        padding: 45px 0 110px !important;
    }
    .footer-premium .mb-40 {
        margin-bottom: 25px !important;
    }
    .footer-premium h3 {
        font-size: 18px !important;
        margin-bottom: 15px !important;
    }
    .footer-premium p, 
    .footer-premium li a, 
    .footer-premium .footer-contact-info p {
        font-size: 13px !important;
        line-height: 1.6 !important;
    }
    .footer-bottom {
        margin-top: 30px !important;
        padding: 20px 0 !important;
    }
    .whatsapp-float {
        bottom: 110px !important; /* Lift floating whatsapp above the bottom nav */
        width: 52px !important;
        height: 52px !important;
        font-size: 26px !important;
        right: 20px !important;
        box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3) !important;
    }
    .scroll-top {
        display: none !important; /* Hide scroll to top on mobile view for native feel */
    }
    body {
        padding-bottom: 0px !important;
    }

    .sub-bg {
        font-size: 20px !important;
        padding-left: 0 !important;
    }

    .sub-bg:before {
        display: none !important;
    }
}

/* AJAX Search Styles */
.search-result-item {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none !important;
    transition: all 0.2s;
    border-bottom: 1px solid #f9f9f9;
    color: #333;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: #fbfcfb;
}

.search-result-item .img-box {
    width: 45px;
    height: 45px;
    background: #f8f8f8;
    border-radius: 8px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.search-result-item .img-box img {
    max-width: 100%;
    max-height: 100%;
    mix-blend-mode: multiply;
}

.search-result-item .info {
    overflow: hidden;
}

.search-result-item .info .name {
    font-weight: 600;
    font-size: 14px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #000;
}

.search-result-item .info .brand {
    font-size: 11px;
    color: #999;
    display: block;
}

.search-container-premium {
    background: #ffffff;
    border-radius: 50px;
    padding: 4px 6px 4px 20px;
    border: 1.5px solid #efefef;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    align-items: center;
    width: 100%;
}

.search-container-premium:focus-within {
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(156, 211, 52, 0.12);
}

.search-container-premium input {
    border: none;
    background: transparent;
    font-size: 14px;
    color: #333;
    width: 100%;
    outline: none;
    padding: 8px 0;
}

.search-container-premium .s-icon {
    color: #ccc;
    margin-right: 12px;
    font-size: 14px;
}

.search-container-premium .s-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
    cursor: pointer;
}

.search-container-premium .s-btn:hover {
    background: var(--secondary);
    transform: scale(1.05);
}

.header-user-icon {
    display: none !important;
}
@media (max-width: 991px) {
    .header-user-icon {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 22px;
        color: var(--primary-emerald);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        transition: var(--transition-smooth);
        z-index: 1001;
    }
    .header-user-icon:active {
        transform: translateY(-50%) scale(0.9);
        background: rgba(26, 59, 50, 0.08);
    }
}

/* PWA Banner Styles */
.pwa-prompt-container {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(150px);
    width: 90%;
    max-width: 450px;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(26, 59, 50, 0.12);
    box-shadow: 0 15px 35px rgba(26, 59, 50, 0.15);
    z-index: 99999;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease, visibility 0.5s ease;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    padding: 20px;
}
.pwa-prompt-container.show-prompt {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.pwa-prompt-content {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.pwa-close-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--sand);
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 18px;
    color: var(--primary-emerald);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}
.pwa-close-btn:hover {
    background: rgba(26, 59, 50, 0.1);
}
.pwa-app-info {
    display: flex;
    align-items: center;
    gap: 15px;
}
.pwa-app-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(26, 59, 50, 0.1);
    border: 2px solid var(--warm-gold);
}
.pwa-text-content h3 {
    margin: 0 0 4px;
    font-size: 16px;
    color: var(--primary-emerald);
    font-weight: 700;
}
.pwa-text-content p {
    margin: 0;
    font-size: 13px;
    color: var(--clay-dark);
    line-height: 1.4;
    opacity: 0.85;
}
.pwa-action-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}
.pwa-btn {
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}
.pwa-btn-primary {
    background: linear-gradient(135deg, var(--primary-emerald), var(--accent-green));
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(26, 59, 50, 0.15);
}
.pwa-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(26, 59, 50, 0.25);
}
.pwa-btn-secondary {
    background: var(--sand);
    color: var(--primary-emerald);
    border: 1px solid rgba(26, 59, 50, 0.1);
}
.pwa-btn-secondary:hover {
    background: rgba(26, 59, 50, 0.05);
}

/* iOS Modal Styles */
.pwa-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(26, 59, 50, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.pwa-modal-overlay.show-modal {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}
.pwa-modal-content {
    background: #ffffff;
    width: 90%;
    max-width: 400px;
    border-radius: 24px;
    padding: 30px 24px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(26, 59, 50, 0.15);
    transform: scale(0.85);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.pwa-modal-overlay.show-modal .pwa-modal-content {
    transform: scale(1);
}
.pwa-modal-content h3 {
    color: var(--primary-emerald);
    margin: 0 0 15px;
    font-size: 20px;
    font-weight: 700;
}
.pwa-modal-content p {
    color: var(--clay-dark);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}
.pwa-ios-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.pwa-ios-steps li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}
.step-num {
    background: var(--primary-emerald);
    color: #ffffff;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}
.step-text {
    font-size: 14px;
    color: var(--clay-dark);
    line-height: 1.4;
}
.ios-action-icon {
    display: inline-block;
    background: var(--sand);
    padding: 2px 8px;
    border-radius: 6px;
    margin-top: 5px;
    font-size: 14px;
    color: var(--primary-emerald);
}
