/* Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    /* Color Palette - Modern Country */
    --primary-color: #11241C;
    /* Forest Green */
    --primary-light: #1d3f31;
    --primary-dark: #0a1410;

    --secondary-color: #C4203B;
    /* Strawberry Red */
    --secondary-hover: #A0182E;

    --accent-color: #D4AF37;
    /* Gold/Oil */
    --accent-light: #E5C564;

    --bg-color: #F9F9F7;
    /* Cream/Off-white */
    --card-bg: #FFFFFF;

    --text-main: #2C2C2C;
    --text-muted: #666666;
    --text-light: #FFFFFF;

    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    z-index: 2000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--text-light);
    border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    border-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(196, 32, 59, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--text-light);
    color: var(--text-light);
}

.btn-outline:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll Fade In */
.section-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.section-animate.visible {
    opacity: 1;
    transform: translateY(0);
}


/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 15px 0;
    background-color: #11241C;
}

.header.scrolled {
    padding: 10px 0;
    background: rgba(17, 36, 28, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: #FFFFFF;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #FFFFFF;
    transition: all 0.3s ease;
}

/* Mobile & Small Window Responsive Nav (<= 1024px) */
@media (max-width: 1024px) {
    .hamburger {
        display: flex !important;
        z-index: 1001 !important;
    }

    .nav-links {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        height: 100vh !important;
        width: 75% !important;
        max-width: 320px !important;
        background: #11241C !important;
        background-color: #11241C !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        transition: right 0.4s ease !important;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5) !important;
        z-index: 1000 !important;
        padding: 40px 20px !important;
        gap: 1.5rem !important;
    }

    .nav-links.active {
        right: 0 !important;
    }

    .nav-links li {
        width: 100% !important;
        text-align: center !important;
        background: transparent !important;
        background-color: transparent !important;
    }

    .nav-link {
        color: #FFFFFF !important;
        font-size: 1.2rem !important;
        display: inline-block !important;
        padding: 8px 16px !important;
        background: transparent !important;
        background-color: transparent !important;
    }

    .nav-link::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--secondary-color) !important;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
}

/* Hero Video Background */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
    z-index: -1;
}

/* ==========================================================================
   News Ticker / Announcement Banner
   ========================================================================== */
.news-ticker-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 auto 35px auto;
    padding: 0 15px;
    z-index: 10;
    position: relative;
}

.news-ticker-container {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 860px;
    background: rgba(17, 36, 28, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 50px;
    padding: 7px 18px 7px 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(212, 175, 55, 0.15);
    text-decoration: none;
    color: #FFFFFF;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    overflow: hidden;
}

.news-ticker-container:hover,
.news-ticker-container:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(212, 175, 55, 0.8);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 22px rgba(212, 175, 55, 0.3);
    background: rgba(17, 36, 28, 0.94);
    outline: none;
}

/* Eye-Catching Badge */
.news-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, #C4203B, #9E162D);
    color: #FFFFFF;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(196, 32, 59, 0.45);
}

/* Pulsing Status Indicator */
.news-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #FFFFFF;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8);
    animation: newsPulse 2s infinite cubic-bezier(0.45, 0, 0.55, 1);
}

@keyframes newsPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.85);
        transform: scale(0.95);
    }
    70% {
        box-shadow: 0 0 0 7px rgba(255, 255, 255, 0);
        transform: scale(1.15);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
        transform: scale(0.95);
    }
}

/* Ticker Content Window */
.news-ticker-content {
    overflow: hidden;
    flex: 1;
    margin-left: 14px;
    position: relative;
    mask-image: linear-gradient(90deg, transparent 0%, black 3%, black 97%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 3%, black 97%, transparent 100%);
    white-space: nowrap;
}

/* Continuous Marquee Track */
.news-ticker-track {
    display: inline-flex;
    width: max-content;
    animation: newsTickerScroll 28s linear infinite;
    will-change: transform;
}

/* Pause on Hover / Focus */
.news-ticker-container:hover .news-ticker-track,
.news-ticker-container:focus-visible .news-ticker-track {
    animation-play-state: paused;
}

@keyframes newsTickerScroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Ticker Text Elements */
.news-ticker-item {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    font-size: 0.95rem;
    color: #F9F9F7;
    padding-right: 20px;
}

