:root {
    --primary: #2a3c1f;
    --primary-light: #3d5a2d;
    --secondary: #86a361;
    --accent: #FFD700;
    --text-dark: #2a3c1f;
    --text-light: #4A5D4E;
    --bg-light: #ffffff;
    --bg-herbal: #d2f8ac;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 35px rgba(42, 60, 31, 0.1);
    --glass: rgba(255, 255, 255, 0.9);
}

html {
    scroll-behavior: smooth;
    font-size: 15px;
}

/* Dark Mode - Deep Forest Theme */
[data-theme="dark"] {
    --bg-light: #1e2b17;
    --bg-herbal: #2a3c1f;
    --white: #1e2b17;
    --text-dark: #ffffff;
    --text-light: #b5cc9f;
    --glass: rgba(42, 60, 31, 0.9);
    --shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    --primary: #d2f8ac;
    --secondary: #FFD700;
    --accent: #FFCC00;
}



h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-dark) !important;
}

p {
    color: var(--text-light) !important;
}

/* Green & Yellow Glowing Effect for Logo & Title */
.logo-title-rgb {
    background: linear-gradient(90deg, #17B978, #FFD700, #d2f8ac, #FFD700, #17B978);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent !important;
    animation: herbal-glow 3s linear infinite;
    font-weight: 800;
    filter: drop-shadow(0 0 8px rgba(23, 185, 120, 0.4));
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes herbal-glow {
    to {
        background-position: 200% center;
    }
}

.logo small {
    background: linear-gradient(90deg, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5);
    background-size: 400%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent !important;
    animation: rgb-glow 10s linear infinite reverse;
    font-weight: 600;
}

@keyframes rgb-glow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Force dark mode logo visibility */
[data-theme="dark"] .logo {
    color: #ffffff !important;
}

/* Glassmorphism & Shining Effect */
[data-theme="dark"] .product-card,
[data-theme="dark"] .category-card {
    background: var(--glass) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border) !important;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden !important;
}

[data-theme="dark"] .modal-content {
    background: var(--glass) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border) !important;
    box-shadow: var(--shadow);
    position: relative;
    overflow-y: auto !important;
}

[data-theme="dark"] .product-card::before,
[data-theme="dark"] .category-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: rotate(45deg);
    animation: shine-effect 5s infinite;
    pointer-events: none;
}

@keyframes shine-effect {
    0% {
        transform: scale(1) rotate(45deg) translate(-100%, -100%);
    }

    100% {
        transform: scale(1) rotate(45deg) translate(100%, 100%);
    }
}

