/* DrumHide — layout + components */

/* =============== HEADER =============== */
.dh-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(6px);
}
.dh-header-top {
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
}
.dh-header-top-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 32px; letter-spacing: 0.1em; text-transform: uppercase;
}
.dh-header-top-right { display: flex; gap: 14px; align-items: center; }
.dh-header-top-right .dot { width: 3px; height: 3px; background: currentColor; border-radius: 50%; opacity: 0.5; }

.dh-header-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  padding: 16px 32px;
  align-items: center;
}
.dh-brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.dh-brand-name { font-size: 26px; letter-spacing: -0.02em; line-height: 1; }
.dh-brand-tag { font-size: 10px; color: var(--fg-muted); margin-top: 3px; letter-spacing: 0.16em; text-transform: uppercase; }

.dh-nav { display: flex; gap: 28px; justify-content: center; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
.dh-nav a { color: var(--fg-muted); padding: 6px 0; position: relative; }
.dh-nav a:hover, .dh-nav a.active { color: var(--ink); }
.dh-nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--ember);
}

.dh-header-actions { display: flex; align-items: center; gap: 10px; }
.dh-mode-toggle { display: inline-flex; border: 1px solid var(--border); border-radius: 100px; padding: 3px; background: var(--surface); }
.dh-mode-toggle button {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 12px; border: none; background: transparent; color: var(--fg-muted); border-radius: 100px;
}
.dh-mode-toggle button.on { background: var(--ink); color: var(--paper); }

.dh-curr { position: relative; }
.dh-curr-btn {
  padding: 8px 10px; border: 1px solid var(--border); background: var(--surface);
  color: var(--fg); border-radius: var(--r); font-size: 11px; letter-spacing: 0.1em;
}
.dh-curr-menu {
  position: absolute; right: 0; top: calc(100% + 6px);
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r);
  box-shadow: var(--shadow); min-width: 240px; padding: 6px; z-index: 50;
}
.dh-curr-hint { padding: 6px 10px; color: var(--fg-muted); font-size: 10px; }
.dh-curr-menu button {
  display: grid; grid-template-columns: 40px 1fr auto; align-items: center;
  gap: 10px; width: 100%; padding: 8px 10px; border: none; background: transparent; color: var(--fg);
  text-align: left; border-radius: var(--r-sm); font-size: 13px;
}
.dh-curr-menu button:hover { background: var(--surface); }
.dh-curr-menu button.on { background: var(--surface-2); }
.dh-curr-name { color: var(--fg-muted); font-size: 12px; }

.dh-icon-btn {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--surface); color: var(--fg); display: grid; place-items: center;
}
.dh-icon-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.dh-cart-btn {
  padding: 9px 14px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  border-radius: var(--r); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
}
.dh-cart-btn:hover { background: var(--ember); border-color: var(--ember); }

/* =============== HOME =============== */
.dh-hero {
  padding: 60px 32px 80px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: end;
}
.dh-hero-left .kicker { margin-bottom: 24px; display: block; }
.dh-hero-title { font-size: clamp(56px, 8vw, 124px); margin: 0 0 32px; }
.dh-hero-title .display-italic { color: var(--ember); }
.dh-hero-sub { font-size: 19px; line-height: 1.5; max-width: 520px; color: var(--ink-soft); }
.dh-hero-actions { display: flex; gap: 12px; margin-top: 30px; }
.dh-hero-meta {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; padding: 24px 0 0; margin-top: 40px;
  border-top: 1px dashed var(--border); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
}
.dh-hero-meta span.dh-muted { color: var(--fg-muted); display: block; margin-bottom: 4px; }

.dh-hero-right {
  position: relative; height: 560px;
}
.dh-hero-swatch-a {
  position: absolute; top: 0; right: 0; width: 80%; height: 400px;
  border-radius: var(--r-lg);
}
.dh-hero-swatch-b {
  position: absolute; bottom: 40px; left: 0; width: 44%; height: 240px;
  border-radius: var(--r-lg); box-shadow: var(--shadow);
}
.dh-hero-swatch-c {
  position: absolute; bottom: 0; right: 30%; width: 36%; height: 180px;
  border-radius: var(--r-lg); box-shadow: var(--shadow);
}
.dh-hero-tag {
  position: absolute; bottom: -30px; right: 0;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted);
  display: flex; flex-direction: column; gap: 3px; text-align: right;
}

