/* ============================================================
   styles.css  —  勝利香蝦廠  Sing Lee Shrimp Factory
   Color: paper #f6efe2 · ink #1c1410 · shrimp-rust #7c2d12
   Aesthetic:  editorial craft  ·  warm paper  ·  display serifs
   ============================================================ */

:root {
    --paper: #f6efe2;
    --paper-deep: #ece2c8;
    --ink: #1c1410;
    --ink-soft: #3a2a20;
    --rust: #7c2d12;
    --rust-mid: #b8420f;
    --rust-light: #d35a1c;
    --rust-soft: #f3cda2;
    --cream: #fffdf7;
}
* { -webkit-font-smoothing: antialiased; box-sizing: border-box; }
html, body { scroll-behavior: smooth; }
body {
    background-color: var(--paper);
    color: var(--ink);
    font-family: 'Noto Sans TC', sans-serif;
    background-image:
        radial-gradient(rgba(124,45,18,0.05) 1px, transparent 1px),
        radial-gradient(rgba(124,45,18,0.04) 1px, transparent 1px);
    background-size: 28px 28px, 14px 14px;
    background-position: 0 0, 7px 7px;
    overflow-x: hidden;
}

/* ----- helpers ----- */
.font-display { font-family: 'Cormorant Garamond', serif; }
.font-serif   { font-family: 'Noto Serif TC', serif; }
.section-eyebrow {
    display: inline-block; padding: 4px 12px;
    border: 1px solid rgba(124,45,18,0.3);
    color: var(--rust); font-size: 10px; font-weight: 700;
    letter-spacing: 0.2em; text-transform: uppercase; border-radius: 999px;
}
.shimmer-text {
    background: linear-gradient(90deg, #7c2d12 0%, #d35a1c 35%, #7c2d12 70%);
    background-size: 200% 100%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 6s linear infinite;
}
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

/* ----- header / nav ----- */
.glass-header {
    background: rgba(246, 239, 226, 0.82);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid rgba(124, 45, 18, 0.12);
}
.brand-mark {
    width: 44px; height: 44px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 18px -8px rgba(124,45,18,0.45), inset 0 0 0 1px rgba(255,253,247,0.5);
    transition: transform 350ms cubic-bezier(0.2,0.8,0.2,1);
}
.brand-mark:hover { transform: rotate(-6deg) scale(1.05); }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }

.nav-link { position: relative; padding-bottom: 4px; }
.nav-link::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0;
    height: 2px; background: var(--rust-mid); border-radius: 1px;
    transform: scaleX(0); transform-origin: left;
    transition: transform 350ms cubic-bezier(0.2,0.8,0.2,1);
}
.nav-link:hover::after { transform: scaleX(1); }

.icon-btn {
    width: 38px; height: 38px; border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--paper-deep);
    color: var(--rust);
    transition: all 250ms ease;
    border: 1px solid rgba(124,45,18,0.15);
}
.icon-btn:hover { background: var(--rust-mid); color: var(--cream); transform: translateY(-1px); }

