@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
    --primary-olive: #2b6c24;
    --light-olive: #cce8d4;
    --accent-gold: #d4af37;
    --warm-bg: #fdfcf8;
    --pure-white: #ffffff;
    --text-main: #333333;
    --text-muted: #666666;
    --soft-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    --olive-shadow: 0 15px 30px rgba(43, 108, 36, 0.08);
}

/* 1. Global Reset & Foundations */
body {
    background-color: var(--warm-bg);
    color: var(--text-main);
    font-family: 'Montserrat', sans-serif;
    /* Cleaner body text for production */
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.med-page-header,
.med-sidebar h4,
.med-product-title {
    font-family: 'Playfair Display', serif;
    color: var(--primary-olive);
}


/* 2. Hero Section (Refined) */
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s ease;
    z-index: 0;
}

.hero-slide.active {
    opacity: 1;
}

.hero {
    position: relative;
    width: 100%;
    height: calc(100vh - 60px);
    /* fallback; JS overrides with exact nav height */
    display: flex;
    align-items: center;
    /* vertically center content */
    justify-content: center;
    /* horizontally center content */
    padding: 0 2rem;
    box-sizing: border-box;
    overflow: hidden;
}



.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    z-index: 2;
    background: rgba(0, 0, 0, 0.2);
    /* Softened overlay */
    backdrop-filter: blur(8px);
    /* Modern frosted glass effect */
    padding: 1.5rem 2rem;
    border-radius: 74px;
    overflow: hidden;
}

.hero-title {
    color: #cce8d4;
    font-size: 3.4rem;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.hero-button {
    background-color: var(--primary-olive);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    color: #ffffff;
    transition: all 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    ;
}




.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    pointer-events: none;
    width: 100%;
    height: 100%;
}


.hero-button:hover {
    opacity: 0.9;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
    transform: translateY(-1px);
}

.hero-scroll-down {
    position: absolute;
    bottom: 2rem;
    right: 2.5rem;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.2s;
    animation: heroScrollBounce 2s infinite;
}

.hero-scroll-down:hover {
    color: #fff;
    text-decoration: none;
}

.hero-scroll-down i {
    font-size: 1.1rem;
}

@keyframes heroScrollBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }
}

.lang-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.lang-btn:hover {
    opacity: 0.7;
}

.lang-flag {
    width: 28px;
    /* adjust flag size here */
    height: auto;
    border-radius: 4px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
    filter: grayscale(20%);
    transition: filter 0.3s;
}

.language-switcher {
    position: absolute;
    top: 15px;
    right: 40px;
    z-index: 10;
    /* ensures it appears above overlay & content */
}

.lang-flag:hover {
    filter: grayscale(0%);
}

/* --- Slide-out Cart Styling --- */

.side-cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 450px;
    height: 100vh;
    background-color: var(--warm-bg);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    display: flex;
    flex-direction: column;
    font-family: 'Montserrat', sans-serif;
}

.side-cart-panel.open {
    transform: translateX(0);
}

.side-cart-header {
    background: var(--pure-white);
    padding: 1.25rem 1.5rem;
    border-bottom: 2px solid var(--light-olive);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.side-cart-header h4 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-olive);
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.sc-header-icon {
    font-size: 1.1rem;
    opacity: .8;
}

.side-cart-body {
    padding: 1rem 1.25rem;
    flex-grow: 1;
    overflow-y: auto;
}

.side-cart-body::-webkit-scrollbar {
    width: 5px;
}

.side-cart-body::-webkit-scrollbar-thumb {
    background: var(--light-olive);
    border-radius: 10px;
}

.side-cart-footer {
    padding: 1.25rem 1.5rem;
    border-top: 2px solid var(--light-olive);
    background-color: var(--pure-white);
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-muted);
    transition: color .2s;
}

.close-btn:hover {
    color: var(--primary-olive);
}

/* The dark background behind the cart */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1040;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s;
    will-change: opacity;
}

.cart-overlay.show {
    visibility: visible;
    opacity: 1;
}

/* ── Side-cart items ── */
.sc-items {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.sc-item {
    display: flex;
    align-items: center;
    gap: .85rem;
    background: var(--pure-white);
    border-radius: 12px;
    padding: .75rem;
    box-shadow: var(--card-shadow);
    transition: box-shadow .2s, transform .2s;
    position: relative;
}

.sc-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
    transform: translateX(-2px);
}

.sc-item-img {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sc-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sc-item-info {
    flex: 1;
    min-width: 0;
}

.sc-item-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: .88rem;
    color: var(--text-main);
    text-decoration: none;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color .2s;
}

.sc-item-name:hover {
    color: var(--primary-olive);
    text-decoration: none;
}

.sc-item-meta {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-top: .25rem;
    font-size: .8rem;
}

.sc-item-qty {
    color: var(--text-muted);
}

/* ── Quantity stepper ── */
.sc-qty-stepper {
    display: inline-flex;
    align-items: center;
    background: var(--warm-bg);
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
}

.sc-qty-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s;
    padding: 0;
    line-height: 1;
}

.sc-qty-btn:hover {
    background: var(--light-olive);
    color: var(--primary-olive);
}

.sc-qty-btn:active {
    transform: scale(.9);
}

.sc-qty-value {
    min-width: 28px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: .82rem;
    color: var(--text-main);
    user-select: none;
}

.sc-item-price {
    font-weight: 700;
    color: var(--primary-olive);
}

.sc-item-remove {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: #ccc;
    font-size: .85rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all .2s;
}

.sc-item-remove:hover {
    background: #fde8e8;
    color: #c0392b;
}

/* Remove animation */
.sc-item.removing {
    animation: scFadeOut .3s ease forwards;
}

@keyframes scFadeOut {
    to {
        opacity: 0;
        transform: translateX(40px);
        height: 0;
        padding: 0;
        margin: 0;
        overflow: hidden;
    }
}

/* ── Empty state ── */
.sc-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}

.sc-empty i {
    font-size: 2.5rem;
    color: var(--light-olive);
    margin-bottom: 1rem;
    display: block;
}

.sc-empty p {
    font-family: 'Montserrat', sans-serif;
    font-size: .95rem;
}

/* ── Footer total & checkout ── */
.sc-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.sc-total-label {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
}

.sc-total-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-olive);
}

.sc-checkout-btn {
    display: block;
    width: 100%;
    text-align: center;
    background-color: var(--primary-olive);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: .95rem;
    padding: .85rem 1.5rem;
    text-decoration: none;
    transition: all .3s ease, box-shadow .3s ease;
}

.sc-checkout-btn:hover {
    background-color: #1f4f1a;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .2);
    transform: translateY(-1px);
}

.sc-checkout-btn i {
    margin-right: .4rem;
}


/* Modern Product Card Styling */
.modern-product-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 12px;
    background: #fff;
}

.modern-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.custom-product-img {
    max-height: 200px;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.modern-product-card:hover .custom-product-img {
    opacity: 0.9;
}

.product-title a {
    font-weight: 600;
    transition: color 0.2s;
}

.product-title a:hover {
    color: #2b6c24 !important;
    /* Uses the olive green from your hero section */
}


/* --- Sidebar Styling --- */
.med-sidebar {
    background-color: transparent;
    border: none;
    padding-right: 20px;
}

.med-sidebar h4 {
    font-family: 'Playfair Display', serif;
    color: #2b6c24;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #cce8d4;
    padding-bottom: 10px;
}

.med-sidebar a {
    color: #666;
    text-decoration: none;
    font-size: 1.05rem;
    transition: color 0.2s, padding-left 0.2s;
    display: inline-block;
}

.med-sidebar a:hover {
    color: #2b6c24;
    padding-left: 5px;
    /* Subtle slide effect */
}

.med-sidebar a strong {
    color: #2b6c24;
    font-weight: 700;
}

.med-sidebar ul {
    list-style: none;
    padding-left: 0;
}

.med-sidebar li {
    margin-bottom: 0.8rem;
}

/* --- Product Cards --- */
.med-product-card {
    background: var(--pure-white);
    border-radius: 12px;
    padding: 20px;

    text-align: center;
    box-shadow: var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.03);
}


.med-product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--olive-shadow);
}

.med-product-image-wrapper {
    background: #f9f9f9;
    /* Subtle backdrop for product photos */
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}


.med-product-image-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.med-product-card:hover .med-product-image-wrapper img {
    transform: scale(1.08);
    /* Gentle zoom on hover */
}

.med-product-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 8px;
    line-height: 1.3;
}

.med-product-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.med-product-title a:hover {
    color: #2b6c24;
}

.med-product-price {
    font-weight: 700;
    font-size: 1.5rem;
    /* Increased font size for hierarchy */
    color: var(--primary-olive);
    margin-bottom: 20px;
}

/* Ensure Oscar's default price text inherits the bigger size */
.med-product-price p.price_color {
    font-size: inherit;
    color: inherit;
    margin: 0;
}

/* Update your existing button for a larger click target */
.med-btn-add {
    background-color: var(--primary-olive);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 14px 20px;
    /* INCREASED padding for breathing room */
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
    transition: background-color 0.2s ease, transform 0.2s ease;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}


.med-btn-add:hover {
    background-color: #1f4f1a;
    transform: translateY(-2px);
    color: white;
}

/* --- Refined Browse Page Headers --- */
.med-page-header {
    font-family: 'Playfair Display', serif;
    color: #2b6c24;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.breadcrumb a {
    color: #888;
}

.breadcrumb-item.active {
    color: #2b6c24;
    font-weight: 600;
}

/* --- Browse Control Bar --- */
.med-browse-bar {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 15px 25px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    border: 1px solid #fdfcf8;
    /* Matches the warm background */
}

.med-results-count {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: #555;
    margin: 0;
}

.med-results-count strong {
    color: #2b6c24;
    font-weight: 700;
}

.med-sort-wrapper {
    display: flex;
    align-items: center;
    font-family: 'Playfair Display', serif;
    color: #555;
    font-size: 1.05rem;
}

/* Styling the actual dropdown inside Oscar's form element */
select,
input[type="text"],
.med-sort-wrapper select {
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 10px 15px;
    background: var(--pure-white);
    color: #2b6c24;
    background-color: transparent;
    font-family: 'Montserrat', sans-serif;
    /* Clean sans-serif for readability */
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    margin-left: 10px;
    appearance: auto;
}

/* 8. Modern Browse Bar */
.med-browse-bar {
    background: var(--pure-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.med-sort-wrapper select:hover,
.med-sort-wrapper select:focus input:focus {
    border-color: var(--primary-olive);
    box-shadow: 0 0 0 3px rgba(43, 108, 36, 0.1);
    outline: none;
}

/* Hide Oscar's default form labels since we use a custom span */
.med-sort-wrapper label {
    display: none;
}

.med-sort-wrapper .form-group {
    margin-bottom: 0;
}

/* ======================================================= */
/* --- PRIMARY NAVBAR OVERRIDE (The bg-dark menu bar) ---  */
/* ======================================================= */

/* 1. Change the black background to crisp white */
nav.navbar.navbar-expand-lg.navbar-dark.bg-dark {
    background-color: var(--pure-white) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    box-shadow: var(--soft-shadow);
}

/* 2. Style the main navigation links */
nav.navbar.navbar-expand-lg.navbar-dark.bg-dark .navbar-nav .nav-link {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--text-main) !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    padding: 8px 22px;
    transition: color 0.3s ease;
}

/* 3. Hover and Active states for the links */
nav.navbar.navbar-expand-lg.navbar-dark.bg-dark .navbar-nav .nav-link:hover,
nav.navbar.navbar-expand-lg.navbar-dark.bg-dark .navbar-nav .nav-item.active .nav-link,
nav.navbar.navbar-expand-lg.navbar-dark.bg-dark .navbar-nav .nav-item.show .nav-link {
    color: #2b6c24 !important;
    /* Olive green */
}

/* 4. Style the Dropdown Menu (e.g., the 'Browse' dropdown) */
nav.navbar.navbar-expand-lg.navbar-dark.bg-dark .dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    background-color: #ffffff;
    padding: 15px 0;
    margin-top: 10px;
}

/* 5. Style the individual items inside the Dropdown */
nav.navbar.navbar-expand-lg.navbar-dark.bg-dark .dropdown-item {
    font-family: 'Roboto', sans-serif;
    /* Clean sans-serif for readability */
    color: #555;
    font-size: 0.95rem;
    padding: 10px 25px;
    transition: background-color 0.2s, color 0.2s;
}

nav.navbar.navbar-expand-lg.navbar-dark.bg-dark .dropdown-item .nav-link:hover {
    color: var(--primary-olive) !important;
    background-color: #fdfcf8;
}


/* 6. Mobile toggle button styling */
nav.navbar.navbar-expand-lg.navbar-dark.bg-dark .navbar-toggler {
    border-color: #cce8d4 !important;
    background-color: #2b6c24 !important;
    padding: 8px 12px;
    border-radius: 8px;
}

/* ======================================================= */
/* --- SINGLE-ROW CENTERED NAVBAR STYLING ---  */
/* ======================================================= */

