/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;600;700&display=swap');

:root {
    /* Premium Organic Palette */
    --background: #ffffff;
    --foreground: #1a2e23;

    /* Brand Colors */
    --primary: #214F3B;
    --primary-foreground: #f0fdf4;
    --secondary: #f2efe9;
    --secondary-foreground: #1b2e23;

    /* Accents */
    --accent: #eee8d1;
    --accent-foreground: #1b2e23;
    --premium-gold: #d4b030;
    --premium-gold-hover: #b89728;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #214F3B 0%, #2c694f 100%);
    --gradient-gold: linear-gradient(135deg, #d4b030 0%, #f1d26a 100%);

    /* Status */
    --destructive: #dc2626;
    --destructive-foreground: #ffffff;
    --success: #16a34a;

    /* UI Elements */
    --border: #e6e2d8;
    --input: #f4f2ed;
    --ring: #214F3B;
    --radius: 0.75rem;
    --radius-sm: 0.5rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;

    /* Typography */
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;

    /* Refined Shadows - Premium Feel */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);

    /* Animation Duration */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--foreground);
    background-color: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utilities */
.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-icon::after {
    content: 'S';
    color: white;
    font-weight: 800;
    font-size: 1.2rem;
}

.text-primary {
    color: var(--primary);
}

.text-gold {
    color: var(--premium-gold);
}

.bg-primary {
    background-color: var(--primary);
}

.bg-secondary {
    background-color: var(--secondary);
}

.bg-background {
    background-color: var(--background);
}

.bg-muted {
    background-color: #f4f2ed;
}

.bg-gold {
    background-color: var(--premium-gold);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}

.grid {
    display: grid;
}


/* Responsive Grid Utilities */
.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 640px) {
    .sm-grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .md-grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md-grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .lg-grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lg-grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.w-full {
    width: 100%;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.relative {
    position: relative;
}

.overflow-hidden {
    overflow: hidden;
}

.section-padding {
    padding: 3rem 0;
}

@media (min-width: 768px) {
    .section-padding {
        padding: 6rem 0;
    }
}

.section-heading {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-subheading {
    color: #6b7280;
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-gold {
    background: var(--premium-gold);
    color: var(--primary);
}

.btn-gold:hover {
    background: var(--premium-gold-hover);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--foreground);
}

.btn-outline-white {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Badge */
.badge-gold {
    display: inline-block;
    background: var(--premium-gold);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.25rem 1rem;
    border-radius: var(--radius-full);
}

/* Contact Form */
.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: var(--font-main);
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.form-control::placeholder {
    color: #aaa;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.btn-primary:hover {
    background-color: #1b5e20;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.2);
}

/* Footer */
.main-footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Responsive Grids */
@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .trust-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

/* Product Card - Premium Overhaul */
.product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
    border-color: rgba(33, 79, 59, 0.1);
}

.product-image-container {
    width: 100%;
    height: 250px;
    /* Fixed height for consistency */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    overflow: hidden;
    position: relative;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Fills the area, cropping if needed */
    transition: transform var(--transition-base);
}

.product-card:hover img {
    transform: scale(1.1);
}

/* Header Styles */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    overflow: visible;
}

.desktop-nav {
    display: none;
    gap: 2rem;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }
}

.desktop-nav a {
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
    position: relative;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--primary);
}

.desktop-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.header-actions {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .header-actions {
        display: flex;
    }
}

.btn-icon-wrapper {
    position: relative;
    color: var(--foreground);
    padding: 0.5rem;
    cursor: pointer;
}

.btn-icon-wrapper .badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--destructive);
    color: white;
    font-size: 0.65rem;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.mobile-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--foreground);
}

@media (min-width: 768px) {
    .mobile-toggle {
        display: none;
    }
}

.mobile-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 5rem;
    left: 0;
    width: 100%;
    background: white;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    z-index: 40;
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav a {
    text-decoration: none;
    color: var(--foreground);
    padding: 0.75rem 0;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
}

.mobile-nav a:last-child {
    border-bottom: none;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: var(--gradient-primary);
    overflow: hidden;
    padding: 4rem 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--primary);
    opacity: 0.1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

/* Mobile Bottom Navigation */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    padding: 0.5rem 1rem 1.5rem 1rem;
    /* Extra padding for bottom safe area */
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
    z-index: 100;
    justify-content: space-around;
    align-items: center;
}

.bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    color: #9ca3af;
    font-size: 0.7rem;
    font-weight: 500;
    transition: color 0.2s;
    width: 4rem;
}

.bottom-nav .nav-item.active,
.bottom-nav .nav-item:hover {
    color: var(--primary);
}

