/*
Theme Name: Suncoast Kitchen
Theme URI: https://suncoastkitchen.com
Author: Suncoast Kitchen
Author URI: https://suncoastkitchen.com
Description: Custom theme for Suncoast Kitchen artisan bakery and chocolatier.
Version: 2.8.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: 80px;
    --header-h:   60px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
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: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal);
    display: block;
    margin-bottom: 12px;
}
.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 28px; }
.section { padding: var(--section-pad) 0; }

/* ============================================================
   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: 14px; }
.cart-trigger {
    background: none; border: none; cursor: pointer;
    position: relative; display: flex; align-items: center;
    color: var(--white); transition: color 0.2s;
}
.cart-trigger:hover { color: var(--gold); }
.cart-badge {
    position: absolute; top: -7px; right: -9px;
    background: var(--gold); color: var(--navy);
    font-size: 9px; width: 17px; height: 17px;
    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: 7px 14px;
    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: 6px;
}
.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: none; 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);
}
.mobile-nav.open { display: flex; }
.mobile-nav 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;
}
.mobile-nav a:hover { color: var(--gold); background: rgba(165,141,102,0.08); }

/* ============================================================
   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); }
.admin-bar .notice-ticker { margin-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); }
    .admin-bar .notice-ticker { margin-top: calc(var(--header-h) + 46px); }
}

/* ============================================================
   NOTICE TICKER
   ============================================================ */
.notice-ticker {
    background: var(--teal); color: var(--white);
    padding: 10px 0; font-size: 11px;
    font-family: 'DM Mono', monospace; text-transform: uppercase;
    text-align: center; margin-top: var(--header-h);
    font-weight: 500; letter-spacing: 0.18em;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 88vh; display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative; background: var(--navy); overflow: hidden;
}
.hero-left {
    display: flex; flex-direction: column;
    justify-content: flex-end; padding: 80px 64px;
    position: relative; z-index: 2;
}
.hero-right { position: relative; overflow: hidden; }
.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: 11px;
    letter-spacing: 0.25em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 24px;
    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(54px, 7vw, 96px);
    font-weight: 400; line-height: 0.92;
    color: var(--white); margin-bottom: 28px; 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: 380px; line-height: 1.75; margin-bottom: 44px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stat {
    position: absolute; bottom: 40px; right: 40px; z-index: 3;
    border: 1px solid rgba(165,141,102,0.4);
    padding: 18px 22px; 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;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.hiw-section {
    background: var(--navy); padding: 100px 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: 70px; }
.hiw-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(44px, 6vw, 78px);
    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: 14px;
    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: 48px 36px; 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: 88px; font-weight: 400; line-height: 1;
    color: rgba(165,141,102,0.2); margin-bottom: 20px;
    display: block; transition: color 0.3s;
}
.hiw-step:hover .hiw-num { color: rgba(165,141,102,0.45); }
.hiw-step-title {
    font-family: 'DM Mono', monospace; font-size: 11px;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 14px; display: block;
}
.hiw-step p { font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.75; }
.hiw-step p strong { color: rgba(255,255,255,0.9); font-weight: 600; }

/* ============================================================
   SECTION HEADER (shared)
   ============================================================ */
.section-header { margin-bottom: 50px; }
.section-header-row {
    display: flex; align-items: flex-end;
    justify-content: space-between; gap: 20px;
}
.section-header h2 {
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.0; color: var(--navy);
}
.section-header h2 em { font-style: italic; color: var(--teal); }
.section-header-desc {
    font-size: 15px; color: #777; max-width: 380px;
    line-height: 1.65; margin-top: 12px;
}

/* ============================================================
   POPULAR ITEMS
   ============================================================ */
.popular-section { background: var(--sand); padding: var(--section-pad) 0; }
.popular-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.popular-card {
    background: var(--white); overflow: hidden;
    cursor: pointer; transition: var(--transition);
    box-shadow: 0 2px 12px rgba(8,58,79,0.06);
}
.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: 28px 24px; }
.popular-card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px; font-weight: 500; color: var(--navy); margin-bottom: 10px;
}
.popular-card-desc {
    font-size: 14px; color: #666; line-height: 1.65; margin-bottom: 22px;
    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; }
