/* =========================================================================
   Theme Variables
   ========================================================================= */
:root {
    /* Colors */
    --color-cream-light: #FFFDF9;
    /* Clean, warm off-white */
    --color-cream: #efcfa0;
    /* Pale Gold Background */
    --color-cream-dark: #e1a140;
    /* Rich Gold Accent */

    --color-brown-dark: #532200;
    /* Dark Brown (Text, Footers) */
    --color-brown: #914110;
    /* Rust Brown (Subtext, Icons) */
    --color-brown-light: #e1a140;
    /* Rich Gold (Highlights, Borders) */
    --color-brown-pale: #efcfa0;
    /* Pale Gold */

    --color-white: #FFFFFF;
    --color-whatsapp: #25D366;
    --color-whatsapp-hover: #1EBE5C;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Shadows & Transitions */
    --shadow-color: rgba(83, 34, 0, 0.1);
    --shadow-sm: 0 4px 6px var(--shadow-color);
    --shadow-md: 0 10px 15px var(--shadow-color);
    --shadow-lg: 0 20px 25px rgba(83, 34, 0, 0.15);

    --transition: all 0.3s ease;
}

/* =========================================================================
   Reset & Base Styles
   ========================================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-cream-light);
    color: var(--color-brown-dark);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background-color: var(--color-brown-light);
    color: var(--color-white);
}

/* Typography Base */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-brown-dark);
}

p {
    margin-bottom: 1rem;
    color: var(--color-brown);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* =========================================================================
   Layout & Reusables
   ========================================================================= */
.container {
    width: 100%;
    max-width: 800px;
    /* Kept narrow for mobile-first feel */
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    color: var(--color-brown-dark);
}

/* Decorative underline for section titles */
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-brown-light);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.bg-cream {
    background-color: var(--color-cream);
}

/* Button Animations */
@keyframes pulse-button {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(83, 34, 0, 0.15);
    }

    50% {
        transform: scale(1.03);
        box-shadow: 0 6px 16px rgba(83, 34, 0, 0.2);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(83, 34, 0, 0.15);
    }
}

/* Buttons */
.btn-primary,
.btn-order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-brown-dark);
    color: var(--color-cream-light);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 12px rgba(83, 34, 0, 0.15);
    border: 2px solid transparent;
    animation: pulse-button 3s infinite ease-in-out;
}

.btn-primary:hover,
.btn-order:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 10px 25px rgba(83, 34, 0, 0.3);
    background-color: var(--color-brown);
    color: var(--color-cream-light);
    text-decoration: none;
    animation: none;
    /* Stop pulsing on hover so the hover state takes over cleanly */
}

/* Mobile tap state */
.btn-primary:active,
.btn-order:active {
    transform: scale(0.98) translateY(0);
    box-shadow: 0 2px 8px rgba(83, 34, 0, 0.15);
    background-color: var(--color-brown-dark);
    transition: all 0.1s ease;
}

.btn-disabled {
    background-color: var(--color-cream);
    color: var(--color-brown);
    border-color: var(--color-cream);
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-disabled:hover {
    background-color: var(--color-cream);
    color: var(--color-brown);
}

.header-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
    flex-wrap: nowrap;
    /* Force single line on desktop */
}

/* TABLET MODE (600px to 899px): Allow wrapping into two centered lines, shrink padding slightly */
@media (min-width: 600px) and (max-width: 899px) {
    .header-buttons {
        flex-wrap: wrap;
        /* Wrap to 2 lines */
        row-gap: 1rem;
        max-width: 600px;
        /* Force a clean centered wrap */
        margin-left: auto;
        margin-right: auto;
    }

    .header-buttons .btn-primary {
        padding: 0.8rem 1.5rem;
        /* Still clickable, slightly compressed */
        font-size: 0.95rem;
    }
}

/* MOBILE MODE (below 600px) */
@media (max-width: 599px) {
    .header-buttons {
        flex-wrap: wrap;
        row-gap: 0.8rem;
    }
}

.btn-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--color-brown-dark);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
    border: 2px solid var(--color-brown-dark);
}

.btn-outline:hover {
    background-color: var(--color-brown-dark);
    color: var(--color-cream-light);
}

/* =========================================================================
   Header / Logo Section
   ========================================================================= */
.logo-header {
    padding: 4rem 0 2rem;
    text-align: center;
    background-color: #F5EBE1;
    /* Slightly darker shade for intro */
}