.bottom-nav .icon-wrapper {
    position: relative;
    padding: 0.25rem;
    border-radius: 12px;
    transition: background 0.2s;
}

.bottom-nav .nav-item.active .icon-wrapper {
    background: var(--secondary);
}

.bottom-nav svg {
    width: 1.5rem;
    height: 1.5rem;
}

.nav-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--destructive);
    color: white;
    font-size: 0.6rem;
    width: 1rem;
    height: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    border: 1px solid white;
}

/* Products Page & Mobile App Adjustments */
@media (max-width: 768px) {
    body {
        padding-bottom: 5rem;
        /* Space for bottom nav */
    }

    .bottom-nav {
        display: flex;
    }

    .mobile-toggle {
        display: none;
        /* Hide hamburger if bottom nav is primary, or keep both based on pref. Hiding for 'app-like' feel */
    }

    .main-header {
        position: sticky;
        top: 0;
    }

    /* Better Mobile Grid */
    .grid-cols-2 {
        gap: 0.75rem;
    }

    .products-grid .product-card {
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
        border: none;
        /* Cleaner look on mobile */
    }

    .products-grid {
        padding: 0 0.5rem;
    }

    .section-heading {
        font-size: 1.75rem;
    }
}

.btn-add-cart-sm {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--primary);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}


/* Filter Components & Utilities */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.inset-y-0 {
    top: 0;
    bottom: 0;
}

.right-0 {
    right: 0;
}

.pointer-events-none {
    pointer-events: none;
}

.w-full {
    width: 100%;
}

.h-4 {
    height: 1rem;
}

.w-4 {
    width: 1rem;
}

.fill-current {
    fill: currentColor;
}

.appearance-none {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.pl-4 {
    padding-left: 1rem;
}

.pr-10 {
    padding-right: 2.5rem;
}

.py-2\.5 {
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
}

.pb-3 {
    padding-bottom: 0.75rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.border-transparent {
    border-color: transparent;
}

.border-border {
    border-color: var(--border);
}

.border {
    border-width: 1px;
    border-style: solid;
}

.cursor-pointer {
    cursor: pointer;
}

.font-medium {
    font-weight: 500;
}

.text-foreground {
    color: var(--foreground);
}

.backdrop-blur {
    backdrop-filter: blur(8px);
}

.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.sticky {
    position: sticky;
}

.top-16 {
    top: 4rem;
}

.z-30 {
    z-index: 30;
}

.filter-select {
    width: 100%;
    appearance: none;
    background-color: var(--secondary);
    padding: 0.625rem 2.5rem 0.625rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid transparent;
    cursor: pointer;
    font-weight: 500;
    color: var(--foreground);
    font-family: var(--font-main);
    font-size: 0.95rem;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary);
}

.filter-icon-wrapper {
    pointer-events: none;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    color: var(--primary);
}

.filter-icon-wrapper svg {
    height: 1rem;
    width: 1rem;
    fill: currentColor;
}

/* Fix for the huge arrow check */
.flex-1 {
    flex: 1;
}

.max-w-sm {
    max-width: 24rem;
}

.w-48 {
    width: 12rem;
}

.gap-4 {
    gap: 1rem;
}

.flex-col {
    flex-direction: column;
}

.sm\:flex-row {
    flex-direction: row;
}

@media (min-width: 640px) {
    .sm\:flex-row {
        flex-direction: row;
    }

    .sm\:w-auto {
        width: auto;
    }

    .sm\:hidden {
        display: none;
    }
}

.hero-content {
    color: white;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-content p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-images {
    display: flex;
    justify-content: center;
}

.hero-image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 450px;
}

.hero-image-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 0.5rem;
    border-radius: var(--radius);
}

.hero-image-card img {
    width: 100%;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-section {
        padding: 6rem 0;
    }
}

/* Trust Bar */
.trust-bar {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 2rem 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.trust-icon {
    width: 3rem;
    height: 3rem;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.trust-item p {
    margin: 0;
}

.trust-item .title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary);
}

.trust-item .desc {
    font-size: 0.875rem;
    color: #6b7280;
}

@media (min-width: 768px) {
    .trust-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Footer Styles */
.footer {
    background: #0a0f1a;
    color: #9ca3af;
    padding: 6rem 0 0;
    font-family: var(--font-main);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 3rem;
    padding-bottom: 4rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1.5rem;
    text-decoration: none;
}

.footer-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.5px;
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--premium-gold);
    color: #0a0f1a;
    transform: translateY(-3px);
}

.footer-title {
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--premium-gold);
}

.mobile-footer-toggle {
    display: none;
    transition: transform 0.3s ease;
}