.dh-marquee {
  overflow: hidden; white-space: nowrap;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 14px 0;
}
.dh-marquee-inner {
  display: inline-block; animation: dh-scroll 60s linear infinite;
  font-size: 12px; letter-spacing: 0.2em; color: var(--fg-muted);
}
@keyframes dh-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.dh-section { padding: 80px 32px; }
.dh-section-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end;
  margin-bottom: 50px;
}
.dh-section-title { font-size: clamp(44px, 5vw, 76px); margin: 16px 0 0; }
.dh-section-title .display-italic { color: var(--ember); }
.dh-section-blurb { max-width: 440px; color: var(--ink-soft); font-size: 16px; }

.dh-cat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.dh-cat-tile {
  color: inherit; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  overflow: hidden; transition: transform .25s ease, box-shadow .25s ease;
}
.dh-cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.dh-cat-tile .hide-swatch { aspect-ratio: 4/3; }
.dh-cat-tile-body { padding: 20px 22px 22px; }
.dh-cat-tile-body .display { margin-bottom: 6px; }
.dh-cat-tile-body p { color: var(--fg-muted); margin: 0 0 14px; font-size: 14px; }
.dh-arrow {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ember);
}

.dh-feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.dh-prod-card {
  color: inherit; display: block;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  overflow: hidden; transition: transform .2s ease, box-shadow .2s ease;
}
.dh-prod-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.dh-prod-card .hide-swatch { aspect-ratio: 5/4; }
.dh-prod-card-body { padding: 16px 18px 18px; }
.dh-prod-card-row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.dh-prod-card-name { font-size: 19px; line-height: 1.15; }
.dh-prod-card-price { font-size: 13px; white-space: nowrap; }
.dh-prod-card-specs { font-size: 11px; margin-top: 6px; color: var(--fg-muted); }

.dh-quote-band {
  background: var(--ink); color: var(--paper); padding: 90px 32px; margin: 40px 0;
}
.dh-quote { font-size: clamp(32px, 4vw, 56px); line-height: 1.15; margin: 14px 0 18px; max-width: 1100px; }
.dh-quote .display-italic { color: var(--ember); }
.dh-quote-attr { color: rgba(242,233,216,0.6); letter-spacing: 0.12em; text-transform: uppercase; font-size: 11px; }
.dh-quote-cta { margin-top: 30px; color: var(--paper); border-color: var(--paper); }
.dh-quote-cta:hover { background: var(--paper); color: var(--ink); }

.dh-process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.dh-process-step { padding: 30px 24px 30px 0; border-right: 1px dashed var(--border); }
.dh-process-step:last-child { border-right: none; }
.dh-step-n { color: var(--ember); font-size: 11px; letter-spacing: 0.2em; margin-bottom: 8px; }
.dh-step-t { font-size: 32px; margin-bottom: 8px; }
.dh-step-b { font-size: 14px; max-width: 240px; }

.dh-cta-band { padding: 0 32px 100px; }
.dh-cta-inner {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 60px;
}
.dh-cta-swatch { height: 340px; border-radius: var(--r-lg); }

/* =============== SHOP =============== */
.dh-shop { padding: 40px 32px 80px; }
.dh-shop-head {
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end;
  margin-bottom: 30px;
}
.dh-page-title { font-size: clamp(56px, 7vw, 96px); margin: 12px 0 12px; line-height: 0.95; }
.dh-page-title .display-italic { color: var(--ember); }
.dh-page-title-big { font-size: clamp(64px, 9vw, 128px); margin: 16px 0 24px; line-height: 0.92; }
.dh-page-title-big .display-italic { color: var(--ember); }
.dh-page-sub { max-width: 520px; color: var(--ink-soft); font-size: 16px; }

.dh-shop-meta { display: flex; gap: 24px; font-size: 11px; }
.dh-shop-meta .dh-muted { color: var(--fg-muted); }

