/* ==========================================================================
   Deadhead Chemist — page-level components
   Shop, product, cart, checkout, account, editorial and the utility pages.
   Loads after deadhead.css and reuses its tokens.
   ========================================================================== */

/* ── framed page hero (shop / collections / editorial) ────────────────── */
.dh-frame { position: relative; padding: clamp(14px, 1.8vw, 22px) clamp(10px, 1.4vw, 20px) 0; }
.dh-frame--tight { padding-top: 0; }

.dh-plp-hero {
  position: relative; padding: 1px; border-radius: clamp(26px, 3vw, 40px);
  background: linear-gradient(148deg, rgba(130,86,232,.9), rgba(102,154,245,.45) 34%, rgba(22,205,189,.7) 66%, rgba(205,183,255,.55));
  box-shadow: 0 0 90px -26px rgba(130,86,232,.55);
}
.dh-plp-hero > .in {
  position: relative; border-radius: clamp(25px, 3vw, 39px);
  background-color: var(--ink);
  background-image:
    linear-gradient(100deg, rgba(8,8,10,.96) 0%, rgba(8,8,10,.9) 32%, rgba(8,8,10,.45) 54%, rgba(8,8,10,.08) 74%, rgba(8,8,10,0) 100%),
    url('../assets/bg-science.jpg');
  background-size: cover, cover; background-position: center, center;
  background-repeat: no-repeat, no-repeat; overflow: hidden;
}

.dh-plp-rings { position: absolute; right: -8%; top: -26%; width: min(80vw, 900px); height: auto; pointer-events: none; opacity: .5; }
.dh-plp-mol { position: absolute; left: -24px; bottom: -26px; width: clamp(110px, 11vw, 180px); height: auto; pointer-events: none; opacity: .3; }
.dh-plp-body { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: clamp(22px, 2.6vw, 44px); padding: clamp(26px, 3.2vw, 50px) 0; }
.dh-plp-copy {
  flex: 1 1 380px; max-width: min(100%, 640px); min-width: min(100%, 300px);
  min-height: clamp(220px, 26vw, 380px); display: flex; flex-direction: column; justify-content: center;
  padding-left: clamp(24px, 4vw, 58px); padding-right: clamp(16px, 2vw, 24px);
}
.dh-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.dh-eyebrow span { font: 500 11px/1 var(--font-mono); letter-spacing: .2em; text-transform: uppercase; color: #9A92AA; }
.dh-eyebrow .line { height: 1px; flex: 1; max-width: 110px; background: linear-gradient(90deg, var(--teal), rgba(22,205,189,0)); }
.dh-plp-copy h1 {
  margin: 0 0 18px; font-family: var(--font-heading); font-weight: 900;
  font-stretch: 70%; font-variation-settings: 'wdth' 70;
  font-size: clamp(36px, 5vw, 68px); line-height: .92; letter-spacing: .006em;
  text-transform: uppercase; color: var(--ivory);
}
.dh-plp-copy h1 em { color: var(--teal); }
.dh-spark { display: flex; align-items: center; gap: 9px; margin-bottom: 18px; }
.dh-spark .line { width: clamp(40px, 6vw, 90px); height: 1px; background: linear-gradient(90deg, rgba(169,139,245,.75), rgba(169,139,245,0)); }
.dh-plp-copy > p { margin: 0 0 22px; max-width: 48ch; font-size: 15px; color: var(--muted); text-wrap: pretty; }
.dh-pillrow { display: flex; flex-wrap: wrap; gap: 10px; }

/* ── sticky results toolbar ───────────────────────────────────────────── */
.dh-toolwrap { position: sticky; top: 60px; z-index: 40; padding: clamp(10px, 1.2vw, 16px) clamp(10px, 1.4vw, 20px) 0; }
/* On a phone the toolbar scrolls away with the page — with a category active
   its chip row made it ~184px tall, and stuck under the 116px header it left
   half a screen for products. The floating Filters pill takes over once the
   toolbar is gone. */
@media (max-width: 1039px) {
  .dh-toolwrap { position: static; }
  .dh-filterfab {
    position: fixed; z-index: 68; right: 12px;
    bottom: calc(84px + env(safe-area-inset-bottom));
    display: inline-flex; align-items: center; gap: 9px; padding: 13px 20px;
    border: 1px solid rgba(169,139,245,.42); border-radius: 999px;
    background: var(--violet); color: var(--paper); cursor: pointer;
    font-family: var(--font-cta); font-weight: 800; font-size: 11px;
    letter-spacing: .12em; text-transform: uppercase;
    box-shadow: 0 22px 46px -22px rgba(0,0,0,.9);
    animation: dh-rise .24s ease both;
  }
  /* the display rule above would otherwise out-rank the UA's [hidden] */
  .dh-filterfab[hidden] { display: none; }
  .dh-filterfab:hover, .dh-filterfab:active { background: var(--teal); color: #5B2AAE; }
  .dh-filterfab svg { stroke: currentColor; }
}
@media (min-width: 1040px) { .dh-filterfab { display: none; } }
.dh-toolwrap > .edge {
  padding: 1px; border-radius: clamp(20px, 2.2vw, 28px);
  background: linear-gradient(96deg, rgba(130,86,232,.7), rgba(102,154,245,.4) 38%, rgba(22,205,189,.65));
  box-shadow: 0 18px 40px -22px rgba(0,0,0,.85), 0 0 50px -26px rgba(205,183,255,.5);
}
.dh-toolwrap > .edge > .in { border-radius: clamp(19px, 2.2vw, 27px); background: var(--ivory); }
.dh-toolrow { padding: 14px clamp(16px, 2.2vw, 28px); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.dh-count { margin: 0; font: 500 12px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-dark2); }
.dh-seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: 999px; background: rgba(23,21,28,.06); border: 1px solid rgba(23,21,28,.14); }
.dh-seg button { border: 0; cursor: pointer; border-radius: 999px; background: transparent; color: var(--muted-ink); display: grid; place-items: center; }
.dh-seg .dens { width: 38px; height: 34px; }
.dh-seg .mode { padding: 8px 14px; font-family: var(--font-cta); font-weight: 800; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.dh-seg button[aria-pressed="true"] { background: var(--violet); color: var(--paper); }
.dh-seg button[aria-pressed="true"] svg { fill: var(--paper); }
.dh-seg button svg { fill: var(--muted-ink); }
.dh-sortwrap {
  display: inline-flex; align-items: center; gap: 10px; padding: 0 6px 0 16px;
  border-radius: 999px; border: 1px solid rgba(23,21,28,.22); background: var(--ivory-warm);
}
.dh-sortwrap span { font: 500 10.5px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-ink); }
.dh-sortwrap select {
  border: 0; background: transparent; outline: none; padding: 12px 10px 12px 0;
  font-family: var(--font-heading); font-weight: 800; font-size: 11.5px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--text-dark2); cursor: pointer;
}
.dh-activewrap { padding: 0 clamp(16px, 2.2vw, 28px) 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dh-activewrap > span { font: 500 10.5px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-ink); }
.dh-activechip {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 10px 8px 14px;
  border-radius: 999px; border: 1px solid rgba(130,86,232,.4); background: #EBE3F8;
  cursor: pointer; font: 500 11.5px/1 var(--font-mono); letter-spacing: .06em; color: var(--violet-ink);
}
.dh-activechip:hover { background: #DFD2F5; }
.dh-clearall { border: 0; background: none; cursor: pointer; padding: 8px 6px; font: 500 11px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--danger); }
.dh-filterbtn {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px;
  border: 1px solid rgba(23,21,28,.22); background: var(--ivory-warm); cursor: pointer;
  font-family: var(--font-cta); font-weight: 800; font-size: 11.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-dark2); margin-left: auto;
}