.med-centered-single-row {
    background-color: var(--pure-white);
    box-shadow: var(--soft-shadow);
    padding: 12px 0;
    border-bottom: 2px solid var(--primary-olive);
}

.med-centered-single-row .navbar-nav {
    gap: 1.25rem;
}

/* Nav Links Styling */
.med-centered-single-row .nav-link {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-main) !important;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.med-centered-single-row .nav-link:hover {
    color: var(--primary-olive) !important;
}

/* The 'Products' text highlight */
.med-nav-highlight {
    font-family: 'Playfair Display', serif !important;
    font-size: 1.15rem !important;
    color: var(--primary-olive) !important;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* --- Search Bar with Inner Icon --- */
.med-inline-search {
    width: 250px;
}

.med-inline-search input {
    border-radius: 20px;
    border: 1px solid #e1e1e1;
    background-color: var(--warm-bg);
    padding: 8px 40px 8px 15px;
    /* Creates empty space on the right for the icon */
    width: 100%;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.med-inline-search input:focus {
    border-color: var(--primary-olive);
    box-shadow: 0 0 0 2px rgba(43, 108, 36, 0.1);
}

/* Positioning the search icon inside the box */
.med-search-icon-btn {
    position: absolute;
    right: 12px;
    /* Positioned inside the input padding */
    top: 50%;
    transform: translateY(-50%);
    background: transparent !important;
    border: none !important;
    color: var(--text-muted);
    padding: 0;
    cursor: pointer;
    transition: color 0.2s ease;
}

.med-search-icon-btn:hover {
    color: var(--primary-olive);
}

/* --- Language Button Fix --- */
.lang-btn-clear {
    background-color: transparent !important;
    /* Strips any inherited background */
    border: none !important;
    box-shadow: none !important;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-btn-clear:hover {
    opacity: 0.8;
}

/* ========================================================
   PRODUCT DETAIL PAGE
   ======================================================== */

/* ── Gallery ── */
.product-gallery {
    position: sticky;
    top: 2rem;
}

.gallery-main-img {
    background: var(--pure-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-main-img img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 520px;
}

.gallery-thumbs {
    display: flex;
    gap: .6rem;
    overflow-x: auto;
    padding-bottom: .25rem;
}

.gallery-thumb {
    flex: 0 0 auto;
    width: 72px;
    height: 72px;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    background: var(--pure-white);
    cursor: pointer;
    padding: 0;
    transition: border-color .2s;
    box-shadow: var(--card-shadow);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: var(--primary-olive);
}

/* ── Info panel ── */
.product-info-panel {
    padding: 0 .5rem;
}

.product-detail-title {
    font-family: 'Playfair Display', serif;
    color: var(--text-main);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: .75rem;
    line-height: 1.25;
}

.product-price-box {
    margin-bottom: .75rem;
}

.product-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-olive);
    font-family: 'Montserrat', sans-serif;
}

.product-price-note {
    font-size: .85rem;
    color: var(--text-muted);
    margin-left: .35rem;
}

/* ── Availability badges ── */
.product-availability .badge-available {
    display: inline-block;
    background: var(--light-olive);
    color: var(--primary-olive);
    padding: .35rem .8rem;
    border-radius: 20px;
    font-size: .85rem;
    font-weight: 500;
}

.product-availability .badge-unavailable {
    display: inline-block;
    background: #fde8e8;
    color: #c0392b;
    padding: .35rem .8rem;
    border-radius: 20px;
    font-size: .85rem;
    font-weight: 500;
}

/* ── Short description ── */
.product-short-desc {
    color: var(--text-muted);
    font-size: .95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* ── Attribute list ── */
.product-attrs {
    list-style: none;
    padding: 0;
    margin: 0 0 .75rem;
}

.product-attrs li {
    display: inline-block;
    background: #f0f0f0;
    padding: .3rem .75rem;
    border-radius: 20px;
    font-size: .85rem;
    margin: 0 .35rem .35rem 0;
}

.product-attrs .attr-label {
    font-weight: 600;
    color: var(--text-main);
}

/* ── Add-to-cart button (hero style) ── */
.btn-add-to-cart {
    background-color: var(--primary-olive);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    padding: .85rem 2rem;
    letter-spacing: .3px;
    transition: all .3s ease, box-shadow .3s ease;
}

.btn-add-to-cart:hover,
.btn-add-to-cart:focus {
    background-color: var(--primary-olive);
    color: #fff;
    opacity: .9;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .25);
    transform: translateY(-1px);
}

/* ── Notify button ── */
.btn-notify {
    background-color: var(--accent-gold);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    padding: .85rem 2rem;
    transition: all .3s ease, box-shadow .3s ease;
}

.btn-notify:hover,
.btn-notify:focus {
    background-color: var(--accent-gold);
    color: #fff;
    opacity: .9;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .2);
    transform: translateY(-1px);
}

/* ── Wishlist button ── */
.btn-wishlist .btn,
.btn-wishlist .btn.dropdown-toggle {
    background: transparent;
    color: var(--primary-olive);
    border: 2px solid var(--primary-olive);
    border-radius: 50px;
    font-weight: 600;
    font-size: .95rem;
    padding: .6rem 1.5rem;
    transition: all .3s ease;
    width: 100%;
    margin-top: .75rem;
}

.btn-wishlist .btn:hover {
    background: var(--primary-olive);
    color: #fff;
}

/* ── Quantity input ── */
.product-info-panel .form-group,
.product-info-panel .form-control {
    border-radius: 8px;
}

.product-info-panel input[type="number"] {
    max-width: 100px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: .5rem;
}

/* ── Full description ── */
.product-full-desc {
    background: var(--pure-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
}

.product-full-desc h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-olive);
    margin-bottom: 1rem;
}

.product-full-desc .desc-body {
    color: var(--text-muted);
    line-height: 1.8;
}

/* ── Info table ── */
.product-info-table {
    background: var(--pure-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
}

.product-info-table h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-olive);
    margin-bottom: 1rem;
}

.product-info-table .table {
    margin-bottom: 0;
}

.product-info-table .table th {
    font-weight: 600;
    width: 200px;
    color: var(--text-main);
    border-top: none;
}

.product-info-table .table td {
    border-top: none;
    color: var(--text-muted);
}

.product-info-table .table tr:first-child th,
.product-info-table .table tr:first-child td {
    border-top: none;
}

/* ── Reviews ── */
.product-reviews h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-olive);
}

.review-card {
    background: var(--pure-white);
    border-color: #eee !important;
}

/* ── Override Oscar's default blue star-rating link ── */
.star-rating a,
.star-rating a:visited {
    color: var(--primary-olive) !important;
    text-decoration: none;
}

.star-rating a:hover {
    color: var(--gold) !important;
    text-decoration: underline;
}

/* ── Review stars inline (product detail) ── */
.review-stars-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.25rem;
}

.review-stars-icons {
    display: inline-flex;
    gap: 2px;
}

.review-count-link {
    font-size: 0.88rem;
    color: var(--primary-olive) !important;
    text-decoration: none;
    font-weight: 500;
    transition: color .2s;
}

.review-count-link:hover {
    color: var(--gold) !important;
    text-decoration: underline;
}

/* ── Reviews section header (product detail) ── */
.rv-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e8e0d0;
}

.rv-section-title {
    font-family: 'Playfair Display', serif;
    color: var(--primary-olive);
    font-size: 1.4rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rv-section-title i {
    color: var(--gold);
    font-size: 1.1rem;
}

.rv-all-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-olive);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color .2s;
}

.rv-all-link:hover {
    color: var(--gold);
}

.rv-empty {
    color: var(--text-muted);
    font-style: italic;
    padding: 1.25rem;
    background: #fdfaf5;
    border-radius: 8px;
    border: 1px dashed #d8cfc0;
    text-align: center;
}

/* ── Individual review card ── */
.rv-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rv-card {
    background: var(--pure-white);
    border: 1px solid #e8e0d0;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
    transition: box-shadow .2s;
}

.rv-card:hover {
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.09);
}

.rv-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
}

.rv-card-stars {
    display: flex;
    gap: 2px;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.rv-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-olive);
    margin: 0;
    font-family: 'Playfair Display', serif;
}

.rv-card-title a {
    color: inherit;
    text-decoration: none;
}

.rv-card-title a:hover {
    color: var(--gold);
}

.rv-card-body {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.rv-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.6rem;
    border-top: 1px solid #f0ebe2;
    flex-wrap: wrap;
}

.rv-card-meta {
    font-size: 0.82rem;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.rv-card-meta i {
    color: var(--primary-olive);
    opacity: .6;
}

.rv-card-permalink {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: color .2s;
}

.rv-card-permalink:hover {
    color: var(--primary-olive);
}

.rv-card-vote {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.rv-vote-label {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.rv-vote-form {
    display: inline;
}

.rv-vote-btn {
    border: none;
    border-radius: 20px;
    padding: 0.25rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: background .2s, transform .1s;
}

.rv-vote-yes {
    background: #eaf4e8;
    color: var(--primary-olive);
}

.rv-vote-yes:hover {
    background: var(--primary-olive);
    color: #fff;
    transform: translateY(-1px);
}

.rv-vote-no {
    background: #fdecea;
    color: #c0392b;
}

.rv-vote-no:hover {
    background: #c0392b;
    color: #fff;
    transform: translateY(-1px);
}

.rv-card-votes {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.rv-card-votes i {
    color: var(--gold);
}

/* ── Reviews list page ── */
.rv-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem 0 3rem;
}

.rv-product-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--pure-white);
    border: 1px solid #e8e0d0;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.rv-product-img img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #eee;
}

.rv-product-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--primary-olive);
    margin: 0 0 0.4rem;
}

.rv-product-title a {
    color: inherit;
    text-decoration: none;
}

.rv-product-title a:hover {
    color: var(--gold);
}

.rv-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e8e0d0;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.rv-sort-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rv-sort-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.rv-sort-select {
    padding: 0.35rem 0.75rem;
    border: 1.5px solid #d8cfc0;
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--text-dark);
    background: #fdfaf5;
}

.rv-sort-select:focus {
    outline: none;
    border-color: var(--primary-olive);
}

.rv-sort-btn {
    background: var(--primary-olive);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.35rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}

.rv-sort-btn:hover {
    background: var(--olive-dark);
}

/* ── Review form ── */
.review-form-wrap {
    margin-top: 2rem;
}

.review-form-card {
    background: var(--pure-white);
    border: 1px solid #e8e0d0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.review-form-header {
    background: var(--primary-olive);
    color: #fff;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.review-form-header i {
    font-size: 1.1rem;
    opacity: .85;
}

.review-form-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin: 0;
    color: #fff;
}

.review-form-body {
    padding: 1.75rem;
}

.rf-field {
    margin-bottom: 1.25rem;
}

.rf-label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--primary-olive);
    margin-bottom: 0.4rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.rf-required {
    color: #c0392b;
    margin-left: 2px;
}

.rf-field input[type="text"],
.rf-field input[type="email"],
.rf-field textarea {
    width: 100%;
    padding: 0.6rem 0.875rem;
    border: 1.5px solid #d8cfc0;
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: #fdfaf5;
    transition: border-color .2s, box-shadow .2s;
    box-sizing: border-box;
}

.rf-field input[type="text"]:focus,
.rf-field input[type="email"]:focus,
.rf-field textarea:focus {
    outline: none;
    border-color: var(--primary-olive);
    box-shadow: 0 0 0 3px rgba(43, 108, 36, .12);
    background: #fff;
}

.rf-field textarea {
    min-height: 120px;
    resize: vertical;
}

.rf-field--error input,
.rf-field--error textarea {
    border-color: #c0392b;
}

.rf-error {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.82rem;
    color: #c0392b;
}

/* Star rating */
.rf-stars {
    display: flex;
    gap: 0.3rem;
    margin-top: 0.25rem;
}

.rf-star {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 1.6rem;
    color: #ccc;
    transition: color .15s, transform .1s;
    line-height: 1;
}

.rf-star:hover,
.rf-star--hover i,
.rf-star--active i {
    color: var(--gold);
}

.rf-star--hover i,
.rf-star--active i {
    color: var(--gold) !important;
}

.rf-star i {
    transition: color .15s;
}

.rf-stars:hover .rf-star i {
    color: #ccc;
}

.rf-stars .rf-star:hover~.rf-star i {
    color: #ccc;
}

.rf-stars .rf-star:hover i,
.rf-stars .rf-star:hover~* {
    /* handled by JS */
}

/* Actions row */
.rf-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.rf-submit-btn {
    background: var(--primary-olive);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.65rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, transform .15s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.rf-submit-btn:hover {
    background: var(--olive-dark);
    transform: translateY(-1px);
}

.rf-cancel-link {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color .2s;
}

.rf-cancel-link:hover {
    color: var(--primary-olive);
    text-decoration: underline;
}

/* ── Breadcrumbs ── */
.product-detail .breadcrumb-item a {
    color: var(--primary-olive);
    text-decoration: none;
}

.product-detail .breadcrumb-item a:hover {
    text-decoration: underline;
}

.product-detail .breadcrumb-item.active {
    color: var(--text-muted);
}

/* ── Separator line ── */
.product-info-panel hr {
    border-color: #eee;
}

/* ── Section spacing ── */
.product-detail h2 {
    font-size: 1.5rem;
}

/* ── Recommended items ── */
.product-detail .mt-5 h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-olive);
    margin-bottom: 1.25rem;
}

