/* =========================================================
   Yiwu Spark – Main Stylesheet
   ========================================================= */

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --cream:#FAF7F2;--blush:#F2DDD5;--rose:#C9897A;--dusty:#9E6E65;
  --bark:#3D2118;--sage:#7A9C76;--sage-light:#D4E4D1;
  --text:#2D1F1A;--muted:#7A6560;--gold:#C4A96A;--white:#fff;
  --charcoal:#1A1A1A;--shadow:rgba(61,33,24,.1);
  --radius:8px;--radius-lg:16px;
  --font-serif:'Cormorant Garamond',Georgia,serif;
  --font-sans:'DM Sans',system-ui,sans-serif;
}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:var(--font-sans);background:var(--cream);color:var(--text);font-size:15px;line-height:1.7;overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer}

/* ── NAV ───────────────────────────────────────────────── */
#main-nav{position:sticky;top:0;z-index:200;background:rgba(250,247,242,.97);backdrop-filter:blur(12px);border-bottom:1px solid rgba(201,137,122,.15);padding:0 3rem;display:flex;align-items:center;justify-content:space-between;height:66px}
.logo{font-family:var(--font-serif);font-size:1.55rem;font-weight:400;color:var(--bark);letter-spacing:.02em}
.nav-links{display:flex;gap:2.2rem;list-style:none}
.nav-links a{color:var(--muted);font-size:12px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;transition:color .2s}
.nav-links a:hover,.nav-links a[aria-current="page"]{color:var(--rose)}
.nav-right{display:flex;gap:.8rem;align-items:center}
.nav-btn{background:none;border:none;color:var(--muted);font-size:16px;padding:7px;transition:color .2s;position:relative;line-height:1}
.nav-btn:hover{color:var(--rose)}
.cart-badge{position:absolute;top:-2px;right:-2px;background:var(--rose);color:#fff;width:16px;height:16px;border-radius:50%;font-size:9px;display:flex;align-items:center;justify-content:center;font-weight:700}

/* ── BUTTONS ───────────────────────────────────────────── */
.btn-primary,.btn-bark{display:inline-block;background:var(--bark);color:#fff;border:none;padding:13px 28px;border-radius:3px;font-size:12px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;transition:background .2s}
.btn-primary:hover,.btn-bark:hover{background:var(--dusty);color:#fff}
.btn-ghost-border{display:inline-block;background:transparent;color:var(--bark);border:1.5px solid var(--bark);padding:12px 26px;border-radius:3px;font-size:12px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;transition:all .2s}
.btn-ghost-border:hover{background:var(--bark);color:#fff}
.btn-rose{display:inline-block;background:var(--rose);color:#fff;border:none;padding:12px 28px;border-radius:3px;font-size:12px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;transition:background .2s}
.btn-rose:hover{background:var(--dusty)}
.link-arrow{color:var(--muted);font-size:13px;transition:color .2s}
.link-arrow:hover{color:var(--rose)}

/* ── HERO ──────────────────────────────────────────────── */
.hero{display:grid;grid-template-columns:1fr 1fr;min-height:calc(100vh - 66px)}
.hero-left{padding:5rem 4rem 4rem;display:flex;flex-direction:column;justify-content:center;background:var(--cream)}
.hero-tag{display:inline-flex;align-items:center;gap:8px;background:var(--sage-light);color:#4A7A46;font-size:11px;font-weight:500;letter-spacing:.1em;text-transform:uppercase;padding:6px 16px;border-radius:20px;margin-bottom:2rem;width:fit-content}
.hero-h1{font-family:var(--font-serif);font-size:clamp(2.8rem,4.5vw,4rem);font-weight:300;line-height:1.12;color:var(--bark);margin-bottom:1.5rem}
.hero-h1 em{font-style:italic;color:var(--rose)}
.hero-sub{color:var(--muted);font-size:15px;max-width:380px;margin-bottom:2.5rem;line-height:1.85}
.hero-btns{display:flex;gap:1rem;flex-wrap:wrap;margin-bottom:2rem}
.hero-trust{display:flex;gap:1.5rem;flex-wrap:wrap;font-size:12px;color:var(--muted)}
.hero-trust span{display:flex;align-items:center;gap:5px}
.hero-right{position:relative;overflow:hidden;background:var(--blush);display:flex;align-items:center;justify-content:center}
.hero-img-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--blush),#E8D0C8)}
.hero-img-overlay{text-align:center}
.hero-img-text{font-family:var(--font-serif);font-size:clamp(3rem,6vw,5rem);color:var(--bark);opacity:.25;font-weight:300}
.hero-img-text em{font-style:italic;color:var(--rose)}
.hero-badge{position:absolute;bottom:2.5rem;right:2rem;background:#fff;padding:1rem 1.2rem;border-radius:12px;box-shadow:0 8px 32px var(--shadow);text-align:center}
.hero-badge-num{font-family:var(--font-serif);font-size:2.2rem;font-weight:300;color:var(--rose);display:block;line-height:1}
.hero-badge-label{font-size:11px;color:var(--muted);letter-spacing:.05em;margin-top:2px}

/* ── TRUST BAR ──────────────────────────────────────────── */
.trust-bar{background:var(--charcoal);color:rgba(255,255,255,.8);display:flex;justify-content:center;gap:3rem;padding:1rem 2rem;flex-wrap:wrap}
.trust-item{display:flex;align-items:center;gap:8px;font-size:11.5px;letter-spacing:.06em;text-transform:uppercase}

/* ── SECTIONS ───────────────────────────────────────────── */
.section{padding:5rem 0}
.section-inner{max-width:1300px;margin:0 auto;padding:0 3rem}
.section-label{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--rose);font-weight:500;margin-bottom:.4rem}
.section-title{font-family:var(--font-serif);font-size:clamp(1.9rem,3vw,2.6rem);font-weight:300;color:var(--bark);line-height:1.2;margin-bottom:.8rem}
.section-head{margin-bottom:2.5rem}
.products-header{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:1.5rem;flex-wrap:wrap;gap:1rem}

/* ── FILTERS ────────────────────────────────────────────── */
.filters{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:2rem}
.ftab{background:none;border:1px solid #D4C8C2;color:var(--muted);padding:7px 18px;border-radius:20px;font-size:12px;cursor:pointer;transition:all .2s;font-weight:500;letter-spacing:.03em}
.ftab.active,.ftab:hover{background:var(--bark);color:#fff;border-color:var(--bark)}

/* ── PRODUCT GRID ───────────────────────────────────────── */
.products-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:2rem}
.products-grid-4{grid-template-columns:repeat(4,1fr)}
.product-card{cursor:pointer;transition:transform .25s}
.product-card:hover{transform:translateY(-4px)}
.prod-img-link{display:block}
.prod-img-wrap{width:100%;aspect-ratio:3/4;border-radius:var(--radius);overflow:hidden;margin-bottom:1rem;position:relative}
.prod-img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.product-card:hover .prod-img{transform:scale(1.04)}
.prod-badge{position:absolute;top:12px;left:12px;font-size:10px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;padding:4px 10px;border-radius:3px}
.badge-new{background:var(--sage);color:#fff}
.badge-sale{background:var(--rose);color:#fff}
.badge-best{background:var(--gold);color:#fff;left:auto;right:12px}
.prod-info{padding:0 4px}
.prod-cat{font-size:10px;color:var(--muted);letter-spacing:.08em;text-transform:uppercase;margin-bottom:4px}
.prod-name a{font-size:15px;font-weight:500;color:var(--bark);transition:color .2s}
.prod-name a:hover{color:var(--rose)}
.prod-price{display:flex;align-items:center;gap:.6rem;margin:6px 0 10px}
.price-main{font-family:var(--font-serif);font-size:1.2rem;color:var(--bark)}
.price-compare{font-size:13px;color:var(--muted);text-decoration:line-through}
.prod-add-btn{width:100%;background:var(--bark);color:#fff;border:none;padding:10px;border-radius:3px;font-size:12px;font-weight:500;letter-spacing:.06em;text-transform:uppercase;cursor:pointer;transition:background .2s;opacity:0;transform:translateY(4px);transition:all .2s}
.product-card:hover .prod-add-btn{opacity:1;transform:translateY(0)}
.prod-add-btn:hover{background:var(--rose)}
.prod-add-btn:disabled{background:#ccc;cursor:not-allowed}

/* ── CATEGORIES ─────────────────────────────────────────── */
.cats-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1.2rem}
.cat-card{display:flex;flex-direction:column;align-items:center;gap:.8rem;cursor:pointer;transition:transform .2s}
.cat-card:hover{transform:translateY(-3px)}
.cat-img-wrap{width:100%;aspect-ratio:1;border-radius:var(--radius-lg);overflow:hidden;background:var(--blush)}
.cat-img-wrap img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.cat-card:hover .cat-img-wrap img{transform:scale(1.05)}
.cat-placeholder{width:100%;height:100%;background:linear-gradient(135deg,var(--blush),#E0C8C0)}
.cat-name{font-size:14px;font-weight:500;color:var(--bark)}

/* ── STORY BAND ─────────────────────────────────────────── */
.story-band{background:var(--bark);padding:5rem 3rem}
.story-inner{max-width:1300px;margin:0 auto;display:grid;grid-template-columns:1fr auto;gap:4rem;align-items:center}
.story-text{max-width:500px}
.story-text .section-label{color:var(--rose)}
.story-title{font-family:var(--font-serif);font-size:clamp(1.8rem,3vw,2.4rem);color:var(--cream);font-weight:300;line-height:1.2;margin-bottom:1rem}
.story-body{color:rgba(250,247,242,.7);font-size:14px;line-height:1.8;margin-bottom:2rem}
.story-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem}
.stat-item{text-align:center;padding:1.5rem;background:rgba(255,255,255,.06);border-radius:var(--radius);border:1px solid rgba(255,255,255,.08)}
.stat-num{font-family:var(--font-serif);font-size:2.2rem;color:var(--rose);display:block;font-weight:300}
.stat-label{font-size:11px;color:rgba(250,247,242,.5);letter-spacing:.08em;text-transform:uppercase;margin-top:4px}

/* ── NEWSLETTER ─────────────────────────────────────────── */
.newsletter-section{background:var(--blush);padding:5rem 3rem;text-align:center}
.newsletter-inner{max-width:560px;margin:0 auto}
.newsletter-title{font-family:var(--font-serif);font-size:clamp(1.8rem,3vw,2.4rem);color:var(--bark);font-weight:300;line-height:1.25;margin-bottom:.8rem}
.newsletter-sub{color:var(--muted);font-size:14px;margin-bottom:2rem}
.newsletter-form{display:flex;gap:.5rem;max-width:400px;margin:0 auto}
.newsletter-input{flex:1;padding:12px 16px;border:1.5px solid rgba(201,137,122,.3);border-radius:3px;font-family:var(--font-sans);font-size:14px;background:#fff;outline:none;transition:border-color .2s}
.newsletter-input:focus{border-color:var(--rose)}

/* ── FOOTER ─────────────────────────────────────────────── */
.site-footer{background:var(--bark);color:rgba(250,247,242,.7);padding:4rem 3rem 2rem}
.footer-inner{max-width:1300px;margin:0 auto;display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:3rem;margin-bottom:3rem}
.footer-logo{font-family:var(--font-serif);font-size:1.4rem;color:var(--cream);margin-bottom:.5rem}
.footer-tagline{font-size:12px;color:rgba(250,247,242,.5);letter-spacing:.06em;text-transform:uppercase;margin-bottom:.8rem}
.footer-desc{font-size:13px;line-height:1.7;margin-bottom:1.2rem;max-width:280px}
.footer-social{display:flex;gap:.8rem}
.footer-social a{font-size:1.2rem;transition:opacity .2s}
.footer-social a:hover{opacity:.7}
.footer-nav h4{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:rgba(250,247,242,.4);margin-bottom:1rem;font-weight:500}
.footer-nav ul{list-style:none}
.footer-nav li{margin-bottom:.5rem}
.footer-nav a{font-size:13px;color:rgba(250,247,242,.6);transition:color .2s}
.footer-nav a:hover,.footer-nav a:focus{color:var(--cream)}
.footer-nav span{font-size:13px}
.footer-bottom{max-width:1300px;margin:0 auto;padding-top:2rem;border-top:1px solid rgba(255,255,255,.08);display:flex;justify-content:space-between;flex-wrap:wrap;gap:.5rem}
.footer-bottom p{font-size:12px;color:rgba(250,247,242,.3)}

/* ── BREADCRUMB ─────────────────────────────────────────── */
.breadcrumb{padding:.9rem 3rem;font-size:12px;color:var(--muted);display:flex;align-items:center;gap:6px;border-bottom:1px solid rgba(201,137,122,.08);flex-wrap:wrap}
.breadcrumb a{transition:color .2s}.breadcrumb a:hover{color:var(--rose)}
.breadcrumb .sep{opacity:.4}

/* ── SHOP PAGE ──────────────────────────────────────────── */
.shop-page{max-width:1300px;margin:0 auto;padding:2rem 3rem}
.shop-layout{display:grid;grid-template-columns:220px 1fr;gap:3rem;align-items:start}
.shop-sidebar{position:sticky;top:80px}
.sidebar-title{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-weight:500;margin-bottom:.8rem}
.sidebar-cats{list-style:none}
.sidebar-cats li{margin-bottom:.2rem}
.sidebar-cats a{display:flex;justify-content:space-between;align-items:center;padding:7px 12px;border-radius:4px;font-size:14px;color:var(--text);transition:all .2s}
.sidebar-cats a:hover,.sidebar-cats a.active{background:var(--blush);color:var(--rose)}
.cat-count{font-size:11px;color:var(--muted)}
.shop-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;flex-wrap:wrap;gap:1rem;padding-bottom:1.5rem;border-bottom:1px solid rgba(201,137,122,.1)}
.shop-title{font-family:var(--font-serif);font-size:1.8rem;font-weight:300;color:var(--bark)}
.shop-count{font-size:13px;color:var(--muted);margin-top:2px}
.shop-toolbar-right{display:flex;gap:.8rem;align-items:center}
.search-form{display:flex;align-items:center;background:#fff;border:1px solid #DDD5CC;border-radius:6px;overflow:hidden}
.search-input-sm{padding:8px 12px;border:none;outline:none;font-family:var(--font-sans);font-size:13px;min-width:160px;color:var(--text)}
.search-btn{background:none;border:none;padding:8px 10px;color:var(--muted);cursor:pointer}
.sort-select{padding:8px 12px;border:1px solid #DDD5CC;border-radius:6px;font-family:var(--font-sans);font-size:13px;color:var(--text);background:#fff;cursor:pointer;outline:none}
.empty-state{text-align:center;padding:5rem 2rem}
.empty-icon{font-size:3rem;margin-bottom:1rem}
.empty-state h2{font-family:var(--font-serif);font-size:1.8rem;color:var(--bark);margin-bottom:.5rem}
.empty-state p{color:var(--muted);margin-bottom:2rem}

/* ── PAGINATION ─────────────────────────────────────────── */
.pagination{display:flex;gap:.5rem;justify-content:center;margin-top:3rem;flex-wrap:wrap}
.page-btn{padding:8px 16px;border:1px solid #DDD5CC;border-radius:4px;font-size:13px;color:var(--text);transition:all .2s}
.page-btn:hover,.page-btn.active{background:var(--bark);color:#fff;border-color:var(--bark)}

/* ── PRODUCT DETAIL ──────────────────────────────────────── */
.product-page{max-width:1300px;margin:0 auto;padding:2rem 3rem}
.product-layout{display:grid;grid-template-columns:1fr 1fr;gap:5rem;margin-bottom:5rem;align-items:start}
.gallery-main{position:relative;border-radius:var(--radius-lg);overflow:hidden;margin-bottom:1rem;background:var(--blush);aspect-ratio:3/4}
.gallery-main-img{width:100%;height:100%;object-fit:cover}
.gallery-badge-sale{position:absolute;top:1rem;left:1rem;background:var(--rose);color:#fff;padding:6px 14px;border-radius:3px;font-size:12px;font-weight:600;letter-spacing:.06em}
.gallery-thumbs{display:flex;gap:.5rem;flex-wrap:wrap}
.thumb-btn{border:2px solid transparent;border-radius:var(--radius);overflow:hidden;transition:border-color .2s;background:none;padding:0;width:80px;height:107px;flex-shrink:0}
.thumb-btn img{width:100%;height:100%;object-fit:cover}
.thumb-btn.active{border-color:var(--rose)}
.product-cat-tag a{font-size:11px;color:var(--rose);letter-spacing:.08em;text-transform:uppercase}
.product-title{font-family:var(--font-serif);font-size:clamp(1.8rem,3vw,2.4rem);font-weight:400;color:var(--bark);line-height:1.2;margin:6px 0 12px}
.product-rating{display:flex;align-items:center;gap:.5rem;margin-bottom:1rem}
.stars{display:flex;gap:2px}
.star{color:#E0D0C8;font-size:16px}.star.filled{color:var(--gold)}
.rating-count{font-size:12px;color:var(--muted)}
.product-price-block{display:flex;align-items:baseline;gap:.8rem;margin:1rem 0}
.product-price-main{font-family:var(--font-serif);font-size:2rem;color:var(--bark)}
.product-price-compare{font-size:15px;color:var(--muted);text-decoration:line-through}
.product-price-save{font-size:12px;background:var(--sage-light);color:#2A5C28;padding:3px 8px;border-radius:3px;font-weight:500}
.product-short-desc{color:var(--muted);font-size:14px;line-height:1.8;margin-bottom:1.5rem}
.option-group{margin-bottom:1.2rem}
.option-label{font-size:13px;font-weight:500;color:var(--bark);margin-bottom:.5rem}
.color-swatches{display:flex;gap:.5rem;flex-wrap:wrap}
.color-swatch{width:30px;height:30px;border-radius:50%;border:2px solid transparent;cursor:pointer;transition:border-color .2s;outline-offset:2px}
.color-swatch.active,.color-swatch:hover{border-color:var(--bark)}
.size-options{display:flex;gap:.5rem;flex-wrap:wrap}
.size-btn{padding:8px 16px;border:1px solid #D4C8C2;border-radius:4px;font-size:13px;color:var(--text);background:#fff;cursor:pointer;transition:all .2s}
.size-btn.active,.size-btn:hover{background:var(--bark);color:#fff;border-color:var(--bark)}
.add-to-cart-row{display:flex;gap:.8rem;margin:1.5rem 0}
.qty-ctrl{display:flex;align-items:center;border:1px solid #D4C8C2;border-radius:4px;overflow:hidden}
.qty-ctrl button{background:none;border:none;width:38px;height:44px;font-size:18px;color:var(--bark);cursor:pointer;transition:background .2s}
.qty-ctrl button:hover{background:var(--cream)}
.qty-ctrl input{width:50px;text-align:center;border:none;border-left:1px solid #D4C8C2;border-right:1px solid #D4C8C2;outline:none;font-size:15px;height:44px;background:#fff;color:var(--text)}
.btn-add-to-cart{flex:1;background:var(--bark);color:#fff;border:none;padding:0 1.5rem;height:44px;border-radius:4px;font-size:13px;font-weight:500;letter-spacing:.06em;text-transform:uppercase;cursor:pointer;transition:background .2s;white-space:nowrap}
.btn-add-to-cart:hover{background:var(--rose)}
.btn-sold-out{background:#ccc;cursor:not-allowed}
.btn-sold-out:hover{background:#ccc}
.low-stock-warning{font-size:12px;color:var(--rose);font-weight:500;margin-bottom:.5rem}
.product-trust{display:flex;flex-wrap:wrap;gap:.5rem;margin:1.2rem 0}
.trust-chip{font-size:12px;color:var(--muted);background:var(--cream);padding:5px 12px;border-radius:20px;border:1px solid rgba(201,137,122,.15)}
.product-material{margin-top:1rem;font-size:13px;color:var(--muted)}
.product-tabs{margin-top:2rem;border-top:1px solid rgba(201,137,122,.12)}
.tab-buttons{display:flex;gap:0;margin-bottom:1.5rem;border-bottom:1px solid rgba(201,137,122,.12)}
.tab-btn{background:none;border:none;padding:12px 20px;font-size:13px;font-weight:500;color:var(--muted);cursor:pointer;transition:color .2s;border-bottom:2px solid transparent;margin-bottom:-1px}
.tab-btn.active{color:var(--bark);border-bottom-color:var(--rose)}
.tab-panel{font-size:14px;line-height:1.8;color:var(--muted)}
.tab-panel.hidden{display:none}
.specs-table{width:100%;border-collapse:collapse}
.specs-table th{text-align:left;font-weight:500;color:var(--bark);padding:8px 12px;background:var(--cream);font-size:13px;width:40%}
.specs-table td{padding:8px 12px;font-size:13px;border-bottom:1px solid rgba(201,137,122,.08)}
.review-item{padding:1.2rem 0;border-bottom:1px solid rgba(201,137,122,.08)}
.review-head{display:flex;align-items:center;gap:.8rem;margin-bottom:.4rem}
.review-author{font-weight:500;font-size:14px;color:var(--bark)}
.review-stars{color:var(--gold)}
.verified{font-size:11px;color:var(--sage);font-weight:500}
.review-title{font-weight:500;margin-bottom:.3rem;font-size:14px;color:var(--bark)}
.review-body{font-size:14px;line-height:1.7}
.review-date{font-size:11px;color:var(--muted);margin-top:.5rem;display:block}
.related-section{padding:3rem 0 5rem;border-top:1px solid rgba(201,137,122,.1)}

/* ── CHECKOUT ───────────────────────────────────────────── */
.checkout-page{max-width:1200px;margin:0 auto;padding:2rem 3rem 5rem}
.checkout-title{font-family:var(--font-serif);font-size:2rem;font-weight:300;color:var(--bark);margin-bottom:2rem}
.checkout-layout{display:grid;grid-template-columns:1fr 400px;gap:4rem;align-items:start}
.form-section{margin-bottom:2rem;padding-bottom:2rem;border-bottom:1px solid rgba(201,137,122,.1)}
.form-section-title{font-family:var(--font-serif);font-size:1.2rem;color:var(--bark);margin-bottom:1.2rem}
.field{margin-bottom:1.2rem}
.field label{display:block;font-size:12px;font-weight:500;letter-spacing:.05em;text-transform:uppercase;color:var(--muted);margin-bottom:5px}
.field input,.field select,.field textarea{width:100%;padding:11px 14px;border:1.5px solid #E0D5CE;border-radius:6px;font-family:var(--font-sans);font-size:14px;color:var(--text);outline:none;transition:border-color .2s;background:#fff}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--rose)}
.field textarea{resize:vertical;min-height:80px}
.row-2{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.row-3{display:grid;grid-template-columns:2fr 1fr 1fr;gap:1rem}
.form-errors{background:#FEF2F2;border:1px solid #FECACA;border-radius:8px;padding:1rem 1.2rem;margin-bottom:1.5rem}
.form-errors p{color:#DC2626;font-size:13px;line-height:1.6}
.payment-info-box{background:var(--sage-light);border-radius:8px;padding:1rem 1.2rem;color:#2A5C28;font-size:13px;line-height:1.6}
.checkout-note{font-size:13px;color:var(--muted);margin:1rem 0 1.5rem;font-style:italic}
.btn-place-order{width:100%;padding:14px;background:var(--bark);color:#fff;border:none;border-radius:4px;font-family:var(--font-sans);font-size:13px;font-weight:500;letter-spacing:.06em;text-transform:uppercase;cursor:pointer;transition:background .2s}
.btn-place-order:hover{background:var(--rose)}
.order-summary{background:#fff;border-radius:var(--radius-lg);border:1px solid rgba(201,137,122,.12);padding:1.5rem;position:sticky;top:80px}
.summary-title{font-family:var(--font-serif);font-size:1.3rem;color:var(--bark);margin-bottom:1.2rem;padding-bottom:.8rem;border-bottom:1px solid rgba(201,137,122,.1)}
.summary-item{display:flex;gap:.8rem;align-items:flex-start;margin-bottom:1rem}
.summary-item-img-wrap{position:relative;flex-shrink:0}
.summary-item-img-wrap img{width:60px;height:80px;object-fit:cover;border-radius:4px}
.summary-qty{position:absolute;top:-6px;right:-6px;background:var(--bark);color:#fff;width:20px;height:20px;border-radius:50%;font-size:10px;display:flex;align-items:center;justify-content:center;font-weight:600}
.summary-item-info{flex:1;min-width:0}
.summary-item-name{font-size:13px;font-weight:500;color:var(--bark);display:block}
.summary-item-opts{font-size:11px;color:var(--muted)}
.summary-item-price{font-size:14px;font-weight:500;color:var(--bark);flex-shrink:0}
.summary-totals{margin-top:1.5rem;padding-top:1.2rem;border-top:1px solid rgba(201,137,122,.1)}
.summary-row{display:flex;justify-content:space-between;align-items:center;font-size:13px;margin-bottom:.5rem;color:var(--muted)}
.summary-total{font-family:var(--font-serif);font-size:1.2rem;color:var(--bark);font-weight:400;margin-top:.5rem;padding-top:.5rem;border-top:1px solid rgba(201,137,122,.1)}
.free-label{color:var(--sage);font-weight:500}
.summary-free-ship-hint{font-size:12px;color:var(--rose);margin-top:.8rem;text-align:center}

/* ── CART DRAWER ─────────────────────────────────────────── */
.cart-overlay{position:fixed;inset:0;background:rgba(0,0,0,.4);z-index:299;opacity:0;pointer-events:none;transition:opacity .3s}
.cart-overlay.open{opacity:1;pointer-events:auto}
.cart-drawer{position:fixed;right:-420px;top:0;bottom:0;width:100%;max-width:420px;background:#fff;z-index:300;transition:right .35s cubic-bezier(.25,.46,.45,.94);display:flex;flex-direction:column;box-shadow:-4px 0 32px rgba(0,0,0,.1)}
.cart-drawer.open{right:0}
.cart-head{display:flex;align-items:center;justify-content:space-between;padding:1.2rem 1.5rem;border-bottom:1px solid rgba(201,137,122,.12)}
.cart-title{font-family:var(--font-serif);font-size:1.3rem;color:var(--bark);display:flex;align-items:center;gap:.6rem}
.cart-count-badge{background:var(--rose);color:#fff;font-size:11px;font-weight:700;width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-family:var(--font-sans)}
.cart-close{background:none;border:none;font-size:18px;color:var(--muted);cursor:pointer;padding:4px;transition:color .2s}
.cart-close:hover{color:var(--rose)}
.cart-shipping-bar{padding:.8rem 1.5rem;background:var(--sage-light);border-bottom:1px solid rgba(122,156,118,.2)}
.shipping-progress{height:3px;background:rgba(122,156,118,.3);border-radius:2px;margin-bottom:.5rem;position:relative;overflow:hidden}
.shipping-progress::after{content:'';position:absolute;inset:0;background:var(--sage);width:var(--pct)}
.cart-shipping-bar p{font-size:12px;color:#2A5C28}
.cart-items{flex:1;overflow-y:auto;padding:1rem 1.5rem}
.cart-empty{text-align:center;padding:3rem 1rem}
.cart-empty-icon{font-size:2.5rem;margin-bottom:.8rem}
.cart-empty p{color:var(--muted);margin-bottom:1.5rem}
.cart-item{display:flex;gap:1rem;padding:.8rem 0;border-bottom:1px solid rgba(201,137,122,.07)}
.cart-item-img{width:70px;height:93px;object-fit:cover;border-radius:6px;flex-shrink:0}
.cart-item-info{flex:1;min-width:0}
.cart-item-name{font-size:13px;font-weight:500;color:var(--bark);display:block;margin-bottom:2px}
.cart-item-opts{font-size:11px;color:var(--muted);display:block;margin-bottom:.4rem}
.cart-item-bottom{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}
.qty-ctrl{display:flex;align-items:center;border:1px solid #E0D5CE;border-radius:4px;overflow:hidden}
.qty-ctrl button{background:none;border:none;width:28px;height:28px;font-size:14px;color:var(--bark);cursor:pointer}
.qty-ctrl span{min-width:24px;text-align:center;font-size:13px}
.cart-item-price{font-size:13px;font-weight:500;color:var(--bark);margin-left:auto}
.cart-item-remove{background:none;border:none;color:var(--muted);font-size:12px;cursor:pointer;padding:2px;transition:color .2s}
.cart-item-remove:hover{color:var(--rose)}
.cart-footer{padding:1.2rem 1.5rem;border-top:1px solid rgba(201,137,122,.12)}
.cart-totals{margin-bottom:1rem}
.cart-row{display:flex;justify-content:space-between;font-size:13px;color:var(--muted);margin-bottom:.4rem}
.cart-total{font-family:var(--font-serif);font-size:1.2rem;color:var(--bark);margin-top:.5rem;padding-top:.5rem;border-top:1px solid rgba(201,137,122,.1)}
.free-ship{color:var(--sage);font-weight:500}
.btn-checkout{display:block;width:100%;text-align:center;background:var(--bark);color:#fff;padding:13px;border-radius:3px;font-size:13px;font-weight:500;letter-spacing:.06em;text-transform:uppercase;transition:background .2s;margin-bottom:.6rem}
.btn-checkout:hover{background:var(--rose);color:#fff}
.cart-view-link{display:block;text-align:center;font-size:12px;color:var(--muted);transition:color .2s}
.cart-view-link:hover{color:var(--rose)}

/* ── SEARCH PAGE ─────────────────────────────────────────── */
.search-page{max-width:1300px;margin:0 auto;padding:2rem 3rem 5rem}
.search-hero{padding:3rem 0;text-align:center;margin-bottom:2rem}
.search-form-lg{display:flex;max-width:560px;margin:0 auto;border:2px solid rgba(201,137,122,.3);border-radius:4px;overflow:hidden}
.search-input-lg{flex:1;padding:14px 20px;border:none;outline:none;font-family:var(--font-sans);font-size:16px;background:#fff}
.search-btn-lg{background:var(--bark);color:#fff;border:none;padding:0 24px;font-size:14px;cursor:pointer;transition:background .2s}
.search-btn-lg:hover{background:var(--rose)}

/* ── ORDER SUCCESS ───────────────────────────────────────── */
.success-page{max-width:680px;margin:5rem auto;padding:0 2rem;text-align:center}
.success-icon{font-size:4rem;margin-bottom:1.5rem}
.success-title{font-family:var(--font-serif);font-size:2.5rem;color:var(--bark);margin-bottom:.5rem}
.success-sub{color:var(--muted);font-size:15px;margin-bottom:2.5rem}
.order-detail-box{background:#fff;border:1px solid rgba(201,137,122,.15);border-radius:var(--radius-lg);padding:2rem;text-align:left;margin-bottom:2rem}
.order-detail-row{display:flex;justify-content:space-between;padding:.6rem 0;border-bottom:1px solid rgba(201,137,122,.07);font-size:14px}
.order-detail-row:last-child{border-bottom:none}
.order-detail-label{color:var(--muted)}
.order-detail-val{font-weight:500;color:var(--bark)}

/* ── 404 ─────────────────────────────────────────────────── */
.page-404{max-width:500px;margin:8rem auto;padding:0 2rem;text-align:center}
.page-404 h1{font-family:var(--font-serif);font-size:8rem;color:var(--blush);font-weight:300;line-height:1}
.page-404 h2{font-family:var(--font-serif);font-size:2rem;color:var(--bark);margin-bottom:.8rem}
.page-404 p{color:var(--muted);margin-bottom:2rem}

/* ── UTILITIES ───────────────────────────────────────────── */
.hidden{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width:1024px){
  .hero{grid-template-columns:1fr}
  .hero-right{display:none}
  .hero-left{padding:4rem 2rem}
  .footer-inner{grid-template-columns:1fr 1fr}
  .product-layout{grid-template-columns:1fr;gap:2rem}
  .checkout-layout{grid-template-columns:1fr;gap:2rem}
  .shop-layout{grid-template-columns:1fr}
  .shop-sidebar{display:none}
  .story-inner{grid-template-columns:1fr}
}
@media (max-width:768px){
  #main-nav{padding:0 1.5rem}
  .nav-links{display:none}
  .section{padding:3rem 0}
  .section-inner{padding:0 1.5rem}
  .products-grid{grid-template-columns:repeat(2,1fr);gap:1rem}
  .products-grid-4{grid-template-columns:repeat(2,1fr)}
  .story-stats{grid-template-columns:repeat(2,1fr)}
  .footer-inner{grid-template-columns:1fr}
  .breadcrumb{padding:.7rem 1.5rem}
  .shop-page,.checkout-page,.product-page{padding:1.5rem}
  .trust-bar{gap:1.5rem}
  .row-2,.row-3{grid-template-columns:1fr}
}
@media (max-width:480px){
  .products-grid{grid-template-columns:repeat(2,1fr);gap:.8rem}
  .hero-left{padding:3rem 1.5rem}
  .hero-h1{font-size:2.2rem}
  .newsletter-form{flex-direction:column}
  .newsletter-input{border-radius:3px}
  .btn-rose{width:100%;border-radius:3px;text-align:center}
}

/* ============================================
   LEGAL PAGES (Privacy, Cookies, Terms)
   ============================================ */
.legal-page { padding: 3rem 0 5rem; }
.legal-inner { max-width: 760px; margin: 0 auto; padding: 0 1.5rem; }
.legal-inner h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 300; color: var(--bark);
  margin-bottom: 0.4rem; line-height: 1.15;
}
.legal-updated { font-size: 12px; color: var(--muted); margin-bottom: 2.5rem; }
.legal-inner h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem; font-weight: 400; color: var(--bark);
  margin: 2rem 0 0.7rem;
}
.legal-inner p, .legal-inner ul, .legal-inner ol {
  font-size: 14px; color: var(--muted); line-height: 1.95; margin-bottom: 0.8rem;
}
.legal-inner ul, .legal-inner ol { padding-left: 1.5rem; }
.legal-inner li { margin-bottom: 5px; }
.legal-inner a { color: var(--rose); }
.legal-table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 1rem 0; }
.legal-table th { background: var(--cream); padding: 10px 14px; text-align: left; font-weight: 500; color: var(--bark); border-bottom: 2px solid rgba(201,137,122,0.2); }
.legal-table td { padding: 10px 14px; border-bottom: 1px solid rgba(201,137,122,0.1); color: var(--muted); vertical-align: top; }

/* ============================================
   TRACK ORDER PAGE
   ============================================ */
.track-page { padding: 3rem 0 5rem; }
.track-inner { max-width: 600px; margin: 0 auto; padding: 0 1.5rem; }
.section-label-sm { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rose); font-weight: 500; margin-bottom: 0.5rem; }
.track-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 300; color: var(--bark); margin-bottom: 0.5rem; }
.track-sub { font-size: 14px; color: var(--muted); margin-bottom: 2rem; line-height: 1.7; }
.track-form-card { background: white; border-radius: 12px; padding: 2rem; border: 1px solid rgba(201,137,122,0.15); box-shadow: 0 4px 20px rgba(61,33,24,0.06); margin-bottom: 1.5rem; }
.track-form .field { margin-bottom: 1rem; }
.track-form label { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; color: var(--bark); margin-bottom: 6px; }
.track-form input { width: 100%; padding: 11px 14px; border: 1.5px solid #D4C8C2; border-radius: 7px; font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--text); background: var(--cream); outline: none; transition: border-color 0.2s; }
.track-form input:focus { border-color: var(--rose); }
.btn-rose-full { width: 100%; background: var(--rose); color: white; border: none; padding: 13px; border-radius: 7px; font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 500; cursor: pointer; transition: background 0.2s; letter-spacing: 0.06em; margin-top: 6px; }
.btn-rose-full:hover { background: var(--dusty); }
.track-error { background: #FEE2E2; color: #B91C1C; padding: 1rem 1.2rem; border-radius: 8px; font-size: 14px; margin-bottom: 1.5rem; }
.track-result { background: white; border-radius: 12px; padding: 1.8rem; border: 1px solid rgba(201,137,122,0.15); box-shadow: 0 4px 20px rgba(61,33,24,0.06); }
.track-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.2rem; flex-wrap: wrap; gap: 1rem; }
.track-order-no { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 400; color: var(--bark); }
.track-customer { font-size: 13px; color: var(--muted); }
.track-status-badge { font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 12px; border-radius: 12px; }
.track-status-pending    { background: #FEF3C7; color: #92400E; }
.track-status-paid       { background: #DBEAFE; color: #1E40AF; }
.track-status-processing { background: var(--sage-light); color: #3A6A37; }
.track-status-shipped    { background: #EDE9FE; color: #5B21B6; }
.track-status-delivered  { background: #D1FAE5; color: #065F46; }
.track-status-refunded   { background: #FEE2E2; color: #B91C1C; }
.tracking-number-box { background: #EDE9FE; border-radius: 8px; padding: 10px 14px; font-size: 13px; color: #5B21B6; margin-bottom: 1.2rem; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.track-carrier-link { color: #5B21B6; font-weight: 500; margin-left: auto; }
.track-timeline { position: relative; padding-left: 2.2rem; margin-bottom: 1.5rem; }
.track-timeline::before { content: ''; position: absolute; left: 9px; top: 10px; width: 2px; height: calc(100% - 20px); background: #EDE7E2; }
.track-step { position: relative; margin-bottom: 1.5rem; display: flex; gap: 1rem; align-items: flex-start; }
.track-dot { position: absolute; left: -2.2rem; top: 2px; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; border: 3px solid white; }
.track-step.done .track-dot { background: var(--sage); color: white; box-shadow: 0 0 0 2px var(--sage); }
.track-step.active .track-dot { background: var(--rose); color: white; box-shadow: 0 0 0 4px rgba(201,137,122,0.2); }
.track-step.pending .track-dot { background: #EDE7E2; box-shadow: 0 0 0 2px #EDE7E2; }
.track-step-name { font-size: 14px; font-weight: 500; color: var(--bark); margin-bottom: 2px; }
.track-step-sub { font-size: 12px; color: var(--muted); }
.track-step-date { font-size: 11px; color: var(--muted); margin-top: 2px; }
.track-step.pending .track-step-name { color: var(--muted); }
.track-items h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 400; color: var(--bark); margin-bottom: 1rem; }
.track-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(201,137,122,0.09); align-items: center; }
.track-item:last-child { border-bottom: none; }
.track-item-img { width: 52px; height: 64px; border-radius: 7px; object-fit: cover; flex-shrink: 0; }
.track-item-name { font-size: 14px; font-weight: 500; color: var(--bark); margin-bottom: 3px; }
.track-item-meta { font-size: 12px; color: var(--muted); }
.track-help { font-size: 13px; color: var(--muted); margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(201,137,122,0.12); }
.track-help a { color: var(--rose); }

/* ============================================
   JOURNAL POST PAGE
   ============================================ */
.journal-post-page { padding: 2rem 0 5rem; }
.journal-post-inner { max-width: 700px; margin: 0 auto; padding: 0 1.5rem; }
.post-header { margin-bottom: 2.5rem; }
.post-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 300; color: var(--bark); line-height: 1.15; margin: 0.6rem 0 1rem; }
.post-meta { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 1rem; }
.post-excerpt { font-size: 1.05rem; color: var(--muted); line-height: 1.8; font-style: italic; padding-left: 1.2rem; border-left: 3px solid var(--rose); }
.post-content { font-size: 15px; color: #3D2820; line-height: 1.95; }
.post-content h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 400; color: var(--bark); margin: 2.5rem 0 0.8rem; }
.post-content p { margin-bottom: 1.2rem; }
.post-content ul, .post-content ol { padding-left: 1.5rem; margin-bottom: 1.2rem; }
.post-content li { margin-bottom: 6px; line-height: 1.8; }
.post-content strong { color: var(--bark); font-weight: 500; }
.post-content em { font-style: italic; }
.post-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(201,137,122,0.15); flex-wrap: wrap; gap: 1rem; }
.back-to-journal { font-size: 13px; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.back-to-journal:hover { color: var(--rose); }
.btn-rose-sm { background: var(--rose); color: white; border: none; padding: 10px 20px; border-radius: 4px; font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 500; cursor: pointer; transition: background 0.2s; text-decoration: none; letter-spacing: 0.05em; }
.btn-rose-sm:hover { background: var(--dusty); }

/* ============================================
   CMS PAGE
   ============================================ */
.cms-page { padding: 3rem 0 5rem; }
.cms-inner { max-width: 760px; margin: 0 auto; padding: 0 1.5rem; }
.cms-inner h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.8rem,4vw,2.4rem); font-weight: 300; color: var(--bark); margin-bottom: 2rem; }
.cms-content h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 400; color: var(--bark); margin: 2rem 0 0.7rem; }
.cms-content h3 { font-size: 1rem; font-weight: 500; color: var(--bark); margin: 1.5rem 0 0.5rem; }
.cms-content p { font-size: 14px; color: var(--muted); line-height: 1.9; margin-bottom: 0.9rem; }
.cms-content ul, .cms-content ol { padding-left: 1.5rem; font-size: 14px; color: var(--muted); line-height: 2; margin-bottom: 1rem; }

/* ============================================
   PAYMENT PAGES
   ============================================ */
.payment-guide { background: #FAF7F2; border-radius: 7px; padding: 0.9rem 1rem; font-size: 12px; color: #7A6560; line-height: 1.8; margin-top: 10px; }
.payment-guide code { background: #EDE7E2; padding: 1px 6px; border-radius: 4px; font-family: monospace; font-size: 11px; color: #3D2118; }

/* ============================================
   FLASH MESSAGES (admin)
   ============================================ */
.flash { padding: 12px 16px; border-radius: 8px; font-size: 14px; margin-bottom: 1.5rem; }
.flash-success { background: #D1FAE5; color: #065F46; }
.flash-error { background: #FEE2E2; color: #B91C1C; }
/* =====================================================
   Yiwu Spark – CSS Patch
   追加到 assets/css/main.css 末尾
   ===================================================== */

/* ── MOBILE NAV ─────────────────────────────────────── */
.mobile-menu-btn { display: none; }
.mobile-nav {
  position: fixed; top: 66px; left: 0; right: 0; bottom: 0;
  background: var(--cream); z-index: 190;
  transform: translateX(-100%); transition: transform .3s cubic-bezier(.25,.46,.45,.94);
  padding: 2rem; overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav ul { list-style: none; }
.mobile-nav li { border-bottom: 1px solid rgba(201,137,122,.1); }
.mobile-nav a {
  display: block; padding: 1rem 0;
  font-size: 1.1rem; font-weight: 500; color: var(--bark);
  letter-spacing: .02em; transition: color .2s;
}
.mobile-nav a:hover { color: var(--rose); }
.mobile-nav-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.35);
  z-index: 189; display: none;
}
.mobile-nav-overlay.open { display: block; }

@media (max-width: 768px) {
  .nav-links      { display: none !important; }
  .mobile-menu-btn{ display: flex !important; }
}

/* ── COOKIE CONSENT BANNER ───────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9998;
  background: var(--charcoal); color: rgba(255,255,255,.88);
  padding: 1rem 2rem; box-shadow: 0 -4px 24px rgba(0,0,0,.18);
  transform: translateY(100%); transition: transform .4s cubic-bezier(.25,.46,.45,.94);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
}
.cookie-banner-text p { font-size: 13px; line-height: 1.6; }
.cookie-banner-text a { color: var(--rose); text-decoration: underline; }
.gdpr-label { opacity: .6; font-size: 11px; margin-left: .3rem; }
.cookie-banner-actions { display: flex; gap: .6rem; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn {
  padding: 8px 18px; border: none; border-radius: 3px;
  font-family: var(--font-sans); font-size: 11px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: all .2s;
}
.cookie-btn-customize { background: transparent; color: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.25); }
.cookie-btn-customize:hover { border-color: rgba(255,255,255,.5); color: #fff; }
.cookie-btn-decline { background: rgba(255,255,255,.12); color: rgba(255,255,255,.8); }
.cookie-btn-decline:hover { background: rgba(255,255,255,.2); }
.cookie-btn-accept { background: var(--rose); color: #fff; }
.cookie-btn-accept:hover { background: var(--dusty); }

/* Cookie Modal */
.cookie-modal {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.5); display: flex;
  align-items: center; justify-content: center; padding: 1.5rem;
}
.cookie-modal-inner {
  background: #fff; border-radius: 12px; width: 100%; max-width: 480px;
  box-shadow: 0 20px 60px rgba(0,0,0,.2); overflow: hidden;
}
.cookie-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 1.5rem; border-bottom: 1px solid rgba(201,137,122,.12);
}
.cookie-modal-title { font-family: var(--font-serif); font-size: 1.2rem; color: var(--bark); }
.cookie-modal-close { background: none; border: none; font-size: 16px; color: var(--muted); cursor: pointer; padding: 4px; }
.cookie-modal-body { padding: 1.2rem 1.5rem; }
.cookie-pref-item {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1rem; padding: .9rem 0; border-bottom: 1px solid rgba(201,137,122,.08);
}
.cookie-pref-item:last-child { border-bottom: none; }
.cookie-pref-name { font-weight: 500; font-size: 14px; color: var(--bark); margin-bottom: 3px; }
.cookie-pref-desc { font-size: 12px; color: var(--muted); line-height: 1.5; }
.cookie-modal-foot {
  padding: 1rem 1.5rem; border-top: 1px solid rgba(201,137,122,.1);
  display: flex; gap: .5rem; justify-content: flex-end;
}
/* Toggle switch */
.cookie-toggle { position: relative; display: inline-block; width: 42px; height: 24px; flex-shrink: 0; cursor: pointer; }
.cookie-toggle input { opacity: 0; width: 0; height: 0; }
.cookie-toggle-slider {
  position: absolute; inset: 0; background: #D4C8C2; border-radius: 24px; transition: .2s;
}
.cookie-toggle-slider::before {
  content: ''; position: absolute; width: 18px; height: 18px;
  left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: .2s;
}
.cookie-toggle input:checked + .cookie-toggle-slider { background: var(--sage); }
.cookie-toggle input:checked + .cookie-toggle-slider::before { transform: translateX(18px); }
.cookie-toggle-disabled { opacity: .5; cursor: not-allowed; }

/* ── JOURNAL PAGE ────────────────────────────────────── */
.journal-page { max-width: 1300px; margin: 0 auto; padding: 2rem 3rem 5rem; }
.journal-hero { text-align: center; padding: 2rem 0 3rem; }
.journal-sub { color: var(--muted); font-size: 15px; max-width: 460px; margin: .5rem auto 0; }

/* Featured post */
.journal-featured {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid rgba(201,137,122,.1); margin-bottom: 3rem;
  box-shadow: 0 2px 16px rgba(61,33,24,.05);
}
.journal-featured-img { background: var(--blush); min-height: 360px; display: flex; align-items: center; justify-content: center; }
.journal-featured-content { padding: 2.5rem 2.5rem 2.5rem 1rem; display: flex; flex-direction: column; justify-content: center; }
.journal-featured-title { font-family: var(--font-serif); font-size: clamp(1.5rem,2.5vw,2rem); color: var(--bark); font-weight: 300; line-height: 1.25; margin: .5rem 0 1rem; }
.journal-featured-excerpt { color: var(--muted); font-size: 14px; line-height: 1.8; margin-bottom: 1.2rem; }
.journal-read-btn { align-self: flex-start; margin-top: auto; }

/* Post grid */
.journal-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(300px,1fr)); gap: 1.5rem; }
.journal-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(201,137,122,.1); transition: transform .25s, box-shadow .25s; }
.journal-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(61,33,24,.08); }
.journal-card-link { display: block; text-decoration: none; color: inherit; }
.journal-card-img { background: var(--blush); height: 200px; display: flex; align-items: center; justify-content: center; }
.journal-card-body { padding: 1.2rem; }
.journal-card-title { font-family: var(--font-serif); font-size: 1.15rem; color: var(--bark); font-weight: 400; line-height: 1.3; margin: .4rem 0 .6rem; }
.journal-card-excerpt { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: .8rem; }
.journal-cat { font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.journal-meta { display: flex; align-items: center; gap: .5rem; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.journal-read-more { margin-left: auto; color: var(--rose); font-weight: 500; }
.journal-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.journal-img-icon { font-size: 2rem; color: var(--rose); opacity: .4; }

/* Journal preview on homepage */
.journal-preview-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 1.5rem; }
.journal-preview-card { background: #fff; border-radius: var(--radius); border: 1px solid rgba(201,137,122,.1); overflow: hidden; transition: transform .25s; }
.journal-preview-card:hover { transform: translateY(-3px); }
.journal-preview-link { display: block; text-decoration: none; color: inherit; }
.journal-preview-img { background: var(--blush); height: 160px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: var(--rose); opacity: .4; }
.journal-preview-body { padding: 1.2rem; }
.journal-preview-title { font-family: var(--font-serif); font-size: 1.05rem; color: var(--bark); font-weight: 400; line-height: 1.3; margin: .3rem 0 .5rem; }
.journal-preview-excerpt { font-size: 12px; color: var(--muted); line-height: 1.6; margin-bottom: .7rem; }

/* ── OUR STORY PAGE ──────────────────────────────────── */
.story-page h2 { font-family: var(--font-serif); font-size: 2rem; color: var(--bark); font-weight: 300; margin-bottom: 1.2rem; }
.story-page h3 { font-family: var(--font-serif); font-size: 1.3rem; color: var(--bark); font-weight: 400; margin: 2rem 0 .6rem; }
.story-page p  { color: var(--muted); font-size: 15px; line-height: 1.85; margin-bottom: 1rem; }
.story-page blockquote { border-left: 3px solid var(--rose); padding: 1rem 1.5rem; background: var(--blush); border-radius: 0 6px 6px 0; margin: 1.5rem 0; }
.story-page blockquote p { color: var(--bark); font-family: var(--font-serif); font-size: 1.1rem; font-style: italic; margin: 0; }

/* ── TRACK ORDER PAGE ────────────────────────────────── */
.track-form { max-width: 480px; margin: 1.5rem 0; }
.track-form .field { margin-bottom: 1rem; }

/* ── CMS PAGE enhancements ───────────────────────────── */
.cms-content ul, .cms-content ol { margin: .8rem 0 1rem 1.5rem; }
.cms-content li { margin-bottom: .4rem; font-size: 15px; line-height: 1.7; color: var(--muted); }
.cms-content h3 { font-family: var(--font-serif); font-size: 1.3rem; color: var(--bark); margin: 1.8rem 0 .5rem; }

/* ── RESPONSIVE PATCHES ──────────────────────────────── */
@media (max-width: 1024px) {
  .journal-featured { grid-template-columns: 1fr; }
  .journal-featured-content { padding: 2rem; }
  .journal-featured-img { min-height: 240px; }
}
@media (max-width: 768px) {
  .journal-page { padding: 1.5rem 1.5rem 4rem; }
  .cookie-banner { padding: 1rem; }
  .cookie-banner-inner { flex-direction: column; align-items: flex-start; }
}