/* ── shop layout ──────────────────────────────────────────────────────── */
.dh-shoplayout {
  position: relative; padding: clamp(10px, 1.2vw, 16px) clamp(10px, 1.4vw, 20px) clamp(28px, 3vw, 48px);
  display: flex; align-items: flex-start; gap: clamp(10px, 1.2vw, 18px);
}
.dh-filters {
  flex: 0 0 272px; position: sticky; top: 136px; padding: 1px;
  border-radius: clamp(20px, 2.2vw, 28px);
  background: linear-gradient(150deg, rgba(130,86,232,.7), rgba(22,205,189,.55));
  box-shadow: 0 0 50px -28px rgba(205,183,255,.5);
}
.dh-filters > .in { border-radius: clamp(19px, 2.2vw, 27px); background: var(--ivory); padding: 20px 20px 22px; color: var(--text-dark2); }
.dh-filters-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 2px solid var(--text-dark2); margin-bottom: 6px; }
.dh-filters-head h2 { margin: 0; font-family: var(--font-heading); font-weight: 900; font-stretch: 78%; font-size: 17px; letter-spacing: .09em; text-transform: uppercase; }
.dh-filters-head span { font: 400 11px/1 var(--font-mono); letter-spacing: .08em; color: var(--muted-ink); }
.dh-facet { margin: 0; padding: 20px 0; border: 0; border-bottom: 1px solid rgba(23,21,28,.14); }
.dh-facet legend, .dh-facet .legend { padding: 0; margin: 0 0 14px; font: 500 10.5px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--violet); }
.dh-opt { display: flex; align-items: center; gap: 11px; padding: 7px 0; cursor: pointer; }
.dh-opt input { width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--violet); cursor: pointer; }
.dh-opt .dot { width: 15px; height: 15px; flex: 0 0 auto; border-radius: 999px; box-shadow: 0 0 0 1px rgba(23,21,28,.18); }
.dh-opt .nm { flex: 1; font-size: 14px; }
.dh-opt .ct { font: 400 11px/1 var(--font-mono); color: var(--muted-ink); }
.dh-range { height: 4px; border-radius: 999px; background: #DDD6E4; position: relative; margin: 0 2px 14px; }
.dh-range .fill { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: linear-gradient(90deg, var(--violet), var(--teal)); left: 0; }
.dh-filters input[type="range"] { width: 100%; height: 20px; cursor: pointer; accent-color: var(--violet); }

.dh-results { flex: 1; min-width: 0; }
.dh-grid { display: grid; gap: clamp(10px, 1.2vw, 18px); }
.dh-grid[data-cols="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dh-grid[data-cols="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dh-grid[data-cols="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dh-grid[data-cols="6"] { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.dh-grid[data-cols="1"] { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 1439px) { .dh-grid[data-cols="6"] { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 1240px) { .dh-grid[data-cols="6"] { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1180px) { .dh-grid[data-cols="4"] { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 980px)  { .dh-grid[data-cols="6"] { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px)  { .dh-grid[data-cols="4"], .dh-grid[data-cols="3"] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px)  { .dh-grid[data-cols="6"] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  /* the dense six-across grid stays two-up on a phone; the roomier densities
     drop to a single column so their cards keep their type sizes */
  .dh-grid[data-cols="2"], .dh-grid[data-cols="3"], .dh-grid[data-cols="4"],
  .dh-grid[data-cols="1"] { grid-template-columns: minmax(0, 1fr) !important; }
  .dh-grid[data-cols="6"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 1039px) { .dh-filters { display: none; } }

/* list mode */
.dh-prod--list { flex-direction: row; }
.dh-prod--list .dh-card-media { flex: 0 0 34%; margin: 9px 0 9px 9px; aspect-ratio: 1 / 1; }
.dh-prod--list .dh-prod-body { padding: 18px 22px; }
.dh-prod--list .dh-qadd { margin: 0 22px 18px; }
.dh-prod-blurb { margin: 4px 0 0; font-size: 14px; color: var(--muted-ink2); text-wrap: pretty; }
@media (max-width: 640px) { .dh-prod--list { flex-direction: column; } .dh-prod--list .dh-card-media { flex: none; margin: 9px 9px 0; } .dh-prod--list .dh-qadd { margin: 0 14px 14px; } }

.dh-merch { grid-column: 1 / -1; padding: 1px; border-radius: clamp(22px, 2.4vw, 32px); background: linear-gradient(100deg, rgba(255,120,106,.6), rgba(205,183,255,.5) 40%, rgba(22,205,189,.7)); box-shadow: 0 0 60px -26px rgba(255,120,106,.34); }
.dh-merch > .in { position: relative; border-radius: clamp(21px, 2.4vw, 31px); background: var(--ink-plum); padding: clamp(24px, 3vw, 40px); display: flex; flex-wrap: wrap; align-items: center; gap: 24px; overflow: hidden; }
.dh-merch h2 { margin: 0 0 10px; font-family: var(--font-heading); font-weight: 900; font-stretch: 74%; font-variation-settings: 'wdth' 74; font-size: clamp(25px, 3vw, 38px); line-height: .96; letter-spacing: .03em; text-transform: uppercase; color: var(--ivory); }
.dh-merch p { margin: 0; max-width: 44ch; font-size: 14.5px; color: var(--muted-2); }
.dh-merch .wave { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .28; pointer-events: none; }

.dh-pagewrap { margin-top: clamp(26px, 3vw, 42px); display: flex; flex-direction: column; align-items: center; gap: 20px; }
.dh-pagewrap > p { margin: 0; font: 400 12px/1 var(--font-mono); letter-spacing: .08em; color: #9A92AA; }
.dh-pager { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; justify-content: center; }
.dh-pager button {
  min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px;
  border: 1px solid rgba(245,241,234,.26); background: transparent; color: var(--ivory);
  cursor: pointer; font: 500 13px/1 var(--font-mono); display: grid; place-items: center;
}
.dh-pager button[aria-current="page"] { background: var(--ivory); color: var(--text-dark); border-color: var(--ivory); }
.dh-pager button:disabled { opacity: .35; }

.dh-emptystate { padding: 1px; border-radius: clamp(22px, 2.4vw, 30px); background: linear-gradient(130deg, rgba(205,183,255,.8), rgba(22,205,189,.6)); }
.dh-emptystate > .in { position: relative; isolation: isolate; border-radius: clamp(21px, 2.4vw, 29px); background: var(--ink-panel); padding: clamp(28px, 4vw, 52px); overflow: hidden; }
.dh-emptystate h2 { margin: 0 0 12px; font-family: var(--font-heading); font-weight: 900; font-stretch: 74%; font-size: clamp(26px, 3vw, 38px); line-height: .98; letter-spacing: .03em; text-transform: uppercase; color: var(--ivory); }
.dh-emptystate p { margin: 0 0 24px; max-width: 46ch; font-size: 15px; color: var(--muted-2); }

/* mobile filter sheet */
.dh-sheet {
  position: fixed; z-index: 101; left: 10px; right: 10px; bottom: 10px; max-height: 88vh;
  display: flex; flex-direction: column; background: var(--ivory); color: var(--text-dark2);
  border-radius: 30px; overflow: hidden; animation: dh-rise .26s ease both;
}
.dh-sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px 14px; border-bottom: 2px solid var(--text-dark2); }
.dh-sheet-head h2 { margin: 0; font-family: var(--font-heading); font-weight: 900; font-stretch: 78%; font-size: 19px; letter-spacing: .08em; text-transform: uppercase; }
.dh-sheet-body { flex: 1; min-height: 0; overflow-y: auto; padding: 0 22px 8px; }
.dh-sheet-foot { padding: 16px 22px 22px; border-top: 1px solid rgba(23,21,28,.14); display: flex; gap: 10px; }

/* quick view */
.dh-quick {
  position: fixed; z-index: 111; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(94vw, 840px); max-height: 88vh; padding: 1px; border-radius: 30px;
  background: linear-gradient(132deg, #6B3FD4, #669AF5 40%, #3DE0C8);
  box-shadow: 0 0 80px -22px rgba(130,86,232,.7); animation: dh-pop .22s ease both;
}
.dh-quick > .in { border-radius: 29px; background: var(--ink-panel); overflow: hidden; display: flex; flex-wrap: wrap; max-height: calc(88vh - 2px); }
.dh-quick .art { flex: 1 1 320px; min-width: min(100%, 280px); background: #FFFFFF; aspect-ratio: 1 / 1; }
.dh-quick .art img { width: 100%; height: 100%; object-fit: contain; }
.dh-quick .body { flex: 1 1 340px; min-width: min(100%, 300px); padding: clamp(22px, 3vw, 34px); overflow-y: auto; }
.dh-quick h2 { margin: 0 0 8px; font-family: var(--font-heading); font-weight: 900; font-stretch: 78%; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.02; letter-spacing: .04em; text-transform: uppercase; color: var(--ivory); }
.dh-quick .close { position: absolute; top: 12px; right: 12px; z-index: 4; width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(243,240,231,.26); background: rgba(14,14,18,.85); cursor: pointer; display: grid; place-items: center; }

/* ── product detail ───────────────────────────────────────────────────── */
.dh-pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(20px, 3vw, 54px); align-items: start; }
@media (max-width: 940px) { .dh-pdp { grid-template-columns: minmax(0, 1fr); } }

.dh-gallery { position: sticky; top: 132px; }
@media (max-width: 940px) { .dh-gallery { position: static; } }
.dh-gallery-main {
  position: relative; border-radius: clamp(18px, 2.2vw, 26px); overflow: hidden;
  background: #FFFFFF; aspect-ratio: 1 / 1; cursor: zoom-in;
  border: 1px solid rgba(23, 21, 28, .1);
}
.dh-gallery-main img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.dh-gallery-main.is-zoom img { transform: scale(2.1); transition: transform .12s linear; }
.dh-gallery-main.is-zoom { cursor: zoom-out; }
.dh-zoomhint { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 999px; background: rgba(18,17,15,.82); color: var(--ivory); font: 500 10px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; pointer-events: none; }
/* Drawn only when a product has more than one photograph — js/product.js
   renders no strip at all for the rest, so there is nothing to hide. */
.dh-thumbs {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px; margin-top: 12px;
}
.dh-thumb { border: 1px solid rgba(243,240,231,.16); border-radius: 14px; overflow: hidden; background: linear-gradient(170deg, #FFFDF8, #F1EBDE); aspect-ratio: 1 / 1; padding: 0; cursor: pointer; }
.dh-thumb img { width: 100%; height: 100%; object-fit: cover; }
.dh-thumb[aria-current="true"] { border-color: var(--teal); box-shadow: 0 0 0 2px rgba(61,224,200,.35); }

.dh-buy h1, .dh-buy-title { margin: 0 0 10px; font-family: var(--font-heading); font-weight: 900; font-stretch: 76%; font-variation-settings: 'wdth' 76; font-size: clamp(28px, 3.6vw, 46px); line-height: .98; letter-spacing: .03em; text-transform: uppercase; color: var(--ivory); }
.dh-buy .price { display: flex; align-items: baseline; gap: 12px; margin: 16px 0 6px; }
.dh-buy .price .now { font-family: var(--font-heading); font-weight: 900; font-size: clamp(26px, 3vw, 34px); color: var(--ivory); }
.dh-buy .price .was { font-size: 16px; color: var(--muted-ink); text-decoration: line-through; }
.dh-buy .price .save { padding: 5px 11px; border-radius: 999px; background: var(--coral); color: #3B0F0A; font: 600 10px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.dh-buy .tax { margin: 0 0 18px; font-size: 12.5px; color: var(--muted-ink); }
.dh-buy .desc { font-size: 15px; color: var(--muted-2); text-wrap: pretty; }

.dh-variants { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; }
.dh-variant {
  padding: 12px 18px; border-radius: 999px; border: 1.5px solid rgba(107, 63, 212, .4);
  background: rgba(107, 63, 212, .08); color: #6B3FD4; cursor: pointer;
  font: 600 12px/1.2 var(--font-mono); letter-spacing: .06em;
  -webkit-text-fill-color: #6B3FD4;
}
.dh-variant[aria-pressed="true"] {
  border-color: #6B3FD4; background: rgba(107, 63, 212, .2); color: #5B2AAE;
  -webkit-text-fill-color: #5B2AAE;
}
.dh-varselect,
.dh-qopt-select {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 8px 0 0;
  padding: 14px 44px 14px 16px;
  border-radius: 999px;
  border: 1.5px solid #6B3FD4;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B3FD4' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px;
  color: #6B3FD4 !important;
  -webkit-text-fill-color: #6B3FD4 !important;
  font: 600 13px/1.35 var(--font-mono);
  letter-spacing: .04em;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.dh-varselect:focus-visible,
.dh-qopt-select:focus-visible {
  outline: 2px solid #6B3FD4;
  outline-offset: 3px;
}
.dh-varselect option,
.dh-qopt-select option {
  color: #17151C;
  -webkit-text-fill-color: #17151C;
  background: #fff;
  font-weight: 500;
}
.dh-fieldlabel { margin: 22px 0 10px; font: 500 10.5px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }

/* Desktop: purple chips. Mobile: chips/dropdowns hidden — sheet opens from ATC. */
@media (max-width: 860px) {
  .dh-variants,
  .dh-qopts,
  .dh-varselect,
  .dh-qopt-select,
  #dh-var-label { display: none !important; }
}
@media (min-width: 861px) {
  .dh-varselect,
  .dh-qopt-select { display: none !important; }
}

/* Mobile variation bottom sheet */
.dh-varsheet {
  position: fixed; inset: 0; z-index: 80;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.dh-varsheet .dh-scrim {
  position: absolute; inset: 0; z-index: 0; border: 0; padding: 0; cursor: pointer;
  background: rgba(8, 8, 10, .62); -webkit-tap-highlight-color: transparent;
}
.dh-varsheet-panel {
  position: relative; z-index: 1;
  max-height: min(78vh, 560px); overflow: auto;
  padding: 18px 18px calc(18px + env(safe-area-inset-bottom, 0px));
  border-radius: 22px 22px 0 0;
  background: #17151C;
  border: 1px solid rgba(243, 240, 231, .14);
  border-bottom: 0;
  box-shadow: 0 -18px 48px rgba(0, 0, 0, .45);
  animation: dh-varsheet-up .32s cubic-bezier(.2, .75, .3, 1) both;
}
@keyframes dh-varsheet-up {
  from { transform: translateY(18px); opacity: .6; }
  to { transform: none; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .dh-varsheet-panel { animation: none; }
}
.dh-varsheet-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  margin-bottom: 8px;
}
.dh-varsheet-head .kicker {
  margin: 0 0 4px; font: 500 10px/1 var(--font-mono);
  letter-spacing: .16em; text-transform: uppercase; color: #CDB7FF;
}
.dh-varsheet-head h2 {
  margin: 0; font-family: var(--font-heading); font-weight: 800; font-stretch: 82%;
  font-size: 18px; letter-spacing: .04em; text-transform: uppercase; color: #F3F0E7;
}
.dh-varsheet-prod {
  margin: 0 0 14px; font-size: 14px; line-height: 1.4; color: rgba(243, 240, 231, .72);
}
.dh-varsheet-list { display: grid; gap: 8px; }
.dh-varsheet-opt {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; min-height: 52px; padding: 14px 16px; cursor: pointer;
  border-radius: 14px; border: 1.5px solid rgba(107, 63, 212, .45);
  background: rgba(107, 63, 212, .12); color: #CDB7FF; text-align: left;
  font: 600 13px/1.3 var(--font-mono); letter-spacing: .04em;
  -webkit-text-fill-color: #CDB7FF;
}
.dh-varsheet-opt .lbl { color: inherit; -webkit-text-fill-color: inherit; }
.dh-varsheet-opt .prc {
  flex: 0 0 auto; font-family: var(--font-heading); font-weight: 800;
  font-size: 15px; color: #F3F0E7; -webkit-text-fill-color: #F3F0E7;
}
.dh-varsheet-opt:active,
.dh-varsheet-opt:focus-visible {
  border-color: #A98BF5; background: rgba(107, 63, 212, .28);
  outline: none;
}
.dh-varsheet-opt:disabled {
  opacity: .4; cursor: not-allowed;
}

.dh-buyrow { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; margin-top: 22px; }
.dh-qty--lg { border-color: rgba(243,240,231,.3); border-radius: 999px; }
.dh-qty--lg button { width: 48px; height: 56px; font-size: 18px; }
.dh-qty--lg span { min-width: 30px; font-size: 15px; }
.dh-buyrow .dh-btn { flex: 1; min-width: 220px; justify-content: space-between; padding: 18px 26px; }
.dh-wishbtn {
  width: 56px; flex: 0 0 auto; border-radius: 999px; border: 1px solid rgba(243,240,231,.3);
  background: transparent; cursor: pointer; display: grid; place-items: center;
}
.dh-wishbtn.is-on svg { fill: var(--coral); stroke: var(--coral); }

.dh-trustrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(243,240,231,.14); }
.dh-trustrow div { display: flex; gap: 10px; align-items: flex-start; }
.dh-trustrow strong { display: block; font-family: var(--font-heading); font-weight: 800; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ivory); }
.dh-trustrow span { font-size: 12.5px; color: var(--muted-2); }

.dh-acc { margin-top: 26px; border-top: 1px solid rgba(243,240,231,.14); }
.dh-acc details { border-bottom: 1px solid rgba(243,240,231,.14); }
.dh-acc summary {
  list-style: none; cursor: pointer; padding: 18px 0; display: flex; align-items: center; gap: 12px;
  font-family: var(--font-heading); font-weight: 800; font-stretch: 90%; font-size: 13px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ivory);
}
.dh-acc summary::-webkit-details-marker { display: none; }
.dh-acc summary::after { content: '+'; margin-left: auto; font: 400 20px/1 var(--font-mono); color: var(--teal); }
.dh-acc details[open] summary::after { content: '−'; }
.dh-acc .panel { padding: 0 0 20px; font-size: 14.5px; color: var(--muted-2); }
.dh-acc .panel ul { margin: 0; padding-left: 18px; }
.dh-acc .panel li { margin-bottom: 6px; }
.dh-acc dl { margin: 0; display: grid; grid-template-columns: minmax(120px, auto) 1fr; gap: 8px 18px; }
.dh-acc dt { font: 500 10.5px/1.5 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-3); }
.dh-acc dd { margin: 0; font-size: 14px; color: var(--ivory); }

/* ── the source shop's own long product copy ─────────────────────────────
   Runs from a single line to a three-thousand-word guide with headings,
   nested bullets and a dosage table, so it is typeset as prose rather than
   dropped into the panel as one paragraph. It is clamped to a screenful with
   a fade, and js/product.js swaps `.is-clamped` off to expand it. */
.dh-prosecopy { position: relative; }
.dh-prosecopy.is-clamped { max-height: 340px; overflow: hidden; }
.dh-prosecopy.is-clamped::after {
  content: ''; position: absolute; inset: auto 0 0; height: 96px; pointer-events: none;
  background: linear-gradient(180deg, rgba(14,14,18,0), rgba(14,14,18,.96));
}
.dh-prosecopy > :first-child { margin-top: 0; }
.dh-prosecopy > :last-child { margin-bottom: 0; }
.dh-prosecopy p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.72; color: var(--muted-2); text-wrap: pretty; }
.dh-prosecopy h4 {
  margin: 22px 0 8px; font-family: var(--font-heading); font-weight: 800; font-stretch: 84%;
  font-size: 13.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--ivory);
}
.dh-prosecopy h5 { margin: 18px 0 6px; font-size: 14px; font-weight: 700; letter-spacing: .01em; color: var(--ivory); }
.dh-prosecopy ul, .dh-prosecopy ol { margin: 0 0 12px; padding-left: 20px; }
.dh-prosecopy ol { list-style: decimal; }
.dh-prosecopy li { margin-bottom: 6px; font-size: 14.5px; line-height: 1.66; color: var(--muted-2); }
.dh-prosecopy li > ul, .dh-prosecopy li > ol { margin: 6px 0 0; }
/* the source's URLs come across as plain text and would otherwise widen the
   column past the grid track */
.dh-prosecopy li, .dh-prosecopy p { overflow-wrap: anywhere; }

.dh-prosetable { margin: 0 0 14px; overflow-x: auto; border: 1px solid rgba(243,240,231,.14); border-radius: 12px; }
.dh-prosetable table { width: 100%; border-collapse: collapse; font-size: 13px; }
.dh-prosetable th, .dh-prosetable td { padding: 8px 11px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(243,240,231,.1); }
.dh-prosetable th {
  font: 500 10.5px/1.4 var(--font-mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--ivory); background: rgba(243,240,231,.06); white-space: nowrap;
}
.dh-prosetable td { color: var(--muted-2); }
.dh-prosetable tr:last-child td { border-bottom: 0; }

.dh-prosemore {
  margin: 4px 0 0; padding: 0; background: none; border: 0; cursor: pointer;
  font: 500 11.5px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal); text-decoration: underline; text-underline-offset: 4px;
}

/* lab module */
.dh-lab { margin-top: 26px; padding: 1px; border-radius: 22px; background: linear-gradient(140deg, rgba(61,224,200,.7), rgba(130,86,232,.6)); }
.dh-lab > .in { border-radius: 21px; background: rgba(14,14,18,.94); padding: 22px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.dh-lab .seal { width: 74px; height: 74px; flex: 0 0 auto; }
.dh-lab h3 { margin: 0 0 6px; font-family: var(--font-heading); font-weight: 800; font-stretch: 82%; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--ivory); }
.dh-lab p { margin: 0 0 4px; font-size: 13.5px; color: var(--muted-2); }
.dh-lab .batch { font: 500 11px/1 var(--font-mono); letter-spacing: .1em; color: var(--teal); }

.dh-sticky-buy {
  position: fixed; left: 12px; right: 12px; z-index: 72;
  bottom: calc(68px + env(safe-area-inset-bottom));
  display: none; gap: 10px; align-items: center;
  background: rgba(8,8,10,.95); backdrop-filter: blur(12px);
  border: 1px solid rgba(243,240,231,.16); border-radius: 999px; padding: 8px 8px 8px 20px;
}
.dh-sticky-buy .dh-btn { white-space: nowrap; }
.dh-sticky-buy .p { font-family: var(--font-heading); font-weight: 900; font-size: 17px; color: var(--ivory); }
.dh-sticky-buy .n { font: 400 10.5px/1 var(--font-mono); letter-spacing: .08em; color: var(--muted-3); display: block; }
@media (max-width: 940px) { body.pdp .dh-sticky-buy { display: flex; } }
@media (max-width: 940px) { body.pdp .dh-mobilebar-spacer { height: calc(128px + env(safe-area-inset-bottom)); } }

/* reviews */
.dh-reviews { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); }
@media (max-width: 820px) { .dh-reviews { grid-template-columns: minmax(0, 1fr); } }
.dh-scorebox { padding: 24px; border: 1px solid rgba(243,240,231,.16); border-radius: 20px; background: rgba(243,240,231,.03); }
.dh-scorebox .big { font-family: var(--font-heading); font-weight: 900; font-size: 54px; line-height: 1; color: var(--ivory); }
.dh-bars { display: grid; gap: 7px; margin-top: 16px; }
.dh-bars .r { display: flex; align-items: center; gap: 10px; font: 400 11px/1 var(--font-mono); color: var(--muted-3); }
.dh-bars .t { flex: 1; height: 6px; background: rgba(243,240,231,.12); border-radius: 999px; overflow: hidden; }
.dh-bars .f { display: block; height: 100%; min-width: 3px; background: linear-gradient(90deg, var(--violet), var(--teal)); }
.dh-review { padding: 20px 0; border-bottom: 1px solid rgba(243,240,231,.12); }
.dh-review h4 { margin: 8px 0 6px; font-size: 15.5px; font-weight: 600; color: var(--ivory); }
.dh-review p { margin: 0 0 8px; font-size: 14.5px; color: var(--muted-2); text-wrap: pretty; }
.dh-review .who { font: 400 11px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-3); }

