/*
Theme Name: Suncoast Kitchen
Theme URI: https://suncoastkitchen.ca
Author: Suncoast Kitchen
Author URI: https://suncoastkitchen.ca
Description: Custom theme for Suncoast Kitchen artisan bakery and chocolatier.
Version: 6.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: suncoast-kitchen
Tags: food, bakery, one-page, custom
*/

/* ============================================================
   CSS CUSTOM PROPERTIES -- v2.0 Coastal Palette
   ============================================================ */
:root {
    --navy:       #083A4F;
    --navy-deep:  #052736;
    --gold:       #A58D66;
    --gold-light: #C9B08A;
    --aqua:       #C0D5D6;
    --aqua-pale:  #E8F2F3;
    --teal:       #407E8C;
    --teal-dark:  #2F5E6A;
    --teal-light: #6AAAB5;
    --gold-dark:  #8A7050;
    --sand:       #E5E1DD;
    --sand-deep:  #D4CFC9;
    --white:      #FFFFFF;
    --off-white:  #F8F6F3;
    --bg:         var(--off-white);
    --text:       var(--navy);
    --sh:         rgba(8, 58, 79, 0.08);
    --sh-strong:  rgba(8, 58, 79, 0.18);
    --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    --cart-w:     420px;
    --section-pad: 56px;
    --header-h:   64px;
    --section-gap: 8px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
    font-family: 'Jost', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; }

/* ============================================================
   TYPOGRAPHY HELPERS
   ============================================================ */
.kicker {
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--teal);
    display: block;
    margin-bottom: 8px;
}
.kicker-light  { color: var(--aqua); }
.kicker-gold   { color: var(--gold); }
.serif { font-family: 'Cormorant Garamond', serif; font-weight: 500; line-height: 1.1; }
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; font-weight: 500; line-height: 1.1; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-pad) 0; }

/* ============================================================
   LARGE SCREEN — constrain layout above 1400px
   ============================================================ */