.brand-logo {
    max-width: 350px;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0 auto 1.5rem;
    display: block;
    background-color: #FFFDF9;
    border-radius: 8px;
    /* Slightly rounded corners for the square */
    padding: 0.5rem;
    /* Reduced padding since image is properly sized now */
    box-shadow: var(--shadow-sm);
    /* Added subtle shadow to make it pop */
}

.new-tagline {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.75rem;
    color: var(--color-brown-dark);
    margin-bottom: 0;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .new-tagline {
        font-size: 1.15rem;
        /* Reduced font size on mobile to fit one line */
    }
}

/* =========================================================================
   Our Story Section
   ========================================================================= */
.our-story {
    padding: 3rem 1.5rem;
    background-color: #F5EBE1;
    /* Match header for unified intro */
}

.story-card {
    background: #FFFAF0;
    /* Use a slightly warmer cream background for standard cards */
    padding: 4rem 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-cream);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle accent line on top of the card for a premium look */
.story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: var(--color-brown-light);
}

.our-story .story-content {
    font-size: 1.125rem;
    line-height: 1.8;
}

.our-story p {
    margin-bottom: 1.5rem;
    color: var(--color-brown-dark);
}

.our-story p:last-child {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.6rem;
    color: var(--color-brown-light);
    margin-top: 3rem;
    margin-bottom: 0;
}

.feature-lines {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin: 2rem auto;
    max-width: 600px;
    padding: 0;
}

.feature-lines li {
    font-size: 1.75rem;
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--color-brown-dark);
    letter-spacing: 1px;
    text-align: center;
}

.seasonal-note {
    font-size: 1.1rem;
    color: var(--color-brown-dark);
    opacity: 0.8;
    margin-bottom: 0;
    margin-top: 3rem;
    text-align: center;
}

/* =========================================================================
   Our Standard Section
   ========================================================================= */
.our-standard {
    background-color: var(--color-white);
}



.feature-title {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: var(--color-brown-dark);
    line-height: 1.4;
    margin: 0;
}

.standard-conclusion {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-style: italic;
    color: var(--color-brown-dark);
    margin-top: 3.5rem;
    margin-bottom: 0;
}

/* =========================================================================
   Product Details Section (Cards)
   ========================================================================= */
.products {
    background-color: var(--color-white);
    /* Change from cream to white to stand out */
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.product-card {
    background: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--color-cream-dark);
}

.scroll-reveal {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Base starting position depends on direction */
.reveal-from-bottom {
    transform: translateY(40px) scale(0.95);
}

.reveal-from-top {
    transform: translateY(-40px) scale(0.95);
}

/* Pop-up variants starting position */
.pop-up.reveal-from-bottom,
.pop-up.reveal-from-top {
    transform: scale(0.5);
    opacity: 0;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Distinct timing & snapping for the pop-up (logo) */
.scroll-reveal.pop-up.visible {
    transition: opacity 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-image-placeholder {
    width: 100%;
    height: 250px;
    background-color: var(--color-cream-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-brown-pale);
    font-size: 3rem;
}

.product-gallery {
    width: 100%;
}

.main-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center bottom;
    display: block;
    background-color: var(--color-cream-dark);
}

.thumbnail-row {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem;
    background-color: var(--color-white);
    justify-content: center;
    border-bottom: 1px solid var(--color-cream);
}

.thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    object-position: center bottom;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: var(--transition);
}

.thumbnail:hover,
.thumbnail.active {
    opacity: 1;
    border-color: var(--color-brown-light);
}

.product-info {
    padding: 2rem;
    text-align: center;
}

.product-name {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.product-price {
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--color-brown-light);
    margin-bottom: 1.5rem;
}

.product-details-list {
    text-align: left;
    margin-bottom: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-cream);
}

.product-details-list li {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.product-details-list li:last-child {
    margin-bottom: 0;
}

.product-details-list strong {
    color: var(--color-brown-dark);
    font-weight: 500;
}

.btn-order {
    display: block;
    width: 100%;
}

/* Festive Card Styling */
.product-card.festive {
    border: 2px solid var(--color-brown-light);
}

.badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--color-brown-dark);
    color: var(--color-cream-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.inside-box-title {
    font-weight: 600;
    color: var(--color-brown-dark);
    text-align: left;
    margin-bottom: 0.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-cream);
}

.festive .product-details-list {
    border-top: none;
    padding-top: 0;
}

.festive .product-details-list li {
    position: relative;
    padding-left: 1.5rem;
}