/* ── cart page / checkout / account ───────────────────────────────────── */
.dh-two { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .9fr); gap: clamp(18px, 2.6vw, 42px); align-items: start; }
/* wider copy column, narrower sidebar — as a class so the breakpoint below
   still wins; an inline grid-template beats a media query and strands the
   sidebar at a hundred pixels on a phone */
.dh-two--wide { grid-template-columns: minmax(0, 1.7fr) minmax(0, .8fr); }
@media (max-width: 900px) {
  .dh-two, .dh-two--wide { grid-template-columns: minmax(0, 1fr); }
}

.dh-box { border: 1px solid rgba(243,240,231,.14); border-radius: 22px; background: rgba(243,240,231,.03); padding: clamp(20px, 2.4vw, 30px); }
.dh-box + .dh-box { margin-top: 16px; }
/* direct children only — a product card nested inside a box keeps its own heading style */
.dh-box > h2, .dh-box > h3 { margin: 0 0 16px; font-family: var(--font-heading); font-weight: 900; font-stretch: 78%; font-size: 18px; letter-spacing: .07em; text-transform: uppercase; color: var(--ivory); }
.dh-summary { position: sticky; top: 132px; }
@media (max-width: 900px) { .dh-summary { position: static; } }
.dh-sumline { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 14px; color: var(--muted-2); }
.dh-sumline.total { border-top: 2px solid var(--ivory); margin-top: 10px; padding-top: 16px; font-size: 15px; color: var(--ivory); }
.dh-sumline.total span:last-child { font-family: var(--font-heading); font-weight: 900; font-size: 26px; }