@media (min-width: 1400px) {
    .container { max-width: 1280px; }
    .hero { min-height: auto; }
    .hero-left { padding: 28px 56px; }
    .hiw-step { padding: 16px 22px; }
    .popular-grid { gap: 26px; }
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--navy);
    color: var(--white);
    border: 2px solid var(--navy);
    padding: 13px 28px;
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    white-space: nowrap;
    vertical-align: middle;
}
.btn:hover { background: var(--teal); border-color: var(--teal); color: var(--white); transform: translateY(-1px); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--navy); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-teal { background: var(--teal); border-color: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.btn-disabled { background: var(--sand); color: #aaa; border-color: var(--sand); cursor: not-allowed; pointer-events: none; }
.btn-sm { padding: 9px 18px; font-size: 11px; }
.btn-lg { padding: 16px 36px; font-size: 13px; }
.btn-full { width: 100%; text-align: center; }
.btn-navy { background: var(--navy); border-color: var(--navy); color: var(--white); display: inline-block; padding: 14px 36px; font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; }
.btn-navy:hover { background: var(--teal); border-color: var(--teal); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: rgba(8, 58, 79, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(192, 213, 214, 0.12);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px; font-weight: 600;
    color: var(--white); letter-spacing: 0.04em;
}
.logo span { color: var(--gold); }
.main-nav ul { display: flex; gap: 32px; list-style: none; }
.main-nav ul li a {
    color: rgba(255,255,255,0.7);
    font-size: 11px; font-family: 'DM Mono', monospace;
    letter-spacing: 0.14em; text-transform: uppercase;
    transition: color 0.2s;
}
.main-nav ul li a:hover { color: var(--gold); }
.main-nav-fallback { display: flex; gap: 32px; }
.main-nav-fallback a {
    color: rgba(255,255,255,0.7); font-size: 11px;
    font-family: 'DM Mono', monospace; letter-spacing: 0.14em;
    text-transform: uppercase; transition: color 0.2s;
}
.main-nav-fallback a:hover { color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.cart-trigger {
    background: none; border: none; cursor: pointer;
    position: relative; display: flex; align-items: center;
    color: var(--white); transition: color 0.2s;
    padding: 8px; min-width: 44px; min-height: 44px; justify-content: center;
}
.cart-trigger:hover { color: var(--gold); }
.cart-badge {
    position: absolute; top: -5px; right: -7px;
    background: var(--gold); color: var(--navy);
    font-size: 10px; width: 20px; height: 20px;
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; font-weight: 700;
    font-family: 'DM Mono', monospace;
}
.account-btn {
    background: none; border: 1px solid rgba(192,213,214,0.25);
    color: rgba(255,255,255,0.7); padding: 9px 16px;
    font-family: 'DM Mono', monospace; font-size: 11px;
    letter-spacing: 0.1em; text-transform: uppercase;
    cursor: pointer; transition: var(--transition);
    display: flex; align-items: center; gap: 7px;
    min-height: 44px;
}
.account-btn:hover { border-color: var(--gold); color: var(--gold); }

/* Mobile */
.nav-toggle {
    display: none; flex-direction: column;
    justify-content: center; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px; width: 36px; height: 36px;
}
.nav-toggle span { display: block; height: 2px; background: var(--white); transition: var(--transition); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav {
    display: flex; flex-direction: column;
    background: var(--navy-deep); position: absolute;
    top: var(--header-h); left: 0; width: 100%; z-index: 999;
    border-top: 1px solid rgba(192,213,214,0.1);
    max-height: 0; overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-nav.open { max-height: 400px; }
.mobile-nav a, .mobile-nav ul li a {
    padding: 16px 28px; font-size: 12px;
    font-family: 'DM Mono', monospace; letter-spacing: 0.12em;
    text-transform: uppercase; color: rgba(255,255,255,0.75);
    border-bottom: 1px solid rgba(192,213,214,0.07); transition: all 0.2s;
    display: block; text-decoration: none;
}
.mobile-nav a:hover, .mobile-nav ul li a:hover { color: var(--gold); background: rgba(165,141,102,0.08); }
/* Reset wp_nav_menu ul/li styling inside mobile drawer */
.mobile-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.mobile-nav ul li { margin: 0; padding: 0; }

/* ============================================================
   WORDPRESS ADMIN BAR
   ============================================================ */
.admin-bar .site-header { top: 32px; z-index: 99998; } /* just under WP admin bar (99999) */
.admin-bar .mobile-nav  { top: calc(var(--header-h) + 32px); }
@media screen and (max-width: 782px) {
    .admin-bar .site-header { top: 46px; }
    .admin-bar .mobile-nav  { top: calc(var(--header-h) + 46px); }
}

/* ============================================================
   NOTICE TICKER
   ============================================================ */

/* ── Ticker is now BEFORE <main> in the DOM ─────────────────────────────────
 * It offsets itself below the fixed header via margin-top. #main-content no
 * longer needs padding-top (the ticker provides the visual gap). When the
 * ticker is hidden the PHP inlines padding-top:var(--header-h) on <main>.   */
#main-content {
    padding-top: 0;
}
.notice-ticker {
    margin-top: var(--header-h);          /* sit flush below the fixed header  */
    background: var(--teal); color: var(--white);
    padding: 11px 0; font-size: 12px;
    font-family: 'DM Mono', monospace; text-transform: uppercase;
    text-align: center;
    font-weight: 500; letter-spacing: 0.16em;
}
/* Admin bar shifts everything down — compensate */
.admin-bar .notice-ticker { margin-top: calc(var(--header-h) + 32px); }
@media screen and (max-width: 782px) {
    .admin-bar .notice-ticker { margin-top: calc(var(--header-h) + 46px); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: auto; display: grid;
    grid-template-columns: 1fr 1fr;
    max-height: 46vh;
    position: relative; background: var(--navy); overflow: hidden;
}
.hero-left {
    display: flex; flex-direction: column;
    justify-content: center; padding: 28px 48px;
    position: relative; z-index: 2;
}
.hero-right { position: relative; overflow: hidden; min-height: 280px; }
.hero-img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(105deg, var(--navy) 0%, rgba(8,58,79,0.3) 55%, transparent 100%);
    z-index: 1;
}
.hero-eyebrow {
    font-family: 'DM Mono', monospace; font-size: 12px;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 10px;
    display: flex; align-items: center; gap: 14px;
}
.hero-eyebrow::before { content: ''; display: block; width: 44px; height: 1px; background: var(--gold); }
.hero-headline {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(44px, 5.5vw, 66px);
    font-weight: 400; line-height: 0.92;
    color: var(--white); margin-bottom: 14px; letter-spacing: -0.01em;
}
.hero-headline em { font-style: italic; color: var(--gold); }
.hero-sub {
    font-size: 16px; color: rgba(255,255,255,0.65);
    max-width: 400px; line-height: 1.75; margin-bottom: 20px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stat {
    position: absolute; bottom: 28px; right: 28px; z-index: 3;
    border: 1px solid rgba(165,141,102,0.4);
    padding: 14px 18px; text-align: center;
    background: rgba(8,58,79,0.6); backdrop-filter: blur(6px);
}
.hero-stat-num {
    font-family: 'Cormorant Garamond', serif; font-size: 44px;
    color: var(--gold); line-height: 1; display: block;
}
.hero-stat-label {
    font-family: 'DM Mono', monospace; font-size: 10px;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: rgba(255,255,255,0.55); display: block; margin-top: 4px;
}
/* Mobile-only trust badge (desktop version is in hero-right which hides on mobile) */
.hero-stat-mobile {
    display: none;
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-top: 18px;
}
.hero-stat-mobile-sep {
    margin: 0 8px;
    opacity: 0.4;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.hiw-section {
    background: var(--navy); padding: 28px 0;
    position: relative; overflow: hidden;
}
.hiw-section::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 80% 50%, rgba(64,126,140,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.hiw-header { text-align: center; margin-bottom: 18px; }
.hiw-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(24px, 3vw, 34px);
    color: var(--white); font-weight: 400; line-height: 1;
}
.hiw-header h2 em { font-style: italic; color: var(--gold); }
.hiw-header p {
    color: rgba(255,255,255,0.45); font-size: 13px; margin-top: 6px;
    font-family: 'DM Mono', monospace; letter-spacing: 0.1em; text-transform: uppercase;
}
.hiw-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    border: 1px solid rgba(192,213,214,0.1);
}
.hiw-step {
    padding: 14px 18px; border-right: 1px solid rgba(192,213,214,0.1);
    transition: background 0.3s; cursor: default;
}
.hiw-step:last-child { border-right: none; }
.hiw-step:hover { background: rgba(192,213,214,0.04); }
.hiw-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px; font-weight: 400; line-height: 1;
    color: rgba(165,141,102,0.25); margin-bottom: 6px;
    display: block; transition: color 0.3s;
}
.hiw-step:hover .hiw-num { color: rgba(165,141,102,0.5); }
.hiw-step-title {
    font-family: 'DM Mono', monospace; font-size: 12px;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 4px; display: block;
}
.hiw-step p { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.5; }
.hiw-step p strong { color: rgba(255,255,255,0.9); font-weight: 600; }

/* ============================================================
   SECTION HEADER (shared)
   ============================================================ */
.section-header { margin-bottom: 28px; }
.section-header-row {
    display: flex; align-items: flex-end;
    justify-content: space-between; gap: 20px;
}
.section-header h2 {
    font-size: clamp(26px, 3.5vw, 42px);
    line-height: 1.05; color: var(--navy);
}
.section-header h2 em { font-style: italic; color: var(--teal); }
.section-header-desc {
    font-size: 15px; color: rgba(8,58,79,0.52); max-width: 420px;
    line-height: 1.65; margin-top: 8px;
}

/* ============================================================
   POPULAR ITEMS
   ============================================================ */
.popular-section { background: var(--sand); padding: 20px 0 26px; }
.popular-section .section-header { margin-bottom: 14px; }
.popular-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.popular-card {
    background: var(--white); overflow: hidden;
    cursor: pointer; transition: var(--transition);
    box-shadow: 0 2px 12px rgba(8,58,79,0.06);
    display: flex; flex-direction: column;
}
.popular-card:hover { transform: translateY(-6px); box-shadow: 0 18px 48px rgba(8,58,79,0.14); }
.popular-card-img { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.popular-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.popular-card:hover .popular-card-img img { transform: scale(1.07); }
.popular-badge {
    position: absolute; top: 14px; left: 14px;
    background: var(--gold); color: var(--white);
    font-family: 'DM Mono', monospace; font-size: 9px;
    letter-spacing: 0.18em; text-transform: uppercase; padding: 5px 10px; font-weight: 600;
}
.popular-card-body { padding: 18px 20px; flex-grow: 1; display: flex; flex-direction: column; }
.popular-card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px; font-weight: 500; color: var(--navy); margin-bottom: 6px;
}
.popular-card-desc {
    font-size: 14px; color: rgba(8,58,79,0.55); line-height: 1.65; margin-bottom: 10px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.popular-card-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--sand); padding-top: 10px; margin-top: auto; }
.popular-price {
    font-family: 'Jost', sans-serif; font-size: 22px;
    color: var(--teal); font-weight: 500; line-height: 1; letter-spacing: 0.01em;
}

/* ============================================================
   SEASONAL
   ============================================================ */
.seasonal-section {
    background: var(--navy); padding: 20px 0 26px;
    position: relative; overflow: hidden;
}
.seasonal-section::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(64,126,140,0.22) 0%, transparent 60%);
    pointer-events: none;
}
.seasonal-section .section-header h2 { color: var(--white); }
.seasonal-section .section-header h2 em { color: var(--gold); }
.seasonal-section .section-header { margin-bottom: 14px; }
.seasonal-section .section-header-desc { color: rgba(255,255,255,0.6); margin-bottom: 0; }
.seasonal-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.seasonal-card {
    background: rgba(255,255,255,0.07); overflow: hidden;
    cursor: pointer; transition: var(--transition); position: relative;
    display: flex; flex-direction: column;
    border: 1px solid rgba(192,213,214,0.1);
}
.seasonal-card::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 3px; background: var(--gold); transform: scaleX(0);
    transition: transform 0.3s ease; transform-origin: left;
}
.seasonal-card:hover { background: rgba(255,255,255,0.13); transform: translateY(-4px); }
.seasonal-card:hover::after { transform: scaleX(1); }
.seasonal-card-img-wrap { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.seasonal-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.seasonal-card:hover .seasonal-card-img-wrap img { transform: scale(1.06); }
.seasonal-card-body { padding: 18px 20px; flex-grow: 1; display: flex; flex-direction: column; }
.seasonal-label {
    font-family: 'DM Mono', monospace; font-size: 11px;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--aqua); margin-bottom: 4px; display: block;
}
.seasonal-title { font-family: 'Cormorant Garamond', serif; font-size: 22px; color: var(--white); margin-bottom: 6px; }
.seasonal-desc {
    font-size: 14px; color: rgba(255,255,255,0.58); line-height: 1.55; margin-bottom: 8px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.seasonal-card-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 10px; margin-top: auto; }
.seasonal-price { font-family: 'Jost', sans-serif; font-size: 22px; color: var(--gold); font-weight: 500; line-height: 1; letter-spacing: 0.01em; }

/* ============================================================
   FULL MENU
   ============================================================ */
.menu-section { background: var(--white); padding: var(--section-pad) 0; }
.menu-nav {
    display: flex; gap: 0; margin-bottom: 24px;
    border-bottom: 2px solid var(--sand);
}
.menu-filter {
    background: transparent; border: none; padding: 12px 22px;
    font-family: 'DM Mono', monospace; font-size: 11px;
    letter-spacing: 0.14em; text-transform: uppercase;
    cursor: pointer; color: rgba(8,58,79,0.42); transition: var(--transition);
    white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -2px;
    min-height: 44px;
}
.menu-filter.active { color: var(--navy); border-bottom-color: var(--gold); font-weight: 700; }
.menu-filter:hover:not(.active) { color: var(--teal); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.product-card {
    background: var(--off-white); border: 1px solid transparent;
    display: flex; flex-direction: column; cursor: pointer; transition: var(--transition); overflow: hidden;
}
.product-card:hover { border-color: var(--aqua); transform: translateY(-3px); box-shadow: 0 8px 28px var(--sh); }
.product-image { aspect-ratio: 4/3; overflow: hidden; background: var(--sand); position: relative; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-image img { transform: scale(1.06); }
.product-hover-overlay {
    position: absolute; inset: 0; background: rgba(8,58,79,0.5);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s;
    font-family: 'DM Mono', monospace; font-size: 11px;
    letter-spacing: 0.15em; text-transform: uppercase; color: var(--white);
}
.product-card:hover .product-hover-overlay { opacity: 1; }
.product-info { padding: 18px 20px; flex-grow: 1; display: flex; flex-direction: column; }
.product-title { font-family: 'Cormorant Garamond', serif; font-size: 22px; margin-bottom: 6px; color: var(--navy); }
.product-price { font-family: 'Jost', sans-serif; font-size: 20px; font-weight: 500; color: var(--teal); letter-spacing: 0.01em; }
.product-desc {
    font-size: 14px; color: rgba(8,58,79,0.52); margin-bottom: 10px; flex-grow: 1;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.55;
}
.product-footer {
    display: flex; justify-content: space-between; align-items: center;
    border-top: 1px solid var(--sand); padding-top: 10px; margin-top: auto;
}
.product-footer.soon-footer { justify-content: center; }
.product-variant-row { margin-bottom: 10px; }
.product-variant-select {
    width: 100%; padding: 7px 10px; background: var(--off-white);
    border: 1px solid var(--sand-deep); border-bottom: 2px solid var(--sand-deep);
    border-radius: 0; color: var(--navy); font-family: 'Jost', sans-serif;
    font-size: 13px; appearance: auto; cursor: pointer;
}
.product-variant-select:focus { border-bottom-color: var(--teal); background: var(--white); outline: none; }
.product-variant-select option { background: var(--off-white); color: var(--navy); }

/* ============================================================
   SKELETON LOADING PLACEHOLDERS
   Shown while JS renders product cards. Removed on DOMContentLoaded.
   ============================================================ */
@keyframes sk-shimmer {
    0%   { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}
.sk-skeleton {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 22px;
}
.sk-skeleton-card {
    background: var(--off-white);
    overflow: hidden;
}
.sk-skeleton-img {
    aspect-ratio: 4/3;
    background: linear-gradient(90deg, var(--sand) 25%, var(--sand-deep) 50%, var(--sand) 75%);
    background-size: 800px 100%;
    animation: sk-shimmer 1.5s ease-in-out infinite;
}
.sk-skeleton-body { padding: 18px 20px; }
.sk-skeleton-line {
    height: 14px;
    border-radius: 2px;
    margin-bottom: 10px;
    background: linear-gradient(90deg, var(--sand) 25%, var(--sand-deep) 50%, var(--sand) 75%);
    background-size: 800px 100%;
    animation: sk-shimmer 1.5s ease-in-out infinite;
}
.sk-skeleton-line:nth-child(1) { width: 65%; height: 18px; }
.sk-skeleton-line:nth-child(2) { width: 90%; }
.sk-skeleton-line:nth-child(3) { width: 40%; }

/* Popular skeleton */
.sk-skeleton-popular {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 22px;
}
@media (max-width: 900px) {
    .sk-skeleton-popular { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .sk-skeleton-popular { grid-template-columns: 1fr 1fr; }
    .sk-skeleton { grid-template-columns: 1fr 1fr; }
    .sk-skeleton-img { aspect-ratio: 4/3; }
}
@media (max-width: 374px) {
    .sk-skeleton { grid-template-columns: 1fr; }
    .sk-skeleton-img { aspect-ratio: 16/10; }
}

/* ============================================================
   IN-CART CARD STATE
   Visual indicator when a product is already in the basket.
   ============================================================ */
@keyframes sk-cart-pulse {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.04); box-shadow: 0 0 0 3px var(--teal); }
    100% { transform: scale(1); box-shadow: 0 0 0 1px var(--teal); }
}
.sk-just-added {
    animation: sk-cart-pulse 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.product-card.in-cart {
    border-color: var(--teal);
    box-shadow: 0 0 0 1px var(--teal);
}
.product-card.in-cart .product-image::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 26px;
    height: 26px;
    background: var(--teal);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
}
/* Also on popular cards */
.popular-card.in-cart {
    box-shadow: 0 2px 12px rgba(8,58,79,0.06), inset 0 0 0 2px var(--teal);
}
.popular-card.in-cart .popular-card-img::after {
    content: 'In Order';
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: var(--teal);
    color: var(--white);
    font-family: 'DM Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 4px 10px;
    z-index: 2;
    pointer-events: none;
}

/* ============================================================
   EMPTY FILTER STATE
   Shown when a menu category has no products.
   ============================================================ */
.sk-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}
.sk-empty-icon {
    font-size: 48px;
    margin-bottom: 14px;
    opacity: 0.3;
    display: block;
}
.sk-empty-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    color: var(--navy);
    margin-bottom: 8px;
}
.sk-empty-desc {
    font-size: 14px;
    color: rgba(8,58,79,0.45);
    margin-bottom: 18px;
    line-height: 1.6;
}
.sk-empty-state .btn { display: inline-flex; }

/* ============================================================
   SEASONAL URGENCY BADGE
   "Limited" tag on seasonal product cards in the menu grid.
   ============================================================ */
.product-seasonal-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--gold);
    color: var(--white);
    font-family: 'DM Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 2px;
    pointer-events: none;
    z-index: 2;
}
/* "Limited" label on seasonal section cards */
.seasonal-urgency {
    display: inline-block;
    font-family: 'DM Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid rgba(165,141,102,0.4);
    padding: 3px 8px;
    margin-left: 8px;
    vertical-align: middle;
}
.about-section { background: var(--navy); padding: 48px 0; overflow: hidden; position: relative; }
.about-section::before {
    content: '';
    position: absolute; top: 0; left: 50%;
    transform: translateX(-50%);
    width: 60px; height: 3px;
    background: var(--gold);
}
.about-section::after {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 80%, rgba(64,126,140,0.1) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 20%, rgba(165,141,102,0.06) 0%, transparent 50%);
    pointer-events: none;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: center;
    position: relative; z-index: 1;
}
.about-origins {
    display: flex;
    justify-content: flex-start;
    gap: 32px;
    margin-bottom: 24px;
}
.about-origin {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.about-origin-icon {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(165,141,102,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: rgba(165,141,102,0.08);
}
.about-origin-label {
    font-family: 'DM Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
}

/* Photo grid in About section */
.about-img-wrap { display: block; }
.about-photos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 10px;
}
.about-photos-grid .photo-item {
    overflow: hidden;
    position: relative;
}
.about-photos-grid .photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 4/3;
    transition: transform 0.5s ease;
}
.about-photos-grid .photo-item:hover img {
    transform: scale(1.04);
}
.about-photos-grid .photo-item.photo-featured {
    grid-column: 1 / -1;
}
.about-photos-grid .photo-item.photo-featured img {
    aspect-ratio: 16/7;
}
.about-photo-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 8px 12px;
    background: linear-gradient(transparent, rgba(8,58,79,0.75));
    color: var(--white);
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.about-photos-grid .photo-item:hover .about-photo-caption {
    opacity: 1;
}