.dh-shop-tabs {
  display: flex; gap: 2px; overflow: auto;
  border-bottom: 1px solid var(--border); padding-bottom: 0; margin-bottom: 24px;
}
.dh-shop-tabs button {
  background: transparent; border: none; color: var(--fg-muted);
  padding: 12px 14px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  position: relative;
}
.dh-shop-tabs button.on { color: var(--fg); }
.dh-shop-tabs button.on::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--ember);
}

.dh-shop-filters {
  display: grid; grid-template-columns: auto auto 1fr; gap: 30px; align-items: center;
  padding: 20px 0 28px; border-bottom: 1px dashed var(--border); margin-bottom: 32px;
}
.dh-filter { display: flex; gap: 14px; align-items: center; }
.dh-filter .kicker { margin-right: 4px; }
.dh-filter-opts { display: flex; gap: 4px; background: var(--surface); padding: 3px; border-radius: 100px; border: 1px solid var(--border); }
.dh-filter-opts button {
  border: none; background: transparent; color: var(--fg-muted);
  padding: 6px 12px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; border-radius: 100px;
}
.dh-filter-opts button.on { background: var(--ink); color: var(--paper); }

.dh-retail-note {
  font-size: 11px; color: var(--fg-muted); text-align: right;
}

.dh-prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* =============== PRODUCT =============== */
.dh-product { padding: 24px 32px 80px; }
.dh-breadcrumb { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 24px; }
.dh-breadcrumb a:hover { color: var(--fg); }

.dh-prod-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; }
.dh-prod-gallery { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 120px; align-self: start; }
.dh-prod-hero-img { aspect-ratio: 4/3; border-radius: var(--r-lg); }
.dh-prod-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.dh-prod-thumbs .hide-swatch { aspect-ratio: 1/1; border-radius: var(--r); cursor: pointer; }

.dh-prod-title { font-size: clamp(40px, 4.4vw, 64px); margin: 10px 0 10px; line-height: 1; }
.dh-prod-tagline { font-size: 17px; color: var(--ink-soft); font-style: italic; font-family: var(--display); }
.dh-prod-price { margin: 28px 0 20px; display: flex; align-items: baseline; gap: 14px; }

.dh-prod-opts { display: flex; flex-direction: column; gap: 22px; margin: 12px 0 28px; }
.dh-opt-row { display: grid; grid-template-columns: 130px 1fr; gap: 16px; align-items: center; }
.dh-opt-label { align-self: center; }
.dh-opt-controls { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

.dh-opt-btn {
  padding: 10px 16px; border: 1px solid var(--border); background: var(--surface); color: var(--fg);
  border-radius: var(--r); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
}
.dh-opt-btn.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.dh-select {
  padding: 12px 14px; border: 1px solid var(--border); background: var(--surface); color: var(--fg);
  border-radius: var(--r); font-size: 13px; min-width: 200px;
}
.dh-qty {
  display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); overflow: hidden;
}
.dh-qty button { width: 34px; height: 38px; border: none; background: transparent; color: var(--fg); font-size: 18px; }
.dh-qty button:hover { background: var(--ink); color: var(--paper); }
.dh-qty input {
  width: 52px; height: 38px; border: none; background: transparent; text-align: center;
  color: var(--fg); font-family: var(--mono); font-size: 13px; -moz-appearance: textfield;
}
.dh-qty input::-webkit-outer-spin-button, .dh-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.dh-qty-input {
  width: 80px; padding: 10px; border: 1px solid var(--border); background: var(--surface);
  color: var(--fg); border-radius: var(--r); font-size: 13px;
}

.dh-prod-errs {
  background: #FBE3D6; border: 1px solid #E09878; color: #6E2D18; padding: 12px 16px;
  border-radius: var(--r); font-size: 12px; margin-bottom: 18px;
}
[data-theme="dark"] .dh-prod-errs { background: #4A2A1A; border-color: #8B5A3A; color: #F4C5A5; }

.dh-prod-actions { display: flex; gap: 12px; margin-bottom: 24px; }
.dh-prod-actions .btn { flex: 1; justify-content: center; }

.dh-prod-meta {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r);
  padding: 16px 20px; font-size: 12px; display: flex; flex-direction: column; gap: 6px;
}
.dh-prod-meta .dh-muted { color: var(--fg-muted); margin-right: 10px; display: inline-block; min-width: 110px; }