/* ========================================================
   NOTIFICATION / ALERT MESSAGES (Add-to-cart, etc.)
   ======================================================== */
#messages {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    max-width: 420px;
    width: 100%;
}

#messages .alert {
    font-family: 'Montserrat', sans-serif;
    font-size: .92rem;
    font-weight: 500;
    border: none;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: .75rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .12);
    animation: slideInRight .35s ease-out;
}

#messages .alert .close,
#messages .alert [data-dismiss="alert"] {
    font-size: 1.25rem;
    color: inherit;
    opacity: .6;
    text-shadow: none;
    transition: opacity .2s;
}

#messages .alert .close:hover,
#messages .alert [data-dismiss="alert"]:hover {
    opacity: 1;
}

#messages .alert .alertinner {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.5;
}

#messages .alert .alertinner [class*="fa-"] {
    font-size: 1.15rem;
    flex-shrink: 0;
}

/* ── Success (add-to-cart confirmation) ── */
#messages .alert-success {
    background: var(--light-olive);
    color: var(--primary-olive);
    border-left: 4px solid var(--primary-olive);
}

/* ── Info ── */
#messages .alert-info {
    background: #e8f0fe;
    color: #1a56db;
    border-left: 4px solid #1a56db;
}

/* ── Warning ── */
#messages .alert-warning {
    background: #fef3cd;
    color: #92700c;
    border-left: 4px solid #d4a017;
}

/* ── Error / Danger ── */
#messages .alert-danger {
    background: #fde8e8;
    color: #c0392b;
    border-left: 4px solid #c0392b;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========================================================
   CART / BASKET PAGE
   ======================================================== */

/* ── Page header ── */
.cart-page-header {
    padding: 1rem 0 1.5rem;
}

.cart-page-header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
}

.cart-page-nav {
    align-self: flex-start;
}

.cart-back-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: .9rem;
    color: var(--text-muted);
    text-decoration: none;
    padding: .45rem 1.1rem;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    transition: all .25s;
}

.cart-back-btn:hover {
    color: var(--primary-olive);
    border-color: var(--primary-olive);
    background: var(--light-olive);
    text-decoration: none;
}

.cart-page-title {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .3rem;
}

.cart-page-title>i {
    font-size: 2.2rem;
    color: var(--primary-olive);
    opacity: .7;
}

.cart-page-title h1 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-olive);
    font-size: 2.4rem;
    font-weight: 700;
    margin: 0;
}

.cart-item-count {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: .85rem;
    color: var(--text-muted);
    background: var(--light-olive);
    padding: .2rem .9rem;
    border-radius: 50px;
    font-weight: 500;
}

/* ── Table header row ── */
.cart-table-header {
    display: flex;
    align-items: center;
    padding: .75rem 1rem;
    background: var(--light-olive);
    border-radius: 10px;
    margin-bottom: .75rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: .85rem;
    color: var(--primary-olive);
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* ── Column widths ── */
.cart-col-img {
    flex: 0 0 90px;
}

.cart-col-product {
    flex: 1;
    min-width: 0;
}

.cart-col-price {
    flex: 0 0 110px;
    text-align: center;
}

.cart-col-qty {
    flex: 0 0 150px;
    text-align: center;
}

.cart-col-total {
    flex: 0 0 110px;
    text-align: right;
    font-weight: 700;
}

.cart-col-action {
    flex: 0 0 70px;
    text-align: center;
}

/* ── Line item card ── */
.cart-line-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--pure-white);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: .6rem;
    box-shadow: var(--card-shadow);
    transition: box-shadow .25s, transform .25s;
}

.cart-line-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
    transform: translateY(-1px);
}

.cart-col-img img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
    background: #f9f9f9;
}

.cart-product-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: .95rem;
    color: var(--text-main);
    text-decoration: none;
    transition: color .2s;
}

.cart-product-name:hover {
    color: var(--primary-olive);
    text-decoration: none;
}

.cart-availability {
    font-size: .8rem;
    color: var(--text-muted);
    margin: .25rem 0 0;
}

.cart-availability.instock {
    color: var(--primary-olive);
}

.cart-col-price {
    font-family: 'Montserrat', sans-serif;
    font-size: .95rem;
    color: var(--text-muted);
}

.cart-col-total {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: var(--primary-olive);
}

/* ── Quantity stepper (cart page) ── */
.cart-qty-stepper {
    display: inline-flex;
    align-items: center;
    background: var(--warm-bg);
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
}

.cart-qty-stepper.has-error {
    border-color: #c0392b;
}

.cart-qty-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s;
    padding: 0;
    line-height: 1;
}

.cart-qty-btn:hover {
    background: var(--light-olive);
    color: var(--primary-olive);
}

.cart-qty-btn:active {
    transform: scale(.9);
}

.cart-qty-value {
    min-width: 36px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: .95rem;
    color: var(--text-main);
    user-select: none;
}

.cart-qty-hidden {
    display: none !important;
}

.cart-error {
    display: block;
    font-size: .75rem;
    color: #c0392b;
    margin-top: .25rem;
}

.cart-label {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--text-muted);
    margin-right: .3rem;
}

/* ── Action buttons ── */
.cart-remove-btn,
.cart-save-btn,
.cart-move-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #ccc;
    font-size: .85rem;
    text-decoration: none;
    transition: all .2s;
    cursor: pointer;
}

.cart-remove-btn:hover {
    background: #fde8e8;
    color: #c0392b;
}

.cart-save-btn:hover,
.cart-move-btn:hover {
    background: var(--light-olive);
    color: var(--primary-olive);
}

.cart-wishlist-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #ccc;
    font-size: .85rem;
    text-decoration: none;
    transition: all .2s;
    cursor: pointer;
}

.cart-wishlist-btn:hover {
    background: #fce4ec;
    color: #e91e63;
}

.cart-wishlist-btn .fas.fa-heart {
    color: #e91e63;
}

/* ── Voucher section ── */
.cart-voucher-box {
    background: var(--pure-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
}

.cart-voucher-box h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-olive);
    font-size: 1.15rem;
    margin-bottom: .75rem;
}

.cart-voucher-toggle {
    color: var(--primary-olive);
    font-weight: 500;
    text-decoration: none;
}

.cart-voucher-toggle:hover {
    text-decoration: underline;
}

.cart-voucher-input {
    border-radius: 8px 0 0 8px !important;
    border: 1px solid #e5e5e5 !important;
}

.cart-voucher-btn {
    background: var(--primary-olive);
    color: #fff;
    border: none;
    border-radius: 0 8px 8px 0;
    padding: .5rem 1.25rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}

.cart-voucher-btn:hover {
    background: #1f4f1a;
}

.cart-voucher-cancel {
    display: inline-block;
    margin-top: .5rem;
    font-size: .85rem;
    color: var(--text-muted);
}

/* ── Totals box ── */
.cart-totals-box {
    background: var(--pure-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(43, 108, 36, .08);
}

.cart-totals-box h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-olive);
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.cart-totals-box .table {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0;
}

.cart-totals-box .table th {
    font-weight: 600;
    color: var(--text-main);
    border-top: none;
    border-bottom: 1px solid #f0f0f0;
    padding: .6rem 0;
}

.cart-totals-box .table td {
    text-align: right;
    color: var(--text-muted);
    border-top: none;
    border-bottom: 1px solid #f0f0f0;
    padding: .6rem 0;
}

.cart-totals-box .table tr:last-child th,
.cart-totals-box .table tr:last-child td {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-olive);
    border-bottom: none;
}

/* ── Checkout row ── */
.cart-checkout-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--light-olive);
}

.cart-nav-buttons {
    display: flex;
    gap: .75rem;
    align-items: center;
}

.cart-continue-link {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-muted);
    font-weight: 500;
    text-decoration: none;
    transition: color .2s;
    padding: .55rem 1.2rem;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    font-size: .9rem;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.cart-continue-link:hover {
    color: var(--primary-olive);
    border-color: var(--primary-olive);
    background: var(--light-olive);
    text-decoration: none;
}

.cart-browse-link {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-olive);
    font-weight: 500;
    text-decoration: none;
    transition: all .2s;
    padding: .55rem 1.2rem;
    border: 1px solid var(--primary-olive);
    border-radius: 50px;
    font-size: .9rem;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.cart-browse-link:hover {
    background: var(--primary-olive);
    color: #fff;
    text-decoration: none;
}

.cart-checkout-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: linear-gradient(135deg, var(--primary-olive), #1f4f1a);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    padding: .9rem 2.5rem;
    text-decoration: none;
    transition: all .3s ease, box-shadow .3s ease;
    box-shadow: 0 4px 12px rgba(43, 108, 36, .25);
}

.cart-checkout-btn:hover {
    background: linear-gradient(135deg, #1f4f1a, #163a12);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(43, 108, 36, .35);
    transform: translateY(-2px);
}

.cart-checkout-btn:active {
    transform: translateY(0);
}

/* ── Trust badges ── */
.cart-trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    padding: 1rem 0;
}

.cart-trust-badges span {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-family: 'Montserrat', sans-serif;
    font-size: .8rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: .3px;
}

.cart-trust-badges i {
    color: var(--primary-olive);
    font-size: .9rem;
}

/* ── Empty basket ── */
.cart-empty {
    text-align: center;
    padding: 5rem 1rem;
    background: var(--pure-white);
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    max-width: 500px;
    margin: 2rem auto;
}

.cart-empty>i {
    font-size: 4rem;
    color: var(--light-olive);
    margin-bottom: 1.25rem;
    display: block;
}

.cart-empty h3 {
    font-family: 'Playfair Display', serif;
    color: var(--text-main);
    margin-bottom: .5rem;
}

.cart-empty p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.cart-empty-actions {
    display: flex;
    gap: .75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cart-empty-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: linear-gradient(135deg, var(--primary-olive), #1f4f1a);
    color: #fff;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    padding: .75rem 2rem;
    text-decoration: none;
    transition: all .3s ease;
    box-shadow: 0 4px 12px rgba(43, 108, 36, .25);
}

.cart-empty-btn:hover {
    background: linear-gradient(135deg, #1f4f1a, #163a12);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.cart-empty-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: transparent;
    color: var(--text-muted);
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    padding: .75rem 2rem;
    text-decoration: none;
    transition: all .3s ease;
}

.cart-empty-btn-outline:hover {
    color: var(--primary-olive);
    border-color: var(--primary-olive);
    background: var(--light-olive);
    text-decoration: none;
}

/* ── Saved for later ── */
.cart-saved-section h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-olive);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.cart-saved-item {
    opacity: .85;
}

/* ── Mobile responsive ── */
@media (max-width: 767px) {
    .cart-page-header-inner {
        align-items: flex-start;
    }

    .cart-page-title {
        align-items: flex-start;
        text-align: left;
    }

    .cart-page-title h1 {
        font-size: 1.8rem;
    }

    .cart-line-item {
        flex-wrap: wrap;
        gap: .75rem;
    }

    .cart-col-img {
        flex: 0 0 70px;
    }

    .cart-col-product {
        flex: 1 1 calc(100% - 90px);
    }

    .cart-col-price,
    .cart-col-qty,
    .cart-col-total {
        flex: 1;
        text-align: left;
    }

    .cart-col-action {
        flex: 0 0 auto;
    }

    .cart-checkout-row {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .cart-nav-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cart-continue-link,
    .cart-browse-link,
    .cart-checkout-btn {
        width: 100%;
        justify-content: center;
    }

    .cart-trust-badges {
        flex-direction: column;
        gap: .5rem;
        align-items: center;
    }

    .cart-empty-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* ========================================================
   CHECKOUT PAGES
   ======================================================== */

/* ── Modern address form layout ── */
.addr-section {
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f0efe9;
}

.addr-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.addr-section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: .85rem;
    font-weight: 700;
    color: var(--primary-olive);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.addr-section-title i {
    font-size: .9rem;
    opacity: .7;
}

.addr-row {
    display: flex;
    gap: 1rem;
    margin-bottom: .85rem;
}

.addr-field {
    display: flex;
    flex-direction: column;
}

.addr-half {
    flex: 1 1 0;
    min-width: 0;
}

.addr-full {
    flex: 1 1 100%;
}

.addr-field label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: .8rem;
    color: var(--text-main);
    margin-bottom: .3rem;
}

.addr-req {
    color: #c0392b;
    font-weight: 700;
}

.addr-field .form-control {
    border: 1px solid #e1e1e1;
    border-radius: 10px;
    padding: .65rem 1rem;
    font-family: 'Montserrat', sans-serif;
    font-size: .92rem;
    background: var(--warm-bg);
    color: var(--text-main);
    transition: border-color .2s, box-shadow .2s;
    width: 100%;
}

.addr-field .form-control:focus {
    border-color: var(--primary-olive);
    box-shadow: 0 0 0 3px rgba(43, 108, 36, .1);
    outline: none;
}

.addr-field select.form-control {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

/* ── Postal code lookup ── */
.postcode-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.postcode-input-wrap .form-control {
    flex: 1;
}

.postcode-status {
    position: absolute;
    right: .75rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: .95rem;
    pointer-events: none;
}

.postcode-loading i {
    color: var(--text-muted);
}

.postcode-valid i {
    color: var(--primary-olive);
}

.postcode-invalid i {
    color: #c0392b;
}

.postcode-feedback {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    margin-top: .2rem;
    min-height: 1rem;
}

.postcode-feedback-valid {
    color: var(--primary-olive);
}

.postcode-feedback-invalid {
    color: #c0392b;
}

.postcode-autofilled {
    background-color: #f0f9f0 !important;
    transition: background-color 1.5s ease;
}

/* Read-only By (city) field - auto-filled from postal code */
.addr-field .form-control[readonly] {
    background-color: #f7f7f4;
    cursor: default;
    color: var(--text-main);
    border-color: #e8e8e4;
}

/* Static country display */
.addr-country-static {
    display: flex;
    align-items: center;
    gap: .5rem;
    background-color: #f7f7f4 !important;
    cursor: default;
    font-weight: 500;
}

.addr-country-flag {
    border-radius: 2px;
    box-shadow: 0 0 2px rgba(0, 0, 0, .15);
}

/* ── Phone input with intl-tel-input ── */
.phone-input-wrap {
    position: relative;
}

.phone-iti-container {
    width: 100%;
}

.phone-iti-container .iti__selected-dial-code {
    font-family: 'Montserrat', sans-serif;
    font-size: .88rem;
    color: var(--text-main);
}

.iti {
    width: 100%;
}

.iti__country-list {
    border-radius: 10px;
    border: 1px solid #e1e1e1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
    font-family: 'Montserrat', sans-serif;
    font-size: .88rem;
    max-height: 220px;
}

.iti__country-list .iti__country--highlight {
    background-color: var(--light-olive);
}

.iti__selected-flag {
    border-radius: 10px 0 0 10px;
    padding-left: .75rem;
}

.iti--separate-dial-code .iti__selected-flag {
    background: transparent;
}

/* ── Responsive ── */
@media (max-width: 575px) {
    .addr-row {
        flex-direction: column;
        gap: 0;
    }

    .addr-half {
        flex: 1 1 100%;
    }
}

/* ── Page wrapper ── */
.checkout-page {
    max-width: 960px;
    margin: 0 auto;
    padding-bottom: 3rem;
}

/* ── Header with back button ── */
.checkout-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
    padding: 1rem 0 1.5rem;
    position: relative;
}

.checkout-header h1 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-olive);
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.checkout-header h1 i {
    margin-right: .4rem;
    font-size: 1.6rem;
    opacity: .7;
}

.checkout-back-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: .9rem;
    color: var(--text-muted);
    text-decoration: none;
    padding: .45rem 1.1rem;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    transition: all .25s;
}

