/* =========================================================================
   FOOTAGE STORE — Luxury editorial e-commerce layer
   Loaded in addition to style.css on /shop pages. Light, clean, premium.
   ========================================================================= */
:root {
  --s-bg: #f7f5f1;        /* warm gallery off-white */
  --s-bg-2: #ffffff;
  --s-ink: #16151a;       /* near-black text */
  --s-soft: #4d4a44;
  --s-mute: #8c887f;
  --s-line: #e5e0d6;
  --s-line-2: #d8d2c6;
  --s-gold: #a9884f;      /* refined accent */
  --s-gold-d: #8a6f3d;
  --font-serif: "Cormorant Garamond", "Shippori Mincho", serif;
  --font-jpserif: "Shippori Mincho", "Cormorant Garamond", serif;
}

/* Shop pages run on the light gallery background */
body.shop { background: var(--s-bg); color: var(--s-ink); }
body.shop main { position: relative; z-index: 2; }

/* Keep the global dark header/footer, but let shop content breathe */
body.shop .site-footer { margin-top: 0; }

/* ---- Typographic tone ---- */
.shop-container { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: clamp(20px, 5vw, 72px); }
.s-serif { font-family: var(--font-serif); font-weight: 500; letter-spacing: .005em; }
.s-jpserif { font-family: var(--font-jpserif); font-weight: 500; }
.s-eyebrow { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; color: var(--s-gold-d); }
.s-h1 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 1.08; letter-spacing: -.005em; color: var(--s-ink); }
.s-h2 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.1; color: var(--s-ink); }
.s-lead { font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.9; color: var(--s-soft); }
.s-muted { color: var(--s-mute); }
.shop section { padding-block: clamp(56px, 8vw, 120px); }

/* ---- Breadcrumb ---- */
.s-breadcrumb { display: flex; gap: 8px; flex-wrap: wrap; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; color: var(--s-mute); text-transform: uppercase; }
.s-breadcrumb a:hover { color: var(--s-gold-d); }

/* ---- Buttons ---- */
.btn-lux { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 16px 34px; border-radius: 0; background: var(--s-ink); color: #fff; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; transition: background .4s var(--ease), transform .4s var(--ease); }
.btn-lux:hover { background: var(--s-gold-d); }
.btn-lux svg { width: 16px; height: 16px; }
.btn-lux.ghost { background: transparent; color: var(--s-ink); border: 1px solid var(--s-line-2); }
.btn-lux.ghost:hover { background: var(--s-ink); color: #fff; border-color: var(--s-ink); }
.btn-lux.block { width: 100%; }
.s-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--s-ink); border-bottom: 1px solid var(--s-ink); padding-bottom: 4px; transition: color .3s, border-color .3s; }
.s-link:hover { color: var(--s-gold-d); border-color: var(--s-gold-d); }

/* ---- Store hero ---- */
.store-hero { position: relative; min-height: 86vh; display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch; background: var(--s-bg); overflow: hidden; }
.store-hero .sh-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 7vw, 110px); padding-top: calc(var(--header-h) + 40px); }
.store-hero .sh-copy .s-eyebrow { margin-bottom: 26px; }
.store-hero .sh-copy p { margin: 26px 0 40px; max-width: 440px; }
.store-hero .sh-media { position: relative; overflow: hidden; }
.store-hero .sh-media img { width: 100%; height: 100%; object-fit: cover; }
.store-hero .sh-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(247,245,241,.5), transparent 22%); }

/* ---- Category tiles ---- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.cat-tile { position: relative; aspect-ratio: 3/4; overflow: hidden; display: block; background: #eee; }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cat-tile:hover img { transform: scale(1.05); }
.cat-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,9,8,.55), transparent 55%); }
.cat-tile .ct-label { position: absolute; left: 0; bottom: 0; padding: clamp(20px, 2.4vw, 34px); z-index: 2; color: #fff; }
.cat-tile .ct-label .s-eyebrow { color: rgba(255,255,255,.75); }
.cat-tile .ct-label h3 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 2.1rem); margin-top: 8px; }
.cat-tile .ct-label .ct-go { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; opacity: .9; }

/* ---- Section heads ---- */
.s-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); flex-wrap: wrap; }
.s-head .s-eyebrow { margin-bottom: 14px; display: block; }