/* ----- hero / carousel ----- */
.hero-shell { position: relative; overflow: hidden; }
.paper-bg { background: linear-gradient(180deg, #f6efe2 0%, #ede1c4 100%); }
@keyframes drift {
    0% { transform: translate(0,0) rotate(0); opacity: 0; }
    10% { opacity: .7; } 90% { opacity: .5; }
    100% { transform: translate(40px,-120px) rotate(360deg); opacity: 0; }
}
.spice { position: absolute; pointer-events: none; opacity: .7; }

.carousel-track { display: flex; transition: transform 800ms cubic-bezier(0.16,1,0.3,1); will-change: transform; }
.carousel-slide { flex: 0 0 100%; min-width: 0; }
.carousel-slide > img {
    filter: grayscale(20%) brightness(0.74) contrast(1.05);
    transition: filter 700ms ease;
}
.carousel-slide:hover > img { filter: grayscale(0%) brightness(0.82) contrast(1.05); }
/* Grey scrim: darken the entire image so bright slides (beach, sun)
   still let the white title remain readable. Two layers:
   1) a uniform 28% grey wash across the whole image
   2) a heavier gradient rising from the bottom-left where the title sits */
.carousel-slide > .carousel-scrim {
    background:
        linear-gradient(0deg, rgba(28,20,16,0.78) 0%, rgba(28,20,16,0.45) 35%, rgba(28,20,16,0.15) 70%, rgba(28,20,16,0.05) 100%),
        linear-gradient(90deg, rgba(28,20,16,0.55) 0%, rgba(28,20,16,0.18) 45%, rgba(28,20,16,0.05) 100%),
        rgba(28,20,16,0.28);
    z-index: 1;
}
.carousel-title { text-shadow: 0 2px 12px rgba(0,0,0,0.45), 0 0 2px rgba(0,0,0,0.5); }
.carousel-dot { width: 28px; height: 2px; background: rgba(255,253,247,0.4); border-radius: 2px; cursor: pointer; transition: all 300ms ease; }
.carousel-dot.active { background: #fff; width: 44px; }
.carousel-arrow {
    width: 48px; height: 48px; border-radius: 999px;
    background: rgba(255,253,247,0.18); color: var(--cream);
    border: 1px solid rgba(255,253,247,0.3);
    display: inline-flex; align-items: center; justify-content: center;
    backdrop-filter: blur(10px);
    transition: background 250ms ease, transform 250ms ease;
}
.carousel-arrow:hover { background: rgba(255,253,247,0.32); transform: scale(1.05); }

@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.marquee-track { animation: marquee 40s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }

/* ----- product card (editorial showcase) ----- */
.product-card {
    background: var(--cream);
    border: 1px solid rgba(124,45,18,0.1);
    transition: transform 400ms cubic-bezier(0.2,0.8,0.2,1), box-shadow 400ms ease;
    position: relative;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 22px 40px -20px rgba(124,45,18,0.35); }
.product-card .product-img { transition: transform 700ms cubic-bezier(0.2,0.8,0.2,1), filter 400ms ease; filter: grayscale(60%) brightness(0.92) contrast(0.95); }
.product-card:hover .product-img { transform: scale(1.08); filter: grayscale(0%) brightness(1) contrast(1); }
.img-frame { position: relative; overflow: hidden; background: #f3e6cc; }
.img-frame::after { content:''; position:absolute; inset:0; background: linear-gradient(135deg, rgba(255,255,255,0.25), transparent 40%, rgba(124,45,18,0.06)); pointer-events: none; }
.photo-overlay {
    position: absolute; inset: 0; pointer-events: none; z-index: 5;
    background: linear-gradient(180deg, rgba(28,20,16,0) 0%, rgba(28,20,16,0.4) 60%, rgba(28,20,16,0.65) 100%);
}
.photo-corner-tag {
    position: absolute; top: 8px; left: 8px; z-index: 10;
    background: rgba(28,20,16,0.78); color: #fffdf7;
    font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
    padding: 3px 8px; border-radius: 4px; text-transform: uppercase;
    backdrop-filter: blur(4px);
}
.product-badge {
    position: absolute; top: 8px; right: 8px; z-index: 10;
    background: linear-gradient(135deg, #d35a1c, #7c2d12);
    color: #fffdf7;
    font-size: 9px; font-weight: 700; letter-spacing: 0.1em;
    padding: 3px 8px; border-radius: 4px;
    box-shadow: 0 4px 10px -4px rgba(124,45,18,0.5);
}

/* ----- product showcase 3D layered ----- */
.showcase { perspective: 1400px; }
.showcase-stage {
    position: relative;
    aspect-ratio: 4 / 5;
    transition: transform 600ms cubic-bezier(0.2,0.8,0.2,1);
    transform-style: preserve-3d;
    cursor: pointer;
}
.showcase-stage:hover { transform: translateY(-6px) rotateX(2deg); }
.showcase-stage .layer-back {
    position: absolute; inset: 0;
    border-radius: 20px;
    background:
        radial-gradient(circle at 22% 18%, rgba(255,253,247,0.85) 0%, transparent 36%),
        repeating-linear-gradient(135deg, rgba(124,45,18,0.06) 0 2px, transparent 2px 14px),
        linear-gradient(135deg, #f6efe2, #ece2c8);
    box-shadow: 0 30px 50px -30px rgba(124,45,18,0.5), inset 0 0 0 1px rgba(124,45,18,0.08);
}
.showcase-stage .layer-frame {
    position: absolute; inset: 6px;
    border-radius: 16px;
    background: var(--cream);
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(124,45,18,0.12);
}
.showcase-stage .layer-photo {
    position: absolute; inset: 0;
    background-position: center; background-size: cover;
    transition: transform 800ms cubic-bezier(0.2,0.8,0.2,1);
}
.showcase-stage:hover .layer-photo { transform: scale(1.05); }
.showcase-stage .layer-front {
    position: absolute; left: 8px; right: 8px; bottom: -22px;
    background: var(--cream);
    border: 1px solid rgba(124,45,18,0.15);
    border-radius: 16px;
    padding: 12px 14px;
    box-shadow: 0 18px 32px -14px rgba(124,45,18,0.3);
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.showcase-stage .layer-front .name { font-family: 'Noto Serif TC', serif; font-weight: 900; font-size: 14px; line-height: 1.15; }
.showcase-stage .layer-front .price { font-family: 'Noto Serif TC', serif; font-weight: 900; color: var(--rust); font-size: 22px; }
.showcase-stage .layer-thumbs {
    position: absolute; right: 12px; top: 12px;
    display: flex; flex-direction: column; gap: 6px; z-index: 6;
}
.showcase-stage .layer-thumb {
    width: 36px; height: 36px; border-radius: 8px;
    background-position: center; background-size: cover;
    border: 2px solid rgba(255,253,247,0.85);
    box-shadow: 0 4px 10px -4px rgba(0,0,0,0.4);
    transition: transform 250ms ease;
}
.showcase-stage .layer-thumb:hover { transform: translateX(-4px) scale(1.08); }

/* ----- heritage timeline (clean stacked cards) ----- */
.craft-rail {
    position: relative;
    max-width: 880px;
    margin: 0 auto;
    padding-left: 64px;
}
.craft-rail::before {
    content:''; position:absolute; left: 28px; top: 0; bottom: 0; width: 2px;
    background: repeating-linear-gradient(180deg, #7c2d12 0 6px, transparent 6px 12px);
    opacity: .55;
}
.craft-node {
    position: relative;
    margin-bottom: 22px;
}
.craft-medallion {
    position: absolute; left: -64px; top: 14px;
    width: 56px; height: 56px; border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #d35a1c 0%, #7c2d12 60%, #5a1f0a 100%);
    color: #f6efe2;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Noto Serif TC', serif; font-weight: 900; font-size: 15px;
    box-shadow: 0 3px 0 #5a1f0a, 0 6px 16px -4px rgba(124,45,18,0.4), inset 0 -3px 5px rgba(0,0,0,0.25);
    border: 3px solid #f6efe2;
    transition: transform 350ms cubic-bezier(0.2,0.8,0.2,1);
    z-index: 2;
}
.craft-node:hover .craft-medallion { transform: scale(1.08) rotate(-3deg); }
.craft-medallion::before { content:''; position:absolute; inset:3px; border: 1px dashed rgba(246,239,226,0.4); border-radius: 50%; }
.craft-card {
    background: linear-gradient(180deg, #fffdf7 0%, #fdf9ee 100%);
    border: 1px solid rgba(124,45,18,0.2);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 0 rgba(124,45,18,0.06), 0 14px 28px -16px rgba(28,20,16,0.18);
    position: relative;
    display: grid;
    grid-template-columns: 220px 1fr;
    align-items: stretch;
    min-height: 200px;
    transition: transform 400ms cubic-bezier(0.2,0.8,0.2,1), box-shadow 400ms ease, border-color 400ms ease;
}
.craft-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -18px rgba(124,45,18,0.32);
    border-color: rgba(124,45,18,0.35);
}
.craft-card .craft-photo {
    background-position: center; background-size: cover;
    position: relative;
    min-height: 200px;
    border-right: 1px solid rgba(124,45,18,0.12);
}
.craft-card .craft-photo::after {
    content:''; position:absolute; inset:0;
    background: linear-gradient(135deg, rgba(28,20,16,0) 50%, rgba(28,20,16,0.18) 100%);
}
.craft-card .craft-body {
    padding: 22px 26px;
    display: flex; flex-direction: column; justify-content: center;
    min-width: 0;
    position: relative;
}
.craft-card::before {
    content:''; position:absolute; left: -7px; top: 28px;
    border-top: 5px solid transparent; border-bottom: 5px solid transparent;
    border-right: 7px solid #fffdf7;
    filter: drop-shadow(-1px 0 0 rgba(124,45,18,0.18));
    z-index: 1;
}
.craft-craft {
    font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 11px; letter-spacing: 0.18em;
    color: var(--rust); text-transform: uppercase;
}
.craft-craft::before { content: '◆ '; opacity: .6; }
.craft-craft::after  { content: ' ◆'; opacity: .6; }
.craft-title { font-family: 'Noto Serif TC', serif; font-weight: 900; font-size: 22px; color: var(--ink); margin: 4px 0 4px; letter-spacing: 0.01em; line-height: 1.25; }
.craft-roman { font-family: 'Cormorant Garamond', serif; font-size: 12px; font-style: italic; color: var(--rust); letter-spacing: 0.08em; margin-bottom: 8px; }
.craft-copy { font-size: 13px; line-height: 1.7; color: var(--ink-soft); }
.craft-skills { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.craft-skill {
    font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
    padding: 3px 9px; border-radius: 999px;
    background: var(--paper); color: var(--rust); border: 1px solid rgba(124,45,18,0.2);
}
.craft-stamp {
    position: absolute;
    top: 14px; right: 14px;
    background: var(--cream); border: 1.5px solid var(--rust);
    color: var(--rust);
    font-family: 'Noto Serif TC', serif; font-weight: 900; font-size: 9px;
    padding: 6px 10px; border-radius: 999px;
    transform: rotate(-8deg);
    box-shadow: 0 2px 6px -2px rgba(124,45,18,0.3);
    line-height: 1.1;
    white-space: nowrap;
    z-index: 2;
}
@media (min-width: 768px) {
    .craft-card { grid-template-columns: 260px 1fr; min-height: 220px; }
    .craft-card .craft-photo { min-height: 220px; }
    .craft-card .craft-body { padding: 26px 32px; }
    .craft-title { font-size: 26px; }
    .craft-copy { font-size: 13.5px; }
}
@media (max-width: 640px) {
    .craft-rail { padding-left: 44px; }
    .craft-rail::before { left: 18px; }
    .craft-medallion { width: 40px; height: 40px; left: -44px; font-size: 13px; top: 10px; }
    .craft-card { grid-template-columns: 1fr; min-height: 0; }
    .craft-card .craft-photo { min-height: 160px; border-right: 0; border-bottom: 1px solid rgba(124,45,18,0.12); }
    .craft-card .craft-body { padding: 14px 16px; }
    .craft-stamp { display: none; }
    .craft-title { font-size: 18px; }
    .craft-copy { font-size: 12px; }
}

/* ----- map ----- */
.leaflet-container { background: #cfe1f0; font-family: 'Noto Sans TC', sans-serif; }
.leaflet-container .leaflet-control-attribution { font-size: 9px; }
.leaflet-control-zoom a { background: #fffdf7 !important; color: #7c2d12 !important; }
.leaflet-popup-content-wrapper { background: #fffdf7; border: 1px solid rgba(124,45,18,0.2); border-radius: 12px; box-shadow: 0 10px 30px -10px rgba(0,0,0,0.25); }
.leaflet-popup-tip { background: #fffdf7; }
.spot-marker {
    background: #fffdf7; color: #7c2d12; border: 2px solid #7c2d12;
    width: 30px; height: 30px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 12px;
    box-shadow: 0 4px 10px -4px rgba(0,0,0,0.3);
}
.user-marker {
    width: 18px; height: 18px; border-radius: 50%;
    background: #2563eb; border: 3px solid #fff;
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.6);
    animation: pulse-ring 1.8s ease-out infinite;
}
@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7); } 100% { box-shadow: 0 0 0 14px rgba(37, 99, 235, 0); } }

/* ----- calendar ----- */
.day-cell { transition: all 200ms cubic-bezier(0.2,0.8,0.2,1); }
.day-cell:hover:not(:disabled) { background: #b8420f; color: #fffdf7; transform: scale(1.05); }
.day-cell.selected { background: #7c2d12; color: #fffdf7; }

/* ----- receipt ----- */
.receipt-paper {
    background: repeating-linear-gradient(0deg, #fffdf7 0 38px, #f7eedb 38px 39px), #fffdf7;
    filter: drop-shadow(0 20px 25px rgba(0,0,0,0.08));
}

/* ----- cart drawer ----- */
.cart-drawer {
    background: linear-gradient(180deg, #fffdf7 0%, #f6efe2 100%);
    box-shadow: -20px 0 60px -20px rgba(28,20,16,0.4);
    border-left: 1px solid rgba(124,45,18,0.15);
}
.cart-line {
    display: flex; align-items: center; gap: 12px;
    padding: 12px;
    background: rgba(255,253,247,0.7);
    border: 1px solid rgba(124,45,18,0.1);
    border-radius: 14px;
    transition: all 250ms ease;
}
.cart-line:hover { background: rgba(255,253,247,1); border-color: rgba(124,45,18,0.25); transform: translateX(-2px); }
.cart-thumb { width: 56px; height: 56px; border-radius: 10px; background-position: center; background-size: cover; border: 1px solid rgba(124,45,18,0.15); flex-shrink: 0; }
.qty-stepper { display: inline-flex; align-items: center; gap: 2px; background: var(--paper); border: 1px solid rgba(124,45,18,0.15); border-radius: 999px; padding: 2px; }
.qty-stepper button {
    width: 22px; height: 22px; border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center;
    background: transparent; color: var(--rust); transition: all 200ms ease;
}
.qty-stepper button:hover { background: var(--rust-mid); color: var(--cream); }
.qty-stepper .val { font-family: 'Noto Serif TC', serif; font-weight: 900; color: var(--ink); min-width: 22px; text-align: center; font-size: 12px; }

.cart-empty { text-align: center; padding: 60px 12px; color: var(--ink-soft); }

/* ----- toast ----- */
.toast { background: var(--ink); color: var(--paper); }
.toast-host { pointer-events: none; }

/* ----- footer ----- */
.site-footer {
    background: linear-gradient(180deg, #1c1410 0%, #2c0d04 100%);
    border-top: 2px solid var(--rust);
    color: rgba(255,253,247,0.7);
    position: relative;
}
.site-footer::before {
    content:''; position:absolute; top:0; left:0; right:0; height:2px;
    background: linear-gradient(90deg, transparent 0%, var(--rust-light) 50%, transparent 100%);
}
.foot-mark {
    width: 56px; height: 56px; border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 24px -8px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,253,247,0.08);
}
.foot-link { transition: color 250ms ease; }
.foot-link:hover { color: var(--rust-light); }
.foot-icon-btn {
    width: 40px; height: 40px; border-radius: 999px;
    background: rgba(255,253,247,0.06);
    color: rgba(255,253,247,0.75);
    border: 1px solid rgba(255,253,247,0.12);
    display: inline-flex; align-items: center; justify-content: center;
    transition: all 250ms ease;
}
.foot-icon-btn:hover { background: var(--rust-mid); color: var(--cream); border-color: transparent; transform: translateY(-2px); }

/* ----- reveal ----- */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 1; }
.reveal.go { opacity: 0; }
.reveal.go.is-visible { animation: fadeInUp 800ms cubic-bezier(0.2,0.8,0.2,1) both; }

/* ----- misc ----- */
.custom-scrollbar::-webkit-scrollbar { width: 6px; }
.custom-scrollbar::-webkit-scrollbar-track { background: #ece2c8; }
.custom-scrollbar::-webkit-scrollbar-thumb { background-color: #d35a1c; border-radius: 20px; }
.info-row { display: flex; align-items: center; gap: 6px; font-size: 10px; color: var(--ink-soft); }

@media (max-width: 767px) { .nav-desktop { display: none; } }
@media (min-width: 768px) { .nav-mobile-toggle { display: none; } }
/* ============================================================
   SHOP / MARKETPLACE  —  Traditional × Modern
   印章 (chop seal) · 牌匾 (nameplate) · 中英對照 · 現代卡片
   ============================================================ */

/* Section ornament: thin rule with chop on the side */
.shop-section { position: relative; }
.shop-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 28px;
    align-items: end;
}
@media (min-width: 768px) {
    .shop-header {
        grid-template-columns: 96px 1fr auto;
        gap: 24px;
        align-items: center;
    }
}
.shop-header-decor { display: flex; align-items: center; justify-content: flex-start; }
.shop-seal {
    width: 84px; height: 84px;
    display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr;
    place-items: center; gap: 2px;
    background: linear-gradient(135deg, #b8420f 0%, #7c2d12 60%, #5a1f0a 100%);
    color: #fffdf7;
    border: 2px solid #5a1f0a;
    border-radius: 8px;
    padding: 8px;
    box-shadow:
        0 4px 0 #5a1f0a,
        0 10px 24px -8px rgba(124,45,18,0.45),
        inset 0 -4px 8px rgba(0,0,0,0.18);
    transform: rotate(-4deg);
    transition: transform 400ms cubic-bezier(0.2,0.8,0.2,1);
    font-family: 'Noto Serif TC', serif;
    position: relative;
}
.shop-seal::after {
    content:''; position:absolute; inset:4px;
    border: 1px dashed rgba(255,253,247,0.45); border-radius: 4px; pointer-events:none;
}
.shop-section:hover .shop-seal { transform: rotate(-2deg) scale(1.04); }
.shop-seal-char {
    font-weight: 900; font-size: 22px; line-height: 1;
    text-align: center; letter-spacing: -0.02em;
    text-shadow: 0 1px 0 rgba(0,0,0,0.18);
}

.shop-header-text { min-width: 0; }
.shop-title-cn {
    display: inline-block;
    font-family: 'Noto Serif TC', serif;
    font-weight: 900;
    background: linear-gradient(180deg, #1c1410 0%, #3a2a20 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.shop-title-divider {
    display: inline-block;
    width: 1px; height: 1.1em;
    background: rgba(124,45,18,0.4);
    margin: 0 12px; vertical-align: middle;
    position: relative; top: -2px;
}
.shop-title-en {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 500;
    color: var(--rust);
    font-size: 0.55em;
    letter-spacing: 0.04em;
    text-transform: none;
}

/* Toolbar (filters) */
.shop-toolbar {
    position: relative;
    margin-bottom: 28px;
    padding: 14px 0 6px;
}
.shop-toolbar-meta {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 12px;
}
.shop-toolbar-line {
    flex: 1; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124,45,18,0.35), transparent);
}
.shop-toolbar-label {
    font-family: 'Cormorant Garamond', serif;
    font-size: 12px; letter-spacing: 0.2em;
    color: var(--rust); text-transform: uppercase;
    font-weight: 600;
    padding: 2px 12px;
}
.shop-toolbar-label::before { content: '◆ '; opacity: 0.6; }
.shop-toolbar-label::after  { content: ' ◆'; opacity: 0.6; }

.shop-filters {
    display: flex; flex-wrap: wrap; gap: 8px;
}
.filter-btn {
    display: inline-flex; align-items: baseline; gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 12px; font-weight: 700;
    background: var(--cream);
    color: var(--ink-soft);
    border: 1px solid rgba(124,45,18,0.18);
    transition: all 250ms cubic-bezier(0.2,0.8,0.2,1);
    cursor: pointer;
    box-shadow: 0 1px 0 rgba(124,45,18,0.06);
    line-height: 1;
}
.filter-btn:hover {
    background: #fbeed6; color: var(--rust); border-color: rgba(124,45,18,0.35);
    transform: translateY(-1px);
}
.filter-btn .filter-btn-en {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 500;
    font-size: 11px;
    opacity: 0.7;
    letter-spacing: 0.04em;
}
.filter-btn.is-active {
    background: linear-gradient(135deg, #b8420f, #7c2d12);
    color: #fffdf7;
    border-color: #5a1f0a;
    box-shadow:
        0 4px 0 #5a1f0a,
        0 10px 20px -10px rgba(124,45,18,0.45),
        inset 0 -2px 4px rgba(0,0,0,0.15);
}
.filter-btn.is-active .filter-btn-en { opacity: 0.85; color: #f3cda2; }

/* ---------- PRODUCT CARD ---------- */
.product-card {
    position: relative;
    display: flex; flex-direction: column;
    background: var(--cream);
    border: 1px solid rgba(124,45,18,0.15);
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 1px 0 rgba(124,45,18,0.05),
        0 14px 28px -18px rgba(28,20,16,0.18);
    transition: transform 400ms cubic-bezier(0.2,0.8,0.2,1), box-shadow 400ms ease, border-color 400ms ease;
}
.product-card::before {
    content:''; position:absolute; inset:0;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(124,45,18,0.04), transparent 30%);
    pointer-events: none;
    z-index: 1;
}
.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(124,45,18,0.35);
    box-shadow:
        0 2px 0 rgba(124,45,18,0.06),
        0 28px 50px -22px rgba(124,45,18,0.35);
}

/* Image area as button */
.product-card-media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--paper-deep);
    overflow: hidden;
    border: 0;
    padding: 0;
    cursor: pointer;
    text-align: left;
}
.product-card-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 700ms cubic-bezier(0.2,0.8,0.2,1), filter 500ms ease;
    filter: saturate(0.92) brightness(0.96);
    display: block;
}
.product-card-media:hover .product-card-img {
    transform: scale(1.06);
    filter: saturate(1.05) brightness(1);
}
.product-card-shade {
    position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(28,20,16,0) 50%, rgba(28,20,16,0.45) 100%);
}

/* Traditional chop seal in corner */
.product-card-stamp {
    position: absolute; top: 12px; left: 12px;
    width: 44px; height: 44px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, #d35a1c 0%, #7c2d12 70%, #5a1f0a 100%);
    color: #fffdf7;
    font-family: 'Noto Serif TC', serif;
    font-weight: 900; font-size: 18px;
    border: 2px solid #5a1f0a;
    border-radius: 4px;
    box-shadow:
        0 3px 0 #5a1f0a,
        0 6px 14px -6px rgba(0,0,0,0.4),
        inset 0 -2px 4px rgba(0,0,0,0.18);
    transform: rotate(-6deg);
    z-index: 5;
    letter-spacing: -0.05em;
    line-height: 1;
}
.product-card-stamp::after {
    content:''; position:absolute; inset:3px;
    border: 1px dashed rgba(255,253,247,0.45); border-radius: 2px; pointer-events:none;
}
.product-card:hover .product-card-stamp { transform: rotate(-3deg) scale(1.05); }

/* Product badge */
.product-card-badge {
    position: absolute; top: 12px; right: 12px;
    z-index: 5;
    background: rgba(28,20,16,0.85); color: #fffdf7;
    font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
    padding: 4px 9px; border-radius: 4px;
    backdrop-filter: blur(6px);
    text-transform: uppercase;
    box-shadow: 0 4px 10px -4px rgba(0,0,0,0.4);
}

/* Serial number (top-right of image) */
.product-card-serial {
    position: absolute; bottom: 10px; left: 12px;
    z-index: 5;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 11px; font-weight: 500;
    color: rgba(255,253,247,0.85);
    letter-spacing: 0.08em;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

/* Hover quickview overlay */
.product-card-quickview {
    position: absolute;
    left: 50%; bottom: 14px;
    transform: translateX(-50%) translateY(8px);
    z-index: 5;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px;
    background: rgba(28,20,16,0.88);
    color: #fffdf7;
    font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
    border-radius: 999px;
    opacity: 0;
    pointer-events: none;
    transition: all 350ms cubic-bezier(0.2,0.8,0.2,1);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,253,247,0.18);
}
.product-card-media:hover .product-card-quickview,
.product-card-media:focus-visible .product-card-quickview {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Card body */
.product-card-body {
    position: relative;
    z-index: 2;
    padding: 18px 18px 16px;
    display: flex; flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}
.product-card-meta {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(124,45,18,0.12);
}
.product-card-cat {
    display: inline-flex; align-items: baseline; gap: 6px;
    min-width: 0;
}
.product-card-cat-zh {
    font-family: 'Noto Serif TC', serif;
    font-weight: 900; font-size: 12px;
    color: var(--rust);
    letter-spacing: 0.04em;
}
.product-card-cat-en {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 10px;
    color: rgba(124,45,18,0.7);
    letter-spacing: 0.06em;
    text-transform: lowercase;
}
.product-card-rating {
    display: inline-flex; align-items: center; gap: 3px;
    font-family: 'Noto Serif TC', serif;
    font-weight: 900; font-size: 11px;
    color: var(--ink);
    background: #fdf3d8;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid rgba(217,158,73,0.3);
}
.product-card-rating svg { color: #d99a49; }

.product-card-name {
    font-family: 'Noto Serif TC', serif;
    font-weight: 900; font-size: 18px;
    color: var(--ink);
    line-height: 1.25;
    letter-spacing: 0.01em;
    margin: 2px 0 -2px;
}
.product-card-desc {
    font-size: 12px;
    color: var(--ink-soft);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Info grid (4 rows on desktop, 2 cols) */
.product-card-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 10px;
    margin: 4px 0;
    padding: 10px 12px;
    background:
        linear-gradient(180deg, rgba(255,253,247,0.4), rgba(246,239,226,0.3)),
        repeating-linear-gradient(45deg, transparent 0 6px, rgba(124,45,18,0.03) 6px 7px);
    border: 1px solid rgba(124,45,18,0.1);
    border-radius: 10px;
}
.product-card-info > div { min-width: 0; }
.product-card-info dt {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 9px; font-weight: 700; letter-spacing: 0.08em;
    color: var(--ink-soft); opacity: 0.7;
    text-transform: uppercase;
    margin-bottom: 1px;
}
.product-card-info dt svg { color: var(--rust); opacity: 0.8; flex-shrink: 0; }
.product-card-info dd {
    font-size: 11px; font-weight: 600; color: var(--ink);
    line-height: 1.3;
    overflow: hidden; text-overflow: ellipsis;
    white-space: nowrap;
}

/* Footer: price + add to cart */
.product-card-footer {
    display: flex; align-items: stretch; justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 8px;
}
.product-card-price {
    display: flex; flex-direction: column; align-items: flex-start;
    min-width: 0;
}
.product-card-price-cur {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 10px; font-weight: 500;
    color: var(--ink-soft); opacity: 0.7;
    letter-spacing: 0.08em;
    line-height: 1;
}
.product-card-price-val {
    font-family: 'Noto Serif TC', serif;
    font-weight: 900; font-size: 26px;
    color: var(--rust);
    line-height: 1.1;
    letter-spacing: -0.01em;
}
.product-card-cart {
    flex: 1; min-width: 0;
    display: inline-flex; align-items: center; justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    background: linear-gradient(135deg, #b8420f 0%, #7c2d12 100%);
    color: #fffdf7;
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 12px; font-weight: 700;
    border: 1.5px solid #5a1f0a;
    border-radius: 12px;
    cursor: pointer;
    box-shadow:
        0 3px 0 #5a1f0a,
        0 8px 18px -10px rgba(124,45,18,0.4),
        inset 0 -2px 4px rgba(0,0,0,0.15);
    transition: all 200ms cubic-bezier(0.2,0.8,0.2,1);
    letter-spacing: 0.02em;
}
.product-card-cart:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #c84d15 0%, #8b3818 100%);
    box-shadow:
        0 5px 0 #5a1f0a,
        0 12px 22px -10px rgba(124,45,18,0.55),
        inset 0 -2px 4px rgba(0,0,0,0.18);
}
.product-card-cart:active {
    transform: translateY(1px);
    box-shadow:
        0 1px 0 #5a1f0a,
        0 4px 10px -8px rgba(124,45,18,0.4);
}
.product-card-cart svg { transition: transform 200ms ease; }
.product-card-cart:hover svg { transform: rotate(90deg); }

/* Stock indicator */
.product-card-stock {
    display: flex; align-items: center; gap: 6px;
    font-size: 10px; font-weight: 600;
    color: var(--ink-soft); opacity: 0.75;
    letter-spacing: 0.02em;
    padding-top: 4px;
}
.product-card-stock-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #16a34a; flex-shrink: 0;
    box-shadow: 0 0 0 2px rgba(22,163,74,0.18);
}
.product-card-stock.is-low { color: var(--rust); opacity: 0.95; }
.product-card-stock.is-low .product-card-stock-dot {
    background: #d35a1c;
    box-shadow: 0 0 0 2px rgba(211,90,28,0.18);
    animation: pulse-stock 1.8s ease-in-out infinite;
}
@keyframes pulse-stock {
    0%, 100% { box-shadow: 0 0 0 2px rgba(211,90,28,0.18); }
    50%      { box-shadow: 0 0 0 5px rgba(211,90,28,0.05); }
}

/* Responsive card refinements */
@media (max-width: 640px) {
    .product-card-body { padding: 16px 14px 14px; }
    .product-card-name { font-size: 16px; }
    .product-card-price-val { font-size: 22px; }
    .product-card-cart { padding: 9px 12px; font-size: 11.5px; }
    .product-card-stamp { width: 40px; height: 40px; font-size: 16px; top: 10px; left: 10px; }
}
@media (min-width: 1024px) {
    .product-card-info { grid-template-columns: 1fr 1fr; }
    .product-card-info dd { white-space: normal; }
}


/* ============================================================
   PRODUCT DETAIL MODAL — Zoom in / out animation
   ============================================================ */
@keyframes modal-zoom-in {
    0%   { opacity: 0; transform: scale(0.85) translateY(20px); }
    60%  { opacity: 1; transform: scale(1.02) translateY(0); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes modal-zoom-out {
    0%   { opacity: 1; transform: scale(1) translateY(0); }
    100% { opacity: 0; transform: scale(0.92) translateY(10px); }
}
@keyframes overlay-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes overlay-fade-out {
    from { opacity: 1; }
    to   { opacity: 0; }
}
#product-detail.is-opening > #product-detail-panel,
.product-detail-zoom { animation: modal-zoom-in 360ms cubic-bezier(0.16, 1, 0.3, 1) both; transform-origin: center; }
#product-detail.is-opening > div:first-child { animation: overlay-fade-in 280ms ease-out both; }
#product-detail.is-closing > #product-detail-panel,
#product-detail.is-closing .product-detail-zoom { animation: modal-zoom-out 240ms cubic-bezier(0.4, 0, 1, 1) both; }
#product-detail.is-closing > div:first-child { animation: overlay-fade-out 200ms ease-in both; }

/* ============================================================
   MAP MARKERS — clickable 1-5 pins
   ============================================================ */
.spot-marker {
    transition: transform 250ms cubic-bezier(0.2,0.8,0.2,1), box-shadow 250ms ease;
    cursor: pointer;
}
.spot-marker:hover { transform: scale(1.12) rotate(-4deg); box-shadow: 0 8px 16px -4px rgba(124,45,18,0.45) !important; }
.spot-marker.is-visited {
    background: #16a34a !important;
    color: #fffdf7 !important;
    border-color: #14532d !important;
}
.spot-marker.is-active-popup { animation: marker-pulse 1.2s ease-in-out infinite; }
@keyframes marker-pulse {
    0%, 100% { box-shadow: 0 4px 10px -4px rgba(0,0,0,0.3), 0 0 0 0 rgba(124,45,18,0.5); }
    50%      { box-shadow: 0 4px 10px -4px rgba(0,0,0,0.3), 0 0 0 10px rgba(124,45,18,0); }
}

/* ============================================================
   RECIPE in cart drawer
   ============================================================ */
#cart-recipe-section { transition: opacity 250ms ease; }
#cart-recipe-section .recipe-pop { animation: recipe-pop 400ms cubic-bezier(0.16,1,0.3,1) both; }
@keyframes recipe-pop {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* ============================================================
   TRIP BUNDLE PROMO — sales booster tying map trip to cart
   ============================================================ */
:root { --bundle-target: 30; }
.trip-promo {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
    background:
        radial-gradient(circle at 12% 14%, rgba(211,90,28,0.10) 0%, transparent 30%),
        radial-gradient(circle at 90% 90%, rgba(124,45,18,0.08) 0%, transparent 35%),
        repeating-linear-gradient(45deg, transparent 0 12px, rgba(124,45,18,0.025) 12px 13px),
        var(--cream);
    border: 1.5px solid rgba(124,45,18,0.25);
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 4px 0 rgba(124,45,18,0.08),
        0 20px 40px -20px rgba(124,45,18,0.25);
}
@media (min-width: 768px) {
    .trip-promo {
        grid-template-columns: 100px 1fr 220px;
        gap: 28px;
        padding: 28px 32px;
        align-items: center;
    }
}
.trip-promo::before {
    content: ''; position: absolute; inset: 6px;
    border: 1px dashed rgba(124,45,18,0.25); border-radius: 14px;
    pointer-events: none;
}
.trip-promo-art {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    height: 90px;
    color: var(--rust);
}
.trip-promo-icon { width: 80px; height: 80px; color: var(--rust); opacity: 0.85; }
.trip-promo-stamp {
    position: absolute; top: -8px; right: -8px;
    width: 38px; height: 38px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, #d35a1c, #7c2d12);
    color: #fffdf7;
    font-family: 'Noto Serif TC', serif; font-weight: 900; font-size: 11px;
    line-height: 1.05; text-align: center; letter-spacing: 0.04em;
    border: 2px solid #5a1f0a;
    border-radius: 6px;
    transform: rotate(-8deg);
    box-shadow: 0 3px 0 #5a1f0a, 0 6px 12px -4px rgba(124,45,18,0.4);
}
.trip-promo-body { min-width: 0; }
.trip-promo-actions {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
    margin-top: 12px;
}
.trip-promo-cta {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #b8420f, #7c2d12);
    color: #fffdf7;
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 12px; font-weight: 700;
    border: 1.5px solid #5a1f0a;
    border-radius: 12px; cursor: pointer;
    box-shadow: 0 3px 0 #5a1f0a, 0 8px 16px -10px rgba(124,45,18,0.4), inset 0 -2px 4px rgba(0,0,0,0.15);
    transition: all 200ms cubic-bezier(0.2,0.8,0.2,1);
}
.trip-promo-cta:hover { transform: translateY(-2px); background: linear-gradient(135deg, #c84d15, #8b3818); box-shadow: 0 5px 0 #5a1f0a, 0 12px 22px -10px rgba(124,45,18,0.55); }
.trip-promo-cta:active { transform: translateY(1px); box-shadow: 0 1px 0 #5a1f0a; }
.trip-promo-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 700; color: var(--rust);
    padding: 8px 12px;
    border-radius: 999px;
    transition: all 200ms ease;
}
.trip-promo-link:hover { background: rgba(124,45,18,0.08); transform: translateX(2px); }
.trip-promo-progress {
    background: var(--paper);
    border: 1px solid rgba(124,45,18,0.18);
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: inset 0 1px 0 rgba(255,253,247,0.5);
}
.trip-promo-progress-label {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
    color: var(--ink-soft); text-transform: uppercase;
    margin-bottom: 8px;
}
.trip-promo-progress-label #trip-promo-value {
    font-family: 'Cormorant Garamond', serif; font-style: italic;
    font-size: 18px; font-weight: 600;
    color: var(--rust); letter-spacing: 0; text-transform: none;
}
.trip-promo-bar {
    height: 8px; border-radius: 999px;
    background: var(--paper-deep);
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}
.trip-promo-bar-fill {
    height: 100%; width: 0%;
    background: linear-gradient(90deg, #d35a1c 0%, #b8420f 50%, #7c2d12 100%);
    transition: width 600ms cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 8px rgba(184,66,15,0.4);
    position: relative;
}
.trip-promo-bar-fill::after {
    content: ''; position: absolute; right: 0; top: -2px; bottom: -2px; width: 2px;
    background: #fffdf7; box-shadow: 0 0 6px rgba(255,253,247,0.8);
}
.trip-promo-progress-foot {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 10px; font-weight: 600;
    color: var(--ink-soft); opacity: 0.75;
    margin-top: 8px;
}
.trip-promo-progress-foot span:last-child { color: var(--rust); font-weight: 700; opacity: 1; }

/* Light modal: ensure lightcream background works */
.bg-cream { background-color: var(--cream); }


/* ============================================================
   WHATSAPP COMPONENTS — demo banner, floating button, recipe CTA
   ============================================================ */

/* Floating WhatsApp button */
.floating-wa {
    position: fixed;
    right: 18px; bottom: 18px;
    z-index: 75;
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 18px 12px 14px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fffdf7;
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 13px; font-weight: 700;
    border: 2px solid #fff;
    border-radius: 999px;
    cursor: pointer;
    box-shadow:
        0 6px 0 #0a5a4f,
        0 16px 30px -10px rgba(18,140,126,0.55),
        inset 0 -2px 4px rgba(0,0,0,0.15);
    transition: all 250ms cubic-bezier(0.2,0.8,0.2,1);
}
.floating-wa:hover {
    transform: translateY(-2px) scale(1.03);
    background: linear-gradient(135deg, #2ee074 0%, #15a08c 100%);
    box-shadow:
        0 8px 0 #0a5a4f,
        0 20px 36px -10px rgba(18,140,126,0.65),
        inset 0 -2px 4px rgba(0,0,0,0.15);
}
.floating-wa:active {
    transform: translateY(1px);
    box-shadow:
        0 3px 0 #0a5a4f,
        0 8px 18px -8px rgba(18,140,126,0.4);
}
.floating-wa-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 999px;
    border: 2px solid #25D366;
    opacity: 0.6;
    animation: wa-pulse 2.4s ease-out infinite;
    pointer-events: none;
}
@keyframes wa-pulse {
    0%   { transform: scale(0.95); opacity: 0.7; }
    80%  { transform: scale(1.25); opacity: 0; }
    100% { transform: scale(1.25); opacity: 0; }
}
.floating-wa-label { white-space: nowrap; }
@media (max-width: 640px) {
    .floating-wa { right: 12px; bottom: 12px; padding: 10px 14px 10px 10px; }
    .floating-wa-label { display: none; }
}

/* Recipe WA button inside cart */
.recipe-wa-btn {
    width: 100%;
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 9px 12px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fffdf7;
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 11px; font-weight: 700;
    border: 1.5px solid #0a5a4f;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 3px 0 #0a5a4f, 0 6px 12px -8px rgba(18,140,126,0.4), inset 0 -1px 2px rgba(0,0,0,0.15);
    transition: all 200ms cubic-bezier(0.2,0.8,0.2,1);
    letter-spacing: 0.02em;
}
.recipe-wa-btn:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #2ee074 0%, #15a08c 100%);
    box-shadow: 0 4px 0 #0a5a4f, 0 10px 18px -8px rgba(18,140,126,0.5);
}
.recipe-wa-btn:active {
    transform: translateY(1px);
    box-shadow: 0 1px 0 #0a5a4f;
}


/* ============================================================
   TAI O EXPERIENCE — Photo Spots + Factory Tour combined section
   ============================================================ */
.taio-section {
    position: relative;
    background:
        radial-gradient(circle at 0% 0%, rgba(211,90,28,0.06) 0%, transparent 30%),
        radial-gradient(circle at 100% 100%, rgba(124,45,18,0.06) 0%, transparent 35%),
        linear-gradient(180deg, #fff8ed 0%, #f6efe2 100%);
    border: 1.5px solid rgba(124,45,18,0.18);
    border-radius: 28px;
    padding: 40px 24px 48px;
    overflow: hidden;
}
.taio-section::before {
    content: ''; position: absolute; inset: 6px;
    border: 1px dashed rgba(124,45,18,0.2); border-radius: 22px;
    pointer-events: none;
}

/* Header */
.taio-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: center;
    margin-bottom: 28px;
    position: relative;
    z-index: 2;
}
@media (min-width: 768px) {
    .taio-header { grid-template-columns: 96px 1fr auto; gap: 24px; }
}
.taio-header-ornament { display: flex; align-items: center; justify-content: flex-start; }
.taio-chop {
    width: 90px; height: 90px;
    display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr;
    place-items: center; gap: 2px;
    background: linear-gradient(135deg, #b8420f 0%, #7c2d12 60%, #5a1f0a 100%);
    color: #fffdf7;
    border: 2px solid #5a1f0a;
    border-radius: 8px;
    padding: 8px;
    box-shadow:
        0 4px 0 #5a1f0a,
        0 10px 24px -8px rgba(124,45,18,0.45),
        inset 0 -4px 8px rgba(0,0,0,0.18);
    transform: rotate(-4deg);
    font-family: 'Noto Serif TC', serif;
    font-weight: 900; font-size: 22px;
    line-height: 1;
    transition: transform 400ms cubic-bezier(0.2,0.8,0.2,1);
}
.taio-section:hover .taio-chop { transform: rotate(-2deg) scale(1.04); }
.taio-chop-line {
    text-shadow: 0 1px 0 rgba(0,0,0,0.18);
    text-align: center;
}
.taio-chop::after {
    content:''; position:absolute; inset:4px;
    border: 1px dashed rgba(255,253,247,0.45); border-radius: 4px; pointer-events:none;
}

.taio-header-text { min-width: 0; }
.taio-title-cn {
    display: inline-block;
    font-family: 'Noto Serif TC', serif;
    font-weight: 900;
    background: linear-gradient(180deg, #1c1410 0%, #3a2a20 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.taio-title-divider {
    display: inline-block;
    width: 1px; height: 1.1em;
    background: rgba(124,45,18,0.4);
    margin: 0 12px; vertical-align: middle;
    position: relative; top: -2px;
}
.taio-title-en {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 500;
    color: var(--rust);
    font-size: 0.55em;
    letter-spacing: 0.04em;
}

/* Header stats */
.taio-header-stats {
    display: flex; gap: 12px;
}
.taio-stat {
    display: flex; flex-direction: column; align-items: center;
    padding: 10px 16px;
    background: var(--cream);
    border: 1px solid rgba(124,45,18,0.15);
    border-radius: 12px;
    box-shadow: 0 4px 12px -8px rgba(124,45,18,0.18);
    min-width: 78px;
}
.taio-stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600; font-style: italic;
    font-size: 26px; color: var(--rust); line-height: 1;
}
.taio-stat-label {
    font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
    color: var(--ink-soft); opacity: 0.75;
    margin-top: 4px;
    text-transform: uppercase;
}

/* Path ribbon */
.taio-path {
    display: flex; align-items: center; justify-content: center;
    gap: 6px;
    margin: 22px 0 28px;
    padding: 12px 16px;
    background: var(--paper);
    border: 1px solid rgba(124,45,18,0.15);
    border-radius: 999px;
    position: relative;
    z-index: 2;
    overflow-x: auto;
}
.taio-path-step {
    flex-shrink: 0;
    width: 32px; height: 32px;
    display: grid; place-items: center;
    background: var(--cream);
    color: var(--ink-soft);
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600; font-size: 14px;
    border: 2px solid rgba(124,45,18,0.2);
    border-radius: 50%;
    transition: all 300ms ease;
}
.taio-path-step.is-done {
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #fffdf7;
    border-color: #14532d;
    box-shadow: 0 2px 0 #14532d;
}
.taio-path-step.is-active {
    background: linear-gradient(135deg, #d35a1c, #7c2d12);
    color: #fffdf7;
    border-color: #5a1f0a;
    box-shadow: 0 2px 0 #5a1f0a;
    animation: taio-pulse 1.6s ease-in-out infinite;
}
@keyframes taio-pulse {
    0%, 100% { box-shadow: 0 2px 0 #5a1f0a, 0 0 0 0 rgba(124,45,18,0.45); }
    50%      { box-shadow: 0 2px 0 #5a1f0a, 0 0 0 8px rgba(124,45,18,0); }
}
.taio-path-line {
    flex-shrink: 0;
    width: 32px; height: 2px;
    background: linear-gradient(90deg, rgba(124,45,18,0.2), rgba(124,45,18,0.5), rgba(124,45,18,0.2));
    background-size: 200% 100%;
    animation: taio-dash 2s linear infinite;
}
@keyframes taio-dash {
    0%   { background-position: 0 0; }
    100% { background-position: 200% 0; }
}
.taio-path-end {
    flex-shrink: 0;
    padding: 6px 14px;
    background: linear-gradient(135deg, #1c1410, #2c0d04);
    color: #fffdf7;
    font-family: 'Noto Serif TC', serif;
    font-weight: 900; font-size: 12px;
    border-radius: 999px;
    box-shadow: 0 3px 0 #5a1f0a;
    letter-spacing: 0.04em;
}

/* Grid: map left, tour right */
.taio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    position: relative;
    z-index: 2;
}
@media (min-width: 1024px) {
    .taio-grid { grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: stretch; }
}

/* MAP CARD */
.taio-map-card {
    position: relative;
    display: flex; flex-direction: column;
    background: var(--cream);
    border: 1.5px solid rgba(124,45,18,0.25);
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 1px 0 rgba(124,45,18,0.06),
        0 18px 36px -22px rgba(124,45,18,0.22);
}
.taio-map-card::before {
    content: ''; position: absolute; inset: 5px;
    border: 1px dashed rgba(124,45,18,0.18); border-radius: 14px;
    pointer-events: none;
}
.taio-card-head {
    display: flex; align-items: center; gap: 14px;
    padding: 18px 20px 14px;
    border-bottom: 1px solid rgba(124,45,18,0.12);
    background: linear-gradient(180deg, rgba(255,253,247,0.6), transparent);
}
.taio-card-icon {
    width: 42px; height: 42px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, #d35a1c 0%, #7c2d12 100%);
    color: #fffdf7;
    border-radius: 12px;
    box-shadow: 0 3px 0 #5a1f0a, inset 0 -2px 4px rgba(0,0,0,0.15);
    flex-shrink: 0;
}
.taio-locate-btn {
    margin-left: auto;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px;
    background: linear-gradient(135deg, #1c1410, #2c0d04);
    color: #f3cda2;
    font-size: 11px; font-weight: 700;
    border: 1px solid #5a1f0a;
    border-radius: 999px;
    cursor: pointer;
    transition: all 200ms ease;
}
.taio-locate-btn:hover { background: linear-gradient(135deg, #2c0d04, #4a1a08); color: #fffdf7; }

.taio-map-frame {
    position: relative;
    height: 420px;
    background: #cfe1f0;
}
@media (min-width: 1024px) { .taio-map-frame { height: 480px; } }
.taio-gps-status {
    position: absolute; top: 12px; left: 12px;
    z-index: 5;
    background: rgba(255,253,247,0.96);
    backdrop-filter: blur(6px);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 11px; font-weight: 700;
    color: var(--ink-soft);
    display: inline-flex; align-items: center; gap: 6px;
    box-shadow: 0 4px 12px -4px rgba(0,0,0,0.18);
    border: 1px solid rgba(124,45,18,0.1);
}
.taio-alert {
    position: absolute; bottom: 16px; left: 16px; right: 16px;
    z-index: 5;
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #fffdf7;
    padding: 10px 16px;
    border-radius: 12px;
    box-shadow: 0 12px 30px -8px rgba(22,163,74,0.5);
    display: flex; align-items: center; gap: 8px;
    transition: all 500ms cubic-bezier(0.2,0.8,0.2,1);
    transform: translateY(20px); opacity: 0;
    pointer-events: none;
}
.taio-alert.is-shown { transform: translateY(0); opacity: 1; }

.taio-card-foot {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 20px;
    border-top: 1px solid rgba(124,45,18,0.12);
    background: linear-gradient(180deg, transparent, rgba(255,253,247,0.6));
}
.taio-foot-stat {
    display: flex; flex-direction: column;
}
.taio-foot-stat-label {
    font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
    color: var(--ink-soft); opacity: 0.75; text-transform: uppercase;
}
.taio-foot-stat-val {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic; font-weight: 600;
    font-size: 18px; color: var(--rust);
    margin-top: 2px;
}
.taio-foot-link {
    margin-left: auto;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px;
    background: transparent;
    color: var(--rust);
    font-size: 11px; font-weight: 700;
    border: 1px solid rgba(124,45,18,0.25);
    border-radius: 999px;
    transition: all 200ms ease;
}
.taio-foot-link:hover { background: var(--rust); color: #fffdf7; }

/* TOUR CARD */
.taio-tour-card {
    position: relative;
    display: flex; flex-direction: column;
    background: var(--cream);
    border: 1.5px solid rgba(124,45,18,0.25);
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 1px 0 rgba(124,45,18,0.06),
        0 18px 36px -22px rgba(124,45,18,0.22);
}
.taio-tour-card::before {
    content: ''; position: absolute; inset: 5px;
    border: 1px dashed rgba(124,45,18,0.18); border-radius: 14px;
    pointer-events: none; z-index: 1;
}
.taio-tour-banner {
    position: relative;
    height: 180px;
    overflow: hidden;
}
.taio-tour-banner-img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: saturate(0.92) brightness(0.7);
}
.taio-tour-banner-overlay {
    position: absolute; inset: 0;
    display: flex; align-items: flex-end;
    padding: 18px 22px;
    background: linear-gradient(0deg, rgba(28,20,16,0.85) 0%, rgba(28,20,16,0.4) 60%, transparent 100%);
    color: #fffdf7;
    gap: 12px;
}
.taio-tour-banner-stamp {
    width: 50px; height: 50px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, #d35a1c, #7c2d12);
    color: #fffdf7;
    font-family: 'Noto Serif TC', serif;
    font-weight: 900; font-size: 13px;
    line-height: 1.05;
    border: 2px solid #5a1f0a;
    border-radius: 8px;
    transform: rotate(-8deg);
    box-shadow: 0 4px 0 #5a1f0a, 0 6px 14px -4px rgba(124,45,18,0.5);
    flex-shrink: 0;
}
.taio-tour-banner-eyebrow {
    display: inline-block;
    font-size: 10px; font-weight: 700; letter-spacing: 0.15em;
    color: #f3cda2; text-transform: uppercase;
    margin-bottom: 4px;
}
.taio-tour-banner-title {
    font-family: 'Noto Serif TC', serif;
    font-weight: 900; font-size: 22px;
    line-height: 1.2;
    margin-bottom: 4px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.taio-tour-banner-sub {
    font-size: 11px; font-weight: 500;
    color: rgba(255,253,247,0.85);
}

.taio-tour-stops {
    flex-grow: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 20px;
    position: relative; z-index: 2;
}
@media (min-width: 640px) {
    .taio-tour-stops { grid-template-columns: 1fr 1fr; }
}
.taio-tour-stop {
    display: flex; gap: 10px;
    padding: 10px 12px;
    background: var(--paper);
    border: 1px solid rgba(124,45,18,0.12);
    border-radius: 10px;
    transition: all 250ms cubic-bezier(0.2,0.8,0.2,1);
    align-items: flex-start;
}
.taio-tour-stop:hover {
    background: rgba(255,253,247,0.95);
    transform: translateY(-2px);
    box-shadow: 0 10px 18px -10px rgba(124,45,18,0.25);
    border-color: rgba(124,45,18,0.25);
}
.taio-tour-stop-num {
    display: inline-grid; place-items: center;
    width: 26px; height: 26px;
    background: linear-gradient(135deg, #b8420f, #7c2d12);
    color: #fffdf7;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600; font-size: 11px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 2px 0 #5a1f0a;
}
.taio-tour-stop-title {
    font-family: 'Noto Serif TC', serif;
    font-weight: 900; font-size: 12.5px;
    color: var(--ink);
    line-height: 1.3;
}
.taio-tour-stop-desc {
    font-size: 10.5px;
    color: var(--ink-soft);
    line-height: 1.4;
    margin-top: 2px;
}
.taio-tour-stop-icon {
    width: 18px; height: 18px;
    color: var(--rust);
    opacity: 0.6;
    flex-shrink: 0;
    margin-top: 2px;
}

.taio-tour-cta {
    display: flex; align-items: center; gap: 10px;
    padding: 14px 22px;
    background: linear-gradient(135deg, #1c1410, #2c0d04);
    color: #f3cda2;
    font-size: 13px; font-weight: 700;
    text-decoration: none;
    border-top: 1px solid rgba(124,45,18,0.2);
    transition: all 200ms ease;
    position: relative; z-index: 2;
}
.taio-tour-cta:hover { background: linear-gradient(135deg, #2c0d04, #4a1a08); color: #fffdf7; }
.taio-tour-cta:hover .ml-auto { transform: translateX(3px); }

@media (max-width: 1023px) {
    .taio-header { grid-template-columns: 1fr; text-align: center; }
    .taio-header-ornament { justify-content: center; }
    .taio-header-stats { justify-content: center; flex-wrap: wrap; }
    .taio-section { padding: 32px 16px 36px; }
}

/* ============================================================
   SHOPPING CART — colour match with shop cards
   ============================================================ */
.cart-drawer {
    background:
        radial-gradient(circle at 100% 0%, rgba(211,90,28,0.06) 0%, transparent 35%),
        linear-gradient(180deg, #fffdf7 0%, #faf3e3 100%);
    box-shadow: -24px 0 60px -20px rgba(124,45,18,0.4);
    border-left: 1.5px solid rgba(124,45,18,0.25);
}
.cart-drawer > div:first-child {
    background: linear-gradient(135deg, #b8420f 0%, #7c2d12 100%);
    color: #fffdf7;
    border-bottom: 2px solid #5a1f0a;
}
.cart-drawer h3 {
    color: #fffdf7;
}
.cart-drawer > div:first-child button.icon-btn {
    background: rgba(255,253,247,0.18);
    color: #fffdf7;
    border: 1px solid rgba(255,253,247,0.3);
}
.cart-drawer > div:first-child button.icon-btn:hover {
    background: rgba(255,253,247,0.32);
    color: #fffdf7;
}
.cart-line {
    background: linear-gradient(180deg, #fffdf7 0%, #faf3e3 100%);
    border: 1px solid rgba(124,45,18,0.18);
    border-radius: 14px;
    box-shadow: 0 4px 12px -6px rgba(124,45,18,0.12);
}
.cart-line:hover {
    border-color: rgba(124,45,18,0.35);
    background: linear-gradient(180deg, #fffdf7 0%, #fff8ed 100%);
}
.cart-thumb {
    border: 2px solid rgba(124,45,18,0.2);
    box-shadow: 0 2px 6px rgba(124,45,18,0.15);
}
.qty-stepper {
    background: linear-gradient(135deg, #fffdf7, #f6efe2);
    border: 1px solid rgba(124,45,18,0.25);
}
.qty-stepper button {
    color: var(--rust);
}
.qty-stepper button:hover {
    background: linear-gradient(135deg, #d35a1c, #7c2d12);
    color: #fffdf7;
}
.cart-empty {
    background: linear-gradient(180deg, rgba(255,253,247,0.5), rgba(246,239,226,0.4));
    border: 1px dashed rgba(124,45,18,0.25);
    border-radius: 16px;
    padding: 48px 16px;
}
.cart-drawer > div:last-child {
    background: linear-gradient(180deg, #faf3e3 0%, #f6efe2 100%);
    border-top: 1.5px solid rgba(124,45,18,0.25);
}
#checkout-btn {
    background: linear-gradient(135deg, #b8420f 0%, #7c2d12 100%);
    border: 1.5px solid #5a1f0a;
    box-shadow: 0 3px 0 #5a1f0a, 0 8px 18px -8px rgba(124,45,18,0.4), inset 0 -2px 4px rgba(0,0,0,0.15);
}
#checkout-btn:hover {
    background: linear-gradient(135deg, #c84d15, #8b3818);
    transform: translateY(-1px);
}

/* ============================================================
   Timeline (taio-timeline)
   ============================================================ */
.taio-timeline-box {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 0.5rem 2rem;
    margin-bottom: 1rem;
}
.taio-timeline {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    min-width: 640px;
    position: relative;
}
.taio-timeline::before {
    content: '';
    position: absolute;
    top: 1.25rem;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--rust-soft) 0%, var(--rust) 100%);
    z-index: 0;
}
.taio-timeline-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 80px;
}
.taio-timeline-node.origin,
.taio-timeline-node.gen {
    min-width: 100px;
}
.taio-timeline-year {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--rust) 0%, var(--rust-mid) 100%);
    color: #fffdf7;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 6px rgba(124,45,18,0.25);
}
.taio-timeline-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-weight: 700;
    font-size: 0.875rem;
}
.taio-timeline-node.spot .taio-timeline-num {
    background: #fffdf7;
    border: 2px solid var(--rust-soft);
    color: var(--rust);
}
.taio-timeline-node.spot.active .taio-timeline-num {
    background: linear-gradient(135deg, var(--rust-mid) 0%, var(--rust) 100%);
    border-color: var(--rust);
    color: #fffdf7;
    box-shadow: 0 4px 12px rgba(124,45,18,0.3);
}
.taio-timeline-node.spot.done .taio-timeline-num {
    background: linear-gradient(135deg, #2d6a2d 0%, #4a8a4a 100%);
    border-color: #2d6a2d;
    color: #fffdf7;
}
.taio-timeline-label {
    text-align: center;
    font-size: 0.75rem;
    color: var(--ink-soft);
    line-height: 1.3;
    max-width: 90px;
    word-break: keep-all;
}
.taio-timeline-node.origin .taio-timeline-label,
.taio-timeline-node.gen .taio-timeline-label {
    font-weight: 700;
    color: var(--rust);
    max-width: 110px;
}
@media (max-width: 640px) {
    .taio-timeline {
        gap: 0.25rem;
        min-width: 480px;
    }
    .taio-timeline-node {
        min-width: 60px;
    }
    .taio-timeline-year {
        font-size: 0.65rem;
        padding: 1px 6px;
    }
    .taio-timeline-num {
        width: 2rem;
        height: 2rem;
        font-size: 0.75rem;
    }
    .taio-timeline-label {
        font-size: 0.7rem;
        max-width: 70px;
    }
}

/* ============================================================
   SPEC PICKER MODAL
   ============================================================ */
.spec-picker-panel {
    animation: spec-picker-in 320ms cubic-bezier(0.16, 1, 0.3, 1) both;
    transform-origin: center;
}
@keyframes spec-picker-in {
    0%   { opacity: 0; transform: translateY(28px) scale(0.95); }
    60%  { opacity: 1; transform: translateY(0) scale(1.02); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
@media (min-width: 640px) {
    .spec-picker-panel { max-height: calc(100vh - 32px); }
}
.spec-picker-group-label {
    display: flex; align-items: baseline; gap: 8px;
    font-family: 'Noto Serif TC', serif;
    font-weight: 900;
    font-size: 12px;
    color: var(--rust);
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}
.spec-picker-group-en {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 500;
    font-size: 11px;
    color: var(--ink-soft);
    opacity: 0.65;
}
.spec-picker-chips {
    display: flex; flex-wrap: wrap; gap: 8px;
}
.spec-chip {
    display: inline-flex; flex-direction: column; align-items: center;
    padding: 8px 14px;
    background: var(--cream);
    color: var(--ink);
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 13px; font-weight: 700;
    border: 1.5px solid rgba(124,45,18,0.18);
    border-radius: 12px;
    cursor: pointer;
    line-height: 1.15;
    transition: all 200ms cubic-bezier(0.2,0.8,0.2,1);
    min-width: 72px;
    box-shadow: 0 1px 0 rgba(124,45,18,0.04);
}
.spec-chip:hover:not(.is-disabled) {
    background: #fbeed6;
    border-color: rgba(124,45,18,0.4);
    transform: translateY(-1px);
}
.spec-chip.is-active {
    background: linear-gradient(135deg, #b8420f, #7c2d12);
    color: #fffdf7;
    border-color: #5a1f0a;
    box-shadow:
        0 3px 0 #5a1f0a,
        inset 0 -2px 4px rgba(0,0,0,0.18);
}
.spec-chip.is-active .spec-chip-en { color: rgba(255,253,247,0.85); }
.spec-chip.is-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    filter: grayscale(50%);
    pointer-events: none;
}
.spec-chip-zh {
    font-family: 'Noto Serif TC', serif;
    font-weight: 900;
}
.spec-chip-en {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 10px;
    font-weight: 500;
    margin-top: 2px;
    color: var(--ink-soft);
    opacity: 0.7;
}
.spec-picker-back {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 12px 18px;
    background: transparent;
    color: var(--ink-soft);
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 13px; font-weight: 700;
    border: 1.5px solid rgba(124,45,18,0.25);
    border-radius: 12px;
    cursor: pointer;
    transition: all 200ms ease;
}
.spec-picker-back:hover {
    background: rgba(124,45,18,0.06);
    color: var(--rust);
}
.spec-picker-confirm {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 18px;
    background: linear-gradient(135deg, #b8420f 0%, #7c2d12 100%);
    color: #fffdf7;
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 13px; font-weight: 700;
    border: 1.5px solid #5a1f0a;
    border-radius: 12px;
    cursor: pointer;
    box-shadow:
        0 3px 0 #5a1f0a,
        0 8px 18px -10px rgba(124,45,18,0.4),
        inset 0 -2px 4px rgba(0,0,0,0.15);
    transition: all 200ms cubic-bezier(0.2,0.8,0.2,1);
}
.spec-picker-confirm:hover:not(:disabled) {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #c84d15, #8b3818);
    box-shadow: 0 5px 0 #5a1f0a, 0 12px 22px -10px rgba(124,45,18,0.55);
}
.spec-picker-confirm:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    filter: grayscale(40%);
}
.product-card-price-val--vary {
    font-size: 14px;
    line-height: 1.2;
    color: var(--ink-soft);
    letter-spacing: 0.02em;
    font-style: italic;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

/* ============================================================
   LANGUAGE TOGGLE — 中 / EN
   ============================================================ */
.lang-toggle {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 6px 12px;
    background: var(--paper-deep);
    border: 1px solid rgba(124,45,18,0.18);
    border-radius: 999px;
    cursor: pointer;
    font-family: 'Noto Sans TC', sans-serif;
    transition: all 250ms ease;
    height: 38px;
}
.lang-toggle:hover { background: #fbeed6; }
.lang-toggle-opt {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--ink-soft);
    padding: 2px 6px;
    border-radius: 999px;
    transition: all 250ms ease;
    line-height: 1;
}
.lang-toggle-opt.is-active {
    background: linear-gradient(135deg, #b8420f, #7c2d12);
    color: #fffdf7;
    box-shadow: 0 1px 0 #5a1f0a, inset 0 -1px 2px rgba(0,0,0,0.15);
}
.lang-toggle-sep {
    font-size: 11px;
    color: rgba(124,45,18,0.4);
    font-weight: 700;
}

@media (max-width: 768px) {
    .spec-picker-chips { gap: 6px; }
    .spec-chip { padding: 7px 12px; font-size: 12px; min-width: 60px; }
}

/* ============================================================
   HERITAGE ILLUSTRATION STRIP (watercolor paintings)
   ============================================================ */
.heritage-art-wrap {
    position: relative;
    padding: 40px 24px;
    background:
        radial-gradient(circle at 0% 0%, rgba(211,90,28,0.06) 0%, transparent 35%),
        radial-gradient(circle at 100% 100%, rgba(124,45,18,0.07) 0%, transparent 35%),
        linear-gradient(180deg, #fdfaf2 0%, #f6efe2 100%);
    border: 1.5px solid rgba(124,45,18,0.2);
    border-radius: 28px;
    overflow: hidden;
}
.heritage-art-wrap::before {
    content: '';
    position: absolute; inset: 6px;
    border: 1px dashed rgba(124,45,18,0.2);
    border-radius: 22px;
    pointer-events: none;
}
.heritage-art-head {
    position: relative; z-index: 2;
    text-align: center;
    margin-bottom: 28px;
}
.heritage-art-rail {
    position: relative; z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 768px) {
    .heritage-art-rail { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}
.heritage-art-card {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.heritage-art-frame {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--paper-deep);
    border: 1.5px solid rgba(124,45,18,0.25);
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 2px 0 rgba(124,45,18,0.08),
        0 18px 36px -22px rgba(124,45,18,0.4);
    transition: transform 400ms cubic-bezier(0.2,0.8,0.2,1), box-shadow 400ms ease;
}
.heritage-art-frame::before {
    content: '';
    position: absolute; inset: 6px;
    border: 1px dashed rgba(124,45,18,0.18);
    border-radius: 14px;
    pointer-events: none; z-index: 2;
}
.heritage-art-card:hover .heritage-art-frame {
    transform: translateY(-4px) rotate(-0.6deg);
    box-shadow:
        0 4px 0 rgba(124,45,18,0.1),
        0 26px 44px -20px rgba(124,45,18,0.5);
}
.heritage-art-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 800ms cubic-bezier(0.2,0.8,0.2,1), filter 400ms ease;
    filter: saturate(0.94) brightness(0.98);
    display: block;
}
.heritage-art-card:hover .heritage-art-img {
    transform: scale(1.04);
    filter: saturate(1.05) brightness(1);
}
.heritage-art-year {
    position: absolute;
    top: 12px; left: 12px;
    z-index: 3;
    background: rgba(28,20,16,0.82);
    color: #fffdf7;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic; font-weight: 600;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: 0.06em;
    backdrop-filter: blur(4px);
}
.heritage-art-cap {
    padding: 0 6px;
    text-align: center;
}
.heritage-art-cap-zh {
    display: block;
    font-family: 'Noto Serif TC', serif;
    font-weight: 900;
    font-size: 18px;
    color: var(--ink);
    letter-spacing: 0.02em;
}
.heritage-art-cap-en {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 12px;
    color: var(--rust);
    letter-spacing: 0.06em;
    margin-top: 4px;
}
.heritage-art-desc {
    font-size: 12px;
    color: var(--ink-soft);
    line-height: 1.55;
    margin-top: 8px;
    padding: 10px 12px;
    background: rgba(255,253,247,0.7);
    border: 1px solid rgba(124,45,18,0.1);
    border-radius: 10px;
}

/* ============================================================
   RECIPE IMAGE (cart drawer + product detail)
   ============================================================ */
.recipe-image-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--paper-deep);
    border: 1.5px solid rgba(124,45,18,0.2);
    border-radius: 14px;
    overflow: hidden;
    box-shadow:
        0 2px 0 rgba(124,45,18,0.06),
        0 12px 24px -16px rgba(124,45,18,0.3);
}
.recipe-image {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

/* ============================================================
   CHECKPOINT CLAIM BUTTON — glowing / animated states
   ============================================================ */
.checkpoint-claim-btn {
    cursor: pointer;
    border: 0;
    font-family: 'Noto Sans TC', sans-serif;
    transition: all 250ms cubic-bezier(0.2,0.8,0.2,1);
}
.checkpoint-claim-btn.is-active {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
    color: #fffdf7;
    border: 1.5px solid #f59e0b;
    box-shadow:
        0 3px 0 #92400e,
        0 0 0 6px rgba(245,158,11,0.18),
        0 0 22px 4px rgba(245,158,11,0.55),
        inset 0 -2px 4px rgba(0,0,0,0.12);
    animation: checkpoint-glow 1.4s ease-in-out infinite;
}
.checkpoint-claim-btn.is-active:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
}
.checkpoint-claim-btn.is-claimed {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: #fffdf7;
    border: 1.5px solid #14532d;
    box-shadow: 0 3px 0 #14532d, inset 0 -2px 4px rgba(0,0,0,0.15);
}
@keyframes checkpoint-glow {
    0%, 100% {
        box-shadow:
            0 3px 0 #92400e,
            0 0 0 6px rgba(245,158,11,0.18),
            0 0 22px 4px rgba(245,158,11,0.55),
            inset 0 -2px 4px rgba(0,0,0,0.12);
    }
    50% {
        box-shadow:
            0 3px 0 #92400e,
            0 0 0 14px rgba(245,158,11,0.05),
            0 0 38px 12px rgba(245,158,11,0.65),
            inset 0 -2px 4px rgba(0,0,0,0.12);
    }
}

/* Disabled foot icon (Facebook TBD) */
.foot-icon-btn.is-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(40%);
}
.foot-icon-btn.is-disabled:hover { transform: none; }

/* Checkpoint marker on the map (factory star) */
.spot-marker.checkpoint-marker {
    width: 38px; height: 38px;
    background: linear-gradient(135deg, #d35a1c, #7c2d12);
    color: #fffdf7;
    border: 2px solid #5a1f0a;
    font-size: 18px;
    font-weight: 900;
    box-shadow: 0 4px 12px -2px rgba(124,45,18,0.45);
}
.spot-marker.checkpoint-marker.is-visited {
    background: linear-gradient(135deg, #16a34a, #15803d) !important;
    border-color: #14532d !important;
    animation: marker-pulse 1.2s ease-in-out infinite;
}

/* ============================================================
   CHECKPOINT CLAIM BUTTON — glowing / animated states
   ============================================================ */
.checkpoint-claim-btn {
    cursor: pointer;
    border: 0;
    font-family: 'Noto Sans TC', sans-serif;
    transition: all 250ms cubic-bezier(0.2,0.8,0.2,1);
}
.checkpoint-claim-btn.is-active {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
    color: #fffdf7;
    border: 1.5px solid #f59e0b;
    box-shadow:
        0 3px 0 #92400e,
        0 0 0 6px rgba(245,158,11,0.18),
        0 0 22px 4px rgba(245,158,11,0.55),
        inset 0 -2px 4px rgba(0,0,0,0.12);
    animation: checkpoint-glow 1.4s ease-in-out infinite;
}
.checkpoint-claim-btn.is-active:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
}
.checkpoint-claim-btn.is-claimed {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: #fffdf7;
    border: 1.5px solid #14532d;
    box-shadow: 0 3px 0 #14532d, inset 0 -2px 4px rgba(0,0,0,0.15);
}
@keyframes checkpoint-glow {
    0%, 100% {
        box-shadow:
            0 3px 0 #92400e,
            0 0 0 6px rgba(245,158,11,0.18),
            0 0 22px 4px rgba(245,158,11,0.55),
            inset 0 -2px 4px rgba(0,0,0,0.12);
    }
    50% {
        box-shadow:
            0 3px 0 #92400e,
            0 0 0 14px rgba(245,158,11,0.05),
            0 0 38px 12px rgba(245,158,11,0.65),
            inset 0 -2px 4px rgba(0,0,0,0.12);
    }
}

/* Disabled foot icon (Facebook TBD) */
.foot-icon-btn.is-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(40%);
}
.foot-icon-btn.is-disabled:hover { transform: none; }

/* Checkpoint marker on the map (factory star) */
.spot-marker.checkpoint-marker {
    width: 38px; height: 38px;
    background: linear-gradient(135deg, #d35a1c, #7c2d12);
    color: #fffdf7;
    border: 2px solid #5a1f0a;
    font-size: 18px;
    font-weight: 900;
    box-shadow: 0 4px 12px -2px rgba(124,45,18,0.45);
}
.spot-marker.checkpoint-marker.is-visited {
    background: linear-gradient(135deg, #16a34a, #15803d) !important;
    border-color: #14532d !important;
    animation: marker-pulse 1.2s ease-in-out infinite;
}