.checkout-back-btn:hover {
    color: var(--primary-olive);
    border-color: var(--primary-olive);
    background: var(--light-olive);
    text-decoration: none;
}

/* ── Progress bar / steps ── */
.checkout-progress {
    margin-bottom: 2rem;
}

.checkout-progress-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: var(--pure-white);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    box-shadow: var(--card-shadow);
}

.checkout-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
    flex-shrink: 0;
}

.checkout-step-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: .85rem;
    transition: all .3s;
    border: 2px solid #e0e0e0;
    background: var(--warm-bg);
    color: var(--text-muted);
}

.checkout-step.active .checkout-step-circle {
    border-color: var(--primary-olive);
    background: var(--primary-olive);
    color: #fff;
    box-shadow: 0 4px 12px rgba(43, 108, 36, .25);
}

.checkout-step.completed .checkout-step-circle {
    border-color: var(--primary-olive);
    background: var(--light-olive);
    color: var(--primary-olive);
}

.checkout-step.disabled .checkout-step-circle {
    opacity: .5;
}

.checkout-step-label {
    font-family: 'Montserrat', sans-serif;
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: var(--text-muted);
    text-decoration: none;
}

.checkout-step.active .checkout-step-label {
    color: var(--primary-olive);
    font-weight: 700;
}

.checkout-step.completed .checkout-step-label {
    color: var(--primary-olive);
}

a.checkout-step-label:hover {
    color: var(--primary-olive);
    text-decoration: underline;
}

.checkout-step-line {
    flex: 1;
    height: 2px;
    background: #e0e0e0;
    margin: 0 .5rem;
    margin-bottom: 1.2rem;
    min-width: 20px;
    transition: background .3s;
}

.checkout-step-line.completed {
    background: var(--primary-olive);
}

/* ── Cards ── */
.checkout-card {
    background: var(--pure-white);
    border-radius: 14px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0, 0, 0, .03);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.checkout-card-header {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    background: linear-gradient(135deg, var(--light-olive) 0%, rgba(204, 232, 212, .3) 100%);
}

.checkout-card-header i {
    font-size: 1.1rem;
    color: var(--primary-olive);
}

.checkout-card-header h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-olive);
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    flex: 1;
}

.checkout-card-body {
    padding: 1.5rem;
}

.checkout-change-link {
    font-family: 'Montserrat', sans-serif;
    font-size: .8rem;
    font-weight: 600;
    color: var(--primary-olive);
    text-decoration: none;
    padding: .25rem .75rem;
    border: 1px solid var(--primary-olive);
    border-radius: 50px;
    transition: all .2s;
}

.checkout-change-link:hover {
    background: var(--primary-olive);
    color: #fff;
    text-decoration: none;
}

.checkout-info-row h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: .95rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: .5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.checkout-info-row h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-main);
    margin: .75rem 0 .25rem;
}

.checkout-info-row address,
.checkout-info-row p {
    font-family: 'Montserrat', sans-serif;
    font-size: .9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.checkout-method-section {
    border-top: 1px solid #f0f0f0;
}

.checkout-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    color: var(--primary-olive);
    margin-bottom: 1rem;
}

/* ── Order items in checkout ── */
.checkout-order-items {
    padding: 0 1.5rem;
}

.checkout-order-line {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .75rem 0;
    border-bottom: 1px solid #f5f5f5;
}

.checkout-order-line:last-child {
    border-bottom: none;
}

.checkout-order-img img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    background: #f9f9f9;
}

.checkout-order-info {
    flex: 1;
    min-width: 0;
}

.checkout-order-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: .9rem;
    color: var(--text-main);
    text-decoration: none;
    display: block;
}

.checkout-order-name:hover {
    color: var(--primary-olive);
    text-decoration: none;
}

.checkout-order-availability {
    font-size: .75rem;
    color: var(--text-muted);
}

.checkout-order-availability.instock {
    color: var(--primary-olive);
}

.checkout-order-upc {
    font-size: .75rem;
    color: var(--text-muted);
}

.checkout-order-qty {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: .9rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

.checkout-order-price {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: .95rem;
    color: var(--primary-olive);
    flex-shrink: 0;
    min-width: 80px;
    text-align: right;
}

.checkout-totals {
    padding: 1rem 1.5rem;
    border-top: 2px solid var(--light-olive);
}

.checkout-totals .table {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0;
}

.checkout-totals .table th {
    font-weight: 600;
    color: var(--text-main);
    border-top: none;
    border-bottom: 1px solid #f0f0f0;
    padding: .5rem 0;
}

.checkout-totals .table td {
    text-align: right;
    color: var(--text-muted);
    border-top: none;
    border-bottom: 1px solid #f0f0f0;
    padding: .5rem 0;
}

.checkout-totals .table tr:last-child th,
.checkout-totals .table tr:last-child td {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-olive);
    border-bottom: none;
}

/* ── Address cards ── */
.checkout-address-card {
    background: var(--warm-bg);
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 1.25rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: border-color .2s, box-shadow .2s;
}

.checkout-address-card:hover {
    border-color: var(--primary-olive);
    box-shadow: var(--olive-shadow);
}

.checkout-address-card address {
    font-family: 'Montserrat', sans-serif;
    font-size: .88rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
    flex: 1;
}

.checkout-addr-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--primary-olive);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: .85rem;
    padding: .55rem 1rem;
    cursor: pointer;
    transition: all .2s;
    margin-bottom: .5rem;
}

.checkout-addr-btn:hover {
    background: #1f4f1a;
}

.checkout-addr-btn-default {
    background: linear-gradient(135deg, var(--primary-olive), #1f4f1a);
    box-shadow: 0 3px 10px rgba(43, 108, 36, .2);
}

.checkout-addr-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    font-size: .8rem;
}

.checkout-addr-actions a {
    color: var(--text-muted);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.checkout-addr-actions a:hover {
    color: var(--primary-olive);
}

.checkout-addr-actions .text-danger:hover {
    color: #c0392b;
}

/* ── Form card ── */
.checkout-form-card {
    background: var(--warm-bg);
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 1.5rem;
}

/* When the form card is directly inside a card body, remove duplicate padding
   so inputs align with the card header text. */
.checkout-card-body>.checkout-form-card {
    margin: -0.25rem -0.25rem 0;
    padding: 1.25rem;
    border: none;
    border-radius: 0;
    background: transparent;
}

/* ── Shipping methods ── */
.checkout-method-option {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--warm-bg);
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: .75rem;
    transition: border-color .2s, box-shadow .2s;
}

.checkout-method-option:hover {
    border-color: var(--primary-olive);
    box-shadow: var(--olive-shadow);
}

.checkout-method-details {
    flex: 1;
}

.checkout-method-details h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0 0 .25rem;
}

.checkout-method-details p {
    font-size: .85rem;
    color: var(--text-muted);
    margin: 0;
}

.checkout-discount-note {
    font-size: .8rem;
    color: var(--primary-olive);
    margin-top: .4rem;
}

.checkout-method-price {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-olive);
    flex-shrink: 0;
}

.checkout-method-action {
    flex-shrink: 0;
}

/* ── Action buttons ── */
.checkout-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 2px solid var(--light-olive);
}

.checkout-back-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: .9rem;
    color: var(--text-muted);
    text-decoration: none;
    padding: .55rem 1.2rem;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    transition: all .25s;
}

.checkout-back-link:hover {
    color: var(--primary-olive);
    border-color: var(--primary-olive);
    background: var(--light-olive);
    text-decoration: none;
}

.checkout-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: linear-gradient(135deg, var(--primary-olive), #1f4f1a);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: .95rem;
    padding: .7rem 2rem;
    text-decoration: none;
    cursor: pointer;
    transition: all .3s ease;
    box-shadow: 0 4px 12px rgba(43, 108, 36, .25);
}

.checkout-submit-btn:hover {
    background: linear-gradient(135deg, #1f4f1a, #163a12);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(43, 108, 36, .35);
    transform: translateY(-1px);
}

/* ── Place order (bigger CTA) ── */
.checkout-place-order {
    margin-top: 1rem;
}

.checkout-place-order-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: linear-gradient(135deg, var(--primary-olive), #1f4f1a);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1rem 3rem;
    cursor: pointer;
    transition: all .3s ease;
    box-shadow: 0 6px 18px rgba(43, 108, 36, .3);
}

.checkout-place-order-btn:hover {
    background: linear-gradient(135deg, #1f4f1a, #163a12);
    box-shadow: 0 8px 24px rgba(43, 108, 36, .4);
    transform: translateY(-2px);
}

/* ── Thank you / success ── */
.checkout-success {
    text-align: center;
    padding: 2.5rem 1rem;
    background: var(--pure-white);
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    margin-bottom: 2rem;
}

.checkout-success-icon {
    margin-bottom: 1rem;
}

.checkout-success-icon i {
    font-size: 4rem;
    color: var(--primary-olive);
}

.checkout-success h1 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-olive);
    font-size: 2rem;
    margin-bottom: .5rem;
}

.checkout-success-order {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    color: var(--text-main);
}

.checkout-success-email {
    font-family: 'Montserrat', sans-serif;
    font-size: .9rem;
    color: var(--text-muted);
}

.checkout-thankyou-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--light-olive);
}

/* ── Gateway page ── */
.checkout-gateway-options {
    margin: 1.25rem 0;
}

.checkout-gateway-option {
    padding: .75rem 0;
    font-family: 'Montserrat', sans-serif;
    font-size: .92rem;
}

.checkout-gateway-option .radio label {
    font-weight: 500;
}

.checkout-gateway-password {
    padding: .5rem 0 0 1.5rem;
}

.checkout-gateway-password .form-control {
    border-radius: 10px;
    border: 1px solid #e1e1e1;
    padding: .6rem 1rem;
    font-family: 'Montserrat', sans-serif;
    background: var(--warm-bg);
    max-width: 320px;
    margin-bottom: .3rem;
}

.checkout-gateway-password .form-control:focus {
    border-color: var(--primary-olive);
    box-shadow: 0 0 0 3px rgba(43, 108, 36, .1);
}

.checkout-gateway-password small a {
    color: var(--primary-olive);
}

.checkout-field-error {
    display: block;
    font-size: .78rem;
    color: #c0392b;
    margin-top: .25rem;
}