.dh-accordion { margin-top: 20px; }
.dh-accordion summary { cursor: pointer; padding: 12px 0; list-style: none; }
.dh-accordion summary::-webkit-details-marker { display: none; }
.dh-accordion summary::after { content: "＋"; float: right; color: var(--fg-muted); }
.dh-accordion[open] summary::after { content: "−"; }
.dh-accordion-body { padding: 8px 0 16px; color: var(--ink-soft); }
.dh-accordion-body p { margin: 0 0 10px; }

/* =============== CART / DRAWER =============== */
.dh-muted { color: var(--fg-muted); }
.dh-empty { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 40px 0; }

.dh-drawer-scrim {
  position: fixed; inset: 0; background: rgba(26,20,16,0.5); z-index: 90;
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.dh-drawer-scrim.open { opacity: 1; pointer-events: auto; }
.dh-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%);
  background: var(--bg); border-left: 1px solid var(--border); z-index: 100;
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1);
  box-shadow: -24px 0 60px rgba(0,0,0,0.15);
}
.dh-drawer.open { transform: translateX(0); }
.dh-drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px 12px; }
.dh-drawer-body { flex: 1; overflow: auto; padding: 6px 22px; display: flex; flex-direction: column; gap: 16px; }
.dh-drawer-foot { border-top: 1px solid var(--border); padding: 18px 22px 22px; background: var(--surface); }
.dh-drawer-totals { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.dh-drawer-totals > div:first-child { display: flex; justify-content: space-between; align-items: baseline; }
.dh-drawer-actions { display: flex; gap: 10px; }
.dh-drawer-actions .btn { flex: 1; justify-content: center; padding: 12px 14px; }

.dh-shipbar { height: 4px; background: var(--cream-deep); border-radius: 100px; overflow: hidden; }
.dh-shipbar div { height: 100%; background: var(--ember); transition: width .3s ease; }

.dh-cartline { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--border); }
.dh-cartline:last-child { border-bottom: none; }
.dh-cartline-img { aspect-ratio: 1/1; border-radius: var(--r); overflow: hidden; }
.dh-cartline-img .label { font-size: 8px; padding: 2px 4px; }
.dh-cartline-name { font-family: var(--display); font-size: 17px; line-height: 1.1; }
.dh-cartline-specs { font-size: 10px; margin: 4px 0 10px; }
.dh-cartline-row { display: flex; justify-content: space-between; align-items: center; }
.dh-cartline-x { border: none; background: none; color: var(--fg-muted); font-size: 14px; align-self: flex-start; cursor: pointer; }

/* =============== CART PAGE =============== */
.dh-cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; margin-top: 30px; }
.dh-cart-head {
  display: grid; grid-template-columns: 100px 1fr 140px 140px; gap: 14px;
  padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-muted);
}
.dh-cart-row { display: grid; grid-template-columns: 100px 1fr 140px 140px; gap: 14px; padding: 18px 0; border-bottom: 1px dashed var(--border); align-items: center; }
.dh-cart-row-img { aspect-ratio: 1/1; border-radius: var(--r); overflow: hidden; }
.dh-cart-row-name { font-size: 20px; line-height: 1.15; margin-bottom: 4px; }
.dh-link { background: none; border: none; color: var(--ember); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; padding: 8px 0 0; cursor: pointer; }

.dh-cart-summary { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; align-self: start; position: sticky; top: 120px; }
.dh-sum-row { display: flex; justify-content: space-between; align-items: baseline; margin: 10px 0; }
.dh-sum-total { margin-top: 14px; padding-top: 4px; }