.popular-price {
    font-family: 'Cormorant Garamond', serif; font-size: 34px;
    color: var(--teal); font-weight: 400; line-height: 1;
}

/* ============================================================
   SEASONAL
   ============================================================ */
.seasonal-section {
    background: var(--teal); padding: var(--section-pad) 0;
    position: relative; overflow: hidden;
}
.seasonal-section::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(8,58,79,0.3) 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-desc { color: rgba(255,255,255,0.6); }
.seasonal-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.seasonal-card {
    background: rgba(255,255,255,0.07); padding: 40px 32px;
    cursor: pointer; transition: var(--transition); position: relative; overflow: hidden;
}
.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.12); }
.seasonal-card:hover::after { transform: scaleX(1); }
.seasonal-card-img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin-bottom: 22px; border: 2px solid rgba(192,213,214,0.25); }
.seasonal-label {
    font-family: 'DM Mono', monospace; font-size: 10px;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--aqua); margin-bottom: 10px; display: block;
}
.seasonal-title { font-family: 'Cormorant Garamond', serif; font-size: 30px; color: var(--white); margin-bottom: 12px; }
.seasonal-desc {
    font-size: 14px; color: rgba(255,255,255,0.58); line-height: 1.65; margin-bottom: 20px;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.seasonal-price { font-family: 'Cormorant Garamond', serif; font-size: 38px; color: var(--gold); font-weight: 400; line-height: 1; }

/* ============================================================
   FULL MENU
   ============================================================ */
.menu-section { background: var(--white); padding: var(--section-pad) 0; }
.menu-nav {
    display: flex; gap: 0; margin-bottom: 40px;
    border-bottom: 2px solid var(--sand);
}
.menu-filter {
    background: transparent; border: none; padding: 14px 24px;
    font-family: 'DM Mono', monospace; font-size: 11px;
    letter-spacing: 0.14em; text-transform: uppercase;
    cursor: pointer; color: #999; transition: var(--transition);
    white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -2px;
}
.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(260px, 1fr)); gap: 20px; }
.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; 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: 'Cormorant Garamond', serif; font-size: 22px; color: var(--teal); }
.product-desc {
    font-size: 13px; color: #777; margin-bottom: 14px; flex-grow: 1;
    display: -webkit-box; -webkit-line-clamp: 2; -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: 14px; margin-top: auto;
}
.product-footer.soon-footer { justify-content: center; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-section { background: var(--navy); padding: var(--section-pad) 0; overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-img-wrap { position: relative; }
.about-image { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.about-img-frame {
    position: absolute; bottom: -24px; right: -24px;
    width: 120px; height: 120px;
    border: 2px solid rgba(165,141,102,0.4); pointer-events: none;
}
.about-text .kicker { color: var(--aqua); }
.about-text h2 { font-size: clamp(34px, 4vw, 56px); color: var(--white); margin-bottom: 28px; }
.about-text h2 em { font-style: italic; color: var(--gold); }
.about-text p { font-size: 16px; color: rgba(255,255,255,0.6); line-height: 1.85; margin-bottom: 20px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { background: var(--sand); padding: var(--section-pad) 0; }
.faq-section .section-header h2 { color: var(--navy); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 60px; }
.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: 18px 0; background: none; border: none;
    font-family: 'Jost', sans-serif; font-size: 16px; font-weight: 600;
    cursor: pointer; text-align: left; color: var(--navy); gap: 16px; transition: color 0.2s;
}
.faq-trigger:hover { color: var(--teal); }
.faq-trigger span { font-size: 22px; flex-shrink: 0; display: inline-block; 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: 15px; color: #555; line-height: 1.75; }
.faq-item.active .faq-content { max-height: 400px; padding-bottom: 18px; }

/* ============================================================
   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: 58px; height: 58px; object-fit: cover; flex-shrink: 0; }
.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: 28px; height: 28px;
    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: #ccc; 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: #888; 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: 'Cormorant Garamond', serif; font-size: 36px; color: var(--teal); font-weight: 400; margin-bottom: 20px; line-height: 1; }
.popup-divider { width: 44px; height: 2px; background: var(--gold); margin-bottom: 24px; }
.popup-desc { font-size: 15px; color: #555; 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: #999; }
.popup-qty-controls { display: flex; align-items: center; gap: 14px; }
.popup-qty-btn { width: 38px; height: 38px; 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: 38px; height: 38px; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--navy); transition: var(--transition); z-index: 10; }
.popup-close:hover { background: var(--navy); color: var(--white); }

/* ============================================================
   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: #999; 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: 38px; height: 38px; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 16px; 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: #777; 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: #aaa; margin-bottom: 8px; }
.order-history-items { font-size: 13px; color: #666; 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: #ccc; 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: 44px; height: 44px; 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: 56px 0 32px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; padding-bottom: 40px; border-bottom: 1px solid rgba(192,213,214,0.08); margin-bottom: 28px; }
.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: 18px; 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: 20px; display: block; }
.footer-col-links { display: flex; flex-direction: column; gap: 12px; }
.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-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; }

/* ============================================================
   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: 60px; }
    .hero { grid-template-columns: 1fr; min-height: 75vh; }
    .hero-right { display: none; }
    .hero-left { padding: 60px 28px; justify-content: center; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-img-wrap { display: none; }
    .popular-grid { grid-template-columns: 1fr 1fr; }
    .seasonal-strip { grid-template-columns: 1fr 1fr; }
    .faq-grid { grid-template-columns: 1fr; gap: 0; }
    .main-nav { display: none; }
    .nav-toggle { display: flex; }
    .popup-box { grid-template-columns: 1fr; max-width: 440px; }
    .popup-img-side { min-height: 240px; }
    .form-row { grid-template-columns: 1fr; }
    .account-btn span { display: none; }
}
@media (max-width: 600px) {
    :root { --section-pad: 48px; --cart-w: 100vw; }
    .popular-grid { grid-template-columns: 1fr; }
    .seasonal-strip { grid-template-columns: 1fr; }
    .hiw-grid { grid-template-columns: 1fr; }
    .hiw-step { border-right: none; border-bottom: 1px solid rgba(192,213,214,0.1); }
    .hiw-step:last-child { border-bottom: none; }
    .footer-top { grid-template-columns: 1fr; gap: 28px; }
    .footer-top > *:first-child { grid-column: auto; }
    .modal-box { padding: 32px 24px; }
    .account-panel { width: 100vw; }
    .popup-body-side { padding: 32px 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: #333;
    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: #333;
    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;
}
.btn-gold {
    display: inline-block;
    background: var(--gold);
    color: #fff !important;
    padding: 14px 32px;
    border-radius: 4px;
    font-family: 'DM Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-decoration: none !important;
    transition: background 0.2s, transform 0.15s;
}
.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: #999;
    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; }
}


/* ============================================================
   WOOCOMMERCE COMPATIBILITY — v2.3
   These styles only apply when WooCommerce is active.
   The front page design is completely unaffected.
   ============================================================ */

/* Base layout wrapper (our custom wrappers in functions.php handle main) */
.woocommerce-active .woocommerce,
.woocommerce-active .woocommerce-page {
    font-family: 'Jost', sans-serif;
    color: var(--navy-deep);
}

/* Headings */
.woocommerce-active .woocommerce h1,
.woocommerce-active .woocommerce h2,
.woocommerce-active .woocommerce-page h1,
.woocommerce-active .woocommerce-page h2 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    color: var(--navy-deep);
}

/* Buttons — inherit our palette */
.woocommerce-active .woocommerce a.button,
.woocommerce-active .woocommerce button.button,
.woocommerce-active .woocommerce input.button,
.woocommerce-active .woocommerce #respond input#submit,
.woocommerce-active .woocommerce .button.alt,
.woocommerce-active .woocommerce a.button.alt {
    background: var(--teal);
    color: #fff;
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    border-radius: 3px;
    padding: 12px 24px;
    transition: background 0.2s;
}
.woocommerce-active .woocommerce a.button:hover,
.woocommerce-active .woocommerce button.button:hover,
.woocommerce-active .woocommerce .button.alt:hover {
    background: var(--teal-dark);
    color: #fff;
}

/* Product price */
.woocommerce-active .woocommerce .price,
.woocommerce-active .woocommerce ins .amount {
    color: var(--teal-dark);
    font-family: 'Jost', sans-serif;
    font-weight: 600;
}

/* Sale badge */
.woocommerce-active .woocommerce span.onsale {
    background: var(--gold);
    border-radius: 3px;
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 8px;
    min-height: unset;
    line-height: 1;
    min-width: unset;
}

/* Messages / notices */
.woocommerce-active .woocommerce-message,
.woocommerce-active .woocommerce-info {
    border-top-color: var(--teal);
    font-family: 'Jost', sans-serif;
    font-size: 14px;
}
.woocommerce-active .woocommerce-error {
    border-top-color: #c0392b;
    font-family: 'Jost', sans-serif;
    font-size: 14px;
}

/* Breadcrumb (our custom breadcrumb in functions.php sets inline styles too) */
.woocommerce-active .wc-breadcrumb {
    margin-bottom: 24px;
}

/* Form fields */
.woocommerce-active .woocommerce form .form-row input.input-text,
.woocommerce-active .woocommerce form .form-row textarea {
    border: 1px solid var(--sand-deep);
    border-radius: 3px;
    padding: 10px 14px;
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    color: var(--navy-deep);
    transition: border-color 0.2s;
}
.woocommerce-active .woocommerce form .form-row input.input-text:focus,
.woocommerce-active .woocommerce form .form-row textarea:focus {
    border-color: var(--teal);
    outline: none;
    box-shadow: 0 0 0 3px rgba(64,126,140,0.15);
}

/* Order table */
.woocommerce-active .woocommerce table.shop_table {
    border: 1px solid var(--sand-deep);
    border-radius: 4px;
    font-family: 'Jost', sans-serif;
    font-size: 14px;
}
.woocommerce-active .woocommerce table.shop_table th {
    background: var(--navy-deep);
    color: var(--gold-light);
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 12px 16px;
    font-weight: 500;
}
.woocommerce-active .woocommerce table.shop_table td {
    padding: 12px 16px;
    border-top: 1px solid var(--sand-deep);
    vertical-align: middle;
}

/* ============================================================
   v2.5 ADDITIONS
   ============================================================ */

/* Seasonal badge on product card image */
.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;
}

/* 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 — broken/missing images show branded background ───── */
.product-image img,
.popular-card-img img,
.seasonal-card-img,
.popup-img {
    background: var(--aqua-pale);
    /* Show a soft branded placeholder if the image 404s */
    min-height: 180px;
    object-fit: cover;
}
.product-image img[src=""],
.popular-card-img img[src=""],
.popup-img[src=""] {
    opacity: 0;
}

/* ============================================================
   v2.7 — 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 circular placeholder (64×64, circle) */
.sk-img-placeholder-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(192,213,214,0.25);
    margin-bottom: 22px;
    flex-shrink: 0;
}
.sk-img-placeholder-circle .sk-img-placeholder-icon {
    font-size: 26px;
}

/* Remove the light-blue background bleed from v2.5 */
.product-image img,
.popular-card-img img,
.popup-img {
    background: transparent;
    min-height: unset;
}

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

/* Seasonal section: ensure the circular image slot has the right dimensions
   so a broken img doesn't cause layout collapse or alt-text overflow */
.seasonal-card-img {
    display: block;
    flex-shrink: 0;
}
.seasonal-img-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 22px;
    border: 2px solid rgba(192,213,214,0.25);
    flex-shrink: 0;
    position: relative;
}
.seasonal-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* v2.6: Remove old fallback rules from v2.5 that caused light-blue background */

/* ============================================================
   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: #444; 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: #444; line-height: 1.8;
}

