/* ============================================================
   Cổ Vật Mười Thương — museum exhibit aesthetic (Laravel)
   ============================================================ */
:root {
  /* light/cream theme */
  --bg: #f3efe6;
  --surface: #ffffff;
  --surface-2: #faf7f0;
  --ink: #1f2419;
  --ink-2: #ffffff;
  --ink-dim: #6b6a5e;
  --forest: #2f3d2f;
  --forest-2: #26331f;
  --rosewood: #6b4636;
  --jade: #5e8c6a;
  --jade-bright: #4f7d5b;
  --lavender: #8c7aa3;
  --gold: #c8a04a;
  --gold-soft: #b8902f;
  --gold-dim: #d8c79a;
  /* legacy aliases (kept so existing rules read as light) */
  --ivory: var(--ink);
  --ivory-dim: var(--ink-dim);
  --line: rgba(31, 36, 25, 0.14);
  --line-soft: rgba(31, 36, 25, 0.07);
  --maxw: 1240px;
  --ff-display: "Cormorant", "Cormorant Garamond", Georgia, serif;
  --ff-body: "Be Vietnam Pro", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 500; line-height: 1.08; letter-spacing: .01em; }
.display { font-family: var(--ff-display); }
.eyebrow { font-family: var(--ff-body); font-size: .7rem; font-weight: 500; letter-spacing: .42em; text-transform: uppercase; color: var(--gold-soft); }
.serif-i { font-style: italic; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px); }
.section { padding: clamp(64px, 9vw, 130px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head .eyebrow { display: block; margin-bottom: 18px; }
.section-head h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); }
.section-head p { margin-top: 18px; color: var(--ivory-dim); font-size: 1.02rem; }
.section-head.row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.section-head.row .eyebrow { margin-bottom: 8px; }
.section-head.row .all { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); display: inline-flex; gap: 8px; white-space: nowrap; transition: gap .3s; }
.section-head.row .all:hover { gap: 13px; }

.rule { display: flex; align-items: center; gap: 14px; color: var(--gold); }
.rule::before, .rule::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.rule span { font-size: .8rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-soft); }