[data-theme="dark"] .add-to-cart {
    border: 1px solid var(--primary) !important;
    background: transparent !important;
    color: var(--primary) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

[data-theme="dark"] .add-to-cart:hover {
    background: var(--primary) !important;
    color: var(--white) !important;
    /* Set to dark green text */
    transform: translateY(-2px);
}

[data-theme="dark"] body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(125deg, transparent 40%, rgba(210, 248, 172, 0.03) 50%, transparent 60%);
    background-size: 200% 200%;
    animation: global-shine 10s linear infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes global-shine {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

[data-theme="dark"] .newsletter p {
    color: var(--bg-herbal) !important;
    opacity: 0.9;
}

/* Product Disclaimer Styles */
.product-disclaimer {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(23, 185, 120, 0.08);
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 15px;
    border-left: 3px solid var(--primary);
}

.product-disclaimer i {
    color: var(--primary);
    font-size: 0.85rem;
    animation: pulseHeart 2s infinite;
}

.product-disclaimer span {
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.3;
    color: var(--text-light);
}

[data-theme="dark"] .product-disclaimer {
    background: rgba(23, 185, 120, 0.15);
}

[data-theme="dark"] .product-disclaimer span {
    color: var(--text-dark) !important;
}

@keyframes pulseHeart {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

[data-theme="dark"] footer {
    background: #1e2b17 !important;
    border-top: 1px solid rgba(210, 248, 172, 0.2);
}

footer {
    background: #2a3c1f;
    color: #d2f8ac;
    padding: 50px 0 30px;
}

[data-theme="dark"] .footer-brand,
[data-theme="dark"] .footer-links h5,
[data-theme="dark"] .footer-links a,
[data-theme="dark"] .footer-bottom {
    color: var(--text-dark) !important;
    border-top-color: rgba(210, 248, 172, 0.2) !important;
}

[data-theme="dark"] .payment-steps {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(23, 185, 120, 0.2);
}

[data-theme="dark"] .step {
    color: #D1FFBD !important;
}

[data-theme="dark"] .upi-app span {
    color: #D1FFBD !important;
}

[data-theme="dark"] .upi-icon {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(210, 248, 172, 0.3) !important;
}

[data-theme="dark"] .vpa-display {
    background: rgba(23, 185, 120, 0.1) !important;
    color: #17B978 !important;
    border-color: rgba(23, 185, 120, 0.3) !important;
}

[data-theme="dark"] .upi-icon {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] .modal-content {
    background: var(--white) !important;
    border: 1px solid rgba(210, 248, 172, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Jost', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overscroll-behavior: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Promo Bar */
.promo-bar {
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 8px 0;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Navbar */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-herbal);
    border-bottom: 1px solid rgba(42, 60, 31, 0.05);
    transition: var(--transition);
    will-change: auto;
}

/* Dark mode header */
[data-theme="dark"] header {
    background: rgba(30, 43, 23, 0.98) !important;
    border-bottom: 1px solid rgba(210, 248, 172, 0.2) !important;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 56px;
}

.logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 44px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s;
    position: relative;
}

.logo:hover img {
    transform: scale(1.1);
}

.logo div {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo small {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--secondary);
    font-family: 'Jost', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
}

.logo-title-rgb {
    font-weight: 700;
    color: var(--primary-light);
}

.logo div {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    z-index: 2;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-actions i {
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.nav-actions i:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary);
    color: var(--white);
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 50%;
    font-weight: 700;
}

/* Hero Section */
.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(42, 60, 31, 0.75), rgba(42, 60, 31, 0.75)),
        url('https://64.media.tumblr.com/e4131c661b9f4c13c3ee5b39b528ccd4/tumblr_nmli0vlBty1sdqemdo1_1280.gif');
    background-size: cover;
    background-position: center;
    /* Removed background-attachment: fixed — major scroll performance killer */
    padding: 44px 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(210, 248, 172, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

[data-theme="dark"] .hero {
    background: linear-gradient(rgba(30, 43, 23, 0.88), rgba(30, 43, 23, 0.88)),
        url('https://64.media.tumblr.com/e4131c661b9f4c13c3ee5b39b528ccd4/tumblr_nmli0vlBty1sdqemdo1_1280.gif');
    background-size: cover;
    background-position: center;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    z-index: 2;
    position: relative;
}

.excellence-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 8px 16px;
    border-radius: 50px;
    width: fit-content;
    margin-bottom: 18px;
    animation: fadeInUp 0.6s ease;
}

.badge-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
    line-height: 1.2;
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero-tagline {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 16px;
    animation: fadeInUp 0.8s ease;
}

.hero h1 {
    font-size: 2.8rem;
    line-height: 1.15;
    margin-bottom: 18px;
    color: var(--primary);
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 28px;
    animation: fadeInUp 1.2s ease;
}

.hero-btns {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1.4s ease;
}

.btn {
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(27, 67, 50, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(27, 67, 50, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.hero-image {
    flex-shrink: 0;
    width: 260px;
    max-width: 260px;
    z-index: 2;
}

.img-shine-container {
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    /* Adjust based on logo shape */
}

.img-shine-container::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -150%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right,
            transparent 0%,
            rgba(255, 255, 255, 0.2) 40%,
            rgba(255, 255, 255, 0.6) 50%,
            rgba(255, 255, 255, 0.2) 60%,
            transparent 100%);
    transform: rotate(30deg);
    animation: shine-effect 4s infinite;
}

@keyframes shine-effect {
    0% {
        left: -150%;
    }

    20% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}

.hero-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 60px rgba(23, 185, 120, 0.4));
}

/* Shining/glowing animation */
@keyframes logoShine {

    0%,
    100% {
        filter: drop-shadow(0 20px 60px rgba(23, 185, 120, 0.4)) brightness(1);
    }

    50% {
        filter: drop-shadow(0 25px 80px rgba(23, 185, 120, 0.8)) brightness(1.15);
    }
}

[data-theme="dark"] .hero-image img {
    animation: heroFloat 3s ease-in-out infinite, logoShineDark 4s ease-in-out infinite;
}

@keyframes logoShineDark {

    0%,
    100% {
        filter: drop-shadow(0 20px 80px rgba(23, 185, 120, 0.6)) brightness(1.1);
    }

    50% {
        filter: drop-shadow(0 30px 100px rgba(23, 185, 120, 1)) brightness(1.3);
    }
}

/* Categories Section */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

#categories {
    padding: 40px 0;
    background: var(--bg-herbal);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.category-card {
    height: 140px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    will-change: transform;
}

.category-card:nth-child(6n+1) {
    background: #fee2e2;
}

/* Red */
.category-card:nth-child(6n+2) {
    background: #e0f2fe;
}

/* Blue */
.category-card:nth-child(6n+3) {
    background: #fefce8;
}

/* Yellow */
.category-card:nth-child(6n+4) {
    background: #f0fdf4;
}

/* Green */
.category-card:nth-child(6n+5) {
    background: #fff7ed;
}

/* Orange */
.category-card:nth-child(6n+6) {
    background: #faf5ff;
}

/* Purple */

[data-theme="dark"] .category-card:nth-child(1),
[data-theme="dark"] .category-card:nth-child(6n+1) {
    background: #452222 !important;
}

[data-theme="dark"] .category-card:nth-child(2),
[data-theme="dark"] .category-card:nth-child(6n+2) {
    background: #223345 !important;
}

[data-theme="dark"] .category-card:nth-child(3),
[data-theme="dark"] .category-card:nth-child(6n+3) {
    background: #454522 !important;
}

[data-theme="dark"] .category-card:nth-child(4),
[data-theme="dark"] .category-card:nth-child(6n+4) {
    background: #224533 !important;
}

[data-theme="dark"] .category-card:nth-child(5),
[data-theme="dark"] .category-card:nth-child(6n+5) {
    background: #453322 !important;
}

[data-theme="dark"] .category-card:nth-child(6),
[data-theme="dark"] .category-card:nth-child(6n+6) {
    background: #332245 !important;
}

.category-card:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.category-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #333;
    margin-bottom: 8px;
}