/* ── Override Oscar form styling on checkout ── */
.checkout-page .form-control,
.checkout-form-card .form-control {
    border: 1px solid #e1e1e1;
    border-radius: 10px;
    padding: .65rem 1rem;
    font-family: 'Montserrat', sans-serif;
    font-size: .92rem;
    background: var(--warm-bg);
    color: var(--text-main);
    transition: border-color .2s, box-shadow .2s;
}

.checkout-page .form-control:focus,
.checkout-form-card .form-control:focus {
    border-color: var(--primary-olive);
    box-shadow: 0 0 0 3px rgba(43, 108, 36, .1);
    outline: none;
}

.checkout-page label,
.checkout-form-card label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: .85rem;
    color: var(--text-main);
}

/* ── Mobile responsive ── */
@media (max-width: 767px) {
    .checkout-progress-inner {
        padding: .75rem .5rem;
        gap: 0;
    }

    .checkout-step-circle {
        width: 30px;
        height: 30px;
        font-size: .75rem;
    }

    .checkout-step-label {
        font-size: .6rem;
    }

    .checkout-step-line {
        min-width: 10px;
        margin: 0 .2rem;
    }

    .checkout-header h1 {
        font-size: 1.5rem;
    }

    .checkout-form-actions {
        flex-direction: column;
        gap: .75rem;
    }

    .checkout-submit-btn,
    .checkout-back-link {
        width: 100%;
        justify-content: center;
    }

    .checkout-method-option {
        flex-direction: column;
        text-align: center;
        gap: .75rem;
    }

    .checkout-thankyou-actions {
        flex-direction: column;
        align-items: center;
    }

    .checkout-order-line {
        flex-wrap: wrap;
    }
}

/* ========================================================
   LOGIN / REGISTRATION PAGE
   ======================================================== */

.auth-page {
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 3rem;
}

.auth-hero {
    text-align: center;
    padding: 2rem 0 2.5rem;
}

.auth-hero h1 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-olive);
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: .4rem;
}

.auth-hero p {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-muted);
    font-size: 1rem;
}

/* ── Cards ── */
.auth-card {
    background: var(--pure-white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0, 0, 0, .03);
    height: 100%;
}

.auth-card-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-card-header i {
    font-size: 1.5rem;
    color: var(--primary-olive);
    margin-bottom: .5rem;
    display: block;
}

.auth-card-header h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-olive);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

/* ── Form fields ── */
.auth-field {
    margin-bottom: 1.1rem;
}

.auth-field label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: .85rem;
    color: var(--text-main);
    margin-bottom: .3rem;
    display: block;
}

.auth-field input[type="text"],
.auth-field input[type="email"],
.auth-field input[type="password"] {
    width: 100%;
    border: 1px solid #e1e1e1;
    border-radius: 10px;
    padding: .7rem 1rem;
    font-family: 'Montserrat', sans-serif;
    font-size: .92rem;
    background: var(--warm-bg);
    color: var(--text-main);
    transition: border-color .2s, box-shadow .2s;
    outline: none;
}

.auth-field input:focus {
    border-color: var(--primary-olive);
    box-shadow: 0 0 0 3px rgba(43, 108, 36, .1);
}

.auth-error {
    display: block;
    font-size: .78rem;
    color: #c0392b;
    margin-top: .25rem;
}

.auth-help {
    display: block;
    font-size: .78rem;
    color: var(--text-muted);
    margin-top: .2rem;
}

.auth-forgot {
    text-align: right;
    margin-bottom: 1rem;
}

.auth-forgot a {
    font-size: .85rem;
    color: var(--primary-olive);
    text-decoration: none;
    transition: opacity .2s;
}

.auth-forgot a:hover {
    opacity: .75;
}

/* ── Buttons ── */
.auth-submit-btn {
    display: block;
    width: 100%;
    background-color: var(--primary-olive);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: .8rem;
    cursor: pointer;
    transition: all .3s ease, box-shadow .3s ease;
}

.auth-submit-btn:hover {
    background-color: #1f4f1a;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .2);
    transform: translateY(-1px);
}

.auth-submit-register {
    background-color: var(--accent-gold);
}

.auth-submit-register:hover {
    background-color: #b89730;
}

/* ── Divider ── */
.auth-divider {
    position: relative;
    height: 200px;
    width: 1px;
    background: #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-divider span {
    background: var(--warm-bg);
    padding: .5rem 0;
    font-family: 'Montserrat', sans-serif;
    font-size: .85rem;
    color: var(--text-muted);
    text-transform: lowercase;
}

/* ===========================
   WISHLIST / FAVOURITES PAGE
   =========================== */
.wl-page-header {
    text-align: center;
    padding: 2.5rem 0 1.5rem;
}

.wl-page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-olive);
    margin-bottom: .25rem;
}

.wl-subtitle {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-muted);
    font-size: .95rem;
}

.wl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    padding-bottom: 3rem;
}

.wl-card {
    background: var(--pure-white);
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s;
    position: relative;
}

.wl-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .1);
}

.wl-card.removing {
    opacity: 0;
    transform: scale(.9);
    transition: opacity .3s, transform .3s;
}

.wl-card-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    background: var(--warm-bg);
}

.wl-no-img {
    width: 100%;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--warm-bg);
    color: var(--text-muted);
    font-size: 2.5rem;
}

.wl-card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.wl-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--dark-text);
    margin-bottom: .4rem;
    line-height: 1.3;
}

.wl-card-title a {
    color: inherit;
    text-decoration: none;
}

.wl-card-title a:hover {
    color: var(--primary-olive);
}

.wl-card-price {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--primary-olive);
    font-size: 1.05rem;
    margin-bottom: .75rem;
}

.wl-card-unavailable {
    font-family: 'Montserrat', sans-serif;
    color: #b0413e;
    font-size: .85rem;
    margin-bottom: .75rem;
}

.wl-card-actions {
    margin-top: auto;
    display: flex;
    gap: .5rem;
}

.wl-add-cart-btn {
    flex: 1;
    background: var(--primary-olive);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: .55rem .75rem;
    font-family: 'Montserrat', sans-serif;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
}

.wl-add-cart-btn:hover {
    background: #1e4d19;
}

.wl-remove-btn {
    width: 38px;
    height: 38px;
    border: 2px solid #e0e0e0;
    background: transparent;
    border-radius: 8px;
    font-size: 1rem;
    color: #b0413e;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wl-remove-btn:hover {
    border-color: #b0413e;
    background: #fdf0f0;
}

.wl-empty {
    text-align: center;
    padding: 4rem 1rem;
}

.wl-empty i {
    font-size: 3.5rem;
    color: var(--light-olive);
    margin-bottom: 1rem;
    display: block;
}

.wl-empty p {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.wl-browse-btn {
    display: inline-block;
    background: var(--primary-olive);
    color: #fff;
    padding: .65rem 2rem;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
    transition: background .2s;
}

.wl-browse-btn:hover {
    background: #1e4d19;
    color: #fff;
}

/* Cart page wishlist heart toggle */
.cart-wishlist-btn {
    background: transparent;
    border: none;
    font-size: 1.15rem;
    color: #b0413e;
    cursor: pointer;
    padding: .25rem;
    transition: transform .2s;
}

.cart-wishlist-btn:hover {
    transform: scale(1.2);
}

.cart-wishlist-btn .fas.fa-heart {
    color: #b0413e;
}

.cart-wishlist-btn .far.fa-heart {
    color: #999;
}

/* Navbar favourites heart */
.nav-link .fa-heart {
    color: #b0413e;
    font-size: 1.1rem;
}

/* ---------------------------------------------------------------------------
   Dual-range price slider
   --------------------------------------------------------------------------- */
.dual-range-slider {
    position: relative;
    height: 30px;
}

.dual-range-slider input[type="range"] {
    position: absolute;
    width: 100%;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    z-index: 2;
}

#price_track {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    height: 4px;
    background: #dee2e6;
    border-radius: 2px;
    z-index: 1;
}

#price_track_fill {
    position: absolute;
    height: 100%;
    background: var(--primary-olive);
    border-radius: 2px;
}

.dual-range-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    pointer-events: all;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-olive);
    border: 2px solid #fff;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.dual-range-slider input[type="range"]::-moz-range-thumb {
    pointer-events: all;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-olive);
    border: 2px solid #fff;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* ---------------------------------------------------------------------------
   MobilePay payment button
   --------------------------------------------------------------------------- */
.mobilepay-box {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    max-width: 420px;
    margin: 0 auto;
}

.mobilepay-logo {
    height: 48px;
    margin-bottom: 1.25rem;
}

.mobilepay-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.mobilepay-btn {
    background: #5a78ff;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0.85rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
    width: 100%;
}

.mobilepay-btn:hover {
    background: #4060ee;
    transform: translateY(-1px);
}

/* VAT label on prices */
.price-vat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 400;
    display: block;
    margin-top: -2px;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
    background: #1a2a18;
    color: #c8d8c4;
    margin-top: 4rem;
    font-size: 0.875rem;
}

.footer-main {
    padding: 3rem 0 2rem;
}

.footer-heading {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-text {
    color: #a8bea4;
    line-height: 1.7;
    margin-bottom: 1rem;
}

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

.footer-contact li {
    color: #a8bea4;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.footer-contact li i {
    color: var(--accent-gold);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.footer-contact a {
    color: #a8bea4;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: var(--accent-gold);
}

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

.footer-links li {
    margin-bottom: 0.45rem;
}

.footer-links a {
    color: #a8bea4;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-payment-icons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.footer-payment-icons img {
    height: 28px;
    object-fit: contain;
    filter: grayscale(1) sepia(1) hue-rotate(80deg) saturate(0.5) brightness(1.2) opacity(0.85);
}

.footer-card-icon {
    font-size: 1.8rem;
    color: #c8d8c4;
    opacity: 0.85;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #c8d8c4;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.footer-social a:hover {
    background: var(--accent-gold);
    color: #fff;
}

.footer-bottom {
    background: #111e0f;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom small {
    color: #7a9476;
}

.footer-eu-note {
    color: #7a9476;
}

/* ============================================================
   Parcel shop picker (shipping methods page)
   ============================================================ */
.checkout-method-collect {
    border-bottom: none !important;
    padding-bottom: 0.5rem;
}

.parcel-picker {
    background: #f8faf7;
    border: 1px solid #dce8d8;
    border-radius: 10px;
    padding: 1.25rem 1.5rem 1.5rem;
    margin-bottom: 1.5rem;
}

.parcel-picker-label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-olive);
    margin-bottom: 0.6rem;
}

.parcel-picker-label i {
    margin-right: 0.4rem;
}

.parcel-picker-input-row {
    display: flex;
    gap: 0.5rem;
    max-width: 320px;
}

.parcel-picker-zip {
    flex: 1;
    border: 1px solid #c8d8c0;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.parcel-picker-zip:focus {
    border-color: var(--primary-olive);
}

.parcel-search-btn {
    background: var(--primary-olive);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.parcel-search-btn:hover {
    background: #1e4e18;
}

.parcel-results {
    margin-top: 1rem;
}

.parcel-results-inner {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1rem;
    max-height: 380px;
}

.parcel-list {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-y: auto;
    max-height: 380px;
    border: 1px solid #dce8d8;
    border-radius: 8px;
    background: #fff;
}

.parcel-item {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #eef4eb;
    cursor: pointer;
    transition: background 0.15s;
}

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

.parcel-item:hover,
.parcel-item.active {
    background: #eef4eb;
}

.parcel-item-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-main);
    margin-bottom: 0.2rem;
}

.parcel-item-addr {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

.parcel-item-dist {
    font-size: 0.75rem;
    color: var(--primary-olive);
    margin-bottom: 0.4rem;
}

.parcel-select-btn {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    border: 1px solid var(--primary-olive);
    border-radius: 4px;
    background: transparent;
    color: var(--primary-olive);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.parcel-select-btn:hover,
.parcel-item.active .parcel-select-btn {
    background: var(--primary-olive);
    color: #fff;
}

.parcel-map-wrap {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #dce8d8;
    min-height: 300px;
}

#parcel-map {
    height: 380px;
    width: 100%;
}

.parcel-none {
    color: var(--text-muted);
    font-size: 0.875rem;
    padding: 0.75rem 0;
}

.parcel-selected-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.6rem 0.9rem;
    background: #e8f4e8;
    border-radius: 6px;
    border: 1px solid #b8d8b8;
    font-size: 0.875rem;
    color: var(--primary-olive);
    font-weight: 500;
}

.parcel-selected-info i {
    font-size: 1rem;
    flex-shrink: 0;
}

.parcel-picker-actions {
    margin-top: 1rem;
}

.shipping-free {
    color: var(--primary-olive);
    font-weight: 600;
    font-size: 0.95rem;
}

@media (max-width: 640px) {
    .parcel-results-inner {
        grid-template-columns: 1fr;
        max-height: none;
    }

    .parcel-list {
        max-height: 220px;
    }

    #parcel-map {
        height: 250px;
    }
}

/* Parcel shop map pins are inline SVG — no CSS needed */

/* Fix Bootstrap 4 clipping Leaflet's SVG overlay layer */
.leaflet-overlay-pane svg,
.leaflet-zoom-box {
    overflow: visible !important;
}