/* ---- Filter chips ---- */
.s-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(28px, 3.5vw, 48px); }
.s-chip { padding: 10px 22px; border: 1px solid var(--s-line-2); border-radius: 100px; font-size: .82rem; letter-spacing: .06em; color: var(--s-soft); background: transparent; cursor: pointer; transition: all .3s var(--ease); }
.s-chip:hover { border-color: var(--s-ink); color: var(--s-ink); }
.s-chip.active { background: var(--s-ink); color: #fff; border-color: var(--s-ink); }

/* ---- Product grid & cards ---- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.2vw, 34px) clamp(14px, 1.8vw, 26px); }
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.product-card { position: relative; display: flex; flex-direction: column; }
.product-card .pc-media { position: relative; aspect-ratio: 4/5; overflow: hidden; background: #efece6; margin-bottom: 18px; }
.product-card .pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), opacity .5s; }
.product-card:hover .pc-media img { transform: scale(1.055); }
.product-card .pc-badge { position: absolute; top: 14px; left: 14px; z-index: 2; background: #fff; color: var(--s-ink); font-family: var(--font-mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; padding: 6px 12px; }
.product-card .pc-badge.dark { background: var(--s-ink); color: #fff; }
.product-card .pc-quick { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 3; transform: translateY(12px); opacity: 0; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.product-card:hover .pc-quick { transform: none; opacity: 1; }
.product-card .pc-quick button { width: 100%; padding: 13px; background: rgba(255,255,255,.94); color: var(--s-ink); font-family: var(--font-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; backdrop-filter: blur(4px); transition: background .3s, color .3s; }
.product-card .pc-quick button:hover { background: var(--s-ink); color: #fff; }
.product-card .pc-cat { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--s-mute); }
.product-card .pc-name { font-family: var(--font-serif); font-weight: 500; font-size: 1.22rem; margin: 6px 0 6px; color: var(--s-ink); line-height: 1.25; }
.product-card .pc-price { font-size: .95rem; color: var(--s-soft); letter-spacing: .02em; }
.product-card .pc-price .tax { font-size: .74rem; color: var(--s-mute); margin-left: 6px; }

/* ---- Editorial split ---- */
.s-split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(30px, 5vw, 90px); }
.s-split.reverse .s-split-media { order: 2; }
.s-split-media { aspect-ratio: 4/5; overflow: hidden; background: #eee; }
.s-split-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Product detail ---- */
.pd-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 4vw, 72px); align-items: start; padding-top: calc(var(--header-h) + 40px); }
.pd-gallery { display: grid; grid-template-columns: 1fr; gap: 12px; }
.pd-gallery .pd-main { aspect-ratio: 4/5; overflow: hidden; background: #efece6; }
.pd-gallery .pd-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pd-thumbs img { aspect-ratio: 1; object-fit: cover; cursor: pointer; opacity: .7; transition: opacity .3s; background:#efece6; }
.pd-thumbs img:hover, .pd-thumbs img.active { opacity: 1; }
.pd-info { position: sticky; top: calc(var(--header-h) + 30px); }
.pd-info .s-breadcrumb { margin-bottom: 22px; }
.pd-info .pd-cat { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--s-gold-d); }
.pd-info h1 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.1; margin: 12px 0 16px; }
.pd-price { font-size: 1.4rem; color: var(--s-ink); font-family: var(--font-serif); }
.pd-price .tax { font-size: .8rem; color: var(--s-mute); font-family: var(--font-sans); margin-left: 8px; }
.pd-desc { color: var(--s-soft); line-height: 1.95; margin: 24px 0; border-top: 1px solid var(--s-line); padding-top: 24px; }
.pd-opt { margin: 22px 0; }
.pd-opt .pd-opt-label { font-size: .78rem; letter-spacing: .08em; color: var(--s-mute); text-transform: uppercase; margin-bottom: 12px; }
.pd-swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.pd-size { min-width: 52px; height: 46px; padding: 0 14px; display: inline-grid; place-items: center; border: 1px solid var(--s-line-2); background: #fff; cursor: pointer; font-size: .9rem; transition: all .25s; }
.pd-size:hover { border-color: var(--s-ink); }
.pd-size.active { background: var(--s-ink); color: #fff; border-color: var(--s-ink); }
.pd-color { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--s-line-2); cursor: pointer; position: relative; }
.pd-color.active::after { content: ""; position: absolute; inset: -5px; border: 1px solid var(--s-ink); border-radius: 50%; }
.pd-actions { display: flex; gap: 12px; margin: 28px 0 18px; }
.pd-qty { display: inline-flex; align-items: center; border: 1px solid var(--s-line-2); }
.pd-qty button { width: 46px; height: 54px; font-size: 1.1rem; color: var(--s-ink); }
.pd-qty span { width: 40px; text-align: center; font-size: .95rem; }
.pd-actions .btn-lux { height: 54px; flex: 1; }
.pd-meta { font-size: .84rem; color: var(--s-mute); display: grid; gap: 8px; margin-top: 8px; }
.pd-meta div { display: flex; gap: 10px; align-items: center; }
.pd-meta svg { width: 15px; height: 15px; color: var(--s-gold-d); }

/* Accordion */
.pd-acc { margin-top: 28px; border-top: 1px solid var(--s-line); }
.pd-acc details { border-bottom: 1px solid var(--s-line); }
.pd-acc summary { list-style: none; cursor: pointer; padding: 18px 2px; display: flex; justify-content: space-between; align-items: center; font-size: .95rem; letter-spacing: .02em; }
.pd-acc summary::-webkit-details-marker { display: none; }
.pd-acc summary::after { content: "+"; font-size: 1.2rem; color: var(--s-mute); }
.pd-acc details[open] summary::after { content: "–"; }
.pd-acc .pd-acc-body { padding: 0 2px 20px; color: var(--s-soft); font-size: .9rem; line-height: 1.9; }

/* ---- Marquee ribbon (announcement) ---- */
.s-ribbon { background: var(--s-ink); color: #fff; text-align: center; padding: 11px 20px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; }
.s-ribbon a { color: var(--s-gold); text-decoration: underline; text-underline-offset: 3px; }

/* ---- Value props ---- */
.s-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px,3vw,50px); }
.s-value { text-align: center; }
.s-value svg { width: 30px; height: 30px; color: var(--s-gold-d); margin-bottom: 16px; }
.s-value h4 { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 500; margin-bottom: 8px; }
.s-value p { font-size: .88rem; color: var(--s-mute); line-height: 1.8; }