[data-theme="dark"] .category-card h3 {
    color: #fff;
}

.shop-now-link {
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--secondary);
    letter-spacing: 1px;
}

@media (max-width: 900px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

/* Top Selling Section */
.top-selling {
    padding: 40px 0;
    background: var(--white);
}

.subtitle {
    display: block;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.top-selling-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.top-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(42, 60, 31, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.top-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.top-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent);
    color: var(--text-dark);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
}

.top-img {
    height: 180px;
    overflow: hidden;
}

.top-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.top-card:hover .top-img img {
    transform: scale(1.1);
}

.top-card:hover .top-img img {
    transform: scale(1.04);
}

.top-content {
    padding: 20px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
}

.rating i {
    color: #ffcc00;
    font-size: 0.9rem;
}

.rating span {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-left: 5px;
}

.top-content h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.top-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.top-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-footer .price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.btn-mini {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: var(--bg-light);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-mini:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 60, 31, 0.2);
}

[data-theme="dark"] .top-card {
    background: rgba(5, 46, 22, 0.4);
    border-color: rgba(23, 185, 120, 0.1);
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    padding: 16px;
    transition: var(--transition);
    border: 1px solid rgba(42, 60, 31, 0.05);
    display: flex;
    flex-direction: column;
    will-change: transform;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(42, 60, 31, 0.08);
    border-color: var(--bg-herbal);
}

.product-img {
    height: 150px;
    background-color: var(--bg-light);
    border-radius: 12px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-info h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--primary);
    font-weight: 600;
}

.product-info .price {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--primary);
}

.add-to-cart {
    width: 100%;
    margin-top: auto;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    padding: 12px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.add-to-cart:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.02);
}