/* ═══════════════════════════════════════════════════════════
   Cookie policy page
   ======================================================== */
.cookie-policy-page {
    max-width: 780px;
    margin: 0 auto;
    padding-bottom: 3rem;
}

.cookie-policy-hero {
    text-align: center;
    padding: 2rem 0 2.5rem;
}

.cookie-policy-hero i {
    font-size: 2.5rem;
    color: var(--accent-gold);
    display: block;
    margin-bottom: .75rem;
}

.cookie-policy-hero h1 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-olive);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: .3rem;
}

.cookie-policy-hero p {
    font-family: 'Montserrat', sans-serif;
    font-size: .88rem;
    color: var(--text-muted);
}

.cookie-policy-body {
    background: var(--pure-white);
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    padding: 2.5rem;
}

.cookie-policy-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f0efe9;
}

.cookie-policy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cookie-policy-section h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-olive);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: .9rem;
}

.cookie-policy-section p,
.cookie-policy-section li {
    font-family: 'Montserrat', sans-serif;
    font-size: .9rem;
    color: var(--text-main);
    line-height: 1.7;
}

.cookie-policy-section ul {
    padding-left: 1.25rem;
    margin-top: .5rem;
}

.cookie-policy-section li {
    margin-bottom: .4rem;
}

.cookie-policy-section a {
    color: var(--primary-olive);
    text-decoration: underline;
}

/* ── Legal / terms page (shared with any future legal pages) ── */
.legal-page {
    max-width: 780px;
    margin: 0 auto;
    padding-bottom: 3rem;
}

.legal-hero {
    text-align: center;
    padding: 2rem 0 2.5rem;
}

.legal-hero i {
    font-size: 2.5rem;
    color: var(--accent-gold);
    display: block;
    margin-bottom: .75rem;
}

.legal-hero h1 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-olive);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: .3rem;
}

.legal-hero p {
    font-family: 'Montserrat', sans-serif;
    font-size: .88rem;
    color: var(--text-muted);
}

.legal-body {
    background: var(--pure-white);
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    padding: 2.5rem;
}

.legal-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f0efe9;
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-section h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-olive);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: .9rem;
}

.legal-section p,
.legal-section li {
    font-family: 'Montserrat', sans-serif;
    font-size: .9rem;
    color: var(--text-main);
    line-height: 1.7;
}

.legal-section ul {
    padding-left: 1.25rem;
    margin-top: .5rem;
}

.legal-section li {
    margin-bottom: .4rem;
}

/* ── Allergen section on product detail page ── */
.product-allergen-section {
    border-top: 2px solid var(--light-olive);
    padding-top: 2rem;
}

.product-allergen-title {
    font-family: 'Playfair Display', serif;
    color: var(--primary-olive);
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

.product-allergen-title i {
    color: var(--primary-olive);
    margin-right: .4rem;
    font-size: 1.1rem;
}

.allergen-tag {
    display: inline-block;
    font-size: .78rem;
    font-weight: 600;
    padding: .2rem .65rem;
    border-radius: 20px;
    margin: .15rem .15rem .15rem 0;
}

.allergen-tag-present {
    background: #fde8e8;
    color: #c0392b;
    border: 1px solid #f5b7b1;
}

.allergen-tag-may {
    background: #fef9e7;
    color: #a0601a;
    border: 1px solid #f9e4b0;
}

.allergen-tag-dietary {
    background: var(--light-olive);
    color: var(--primary-olive);
    border: 1px solid #a8d5b5;
}

.allergen-note-inline {
    font-size: .8rem;
    color: var(--text-muted);
    margin-left: .4rem;
}

.allergen-product-disclaimer {
    margin-top: 1rem;
    font-size: .82rem;
    color: var(--text-muted);
    background: #f9fdf9;
    border-left: 3px solid var(--light-olive);
    padding: .65rem 1rem;
    border-radius: 0 8px 8px 0;
}

.allergen-product-disclaimer i {
    color: var(--primary-olive);
    margin-right: .3rem;
}

.allergen-product-disclaimer a {
    color: var(--primary-olive);
}

/* ── Allergen page specifics ── */
.allergen-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-size: .9rem;
}

.allergen-table th,
.allergen-table td {
    padding: .75rem 1rem;
    border: 1px solid #e8e6de;
    vertical-align: top;
}

.allergen-table th {
    width: 30%;
    background: #f5f3ed;
    color: var(--primary-olive);
    font-weight: 600;
    text-align: left;
}

.nutrition-header {
    background: var(--primary-olive) !important;
    color: #fff !important;
    text-align: left;
    text-transform: uppercase;
    font-size: .8rem;
    letter-spacing: .04em;
}

.allergen-table th.nutrition-sub {
    font-weight: 400;
    padding-left: 2rem;
}

.allergen-free-badge {
    display: inline-block;
    background: var(--primary-olive);
    color: #fff;
    font-size: .8rem;
    font-weight: 600;
    padding: .2rem .7rem;
    border-radius: 20px;
    letter-spacing: .03em;
}

.allergen-note {
    font-size: .85rem;
    color: var(--text-muted);
}

.allergen-list {
    padding-left: 1.25rem;
    margin-top: .4rem;
    margin-bottom: 0;
}

.allergen-list li {
    margin-bottom: .25rem;
    font-size: .88rem;
}

.allergen-disclaimer {
    background: #fff8f0;
    border-left: 4px solid var(--accent-gold);
    border-radius: 0 10px 10px 0;
    padding: 1.25rem 1.5rem;
    margin-top: 1.5rem;
}

.allergen-disclaimer h2 {
    font-size: 1.1rem;
    color: #a0601a;
}

.allergen-disclaimer h2 i {
    color: var(--accent-gold);
    margin-right: .4rem;
}

@media (max-width: 575.98px) {
    .allergen-table th {
        width: 40%;
        font-size: .82rem;
    }

    .allergen-table td {
        font-size: .82rem;
    }
}

.legal-section a {
    color: var(--primary-olive);
    text-decoration: underline;
}

.cookie-policy-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-size: .85rem;
}

.cookie-policy-table th {
    background: var(--light-olive);
    color: var(--primary-olive);
    font-weight: 700;
    padding: .65rem 1rem;
    text-align: left;
    border-bottom: 2px solid #cce0cc;
}

.cookie-policy-table td {
    padding: .7rem 1rem;
    border-bottom: 1px solid #f0efe9;
    color: var(--text-main);
    vertical-align: top;
    line-height: 1.6;
}

.cookie-policy-table tr:last-child td {
    border-bottom: none;
}

.cookie-policy-table code {
    background: #f0efe9;
    padding: .15rem .4rem;
    border-radius: 4px;
    font-size: .82rem;
    color: #2b6c24;
}

/* ═══════════════════════════════════════════════════════════
   Cookie banner & modal
   ======================================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #1a2a18;
    color: #f0ede4;
    padding: 1rem 1.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, .25);
}

.cookie-banner-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-banner-text {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    flex: 1 1 0;
    min-width: 0;
}

.cookie-banner-text i {
    color: var(--accent-gold);
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: .1rem;
}

.cookie-banner-text p {
    font-family: 'Montserrat', sans-serif;
    font-size: .88rem;
    line-height: 1.55;
    margin: 0;
    color: #e8e4da;
}

.cookie-banner-actions {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-shrink: 0;
}

.cookie-accept-btn {
    background: var(--accent-gold);
    color: #1a2a18;
    border: none;
    border-radius: 50px;
    padding: .55rem 1.4rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: .88rem;
    cursor: pointer;
    transition: background .2s, transform .15s;
}

.cookie-accept-btn:hover {
    background: #c9a227;
    transform: translateY(-1px);
}

.cookie-learn-btn {
    background: transparent;
    color: #d4af37;
    border: 1px solid #d4af37;
    border-radius: 50px;
    padding: .5rem 1.2rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: .85rem;
    cursor: pointer;
    transition: background .2s, color .2s;
}

.cookie-learn-btn:hover {
    background: rgba(212, 175, 55, .15);
}

/* ── Learn-more modal ── */
.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, .55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.cookie-modal-box {
    background: #fff;
    border-radius: 16px;
    max-width: 520px;
    width: 100%;
    padding: 2rem;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
}

.cookie-modal-box h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-olive);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.cookie-modal-box h3 i {
    color: var(--accent-gold);
    margin-right: .4rem;
}

.cookie-modal-box h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: .9rem;
    color: var(--primary-olive);
    margin: 1.25rem 0 .5rem;
}

.cookie-modal-box p,
.cookie-modal-box li {
    font-family: 'Montserrat', sans-serif;
    font-size: .88rem;
    color: var(--text-main);
    line-height: 1.6;
}

.cookie-modal-box ul {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.cookie-modal-box li {
    margin-bottom: .4rem;
}

.cookie-modal-box .cookie-accept-btn {
    margin-top: 1.25rem;
    display: block;
    width: 100%;
    padding: .7rem;
    font-size: .95rem;
}

.cookie-modal-close {
    position: absolute;
    top: .75rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    padding: .25rem .5rem;
    transition: color .2s;
}

.cookie-modal-close:hover {
    color: var(--text-main);
}

@media (max-width: 575px) {
    .cookie-banner-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: .75rem;
    }

    .cookie-banner-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* ================================================================
   ACCOUNT PAGES
   ================================================================ */

.acct-page {
    padding: 0 0 4rem;
}

.acct-breadcrumb {
    padding: 1.5rem 0 .5rem;
}

/* ── Hero ── */
.acct-hero {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.8rem 0 2rem;
}

.acct-hero i {
    font-size: 3rem;
    color: var(--primary-olive);
    line-height: 1;
}

.acct-hero h1 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-olive);
    font-size: 1.9rem;
    font-weight: 700;
    margin: 0 0 .15rem;
}

.acct-hero p {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-muted);
    font-size: .9rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: .05em;
}

/* ── Layout ── */
.acct-layout {
    display: flex;
    gap: 1.75rem;
    align-items: flex-start;
}

/* ── Sidebar ── */
.acct-sidebar {
    flex: 0 0 220px;
    background: var(--pure-white);
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0, 0, 0, .04);
    padding: 1.25rem 0;
    position: sticky;
    top: 100px;
}

.acct-nav {
    display: flex;
    flex-direction: column;
}

.acct-nav-link {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .75rem 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: .88rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: color .2s, background .2s, border-color .2s;
}

.acct-nav-link i {
    width: 1rem;
    text-align: center;
    font-size: .85rem;
}

.acct-nav-link:hover {
    color: var(--primary-olive);
    background: rgba(43, 108, 36, .05);
    text-decoration: none;
}

.acct-nav-link.active {
    color: var(--primary-olive);
    font-weight: 600;
    border-left-color: var(--primary-olive);
    background: rgba(43, 108, 36, .06);
}

/* ── Content area ── */
.acct-content {
    flex: 1;
    min-width: 0;
}

/* ── Card ── */
.acct-card {
    background: var(--pure-white);
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0, 0, 0, .04);
    padding: 2rem;
}

.acct-card-header {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.acct-card-header i {
    font-size: 1.3rem;
    color: var(--primary-olive);
}

.acct-card-header h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-olive);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
}

/* ── Profile sub-tabs ── */
.acct-subtabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e8e0d0;
    margin: 1.25rem 0 1.75rem;
}