.news-icon {
    margin-right: 8px;
    font-size: 1.1rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.news-highlight {
    font-weight: 600;
    color: #FFFFFF;
    letter-spacing: 0.2px;
}

.news-sep {
    color: var(--accent-color, #D4AF37);
    margin: 0 14px;
    font-size: 0.75rem;
    opacity: 0.9;
}

.news-sub {
    opacity: 0.9;
    font-weight: 400;
}

.news-link-hint {
    color: var(--accent-light, #E5C564);
    font-weight: 500;
    margin-left: 6px;
    border-bottom: 1px dashed rgba(229, 197, 100, 0.6);
    padding-bottom: 1px;
    transition: border-color 0.2s ease;
}

.news-ticker-container:hover .news-link-hint {
    border-bottom-style: solid;
    border-bottom-color: var(--accent-light, #E5C564);
}

/* Mobile & Tablet Responsive */
@media (max-width: 768px) {
    .news-ticker-wrapper {
        margin-bottom: 25px;
        padding: 0 10px;
    }

    .news-ticker-container {
        padding: 6px 14px 6px 6px;
        border-radius: 40px;
    }

    .news-badge {
        padding: 4px 9px;
        font-size: 0.7rem;
        letter-spacing: 1px;
    }

    .news-ticker-content {
        margin-left: 10px;
    }

    .news-ticker-item {
        font-size: 0.85rem;
    }

    .news-sep {
        margin: 0 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .news-ticker-track {
        animation: none !important;
        transform: none !important;
    }
    .news-pulse-dot {
        animation: none !important;
    }
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 60px 0 20px;
    margin-top: 80px;
}

/* Breadcrumbs */
.breadcrumb {
    padding: 20px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--primary-color);
    font-weight: 500;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 5px;
    color: #ccc;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent-color);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Cards (Shared) */
.card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
}

.card-img-wrapper {
    overflow: hidden;
    height: 450px;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-img-wrapper img {
    transform: scale(1.1);
}

/* Video Embed */
.video-container iframe {
    max-width: 100%;
}

/* --- Shop & Filter Styles --- */
.filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 45px;
}

.filter-btn {
    padding: 10px 26px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    font-family: 'Inter', sans-serif;
}

.filter-btn:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.filter-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(17, 36, 28, 0.25);
}

.shop-grid .card {
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shop-grid .card.hidden {
    display: none !important;
}

.shop-grid .card-img-wrapper {
    height: 300px;
    position: relative;
    background: #f8f8f6;
}

.shop-grid .card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px;
}

.product-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-color);
    margin-bottom: 6px;
}

.product-badge-corner {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(17, 36, 28, 0.88);
    backdrop-filter: blur(8px);
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    z-index: 2;
}

.product-price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: 10px 0 14px;
}

.product-price {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-color);
}

.product-variant-group {
    margin-bottom: 12px;
}

.variant-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.variant-select {
    width: 100%;
    padding: 9px 12px;
    border-radius: 8px;
    border: 1px solid #dcdcd6;
    background-color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--text-main);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.variant-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(17, 36, 28, 0.1);
    outline: none;
}

.card-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 10px;
}


/* --- Premium Cart & Modals --- */
.virtual-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.virtual-modal-content {
    background-color: #fff;
    margin: auto;
    border-radius: 20px;
    width: 95%;
    max-width: 550px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    z-index: 10;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5f5f5;
    transition: all 0.2s;
}

.close-modal:hover {
    background: #e0e0e0;
    color: #333;
}

/* Modal Internal Layout */
.virtual-modal-content h3 {
    padding: 25px 30px;
    margin: 0;
    border-bottom: 1px solid #eee;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    background: #fafafa;
    border-radius: 20px 20px 0 0;
}

.cart-modal-body {
    padding: 20px 30px;
    overflow-y: auto;
    flex: 1;
}

#cart-items {
    padding: 0;
    overflow-y: visible;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    margin-bottom: 20px;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    transition: box-shadow 0.2s;
}

.cart-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: #f9f9f9;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.cart-item-header strong {
    font-size: 1.05rem;
    color: var(--text-main);
}

.cart-item-price {
    font-size: 0.9rem;
    color: #888;
}

.cart-item-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.qty-controls {
    display: flex;
    align-items: center;
    background: #f0f0f0;
    border-radius: 20px;
    padding: 4px 8px;
    gap: 10px;
}

.qty-controls button {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
    color: var(--primary-color);
    transition: all 0.2s;
}