/* Newsletter */
.newsletter {
    background: linear-gradient(rgba(42, 60, 31, 0.9), rgba(42, 60, 31, 0.9)),
        url('https://www.transparenttextures.com/patterns/leaf.png');
    padding: 52px 32px;
    color: #d2f8ac;
    border-radius: 28px;
    margin-bottom: 52px;
    text-align: center;
    border: 1px solid rgba(210, 248, 172, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.newsletter h2,
[data-theme="dark"] .newsletter h2 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    margin-bottom: 14px;
    background: linear-gradient(90deg, #d2f8ac, #FFD700);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.newsletter p,
[data-theme="dark"] .newsletter p {
    font-size: 1rem;
    margin-bottom: 28px;
    opacity: 0.9;
    color: #d2f8ac !important;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.subscribe-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 0;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px;
    border-radius: 60px;
    border: 1px solid rgba(210, 248, 172, 0.3);
    transition: var(--transition);
}

.subscribe-form:focus-within {
    border-color: #FFD700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.subscribe-form input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    padding: 0 20px;
    font-size: 1rem;
}

.subscribe-form input::placeholder {
    color: rgba(210, 248, 172, 0.5);
}

.subscribe-form button {
    background: #d2f8ac;
    color: #2a3c1f;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.subscribe-form button:hover {
    background: #ffffff;
    transform: translateY(-2px);
}

/* Footer */
footer {
    padding: 52px 0 28px;
    background: #1e2b17;
    color: #d2f8ac;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 36px;
    margin-bottom: 40px;
}

.footer-brand p {
    margin-top: 20px;
    opacity: 0.7;
}

.footer-links h5 {
    font-size: 1.2rem;
    margin-bottom: 24px;
    color: #ffffff;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    opacity: 0.7;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.6;
    font-size: 0.85rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Styles */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--white);
    border-radius: 24px;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding: 30px;
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary);
}

.modal-img-container {
    background: #f1f3f2;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.modal-details h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.modal-details .category {
    color: var(--primary-light);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 24px;
    display: block;
}

.modal-details .description {
    color: var(--text-light);
    margin-bottom: 32px;
    font-size: 1.1rem;

}

.modal-details .price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Mini Button Styles (used in grids) */
.btn-mini {
    background: var(--primary);
    color: var(--bg-light);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 10px rgba(23, 185, 120, 0.3);
}

.btn-mini:hover {
    transform: scale(1.15);
    background: var(--secondary);
    box-shadow: 0 6px 15px rgba(23, 185, 120, 0.4);
}

.btn-mini i {
    font-size: 0.9rem;
}

/* Admin Styles */
.admin-container {
    padding: 80px 0;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.admin-table th,
.admin-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.admin-table th {
    background: #f1f3f2;
    color: var(--primary);
    font-weight: 600;
}

.action-btns {
    display: flex;
    gap: 10px;
}

.btn-sm {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-edit {
    background: var(--secondary);
    color: var(--primary);
}

.btn-delete {
    background: #fee2e2;
    color: #dc2626;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-family: inherit;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Payment Modal Styles */
.payment-modal .modal-content {
    max-width: 500px;
    grid-template-columns: 1fr;
    text-align: center;
    padding: 30px;
}

.qr-container {
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    margin: 20px auto;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.qr-container img {
    width: 100%;
    height: 100%;
}

.upi-apps {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 25px 0;
}

.upi-app {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
}

.upi-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: #f8faf9;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    transition: var(--transition);
}

.upi-app:hover .upi-icon {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.payment-steps {
    text-align: left;
    background: #f1f3f2;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 25px;
}

.step {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.step i {
    color: var(--primary);
    margin-top: 3px;
}

.step:last-child {
    margin-bottom: 0;
}

.vpa-display {
    background: #e9f5ef;
    padding: 12px;
    border-radius: 12px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.1rem;
    color: var(--primary);
    margin: 20px 0;
    border: 2px dashed var(--primary);
    font-weight: 700;
}

@media (max-width: 768px) {
    .modal-content {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .modal-img-container {
        min-height: 250px;
    }
}

/* Premium Quantity Selector */
.qty-wrapper {
    display: flex;
    align-items: center;
    border: 2px solid var(--primary);
    border-radius: 50px;
    padding: 2px 10px;
    background: var(--white);
    box-shadow: 0 4px 10px rgba(23, 185, 120, 0.1);
    width: fit-content;
}

.qty-btn {
    border: none;
    background: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--primary);
    font-weight: 800;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.qty-btn:hover {
    color: var(--secondary);
    transform: scale(1.1);
}

.quantity-input-field {
    width: 60px;
    text-align: center;
    border: none;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Jost', sans-serif !important;
    color: var(--text-dark);
    background: transparent;
    outline: none;
    appearance: none;
    -moz-appearance: textfield;
}

.quantity-input-field::-webkit-outer-spin-button,
.quantity-input-field::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

[data-theme="dark"] .qty-wrapper {
    background: #052E16;
    border-color: rgba(23, 185, 120, 0.6);
}

[data-theme="dark"] .quantity-input-field {
    color: #FFFFFF !important;
}

/* Cart Drawer */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background: var(--bg-light);
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 10001;
    transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

[data-theme='dark'] .cart-drawer {
    background: #1a2517;
    border-left: 1px solid rgba(255,255,255,0.1);
}

.cart-drawer.active {
    right: 0;
}

.cart-drawer-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

[data-theme='dark'] .cart-drawer-header {
    border-bottom-color: rgba(255,255,255,0.1);
}

.cart-drawer-header h3 {
    margin: 0;
    color: var(--primary);
}

.cart-close {
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-dark);
}

.cart-drawer-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item-mini {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

[data-theme='dark'] .cart-item-mini {
    border-bottom-color: rgba(255,255,255,0.1);
}

.cart-item-mini img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-mini-info h4 {
    margin: 0 0 5px 0;
    font-size: 0.95rem;
}

.cart-item-mini-info p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
}

.cart-drawer-footer {
    padding: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
    background: rgba(0,0,0,0.02);
}

[data-theme='dark'] .cart-drawer-footer {
    border-top-color: rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.02);
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    display: none;
    backdrop-filter: blur(3px);
}

.cart-overlay.active {
    display: block;
}

@media (max-width: 480px) {
    .cart-drawer {
        width: 100%;
        right: -100%;
    }
}