.dh-cartrow { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 18px; padding: 20px 0; border-bottom: 1px solid rgba(243,240,231,.12); align-items: start; }
.dh-cartrow .thumb { border-radius: 14px; overflow: hidden; background: #FFFFFF; aspect-ratio: 1 / 1; }
.dh-cartrow .thumb img { width: 100%; height: 100%; object-fit: contain; }
.dh-cartrow h3 { margin: 0 0 4px; font-size: 16px; font-weight: 600; color: var(--ivory); font-family: var(--font-body); letter-spacing: 0; text-transform: none; }
@media (max-width: 560px) { .dh-cartrow { grid-template-columns: 72px minmax(0, 1fr); } .dh-cartrow .money { grid-column: 2; } }

.dh-field { display: block; margin-bottom: 16px; }
.dh-field > span { display: block; margin-bottom: 7px; font: 500 10.5px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-3); }
.dh-input, .dh-select, .dh-textarea {
  width: 100%; padding: 15px 16px; border-radius: 12px;
  border: 1px solid rgba(243,240,231,.22); background: rgba(243,240,231,.04);
  color: var(--ivory); font-size: 15px; outline: none;
}
.dh-input:focus-visible, .dh-select:focus-visible, .dh-textarea:focus-visible { border-color: var(--teal); }
.dh-textarea { min-height: 130px; resize: vertical; }
.dh-input.is-bad, .dh-select.is-bad { border-color: var(--coral-lt); }
.dh-err { display: block; margin-top: 6px; font: 400 11.5px/1.4 var(--font-mono); color: var(--coral-lt); }
.dh-row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
@media (max-width: 560px) { .dh-row2 { grid-template-columns: minmax(0, 1fr); } }