.qty-controls button:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.cart-item-total {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.remove-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #eee;
    background: white;
    color: #ccc;
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.remove-btn:hover {
    background: #fff0f0;
    color: #d9534f;
    border-color: #ffdce0;
}

.cart-footer {
    padding: 25px 30px;
    background: #fafafa;
    border-top: 1px solid #eee;
    border-radius: 0 0 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-footer p {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    color: var(--text-main);
    margin: 0;
}

.cart-footer button.btn-primary {
    width: 100%;
    font-size: 1.1rem;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(196, 32, 59, 0.3);
}

/* --- Cart Delivery & Shipping Options --- */
.cart-delivery-section {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.delivery-section-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.delivery-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.delivery-card {
    position: relative;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    padding: 12px 14px;
    cursor: pointer;
    background: #fff;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    user-select: none;
}

.delivery-card:hover {
    border-color: #bbb;
    background: #fafafa;
}

.delivery-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.delivery-card.active {
    border-color: var(--primary-color);
    background: rgba(17, 36, 28, 0.04);
    box-shadow: 0 4px 12px rgba(17, 36, 28, 0.08);
}

.delivery-card-content {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.delivery-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.delivery-text {
    display: flex;
    flex-direction: column;
}

.delivery-text strong {
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.2;
}

.delivery-text small {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 3px;
}

.delivery-card.active .delivery-text strong {
    color: var(--primary-color);
}

/* Pickup Info Box */
.pickup-info-box {
    background: #f8faf8;
    border: 1px solid #e0ebe0;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 0.9rem;
    animation: fadeIn 0.25s ease;
}

.pickup-info-header {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 6px;
}

.pickup-info-header strong {
    color: var(--primary-color);
    font-size: 0.95rem;
}

.pickup-info-header p {
    margin: 2px 0 0 0;
    color: #444;
    font-size: 0.88rem;
}

.pickup-subtext {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.4;
}

/* Shipping Form Box */
.shipping-form-box {
    background: #fafafa;
    border: 1px solid #ebebeb;
    border-radius: 12px;
    padding: 18px 20px;
    animation: fadeIn 0.25s ease;
}

.shipping-form-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 14px;
}

.shipping-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 5px;
}

.form-group label .required {
    color: var(--secondary-color);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.92rem;
    background: #fff;
    color: var(--text-main);
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(17, 36, 28, 0.1);
}

.form-group input.input-error {
    border-color: #d9534f;
    background-color: #fff9f9;
}

.form-row {
    display: flex;
    gap: 10px;
}

.shipping-error-msg {
    color: #d9534f;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 10px;
    padding: 8px 12px;
    background: #fff0f0;
    border-radius: 6px;
    border-left: 3px solid #d9534f;
}

/* Original Cart Float Style continued */
.cart-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--secondary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: none;
    /* Hidden by default if empty */
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    transition: transform 0.2s ease;
}

.cart-float:hover {
    transform: scale(1.1);
}

.cart-float.pulse {
    animation: pulse-anim 0.5s;
}

@keyframes pulse-anim {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.virtual-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.virtual-modal-content {
    background-color: var(--card-bg);
    margin: auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover {
    color: black;
}

.cart-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #eee;
    text-align: right;
}

/* --- Theme Toggle --- */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 5px;
    border-radius: 50%;
    transition: background 0.3s ease;
    color: #FFFFFF;
}

.theme-switch-wrapper:hover {
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .theme-switch-wrapper:hover {
    background: rgba(255, 255, 255, 0.1);
}

#theme-text {
    display: none;
    /* Hide text in header to save space */
}

/* --- Mobile Optimizations --- */
@media (max-width: 768px) {
    .theme-switch-wrapper {
        margin-right: 15px;
        /* Spacing from hamburger */
    }
}



/* --- Mobile Optimizations --- */
@media (max-width: 500px) {
    .virtual-modal-content {
        width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
        padding: 0;
    }

    .virtual-modal-content h3 {
        padding: 20px;
        font-size: 1.5rem;
    }

    .cart-modal-body {
        padding: 15px;
    }

    #cart-items {
        padding: 0;
    }

    .delivery-options-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .shipping-form-box {
        padding: 14px;
    }

    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        position: relative;
    }

    .cart-item-image {
        width: 60px;
        height: 60px;
    }

    .cart-item-header {
        flex-direction: column;
        gap: 5px;
    }

    .remove-btn {
        position: absolute;
        top: 15px;
        right: 15px;
        border: none;
    }

    .cart-item-actions {
        width: 100%;
        justify-content: space-between;
        margin-top: 10px;
    }

    .cart-footer {
        border-radius: 0;
        padding: 20px;
    }
}