/* header / nav */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 16px clamp(20px, 5vw, 56px); background: rgba(243,239,230,.9); backdrop-filter: blur(10px); transition: background .4s ease, padding .4s ease, border-color .4s ease, box-shadow .4s ease; border-bottom: 1px solid var(--line-soft); }
.site-header.scrolled { background: rgba(255,255,255,.96); border-bottom-color: var(--line); padding-top: 12px; padding-bottom: 12px; box-shadow: 0 10px 30px -22px rgba(31,36,25,.5); }
.brand { display: flex; align-items: center; gap: 13px; }
.brand .seal { width: 42px; height: 42px; flex: none; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; font-family: var(--ff-display); font-size: 1.45rem; color: var(--gold); background: radial-gradient(circle at 30% 25%, rgba(200,160,74,.18), transparent 70%); }
.brand b { font-family: var(--ff-display); font-weight: 600; font-size: 1.28rem; letter-spacing: .02em; display: block; line-height: 1; }
.brand small { font-size: .58rem; letter-spacing: .34em; text-transform: uppercase; color: var(--gold-soft); }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); }
.nav a { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ivory-dim); transition: color .25s; position: relative; }
.nav a:hover, .nav a.active { color: var(--ivory); }
.nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 1px; background: var(--gold); }
.nav-cta { border: 1px solid var(--gold); color: var(--gold-soft) !important; padding: 9px 18px; border-radius: 2px; transition: all .3s; }
.nav-cta:hover { background: var(--gold); color: var(--ink) !important; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--ivory); padding: 8px 12px; border-radius: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 30px; border-radius: 2px; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; transition: all .35s cubic-bezier(.2,.7,.3,1); border: 1px solid transparent; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-2px); box-shadow: 0 14px 34px -16px rgba(200,160,74,.7); }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn-dark { background: var(--forest); color: #fff; }
.btn-dark:hover { background: var(--forest-2); transform: translateY(-2px); box-shadow: 0 14px 34px -18px rgba(47,61,47,.8); }
.btn .arr { transition: transform .35s; }
.btn:hover .arr { transform: translateX(5px); }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding-bottom: clamp(60px, 9vw, 110px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: kenburns 22s ease-out forwards; }
@keyframes kenburns { to { transform: scale(1.16); } }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(18,23,14,.92) 0%, rgba(18,23,14,.78) 32%, rgba(18,23,14,.42) 56%, rgba(18,23,14,.1) 78%, transparent 100%), linear-gradient(to top, rgba(18,23,14,.6), transparent 45%); }
.hero-inner { position: relative; z-index: 2; max-width: 880px; }
/* localized scrim anchored behind the text — guarantees contrast on any image */
.hero-inner::before { content: ""; position: absolute; left: -8vw; right: 10%; top: -8%; bottom: -8%; z-index: -1; background: radial-gradient(120% 100% at 18% 50%, rgba(14,18,11,.7) 0%, rgba(14,18,11,.35) 45%, transparent 72%); filter: blur(6px); pointer-events: none; }
.hero .eyebrow { opacity: 0; animation: rise .9s .15s ease forwards; color: #e9c97a; text-shadow: 0 1px 3px rgba(0,0,0,.9), 0 2px 16px rgba(0,0,0,.7); }
.hero h1 { font-size: clamp(2.9rem, 8.5vw, 7rem); line-height: .98; margin: 20px 0 8px; opacity: 0; animation: rise 1s .3s ease forwards; font-weight: 600; color: #f6efdd; text-shadow: 0 2px 4px rgba(0,0,0,.55), 0 4px 30px rgba(0,0,0,.6); }
.hero h1 em { color: #9fd6ab; font-style: italic; }
.hero .lede { max-width: 540px; color: #ece5d4; font-weight: 400; font-size: 1.08rem; margin: 22px 0 34px; opacity: 0; animation: rise 1s .5s ease forwards; text-shadow: 0 1px 3px rgba(0,0,0,.7), 0 2px 18px rgba(0,0,0,.5); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; opacity: 0; animation: rise 1s .68s ease forwards; }
.hero .btn-ghost { border-color: rgba(244,236,216,.5); color: #f4ecd8; }
.hero .btn-ghost:hover { border-color: var(--gold-soft); color: #fff; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero-meta { position: absolute; right: clamp(20px, 5vw, 56px); bottom: clamp(60px, 9vw, 110px); z-index: 2; text-align: right; border-right: 1px solid rgba(244,236,216,.4); padding-right: 20px; display: grid; gap: 18px; opacity: 0; animation: rise 1s .9s ease forwards; }
.hero-meta div b { font-family: var(--ff-display); font-size: 2.1rem; color: var(--gold-soft); display: block; line-height: 1; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.hero-meta div span { font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; color: #e8e0cd; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
@media (max-width: 820px) { .hero-meta { display: none; } }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2; font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; color: #e8e0cd; display: grid; justify-items: center; gap: 8px; }
.scroll-cue::after { content: ""; width: 1px; height: 40px; background: linear-gradient(var(--gold), transparent); animation: cue 2s infinite; }
@keyframes cue { 0%,100% { opacity: .3; } 50% { opacity: 1; } }

/* featured exhibit */
/* align-items:start so each card sizes to its own image height; otherwise a short
   "wide" card stretches to match a "tall" rowmate, leaving white space below the
   photo where the absolute .piece-plate (light text) would ghost on white. */
.exhibit-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 26px); align-items: start; }
/* about-page stat row + home showroom triptych: column counts live here (not as
   inline styles) so the mobile breakpoints below can actually override them. */
.exhibit-grid.stat-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
.exhibit-grid.showroom-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) {
  .exhibit-grid.stat-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .exhibit-grid.showroom-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .exhibit-grid.stat-grid { grid-template-columns: 1fr; }
  .exhibit-grid.showroom-grid { grid-template-columns: 1fr; }
}
/* dark base: light .piece-plate text must never ghost on white if the photo
   doesn't fully cover the card (--ink-2 is #fff in the light theme). */
.piece { position: relative; overflow: hidden; background: #0e0f0d; border: 1px solid var(--line-soft); border-radius: 3px; }
.piece.col-7 { grid-column: span 7; } .piece.col-5 { grid-column: span 5; } .piece.col-6 { grid-column: span 6; } .piece.col-4 { grid-column: span 4; } .piece.col-12 { grid-column: span 12; }
.piece-media { position: relative; overflow: hidden; aspect-ratio: 4/5; }
.piece.tall .piece-media { aspect-ratio: 3/4; }
.piece.wide .piece-media { aspect-ratio: 16/11; }
.piece-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.2,.7,.3,1); }
.piece:hover .piece-media img { transform: scale(1.07); }
.piece-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,15,13,.92) 2%, rgba(14,15,13,.1) 45%, transparent 70%); }
.piece-frame { position: absolute; inset: 12px; border: 1px solid transparent; transition: border-color .5s; z-index: 2; pointer-events: none; }
.piece:hover .piece-frame { border-color: var(--line); }
.piece-plate { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: clamp(18px, 2.4vw, 30px); }
.piece-plate .tag { font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-soft); text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.piece-plate h3 { font-size: clamp(1.3rem, 2.4vw, 2rem); margin: 7px 0 4px; color: #f4ecd8; text-shadow: 0 1px 14px rgba(0,0,0,.5); }
.piece-plate .meta { font-size: .82rem; color: #e8e0cd; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.piece-plate .price { margin-top: 12px; font-family: var(--ff-display); font-size: 1.25rem; color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.piece-plate .price.contact { color: var(--lavender); font-style: italic; }
.piece-link { position: absolute; inset: 0; z-index: 4; }

/* catalog */
.subpage { padding-top: clamp(120px, 16vw, 170px); }
.page-hero { text-align: center; max-width: 760px; margin: 0 auto clamp(40px,6vw,64px); }
.page-hero .eyebrow { display: block; margin-bottom: 16px; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.page-hero p { margin-top: 18px; color: var(--ivory-dim); }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; margin-bottom: 44px; }
.chip { border: 1px solid var(--line); background: transparent; color: var(--ivory-dim); padding: 9px 20px; border-radius: 999px; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; transition: all .3s; cursor: pointer; }
.chip:hover { color: var(--ivory); border-color: var(--gold-soft); }
.chip.active { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: clamp(18px, 2.4vw, 30px); }
.home-latest-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-latest-more { margin-top: clamp(28px, 3.4vw, 44px); text-align: center; }
.card { background: var(--ink-2); border: 1px solid var(--line-soft); border-radius: 3px; overflow: hidden; transition: transform .5s, border-color .5s; }
.card:hover { transform: translateY(-6px); border-color: var(--line); }
.card-media { position: relative; aspect-ratio: 1/1; overflow: hidden; background: #000; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s; }
.card:hover .card-media img { transform: scale(1.06); }
.card-zoom { position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: rgba(14,15,13,.6); color: var(--gold-soft); display: grid; place-items: center; opacity: 0; transition: opacity .3s; backdrop-filter: blur(4px); }
.card:hover .card-zoom { opacity: 1; }
.card-body { padding: 22px 22px 26px; }
.card-body .sku { font-size: .6rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-soft); }
.card-count { position: absolute; bottom: 12px; right: 12px; z-index: 2; font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); background: rgba(14,15,13,.7); border: 1px solid var(--line); padding: 4px 9px; border-radius: 2px; backdrop-filter: blur(4px); }
.card-body h3 { font-size: 1.42rem; margin: 8px 0 6px; }
.card-body h3 a { color: inherit; text-decoration: none; transition: color .3s; }
.card-body h3 a:hover { color: var(--gold-soft); }
.card-body .mat { font-size: .82rem; color: var(--ivory-dim); min-height: 2.6em; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.card-foot .price { font-family: var(--ff-display); font-size: 1.3rem; }
.card-foot .price.contact { color: var(--lavender); font-style: italic; font-size: 1.1rem; }
.card-foot .go { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); display: inline-flex; gap: 7px; align-items: center; transition: gap .3s; }
.card:hover .card-foot .go { gap: 12px; }
.empty { text-align: center; color: var(--ivory-dim); padding: 60px 0; grid-column: 1/-1; }

/* product detail */
.pd { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.pd-gallery { position: sticky; top: 100px; }
.pd-main { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; background: #000; aspect-ratio: 1/1; cursor: zoom-in; }
.pd-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-frame { position: absolute; inset: 14px; border: 1px solid var(--line-soft); pointer-events: none; }
.pd-zoom-hint { position: absolute; bottom: 16px; right: 16px; z-index: 2; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ivory-dim); background: rgba(14,15,13,.6); padding: 7px 12px; border-radius: 2px; backdrop-filter: blur(4px); }
.pd-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 10px; margin-top: 12px; }
.pd-thumb { position: relative; padding: 0; overflow: hidden; aspect-ratio: 1; border: 1px solid var(--line-soft); border-radius: 3px; background: #000; opacity: .7; transition: opacity .25s, border-color .25s, transform .25s; }
.pd-thumb:hover { opacity: 1; transform: translateY(-2px); }
.pd-thumb.active { opacity: 1; border-color: var(--gold-soft); box-shadow: 0 0 0 1px var(--gold-soft); }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-gallery-count { margin-top: 10px; color: var(--ivory-dim); font-size: .72rem; letter-spacing: .08em; text-align: center; }
.pd-info .sku { color: var(--gold-soft); letter-spacing: .26em; text-transform: uppercase; font-size: .68rem; }
.pd-info h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin: 14px 0 18px; }
.pd-price { font-family: var(--ff-display); font-size: 2.2rem; color: var(--gold-soft); margin-bottom: 8px; }
.pd-price.contact { color: var(--lavender); font-style: italic; }
.pd-desc { color: var(--ivory-dim); font-size: 1.04rem; margin: 20px 0 30px; }
.spec { border-top: 1px solid var(--line); }
.spec dl { display: grid; grid-template-columns: 150px 1fr; }
.spec dt, .spec dd { padding: 15px 0; border-bottom: 1px solid var(--line-soft); }
.spec dt { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); align-self: center; }
.spec dd { color: var(--ivory); }
.pd-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* auction */
.auc-hero { position: relative; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; padding: clamp(36px,5vw,60px); margin-bottom: 50px; }
.auc-hero { background: var(--forest); border-color: transparent; }
.auc-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(94,140,106,.22), rgba(38,51,31,.9)); z-index: 0; }
.auc-hero > * { position: relative; z-index: 1; }
.auc-hero h1, .auc-hero p { color: #f4ecd8; }
.auc-hero .auc-stats div span { color: rgba(244,236,216,.7); }
.auc-hero .online b { color: #8fc89c !important; }
.live-dot { display: inline-flex; align-items: center; gap: 9px; font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: #ff6b6b; }
.live-dot i { width: 9px; height: 9px; border-radius: 50%; background: #ff5252; box-shadow: 0 0 0 0 rgba(255,82,82,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 11px rgba(255,82,82,0); } 100% { box-shadow: 0 0 0 0 rgba(255,82,82,0); } }
.auc-hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); margin: 16px 0; max-width: 760px; }
.auc-stats { display: flex; flex-wrap: wrap; gap: clamp(24px,4vw,52px); margin-top: 26px; }
.auc-stats div b { font-family: var(--ff-display); font-size: 1.9rem; color: var(--gold-soft); display: block; line-height: 1; }
.auc-stats div span { font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ivory-dim); }
.online b { color: var(--jade-bright) !important; }
.lots { display: grid; gap: 22px; }
.lot { display: grid; grid-template-columns: 200px 1fr auto; gap: clamp(20px,3vw,40px); align-items: center; border: 1px solid var(--line-soft); border-radius: 4px; overflow: hidden; background: var(--ink-2); padding: 18px; transition: border-color .4s; }
.lot.open { border-color: var(--line); }
.lot.closed, .lot.sold, .lot.unsold { opacity: .62; }
.lot-img { width: 200px; height: 160px; border-radius: 3px; overflow: hidden; position: relative; flex: none; cursor: zoom-in; }
.lot-img img { width: 100%; height: 100%; object-fit: cover; }
.lot-no { position: absolute; top: 8px; left: 8px; font-family: var(--ff-display); font-size: 1.1rem; background: rgba(14,15,13,.8); color: var(--gold-soft); padding: 2px 11px; border-radius: 2px; }
.lot-mid h3 { font-size: 1.5rem; }
.lot-mid .mat { font-size: .82rem; color: var(--ivory-dim); margin-top: 4px; }
.lot-tags { display: flex; gap: 16px; margin-top: 14px; font-size: .76rem; color: var(--ivory-dim); flex-wrap: wrap; }
.lot-tags b { color: var(--ivory); font-weight: 500; }
.lot-right { text-align: right; min-width: 220px; }
.lot-right .label { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); }
.lot-right .cur { font-family: var(--ff-display); font-size: 1.9rem; color: var(--ivory); line-height: 1.1; margin: 4px 0 2px; }
.lot-right .bids { font-size: .76rem; color: var(--ivory-dim); }
.countdown { font-family: var(--ff-display); font-size: 1.25rem; color: var(--jade-bright); margin: 8px 0; letter-spacing: .04em; }
.countdown.urgent { color: #d62828; }
.lot-status { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; padding: 5px 12px; border-radius: 2px; display: inline-block; }
.lot-status.upcoming { background: rgba(183,168,200,.18); color: var(--lavender); }
.lot-status.closed, .lot-status.unsold { background: rgba(31,36,25,.08); color: var(--ink-dim); }
.lot-status.sold { background: rgba(94,140,106,.18); color: var(--jade-bright); }
.bid-btn { margin-top: 10px; width: 100%; justify-content: center; }
.bid-feed { margin-top: 8px; font-size: .74rem; color: var(--jade-bright); min-height: 1.2em; transition: opacity .3s; }
.note-card { border: 1px solid var(--line); border-radius: 4px; padding: 30px; margin-top: 46px; background: linear-gradient(135deg, rgba(94,140,106,.08), transparent); }
.note-card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.note-card ol { margin: 14px 0 0 18px; color: var(--ivory-dim); display: grid; gap: 8px; }
.note-card b { color: var(--gold-soft); }

/* story / about */
.story { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px,5vw,70px); align-items: center; }
.story-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.story-imgs img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; aspect-ratio: 3/4; border: 1px solid var(--line-soft); cursor: zoom-in; }
.story-imgs img:first-child { grid-row: span 2; aspect-ratio: auto; }
.story-copy h2 { font-size: clamp(2rem,4vw,3.2rem); margin-bottom: 20px; }
.story-copy p { color: var(--ivory-dim); margin-bottom: 16px; }
.story-copy .quote { font-family: var(--ff-display); font-style: italic; font-size: 1.5rem; color: var(--ivory); border-left: 2px solid var(--gold); padding-left: 20px; margin: 26px 0; }