/* =============== CHECKOUT =============== */
.dh-checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; margin-top: 30px; }
.dh-checkout-form section { margin-bottom: 32px; }
.dh-checkout-form .kicker { display: block; margin-bottom: 14px; }
.dh-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dh-field { display: flex; flex-direction: column; gap: 6px; }
.dh-field.full { grid-column: 1 / -1; }
.dh-field .kicker { margin-bottom: 0; }
.dh-field input, .dh-field textarea, .dh-field select {
  padding: 12px 14px; border: 1px solid var(--border); background: var(--surface);
  color: var(--fg); border-radius: var(--r); font-size: 14px; font-family: var(--sans);
}
.dh-field input.mono { font-family: var(--mono); letter-spacing: 0.06em; }
.dh-field textarea { resize: vertical; min-height: 120px; }
.dh-field input:focus, .dh-field textarea:focus, .dh-field select:focus { outline: none; border-color: var(--ember); box-shadow: 0 0 0 3px color-mix(in oklch, var(--ember) 22%, transparent); }
.dh-field.has-error input, .dh-field.has-error textarea { border-color: #C7472B; box-shadow: 0 0 0 3px rgba(199, 71, 43, 0.18); }
.dh-err-msg { color: #C7472B; font-size: 11px; letter-spacing: 0.06em; margin-top: 2px; }
[data-theme="dark"] .dh-err-msg { color: #F19878; }
[data-theme="dark"] .dh-field.has-error input, [data-theme="dark"] .dh-field.has-error textarea { border-color: #F19878; box-shadow: 0 0 0 3px rgba(241, 152, 120, 0.22); }

.dh-stripe-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px; }
.dh-stripe-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted); }

.dh-pay-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.dh-card-brand { padding: 4px 10px; border: 1px solid var(--border); border-radius: 100px; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-muted); }
.dh-pay-trust { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--border); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-muted); }
.dh-pay-btn { width: 100%; justify-content: center; font-size: 13px; padding: 16px 22px; }
.dh-pay-btn:disabled { opacity: 0.75; cursor: wait; }
.dh-pay-foot { margin-top: 12px; font-size: 11px; text-align: center; line-height: 1.5; }

.dh-testmode { padding: 12px 14px; margin-bottom: 20px; background: color-mix(in oklch, #E8A84A 14%, var(--surface)); border: 1px dashed color-mix(in oklch, #E8A84A 45%, var(--border)); border-radius: var(--r); font-size: 11.5px; line-height: 1.55; color: var(--fg); }
.dh-testmode strong { font-family: var(--sans); font-weight: 600; letter-spacing: 0; text-transform: none; }
.dh-payment-error { padding: 14px 16px; margin-bottom: 20px; background: rgba(199, 71, 43, 0.08); border: 1px solid #C7472B; border-radius: var(--r); color: #C7472B; font-size: 11.5px; line-height: 1.55; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
[data-theme="dark"] .dh-payment-error { color: #F19878; border-color: #F19878; background: rgba(241, 152, 120, 0.08); }
.dh-payment-error .dh-link { margin-left: auto; }

.dh-check { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 13px; line-height: 1.5; cursor: pointer; }
.dh-check input { margin-top: 3px; accent-color: var(--ember); }
.dh-link { color: var(--ember); text-decoration: underline; text-underline-offset: 2px; background: none; border: none; padding: 0; font: inherit; cursor: pointer; }

.dh-spinner { width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; display: inline-block; animation: dh-spin 0.7s linear infinite; margin-right: 8px; vertical-align: -2px; }
@keyframes dh-spin { to { transform: rotate(360deg); } }

.dh-receipt { margin-top: 24px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); max-width: 520px; }
.dh-receipt .dh-sum-row { padding: 6px 0; }
.dh-receipt .dh-sum-row:not(:last-child) { border-bottom: 1px dashed var(--border); }

.dh-co-line { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--border); }
.dh-co-line:last-of-type { border-bottom: none; }
.dh-co-line-img { width: 40px; height: 40px; border-radius: var(--r-sm); overflow: hidden; flex-shrink: 0; }
.dh-co-line-name { font-family: var(--display); font-size: 14px; line-height: 1.2; }

.dh-checkout-done { text-align: left; padding: 60px 0; max-width: 720px; }

/* =============== ABOUT =============== */
.dh-about-hero { padding: 60px 32px 40px; }
.dh-about-body { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 40px 32px; }
.dh-about-col .hide-swatch { height: 320px; border-radius: var(--r-lg); margin-bottom: 24px; }
.dh-about-col p { font-size: 17px; line-height: 1.65; margin: 0 0 18px; }
.dh-drop { font-size: 18px; }
.dh-dropcap {
  float: left; font-size: 72px; line-height: 0.85; padding: 4px 12px 0 0; color: var(--ember);
}
.dh-about-quote {
  border-left: 2px solid var(--ember); padding: 12px 0 12px 24px; margin: 30px 0;
  font-size: 28px; line-height: 1.25;
}
.dh-about-quote cite { display: block; font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--fg-muted); margin-top: 10px; letter-spacing: 0.12em; text-transform: uppercase; }

.dh-about-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  padding: 60px 32px; border-top: 1px dashed var(--border); border-bottom: 1px dashed var(--border);
}
.dh-stat { padding: 0 24px; border-right: 1px dashed var(--border); }
.dh-stat:last-child { border-right: none; }
.dh-stat-n { font-size: 72px; line-height: 1; margin-bottom: 8px; color: var(--ember); }