.acct-subtab {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.6rem 1.1rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #888;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.acct-subtab:hover {
    color: var(--olive-dark, #4a5c2f);
    text-decoration: none;
}

.acct-subtab.active {
    color: var(--olive-dark, #4a5c2f);
    border-bottom-color: var(--gold, #c8972a);
}

.acct-subtab i {
    font-size: 0.8rem;
}

/* ── Account form field help text ── */
.acct-field-help {
    display: block;
    font-size: 0.8rem;
    color: #999;
    margin-top: 0.3rem;
}

/* ── Profile info grid ── */
.acct-info-grid {
    margin-bottom: 1.75rem;
}

.acct-info-row {
    display: flex;
    padding: .75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    font-family: 'Montserrat', sans-serif;
}

.acct-info-row:last-child {
    border-bottom: none;
}

.acct-info-label {
    flex: 0 0 170px;
    font-weight: 600;
    font-size: .85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.acct-info-value {
    flex: 1;
    font-size: .95rem;
    color: var(--text-main);
}

/* ── Buttons ── */
/* ── Account form fields (change password, edit profile) ── */
.acct-form-field {
    margin-bottom: 1.25rem;
}

.acct-form-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.acct-form-field input {
    width: 100%;
    padding: 0.65rem 0.9rem;
    border: 1.5px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.acct-form-field input:focus {
    outline: none;
    border-color: var(--olive-dark, #4a5c2f);
}

.acct-form-field.has-error input {
    border-color: #c0392b;
}

.acct-field-error {
    display: block;
    color: #c0392b;
    font-size: 0.82rem;
    margin-top: 0.35rem;
}

.acct-field-error i {
    margin-right: 0.3rem;
}

.acct-form-errors {
    background: #fdf0ef;
    border-left: 4px solid #c0392b;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.25rem;
}

.acct-form-error {
    color: #c0392b;
    font-size: 0.88rem;
    margin: 0;
}

/* ── Password rules box (account + registration) ── */
.acct-password-rules,
.auth-password-rules {
    background: var(--olive-light, #e8edd8);
    border-left: 4px solid var(--olive-dark, #4a5c2f);
    border-radius: 6px;
    padding: 0.85rem 1.1rem;
    margin-top: 0.75rem;
}

.acct-password-rules-title,
.auth-password-rules-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--olive-dark, #4a5c2f);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.acct-password-rules-title i,
.auth-password-rules-title i {
    margin-right: 0.4rem;
}

.acct-password-rules ul,
.auth-password-rules ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.acct-password-rules li,
.auth-password-rules li {
    font-size: 0.85rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.acct-password-rules li i,
.auth-password-rules li i {
    color: var(--olive-dark, #4a5c2f);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.acct-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, .06);
}

.acct-btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .6rem 1.3rem;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    background: var(--primary-olive);
    color: #fff;
    transition: background .2s, transform .1s;
}

.acct-btn:hover {
    background: #1f5219;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.acct-btn-secondary {
    background: transparent;
    color: var(--primary-olive);
    border: 1.5px solid var(--primary-olive);
}

.acct-btn-secondary:hover {
    background: rgba(43, 108, 36, .08);
    color: var(--primary-olive);
}

.acct-btn-danger {
    background: transparent;
    color: #c0392b;
    border: 1.5px solid #c0392b;
}

.acct-btn-danger:hover {
    background: rgba(192, 57, 43, .08);
    color: #c0392b;
}

.acct-btn-sm {
    padding: .4rem .9rem;
    font-size: .82rem;
}

/* ── Table ── */
.acct-table-wrapper {
    overflow-x: auto;
    margin-bottom: .5rem;
}

.acct-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Montserrat', sans-serif;
    font-size: .9rem;
}

.acct-table thead th {
    font-weight: 600;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--text-muted);
    padding: .65rem 1rem;
    border-bottom: 2px solid rgba(0, 0, 0, .07);
    white-space: nowrap;
}

.acct-table tbody td {
    padding: .85rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    color: var(--text-main);
    vertical-align: middle;
}

.acct-table tbody tr:last-child td {
    border-bottom: none;
}

.acct-table tbody tr:hover {
    background: rgba(43, 108, 36, .03);
}

.acct-table-subtotal td {
    background: rgba(0, 0, 0, .02);
    color: var(--text-muted);
    font-size: .88rem;
}

.acct-table-discount td {
    color: #27ae60;
    font-size: .88rem;
}

.acct-table-total td {
    background: rgba(43, 108, 36, .06);
    font-size: .95rem;
    border-top: 2px solid rgba(43, 108, 36, .15) !important;
}

.acct-order-num {
    font-weight: 600;
    color: var(--primary-olive);
}

.acct-table-link {
    font-size: .82rem;
    font-weight: 600;
    color: var(--primary-olive);
    text-decoration: none;
    white-space: nowrap;
}

.acct-table-link:hover {
    color: #1f5219;
    text-decoration: none;
}

/* ── Empty state ── */
.acct-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}

.acct-empty i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: .35;
    display: block;
}

.acct-empty p {
    font-family: 'Montserrat', sans-serif;
    font-size: .95rem;
    margin-bottom: 1.25rem;
}

/* ── Badges ── */
.acct-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .25rem .7rem;
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    font-weight: 600;
}

.acct-badge-status {
    background: rgba(43, 108, 36, .12);
    color: var(--primary-olive);
}

.acct-badge-shipping {
    background: rgba(43, 108, 36, .12);
    color: var(--primary-olive);
}

.acct-badge-billing {
    background: rgba(212, 175, 55, .15);
    color: #8a6d00;
}

.acct-status-row {
    margin-bottom: 1.25rem;
}

/* ── Order meta (shipping method / address) ── */
.acct-order-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, .06);
}

.acct-order-meta-block {
    flex: 1;
    min-width: 180px;
}

.acct-order-meta-block h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: .82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--text-muted);
    margin-bottom: .6rem;
    display: flex;
    align-items: center;
    gap: .45rem;
}

.acct-order-meta-block address,
.acct-order-meta-block p {
    font-family: 'Montserrat', sans-serif;
    font-size: .9rem;
    color: var(--text-main);
    font-style: normal;
    margin: 0;
    line-height: 1.7;
}

.acct-product-link {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
}

.acct-product-link:hover {
    color: var(--primary-olive);
}

.acct-review-link {
    font-size: .8rem;
    color: var(--primary-olive);
    text-decoration: none;
    font-weight: 500;
}

.acct-unavailable {
    font-size: .82rem;
    color: var(--text-muted);
}

/* ── Address book ── */
.acct-address-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-bottom: .5rem;
}

.acct-address-card {
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 12px;
    padding: 1.25rem;
    background: var(--warm-bg);
}

.acct-address-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-bottom: .75rem;
    min-height: 1rem;
}

.acct-address-text {
    font-family: 'Montserrat', sans-serif;
    font-size: .9rem;
    color: var(--text-main);
    font-style: normal;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.acct-address-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .acct-layout {
        flex-direction: column;
    }

    .acct-sidebar {
        flex: none;
        width: 100%;
        position: static;
        padding: .75rem 0;
    }

    .acct-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: .25rem;
        padding: 0 .75rem;
    }

    .acct-nav-link {
        border-left: none;
        border-bottom: 3px solid transparent;
        padding: .5rem .85rem;
        border-radius: 8px;
    }

    .acct-nav-link.active {
        border-left-color: transparent;
        border-bottom-color: var(--primary-olive);
        background: rgba(43, 108, 36, .06);
    }

    .acct-hero h1 {
        font-size: 1.5rem;
    }

    .acct-info-label {
        flex: 0 0 130px;
    }

    .acct-order-meta {
        flex-direction: column;
        gap: 1.25rem;
    }
}

/* ========================================================
   GLOBAL MOBILE IMPROVEMENTS
   ======================================================== */

/* ── Navbar mobile (below lg = 992px) ── */
@media (max-width: 991.98px) {
    .med-centered-single-row {
        padding: 8px 0;
    }

    /* Expanded menu panel */
    .med-centered-single-row .navbar-collapse {
        background: var(--pure-white);
        border-top: 1px solid var(--light-olive);
        padding: 0.75rem 0.5rem 1rem;
        margin-top: 0.5rem;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    }

    .med-centered-single-row .navbar-nav {
        gap: 4px;
        flex-wrap: wrap;
        flex-direction: row;
    }

    /* Full-width items: Products and Search */
    .nav-item-block {
        width: 100%;
        flex: 0 0 100%;
    }

    /* Utility row (flag + icons + login) stays inline */
    .nav-item-inline-row {
        width: 100%;
        flex: 0 0 100%;
    }

    .nav-utility-row {
        flex-wrap: wrap;
        gap: 2px;
        padding: 0.25rem 0.25rem;
        border-top: 1px solid var(--light-olive);
        margin-top: 4px;
        padding-top: 0.6rem;
    }

    .nav-util-btn {
        padding: 0.5rem 0.65rem !important;
        border-radius: 8px;
        color: var(--text-main) !important;
        font-size: 0.9rem;
    }

    .nav-util-btn:hover {
        background: var(--light-olive);
    }

    .med-centered-single-row .nav-link {
        padding: 0.65rem 1rem !important;
        border-radius: 8px;
    }

    .med-centered-single-row .nav-link:hover,
    .med-centered-single-row .nav-link:focus {
        background: var(--light-olive);
    }

    /* Dropdown full width */
    .med-centered-single-row .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        box-shadow: none !important;
        border: none !important;
        background: var(--warm-bg);
        border-radius: 8px;
        padding: 0.4rem 0.75rem;
        margin-top: 2px;
    }

    .med-centered-single-row .dropdown-item {
        border-radius: 6px;
        padding: 0.5rem 0.75rem;
    }

    /* Search full width */
    .med-inline-search {
        width: 100%;
    }

    /* Hamburger clean style */
    .navbar-toggler {
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
        padding: 0.4rem 0.5rem;
    }

    .navbar-toggler:focus {
        outline: none !important;
        box-shadow: none !important;
    }
}

/* ── Mobile cart button (outside collapse) ── */
.mobile-cart-btn {
    position: relative;
    background: none;
    border: none;
    padding: 0.4rem 0.6rem;
    cursor: pointer;
    color: var(--text-main);
    font-size: 1.2rem;
    line-height: 1;
    display: flex;
    align-items: center;
}

.mobile-cart-btn:focus {
    outline: none;
    box-shadow: none;
}

.mobile-cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 0.6rem;
    padding: 0.2em 0.4em;
    min-width: 16px;
    line-height: 1.2;
}

/* ── Side cart: full width on mobile ── */
@media (max-width: 575.98px) {
    .side-cart-panel {
        width: 100%;
    }
}

/* ── Hero section mobile ── */
@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }

    .hero-content {
        padding: 1.25rem 1.5rem;
        border-radius: 40px;
    }

    .hero-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 400px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-content {
        padding: 1rem 1.1rem;
        border-radius: 28px;
    }
}

/* ── Browse page bar: stack on mobile ── */
@media (max-width: 575.98px) {
    .med-browse-bar {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.6rem;
    }

    .med-sort-wrapper {
        width: 100%;
    }

    .med-sort-wrapper select {
        width: 100%;
    }
}

/* ── Mobile filter toggle button ── */
.med-filter-toggle {
    border-color: var(--primary-olive);
    color: var(--primary-olive);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 8px;
    padding: 0.6rem 1rem;
}

.med-filter-toggle:hover,
.med-filter-toggle:focus {
    background: var(--light-olive);
    border-color: var(--primary-olive);
    color: var(--primary-olive);
}

/* ── Product cards: 2 per row on phones ── */
@media (max-width: 575.98px) {
    .col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .med-product-image-wrapper {
        height: 160px;
    }

    .med-product-card {
        padding: 12px;
    }

    .med-product-title {
        font-size: 0.9rem;
    }

    .med-product-price {
        font-size: 0.85rem;
    }
}

/* ── General spacing on mobile ── */
@media (max-width: 575.98px) {
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .page_inner {
        padding-left: 0;
        padding-right: 0;
    }

    h1.med-page-header {
        font-size: 1.8rem;
    }
}

/* ── Payment method tabs ── */
.pay-method-tabs {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.pay-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border: 2px solid var(--light-olive);
    border-radius: 10px;
    background: var(--pure-white);
    color: var(--text-main);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.pay-tab:hover {
    border-color: var(--primary-olive);
    background: var(--light-olive);
}

.pay-tab.active {
    border-color: var(--primary-olive);
    background: var(--light-olive);
    color: var(--primary-olive);
}

.pay-tab-logo {
    height: 24px;
    width: auto;
}

/* ── MobilePay panel ── */
.mobilepay-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background: #f9fdf9;
    border: 1px solid var(--light-olive);
    border-radius: 12px;
}

.mobilepay-logo {
    height: 48px;
    width: auto;
    margin-bottom: 1rem;
}

.mobilepay-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    max-width: 420px;
}

.mobilepay-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background: #5a78f0;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

.mobilepay-btn:hover {
    background: #4a68e0;
    transform: translateY(-1px);
}

/* ── Stripe card panel ── */
.stripe-card-box {
    padding: 1.5rem;
    background: #f9fdf9;
    border: 1px solid var(--light-olive);
    border-radius: 12px;
}

.stripe-card-input {
    padding: 0.75rem 1rem;
    border: 1.5px solid #ced4da;
    border-radius: 8px;
    background: var(--pure-white);
    transition: border-color 0.2s;
}

.stripe-card-input.StripeElement--focus {
    border-color: var(--primary-olive);
    outline: none;
}

.stripe-card-input.StripeElement--invalid {
    border-color: #c0392b;
}

.stripe-card-errors {
    color: #c0392b;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    min-height: 1.2em;
}

.stripe-pay-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: var(--primary-olive);
    color: var(--pure-white);
    border: none;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

.stripe-pay-btn:hover:not(:disabled) {
    background: #245a1e;
    transform: translateY(-1px);
}

.stripe-pay-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.stripe-secure-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 0;
}

/* ── Checkout form actions (back link row) ── */
.checkout-form-actions {
    display: flex;
    align-items: center;
}

.checkout-back-link {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s;
}

.checkout-back-link:hover {
    color: var(--primary-olive);
    text-decoration: none;
}
}

/* ── Contact page ── */
.contact-page {
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 3rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: start;
}

.contact-info-card {
    background: var(--pure-white);
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    padding: 2rem;
}

.contact-info-card h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-olive);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.4rem;
}

.contact-info-item i {
    color: var(--primary-olive);
    font-size: 1.1rem;
    margin-top: .2rem;
    width: 1.2rem;
    flex-shrink: 0;
}

.contact-info-item div {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}

.contact-info-label {
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted);
}

.contact-info-item a,
.contact-info-item span {
    font-size: .9rem;
    color: var(--text-main);
    line-height: 1.5;
}

.contact-info-item a {
    color: var(--primary-olive);
    text-decoration: none;
}