/* Fallback when no gallery images — revert to centered single-column */
.about-grid-centered {
    grid-template-columns: 1fr;
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}
.about-grid-centered .about-origins {
    justify-content: center;
}
.about-grid-centered .about-text p {
    text-align: center;
}

.about-image { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about-img-frame {
    position: absolute; bottom: -12px; right: -12px;
    width: 80px; height: 80px;
    border: 2px solid rgba(165,141,102,0.4); pointer-events: none;
}
.about-text .kicker { color: var(--aqua); }
.about-text h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(26px, 4vw, 36px); color: var(--white); font-weight: 400; line-height: 1.1; margin-bottom: 18px; }
.about-text h2 em { font-style: italic; color: var(--gold); }
.about-text p { font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.8; margin-bottom: 16px; text-align: left; }
.about-text p:last-child { margin-bottom: 0; }

/* ============================================================
   INSTAGRAM HIGHLIGHT
   ============================================================ */
.ig-section {
    padding: var(--section-pad) 0;
    background: var(--ivory);
}
.ig-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: var(--navy);
    border-radius: 20px;
    padding: 56px 60px;
    position: relative;
    overflow: hidden;
}
.ig-card::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200,168,75,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.ig-card-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.ig-icon-wrap {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #c8a84b, #8a6a1e);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(200,168,75,0.3);
}
.ig-icon-wrap svg {
    width: 26px; height: 26px;
    stroke: #1a1000;
}
.ig-card-text { display: flex; flex-direction: column; gap: 14px; }
.ig-card-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(26px, 3.2vw, 38px);
    color: var(--cream);
    line-height: 1.15;
    letter-spacing: -0.01em;
}
.ig-card-text p {
    font-size: 15px;
    color: rgba(243,237,224,0.65);
    line-height: 1.65;
    max-width: 380px;
}
.ig-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    align-self: flex-start;
    margin-top: 4px;
}
.ig-cta-btn svg { width: 18px; height: 18px; stroke: currentColor; }
.ig-card-right { position: relative; }
.ig-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 10px;
}
.ig-preview-item {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--surf2, #1e1d1a);
    position: relative;
}
.ig-preview-item.ig-preview-lg {
    grid-row: 1 / 3;
    aspect-ratio: auto;
}
.ig-preview-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    filter: brightness(0.9);
}
.ig-preview-item:hover img {
    transform: scale(1.05);
    filter: brightness(1);
}
.ig-preview-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.3) 100%);
    pointer-events: none;
}

@media (max-width: 900px) {
    .ig-card {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 40px 36px;
    }
    .ig-card-right { max-width: 480px; }
}
@media (max-width: 600px) {
    .ig-card { padding: 32px 24px; border-radius: 14px; }
    .ig-card-text h2 { font-size: 26px; }
    .ig-preview-grid { gap: 7px; }
}

/* ============================================================
   FAQ + FOLLOW US
   ============================================================ */
.faq-section { background: var(--sand); padding: var(--section-pad) 0; }
.faq-top-row {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 20px; margin-bottom: 14px; flex-wrap: wrap;
}
.faq-top-row .section-header { margin-bottom: 0; }
.faq-section .section-header h2 { color: var(--navy); font-size: clamp(24px, 3vw, 34px); }

/* Follow Us inline */
.faq-follow {
    display: flex; align-items: center; gap: 10px;
    padding-bottom: 4px;
}
.faq-follow-label {
    font-family: 'DM Mono', monospace; font-size: 12px;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--teal);
}
.faq-follow-icons { display: flex; gap: 8px; align-items: center; }
.faq-follow-icons a {
    display: flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--navy); color: var(--white);
    transition: background 0.2s, transform 0.15s;
}
.faq-follow-icons a:hover { background: var(--teal); transform: scale(1.08); }
.faq-follow-icons svg { width: 17px; height: 17px; }

.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.faq-item { border-bottom: 1px solid rgba(8,58,79,0.1); }
.faq-trigger {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    padding: 13px 0; background: none; border: none;
    font-family: 'Jost', sans-serif; font-size: 15px; font-weight: 600;
    cursor: pointer; text-align: left; color: var(--navy); gap: 12px; transition: color 0.2s;
    min-height: 48px;
}
.faq-trigger:hover { color: var(--teal); }
.faq-trigger span { font-size: 24px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; transition: transform 0.3s; color: var(--gold); }
.faq-item.active .faq-trigger span { transform: rotate(45deg); }
.faq-content { max-height: 0; overflow: hidden; transition: max-height 0.35s ease-out; font-size: 14px; color: rgba(8,58,79,0.65); line-height: 1.7; }
.faq-item.active .faq-content { max-height: 400px; padding-bottom: 14px; }
/* CSS fallback: show FAQ answers when JS is unavailable */
.no-js .faq-content { max-height: none; overflow: visible; padding-bottom: 14px; }
.no-js .faq-trigger span { display: none; }