/* =============== DRUM MAKERS =============== */
.dh-makers-hero { padding: 60px 32px 40px; }
.dh-compare { padding: 40px 0 20px; }
.dh-compare-kicker { margin-bottom: 22px; display: block; }
.dh-compare-table { width: 100%; border-collapse: collapse; }
.dh-compare-table th, .dh-compare-table td { padding: 18px 20px; text-align: left; border-bottom: 1px dashed var(--border); vertical-align: top; }
.dh-compare-table th { border-bottom: 1px solid var(--ink); padding-bottom: 14px; }
.dh-compare-table td:first-child { width: 20%; color: var(--fg-muted); }
.dh-compare-table td { font-size: 15px; line-height: 1.5; }

.dh-editorial { padding: 60px 32px; max-width: 820px; }
.dh-editorial-title { font-size: clamp(44px, 5vw, 72px); margin: 16px 0 30px; line-height: 1; }
.dh-editorial-title .display-italic { color: var(--ember); }
.dh-editorial-body p { font-size: 18px; line-height: 1.7; margin: 0 0 20px; }
.dh-pullquote {
  font-size: 32px; line-height: 1.3; padding: 20px 0; color: var(--ember);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin: 30px 0;
}

/* =============== CONTACT =============== */
.dh-contact { padding: 40px 32px 80px; }
.dh-contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; margin-top: 50px; }
.dh-contact-channels { display: flex; flex-direction: column; gap: 14px; }
.dh-channel {
  display: flex; gap: 18px; align-items: flex-start; padding: 22px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); color: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
}
.dh-channel:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.dh-whatsapp { background: linear-gradient(135deg, rgba(37,211,102,0.1), transparent), var(--surface); }
.dh-channel svg { flex-shrink: 0; margin-top: 2px; }

.dh-contact-form {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 30px;
  display: flex; flex-direction: column; gap: 18px;
}
.dh-form-tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--border); margin-bottom: 10px; }
.dh-form-tabs button {
  border: none; background: transparent; color: var(--fg-muted);
  padding: 10px 14px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  position: relative; cursor: pointer;
}
.dh-form-tabs button.on { color: var(--fg); }
.dh-form-tabs button.on::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--ember);
}
.dh-sent { text-align: center; padding: 40px 0; }