.dh-steps-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.dh-steps-nav .s { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(243,240,231,.18); font: 500 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-3); }
.dh-steps-nav .s.is-on { border-color: var(--teal); color: var(--teal); background: rgba(61,224,200,.1); }
.dh-steps-nav .s.is-done { border-color: rgba(169,139,245,.6); color: var(--lavender); }

.dh-radio { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid rgba(243,240,231,.2); border-radius: 14px; cursor: pointer; margin-bottom: 10px; }
.dh-radio input { margin-top: 3px; accent-color: var(--teal); }
.dh-radio.is-on { border-color: var(--teal); background: rgba(61,224,200,.08); }
.dh-radio strong { display: block; font-size: 14.5px; color: var(--ivory); }
.dh-radio span { font-size: 13px; color: var(--muted-2); }
.dh-radio .p { margin-left: auto; font-family: var(--font-heading); font-weight: 800; font-size: 14px; color: var(--ivory); }

.dh-done { text-align: center; padding: clamp(30px, 5vw, 60px) 0; }
.dh-done .tick { width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 999px; border: 2px solid var(--teal); display: grid; place-items: center; }

.dh-tabsbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; border-bottom: 1px solid rgba(243,240,231,.14); }
.dh-tabsbar button {
  border: 0; background: none; cursor: pointer; padding: 14px 4px; margin-right: 18px;
  font-family: var(--font-cta); font-weight: 800; font-size: 11.5px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--muted-3); border-bottom: 2px solid transparent;
}
.dh-tabsbar button[aria-selected="true"] { color: var(--teal); border-bottom-color: var(--teal); }

.dh-table { width: 100%; border-collapse: collapse; }
.dh-table th, .dh-table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid rgba(243,240,231,.12); font-size: 14px; }
.dh-table th { font: 500 10.5px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-3); }
.dh-table td { color: var(--muted-2); }
.dh-status { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; font: 500 10px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.dh-status.ok { background: rgba(61,224,200,.14); color: var(--teal); }
.dh-status.go { background: rgba(169,139,245,.16); color: var(--lavender); }
.dh-status.wait { background: rgba(255,122,102,.14); color: var(--coral-lt); }

/* ── editorial ────────────────────────────────────────────────────────── */
.dh-editorial { max-width: 760px; margin: 0 auto; }
.dh-editorial p { font-size: 17px; line-height: 1.72; color: var(--muted); text-wrap: pretty; }
.dh-editorial h2 { margin: 40px 0 14px; font-family: var(--font-heading); font-weight: 900; font-stretch: 78%; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: .04em; text-transform: uppercase; color: var(--ivory); }
.dh-editorial h3 { margin: 30px 0 10px; font-size: 19px; font-weight: 700; color: var(--ivory); }
.dh-editorial ul, .dh-editorial ol { padding-left: 22px; color: var(--muted); font-size: 16.5px; line-height: 1.72; }
.dh-editorial li { margin-bottom: 8px; }
.dh-editorial blockquote {
  margin: 30px 0; padding: 20px 26px; border-left: 3px solid var(--teal);
  background: rgba(61,224,200,.06);
  font-family: var(--font-serif); font-style: italic; font-size: 21px; line-height: 1.4; color: var(--ivory);
}
.dh-editorial a { text-decoration: underline; text-underline-offset: 3px; }
.dh-editorial hr { border: 0; border-top: 1px solid rgba(243,240,231,.16); margin: 40px 0; }

.dh-seo { padding-top: clamp(28px, 3.4vw, 52px); padding-bottom: clamp(8px, 1vw, 16px); }
.dh-seo .dh-editorial { max-width: 72ch; margin: 0; }
.dh-seopicks { list-style: none; padding: 0; display: grid; gap: 8px 18px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.dh-seopicks a { font-weight: 600; }
.dh-seo-pdp { margin: 18px 0 8px; }
.dh-seo-pdp h2 { margin: 22px 0 10px; font-family: var(--font-heading); font-weight: 800; font-stretch: 82%; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.dh-seo-blurb { font-size: 14.5px; line-height: 1.65; }
.dh-note { padding: 18px 22px; border: 1px solid rgba(169,139,245,.4); background: rgba(123,63,214,.12); border-radius: 16px; font-size: 14.5px; color: var(--muted-2); }
.dh-note strong { color: var(--ivory); }

.dh-postcard { display: flex; flex-direction: column; overflow: hidden; border-radius: clamp(16px, 2vw, 24px); background: var(--ivory-card); color: var(--text-dark); transition: transform .3s cubic-bezier(.2,.75,.3,1), box-shadow .3s ease; }
.dh-postcard:hover { transform: translateY(-6px); box-shadow: 0 30px 54px -28px rgba(0,0,0,.5); color: var(--text-dark); }
.dh-postcard .dh-card-media { aspect-ratio: 3 / 2; overflow: hidden; }
.dh-postcard .dh-card-media img { width: 100%; height: 100%; object-fit: cover; }
.dh-postcard .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.dh-postcard h3 { margin: 0; font-size: 18px; line-height: 1.24; font-weight: 600; text-wrap: pretty; }
.dh-postcard p { margin: 0; font-size: 14px; color: var(--muted-ink2); }

.dh-faqlist details { border-bottom: 1px solid rgba(243,240,231,.14); }
.dh-faqlist summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; gap: 14px; align-items: flex-start; font-size: 16.5px; font-weight: 600; color: var(--ivory); }
.dh-faqlist summary::-webkit-details-marker { display: none; }
.dh-faqlist summary::after { content: '+'; margin-left: auto; font: 400 22px/1 var(--font-mono); color: var(--teal); }
.dh-faqlist details[open] summary::after { content: '−'; }
.dh-faqlist .a { padding: 0 0 22px; font-size: 15px; color: var(--muted-2); max-width: 70ch; }

.dh-statgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: clamp(14px, 2vw, 26px); }
.dh-stat { border-top: 2px solid var(--ivory); padding-top: 16px; }
.dh-stat .n { font-family: var(--font-heading); font-weight: 900; font-stretch: 78%; font-size: clamp(30px, 3.6vw, 46px); line-height: 1; color: var(--ivory); }
.dh-stat .l { margin: 8px 0 0; font: 500 10.5px/1.5 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-3); }

.dh-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(20px, 3vw, 48px); align-items: center; }
.dh-figure { border-radius: clamp(16px, 2vw, 26px); overflow: hidden; }
.dh-figure img { width: 100%; height: auto; }