/* ============================================================
   CART PANEL
   ============================================================ */
.cart-overlay { position: fixed; inset: 0; background: rgba(8,58,79,0.5); z-index: 2000; opacity: 0; pointer-events: none; transition: opacity 0.25s; }
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-panel {
    position: fixed; top: 0; right: 0; width: var(--cart-w); height: 100vh;
    background: var(--white); z-index: 2100; transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1); display: flex; flex-direction: column;
}
.cart-panel.open { transform: translateX(0); }
.cart-header { padding: 20px 24px; border-bottom: 1px solid var(--sand); display: flex; justify-content: space-between; align-items: center; flex-shrink: 0; background: var(--navy); }
.cart-header h2 { font-family: 'Cormorant Garamond', serif; font-size: 24px; color: var(--white); margin: 0; }
.cart-close { background: none; border: none; cursor: pointer; font-size: 18px; padding: 8px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.cart-close:hover { color: var(--gold); }
.cart-body { flex: 1; overflow-y: auto; padding: 22px 24px; }
.cart-footer { padding: 20px 24px; border-top: 1px solid var(--sand); background: var(--off-white); flex-shrink: 0; }
.cart-item { display: flex; gap: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--sand); padding-bottom: 16px; }
.cart-item:last-child { border-bottom: none; }
.cart-item img { width: 68px; height: 68px; object-fit: cover; flex-shrink: 0; border-radius: 2px; }
.cart-item-info { flex: 1; }
.cart-item-name { font-family: 'Cormorant Garamond', serif; font-size: 18px; color: var(--navy); margin-bottom: 3px; }
.cart-item-price { font-size: 13px; color: var(--teal); font-weight: 600; margin-bottom: 10px; }
.cart-qty-controls { display: flex; align-items: center; gap: 10px; }
.cart-qty-btn {
    border: 1px solid var(--sand-deep); background: none; width: 34px; height: 34px;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: var(--navy); transition: var(--transition); line-height: 1;
}
.cart-qty-btn:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.cart-qty-num { font-size: 15px; font-weight: 600; min-width: 20px; text-align: center; }
.cart-item-remove { background: none; border: none; cursor: pointer; color: rgba(8,58,79,0.28); font-size: 14px; transition: color 0.2s; padding: 4px; flex-shrink: 0; align-self: flex-start; }
.cart-item-remove:hover { color: #e05454; }
.cart-min-notice { color: #c0392b; font-size: 13px; margin-bottom: 12px; font-weight: 500; font-family: 'DM Mono', monospace; letter-spacing: 0.05em; display: none; }
.cart-totals { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.cart-totals-label { font-size: 13px; font-weight: 600; color: var(--navy); font-family: 'DM Mono', monospace; letter-spacing: 0.08em; text-transform: uppercase; }
.cart-totals-value { font-family: 'Cormorant Garamond', serif; font-size: 32px; color: var(--teal); font-weight: 500; }
.cart-disclaimer { font-size: 14px; text-align: center; margin-top: 12px; color: rgba(8,58,79,0.5); line-height: 1.5; }

/* ============================================================
   PRODUCT POPUP
   ============================================================ */
.popup-overlay { position: fixed; inset: 0; background: rgba(8,58,79,0.65); z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity 0.25s; }
.popup-overlay.open { opacity: 1; pointer-events: all; }
.popup-box {
    background: var(--white); width: 100%; max-width: 800px; max-height: 92vh;
    overflow-y: auto; display: grid; grid-template-columns: 1fr 1fr;
    position: relative; box-shadow: 0 30px 80px rgba(8,58,79,0.35);
}
.popup-img-side { position: relative; overflow: hidden; }
.popup-img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; display: block; }
.popup-img-cat { position: absolute; top: 16px; left: 16px; background: var(--gold); color: var(--white); font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; padding: 6px 12px; }
.popup-body-side { padding: 52px 44px; display: flex; flex-direction: column; overflow-y: auto; }
.popup-name { font-family: 'Cormorant Garamond', serif; font-size: 44px; font-weight: 500; color: var(--navy); line-height: 1.0; margin-bottom: 10px; }
.popup-price { font-family: 'Jost', sans-serif; font-size: 32px; color: var(--teal); font-weight: 500; margin-bottom: 20px; line-height: 1; letter-spacing: 0.01em; }
.popup-divider { width: 44px; height: 2px; background: var(--gold); margin-bottom: 24px; }
.popup-desc { font-size: 15px; color: rgba(8,58,79,0.65); line-height: 1.85; flex-grow: 1; margin-bottom: 36px; }
.popup-qty-row { display: flex; align-items: center; gap: 20px; margin-bottom: 18px; flex-wrap: wrap; }
.popup-qty-label { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(8,58,79,0.45); }
.popup-qty-controls { display: flex; align-items: center; gap: 14px; }
.popup-qty-btn { width: 44px; height: 44px; border: 2px solid var(--sand-deep); background: none; cursor: pointer; font-size: 22px; color: var(--navy); display: flex; align-items: center; justify-content: center; transition: var(--transition); font-weight: 300; line-height: 1; }
.popup-qty-btn:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.popup-qty-num { font-size: 22px; font-weight: 600; min-width: 30px; text-align: center; color: var(--navy); }
.popup-close { position: absolute; top: 14px; right: 14px; background: var(--sand); border: none; width: 44px; height: 44px; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--navy); transition: var(--transition); z-index: 10; }
.popup-close:hover { background: var(--navy); color: var(--white); }
/* Popup add-to-order wrapper — flows normally on desktop, sticky/fixed on mobile */
.popup-add-btn-wrap { margin-top: auto; }

/* ============================================================
   CHECKOUT FORM MODAL
   ============================================================ */
.modal-overlay { position: fixed; inset: 0; background: rgba(8,58,79,0.7); z-index: 4000; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity 0.25s; overflow-y: auto; }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box { background: var(--white); width: 100%; max-width: 580px; padding: 52px; position: relative; box-shadow: 0 30px 80px rgba(8,58,79,0.3); max-height: 95vh; overflow-y: auto; }
.modal-box h3 { font-family: 'Cormorant Garamond', serif; font-size: 42px; color: var(--navy); margin-bottom: 6px; font-weight: 500; }
.modal-sub { font-size: 13px; color: rgba(8,58,79,0.45); margin-bottom: 36px; font-family: 'DM Mono', monospace; letter-spacing: 0.06em; text-transform: uppercase; }
.modal-close { position: absolute; top: 16px; right: 16px; background: var(--sand); border: none; width: 44px; height: 44px; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--navy); transition: var(--transition); }
.modal-close:hover { background: var(--navy); color: var(--white); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 22px; }
.form-label { display: block; font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); margin-bottom: 8px; font-weight: 500; }
.form-label .req { color: var(--gold); }
.form-input, .form-select, .form-textarea { width: 100%; border: 1px solid #e0e0e0; border-bottom: 2px solid var(--sand-deep); padding: 12px 14px; font-family: 'Jost', sans-serif; font-size: 15px; color: var(--navy); background: var(--off-white); outline: none; transition: border-color 0.2s; -webkit-appearance: none; border-radius: 0; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-bottom-color: var(--teal); background: var(--white); }
.form-input.err, .form-textarea.err { border-bottom-color: #e05454; }
.form-textarea { resize: vertical; min-height: 90px; line-height: 1.6; }
.form-select { cursor: pointer; }
.form-divider { height: 1px; background: var(--sand); margin: 28px 0; }
.save-info-row { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; cursor: pointer; }
.save-info-row input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--teal); cursor: pointer; flex-shrink: 0; }
.save-info-row label { font-size: 14px; color: rgba(8,58,79,0.55); cursor: pointer; line-height: 1.4; }
.modal-actions { display: flex; gap: 12px; }
.modal-actions .btn { flex: 1; }

/* ============================================================
   ACCOUNT PANEL
   ============================================================ */
.account-panel { position: fixed; top: 0; right: 0; width: 420px; height: 100vh; background: var(--white); z-index: 2200; transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1); display: flex; flex-direction: column; }
.account-panel.open { transform: translateX(0); }
.account-panel-header { padding: 20px 24px; background: var(--navy); display: flex; justify-content: space-between; align-items: center; flex-shrink: 0; }
.account-panel-header h2 { font-family: 'Cormorant Garamond', serif; font-size: 22px; color: var(--white); margin: 0; }
.account-panel-body { flex: 1; overflow-y: auto; padding: 28px 24px; }
.acc-section-label { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--teal); margin-bottom: 16px; margin-top: 6px; display: block; }
.acc-form .form-group { margin-bottom: 16px; }
.acc-saved-tag { display: inline-flex; align-items: center; gap: 6px; background: var(--aqua-pale); color: var(--teal); font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 10px; margin-bottom: 20px; }
.order-history-card { border: 1px solid var(--sand); padding: 16px; margin-bottom: 12px; background: var(--off-white); }
.order-history-meta { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(8,58,79,0.38); margin-bottom: 8px; }
.order-history-items { font-size: 13px; color: rgba(8,58,79,0.6); line-height: 1.6; }
.order-history-total { font-family: 'Cormorant Garamond', serif; font-size: 24px; color: var(--teal); margin-top: 8px; }
.order-empty { text-align: center; padding: 40px 20px; color: rgba(8,58,79,0.28); font-size: 14px; }