.festive .product-details-list li::before {
    content: '•';
    color: var(--color-brown-light);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* =========================================================================
   Customer Reviews Section
   ========================================================================= */
.reviews {
    background-color: var(--color-cream);
}

.review-grid {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-bottom: 1.5rem;
    /* Breathing room for scroll */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
}

.review-grid::-webkit-scrollbar {
    display: none;
    /* Safari and Chrome */
}

.review-card {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(83, 34, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: var(--transition);

    flex: 0 0 85%;
    /* Shows a peek of the next card on mobile */
    max-width: 400px;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(83, 34, 0, 0.1);
}

.review-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--color-brown-dark);
    font-style: italic;
    flex-grow: 1;
}

.review-author {
    font-weight: 600;
    color: var(--color-brown);
    margin-top: auto;
}

.review-author span {
    font-weight: 400;
    font-size: 0.85rem;
    color: #6c757d;
}

/* =========================================================================
   Delivery Details Section
   ========================================================================= */
.delivery-details {
    background-color: #F5EBE1;
}

.simple-delivery-list {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
    padding-left: 2rem;
}

.simple-delivery-list li {
    font-size: 1.25rem;
    color: var(--color-brown-dark);
    font-weight: 500;
    position: relative;
    list-style: none;
}

.simple-delivery-list li::before {
    content: '•';
    color: var(--color-brown-light);
    font-size: 2rem;
    position: absolute;
    left: -1.75rem;
    top: 0.8rem;
    /* Set explicit top based on font height instead of 50% */
    line-height: 0;
}

/* =========================================================================
   How to Order Section
   ========================================================================= */
.steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 600px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: stretch;
    gap: 2rem;
    position: relative;
    padding-bottom: 3rem;
}

.step:last-child {
    padding-bottom: 0;
}

.step-line {
    width: 2px;
    background-color: var(--color-brown-light);
    position: relative;
    margin-top: 10px;
}

/* Bullet on the line */
.step-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--color-brown-dark);
    box-shadow: 0 0 0 4px var(--color-cream);
}

.step:last-child .step-line {
    background: transparent;
}

.step-content {
    flex: 1;
    text-align: left;
    padding-top: -5px;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-brown-light);
    font-style: italic;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.step-title {
    font-size: 1.5rem;
    color: var(--color-brown-dark);
    margin-bottom: 0.5rem;
}

.step p {
    margin: 0;
    font-size: 1.2rem;
    color: var(--color-brown-dark);
    font-weight: 500;
}

/* =========================================================================
   Footer / Connect With Us
   ========================================================================= */
.footer {
    background-color: var(--color-brown-dark);
    color: var(--color-cream-light);
    padding: 5rem 0 3rem;
    text-align: center;
}

.footer .section-title {
    color: var(--color-cream-light);
}

.footer .section-title::after {
    background-color: var(--color-brown-light);
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 4rem;
    align-items: center;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    color: var(--color-cream-light);
    text-decoration: underline;
}

.contact-link i {
    font-size: 1.5rem;
    color: var(--color-brown-light);
}

.contact-link:hover {
    color: var(--color-brown-light);
    text-decoration: none;
}

.footer-signoff {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-style: italic;
    margin-bottom: 3rem;
}

.footer-signoff p {
    margin: 0;
    color: var(--color-cream-light);
}

.copyright {
    font-size: 0.875rem;
    color: var(--color-brown-light);
    margin-bottom: 0;
}

/* =========================================================================
   Back to Top
   ========================================================================= */
.back-to-top-wrapper {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-cream);
}

.bg-cream .back-to-top-wrapper {
    border-top: 1px solid rgba(83, 34, 0, 0.05);
}

.back-to-top {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-brown-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
    text-decoration: underline;
}

.back-to-top i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.back-to-top:hover {
    color: var(--color-brown-dark);
}

.back-to-top:hover i {
    transform: translateY(-4px);
}

/* =========================================================================
   Shopping Cart UI
   ========================================================================= */

.floating-cart-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--color-brown-dark);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(83, 34, 0, 0.3);
    z-index: 1000;
    transition: var(--transition);
}

.floating-cart-btn:hover {
    transform: scale(1.1);
    background-color: var(--color-brown);
}