/* ── 404 ──────────────────────────────────────────────────────────────── */
.dh-404 { min-height: 52vh; display: grid; place-items: center; text-align: center; padding: clamp(40px, 8vw, 100px) 0; }
.dh-404 .code { font-family: var(--font-heading); font-weight: 900; font-stretch: 70%; font-size: clamp(80px, 18vw, 200px); line-height: .82; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── print ────────────────────────────────────────────────────────────── */
@media print {
  .dh-header, .dh-announce, .dh-footer, .dh-mobilenav, .dh-toolwrap, .dh-sticky-buy, .dh-totop, .dh-filterfab { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ── light surfaces need light form controls (the page is color-scheme: dark) ── */
.dh-filters, .dh-sheet, .dh-toolwrap .in, .dh-panel--light > .in { color-scheme: light; }
.dh-filters input[type="checkbox"], .dh-sheet input[type="checkbox"] { accent-color: var(--violet); }
.dh-filters input[type="range"], .dh-sheet input[type="range"] { accent-color: var(--violet); }
.dh-toolwrap select { color-scheme: light; }
.dh-glink { max-width: 100%; }

/* tap targets */
.dh-wishbtn { min-height: 56px; }
.dh-table .dh-glink { padding: 6px 2px; }
.dh-tabsbar button { min-height: 44px; }
.dh-variant { min-height: 42px; }

@media (max-width: 560px) {
  /* qty and wishlist share a row; the primary action takes the full width */
  .dh-buyrow { flex-wrap: wrap; }
  .dh-buyrow .dh-qty--lg, .dh-buyrow .dh-wishbtn { flex: 0 0 auto; }
  .dh-buyrow .dh-btn { order: 3; flex: 1 0 100%; min-width: 0; padding: 14px 20px; }
  .dh-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .dh-sticky-buy { padding-left: 16px; }
  .dh-sticky-buy .p { font-size: 15px; }
}

.dh-cart-foot .dh-btn--block { padding: 18px 24px; font-size: 13px; letter-spacing: .14em; }
@media (max-width: 700px) { .dh-cart-foot .dh-btn--block { padding: 14px 18px; font-size: 12px; } }

/* ── compare tray + table ─────────────────────────────────────────────── */
.dh-comparebar {
  position: fixed; z-index: 68; left: 12px; bottom: 12px;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px 10px 14px; border-radius: 999px;
  background: rgba(14,14,18,.96); backdrop-filter: blur(12px);
  border: 1px solid rgba(169,139,245,.42);
  box-shadow: 0 22px 46px -22px rgba(0,0,0,.9);
  animation: dh-rise .24s ease both; max-width: calc(100vw - 24px);
}
.dh-comparebar .lab { font: 500 10.5px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-3); }
.dh-comparebar .thumbs { display: flex; gap: 6px; }
.dh-comparebar .thumbs span { width: 36px; height: 36px; border-radius: 8px; overflow: hidden; background: #fff; }
.dh-comparebar .thumbs img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.dh-comparebar .dh-btn { padding: 11px 18px; font-size: 11px; gap: 9px; }
@media (max-width: 1039px) { .dh-comparebar { bottom: 84px; } }
@media (max-width: 620px) { .dh-comparebar .thumbs { display: none; } }

.dh-compare-modal {
  position: fixed; z-index: 111; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(96vw, 1080px); max-height: 88vh; padding: 1px; border-radius: 28px;
  background: linear-gradient(132deg, #6B3FD4, #669AF5 40%, #3DE0C8);
  box-shadow: 0 0 80px -22px rgba(130,86,232,.7); animation: dh-pop .22s ease both;
}
.dh-compare-modal > .in {
  border-radius: 27px; background: var(--ink-panel); overflow: auto;
  max-height: calc(88vh - 2px); padding: clamp(20px, 2.6vw, 30px);
}
.dh-compare-modal h2 { margin: 0 0 18px; font-family: var(--font-heading); font-weight: 900; font-stretch: 78%; font-size: clamp(20px, 2.4vw, 26px); letter-spacing: .06em; text-transform: uppercase; color: var(--ivory); }
.dh-compare-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.dh-compare-table th { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; width: 148px;
  font: 500 10.5px/1.5 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-3);
  border-bottom: 1px solid rgba(243,240,231,.12); }
.dh-compare-table td { padding: 12px 14px; vertical-align: top; font-size: 14px; color: var(--muted-2);
  border-bottom: 1px solid rgba(243,240,231,.12); border-left: 1px solid rgba(243,240,231,.08); }
.dh-compare-table .art { border-radius: 14px; overflow: hidden; aspect-ratio: 1 / 1; background: #FFFFFF; margin-bottom: 10px; }
.dh-compare-table .art img { width: 100%; height: 100%; object-fit: contain; }
.dh-compare-table .nm { display: block; font-size: 15px; font-weight: 600; color: var(--ivory); margin-bottom: 4px; }
.dh-compare-table .drop { border: 0; background: none; cursor: pointer; padding: 6px 0; font: 400 10.5px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--coral-lt); }

/* six across on the shop grid borrows the dense card treatment */
.dh-grid[data-cols="6"] .dh-prod-body { padding: 13px 13px 10px; gap: 5px; }
.dh-grid[data-cols="6"] .dh-prod-kick { font-size: 9px; letter-spacing: .14em; }
.dh-grid[data-cols="6"] .dh-prod-title {
  font-size: 14px; line-height: 1.24;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.dh-grid[data-cols="6"] .dh-prod-sku { font-size: 9.5px; letter-spacing: .06em; }
.dh-grid[data-cols="6"] .dh-prod-price .now { font-size: 16px; }
.dh-grid[data-cols="6"] .dh-prod-price .was { font-size: 12px; }
.dh-grid[data-cols="6"] .dh-prod-stock { font-size: 9.5px; }
.dh-grid[data-cols="6"] .dh-stars .track { font-size: 12px; letter-spacing: .08em; }
.dh-grid[data-cols="6"] .dh-stars .count { font-size: 10px; }
.dh-grid[data-cols="6"] .dh-qadd { margin: 0 10px 10px; }
.dh-grid[data-cols="6"] .dh-qadd .step { width: 34px; font-size: 15px; }
.dh-grid[data-cols="6"] .dh-qadd .go { font-size: 10px; letter-spacing: .1em; padding: 12px 2px; }
.dh-grid[data-cols="6"] .dh-tool { width: 32px; height: 32px; }
.dh-grid[data-cols="6"] .dh-prod-tools { gap: 5px; top: 8px; right: 8px; }
.dh-grid[data-cols="6"] .dh-badge-tag { top: 9px; left: 9px; padding: 5px 10px; font-size: 9px; }


/* the dense card's smaller line-height left the title link a pixel under the
   24px target minimum; give it back with padding rather than leading */
.dh-grid[data-cols="6"] .dh-prod-title a,
.dh-grid6 .dh-prod-title a { padding: 5px 0; margin: -5px 0; }

/* the buy box sits on the page ground rather than inside an ivory card */
.dh-buy-stock { margin: 16px 0 0; font-size: 12px; color: #0C6F66; }
.dh-buy-stock.is-low { color: var(--danger); }


/* ── payment instructions ─────────────────────────────────────────────── */
.dh-paymethod + .dh-paymethod { margin-top: 16px; }
.dh-payhead { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 18px; }
.dh-paymethod .dh-payhead .mark {
  flex: 0 0 auto; padding: 9px 14px; border-radius: 8px;
  background: var(--violet); color: var(--paper);
  font: 600 10px/1 var(--font-mono); letter-spacing: .12em;
}
.dh-payhead h2 { margin: 0 0 4px !important; }
.dh-payhead .blurb { margin: 0; font-size: 14.5px; color: var(--body-muted); }
.dh-paysteps { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.dh-paysteps li { display: flex; gap: 14px; align-items: baseline; font-size: 14.5px; color: var(--body-copy); }
.dh-paysteps .no { flex: 0 0 auto; font: 500 11px/1.5 var(--font-mono); letter-spacing: .1em; color: var(--violet); }
.dh-handle {
  margin-top: 18px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 14px 16px; border-radius: 12px;
  background: rgba(107, 63, 212, .08); border: 1px solid rgba(107, 63, 212, .3);
}
.dh-handle .lab { font: 500 10px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--body-faint); }
.dh-handle code {
  font-family: var(--font-mono); font-size: 13.5px; word-break: break-all;
  color: var(--body-strong); flex: 1 1 240px;
}
.dh-copy {
  flex: 0 0 auto; padding: 9px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(107, 63, 212, .5); background: transparent; color: var(--violet);
  font-family: var(--font-cta); font-weight: 800; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
}
.dh-copy:hover { background: var(--violet); color: var(--paper); }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.dh-faqsearch {
  position: relative; display: flex; align-items: center; gap: 10px;
  max-width: 620px; margin: 0 0 8px;
  padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--body-line); background: var(--body-card);
  color: var(--body-faint);
}
.dh-faqsearch .dh-input {
  flex: 1; min-width: 0; padding: 13px 0;
  border: 0; border-radius: 0; background: transparent; box-shadow: none;
  color: var(--body-strong);
}
.dh-faqsearch .dh-input:focus { outline: none; }
.dh-faqsearch:focus-within { border-color: var(--body-accent); }
.dh-faqsearch .dh-clearall { flex: 0 0 auto; }
.dh-faqsearch input[type="search"]::-webkit-search-cancel-button { display: none; }

.dh-faqhead {
  margin: 34px 0 8px;
  font-family: var(--font-heading); font-weight: 900;
  font-stretch: 78%; font-variation-settings: 'wdth' 78;
  font-size: 19px; letter-spacing: .05em; text-transform: uppercase;
  color: var(--body-strong);
  scroll-margin-top: 84px;
}
.dh-faqhead:first-child { margin-top: 4px; }

.dh-faqjump { display: grid; gap: 2px; }
.dh-faqjump a {
  display: block; padding: 7px 0; font-size: 14px;
  border-bottom: 1px solid var(--body-line);
}
.dh-faqjump a:last-child { border-bottom: 0; }

/* the about page's welcome block: copy beside a pair of small notes */
.dh-welcome {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, .85fr);
  gap: clamp(20px, 3vw, 46px); align-items: start;
}
@media (max-width: 900px) { .dh-welcome { grid-template-columns: minmax(0, 1fr); } }

/* the gateway logo replaces the old text mark on both payment surfaces */
.dh-paymethod .dh-payhead .mark {
  padding: 9px 13px; background: var(--ivory); border-radius: 9px;
}
.dh-paymethod .dh-payhead .mark .dh-paylogo { height: 20px; }
.dh-paychip {
  display: inline-flex; align-items: center;
  padding: 6px 11px; border-radius: 7px; background: var(--ivory);
}
.dh-paychip .dh-paylogo { height: 16px; }

/* the three-up promise strip at the head of the shipping page */
.dh-promise-strip {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; margin: 26px 0 34px;
  background: var(--body-line); border-radius: 18px; overflow: hidden;
}
.dh-promise-strip > div { background: var(--body-card); padding: clamp(15px, 1.8vw, 22px); }
.dh-promise-strip .n {
  display: block; margin-bottom: 5px;
  font-family: var(--font-heading); font-weight: 900;
  font-stretch: 76%; font-variation-settings: 'wdth' 76;
  font-size: clamp(18px, 2vw, 24px); letter-spacing: .03em; text-transform: uppercase;
  color: var(--body-accent);
}
.dh-promise-strip .l { display: block; font-size: 13.5px; line-height: 1.5; color: var(--body-muted); }
@media (max-width: 720px) { .dh-promise-strip { grid-template-columns: minmax(0, 1fr); } }

/* ── a shorter checkout ───────────────────────────────────────────────────
   One details panel instead of two, three fields on a line where they belong
   together, and the things most people skip folded away behind a disclosure. */
.dh-formnote { margin: -6px 0 20px; font-size: 14px; color: var(--body-muted); }
.dh-row3 { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1fr) minmax(0, 1.1fr); gap: 12px; }
@media (max-width: 620px) { .dh-row3 { grid-template-columns: minmax(0, 1fr); } }

.dh-field span em { font-style: normal; font-weight: 400; color: var(--body-faint); text-transform: none; letter-spacing: 0; }

.dh-optional { margin: 4px 0 8px; border-top: 1px solid var(--body-line); padding-top: 12px; }
.dh-optional > summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; gap: 10px;
  padding: 6px 0; font-size: 14px; color: var(--body-accent);
}
.dh-optional > summary::-webkit-details-marker { display: none; }
.dh-optional > summary::before {
  content: '+'; width: 20px; height: 20px; flex: 0 0 auto; border-radius: 999px;
  border: 1px solid currentColor; display: grid; place-items: center;
  font: 600 13px/1 var(--font-mono);
}
.dh-optional[open] > summary::before { content: '−'; }
.dh-optional > summary span {
  margin-left: auto; font: 500 10px/1 var(--font-mono); letter-spacing: .12em;
  text-transform: uppercase; color: var(--body-faint);
}
.dh-optional[open] { padding-bottom: 6px; }

.dh-substep {
  margin: 26px 0 12px; padding-top: 20px; border-top: 1px solid var(--body-line);
  font-family: var(--font-heading); font-weight: 900; font-stretch: 78%;
  font-size: 15px; letter-spacing: .07em; text-transform: uppercase;
  color: var(--body-strong);
}

.dh-agecheck {
  display: flex; gap: 11px; align-items: flex-start; margin-top: 20px;
  font-size: 14px; color: var(--body-muted); cursor: pointer;
}
.dh-agecheck input { margin-top: 3px; accent-color: #6B3FD4; width: 17px; height: 17px; flex: 0 0 auto; }

/* Nothing asks for another email address while an order is unpaid. The whole
   subscribe pitch goes -- heading included, so no orphaned title is left
   standing over a missing form. The socials stay. It is on every other page. */
body.checkout .dh-footer-brand > h2,
body.checkout .dh-footer-brand > .sub,
body.checkout .dh-footer-brand .dh-subscribe,
body.checkout .dh-footer-brand .dh-subscribe-note,
body.checkout .dh-footer-brand .dh-subscribed { display: none; }
body.checkout .dh-footer-brand .dh-socials { margin-top: 0; }

/* an unavailable delivery option says why rather than just refusing */
.dh-radio.is-unavailable { opacity: .55; cursor: not-allowed; }
.dh-radio.is-unavailable .dh-why {
  flex-basis: 100%; margin-top: 6px;
  font: 400 11.5px/1.5 var(--font-mono); letter-spacing: .04em; color: var(--body-faint);
}

/* the payment QR */
.dh-qrwrap {
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
  margin-top: 16px; padding: 14px; border-radius: 14px;
  background: var(--body-card); border: 1px solid var(--body-line);
}
.dh-qrwrap .dh-qr {
  width: 150px; height: 150px; flex: 0 0 auto;
  border-radius: 8px; background: #fff; padding: 6px;
}
.dh-qrwrap p { margin: 0; flex: 1 1 200px; font-size: 13.5px; line-height: 1.6; color: var(--body-muted); }
@media (max-width: 480px) { .dh-qrwrap { justify-content: center; text-align: center; } }

/* ── invoice ──────────────────────────────────────────────────────────────
   A document, not a page: it has to read on screen and survive a print with
   the site chrome stripped away. */
.dh-invoice {
  max-width: 880px; margin: 0 auto;
  border: 1px solid var(--body-line); border-radius: 22px;
  background: var(--surface); padding: clamp(20px, 3vw, 40px);
}
.inv-head {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding-bottom: 22px; margin-bottom: 22px; border-bottom: 2px solid var(--body-strong);
}
.inv-logo { height: 46px; width: auto; margin-bottom: 10px; }
.inv-seller p { margin: 0; font-size: 13px; line-height: 1.7; color: var(--body-muted); }
.inv-meta { text-align: right; min-width: 220px; }
.inv-kind {
  margin: 0 0 4px; font-family: var(--font-heading); font-weight: 900; font-stretch: 76%;
  font-size: clamp(24px, 3vw, 34px); letter-spacing: .05em; text-transform: uppercase;
  color: var(--body-strong);
}
.inv-no { margin: 0 0 12px; font: 400 12px/1 var(--font-mono); letter-spacing: .08em; color: var(--body-faint); }
.inv-no b { color: var(--body-strong); font-weight: 600; }
.inv-meta dl { display: grid; grid-template-columns: auto auto; gap: 4px 14px; margin: 0; justify-content: end; }
.inv-meta dt { font: 400 11px/1.6 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--body-faint); }
.inv-meta dd { margin: 0; font-size: 13px; color: var(--body-strong); text-align: right; }
.inv-status { font: 500 10.5px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; }
.inv-status.is-owed { background: rgba(162, 56, 44, .12); color: #8E3025; }
.inv-status.is-paid { background: rgba(12, 111, 102, .12); color: #0A5A53; }

.inv-parties { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; margin-bottom: 26px; }
.inv-lbl { margin: 0 0 7px; font: 500 10px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--body-faint); }
.inv-parties b { display: block; font-size: 15px; color: var(--body-strong); margin-bottom: 2px; }
.inv-parties span { display: block; font-size: 13.5px; line-height: 1.6; color: var(--body-muted); }
.inv-method { margin-top: 6px; font: 400 11.5px/1.5 var(--font-mono) !important; letter-spacing: .04em; color: var(--body-accent) !important; }

.inv-table th.num, .inv-table td.num { text-align: right; white-space: nowrap; }
.inv-item { display: flex; gap: 14px; align-items: center; }
.inv-item img, .inv-item-ph {
  width: 56px; height: 56px; border-radius: 10px; object-fit: contain;
  background: #fff; flex: 0 0 auto; border: 1px solid var(--body-line);
}
.inv-item-ph { display: inline-block; background: var(--body-wash, #F3F0E7); }
.inv-item b { display: block; font-size: 14.5px; color: var(--body-strong); }
.inv-item span { display: block; font: 400 10.5px/1.5 var(--font-mono); letter-spacing: .06em; color: var(--body-faint); }

.inv-foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .6fr); gap: 24px; margin-top: 22px; }
@media (max-width: 640px) { .inv-foot { grid-template-columns: minmax(0, 1fr); } }
.inv-notetext { margin: 0; font-size: 14px; line-height: 1.6; color: var(--body-muted); }
.inv-totals { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; margin: 0; }
.inv-totals dt { font-size: 13.5px; color: var(--body-muted); }
.inv-totals dd { margin: 0; text-align: right; font-size: 13.5px; color: var(--body-strong); }
.inv-totals .is-total {
  padding-top: 10px; margin-top: 4px; border-top: 2px solid var(--body-strong);
  font-family: var(--font-heading); font-weight: 900; font-size: 20px; color: var(--body-strong);
}

.inv-pay, .inv-paid { margin-top: 26px; }
.inv-owed { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin: -6px 0 14px; }
.inv-owed span { font: 500 11px/1 var(--font-mono); letter-spacing: .13em; text-transform: uppercase; color: var(--body-faint); }
.inv-owed b { font-family: var(--font-heading); font-weight: 900; font-size: clamp(24px, 3vw, 32px); color: var(--body-strong); }
.inv-paid { text-align: center; border-color: rgba(12, 111, 102, .35); }
.inv-stamp {
  margin: 0 0 6px; font-family: var(--font-heading); font-weight: 900; font-stretch: 76%;
  font-size: clamp(20px, 2.6vw, 28px); letter-spacing: .1em; text-transform: uppercase; color: #0A5A53;
}
.inv-issued { margin: 22px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--body-faint); }
.inv-legal {
  margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--body-line);
  display: grid; gap: 14px;
}
.inv-legal-addr b { display: block; font-size: 13.5px; color: var(--body-strong); margin-bottom: 4px; }
.inv-legal-addr span { display: block; font-size: 12.5px; line-height: 1.55; color: var(--body-muted); }
.inv-legal-links {
  display: flex; flex-wrap: wrap; gap: 6px 14px;
  font: 500 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase;
}
.inv-legal-links a { color: var(--body-accent); text-decoration: none; }
.inv-legal-links a:hover { text-decoration: underline; }
.inv-actions { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: 24px; }