/* ============================================================
   TOAST
   ============================================================ */
.toast {
    position: fixed; bottom: 80px; left: 50%;
    transform: translateX(-50%) translateY(120px);
    background: var(--navy); color: var(--white);
    padding: 13px 24px; font-family: 'DM Mono', monospace;
    font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 5000; pointer-events: none; white-space: nowrap;
    border-left: 3px solid var(--gold);
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.success { border-left-color: var(--teal); background: var(--teal-dark); }

/* ============================================================
   FOCUS VISIBLE -- keyboard navigation accessibility
   ============================================================ */
:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}
button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 0;
}
/* Remove outline for mouse users */
:focus:not(:focus-visible) { outline: none; }

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top { position: fixed; bottom: 28px; right: 28px; background: var(--navy); color: var(--white); width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; pointer-events: none; transition: var(--transition); z-index: 900; border: none; box-shadow: 0 4px 16px rgba(8,58,79,0.3); }
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { background: var(--teal); transform: translateY(-2px); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-deep); color: var(--sand); padding: 22px 0 12px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; padding-bottom: 14px; border-bottom: 1px solid rgba(192,213,214,0.08); margin-bottom: 12px; }
.footer-brand-name { font-family: 'Cormorant Garamond', serif; font-size: 28px; color: var(--white); margin-bottom: 4px; }
.footer-brand-name span { color: var(--gold); }
.footer-brand-loc { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(192,213,214,0.4); margin-bottom: 10px; display: block; }
.footer-brand-desc { font-size: 14px; color: rgba(192,213,214,0.5); line-height: 1.7; max-width: 260px; }
.footer-col-title { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; display: block; }
.footer-col-links { display: flex; flex-direction: column; gap: 8px; }
.footer-col-links a { color: rgba(192,213,214,0.55); font-size: 14px; transition: color 0.2s; }
.footer-col-links a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 12px; margin-bottom: 10px; align-items: center; }
.footer-social-wrap { margin-bottom: 10px; }
.footer-social-heading {
    display: block;
    font-size: 11px;
    font-family: 'DM Mono', monospace;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(192,213,214,0.45);
    margin-bottom: 10px;
}
.footer-social a {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border: 1px solid rgba(192,213,214,0.15);
    color: rgba(192,213,214,0.5); transition: var(--transition);
}
.footer-social a:hover { color: var(--gold); border-color: var(--gold); }
.footer-social-instagram {
    width: 46px !important;
    height: 46px !important;
    border-color: rgba(192,213,214,0.25) !important;
    color: rgba(192,213,214,0.8) !important;
}
.footer-social-instagram:hover { color: var(--gold) !important; border-color: var(--gold) !important; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 12px; color: rgba(192,213,214,0.3); font-family: 'DM Mono', monospace; letter-spacing: 0.05em; }
.footer-legal-link { font-size: 12px; color: rgba(192,213,214,0.3); font-family: 'DM Mono', monospace; letter-spacing: 0.05em; text-decoration: none; transition: color 0.2s; }
.footer-legal-link:hover { color: var(--gold-light); }