/* ---- Toast / cart ---- */
.s-toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--s-ink); color: #fff; padding: 14px 26px; font-size: .84rem; letter-spacing: .04em; z-index: 300; opacity: 0; visibility: hidden; transition: opacity .4s, transform .4s; box-shadow: 0 20px 50px -20px rgba(0,0,0,.4); }
.s-toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.s-cart-count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 100px; background: var(--s-gold-d); color: #fff; font-size: .64rem; font-family: var(--font-mono); margin-left: 6px; }

/* ---- Sample note ---- */
.s-note { text-align: center; font-size: .8rem; color: var(--s-mute); border: 1px dashed var(--s-line-2); padding: 14px; border-radius: 4px; }

/* ---- Reveal (reuse global data-reveal) on light ---- */
body.shop [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
body.shop [data-reveal].in { opacity: 1; transform: none; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .store-hero { grid-template-columns: 1fr; min-height: auto; }
  .store-hero .sh-media { aspect-ratio: 4/3; order: -1; }
  .cat-grid { grid-template-columns: 1fr; }
  .product-grid, .product-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .s-split, .pd-wrap { grid-template-columns: 1fr; }
  .s-split.reverse .s-split-media { order: 0; }
  .pd-info { position: static; }
  .s-values { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 480px) {
  .product-grid, .product-grid.cols-3 { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
  .product-card .pc-name { font-size: 1.05rem; }
  .pd-thumbs { grid-template-columns: repeat(4, 1fr); }
}

/* =========================================================================
   CART & CHECKOUT
   ========================================================================= */
/* Header cart button */
.cart-btn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; color: #fff; border: 1px solid var(--line-2); border-radius: 100px; transition: background .3s, color .3s; }
.cart-btn:hover { background: rgba(255,255,255,.08); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-btn-count { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 100px; background: var(--accent); color: #06070b; font-family: var(--font-mono); font-size: .62rem; display: grid; place-items: center; }

/* Drawer */
.cart-overlay { position: fixed; inset: 0; background: rgba(10,9,8,.5); opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; z-index: 250; }
.cart-drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 92vw); background: #fff; color: var(--s-ink); z-index: 251; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .5s var(--ease); box-shadow: -20px 0 60px -20px rgba(0,0,0,.3); }
.cart-open .cart-overlay { opacity: 1; visibility: visible; }
.cart-open .cart-drawer { transform: none; }
.cd-head { display: flex; justify-content: space-between; align-items: center; padding: 24px 26px; border-bottom: 1px solid var(--s-line); }
.cd-close { font-size: 1.6rem; line-height: 1; color: var(--s-mute); }
.cd-items { flex: 1; overflow-y: auto; padding: 8px 26px; }
.cd-empty { color: var(--s-mute); text-align: center; padding: 40px 0; }
.cd-row { display: grid; grid-template-columns: 74px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--s-line); }
.cd-row img { width: 74px; height: 92px; object-fit: cover; background: #efece6; }
.cd-name { font-family: var(--font-serif); font-size: 1.05rem; }
.cd-price { color: var(--s-soft); font-size: .88rem; margin: 4px 0 10px; }
.cd-qty { display: flex; align-items: center; gap: 4px; }
.cd-qty button { width: 30px; height: 30px; border: 1px solid var(--s-line-2); font-size: 1rem; }
.cd-qty span { width: 34px; text-align: center; font-size: .9rem; }
.cd-rm { margin-left: auto; font-size: .76rem; color: var(--s-mute); text-decoration: underline; text-underline-offset: 2px; }
.cd-foot { padding: 22px 26px; border-top: 1px solid var(--s-line); }
.cd-foot .cs-total { font-size: 1.05rem; margin-bottom: 16px; }

/* Cart page */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: clamp(28px, 4vw, 60px); align-items: start; margin-top: 30px; }
.cart-row { display: grid; grid-template-columns: 110px 1fr auto; gap: 22px; padding: 24px 0; border-bottom: 1px solid var(--s-line); align-items: center; }
.cart-thumb img { width: 110px; height: 138px; object-fit: cover; background: #efece6; }
.cart-mid h3 { font-family: var(--font-serif); font-size: 1.2rem; margin-bottom: 6px; }
.cart-unit { color: var(--s-mute); font-size: .88rem; margin-bottom: 12px; }
.cart-qtybox { display: inline-flex; }
.cart-qtybox button { width: 38px; height: 42px; border: 1px solid var(--s-line-2); }
.cart-qtybox span { width: 40px; display: inline-grid; place-items: center; }
.cart-right { text-align: right; }
.cart-line { font-family: var(--font-serif); font-size: 1.2rem; }
.cart-rm { font-size: .78rem; color: var(--s-mute); text-decoration: underline; text-underline-offset: 2px; margin-top: 8px; }
.cart-empty { text-align: center; padding: 60px 0; }

/* Summary card */
.cart-summary { background: var(--s-bg-2); border: 1px solid var(--s-line); padding: 30px; position: sticky; top: calc(var(--header-h) + 24px); }
.cs-row { display: flex; justify-content: space-between; padding: 10px 0; color: var(--s-soft); font-size: .95rem; }
.cs-row.cs-total { border-top: 1px solid var(--s-line); margin-top: 8px; padding-top: 16px; color: var(--s-ink); font-family: var(--font-serif); font-size: 1.2rem; }
.cs-mini { margin-bottom: 16px; }
.csm-row { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; font-size: .84rem; color: var(--s-soft); }
.csm-row img { width: 44px; height: 55px; object-fit: cover; background: #efece6; }
.csm-n { line-height: 1.4; }

/* Checkout */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: clamp(30px, 5vw, 70px); align-items: start; }
.checkout-form h3 { font-weight: 500; }
.checkout-form .field label { color: var(--s-soft); }
.checkout-form input { background: #fff; border-color: var(--s-line-2); color: var(--s-ink); border-radius: 0; }
.checkout-form input:focus { border-color: var(--s-ink); background: #fff; }

@media (max-width: 860px) {
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .cart-row { grid-template-columns: 84px 1fr; }
  .cart-right { grid-column: 2; text-align: left; margin-top: 8px; }
  .cart-thumb img { width: 84px; height: 105px; }
}

/* =========================================================================
   OPTIONS · STOCK · WISHLIST · REVIEWS · ACCOUNT · MOTION
   ========================================================================= */
/* Star rating */
.stars { display: inline-block; position: relative; font-family: Arial, sans-serif; line-height: 1; font-size: .95rem; white-space: nowrap; }
.stars::before { content: "★★★★★"; color: #dcd7cc; letter-spacing: 2px; }
.stars::after { content: "★★★★★"; color: var(--s-gold); letter-spacing: 2px; position: absolute; left: 0; top: 0; width: calc(var(--v,5)/5*100%); overflow: hidden; }
.stars.sm { font-size: .78rem; }

/* PDP rating / stock / color label */
.pd-rating { display: inline-flex; align-items: center; gap: 9px; margin: 4px 0 14px; color: var(--s-soft); font-size: .9rem; }
.pd-rating b { color: var(--s-ink); }
.pd-rcount { color: var(--s-mute); font-size: .82rem; text-decoration: underline; text-underline-offset: 2px; }
.pd-opt-val { color: var(--s-ink); }
.pd-stock { font-size: .74rem; padding: 3px 11px; border-radius: 100px; margin-left: 8px; font-family: var(--font-mono); letter-spacing: .04em; }
.pd-stock.in { color: #2f7d4f; background: rgba(47,125,79,.1); }
.pd-stock.low { color: #b26a1b; background: rgba(178,106,27,.12); }
.pd-stock.out { color: #b3352f; background: rgba(179,53,47,.1); }

/* Wishlist heart */
.pc-wish { position: absolute; top: 12px; right: 12px; z-index: 4; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--s-ink); transition: transform .3s var(--ease), background .3s, color .3s; }
.pc-wish svg { width: 18px; height: 18px; }
.pc-wish:hover { background: #fff; transform: scale(1.1); }
.pc-wish.active { color: #c0392b; }
.pc-wish.active svg { fill: #c0392b; stroke: #c0392b; }
.pd-wish { width: 54px; height: 54px; flex: none; border: 1px solid var(--s-line-2); display: grid; place-items: center; color: var(--s-ink); transition: all .3s; }
.pd-wish:hover { border-color: var(--s-ink); }
.pd-wish svg { width: 20px; height: 20px; }
.pd-wish.active { color: #c0392b; border-color: #c0392b; }
.pd-wish.active svg { fill: #c0392b; stroke: #c0392b; }
.pc-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; }

/* Reviews */
.rv-summary { display: flex; align-items: center; gap: 22px; margin-bottom: 26px; }
.rv-avg { display: flex; align-items: center; gap: 14px; }
.rv-avg b { font-family: var(--font-serif); font-size: 2.6rem; line-height: 1; }
.rv-list { display: grid; }
.rv-item { padding: 22px 0; border-top: 1px solid var(--s-line); }
.rv-item:last-of-type { border-bottom: 1px solid var(--s-line); }
.rv-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.rv-head b { font-size: .92rem; } .rv-head time { color: var(--s-mute); font-size: .8rem; font-family: var(--font-mono); }
.rv-item p { color: var(--s-soft); line-height: 1.9; font-size: .95rem; }
.rv-form { margin-top: 28px; }
.rv-form summary { display: inline-flex; cursor: pointer; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--s-line-2); padding: 12px 22px; list-style: none; }
.rv-form summary::-webkit-details-marker { display: none; }
.rv-form summary:hover { border-color: var(--s-ink); }
.rv-star-pick { display: flex; gap: 4px; }
.rv-star-pick button { font-size: 1.5rem; color: #dcd7cc; line-height: 1; transition: color .15s; }
.rv-star-pick button.on { color: var(--s-gold); }

/* Cart variant line */
.cd-var { font-size: .76rem; color: var(--s-mute); margin: 2px 0; }

/* Account / mypage */
.account-grid { display: grid; grid-template-columns: 260px 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.account-side { border: 1px solid var(--s-line); padding: 28px; position: sticky; top: calc(var(--header-h) + 24px); }
.account-user { display: flex; gap: 14px; align-items: center; }
.au-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--s-ink); color: #fff; display: grid; place-items: center; font-family: var(--font-serif); font-size: 1.4rem; flex: none; }
.account-user b { display: block; } .account-user span { font-size: .8rem; }
.order-card { border: 1px solid var(--s-line); padding: 20px 22px; margin-bottom: 14px; }
.order-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.order-body { display: flex; gap: 20px; flex-wrap: wrap; color: var(--s-soft); font-size: .92rem; }
.order-status { color: var(--s-gold-d); }
@media (max-width: 860px) { .account-grid { grid-template-columns: 1fr; } .account-side { position: static; } }

/* ---- MOTION / DYNAMIC ---- */
body.shop { animation: shopfade .55s ease both; }
@keyframes shopfade { from { opacity: 0; } to { opacity: 1; } }
.product-card { transition: transform .5s var(--ease); }
.product-card:hover { transform: translateY(-5px); }
.cat-tile { transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.cat-tile:hover { transform: translateY(-5px); }
.store-hero .sh-media img { animation: kenburns 12s ease-out both; }
@keyframes kenburns { from { transform: scale(1.1); } to { transform: scale(1.02); } }
.cart-btn { transition: transform .4s var(--ease), background .3s; }
@keyframes cartbump { 0% { transform: scale(1); } 40% { transform: scale(1.18); } 100% { transform: scale(1); } }
.cart-btn.bump { animation: cartbump .5s var(--ease); }
/* Shop marquee band */
.shop-marquee { overflow: hidden; border-block: 1px solid var(--s-line); padding-block: 22px; -webkit-mask-image: linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); mask-image: linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); }
.shop-marquee .mq { display: inline-flex; gap: 48px; white-space: nowrap; animation: shopmq 32s linear infinite; will-change: transform; }
.shop-marquee:hover .mq { animation-play-state: paused; }
.shop-marquee span { font-family: var(--font-serif); font-size: clamp(1.4rem, 3vw, 2.2rem); color: var(--s-mute); display: inline-flex; align-items: center; gap: 48px; }
.shop-marquee span::after { content: "✦"; color: var(--s-gold); font-size: .5em; }
@keyframes shopmq { to { transform: translateX(-50%); } }

/* =========================================================================
   QUICK VIEW · RECENTLY VIEWED · STICKY BUY BAR
   ========================================================================= */
/* Quick-view pill on card (above quick-add) */
.pc-view { position: absolute; left: 12px; right: 12px; bottom: 56px; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px; background: rgba(255,255,255,.94); color: var(--s-ink); font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease), transform .4s var(--ease), background .3s, color .3s; }
.product-card:hover .pc-view { opacity: 1; transform: none; }
.pc-view:hover { background: var(--s-ink); color: #fff; }
.pc-view svg { width: 15px; height: 15px; }

/* Quick-view modal */
.qv-modal { position: fixed; inset: 0; z-index: 260; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.qv-open .qv-modal { opacity: 1; visibility: visible; }
.qv-open { overflow: hidden; }
.qv-overlay { position: absolute; inset: 0; background: rgba(10,9,8,.6); }
.qv-panel { position: relative; z-index: 2; background: #fff; width: min(880px, 92vw); max-height: 90vh; overflow: auto; display: grid; grid-template-columns: 1fr 1fr; transform: scale(.96); transition: transform .45s var(--ease); box-shadow: 0 40px 100px -30px rgba(0,0,0,.5); }
.qv-open .qv-panel { transform: none; }
.qv-media { background: #efece6; }
.qv-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.qv-info { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.qv-cat { margin-bottom: 12px; }
.qv-name { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; line-height: 1.2; }
.qv-price { font-family: var(--font-serif); font-size: 1.5rem; margin-bottom: 16px; }
.qv-note { font-size: .9rem; line-height: 1.8; margin-bottom: 26px; }
.qv-close { position: absolute; top: 12px; right: 14px; z-index: 3; font-size: 1.7rem; color: var(--s-ink); width: 42px; height: 42px; }
@media (max-width: 700px) { .qv-panel { grid-template-columns: 1fr; max-height: 88vh; } .qv-media img { aspect-ratio: 16/10; } }

/* Recently viewed */
.recent-sec { padding-block: clamp(56px, 8vw, 110px); background: var(--s-bg); border-top: 1px solid var(--s-line); }

/* Sticky buy bar (PDP) */
.pd-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; background: rgba(255,255,255,.98); border-top: 1px solid var(--s-line); transform: translateY(110%); transition: transform .45s var(--ease); box-shadow: 0 -14px 40px -24px rgba(0,0,0,.25); }
.pds-show .pd-sticky { transform: none; }
.pds-inner { display: flex; align-items: center; gap: 16px; padding-block: 12px; }
.pd-sticky img { width: 46px; height: 58px; object-fit: cover; background: #efece6; }
.pds-info { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.pds-info b { font-family: var(--font-serif); font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pds-info span { color: var(--s-soft); font-size: .9rem; }
.pd-sticky .btn-lux { padding: 14px 30px; }
@media (max-width: 600px) { .pd-sticky img { display: none; } .pd-sticky .btn-lux { padding: 14px 22px; } }

/* =========================================================================
   READABILITY — raise contrast of muted greys + stronger tile scrims
   ========================================================================= */
:root { --s-mute: #6e6a60; }            /* was #8c887f — clearer on white */
.cat-tile::after { background: linear-gradient(to top, rgba(10,9,8,.72), rgba(10,9,8,.12) 58%, transparent 80%); }
.cat-tile .ct-label .s-eyebrow { color: rgba(255,255,255,.9); }
.pc-cat, .csm-n, .pd-rcount, .cd-var { color: #6e6a60; }
.s-ribbon a { color: #e6c88a; }

/* =========================================================================
   HEADER FIX — announcement ribbon sits ABOVE the fixed header (no overlap)
   ========================================================================= */
body.shop .s-ribbon { position: fixed; top: 0; left: 0; right: 0; z-index: 120; }
body.shop .site-header { top: 40px; }
body.shop .store-hero .sh-copy { padding-top: calc(var(--header-h) + 74px); }
.pd-wrap { padding-top: calc(var(--header-h) + 82px); }
/* header cart/account icons spacing */
.header-cta { gap: 12px; }
.header-cta .cart-btn + .btn-primary { margin-left: 2px; }

/* =========================================================================
   COUPON · SIZE GUIDE
   ========================================================================= */
.coupon-box { display: flex; gap: 8px; margin-bottom: 18px; }
.coupon-box input { flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid var(--s-line-2); background: #fff; color: var(--s-ink); font: inherit; font-size: .86rem; }
.coupon-box button { padding: 12px 18px; background: var(--s-ink); color: #fff; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; transition: background .3s; }
.coupon-box button:hover { background: var(--s-gold-d); }
.pd-sizeguide { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .08em; color: var(--s-gold-d); text-decoration: underline; text-underline-offset: 2px; margin-left: 8px; }
.sg-modal { position: fixed; inset: 0; z-index: 270; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; padding: 20px; }
.sg-open { overflow: hidden; }
.sg-open .sg-modal { opacity: 1; visibility: visible; }
.sg-panel { position: relative; z-index: 2; background: #fff; width: min(520px, 92vw); padding: clamp(28px,4vw,42px); transform: scale(.96); transition: transform .35s var(--ease); box-shadow: 0 40px 100px -30px rgba(0,0,0,.5); }
.sg-open .sg-panel { transform: none; }
.sg-panel .qv-close { position: absolute; top: 12px; right: 14px; font-size: 1.7rem; width: 40px; height: 40px; color: var(--s-ink); }
.sg-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.sg-table th, .sg-table td { border-bottom: 1px solid var(--s-line); padding: 11px 8px; text-align: left; }
.sg-table th { color: var(--s-mute); font-weight: 500; }

/* =========================================================================
   MARKETPLACE — official stores + PDP cross-links
   ========================================================================= */
.mp-store-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(10px, 1.4vw, 18px); }
.mp-store { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: 22px; min-height: 130px; color: #fff; border-radius: 4px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.mp-store:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(0,0,0,.35); }
.mp-store-name { font-weight: 700; font-size: 1.02rem; line-height: 1.4; }
.mp-store-go { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; opacity: .9; }
.mp-rakuten { background: #bf0000; } .mp-yahoo { background: #ff0033; } .mp-zozo { background: #111; }
.mp-mercari { background: #ff5252; } .mp-amazon { background: #232f3e; }
.mp-amazon .mp-store-name::after { content: " "; } .mp-amazon .mp-store-go { color: #ff9900; opacity: 1; }

/* PDP marketplace search buttons */
.pd-marketplace { margin: 22px 0; border-top: 1px solid var(--s-line); padding-top: 20px; }
.mp-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.mp-btn { padding: 8px 14px; border-radius: 100px; font-size: .78rem; font-weight: 600; color: #fff; transition: opacity .3s, transform .3s; }
.mp-btn:hover { opacity: .88; transform: translateY(-2px); }
.mp-btn.mp-rakuten { background: #bf0000; } .mp-btn.mp-yahoo { background: #ff0033; }
.mp-btn.mp-amazon { background: #232f3e; } .mp-btn.mp-zozo { background: #111; } .mp-btn.mp-mercari { background: #ff5252; }

@media (max-width: 860px) { .mp-store-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .mp-store-grid { grid-template-columns: 1fr; } }

/* Official store cards — refined with brand marks */
.mp-store { align-items: flex-start; gap: 14px; min-height: 158px; }
.mp-mark { width: 40px; height: 40px; border-radius: 10px; background: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.15rem; line-height: 1; }
.mp-rakuten .mp-mark { color: #bf0000; } .mp-yahoo .mp-mark { color: #ff0033; } .mp-zozo .mp-mark { color: #111; }
.mp-mercari .mp-mark { color: #ff5252; } .mp-amazon .mp-mark { color: #232f3e; }
.mp-store-name { font-size: 1.02rem; margin-top: auto; }
.mp-store-go { display: inline-flex; align-items: center; gap: 6px; }
.mp-store code { font-family: var(--font-mono); font-size: .85em; }

/* ---------- first-purchase coupon ---------- */
.s-coupon { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 32px; padding: clamp(22px, 3.4vw, 34px) clamp(22px, 3.4vw, 40px); border: 1px dashed var(--s-gold-d); border-radius: 18px; background: linear-gradient(120deg, color-mix(in srgb, var(--s-gold) 14%, transparent), transparent 70%); }
.s-coupon-badge { display: inline-block; font-size: .72rem; letter-spacing: .08em; font-weight: 700; color: #fff; background: var(--s-gold-d); padding: 5px 12px; border-radius: 999px; }
.s-coupon-head { font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-weight: 700; margin-top: 12px; color: var(--s-ink); }
.s-coupon-head b { color: var(--s-gold-d); }
.s-coupon-sub { font-size: .86rem; color: var(--s-soft); margin-top: 4px; max-width: 42ch; }
.s-coupon-right { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.s-coupon-code { display: inline-flex; align-items: center; gap: 12px; padding: 13px 20px; border: 1.5px solid var(--s-ink); border-radius: 12px; background: var(--s-ink); color: #fff; cursor: pointer; transition: transform .18s ease, opacity .18s ease; }
.s-coupon-code:hover { transform: translateY(-2px); }
.s-coupon-code.copied { opacity: .78; }
.s-coupon-label { font-size: .64rem; letter-spacing: .14em; opacity: .6; }
.s-coupon-value { font-family: var(--font-mono); font-size: 1.12rem; letter-spacing: .06em; font-weight: 700; }
.s-coupon-hint { font-size: .72rem; color: var(--s-soft); }
@media (max-width: 620px) { .s-coupon { justify-content: center; text-align: center; } .s-coupon-sub { margin-inline: auto; } }

/* ---------- urgency / bestseller ---------- */
.pc-media { position: relative; }
.pc-hot { position: absolute; bottom: 12px; left: 12px; z-index: 2; font-size: .68rem; font-weight: 700; letter-spacing: .04em; color: #fff; background: linear-gradient(120deg, #c8412f, #e0653b); padding: 4px 9px; border-radius: 999px; box-shadow: 0 3px 10px rgba(200,65,47,.3); pointer-events: none; }
.pc-stock-low { margin-top: 7px; font-size: .74rem; font-weight: 700; color: #c8412f; letter-spacing: .02em; display: flex; align-items: center; gap: 6px; }
.pc-stock-low::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #c8412f; box-shadow: 0 0 0 0 rgba(200,65,47,.5); animation: pcpulse 1.8s infinite; }
@keyframes pcpulse { 0% { box-shadow: 0 0 0 0 rgba(200,65,47,.5); } 70% { box-shadow: 0 0 0 6px rgba(200,65,47,0); } 100% { box-shadow: 0 0 0 0 rgba(200,65,47,0); } }
@media (prefers-reduced-motion: reduce) { .pc-stock-low::before { animation: none; } }

/* ---------- popularity ranking ---------- */
.rank-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: clamp(16px, 2vw, 26px); }
.rank-card { position: relative; }
.rank-no { position: absolute; top: 10px; left: 10px; z-index: 2; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; font-family: var(--font-mono); font-weight: 700; font-size: 1rem; color: #fff; background: rgba(20,18,16,.78); backdrop-filter: blur(3px); }
.rank-card:nth-child(1) .rank-no { background: linear-gradient(135deg, #caa63c, #e6c25a); color: #2a2410; }
.rank-card:nth-child(2) .rank-no { background: linear-gradient(135deg, #9aa0a6, #c3c7cc); color: #23262a; }
.rank-card:nth-child(3) .rank-no { background: linear-gradient(135deg, #b07b4a, #cf9a63); color: #2c1c0e; }