/* Package tracking (do not reuse .dh-track — that is the homepage carousel) */
.dh-trkdoc { max-width: 760px; }
.trk-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 18px; margin-bottom: 22px; flex-wrap: wrap;
}
.trk-kicker {
  margin: 0 0 6px; font: 600 10px/1 var(--font-mono);
  letter-spacing: .16em; text-transform: uppercase; color: var(--body-faint);
}
.trk-ref {
  margin: 0; font-family: var(--font-heading); font-weight: 900;
  font-size: clamp(28px, 4vw, 40px); line-height: 1.05; color: var(--body-strong);
}
.trk-statusline { margin: 8px 0 0; font-size: 15px; color: var(--body-muted); }
.trk-badgewrap { padding-top: 8px; }

.trk-await {
  margin: 0 0 22px; padding: 18px 20px; border-radius: 16px;
  background: rgba(162, 56, 44, .08); border: 1px solid rgba(162, 56, 44, .2);
}
.trk-await h3 { margin: 0 0 8px; font-size: 17px; color: var(--body-strong); }
.trk-await p { margin: 0 0 16px; font-size: 14.5px; line-height: 1.55; color: var(--body-muted); }

.trk-timeline {
  list-style: none; margin: 0 0 28px; padding: 0 0 0 4px;
  border-left: 2px solid rgba(23, 21, 28, .1);
}
.trk-step {
  position: relative; display: flex; gap: 14px; padding: 0 0 22px 18px;
  color: var(--body-faint);
}
.trk-step:last-child { padding-bottom: 0; }
.trk-dot {
  position: absolute; left: -7px; top: 4px; width: 12px; height: 12px;
  border-radius: 50%; background: #D9D3C6; border: 2px solid #FBF9F3;
  box-shadow: 0 0 0 1px rgba(23, 21, 28, .12);
}
.trk-step.is-done { color: var(--body-muted); }
.trk-step.is-done .trk-dot { background: #3DE0C8; box-shadow: 0 0 0 1px rgba(12, 111, 102, .35); }
.trk-step.is-current { color: var(--body-strong); }
.trk-step.is-current .trk-dot {
  background: #6B3FD4; box-shadow: 0 0 0 3px rgba(107, 63, 212, .22);
  width: 14px; height: 14px; left: -8px; top: 3px;
}
.trk-step.is-stop .trk-dot { background: #FF7A66; box-shadow: 0 0 0 3px rgba(255, 122, 102, .22); }
.trk-stepbody strong { display: block; font-size: 14.5px; font-weight: 700; line-height: 1.35; }
.trk-when {
  display: block; margin-top: 3px;
  font: 400 11.5px/1.4 var(--font-mono); letter-spacing: .04em; color: var(--body-faint);
}

.trk-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}
.trk-card { margin: 0; padding: 16px 18px; }
.trk-id {
  margin: 0 0 6px; font: 700 18px/1.2 var(--font-mono); color: var(--body-strong);
  letter-spacing: .02em; word-break: break-all;
}
.trk-carrier, .trk-eta {
  margin: 0; font-size: 13px; line-height: 1.5; color: var(--body-muted);
}
.trk-eta { margin-top: 4px; }
.trk-card b { display: block; font-size: 15px; color: var(--body-strong); margin-bottom: 2px; }
.trk-card span { display: block; font-size: 13.5px; line-height: 1.55; color: var(--body-muted); }

/* Print: the document only. */
@media print {
  .dh-header, .dh-titleband, .dh-footer, .dh-mobilenav, .dh-mobilebar-spacer,
  .dh-crumbs, .inv-actions, #dh-toast-host, #dh-portals, .dh-announce { display: none !important; }
  body { background: #fff !important; }
  .dh-invoice { border: 0; padding: 0; max-width: none; background: #fff; }
  .inv-pay, .inv-paid, .dh-box { border-color: #ccc; background: #fff; }
  .dh-qrwrap { break-inside: avoid; }
  a[href]::after { content: ''; }
}

/* the confirmation: what was bought, where it goes, what happens next */
.dh-doneref {
  margin: 0 0 4px; font-family: var(--font-heading); font-weight: 900;
  font-size: clamp(22px, 3vw, 30px); letter-spacing: .08em; color: var(--body-accent);
}
.dh-donegrid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px; margin: 26px 0 22px; padding: 20px 0;
  border-top: 1px solid var(--body-line); border-bottom: 1px solid var(--body-line);
}
.dh-donegrid .k {
  display: block; margin-bottom: 6px;
  font: 500 10px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--body-faint);
}
.dh-donegrid b { display: block; font-size: 14.5px; color: var(--body-strong); margin-bottom: 3px; }
.dh-donegrid span:not(.k) { display: block; font-size: 13px; line-height: 1.55; color: var(--body-muted); }
.dh-doneline { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--body-line); }
.dh-doneline img { width: 44px; height: 44px; border-radius: 8px; object-fit: contain; background: #fff; flex: 0 0 auto; }
.dh-doneline .n { flex: 1; min-width: 0; }
.dh-doneline .n b { display: block; font-size: 14px; color: var(--body-strong); }
.dh-doneline .n span { display: block; font: 400 10.5px/1.5 var(--font-mono); letter-spacing: .06em; color: var(--body-faint); }
.dh-doneline .a { font-family: var(--font-heading); font-weight: 800; font-size: 15px; color: var(--body-strong); }
.dh-doneactions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 24px; }

/* ── the announcement strip, under the admin's control ────────────────────
   The strip itself is in _src/partials/header.html and styled in
   css/deadhead.css. These are the tone variants Customization → Announcement
   bar can choose between — each one an accent that already exists, so the
   choice cannot introduce a colour the rest of the site does not use. */
.dh-announce--teal  { background: var(--teal-band); }
.dh-announce--teal  .dh-announce-item,
.dh-announce--teal  .dh-announce a { color: var(--teal-deep); }
.dh-announce--coral { background: var(--coral); }
.dh-announce--coral .dh-announce-item,
.dh-announce--coral .dh-announce a { color: var(--ink); }
.dh-announce--amber { background: var(--amber); }
.dh-announce--amber .dh-announce-item,
.dh-announce--amber .dh-announce a { color: var(--ink); }

/* light.css sets the item colour for every inner page, so the tone override
   has to be at least as specific to win there too. */
body:not(.home) .dh-announce--teal  .dh-announce-item { color: var(--teal-deep); }
body:not(.home) .dh-announce--coral .dh-announce-item,
body:not(.home) .dh-announce--amber .dh-announce-item { color: var(--ink); }

/* ── features the admin turned off ────────────────────────────────────────
   js/chrome.js removes the buttons and the links; these rules cover what is
   generated later, inside product cards and quick views. */
body.no-wishlist [data-wish],
body.no-reviews .dh-stars,
body.no-reviews .dh-reviews,
body.no-search [data-open-search] { display: none !important; }