/* =============== FOOTER =============== */
.dh-footer { background: var(--ink); color: var(--paper); padding: 60px 0 30px; margin-top: 60px; }
.dh-footer .dh-brand { color: var(--paper); }
.dh-footer .dh-brand-tag, .dh-footer .dh-muted { color: rgba(242,233,216,0.55); }
.dh-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; margin-bottom: 40px; }
.dh-footer-blurb { color: rgba(242,233,216,0.7); font-size: 14px; line-height: 1.55; max-width: 340px; }
.dh-footer-links { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.dh-footer-links a { color: rgba(242,233,216,0.8); }
.dh-footer-links a:hover { color: var(--paper); text-decoration: underline; text-decoration-style: dashed; text-underline-offset: 4px; }
.dh-footer .kicker { color: var(--paper); }
.dh-footer .stitch { border-top-color: rgba(242,233,216,0.2); margin: 20px 0; }
.dh-footer-bottom { display: flex; justify-content: space-between; color: rgba(242,233,216,0.5); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; }

/* =============== RESELLER =============== */
.dh-reseller-btn {
  padding: 8px 12px; font-size: 10px; letter-spacing: 0.12em;
  border: 1px solid var(--ember); color: var(--ember); background: transparent;
  border-radius: var(--r); display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase;
}
.dh-reseller-btn:hover { background: var(--ember); color: var(--paper); border-color: var(--ember); }
.dh-reseller-tiers {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.dh-reseller-tier {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 28px 26px 30px; display: flex; flex-direction: column;
}
.dh-reseller-tier:nth-child(2) { border-color: var(--ember); box-shadow: 0 0 0 1px var(--ember); }
.dh-reseller-tier-name { font-family: var(--display); font-size: 36px; line-height: 1; margin: 8px 0 6px; }
.dh-reseller-perks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.dh-reseller-perks li {
  font-size: 14px; padding-left: 18px; position: relative; color: var(--ink-soft);
}
.dh-reseller-perks li::before {
  content: "→"; position: absolute; left: 0; color: var(--ember); font-family: var(--mono);
}

@media (max-width: 720px) {
  .dh-reseller-btn { display: none; }
  .dh-reseller-tiers { grid-template-columns: 1fr; }
}

/* =============== TWEAKS PANEL =============== */
.dh-tweaks {
  position: fixed; bottom: 24px; right: 24px; z-index: 200;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow); padding: 18px 20px; width: 300px;
}
.dh-tweaks h3 { margin: 0 0 6px; font-family: var(--display); font-size: 22px; font-weight: 400; }
.dh-tweaks-hint { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 14px; }
.dh-tweak-row { display: flex; justify-content: space-between; align-items: center; margin: 10px 0; gap: 12px; }
.dh-tweak-row label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-muted); }
.dh-tweak-row input[type="color"] { width: 36px; height: 28px; border: 1px solid var(--border); background: transparent; cursor: pointer; border-radius: var(--r-sm); }
.dh-tweak-row input[type="text"], .dh-tweak-row select { padding: 6px 8px; border: 1px solid var(--border); background: var(--surface); color: var(--fg); border-radius: var(--r-sm); font-size: 12px; font-family: var(--mono); max-width: 160px; }