/* -- Footer Contact Form ------------------------------------------------ */
.sk-contact-form { margin-top: 16px; }
.sk-contact-row { display: flex; gap: 8px; margin-bottom: 8px; }
.sk-contact-input, .sk-contact-textarea {
    width: 100%; padding: 10px 12px; border: 1px solid rgba(192,213,214,0.15);
    background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.85);
    font-family: 'Jost', sans-serif; font-size: 13px; border-radius: 3px;
    transition: border-color 0.2s;
}
.sk-contact-input::placeholder, .sk-contact-textarea::placeholder { color: rgba(192,213,214,0.35); }
.sk-contact-input:focus, .sk-contact-textarea:focus { outline: none; border-color: var(--gold); }
.sk-contact-textarea { margin-bottom: 10px; resize: vertical; min-height: 60px; }
.sk-contact-actions { display: flex; align-items: center; gap: 12px; }
.sk-contact-status { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.05em; color: rgba(192,213,214,0.5); }
.sk-contact-status.success { color: var(--gold); }
.sk-contact-status.error { color: #e57373; }
.sk-contact-input.err, .sk-contact-textarea.err { border-color: #e05454; }
@media (max-width: 600px) {
    .sk-contact-row { flex-direction: column; gap: 8px; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .hiw-grid { grid-template-columns: repeat(2, 1fr); }
    .hiw-step:nth-child(2) { border-right: none; }
    .hiw-step:nth-child(1), .hiw-step:nth-child(2) { border-bottom: 1px solid rgba(192,213,214,0.1); }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-top > *:first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
    :root { --section-pad: 40px; }

    /* ── HERO: show image as background instead of hiding it ── */
    .hero { grid-template-columns: 1fr; min-height: auto; position: relative; }
    .hero-right { display: none; }
    .hero-left { padding: 28px 28px; justify-content: center; }
    .hero-stat-mobile { display: flex; align-items: center; }

    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .about-img-wrap { display: none; }
    .about-origins { justify-content: flex-start; }
    .popular-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .popular-card-img { aspect-ratio: 4/3; }
    .seasonal-strip { grid-template-columns: 1fr 1fr; gap: 16px; }
    .faq-grid { grid-template-columns: 1fr; gap: 0; }
    .faq-top-row { flex-direction: column; align-items: flex-start; gap: 8px; }
    .main-nav { display: none; }
    .nav-toggle { display: flex; }
    .popup-box { grid-template-columns: 1fr; max-width: 480px; }
    .popup-img-side { min-height: 240px; }
    .popup-name { font-size: 32px; }
    .popup-price { font-size: 26px; margin-bottom: 14px; }
    .popup-body-side { padding: 32px 28px; }
    .form-row { grid-template-columns: 1fr; }
    .account-btn span { display: none; }
    .section-header { margin-bottom: 20px; }

    /* ── Menu filter tabs: horizontal scroll ── */
    .menu-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        scroll-snap-type: x mandatory;
        gap: 0;
        padding-bottom: 0;
    }
    .menu-nav::-webkit-scrollbar { display: none; }
    .menu-filter {
        scroll-snap-align: start;
        flex-shrink: 0;
        padding: 12px 18px;
    }

    /* ── Popup: sticky add-to-order button ── */
    .popup-box { max-height: 100vh; max-height: 100dvh; }
    .popup-body-side { padding-bottom: 90px; }
    .popup-add-btn-wrap {
        position: sticky;
        bottom: 0;
        background: var(--white);
        padding: 14px 28px;
        border-top: 1px solid var(--sand);
        margin: 0 -28px;
        z-index: 5;
    }
    .popup-add-btn-wrap .btn { width: 100%; padding: 16px 28px; font-size: 13px; }
}
@media (max-width: 600px) {
    :root { --section-pad: 32px; --cart-w: 100vw; }

    /* ── HERO: background image on mobile ── */
    .hero {
        position: relative;
        min-height: 68vh;
        min-height: 68dvh;
        background-image: var(--hero-mobile-bg);
        background-size: cover;
        background-position: center right;
    }
    .hero::before {
        content: '';
        position: absolute; inset: 0;
        background: linear-gradient(180deg,
            rgba(8,58,79,0.92) 0%,
            rgba(8,58,79,0.78) 40%,
            rgba(8,58,79,0.65) 100%);
        z-index: 1;
    }
    .hero-left {
        position: relative; z-index: 2;
        padding: 32px 24px;
        min-height: 68vh;
        min-height: 68dvh;
        justify-content: flex-end;
        padding-bottom: 48px;
    }
    .hero-headline { font-size: clamp(38px, 10vw, 52px); margin-bottom: 12px; }
    .hero-sub { font-size: 15px; line-height: 1.7; margin-bottom: 24px; color: rgba(255,255,255,0.75); }
    .hero-eyebrow { font-size: 11px; letter-spacing: 0.18em; margin-bottom: 14px; }
    .hero-actions { flex-direction: column; gap: 10px; }
    .hero-actions .btn { width: 100%; text-align: center; padding: 16px 28px; font-size: 13px; }

    /* ── NOTICE TICKER: larger for readability ── */
    .notice-ticker {
        font-size: 11px;
        letter-spacing: 0.1em;
        padding: 10px 16px;
        line-height: 1.4;
    }

    /* ── HOW IT WORKS: compact horizontal cards ── */
    .hiw-section { padding: 24px 0; }
    .hiw-header h2 { font-size: 22px; }
    .hiw-header p { font-size: 12px; }
    .hiw-grid {
        grid-template-columns: 1fr;
        border: none;
        gap: 0;
    }
    .hiw-step {
        border-right: none;
        border-bottom: 1px solid rgba(192,213,214,0.1);
        padding: 16px 20px;
        display: grid;
        grid-template-columns: 48px 1fr;
        grid-template-rows: auto auto;
        gap: 0 12px;
        align-items: start;
    }
    .hiw-step:last-child { border-bottom: none; }
    .hiw-num {
        grid-row: 1 / -1;
        font-size: 32px;
        align-self: center;
        text-align: center;
    }
    .hiw-step-title { font-size: 12px; margin-bottom: 2px; }
    .hiw-step p { font-size: 13px; line-height: 1.5; }

    /* ── POPULAR CARDS: vertical, generous images ── */
    .popular-section { padding: 28px 0 32px; }
    .popular-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .popular-card-img { aspect-ratio: 4/3; }
    .popular-card-body { padding: 12px 14px; }
    .popular-card-title { font-size: 16px; }
    .popular-card-desc { font-size: 13px; margin-bottom: 8px; }
    .popular-price { font-size: 18px; }
    .popular-badge { font-size: 10px; padding: 5px 10px; }
    .popular-card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        border-top: none;
        padding-top: 0;
    }
    .popular-card-footer .btn {
        width: 100%;
        text-align: center;
        padding: 10px 14px;
        font-size: 10px;
    }

    /* ── SEASONAL CARDS: vertical, generous images ── */
    .seasonal-section { padding: 28px 0 32px; }
    .seasonal-strip { grid-template-columns: 1fr 1fr; gap: 12px; }
    .seasonal-card-img-wrap { aspect-ratio: 4/3; }
    .seasonal-card-body { padding: 12px 14px; }
    .seasonal-title { font-size: 16px; }
    .seasonal-desc { font-size: 13px; }
    .seasonal-price { font-size: 18px; }
    .seasonal-card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        border-top: none;
        padding-top: 0;
    }
    .seasonal-card-footer .btn {
        width: 100%;
        text-align: center;
        padding: 10px 14px;
        font-size: 10px;
    }

    /* ── PRODUCT CARDS: vertical with large images — the key shopping UX ── */
    .menu-section { padding: 36px 0; }
    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .product-card {
        flex-direction: column;
    }
    .product-image {
        aspect-ratio: 4/3;
        width: 100%;
        min-height: unset;
    }
    .product-info {
        padding: 12px 14px;
    }
    .product-title { font-size: 16px; margin-bottom: 3px; line-height: 1.2; }
    .product-desc {
        font-size: 13px;
        -webkit-line-clamp: 2;
        margin-bottom: 8px;
        line-height: 1.45;
    }
    .product-hover-overlay { display: none; }
    .product-footer { border-top: none; padding-top: 0; flex-direction: column; align-items: stretch; gap: 6px; }
    .product-price { font-size: 18px; }
    .product-footer .btn {
        width: 100%;
        text-align: center;
        padding: 10px 14px;
        font-size: 11px;
    }
    .product-variant-row { margin-bottom: 6px; }
    .product-variant-select { padding: 6px 8px; font-size: 12px; }
    .product-seasonal-badge { font-size: 8px; padding: 3px 8px; top: 8px; left: 8px; }

    /* ── MENU FILTER TABS: scrollable ── */
    .menu-nav { margin-bottom: 18px; }
    .menu-filter {
        padding: 10px 16px;
        font-size: 11px;
        min-height: 40px;
    }

    /* ── ABOUT: tighter on mobile ── */
    .about-section { padding: 32px 0; }
    .about-grid { grid-template-columns: 1fr; gap: 24px; }
    .about-img-wrap { display: none; }
    .about-text h2 { font-size: clamp(22px, 5vw, 28px); }
    .about-text p { font-size: 15px; line-height: 1.75; }
    .about-origins { gap: 24px; margin-bottom: 20px; }
    .about-origin-icon { width: 40px; height: 40px; font-size: 18px; }
    .about-origin-label { font-size: 8px; }

    /* ── FAQ: better touch targets ── */
    .faq-trigger { font-size: 15px; padding: 16px 0; min-height: 52px; }
    .faq-content { font-size: 14px; line-height: 1.7; }

    /* ── POPUP: full-screen mobile experience ── */
    .popup-overlay { padding: 0; align-items: flex-end; }
    .popup-box {
        max-width: 100%;
        max-height: 95vh;
        max-height: 95dvh;
        border-top: 3px solid var(--gold);
    }
    .popup-img-side { min-height: 200px; max-height: 220px; }
    .popup-body-side {
        padding: 24px 20px 100px;
    }
    .popup-name { font-size: 28px; margin-bottom: 8px; }
    .popup-price { font-size: 24px; margin-bottom: 14px; }
    .popup-divider { margin-bottom: 16px; }
    .popup-desc { font-size: 14px; line-height: 1.75; margin-bottom: 20px; }
    .popup-qty-row { margin-bottom: 14px; }
    .popup-close { top: 10px; right: 10px; width: 40px; height: 40px; }
    .popup-add-btn-wrap {
        position: fixed;
        bottom: 0; left: 0; right: 0;
        margin: 0;
        padding: 14px 20px;
        padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
        background: var(--white);
        border-top: 1px solid var(--sand);
        z-index: 10;
    }
    .popup-add-btn-wrap .btn { width: 100%; padding: 16px; font-size: 13px; }

    /* ── CHECKOUT MODAL ── */
    .modal-box { padding: 28px 20px; }
    .modal-box h3 { font-size: 32px; }
    .modal-sub { font-size: 12px; margin-bottom: 24px; }
    .modal-actions { flex-direction: column; }
    .modal-actions .btn { width: 100%; }

    /* ── CART PANEL ── */
    .account-panel { width: 100vw; }
    .cart-totals-value { font-size: 28px; }
    .cart-footer { padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
    .cart-body { padding: 18px 20px; }
    .cart-item img { width: 60px; height: 60px; }

    /* ── SECTION HEADERS: bigger on mobile for readability ── */
    .section-header { margin-bottom: 16px; }
    .section-header h2 { font-size: clamp(24px, 7vw, 32px); }
    .kicker { font-size: 11px; letter-spacing: 0.14em; }

    /* ── NEWSLETTER ── */
    .nl-section { padding: 48px 0; }
    .nl-card { padding: 32px 20px; }
    .nl-inputs { flex-direction: column; }
    .nl-inputs .btn { width: 100%; }

    /* ── FOOTER: stack cleanly ── */
    .footer-top { grid-template-columns: 1fr; gap: 28px; }
    .footer-top > *:first-child { grid-column: auto; }

    /* ── MOBILE ACTIVE STATES (replace hover effects) ── */
    .product-card:active { transform: scale(0.98); box-shadow: none; }
    .popular-card:active { transform: scale(0.98); }
    .seasonal-card:active { transform: scale(0.98); }
    .btn:active { transform: scale(0.97); }

    /* ── FLOATING CART BAR ── */
    .mobile-cart-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1500;
        background: var(--navy);
        border-top: 2px solid var(--gold);
        padding: 12px 20px;
        padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        display: flex;
        align-items: center;
        justify-content: space-between;
        transform: translateY(100%);
        transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
        box-shadow: 0 -4px 20px rgba(8,58,79,0.25);
    }
    .mobile-cart-bar.visible { transform: translateY(0); }
    .mobile-cart-bar-info {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }
    .mobile-cart-bar-count {
        font-family: 'DM Mono', monospace;
        font-size: 11px;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: rgba(255,255,255,0.6);
    }
    .mobile-cart-bar-total {
        font-family: 'Cormorant Garamond', serif;
        font-size: 24px;
        color: var(--gold);
        font-weight: 500;
        line-height: 1;
    }
    .mobile-cart-bar .btn {
        padding: 12px 24px;
        font-size: 12px;
        background: var(--gold);
        border-color: var(--gold);
    }
    .mobile-cart-bar .btn:hover,
    .mobile-cart-bar .btn:active {
        background: var(--gold-light);
        border-color: var(--gold-light);
        color: var(--navy);
    }

    /* ── Push toast and scroll-top above the floating cart bar ── */
    .toast { bottom: 110px; }
    .scroll-top { bottom: 80px; right: 16px; }
}

/* ── Hide floating cart bar on desktop ── */
@media (min-width: 601px) {
    .mobile-cart-bar { display: none !important; }
}

/* ── Extra-small screens (iPhone SE, etc) ── */
@media (max-width: 374px) {
    .hero-headline { font-size: 34px; }
    .hero-left { padding: 24px 16px; padding-bottom: 40px; }
    .product-grid { grid-template-columns: 1fr; gap: 14px; }
    .product-image { aspect-ratio: 16/10; }
    .popular-grid { grid-template-columns: 1fr; }
    .seasonal-strip { grid-template-columns: 1fr; }
    .nl-card { padding: 28px 16px; }
    .container { padding: 0 16px; }
    .popup-body-side { padding: 20px 16px 100px; }
    .popup-name { font-size: 24px; }
}


/* ============================================================
   LEGAL PAGE -- v2.3
   ============================================================ */

/* Hero */
.legal-hero {
    background: var(--navy-deep);
    padding: 120px 0 60px;
    margin-top: 0;
}
.legal-hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(48px, 7vw, 80px);
    font-weight: 500;
    color: var(--off-white);
    line-height: 1.1;
    margin: 16px 0 20px;
}
.legal-hero-title em { color: var(--gold-light); font-style: italic; }
.legal-hero-sub {
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal-light);
    opacity: 0.8;
}

/* Quick nav bar */
.legal-nav-bar {
    background: var(--teal-dark);
    padding: 14px 0;
    position: sticky;
    top: 70px;
    z-index: 90;
}
.legal-nav-bar .container {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.legal-nav-bar a {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    opacity: 0.75;
    text-decoration: none;
    transition: opacity 0.2s;
}
.legal-nav-bar a:hover { opacity: 1; }
.legal-nav-sep { color: var(--gold-light); opacity: 0.5; font-size: 11px; }

/* Main container */
.legal-container {
    padding-top: 60px;
    padding-bottom: 80px;
    max-width: 820px;
}

/* Part label */
.legal-part-label {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 10px;
}

/* Section title */
.legal-section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 500;
    color: var(--navy-deep);
    line-height: 1.1;
    margin: 0 0 20px;
}
.legal-section-title em { color: var(--teal); font-style: italic; }