@keyframes cartBump {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.floating-cart-btn.bump {
    animation: cartBump 0.3s ease-in-out;
}

.floating-cart-btn .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #dc3545;
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-overlay.show {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background-color: var(--color-cream-light);
    z-index: 1002;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background-color: var(--color-brown-dark);
    color: var(--color-white);
    flex-wrap: nowrap;
    white-space: nowrap;
}

.cart-header h3 {
    color: var(--color-white);
    margin: 0;
    font-size: 1.25rem;
}

.close-btn {
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-btn:hover {
    transform: scale(1.1) rotate(90deg);
}

.cart-empty-message {
    padding: 2rem;
    text-align: center;
    color: var(--color-brown);
    font-size: 1.1rem;
    font-style: italic;
    display: none;
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: var(--color-white);
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-cream);
}

.cart-item-details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.cart-item-details p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-brown);
    font-weight: 600;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-btn {
    background-color: var(--color-cream);
    color: var(--color-brown-dark);
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.qty-btn:hover {
    background-color: var(--color-brown-light);
    color: white;
}

.qty {
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.remove-btn {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 0.25rem;
    margin-left: 0.5rem;
}

.remove-btn:hover {
    color: #a71d2a;
}

.cart-footer {
    padding: 1.5rem;
    background-color: var(--color-white);
    border-top: 1px solid var(--color-cream);
}

.delivery-area-input-wrapper {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.delivery-area-input-wrapper label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-brown-dark);
    margin-bottom: 0.25rem;
}

.delivery-area-input-wrapper input {
    padding: 0.75rem;
    border: 1px solid var(--color-cream-dark);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--color-brown-dark);
    outline: none;
    transition: var(--transition);
}

.delivery-area-input-wrapper input:focus {
    border-color: var(--color-brown);
    box-shadow: 0 0 0 2px rgba(83, 34, 0, 0.1);
}

.autocomplete-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 150px;
    overflow-y: auto;
    background-color: var(--color-white);
    border: 1px solid var(--color-cream-dark);
    border-top: none;
    border-radius: 0 0 6px 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    z-index: 1010;
    box-shadow: var(--shadow-sm);
    display: none;
}

.autocomplete-list li {
    padding: 0.75rem;
    font-size: 0.9rem;
    color: var(--color-brown-dark);
    cursor: pointer;
    border-bottom: 1px solid var(--color-cream);
}

.autocomplete-list li:hover {
    background-color: var(--color-cream);
}

.autocomplete-list li:last-child {
    border-bottom: none;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-brown-dark);
}

.btn-checkout {
    width: 100%;
    margin: 0;
}

/* =========================================================================
   Media Queries (Tablet and Desktop)
   ========================================================================= */
@media (min-width: 768px) {
    .container {
        max-width: 1000px;
    }

    .brand-name {
        font-size: 5rem;
    }

    .section-title {
        font-size: 3rem;
    }

    .story-card {
        padding: 5rem 4rem;
    }

    .our-story p {
        font-size: 1.25rem;
        line-height: 1.8;
    }

    .our-story p:last-child {
        font-size: 2rem;
    }

    .feature-lines li {
        font-size: 2.25rem;
    }

    .simple-delivery-list li {
        font-size: 1.35rem;
    }

    .simple-delivery-list li::before {
        font-size: 2.5rem;
        left: -2rem;
        top: 1.15rem;
    }

    .header-buttons {
        gap: 1.5rem;
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .steps {
        flex-direction: row;
        gap: 0;
        max-width: 900px;
    }

    .step {
        flex: 1;
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 0;
        padding-right: 2rem;
    }

    .step-line {
        width: 100%;
        height: 2px;
        margin-top: 0;
        margin-left: 6px;
        margin-bottom: 2rem;
    }

    .step-line::before {
        top: 50%;
        left: 0;
        transform: translateY(-50%);
    }

    .step-content {
        padding-top: 0;
    }

    .contact-links {
        flex-direction: row;
        justify-content: center;
        gap: 3rem;
    }
}

/* =========================================================================
   Media Queries (Mobile focused)
   ========================================================================= */
@media (max-width: 600px) {
    .story-card {
        padding: 3rem 1.5rem;
    }

    .feature-lines li {
        font-size: 1.4rem;
    }

    /* Remove animation delays on mobile as cards stack vertically */
    .product-card.scroll-reveal {
        transition-delay: 0ms !important;
    }

    /* Premium Header Buttons Mobile */
    .header-buttons {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }

    .header-buttons .btn-primary {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        box-shadow: 0 4px 15px rgba(83, 34, 0, 0.08);
    }
}