/* =============== RESPONSIVE =============== */
@media (max-width: 1100px) {
  .dh-hero { grid-template-columns: 1fr; gap: 40px; }
  .dh-hero-right { height: 420px; }
  .dh-section-head { grid-template-columns: 1fr; gap: 20px; }
  .dh-cat-grid, .dh-feat-grid, .dh-prod-grid { grid-template-columns: repeat(2, 1fr); }
  .dh-prod-layout, .dh-cart-layout, .dh-checkout-layout, .dh-contact-grid, .dh-about-body, .dh-cta-inner { grid-template-columns: 1fr; }
  .dh-prod-gallery, .dh-cart-summary { position: static; }
  .dh-process-grid { grid-template-columns: repeat(2, 1fr); }
  .dh-about-stats { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .dh-stat { border-right: none; }
  .dh-footer-grid { grid-template-columns: repeat(2, 1fr); }
  .dh-nav { display: none; }
  .dh-header-main { grid-template-columns: auto 1fr; }
}
@media (max-width: 720px) {
  .dh-hero-title, .dh-section-title, .dh-page-title, .dh-page-title-big { font-size: 12vw; }
  .dh-cat-grid, .dh-feat-grid, .dh-prod-grid { grid-template-columns: 1fr; }
  .dh-header-top-right { display: none; }
  .dh-header-actions > .dh-mode-toggle { display: none; }
  .dh-cart-head { display: none; }
  .dh-cart-row { grid-template-columns: 70px 1fr; gap: 12px; }
  .dh-cart-row > :nth-child(3), .dh-cart-row > :nth-child(4) { grid-column: 2; justify-content: flex-start; text-align: left; }
}

/* =============== MOBILE OVERFLOW GUARDS =============== */
@media (max-width: 720px) {
  /* Tighten container & section padding so nothing pokes out */
  .container, .container-wide { padding: 0 18px; }
  .dh-header-main { padding: 14px 18px; gap: 14px; }
  .dh-header-top-inner { padding: 8px 18px; }
  .dh-hero { padding: 40px 18px 50px; gap: 32px; }
  .dh-section { padding: 56px 18px; }
  .dh-shop { padding: 28px 18px 56px; }
  .dh-product { padding: 20px 18px 56px; }
  .dh-about-hero, .dh-makers-hero { padding: 40px 18px 24px; }
  .dh-about-body { padding: 24px 18px; gap: 36px; }
  .dh-about-stats { padding: 40px 18px; gap: 30px 0; }
  .dh-editorial { padding: 40px 18px 60px; }
  .dh-contact { padding: 28px 18px 60px; }
  .dh-compare { padding: 24px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .dh-quote-band { padding: 56px 18px; }
  .dh-cta-band { padding: 0 18px 60px; }
  .dh-cta-inner { padding: 28px; }
  .dh-footer { padding: 40px 0 20px; }
  .dh-footer-grid { grid-template-columns: 1fr; gap: 28px; }

  /* Header: brand + actions only; actions wrap + shrink */
  .dh-header-main { grid-template-columns: auto auto; }
  .dh-nav { display: none; }
  .dh-brand-name { font-size: 20px; }
  .dh-brand-tag { display: none; }
  .dh-header-actions { gap: 6px; }
  .dh-cart-btn { padding: 8px 10px; font-size: 10px; letter-spacing: 0.1em; }
  .dh-curr-btn { padding: 6px 8px; font-size: 10px; }
  .dh-icon-btn { width: 32px; height: 32px; }

  /* Hero: keep swatches inside viewport */
  .dh-hero-right { height: 360px; }
  .dh-hero-swatch-a { width: 78%; left: 8%; height: 62%; }
  .dh-hero-swatch-b { width: 52%; right: 0; height: 42%; top: 38%; }
  .dh-hero-swatch-c { width: 48%; left: 0; bottom: 0; height: 36%; }
  .dh-hero-sub { font-size: 15px; }
  .dh-hero-actions { flex-wrap: wrap; }
  .dh-hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .dh-hero-meta { grid-template-columns: 1fr; gap: 12px; }

  /* Product page */
  .dh-prod-layout { grid-template-columns: 1fr; gap: 28px; }
  .dh-prod-gallery { position: static; }
  .dh-prod-hero-img { height: auto; aspect-ratio: 4/3; }
  .dh-opt-row { grid-template-columns: 1fr; gap: 8px; }
  .dh-select { min-width: 0; width: 100%; }
  .dh-prod-actions { flex-direction: column; }
  .dh-prod-actions .btn { width: 100%; }

  /* Cart / checkout stack */
  .dh-cart-layout, .dh-checkout-layout { grid-template-columns: 1fr; gap: 28px; }
  .dh-cart-summary { position: static; padding: 20px; }
  .dh-form-grid { grid-template-columns: 1fr; }

  /* Tables scroll rather than overflow */
  .dh-compare-table { min-width: 560px; }

  /* Shop filters wrap cleanly */
  .dh-shop-filters { flex-direction: column; align-items: flex-start; gap: 14px; padding: 14px; }
  .dh-retail-note { margin-left: 0; text-align: left; }
  .dh-shop-head { grid-template-columns: 1fr; gap: 20px; }
  .dh-shop-meta { text-align: left; }

  /* Drawer full width */
  .dh-drawer { width: 100%; }
  .dh-drawer-body { padding: 6px 16px 16px; }
  .dh-drawer-head, .dh-drawer-foot { padding-left: 16px; padding-right: 16px; }

  /* Section head stack */
  .dh-section-head { grid-template-columns: 1fr; gap: 18px; }
  .dh-process-grid { grid-template-columns: 1fr; gap: 0; }
  .dh-process-step { border-right: none; border-bottom: 1px dashed var(--border); padding: 24px 0; }
  .dh-process-step:last-child { border-bottom: none; }

  /* Contact */
  .dh-contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .dh-contact-form { padding: 20px; }

  /* Tweaks panel: don't let it overflow */
  .dh-tweaks { right: 12px; left: 12px; bottom: 12px; width: auto; }

  /* About stats 2-up */
  .dh-about-stats { grid-template-columns: repeat(2, 1fr); }
  .dh-stat { border-right: none; padding: 12px; }
  .dh-stat-n { font-size: 48px; }
}

@media (max-width: 420px) {
  .dh-cart-btn span, .dh-cart-btn { font-size: 10px; }
  .dh-hero-right { height: 300px; }
  .dh-hero-tag { display: none; }
}