/* Rule under title */
.legal-rule {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin-bottom: 36px;
    border-radius: 2px;
}

/* Preamble */
.legal-preamble {
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    color: var(--navy);
    line-height: 1.75;
    background: var(--sand);
    border-left: 4px solid var(--teal);
    padding: 20px 24px;
    border-radius: 0 4px 4px 0;
    margin-bottom: 48px;
}
.legal-preamble em { color: var(--teal-dark); font-style: italic; }

/* Individual clause */
.legal-clause {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(8,58,79,0.08);
}
.legal-clause:last-child { border-bottom: none; }

.legal-clause-title {
    font-family: 'Jost', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--navy-deep);
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.legal-num {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    color: var(--teal);
    letter-spacing: 0.1em;
    background: rgba(64,126,140,0.08);
    padding: 3px 8px;
    border-radius: 3px;
    flex-shrink: 0;
}

.legal-clause p {
    font-family: 'Jost', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: var(--navy);
    margin: 0 0 14px;
}
.legal-clause p:last-child { margin-bottom: 0; }
.legal-clause p strong { color: var(--navy-deep); }
.legal-clause a { color: var(--teal); text-decoration: underline; }
.legal-clause a:hover { color: var(--teal-dark); }

/* Lists */
.legal-list {
    font-family: 'Jost', sans-serif;
    font-size: 15px;
    line-height: 1.75;
    color: var(--navy);
    padding-left: 24px;
    margin: 12px 0 14px;
}
.legal-list li { margin-bottom: 8px; }
.legal-list li strong { color: var(--navy-deep); }
.legal-list-numbered { list-style: decimal; }

/* Section divider */
.legal-divider {
    height: 1px;
    background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
    margin: 60px 0;
    opacity: 0.4;
}

/* Contact block */
.legal-contact-block {
    background: var(--navy-deep);
    border-radius: 8px;
    padding: 56px 48px;
    text-align: center;
    margin: 60px 0 40px;
}
.legal-contact-inner .kicker { color: var(--teal-light); }
.legal-contact-inner h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 500;
    color: var(--off-white);
    margin: 12px 0 16px;
}
.legal-contact-inner h3 em { color: var(--gold-light); font-style: italic; }
.legal-contact-inner > p {
    color: rgba(255,255,255,0.65);
    font-family: 'Jost', sans-serif;
    font-size: 15px;
    margin-bottom: 24px;
}
.legal-contact-block .btn-gold {
    display: inline-block;
    border-radius: 4px;
    text-decoration: none !important;
}
.legal-contact-block .btn-gold:hover { background: var(--gold-dark, #8a7050); transform: translateY(-1px); }
.legal-contact-note {
    margin-top: 20px;
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
}

/* Disclaimer */
.legal-disclaimer {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.06em;
    color: rgba(8,58,79,0.45);
    line-height: 1.7;
    border-top: 1px solid var(--sand-deep);
    padding-top: 24px;
    margin-top: 0;
}

/* Legal page responsive */
@media (max-width: 768px) {
    .legal-hero { padding: 100px 0 48px; }
    .legal-container { padding-top: 40px; }
    .legal-contact-block { padding: 40px 28px; }
    .legal-nav-bar { top: 60px; }
}
@media (max-width: 600px) {
    .legal-contact-block { padding: 36px 20px; }
    .legal-clause-title { font-size: 13px; }
}


/* ============================================================
   ADDITIONAL ENHANCEMENTS
   ============================================================ */

/* Order confirmation overlay close button */
#sk-order-confirm button:hover {
    opacity: 0.88;
}

/* WooCommerce on-hold status color */
.woocommerce-order-overview.woocommerce-thankyou-order-details,
.wc-bacs-bank-details { font-family: 'Jost', sans-serif; }

/* Admin: Suncoast Kitchen menu icon spacing */
#adminmenu .toplevel_page_suncoast-kitchen .dashicons-food { font-size: 18px; }

/* --- Image fallback -- hide empty/broken src images ----- */
.product-image img[src=""],
.popular-card-img img[src=""],
.popup-img[src=""] {
    opacity: 0;
}

/* ============================================================
   PRODUCT IMAGE PLACEHOLDER SYSTEM
   Category-specific branded gradients shown when no image is
   uploaded yet, or when an external URL fails to load.
   ============================================================ */

/* Base placeholder -- fills the same space as the img */
.sk-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: absolute;
    inset: 0;
}
.sk-img-placeholder-icon {
    font-size: 38px;
    line-height: 1;
    opacity: 0.85;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.18));
}
.sk-img-placeholder-label {
    font-family: 'DM Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    opacity: 0.55;
    color: #fff;
    text-align: center;
    padding: 0 12px;
}

