/* BAIHER storefront layer.
   Layout and proportions follow dumaofficial.com (Shopify): transparent header over a full-bleed hero,
   edge-to-edge image grids, 2:3 product photos, 14px uppercase display type for nav and names, small grey prices.
   Colours and fonts stay BAIHER: Bodoni Moda (display), Jost (text), Cormorant Garamond italic (hero title), ink + burgundy. */

body.is-shop { background: #fff; color: var(--ink); font-size: 15px; line-height: 1.6; }
.disp, .nav-i > a, .pcard .nm, .ttl, .tile .cap b, .coll-head h1, .pd h1, .pd-brand, .foot h4, .camp-c span, .mega li a {
  font-family: var(--f-display); font-weight: 600; font-optical-sizing: none; font-variation-settings: 'opsz' 11;
  text-transform: uppercase; letter-spacing: .06em;
}
.is-shop .btn { background: var(--ink); border-color: var(--ink); color: #fff; font-size: 13px; letter-spacing: .16em; min-height: 50px; font-weight: 500; }
.is-shop .btn:hover { background: #000; border-color: #000; }
.is-shop .btn.line { background: #fff; color: var(--ink); border-color: var(--ink); }
.is-shop .btn.line:hover { background: var(--ink); color: #fff; }
.is-shop .btn.sm { min-height: 40px; font-size: 12px; }
.is-shop .in { font-size: 15px; min-height: 46px; border-color: #d4cdc4; }
.is-shop .small { font-size: 14px; }
.is-shop .empty h3 { font-family: var(--f-display); font-size: 18px; text-transform: uppercase; letter-spacing: .06em; }
.is-shop .drawer-h h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .08em; }
.is-shop .prose h1 { font-size: 22px; text-transform: uppercase; letter-spacing: .08em; text-align: center; margin: 40px 0 32px; }
.is-shop .prose h2 { font-size: 18px; }
.is-shop .crumbs { font-size: 13px; }

/* ---------- announcement + header ---------- */
.announce { background: #fff; color: var(--ink-3); font-size: 12.5px; letter-spacing: .06em; padding: 7px 16px; border-bottom: 1px solid #f0ece6; }
.hdr { position: sticky; top: 0; z-index: 40; background: #fff; color: var(--ink); border-bottom: 1px solid #ece8e2; transition: background .25s, color .25s, border-color .25s; }
.hdr.over { position: absolute; top: auto; left: 0; right: 0; background: transparent; color: #fff; border-bottom-color: transparent; }
.hdr.over.solid { position: fixed; top: 0; background: #fff; color: var(--ink); border-bottom-color: #ece8e2; }
.hdr .logo { color: inherit; }
.hdr-row { display: flex; align-items: stretch; height: 76px; padding: 0 40px; }
.hdr-l, .hdr-tools { flex: 1; display: flex; align-items: center; gap: 4px; }
.hdr-tools { justify-content: flex-end; }
.hdr .ibtn { width: 42px; height: 42px; color: inherit; }
.hdr .ibtn .n { background: var(--burgundy); }
.cur { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; letter-spacing: .06em; margin-right: 8px; }
.nav { display: flex; gap: 40px; border: 0; }
.nav-i { display: flex; align-items: stretch; }
.nav-i > a { position: relative; display: flex; align-items: center; gap: 5px; font-size: 14px; padding: 0; border: 0; white-space: nowrap; }
.nav-i > a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 26px; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .25s; }
.nav-i > a:hover::after, .nav-i > a.on::after { transform: scaleX(1); }
.nav-i > a.sale { color: var(--burgundy); }
.hdr.over:not(.solid) .nav-i > a.sale { color: #fff; }
.burger { display: none; }
.mega { color: var(--ink); padding: 36px 40px 44px; box-shadow: 0 30px 40px rgba(28,26,25,.06); }
.mega-in { display: grid; grid-template-columns: 220px 240px 240px; gap: 48px; justify-content: center; max-width: none; }
.mega li a { font-size: 13.5px; padding: 6px 0; }
.mega li a:hover { color: var(--burgundy); text-decoration: none; }
.mega-tile .ph { aspect-ratio: 3 / 4; }
.mega-tile span { font-size: 12.5px; letter-spacing: .12em; margin-top: 12px; }

/* ---------- hero ---------- */
.hero { position: relative; }
.hero-x { position: relative; display: block; height: calc(100vh - 32px); min-height: 560px; max-height: 980px; overflow: hidden; background: #2b2420; }
.hero-x .art { position: absolute; inset: 0; object-position: 35% 35%; }
.hero-x::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.38), rgba(0,0,0,0) 24%), linear-gradient(to right, rgba(0,0,0,0) 45%, rgba(0,0,0,.18)); pointer-events: none; }
.hero-t { position: absolute; z-index: 2; right: 11%; top: 50%; transform: translateY(-46%); font-family: var(--f-accent); font-style: italic; font-weight: 500; color: #fff; font-size: clamp(56px, 7.4vw, 120px); line-height: .92; text-align: center; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero-dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 24px; display: flex; justify-content: center; gap: 10px; margin: 0; }
.hero-dots button { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.5); }
.hero-dots button.on { background: #fff; }
.discover, .more { text-align: center; padding: 30px 16px; }
.more { padding-bottom: 0; padding-top: 44px; }
.discover a, .more a { font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.discover a:hover, .more a:hover { color: var(--burgundy); }

/* ---------- edge-to-edge tiles ---------- */
.tiles4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 0 8px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 96px 8px 0; }
.tile { position: relative; display: block; color: #fff; overflow: hidden; }
.tile .ph { aspect-ratio: 2 / 3; overflow: hidden; background: var(--photo); }
.pair .tile .ph { aspect-ratio: 4 / 5; }
.tile .art { object-position: 50% 30%; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.tile:hover .art { transform: scale(1.03); }
.tile::after { content: ''; position: absolute; inset: auto 0 0 0; height: 32%; background: linear-gradient(to top, rgba(0,0,0,.42), rgba(0,0,0,0)); pointer-events: none; }
.tile .cap { position: absolute; z-index: 2; left: 18px; bottom: 16px; display: grid; gap: 3px; }
.tile .cap b { font-size: 15px; }
.tile .cap i { font-style: normal; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; }

/* ---------- blocks ---------- */
.blk { padding-top: 104px; }
.ttl { text-align: center; font-size: 15px; letter-spacing: .1em; margin: 0 0 30px; }

.pgrid { display: grid; gap: 44px 12px; padding: 0 12px; }
.pgrid.c4 { grid-template-columns: repeat(4, 1fr); }
.pgrid.c3 { grid-template-columns: repeat(3, 1fr); }
.pcard .ph { aspect-ratio: 2 / 3; background: #f3f1ee; }
.pcard .ph .art { object-position: 50% 16%; }
.pcard .badge { top: 12px; left: 12px; background: #fff; color: var(--ink); font-size: 11px; letter-spacing: .14em; padding: 4px 9px; text-transform: uppercase; }
.pcard .badge.sale { background: var(--burgundy); color: #fff; }
.pcard .heart { width: 36px; height: 36px; top: 8px; right: 8px; }
.pcard .meta { text-align: center; padding: 16px 8px 0; display: grid; gap: 4px; justify-items: center; }
.pcard .nm { font-size: 14px; letter-spacing: .05em; }
.pcard .pr { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 6px; font-size: 13.5px; color: #77716a; letter-spacing: .04em; }
.pcard .pr > * { white-space: nowrap; }
.pcard .pr s { color: #a9a39b; }
.pcard .sale-pr, .pd .sale-pr { color: var(--burgundy); }
.pcard .sw-row { display: flex; justify-content: center; gap: 6px; margin-top: 4px; }
.pcard .dot { width: 10px; height: 10px; border-color: rgba(28,26,25,.25); }

.camp-c { display: block; width: min(860px, calc(100% - 24px)); margin: 0 auto; text-align: center; }
.camp-c .ph { aspect-ratio: 16 / 10; overflow: hidden; background: var(--photo); }
.camp-c span { display: block; margin-top: 18px; font-size: 14px; letter-spacing: .05em; text-transform: none; }
.full { display: block; margin-top: 104px; }
.full .ph { aspect-ratio: 21 / 9; overflow: hidden; background: var(--photo); }
.full .art { object-position: 50% 40%; }
.full-cap { text-align: center; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; margin: 18px 0 0; color: var(--ink-3); }

.sale-bn { display: block; width: auto; margin: 0 8px; }
.sale-cap span { font-size: 13px; letter-spacing: .3em; text-transform: uppercase; }
.sale-cap i { font-style: normal; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }

/* ---------- collection ---------- */
.coll-head { text-align: center; padding: 52px 16px 30px; }
.coll-head h1 { font-size: 18px; letter-spacing: .1em; }
.coll-head p { color: var(--ink-3); font-size: 14px; margin: 10px auto 0; max-width: 40em; }
.fbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 0 40px 20px; }
.fl, .fr { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.fr > span { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.dd { position: relative; }
.dd-b { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; padding: 8px 0; }
.dd.open .dd-b { color: var(--burgundy); }
.dd-p { position: absolute; z-index: 20; top: 100%; left: 0; min-width: 240px; max-width: calc(100vw - 24px); background: #fff; border: 1px solid #e6e1da; box-shadow: 0 16px 40px rgba(28,26,25,.1); padding: 16px 20px; display: grid; gap: 2px; }
.dd-p.r { left: auto; right: 0; }
.dd-p .rad { font-size: 14.5px; padding: 5px 0; }
.dd-p .rad input { width: 18px; height: 18px; }
.dd-p .rad input:checked::after { width: 9px; height: 9px; }
.dd-p .chip { min-width: 44px; height: 38px; font-size: 14px; }
.dd-p .swatch { width: 28px; height: 28px; }
.factive { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding: 0 40px 20px; font-size: 13px; }
.factive span { border: 1px solid #e1dbd3; padding: 3px 10px; }
.factive button { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- product page ---------- */
.draft-bar { background: var(--burgundy); color: #fff; text-align: center; font-size: 13px; padding: 6px; }
.pd { display: grid; grid-template-columns: 72px minmax(0, 1fr) 400px; gap: 40px; padding: 36px 40px 0; align-items: start; max-width: 1440px; margin: 0 auto; }
.pd-thumbs { position: sticky; top: 110px; display: grid; gap: 10px; }
.pd-thumbs button { aspect-ratio: 2 / 3; overflow: hidden; border: 1px solid transparent; background: #f3f1ee; opacity: .65; transition: opacity .2s; }
.pd-thumbs button.on, .pd-thumbs button:hover { opacity: 1; border-color: var(--ink); }
.pd-imgs { display: grid; gap: 10px; max-width: 600px; width: 100%; justify-self: center; }
.pd-img { aspect-ratio: 2 / 3; overflow: hidden; background: #f3f1ee; scroll-margin-top: 100px; }
.pd-info { position: sticky; top: 100px; }
.pd-brand { display: block; font-size: 12px; color: var(--ink-3); margin-bottom: 8px; }
.pd h1 { font-size: 20px; letter-spacing: .05em; line-height: 1.3; }
.pd-price { font-size: 16px; color: #77716a; margin: 10px 0 24px; letter-spacing: .04em; }
.pd-price s { color: #a9a39b; margin-right: 6px; }
.pd-l { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; margin: 18px 0 8px; }
.pd-l a { font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.pd-sel { width: 100%; height: 46px; border: 1px solid #d9d3cb; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231C1A19' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; padding: 0 36px 0 14px; font-size: 14.5px; border-radius: 0; }
.pd-sw { display: flex; gap: 10px; }
.pd-sw .swatch { width: 30px; height: 30px; }
.pd .qty { height: 44px; border-color: #d9d3cb; margin-bottom: 4px; }
.pd .stock-note { font-size: 14px; min-height: 22px; margin-bottom: 10px; }
.pd .acc { border-color: #e6e1da; }
.pd .acc:first-of-type { margin-top: 28px; }
.pd .acc summary { font-size: 13px; letter-spacing: .12em; padding: 16px 0; }
.pd .acc .body { font-size: 14.5px; line-height: 1.7; color: var(--ink-2); }
.pd-ship { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.pd .opt { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid #eee; font-size: 14px; }

/* ---------- footer ---------- */
.foot { background: #fff; border-top: 1px solid #ece8e2; margin-top: 120px; color: var(--ink); }
.foot-in { display: grid; grid-template-columns: 1fr 1fr 1fr 1.4fr; gap: 48px; padding: 64px 40px 48px; }
.foot h4 { font-size: 13.5px; letter-spacing: .08em; margin-bottom: 16px; }
.foot li a { font-size: 14px; color: var(--ink-3); padding: 4px 0; }
.foot li a:hover { color: var(--ink); text-decoration: none; }
.foot p { font-size: 14px; color: var(--ink-3); margin: 0; }
.nl { display: flex; border-bottom: 1px solid var(--ink); margin: 14px 0 0; }
.nl input { flex: 1; min-width: 0; border: 0; background: transparent; height: 44px; font-size: 14px; outline: none; }
.nl button { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }
.nl button:hover { color: var(--burgundy); }
.foot .soc { margin-top: 18px; font-size: 13px; }
.foot-bot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 40px 28px; border-top: 1px solid #ece8e2; font-size: 12.5px; color: var(--ink-3); }
.foot-bot .pays { gap: 16px; }
.foot-bot .pays span { letter-spacing: .08em; text-transform: uppercase; font-size: 11.5px; }

/* ---------- floating ---------- */
.wish-tab { position: fixed; z-index: 45; right: 0; top: 40%; writing-mode: vertical-rl; transform: rotate(180deg); background: var(--ink); color: #fff; font-size: 12.5px; letter-spacing: .08em; padding: 14px 9px; display: flex; align-items: center; gap: 8px; }
.wish-tab svg { transform: rotate(90deg); }
.wa { position: fixed; z-index: 45; right: 22px; bottom: 22px; width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.mocknav-btn { background: rgba(255,255,255,.94); color: var(--ink); border: 1px solid #ddd6cc; box-shadow: 0 2px 10px rgba(0,0,0,.08); font-size: 11px; padding: 8px 12px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .pgrid.c4 { grid-template-columns: repeat(3, 1fr); }
  .pd { grid-template-columns: 60px minmax(0, 1fr) 340px; gap: 24px; padding: 24px 20px 0; }
  .hdr-row, .fbar, .factive { padding-left: 20px; padding-right: 20px; }
  .nav { gap: 24px; }
  .foot-in { grid-template-columns: 1fr 1fr; padding: 56px 20px 40px; }
}
@media (max-width: 900px) {
  body.is-shop { font-size: 15px; }
  .announce { font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hdr-row { position: relative; height: 60px; padding: 0 6px; }
  .nav, .cur, .hdr .ibtn[data-act="acct"] { display: none; }
  .burger { display: grid; }
  .logo-c { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
  .hero-x { height: min(80vh, 170vw); min-height: 0; }
  .hero-x .art { object-position: 30% 35%; }
  .hero-t { left: 0; right: 0; top: auto; bottom: 64px; transform: none; font-size: 58px; }
  .tiles4 { grid-template-columns: 1fr 1fr; gap: 4px; padding: 0 4px; }
  .pair { gap: 4px; padding: 56px 4px 0; }
  .tile .cap { left: 12px; bottom: 12px; }
  .tile .cap b { font-size: 13px; }
  .pgrid.c4, .pgrid.c3 { grid-template-columns: 1fr 1fr; gap: 28px 6px; padding: 0 6px; }
  .pcard .nm { font-size: 12.5px; }
  .pcard .pr { font-size: 12.5px; }
  .pcard .meta { padding-top: 12px; }
  .blk { padding-top: 64px; }
  .fbar { flex-direction: column; align-items: stretch; padding: 0 12px 14px; gap: 6px; }
  .fl { gap: 18px; }
  .fr { justify-content: space-between; }
  .factive { padding: 0 12px 14px; }
  .pd { grid-template-columns: 1fr; padding: 0; gap: 0; }
  .pd-thumbs { display: none; }
  .pd-imgs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 4px; max-width: none; scrollbar-width: none; }
  .pd-img { flex: 0 0 86%; scroll-snap-align: start; }
  .pd-info { position: static; padding: 24px 16px 0; }
  .camp-c .ph, .full .ph { aspect-ratio: 4 / 5; }
  .full { margin-top: 64px; }
  .foot { margin-top: 80px; }
  .foot-in { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding: 44px 16px 28px; }
  .foot-in > div:last-child { grid-column: 1 / -1; }
  .foot-bot { padding: 16px; }
  .wish-tab { display: none; }
  .wa { width: 50px; height: 50px; right: 14px; bottom: 14px; }
}

/* ---------- product card: cover + hover photo ----------
   Desktop (mouse): hover crossfades to the second photo. Touch: it fades in while a finger is on the photo. */
.pcard .ph-track { position: absolute; inset: 0; }
.pcard .ph-s { position: absolute; inset: 0; display: block; }
.pcard .ph-s.alt { opacity: 0; transition: opacity .45s ease; }
.pcard .ph-dots { display: none; }
@media (hover: hover) and (pointer: fine) { .pcard:hover .ph-s.alt, .pcard:focus-visible .ph-s.alt { opacity: 1; } }
@media (hover: none) {
  .pcard, .pcard .ph, .pcard .ph * { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
  .pcard .ph img { -webkit-user-drag: none; pointer-events: none; }
  .pcard .ph-s.alt { transition: opacity .25s ease; }
  .pcard .ph.peek .ph-s.alt { opacity: 1; }
}
.pd-shipnote { font-size: 13px; color: var(--ink-3); margin: -16px 0 22px; }
.foot-admin { text-decoration: underline; text-underline-offset: 3px; }
.foot-admin:hover { color: var(--ink); }

.pcard .ph { cursor: pointer; }
.pcard a.meta { color: inherit; }