/* contact + forms */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,64px); }
.contact-info .row { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.contact-info .row .ic { width: 44px; height: 44px; flex: none; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--gold-soft); }
.contact-info .row .label { font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft); }
.contact-info .row .val { font-size: 1.1rem; }
.form-card { border: 1px solid var(--line); border-radius: 4px; padding: clamp(24px,3vw,38px); background: var(--ink-2); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 8px; }
.field input, .field textarea, .field select { width: 100%; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink); padding: 13px 15px; border-radius: 2px; font-family: inherit; font-size: .95rem; transition: border-color .3s; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); outline: none; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-dim); }
.field textarea { resize: vertical; min-height: 110px; }
.form-ok { padding: 16px; border: 1px solid var(--jade); border-radius: 2px; color: var(--jade-bright); margin-bottom: 18px; background: rgba(94,140,106,.1); }
.form-err { padding: 12px 16px; border: 1px solid #d05c5c; border-radius: 2px; color: #c0392b; margin-bottom: 18px; background: rgba(208,92,92,.08); font-size: .9rem; }
.field .err { color: #c0392b; font-size: .78rem; margin-top: 6px; }

/* auth card */
.auth-wrap { min-height: 100svh; display: grid; place-items: center; padding: 120px 20px 60px; }
.auth-card { width: 100%; max-width: 440px; }
.auth-card .seal-lg { width: 56px; height: 56px; margin: 0 auto 18px; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; font-family: var(--ff-display); font-size: 1.9rem; color: var(--gold); }
.auth-card h1 { text-align: center; font-size: 2.2rem; margin-bottom: 6px; }
.auth-card .sub { text-align: center; color: var(--ivory-dim); font-size: .9rem; margin-bottom: 26px; }
.auth-alt { text-align: center; margin-top: 20px; font-size: .88rem; color: var(--ivory-dim); }
.auth-alt a { color: var(--gold-soft); }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: clamp(50px,7vw,80px) 0 30px; background: var(--surface-2); margin-top: 90px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.foot-grid h4 { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 18px; font-family: var(--ff-body); font-weight: 500; }
.foot-grid p, .foot-grid a { color: var(--ivory-dim); font-size: .92rem; display: block; margin-bottom: 9px; transition: color .25s; }
.foot-grid a:hover { color: var(--ivory); }
.foot-brand b { font-family: var(--ff-display); font-size: 1.7rem; color: var(--ivory); }
.foot-brand p { margin-top: 12px; max-width: 320px; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line-soft); font-size: .78rem; color: var(--ivory-dim); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8,8,7,.96); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; border: 1px solid var(--line); }
.lightbox .lb-close { position: absolute; top: 22px; right: 26px; font-size: 2rem; color: #f4ecd8; background: none; border: none; line-height: 1; }
.lightbox .lb-cap { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: rgba(244,236,216,.75); font-size: .85rem; letter-spacing: .1em; }
.lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: rgba(14,15,13,.65); color: #f4ecd8; font-size: 2rem; line-height: 1; display: grid; place-items: center; cursor: pointer; transition: background .25s, border-color .25s; backdrop-filter: blur(4px); }
.lightbox .lb-nav:hover { background: rgba(14,15,13,.9); border-color: var(--gold-soft); }
.lightbox .lb-nav[hidden] { display: none; }
.lightbox .lb-prev { left: 20px; }
.lightbox .lb-next { right: 20px; }
.lightbox .lb-count { position: absolute; bottom: 52px; left: 0; right: 0; text-align: center; color: var(--gold-soft); font-size: .72rem; letter-spacing: .18em; }
@media (max-width: 640px) {
  .lightbox .lb-nav { width: 42px; height: 42px; font-size: 1.6rem; }
  .lightbox .lb-prev { left: 6px; }
  .lightbox .lb-next { right: 6px; }
}

/* flash toast */
.flash { position: fixed; top: 80px; left: 50%; transform: translateX(-50%); z-index: 90; background: var(--surface); border: 1px solid var(--jade); color: var(--jade-bright); padding: 14px 26px; border-radius: 3px; font-size: .9rem; box-shadow: 0 20px 50px -22px rgba(31,36,25,.45); }
.flash.err { border-color: #d05c5c; color: #c0392b; }

/* ===== home: live-auction banner ===== */
.live-banner { background: var(--forest); color: #fff; border-radius: 6px; padding: clamp(24px,3vw,38px); display: grid; grid-template-columns: auto 1fr auto auto; gap: clamp(20px,3vw,40px); align-items: center; margin: clamp(-80px,-6vw,-50px) auto 0; position: relative; z-index: 6; box-shadow: 0 30px 70px -40px rgba(31,36,25,.6); }
.live-banner .thumb { width: 130px; height: 130px; border-radius: 4px; overflow: hidden; flex: none; border: 1px solid rgba(244,236,216,.18); }
.live-banner .thumb img { width: 100%; height: 100%; object-fit: cover; }
.live-tag { display: inline-flex; align-items: center; gap: 8px; background: rgba(200,69,69,.18); color: #ff8a7a; border: 1px solid rgba(255,138,122,.4); padding: 5px 12px; border-radius: 3px; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; }
.live-tag i { width: 8px; height: 8px; border-radius: 50%; background: #ff5a48; box-shadow: 0 0 0 0 rgba(255,90,72,.7); animation: pulse 1.6s infinite; }
.live-banner h2 { font-size: clamp(1.5rem,2.4vw,1.9rem); margin: 12px 0 14px; color: #fff; }
.cd-banner { display: flex; gap: 20px; }
.cd-banner .u { text-align: center; }
.cd-banner .u b { font-family: var(--ff-display); font-size: clamp(2rem,3vw,2.6rem); color: var(--gold-soft); display: block; line-height: 1; }
.cd-banner .u span { font-size: .56rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(244,236,216,.55); }
.live-stats { display: grid; gap: 14px; border-left: 1px solid rgba(244,236,216,.15); padding-left: clamp(20px,3vw,40px); }
.live-stats .s { display: flex; align-items: baseline; gap: 12px; }
.live-stats .s b { font-family: var(--ff-display); font-size: 1.6rem; color: #fff; }
.live-stats .s span { font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(244,236,216,.55); }
.live-cta { text-align: center; }
.live-cta .more { display: block; margin-top: 14px; font-size: .72rem; letter-spacing: .1em; color: rgba(244,236,216,.75); }
.live-cta .more:hover { color: #fff; }

/* ===== home: trust + service strips ===== */
.strip { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; display: grid; grid-template-columns: repeat(4,1fr); padding: 28px clamp(12px,2vw,20px); }
.strip.strip--trio { grid-template-columns: repeat(3,1fr); }
/* trio stacks to a single column on phones; specificity here (0,2,0 / 0,3,0)
   matches the trio base rule so it actually beats it inside the media query. */
@media (max-width: 760px) {
  .strip.strip--trio { grid-template-columns: 1fr; }
  .strip.strip--trio .it { border-right: none; border-bottom: 1px solid var(--line-soft); padding-top: 18px; padding-bottom: 18px; }
  .strip.strip--trio .it:first-child { padding-top: 0; }
  .strip.strip--trio .it:last-child { border-bottom: none; padding-bottom: 0; }
}
.strip .it { display: flex; gap: 14px; align-items: flex-start; padding: 0 clamp(14px,2vw,22px); border-right: 1px solid var(--line-soft); }
.strip .it:last-child { border-right: none; }
.strip .it .ic { color: var(--gold-soft); flex: none; font-size: 1.5rem; line-height: 1.1; }
.strip .it b { font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; display: block; margin-bottom: 4px; }
.strip .it p { font-size: .78rem; color: var(--ink-dim); line-height: 1.45; }
.strip.compact .it { align-items: center; }
.strip-wrap { margin-top: 30px; }

/* ===== home: lot cards grid ===== */
.lot-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.lcard { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; transition: transform .4s, box-shadow .4s; position: relative; }
.lcard:hover { transform: translateY(-6px); box-shadow: 0 26px 54px -30px rgba(31,36,25,.45); }
.lcard-media { position: relative; aspect-ratio: 1/1; background: #11140f; overflow: hidden; }
.lcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s; }
.lcard:hover .lcard-media img { transform: scale(1.06); }
.lbadge { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: .56rem; letter-spacing: .14em; text-transform: uppercase; padding: 5px 11px; border-radius: 3px; font-weight: 500; }
.lbadge.live { background: #c84545; color: #fff; }
.lbadge.up { background: rgba(20,26,16,.6); color: #fff; backdrop-filter: blur(3px); }
.lbadge.done { background: rgba(20,26,16,.55); color: rgba(255,255,255,.85); backdrop-filter: blur(3px); }
.lheart { position: absolute; top: 10px; right: 10px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: none; background: rgba(255,255,255,.85); display: grid; place-items: center; color: var(--ink-dim); font-size: 1rem; }
.lcard-body { padding: 18px 18px 20px; }
.lcard-body h3 { font-size: 1.15rem; line-height: 1.25; min-height: 2.5em; }
.lprice-row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; }
.lprice .lbl { font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-dim); display: block; margin-bottom: 2px; }
.lprice b { font-family: var(--ff-display); font-size: 1.45rem; color: var(--ink); }
.lbids { font-size: .72rem; color: var(--ink-dim); }
.lfoot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: .78rem; color: var(--ink-dim); }
.lfoot .cd { color: var(--gold-soft); font-weight: 500; }
.lfoot .cd.urgent { color: #c84545; }
.lcard-link { position: absolute; inset: 0; z-index: 1; }
.lcard .lheart, .lcard .lbadge { z-index: 3; }

/* responsive */
@media (max-width: 980px) {
  .home-latest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .live-banner { grid-template-columns: 1fr 1fr; margin-top: clamp(-50px,-4vw,-30px); }
  .live-stats { border-left: none; padding-left: 0; }
  .strip, .lot-grid { grid-template-columns: repeat(2,1fr); }
  .strip .it:nth-child(2n) { border-right: none; }
  .pd { grid-template-columns: 1fr; } .pd-gallery { position: static; }
  .story, .contact { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .lot { grid-template-columns: 140px 1fr; }
  .lot-img { width: 140px; height: 120px; }
  .lot-right { grid-column: 1 / -1; text-align: left; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; justify-content: space-between; border-top: 1px solid var(--line-soft); padding-top: 16px; }
  .bid-btn { width: auto; }
}
@media (max-width: 760px) {
  .nav { position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px); flex-direction: column; align-items: flex-start; justify-content: center; gap: 26px; background: var(--ink-2); border-left: 1px solid var(--line); padding: 40px; transform: translateX(100%); transition: transform .4s cubic-bezier(.4,0,.2,1); }
  .nav.open { transform: none; }
  .nav-toggle { display: block; z-index: 60; }
  .exhibit-grid .piece { grid-column: span 12 !important; }
  .pd .spec dl { grid-template-columns: 120px 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .live-banner { grid-template-columns: 1fr; text-align: left; }
  .live-banner .thumb { width: 100%; height: 180px; }
  .strip, .lot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .strip { grid-template-columns: 1fr; }
  .strip .it { border-right: none !important; border-bottom: 1px solid var(--line-soft); padding-bottom: 18px; padding-top: 18px; }
  .strip .it:first-child { padding-top: 0; }
  .strip .it:last-child { border-bottom: none; padding-bottom: 0; }
  .lot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .hero-bg img { animation: none; transform: none; }
}

/* ============================================================
   MOBILE HERO — light-theme rework ("framed exhibit card")
   Appended last so these + the live-banner override win on
   source order. Scoped to mobile media queries only; desktop
   hero (L94-116) is untouched. Documented vars only, no JS.
   ============================================================ */
@media (max-width: 760px) {

  /* Hero becomes a cream, normal-flow column — not a 100svh dark poster.
     min-height:0 kills the dark-wall; background:var(--bg) makes cream
     the canvas so text/photo sit ON the bright site, not a dark island. */
  .hero {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow: visible;                 /* let the plate's radius/shadow show */
    background: var(--bg);
    padding: clamp(96px, 22vw, 120px) clamp(20px, 5vw, 28px) clamp(28px, 7vw, 40px);
    gap: clamp(18px, 5vw, 26px);
  }

  /* Text block first, on cream */
  .hero-inner {
    order: 1;
    position: static;
    z-index: auto;
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .hero-inner::before { display: none; content: none; }  /* kill dark radial text-scrim (L101) */

  /* Photo becomes a contained, faded museum plate, BELOW the text.
     background:var(--bg) (NOT surface-2) so every faded/revealed pixel
     and the ::after wash resolve to the SAME cream #f3efe6 -> no seam band.
     The mask is applied to the CONTAINER so the gold hairline border + the
     image dissolve together; the border never outlines empty cream. */
  .hero-bg {
    order: 2;
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--gold-dim);
    box-shadow: 0 24px 60px -36px rgba(31, 36, 25, .45);
    background: var(--bg);
    /* dissolve the whole plate (image + border) into cream at the bottom */
    -webkit-mask-image: linear-gradient(to bottom,
        #000 0%, #000 64%, rgba(0,0,0,.55) 84%, rgba(0,0,0,0) 100%);
            mask-image: linear-gradient(to bottom,
        #000 0%, #000 64%, rgba(0,0,0,.55) 84%, rgba(0,0,0,0) 100%);
  }
  .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 32%;          /* keep the dark cabinet high; fade eats only the base */
    transform: none;
    animation: none;                   /* drop ken-burns on the small plate */
  }
  /* Cream wash backs the fade so even without mask-image support the lower
     band still resolves to var(--bg) (no hard edge). Same cream both ends. */
  .hero-bg::after {
    background: linear-gradient(to bottom,
        rgba(243, 239, 230, 0)   0%,
        rgba(243, 239, 230, 0)   62%,
        rgba(243, 239, 230, .55) 84%,
        var(--bg)                100%);
  }

  /* Type: dark-on-cream, all dark-bg shadows removed so colors POP not SINK */
  .hero .eyebrow {
    color: var(--rosewood);            /* #6b4636 on cream = 7.16:1 — AA pass, warm museum */
    text-shadow: none;
  }
  .hero h1 {
    color: var(--ink);                 /* #1f2419 = 13.8:1 (AAA) */
    text-shadow: none;
    font-size: clamp(2.35rem, 11vw, 3.4rem);
    line-height: 1.02;
    margin: 14px 0 6px;
  }
  .hero h1 em {
    color: var(--jade-bright);         /* #4f7d5b = 4.14:1; large display >=24px -> AA-large pass */
    font-style: italic;
  }
  .hero .lede {
    color: var(--ink-dim);             /* #6b6a5e = 4.76:1 — AA normal pass */
    text-shadow: none;
    max-width: none;
    font-size: 1rem;
    margin: 16px 0 24px;
  }

  /* Buttons: full-width, stacked, no overlap */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
  }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero .btn-dark  { background: var(--forest); color: #fff; }   /* white/forest = 11.5:1 */
  .hero .btn-ghost {                                             /* relight for cream */
    border-color: var(--line);
    color: var(--ink);                 /* ink/white = 15.8:1 */
    background: var(--surface);
  }
  .hero .btn-ghost:hover {
    border-color: var(--gold);         /* keep gold brand accent on the border */
    color: var(--rosewood);            /* #6b4636/white = 8.22:1 — was gold-soft 2.97:1 FAIL */
  }

  /* Scroll cue: out of absolute (was overlapping the ghost btn, L114) into flow */
  .scroll-cue {
    order: 3;
    position: static;
    left: auto;
    bottom: auto;
    transform: none;
    margin-top: 6px;
    color: var(--ink-dim);             /* 4.76:1 small uppercase — AA pass */
  }
  .scroll-cue::after { background: linear-gradient(var(--gold-soft), transparent); }

  /* Live banner: drop the negative overlap (L288/L342) so it sits in cream flow */
  .live-banner { margin-top: clamp(16px, 4vw, 28px); }
}

/* ---- refinement for very narrow phones (360px-class) ---- */
@media (max-width: 560px) {
  .hero { padding-top: clamp(88px, 24vw, 104px); }
  .hero-bg { aspect-ratio: 3 / 4; }            /* taller plate reads better at 360px */
  .hero h1 { font-size: clamp(2.15rem, 12vw, 2.8rem); }
  /* em stays >=24px at this clamp min (2.15rem=34px), preserving AA-large for jade */
  .hero .lede { font-size: .96rem; }

  /* Header: brand subtitle was 1px from the hamburger at 390px and collided
     below ~370px. Tighten it and let the brand shrink before the toggle. */
  .site-header { gap: 12px; }
  .brand { min-width: 0; }
  .brand > span { min-width: 0; }
  .brand small {
    letter-spacing: .22em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* ============================================================
   LƯỚI SẢN PHẨM 2 CỘT TRÊN MOBILE
   Đặt cuối file để thắng theo thứ tự nguồn: rule .catalog gốc
   nằm ở L165 và .home-latest-grid ở L166 có cùng độ ưu tiên.
   .home-latest-grid (trang chủ), lưới Bộ sưu tập và lưới Sản
   phẩm liên quan đều dùng chung class .catalog nên một rule đủ.
   ============================================================ */
@media (max-width: 700px) {
  .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

  /* Thu gọn phần chữ cho vừa bề ngang ~165px. Ẩn dòng chất liệu
     và link "Chi tiết →"; tên sản phẩm vẫn là link nên không mất
     đường vào trang chi tiết. */
  .card-body { padding: 12px 12px 14px; }
  .card-body h3 { font-size: .95rem; margin: 6px 0 0; }
  .card-body .mat { display: none; }
  .card-foot { margin-top: 10px; padding-top: 10px; }
  .card-foot .price { font-size: 1.05rem; }
  .card-foot .price.contact { font-size: .95rem; }
  .card-foot .go { display: none; }
}

/* ============================================================
   OVERLAY KHUNG VÀNG TRÊN ẢNH SẢN PHẨM
   Bật/tắt bằng setting product.overlay_enabled trong Admin.
   z-index:1 → nằm trên ảnh nhưng dưới nút ⊕ và nhãn "N ảnh"
   (cả hai đang ở z-index:2). pointer-events:none để không
   chặn click vào link sản phẩm bên dưới.
   ============================================================ */
.product-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: url('/img/template-overlay.png') center / 100% 100% no-repeat;
}

/* Overlay có thanh vàng chạy hết cạnh dưới, nên dời các nhãn
   đang nằm góc dưới-phải lên góc trên-trái (vùng trống của
   overlay, cũng là chỗ nhãn danh mục cũ vừa bỏ đi). */
.card-media.has-overlay .card-count {
  top: 12px;
  left: 12px;
  bottom: auto;
  right: auto;
}
.pd-main.has-overlay .pd-zoom-hint {
  top: 16px;
  left: 16px;
  bottom: auto;
  right: auto;
}

/* Ẩn viền mảnh sẵn có ở trang chi tiết để không chồng hai lớp khung. */
.pd-main.has-overlay .pd-frame { display: none; }

/* ============================================================
   THANH CÔNG CỤ: LỌC DANH MỤC · LỌC KHOẢNG GIÁ · SẮP XẾP
   .toolbar gốc (L161) là flex một hàng; giờ chứa 3 hàng con
   nên đổi sang cột và bỏ căn giữa theo trục ngang.
   ============================================================ */
.toolbar { flex-direction: column; align-items: stretch; gap: 14px; }
.toolbar-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.toolbar-label { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft); min-width: 92px; flex: none; }
.sort-select {
  border: 1px solid var(--line); background: transparent; color: var(--ivory);
  padding: 9px 14px; border-radius: 999px; font-family: inherit; font-size: .76rem;
  letter-spacing: .1em; cursor: pointer;
}
.sort-select:focus { outline: none; border-color: var(--gold-soft); }
.sort-select option { background: var(--ink-2); color: var(--ivory); }

@media (max-width: 700px) {
  .toolbar { gap: 10px; margin-bottom: 28px; }
  .toolbar-label { min-width: 100%; }
  .toolbar .chip { padding: 7px 14px; font-size: .68rem; letter-spacing: .06em; }
  .sort-select { width: 100%; border-radius: 4px; }
}