/* Category gradients */
.sk-img-placeholder[data-cat="Breads"] {
    background: linear-gradient(145deg, #C9B08A 0%, #8A7050 100%);
}
.sk-img-placeholder[data-cat="Cookies & Small Bites"] {
    background: linear-gradient(145deg, #E5D5B8 0%, #B89A6E 100%);
}
.sk-img-placeholder[data-cat="Chocolate"] {
    background: linear-gradient(145deg, #3D2B1F 0%, #1C1008 100%);
}
.sk-img-placeholder[data-cat="Everyday & Functional"],
.sk-img-placeholder[data-cat="Everyday"] {
    background: linear-gradient(145deg, #407E8C 0%, #083A4F 100%);
}
.sk-img-placeholder[data-cat="Tarts & Pastry"] {
    background: linear-gradient(145deg, #E8C5A0 0%, #C9A06A 100%);
}
.sk-img-placeholder[data-cat="Dog Treats"] {
    background: linear-gradient(145deg, #8DB596 0%, #4A6B50 100%);
}
.sk-img-placeholder[data-cat="Bread"] {
    background: linear-gradient(145deg, #C9B08A 0%, #8A7050 100%);
}
/* Default fallback for any other category */
.sk-img-placeholder:not([data-cat]) {
    background: linear-gradient(145deg, var(--teal) 0%, var(--navy-deep) 100%);
}

/* Seasonal rectangular placeholder */
.sk-img-placeholder-circle {
    width: 100%;
    height: 100%;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    margin-bottom: 0;
    flex-shrink: 0;
}
.sk-img-placeholder-circle .sk-img-placeholder-icon {
    font-size: 42px;
}

/* Hide broken img elements cleanly */
img.sk-img-broken {
    display: none !important;
}

/* Seasonal section: image slot layout */
.seasonal-card-img-wrap {
    display: block;
}
.seasonal-img-wrap {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}
.seasonal-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.seasonal-card:hover .seasonal-img-wrap img { transform: scale(1.06); }

/* Popup variant/addon UI */
.popup-variant-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.popup-variant-tag {
    display: inline-block; padding: 5px 12px; font-family: 'DM Mono', monospace;
    font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
    background: var(--off-white); border: 1px solid var(--sand-deep);
    color: var(--navy); cursor: pointer; transition: var(--transition);
}
.popup-variant-tag:hover, .popup-variant-tag.active {
    background: var(--teal); border-color: var(--teal); color: var(--white);
}
.popup-variant-row { margin-bottom: 16px; }
.popup-variant-label { display: block; font-family: 'DM Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(8,58,79,0.45); margin-bottom: 8px; }
.popup-variant-select { width: 100%; padding: 10px 12px; background: var(--off-white); border: 1px solid var(--sand-deep); border-bottom: 2px solid var(--sand-deep); border-radius: 0; color: var(--navy); font-family: 'Jost', sans-serif; font-size: 15px; appearance: auto; cursor: pointer; }
.popup-variant-select option { background: var(--off-white); color: var(--navy); padding: 8px 12px; }
.popup-variant-select:focus { border-bottom-color: var(--teal); background: var(--white); outline: none; }
.popup-addon-row { margin-bottom: 16px; }
.popup-addon-item { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 8px; }
.popup-addon-item label { font-size: 14px; color: var(--navy); cursor: pointer; display: flex; align-items: center; gap: 6px; }
.popup-addon-item input[type="checkbox"] { accent-color: var(--gold); width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }
.popup-addon-notes { width: 100%; padding: 8px 10px; background: var(--off-white); border: 1px solid var(--sand-deep); border-bottom: 2px solid var(--sand-deep); border-radius: 0; color: var(--navy); font-family: 'Jost', sans-serif; font-size: 13px; margin-top: 6px; display: none; }
.popup-addon-notes:focus { border-color: var(--gold); outline: none; }
.popup-addon-notes::placeholder { color: rgba(8,58,79,0.35); }
.cart-item-variant { font-size: 11px; color: var(--gold); font-family: 'DM Mono', monospace; text-transform: uppercase; letter-spacing: 0.05em; }
.cart-item-addon { font-size: 11px; color: rgba(192,213,214,0.5); }

/* ============================================================
   WOOCOMMERCE PAGE STYLES -- v2.8
   Styling for WooCommerce cart, checkout, my-account pages
   so they match the Suncoast Kitchen design language.
   ============================================================ */
.woocommerce table.shop_table { border-collapse: collapse; width: 100%; }
.woocommerce table.shop_table th { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); background: var(--off-white); padding: 14px 18px; border-bottom: 2px solid var(--sand-deep); }
.woocommerce table.shop_table td { padding: 14px 18px; border-bottom: 1px solid var(--sand); font-size: 15px; color: rgba(8,58,79,0.7); vertical-align: middle; }
.woocommerce .button, .woocommerce button.button, .woocommerce input.button, .woocommerce a.button {
    background: var(--navy) !important; color: var(--white) !important; border: none !important;
    font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
    padding: 14px 28px; cursor: pointer; transition: background 0.2s; border-radius: 0 !important;
}
.woocommerce .button:hover, .woocommerce button.button:hover, .woocommerce a.button:hover {
    background: var(--teal) !important;
}
.woocommerce .button.alt, .woocommerce button.button.alt {
    background: var(--gold) !important;
}
.woocommerce .button.alt:hover, .woocommerce button.button.alt:hover {
    background: var(--gold-light) !important; color: var(--navy) !important;
}
.woocommerce h2, .woocommerce h3 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--navy);
}
.woocommerce-message, .woocommerce-info, .woocommerce-error {
    border-top: 3px solid var(--teal) !important;
    background: var(--off-white);
    padding: 16px 20px;
    font-size: 14px;
}
.woocommerce-message::before, .woocommerce-info::before {
    color: var(--teal) !important;
}
.woocommerce-error { border-top-color: #e05454 !important; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    border: 1px solid #e0e0e0;
    border-bottom: 2px solid var(--sand-deep);
    padding: 12px 14px;
    font-family: 'Jost', sans-serif;
    font-size: 15px;
    color: var(--navy);
    background: var(--off-white);
    border-radius: 0;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row select:focus {
    border-bottom-color: var(--teal);
    background: var(--white);
    outline: none;
}
.woocommerce form .form-row label {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--navy);
    font-weight: 500;
}
.woocommerce-MyAccount-navigation ul {
    list-style: none; padding: 0; margin: 0 0 32px 0;
}
.woocommerce-MyAccount-navigation ul li {
    margin-bottom: 4px;
}
.woocommerce-MyAccount-navigation ul li a {
    display: block; padding: 12px 18px; font-family: 'DM Mono', monospace;
    font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--navy); background: var(--off-white); transition: all 0.2s;
}
.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li a:hover {
    background: var(--navy); color: var(--white);
}
.woocommerce-account .woocommerce-MyAccount-content {
    font-size: 15px; color: rgba(8,58,79,0.7); line-height: 1.8;
}

/* ============================================================
   NEWSLETTER SECTION (front-page)
   ============================================================ */
.nl-section {
    padding: 80px 0;
    background: var(--off-white);
}
.nl-card {
    max-width: 780px;
    margin: 0 auto;
    background: var(--navy);
    border-radius: 0;
    padding: 56px 52px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.nl-text .kicker { margin-bottom: 10px; }
.nl-text h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(26px, 3.2vw, 36px);
    font-weight: 500;
    color: var(--white);
    line-height: 1.2;
    margin: 0 0 10px;
}
.nl-text p {
    font-size: 15px;
    color: rgba(192,213,214,0.7);
    line-height: 1.6;
    margin: 0;
}
.nl-form { display: flex; flex-direction: column; gap: 10px; }
.nl-inputs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.nl-input {
    flex: 1 1 180px;
    padding: 13px 16px;
    border: 1px solid rgba(192,213,214,0.15);
    border-radius: 0;
    background: rgba(255,255,255,0.06);
    color: var(--white);
    font-size: 14px;
    font-family: 'Jost', sans-serif;
    transition: border-color 0.2s, background 0.2s;
}
.nl-input::placeholder { color: rgba(192,213,214,0.4); }
.nl-input:focus {
    outline: none;
    border-color: var(--gold-light);
    background: rgba(255,255,255,0.1);
}
.nl-inputs .btn {
    flex: 0 0 auto;
    padding: 13px 28px;
    font-size: 13px;
    white-space: nowrap;
}
.nl-status {
    font-size: 13px;
    font-family: 'DM Mono', monospace;
    letter-spacing: 0.03em;
    min-height: 18px;
    display: block;
}
.nl-success { color: var(--teal-light, #5ec4b6); }
.nl-error { color: #e07a5f; }
.nl-fine {
    font-size: 12px;
    color: rgba(192,213,214,0.35);
    font-family: 'DM Mono', monospace;
    letter-spacing: 0.04em;
}

/* ---- Footer compact newsletter ---- */
.footer-nl {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(192,213,214,0.08);
}
.footer-nl-label {
    display: block;
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(192,213,214,0.5);
    margin-bottom: 10px;
}
.footer-nl-form { display: flex; flex-direction: column; gap: 6px; }
.footer-nl-row { display: flex; gap: 8px; }
.footer-nl-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid rgba(192,213,214,0.12);
    border-radius: 0;
    background: rgba(255,255,255,0.04);
    color: var(--white);
    font-size: 13px;
    font-family: 'Jost', sans-serif;
    transition: border-color 0.2s;
}
.footer-nl-input::placeholder { color: rgba(192,213,214,0.3); }
.footer-nl-input:focus { outline: none; border-color: var(--gold-light); background: rgba(255,255,255,0.08); }
.footer-nl-btn {
    flex: 0 0 44px;
    height: 44px;
    border: 1px solid var(--gold-light);
    border-radius: 0;
    background: transparent;
    color: var(--gold-light);
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-nl-btn:hover { background: var(--gold-light); color: var(--navy); }
.footer-nl-status { font-size: 12px; }

/* Newsletter responsive now handled in main 600px breakpoint */

/* ============================================================
   v5.5 ENHANCEMENTS
   ============================================================ */

/* Touch optimization — faster tap response on mobile */
.product-card,
.popular-card,
.seasonal-card,
.btn,
.cart-trigger,
.account-btn,
.nav-toggle,
.menu-filter,
.faq-trigger,
.popup-qty-btn,
.cart-qty-btn {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* Popup slide-up animation on mobile */
@media (max-width: 600px) {
    .popup-box {
        transform: translateY(100%);
        transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    }
    .popup-overlay.open .popup-box {
        transform: translateY(0);
    }

    /* Cart panel: account for mobile cart bar */
    .cart-footer {
        padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    }

    /* Better cart item layout on small screens */
    .cart-item img {
        width: 56px;
        height: 56px;
    }
    .cart-item-name { font-size: 14px; }
    .cart-item-price { font-size: 12px; }
    .cart-qty-btn { width: 32px; height: 32px; font-size: 16px; }

    /* Prevent body from showing behind bottom-sheet popup */
    .popup-overlay {
        background: rgba(8,58,79,0.8);
    }
}

/* Smooth scroll-margin for anchor sections */
#how-it-works,
#popular,
#seasonal,
#menu,
#about,
#faq,
#newsletter {
    scroll-margin-top: calc(var(--header-h) + 24px);
}

/* Mobile nav: larger link touch targets */
@media (max-width: 900px) {
    .mobile-nav a,
    .mobile-nav ul li a {
        padding: 18px 28px;
        font-size: 13px;
        min-height: 52px;
        display: flex;
        align-items: center;
    }
}

/* Cart panel on mobile: full width with safe-area */
@media (max-width: 600px) {
    .cart-panel {
        width: 100vw;
    }
    .cart-header h2 { font-size: 20px; }
}

/* Menu section header + filter gap */
.menu-section .section-header {
    margin-bottom: 20px;
}

/* Product card: add "In Order" state visual emphasis */
.product-card:has(.btn-teal) {
    border-color: var(--teal);
    background: rgba(64,126,140,0.04);
}

/* Smoother toast on mobile */
@media (max-width: 600px) {
    .toast {
        left: 16px;
        right: 16px;
        transform: translateX(0) translateY(120px);
        white-space: normal;
        text-align: center;
        bottom: 100px;
    }
    .toast.show {
        transform: translateX(0) translateY(0);
    }
}

/* Ensure popup overlay transitions smoothly */
.popup-overlay {
    transition: opacity 0.25s ease;
}

/* ── Accessibility: reduce motion ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .popup-box { transition: none; }
    .mobile-cart-bar { transition: none; }
}



/* ============================================================
   PHOTO GALLERY SECTION  (v5.7)
   ============================================================ */
.gallery-section {
    padding: var(--space-2xl) 0;
    background: var(--cream, #f4f0eb);
}
.gallery-header {
    text-align: center;
    margin-bottom: var(--space-xl, 48px);
}
.gallery-header h2 {
    font-family: var(--font-serif, 'Cormorant Garamond', Georgia, serif);
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--navy, #083A4F);
    font-weight: 500;
    line-height: 1.2;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    aspect-ratio: 4 / 3;
    background: var(--sand, #e8e0d4);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.gallery-item:hover img {
    transform: scale(1.04);
}
.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 14px;
    background: linear-gradient(transparent, rgba(8,58,79,0.72));
    color: #fff;
    font-family: var(--font-mono, 'DM Mono', monospace);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-caption {
    opacity: 1;
}
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .gallery-item:last-child {
        grid-column: 1 / -1;
        aspect-ratio: 16 / 7;
    }
    .gallery-caption {
        opacity: 1;
    }
}
@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-item:last-child {
        grid-column: auto;
        aspect-ratio: 4 / 3;
    }
}