.contact-info-item a:hover {
    text-decoration: underline;
}

.contact-form-card {
    background: var(--pure-white);
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    padding: 2rem;
}

.contact-form-card h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-olive);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.contact-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-field {
    margin-bottom: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.contact-field label {
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-main);
}

.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    padding: .75rem 2rem;
    background: var(--primary-olive);
    color: var(--pure-white);
    border: none;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    margin-top: .5rem;
}

.contact-submit-btn:hover {
    background: #245a1e;
    transform: translateY(-1px);
}

@media (max-width: 767.98px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-field-row {
        grid-template-columns: 1fr;
    }
}

/* ── Who We Are page ── */
.about-page {
    max-width: 860px;
    margin: 0 auto;
    padding-bottom: 4rem;
}

.about-hero {
    text-align: center;
    padding: 2rem 0 2.5rem;
}

.about-hero h1 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-olive);
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: .4rem;
}

.about-hero p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: var(--text-muted);
    font-style: italic;
}

.about-body {
    background: var(--pure-white);
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.about-image-wrap {
    width: 100%;
    max-height: 420px;
    overflow: hidden;
}

.about-image {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.about-text {
    padding: 2.5rem;
}

.about-text p {
    font-family: 'Montserrat', sans-serif;
    font-size: .95rem;
    color: var(--text-main);
    line-height: 1.85;
    margin-bottom: 1.4rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-text strong {
    color: var(--primary-olive);
    font-weight: 600;
}

@media (max-width: 575.98px) {
    .about-hero h1 {
        font-size: 1.8rem;
    }

    .about-image {
        height: 240px;
    }

    .about-text {
        padding: 1.5rem;
    }
}

/* ── Why Mediterranean page ── */
.why-med-page {
    background: var(--warm-bg);
    min-height: 60vh;
}

.why-med-page .about-hero {
    text-align: center;
    padding: 4rem 1.5rem 3rem;
    background: linear-gradient(135deg, #f0f7f0 0%, var(--warm-bg) 100%);
    border-bottom: 1px solid #e8f0e8;
}

.why-med-page .about-hero h1 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

.why-med-page .about-hero p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto;
}

.why-med-body {
    max-width: 860px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
}

.why-med-section {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #e8f0e8;
}

.why-med-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.why-med-section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.why-med-section-header h2 {
    margin: 0;
    font-size: 1.6rem;
}

.why-med-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--light-olive);
    color: var(--primary-olive);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.why-med-icon-olive {
    background: #fef3cd;
    color: #a07800;
}

.why-med-intro p {
    font-size: 1rem;
    color: var(--text-main);
    line-height: 1.85;
    margin-bottom: 1rem;
}

.why-med-claims {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.why-med-claim {
    background: var(--pure-white);
    border: 1px solid #e8f0e8;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    box-shadow: var(--card-shadow);
}

.why-med-claim h3 {
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--primary-olive);
    margin-bottom: .6rem;
}

.why-med-claim p {
    font-size: .88rem;
    color: var(--text-main);
    line-height: 1.75;
    margin: 0;
}

.why-med-ref {
    color: var(--accent-gold);
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
    vertical-align: super;
}

.why-med-ref:hover {
    text-decoration: underline;
    color: var(--primary-olive);
}

.why-med-references {
    background: var(--pure-white);
    border: 1px solid #e8f0e8;
    border-radius: 10px;
    padding: 1.5rem 2rem;
}

.why-med-references h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.why-med-ref-list {
    padding-left: 1.25rem;
    margin-bottom: 1.25rem;
}

.why-med-ref-list li {
    font-size: .85rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: .75rem;
}

.why-med-ref-list li a {
    color: var(--primary-olive);
    word-break: break-all;
}

.why-med-disclaimer {
    font-size: .8rem;
    color: var(--text-muted);
    font-style: italic;
    border-top: 1px solid #e8f0e8;
    padding-top: 1rem;
    margin: 0;
}

@media (max-width: 767.98px) {
    .why-med-claims {
        grid-template-columns: 1fr;
    }

    .why-med-page .about-hero h1 {
        font-size: 1.8rem;
    }

    .why-med-body {
        padding: 2rem 1rem 3rem;
    }
}

/* ── Homepage sections ── */

.home-section {
    padding: 5rem 1.5rem;
}

.home-section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.home-section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--olive-dark, #4a5c2f);
    margin-bottom: 0.5rem;
}

.home-section-subtitle {
    text-align: center;
    color: #777;
    font-size: 1rem;
    margin-bottom: 3rem;
}

.home-section-cta {
    text-align: center;
    margin-top: 2.5rem;
}

.home-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--olive-dark, #4a5c2f);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-bottom: 2px solid var(--gold, #c8972a);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}

.home-cta-link:hover {
    color: var(--gold, #c8972a);
    text-decoration: none;
}

/* Featured products */
.home-featured {
    background: var(--warm-bg, #faf8f3);
}

.home-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

/* Trust bar */
.home-trust {
    background: var(--olive-dark, #4a5c2f);
    padding: 2rem 1.5rem;
}

.home-trust-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.home-trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.home-trust-item i {
    font-size: 1.2rem;
    color: var(--gold, #c8972a);
}

/* Why Mediterranean teaser */
.home-why {
    background: #fff;
}

.home-why-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.home-why-icon {
    width: 48px;
    height: 48px;
    background: var(--olive-light, #e8edd8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.home-why-icon i {
    color: var(--olive-dark, #4a5c2f);
    font-size: 1.2rem;
}

.home-why-text h2 {
    font-size: 1.8rem;
    color: var(--olive-dark, #4a5c2f);
    margin-bottom: 1rem;
}

.home-why-text p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.home-why-facts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.home-why-fact {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: var(--warm-bg, #faf8f3);
    padding: 0.9rem 1.2rem;
    border-radius: 8px;
    font-size: 0.93rem;
    color: #444;
}

.home-why-fact i {
    color: var(--olive-dark, #4a5c2f);
    margin-top: 0.1rem;
    flex-shrink: 0;
}

/* Producers teaser slideshow */
.home-producers-teaser {
    position: relative;
    height: 520px;
    overflow: hidden;
}

.producers-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
    display: flex;
    align-items: center;
}

.producers-slide.active {
    opacity: 1;
}

.producers-slide-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.52);
}

.producers-slide-content {
    position: relative;
    z-index: 1;
    padding: 0 3rem;
    max-width: 700px;
    margin-left: 5%;
}

.home-producers-label {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold, #c8972a);
    margin-bottom: 0.5rem;
}

.producers-slide-content h2 {
    font-size: 2.4rem;
    color: #fff;
    margin-bottom: 1rem;
}

.producers-slide-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    max-width: 500px;
}

.producers-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
    z-index: 2;
}

.producers-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, border-color 0.3s;
}

.producers-dot.active {
    background: var(--gold, #c8972a);
    border-color: var(--gold, #c8972a);
}

@media (max-width: 768px) {
    .home-why-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .home-section-title {
        font-size: 1.6rem;
    }

    .producers-slide-content h2 {
        font-size: 1.8rem;
    }

    .producers-slide-content {
        padding: 0 1.5rem;
        margin-left: 0;
    }

    .home-producers-teaser {
        height: 480px;
    }

    .home-trust-inner {
        justify-content: center;
        gap: 1.2rem 2rem;
    }
}

/* ── Free shipping progress bar ── */
.fsb {
    margin: 0.75rem 0;
    padding: 0.75rem 1rem;
    background: var(--olive-light, #e8edd8);
    border-radius: 8px;
}

.fsb-track {
    height: 6px;
    background: rgba(0, 0, 0, 0.12);
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.fsb-fill {
    height: 100%;
    background: var(--olive-dark, #4a5c2f);
    border-radius: 99px;
    transition: width 0.4s ease;
    width: 0%;
}

.fsb-label {
    font-size: 0.8rem;
    color: #555;
    margin: 0;
    text-align: center;
}

.fsb-amount {
    font-weight: 700;
    color: var(--olive-dark, #4a5c2f);
}

.fsb-reached-msg {
    font-weight: 700;
    color: var(--olive-dark, #4a5c2f);
}

.fsb-reached-msg i {
    margin-right: 0.3rem;
    color: #3a8a4a;
}

/* FAQ page ── */
.faq-page {
    background: var(--warm-bg, #faf8f3);
}

.faq-body {
    max-width: 820px;
    margin: 0 auto;
    padding: 3rem 1.5rem 5rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.faq-category {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-category-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--olive-dark, #4a5c2f);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.faq-category-title i {
    color: var(--gold, #c8972a);
    font-size: 1rem;
}

.faq-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.1rem 1.4rem;
    text-align: left;
    font-size: 0.97rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: background 0.2s, color 0.2s;
}

.faq-question:hover {
    background: var(--olive-light, #e8edd8);
    color: var(--olive-dark, #4a5c2f);
}

.faq-item.open .faq-question {
    background: var(--olive-light, #e8edd8);
    color: var(--olive-dark, #4a5c2f);
}

.faq-icon {
    font-size: 0.75rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--gold, #c8972a);
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 1.4rem;
}

.faq-item.open .faq-answer {
    max-height: 600px;
    padding: 1rem 1.4rem 1.4rem;
}

.faq-answer p,
.faq-answer ul {
    font-size: 0.93rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.faq-answer ul {
    padding-left: 1.2rem;
}

.faq-answer li {
    margin-bottom: 0.35rem;
}

.faq-answer a {
    color: var(--olive-dark, #4a5c2f);
    font-weight: 600;
    text-decoration: underline;
}

.faq-contact-cta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--olive-dark, #4a5c2f);
    color: #fff;
    border-radius: 10px;
    padding: 2rem 2.5rem;
    margin-top: 1rem;
}

.faq-contact-cta i {
    font-size: 2rem;
    color: var(--gold, #c8972a);
    flex-shrink: 0;
}

.faq-contact-cta p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
    font-size: 1rem;
}

@media (max-width: 600px) {
    .faq-contact-cta {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
}

/* ── Our Producers page ── */
.producers-page {
    background: var(--warm-bg);
}

.producers-body {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1.5rem 5rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.producer-card {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 3rem;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
    padding: 2.5rem;
    align-items: center;
}

.producer-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.producer-img {
    width: 100%;
    height: 220px;
    border-radius: 8px;
    object-fit: cover;
}

.producer-header {
    margin-bottom: 0.75rem;
}

.producer-header h2 {
    font-size: 1.8rem;
    color: var(--olive-dark, #4a5c2f);
    margin-bottom: 0.3rem;
}

.producer-location {
    font-size: 0.9rem;
    color: #888;
}

.producer-location i {
    margin-right: 0.4rem;
    color: var(--gold, #c8972a);
}

.producer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.producer-tag {
    background: var(--olive-light, #e8edd8);
    color: var(--olive-dark, #4a5c2f);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
}

.producer-info p {
    color: #444;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 0.97rem;
}

.producer-highlight {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: var(--olive-light, #e8edd8);
    border-left: 4px solid var(--gold, #c8972a);
    border-radius: 6px;
    padding: 1rem 1.2rem;
    margin-top: 1.5rem;
    color: #4a5c2f;
    font-size: 0.93rem;
    line-height: 1.6;
}

.producer-highlight i {
    margin-top: 0.15rem;
    font-size: 1rem;
    color: var(--gold, #c8972a);
    flex-shrink: 0;
}

.producer-product {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e8e0d0;
    flex-wrap: wrap;
}

.producer-product-label {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
}

.producer-product-label i {
    margin-right: 0.35rem;
    color: var(--gold, #c8972a);
}

.producer-product-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--olive-dark, #4a5c2f);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.5rem 1.1rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s;
}

.producer-product-link:hover {
    background: var(--gold, #c8972a);
    color: #fff;
    text-decoration: none;
}

.producer-product-link i {
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .producer-card {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .producer-img {
        height: 180px;
    }

    .producer-header h2 {
        font-size: 1.5rem;
    }

    .producers-body {
        padding: 2rem 1rem 3rem;
    }
}

/* ── Error pages (404, 403, 400) ── */
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--warm-bg);
    padding: 3rem 1.5rem;
}

.error-page-inner {
    text-align: center;
    max-width: 520px;
}

.error-code {
    font-size: 7rem;
    font-weight: 800;
    line-height: 1;
    color: var(--primary-olive);
    opacity: .12;
    letter-spacing: -4px;
}

.error-icon {
    font-size: 3rem;
    color: var(--primary-olive);
    margin: -1rem 0 1.25rem;
}

.error-page-inner h1 {
    font-size: 1.75rem;
    margin-bottom: .75rem;
}

.error-page-inner p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.error-btn-primary {
    background: var(--primary-olive);
    color: var(--pure-white);
    border: 2px solid var(--primary-olive);
    padding: .65rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    transition: opacity .15s;
}

.error-btn-primary:hover {
    opacity: .85;
    color: var(--pure-white);
}

.error-btn-secondary {
    background: var(--pure-white);
    color: var(--primary-olive);
    border: 2px solid var(--primary-olive);
    padding: .65rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    transition: opacity .15s;
}

.error-btn-secondary:hover {
    opacity: .85;
}