@media (max-width: 767px) {
    .mobile-footer-toggle {
        display: block;
    }

    .footer-column .footer-links,
    .footer-column .footer-newsletter-text,
    .footer-column .footer-newsletter,
    .footer-column .footer-contact-info {
        display: none;
        margin-top: -1rem;
        padding-bottom: 2rem;
        animation: slideDown 0.3s ease-out forwards;
    }

    .footer-column.active .footer-links,
    .footer-column.active .footer-newsletter-text,
    .footer-column.active .footer-newsletter,
    .footer-column.active .footer-contact-info {
        display: block;
    }

    .footer-column.active .mobile-footer-toggle {
        transform: rotate(180deg);
    }

    .footer-title {
        margin-bottom: 1.5rem;
        cursor: pointer;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--premium-gold);
    transform: translateX(5px);
}

.footer-newsletter-text {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-newsletter {
    display: flex;
    margin-bottom: 2rem;
}

.footer-newsletter input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem 0 0 0.5rem;
    color: white;
    flex: 1;
    font-family: inherit;
    font-size: 0.9rem;
}

.footer-newsletter input:focus {
    outline: none;
    border-color: var(--premium-gold);
}

.footer-newsletter button {
    background: var(--premium-gold);
    color: #0a0f1a;
    border: none;
    padding: 0 1.25rem;
    border-radius: 0 0.5rem 0.5rem 0;
    cursor: pointer;
    transition: opacity 0.2s;
}

.footer-newsletter button:hover {
    opacity: 0.9;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.contact-item svg {
    color: var(--premium-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
    font-size: 0.875rem;
}

.footer-bottom-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .footer-bottom-flex {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: white;
}

.product-image-wrapper {
    position: relative;
    aspect-ratio: 1/1;
    background: var(--muted);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image-wrapper img {
    transform: scale(1.05);
}

.badge-discount {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--destructive);
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-weight: 600;
    z-index: 5;
}

.btn-wishlist {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-full);
    background: white;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: #6b7280;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.btn-wishlist:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.product-content {
    padding: 1rem;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.product-content h3 {
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-content .weight {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.75rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.price-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.current-price {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--primary);
}

.original-price {
    font-size: 0.875rem;
    text-decoration: line-through;
    color: var(--muted-foreground);
}

.btn-add-cart {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.875rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all var(--transition-fast);
}

.btn-add-cart:hover {
    background: #1a4231;
    box-shadow: 0 4px 12px rgba(33, 79, 59, 0.2);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeIn 0.8s ease-out forwards;
}

.product-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.btn {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:active {
    transform: scale(0.95);
}

/* Hover effects for images */
.product-image-wrapper img {
    transition: transform 0.5s ease;
}

.product-card:hover .product-image-wrapper img {
    transform: scale(1.08);
}

/* Responsive adjustment for desktop nav */
@media (min-width: 768px) {
    .desktop-nav a::after {
        transition: width 0.3s ease;
        width: 0;
    }

    .desktop-nav a:hover::after {
        width: 100%;
    }
}

/* Category Grid */
.category-card {
    padding: 2.5rem;
    text-align: center;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all var(--transition-base);
    cursor: pointer;
}

.category-card:hover {
    border-color: var(--premium-gold);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.category-img-wrapper {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: var(--radius-sm);
    margin-bottom: 2rem;
    overflow: hidden;
    background: var(--secondary);
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.category-card:hover .category-img {
    transform: scale(1.05);
}

.category-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary);
}

/* Why Choose Us Feature Grid */
.feature-card {
    padding: 3rem 2rem;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    text-align: center;
    transition: all var(--transition-base);
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.feature-icon-wrapper {
    width: 4.5rem;
    height: 4.5rem;
    background: var(--secondary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--primary);
}

.feature-card p {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Cart Drawer */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 140;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: white;
    z-index: 150;
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.cart-drawer.open {
    right: 0;
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.btn-close {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: var(--muted-foreground);
    padding: 0;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    animation: fadeIn 0.3s;
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius);
    background: var(--secondary);
}

.cart-item-details {
    flex: 1;
}

.cart-item h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cart-item .price {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.qty-btn {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 1px solid var(--border);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
}

.qty-val {
    font-size: 0.9rem;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.btn-remove {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px;
}

.btn-remove:hover {
    color: var(--destructive);
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    background: #f9fafb;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.empty-cart-msg {
    text-align: center;
    padding: 3rem 1rem;
    color: #9ca3af;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dropdown Menu Helper */
.dropdown-menu.show {
    display: block !important;
    animation: fadeIn 0.15s ease-out;
}

.dropdown-menu a:hover {
    background: #f3f4f6;
    color: var(--primary);
}

/* Close dropdown when clicking outside */