/* ============================================================
   dHouse Home — DARK LUXURY design system (Blocksy child)
   Near-black · brass · bold grotesk display · Space Mono prices.
   Cinematic, editorial, premium. Matches the v2 direction.
   ============================================================ */

:root {
  /* ---- dark luxe palette ---- */
  --dh-bg:       #0B0B0A;
  --dh-bg-2:     #131210;
  --dh-panel:    #1A1917;
  --dh-ink:      #F2F0EA;   /* light text on dark */
  --dh-soft:     #B3AEA1;
  --dh-muted:    #7E7A6E;
  --dh-line:     rgba(242,240,234,.15);
  --dh-line-2:   rgba(242,240,234,.07);
  --dh-gold:     #E4BB6E;   /* fill gold — buttons/chips, dark text on top */
  --dh-gold-hi:  #F2CE86;
  --dh-on-gold:  #14120C;
  --dh-gold-ink: #E4BB6E;   /* gold used AS text on the page bg (== fill gold in dark) */
  --dh-glow:     rgba(228,187,110,.16);
  color-scheme: dark;

  --dh-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;   /* modern geometric sans */
  --dh-sans:    "Helvetica Neue", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --dh-price:   "Montserrat", "Helvetica Neue", Arial, sans-serif;   /* match the display titles */
  --dh-mono:    "Helvetica Neue", "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  /* ---- remap Blocksy palette to dark luxe ---- */
  --theme-palette-color-1: #E4BB6E;  /* accent (brass) */
  --theme-palette-color-2: #F2CE86;  /* accent hover */
  --theme-palette-color-3: #F2F0EA;  /* headings (light) */
  --theme-palette-color-4: #B3AEA1;  /* text */
  --theme-palette-color-5: rgba(242,240,234,.15);
  --theme-palette-color-6: #131210;
  --theme-palette-color-7: #0B0B0A;
  --theme-palette-color-8: #1A1917;

  --theme-link-initial-color: #F2F0EA;
  --theme-link-hover-color: #E4BB6E;
  --theme-text-color: #B3AEA1;
  --theme-headings-color: #F2F0EA;
  --theme-border-color: rgba(242,240,234,.15);
  --theme-button-background-initial-color: #E4BB6E;
  --theme-button-background-hover-color: #F2CE86;
  --theme-button-text-initial-color: #14120C;
  --theme-button-text-hover-color: #14120C;
  --theme-content-vertical-spacing: 0px;
}

/* ============================================================
   LIGHT MODE — warm ivory "gallery" skin (opt-in second skin).
   The live brand default stays DARK; this layer only applies when the
   header ◐ toggle adds `.light` to <html> (persisted in localStorage).
   Same tokens, flipped values — so every token-driven rule follows along.
   Gold splits in two: a rich FILL gold for buttons (dark text on top) and a
   deep BRONZE (--dh-gold-ink) for gold used AS text, which alone survives on
   ivory at readable contrast. Also honours [data-theme="light"] for interop. */
html.light, html[data-theme="light"] {
  --dh-bg:       #E4DCCB;   /* warm greige / limestone — deeper, quiet-luxury light */
  --dh-bg-2:     #DBD1BD;   /* deeper stone — cards, inputs, alt sections, footer */
  --dh-panel:    #D3C9B2;   /* warm panel */
  --dh-ink:      #1E1A12;   /* near-black warm ink — headings/strong text */
  --dh-soft:     #48443A;   /* body text (>7:1 on stone) */
  --dh-muted:    #726B5B;   /* labels / de-emphasis */
  --dh-line:     rgba(23,21,15,.2);
  --dh-line-2:   rgba(23,21,15,.07);
  --dh-gold:     #C9922E;   /* FILL gold — dark text sits on top (6.5:1) */
  --dh-gold-hi:  #DCA945;
  --dh-on-gold:  #201A10;   /* text on the gold fill */
  --dh-gold-ink: #8A5E1F;   /* gold as TEXT on ivory — deep bronze, ~5:1 */
  --dh-glow:     rgba(176,124,46,.16);
  color-scheme: light;

  --theme-palette-color-1: #C9922E;
  --theme-palette-color-2: #DCA945;
  --theme-palette-color-3: #17150F;
  --theme-palette-color-4: #4A463C;
  --theme-palette-color-5: rgba(23,21,15,.16);
  --theme-palette-color-6: #DBD1BD;
  --theme-palette-color-7: #E4DCCB;
  --theme-palette-color-8: #D3C9B2;

  --theme-link-initial-color: #17150F;
  --theme-link-hover-color: #8A5E1F;
  --theme-text-color: #4A463C;
  --theme-headings-color: #17150F;
  --theme-border-color: rgba(23,21,15,.16);
  --theme-button-background-initial-color: #C9922E;
  --theme-button-background-hover-color: #DCA945;
  --theme-button-text-initial-color: #201A10;
  --theme-button-text-hover-color: #201A10;
}

/* ---------- Base: dark everywhere ---------- */
html, body { background: var(--dh-bg) !important; }
body,
.ct-container, .ct-container-fluid,
button, input, select, textarea {
  font-family: var(--dh-sans);
  letter-spacing: -.01em;
}
body { color: var(--dh-soft); -webkit-font-smoothing: antialiased; }
#main-container, .ct-main-content, .site-main, main#main { background: var(--dh-bg); }
::selection { background: var(--dh-gold); color: var(--dh-on-gold); }
a { transition: color .25s ease; }

/* ---------- Display typography ---------- */
h1, h2, h3, h4,
.entry-title, .page-title,
.woocommerce-products-header__title,
.woocommerce-loop-product__title,
.product_title {
  font-family: var(--dh-display);
  font-weight: 800;
  color: var(--dh-ink);
  letter-spacing: -.03em;
  text-transform: uppercase;
  text-wrap: balance;
  line-height: .98;
}
.page-title, .woocommerce-products-header__title, h1.entry-title, .product_title {
  font-size: clamp(2rem, 5.2vw, 3.6rem);
}
/* Single product title: keep mobile size, tame the oversized desktop cap */
.single-product .product_title { font-size: clamp(2rem, 3.2vw, 2.5rem) !important; }

/* uppercase spaced labels */
.dh-eyebrow,
ul.products li.product .meta-categories,
ul.products li.product .meta-categories a {
  font-family: var(--dh-sans);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .66rem;
  font-weight: 600;
}

/* ---------- Header (dark) ---------- */
#masthead.ct-header, .ct-header-row, .ct-header-row-content { background-color: var(--dh-bg) !important; }
.ct-header { border-bottom: 0 !important; box-shadow: none !important; }
.ct-header a, .ct-header .ct-header-trigger, .ct-toggle-close, .ct-header [class*="ct-icon"] { color: var(--dh-soft) !important; }
.ct-header a:hover { color: var(--dh-gold-ink) !important; }
.site-logo-container a, .site-title a, .ct-logo-container a { color: var(--dh-ink) !important; font-family: "Bodoni Moda", "Didot", Georgia, serif !important; font-weight: 600; letter-spacing: .005em; }
.ct-header [data-id="menu"] > .menu > li > a { text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; font-weight: 600; }

/* ---- Browse button + category drawer ---- */
.dh-browse-item { display: flex; align-items: center; }
.dh-browse-item .dh-browse-toggle { font-family: var(--dh-sans); background: none; border: 0; cursor: pointer;
  color: var(--dh-soft); text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; font-weight: 600;
  padding: 0; display: inline-flex; align-items: center; gap: 8px; }
.dh-browse-item .dh-browse-toggle::before { content: "\2637"; font-size: 1em; color: var(--dh-gold-ink); line-height: 1; }
.dh-browse-item .dh-browse-toggle:hover { color: var(--dh-gold-ink) !important; }
.dh-drawer-scrim { position: fixed; inset: 0; background: rgba(6,5,4,.6); opacity: 0; visibility: hidden;
  transition: opacity .3s ease; z-index: 99998; backdrop-filter: blur(2px); }
.dh-drawer-scrim.open { opacity: 1; visibility: visible; }
.dh-drawer { position: fixed; top: 0; left: 0; height: 100%; width: min(360px, 86vw); background: var(--dh-bg-2);
  border-right: 1px solid var(--dh-line); transform: translateX(-100%); transition: transform .38s cubic-bezier(.2,.7,.2,1);
  z-index: 99999; display: flex; flex-direction: column; padding: 26px 0; overflow-y: auto; }
.dh-drawer.open { transform: none; box-shadow: 40px 0 90px -40px rgba(0,0,0,.7); }
.dh-drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 0 26px 18px; border-bottom: 1px solid var(--dh-line-2); }
.dh-drawer-x { background: none; border: 0; color: var(--dh-soft); font-size: 1.9rem; line-height: 1; cursor: pointer; }
.dh-drawer-x:hover { color: var(--dh-gold-ink); }
.dh-drawer-cats { display: flex; flex-direction: column; padding: 8px 0; }
.dh-drawer-group { border-bottom: 1px solid var(--dh-line-2); }
.dh-drawer-top { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 26px 9px;
  color: var(--dh-ink); font-family: var(--dh-display); font-weight: 500; font-size: 1.12rem; letter-spacing: 0; transition: color .2s; }
.dh-drawer-top:hover { color: var(--dh-gold-ink); }
.dh-drawer-top i { font-style: normal; font-family: var(--dh-sans); font-size: .68rem; color: var(--dh-muted); letter-spacing: .1em; }
.dh-drawer-subs { display: flex; flex-direction: column; margin: 2px 0 14px; padding-left: 26px; }
.dh-drawer-subs a { font-family: var(--dh-sans); font-size: .82rem; letter-spacing: .015em; color: var(--dh-soft);
  padding: 7px 0 7px 14px; border-left: 1px solid var(--dh-line-2); transition: color .18s, border-color .18s; }
.dh-drawer-subs a:hover { color: var(--dh-gold-ink); border-left-color: var(--dh-gold); }
.dh-drawer-all { margin: 18px 26px 4px; padding: 14px; text-align: center; border: 1px solid var(--dh-line);
  color: var(--dh-soft); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-family: var(--dh-sans); }
.dh-drawer-all:hover { border-color: var(--dh-gold); color: var(--dh-gold-ink); }

/* ---------- Buttons: brass, sharp, letter-spaced ---------- */
.wp-block-button__link,
.ct-button,
button.single_add_to_cart_button,
a.button, button.button,
.woocommerce a.button, .woocommerce button.button,
.woocommerce #respond input#submit,
a.added_to_cart,
ul.products li.product a.add_to_cart_button {
  font-family: var(--dh-sans) !important;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .72rem !important;
  font-weight: 700 !important;
  border-radius: 3px !important;
  padding: 14px 26px !important;
  background: var(--dh-gold) !important;
  color: var(--dh-on-gold) !important;
  border: 1px solid var(--dh-gold) !important;
  transition: background-color .25s, transform .25s !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover,
button.single_add_to_cart_button:hover,
ul.products li.product a.add_to_cart_button:hover {
  background: var(--dh-gold-hi) !important; border-color: var(--dh-gold-hi) !important; transform: translateY(-2px);
}

/* ---------- Prices ---------- */
.price, .amount, .woocommerce-Price-amount {
  font-family: var(--dh-price) !important;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0; font-weight: 600;
  color: var(--dh-ink) !important;
}
.price del .amount { color: var(--dh-muted) !important; font-weight: 400; }
.price ins { text-decoration: none; }
.single-product div.product p.price, .single-product div.product span.price { font-size: 1.8rem !important; color: var(--dh-ink) !important; }

/* ---------- Product cards (archive) ---------- */
ul.products li.product {
  background: var(--dh-bg-2);
  border: 1px solid var(--dh-line-2);
  border-radius: 6px; overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s;
  padding-bottom: 20px;
}
ul.products li.product:hover {
  transform: translateY(-6px); border-color: var(--dh-gold);
  box-shadow: 0 50px 80px -50px var(--dh-glow), 0 40px 70px -50px rgba(0,0,0,.6);
}
ul.products li.product img,
ul.products li.product .ct-image-container,
ul.products li.product a > img,
ul.products li.product figure img {
  border-radius: 0; margin-bottom: 18px !important; background: #fff;
  aspect-ratio: 1/1 !important; object-fit: contain !important; width: 100% !important; height: auto;
}
/* Blocksy media container: force a true 1:1 box and make the image fill its full
   height, so a square product image sits edge-to-edge (no top/bottom letterbox gap). */
ul.products li.product .ct-media-container,
.related.products li.product .ct-media-container,
ul.products li.product figure.ct-media-container { aspect-ratio: 1 / 1 !important; display: block !important; }
ul.products li.product .ct-media-container > img,
.related.products li.product .ct-media-container > img {
  width: 100% !important; height: 100% !important; object-fit: contain !important; aspect-ratio: auto !important;
}
ul.products li.product > h2.woocommerce-loop-product__title,
ul.products li.product > .price,
ul.products li.product > ul.entry-meta,
ul.products li.product > .ct-woo-card-actions { padding-inline: 22px !important; box-sizing: border-box; max-width: 100%; }
ul.products li.product .woocommerce-loop-product__title { font-size: .96rem !important; font-weight: 700; letter-spacing: .005em; text-transform: uppercase; line-height: 1.28; margin-top: 2px; }
ul.products li.product .price { display: block; margin-top: 10px; font-size: .98rem !important; }
ul.products li.product > ul.entry-meta { list-style: none; margin: 10px 0 0; }
ul.products li.product > ul.entry-meta li { margin: 0; padding: 0; }
ul.products li.product .meta-categories, ul.products li.product .meta-categories a { color: var(--dh-muted) !important; line-height: 1.5; }
ul.products li.product .ct-woo-card-actions { margin-top: 16px; }

/* ---------- Single product ---------- */
.single-product .woocommerce-product-gallery { border-radius: 6px; overflow: hidden; }
.single-product .woocommerce-product-gallery__image img,
.single-product .ct-media-container img,
.single-product img.wp-post-image {
  background: #fff !important; object-fit: contain !important; width: 100%;
  aspect-ratio: 1/1 !important;   /* source images are 1:1 — override Blocksy's 3/4 gallery box */
}
.single-product .woocommerce-product-gallery__image,
.single-product .ct-media-container { background: #fff; aspect-ratio: 1/1; }
.woocommerce-product-details__short-description { color: var(--dh-soft); font-size: 1.02rem; }
.woocommerce-tabs, .single-product .product { color: var(--dh-soft); }

/* ---------- Footer (dark) ---------- */
.ct-footer, .ct-footer-row, [data-footer] { background-color: var(--dh-bg-2) !important; border-top: 1px solid var(--dh-line); }
.ct-footer a { color: var(--dh-soft) !important; }
.ct-footer a:hover { color: var(--dh-gold-ink) !important; }

/* ============================================================
   FORMS · CART · CHECKOUT (dark)
   ============================================================ */
input[type=text], input[type=email], input[type=tel], input[type=password],
input[type=number], input[type=search], input[type=url], textarea, select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.select2-container--default .select2-selection--single,
.select2-dropdown, .select2-search__field {
  background: var(--dh-bg-2) !important;
  color: var(--dh-ink) !important;
  border: 1px solid var(--dh-line) !important;
  border-radius: 3px !important;
}
input:focus, textarea:focus, select:focus,
.select2-container--default.select2-container--focus .select2-selection--single { border-color: var(--dh-gold) !important; outline: none; }
::placeholder { color: var(--dh-muted); }
.woocommerce form .form-row label, .woocommerce-input-wrapper label, label { color: var(--dh-soft); }
.select2-results__option { color: var(--dh-soft); }
.select2-results__option--highlighted { background: var(--dh-gold) !important; color: var(--dh-on-gold) !important; }

/* cart + order tables */
.woocommerce table.shop_table {
  background: var(--dh-bg-2); border: 1px solid var(--dh-line); color: var(--dh-soft);
  border-radius: 6px; border-collapse: separate; border-spacing: 0;
}
.woocommerce table.shop_table th { color: var(--dh-ink); font-family: var(--dh-sans); text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; }
.woocommerce table.shop_table td { border-top: 1px solid var(--dh-line-2); }
.woocommerce table.shop_table a { color: var(--dh-ink); }
.woocommerce a.remove { color: var(--dh-gold-ink) !important; border-color: var(--dh-line); }
.woocommerce a.remove:hover { background: var(--dh-gold) !important; color: var(--dh-on-gold) !important; }
.woocommerce .quantity input.qty { background: var(--dh-bg-2); color: var(--dh-ink); border: 1px solid var(--dh-line); border-radius: 3px; }

.cart_totals h2, .woocommerce-checkout h3, .woocommerce-column__title, #order_review_heading, .cart-collaterals h2 { color: var(--dh-ink); font-family: var(--dh-display); font-weight: 500; }
.cart-collaterals .cart_totals, .woocommerce-checkout-review-order, .woocommerce-order-details, .woocommerce-customer-details {
  background: var(--dh-bg-2); border: 1px solid var(--dh-line); border-radius: 6px; padding: 8px 22px;
}

/* checkout payment (COD) */
.woocommerce-checkout #payment { background: var(--dh-bg-2); border: 1px solid var(--dh-line); border-radius: 6px; }
.woocommerce-checkout #payment ul.payment_methods { border-bottom: 1px solid var(--dh-line-2); }
.woocommerce-checkout #payment ul.payment_methods li { color: var(--dh-soft); }
.woocommerce-checkout #payment label { color: var(--dh-ink) !important; }
.woocommerce-checkout #payment div.payment_box { background: var(--dh-panel) !important; color: var(--dh-soft); }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--dh-panel) !important; }

/* notices */
.woocommerce-info, .woocommerce-message, .woocommerce-noreviews, .woocommerce-error, .woocommerce-notice {
  background: var(--dh-bg-2) !important; color: var(--dh-soft) !important; border-top: 3px solid var(--dh-gold) !important; border-radius: 3px;
}
.woocommerce-info::before, .woocommerce-message::before { color: var(--dh-gold) !important; }
.woocommerce-message a, .woocommerce-info a { color: var(--dh-gold-ink) !important; }

/* WooCommerce BLOCK cart/checkout (new block markup) */
.wc-block-checkout, .wc-block-cart, .wp-block-woocommerce-checkout, .wp-block-woocommerce-cart { color: var(--dh-soft); }
.wc-block-components-text-input input, .wc-block-components-text-input textarea,
.wc-block-components-select .wc-block-components-select__select,
.wc-block-components-address-form input, .wc-block-components-form input,
.wc-block-checkout input, .wc-block-checkout select, .wc-block-checkout textarea {
  background: var(--dh-bg-2) !important; color: var(--dh-ink) !important;
  border: 1px solid var(--dh-line) !important; border-radius: 3px !important;
}
.wc-block-components-text-input input:focus, .wc-block-checkout input:focus { border-color: var(--dh-gold) !important; }
.wc-block-components-text-input label, .wc-block-components-checkout-step__title,
.wc-block-components-title, .wc-block-components-checkout-step__description,
.wc-block-components-form .wc-block-components-checkout-step__title { color: var(--dh-ink) !important; }
.wc-block-components-text-input.is-active label, .wc-block-components-text-input input:focus + label { color: var(--dh-gold) !important; }
.wc-block-components-order-summary, .wc-block-components-totals-item, .wc-block-components-totals-footer-item,
.wc-block-components-order-summary-item, .wc-block-components-product-metadata { color: var(--dh-soft) !important; }
.wc-block-components-totals-item__value, .wc-block-components-product-price, .wc-block-components-formatted-money-amount { color: var(--dh-ink) !important; font-family: var(--dh-price); }
.wc-block-checkout__sidebar, .wc-block-components-panel, .wc-block-checkout__payment-method {
  background: var(--dh-bg-2) !important; border: 1px solid var(--dh-line) !important; border-radius: 6px;
}
.wc-block-components-radio-control__option, .wc-block-components-radio-control label { color: var(--dh-ink) !important; }
.wc-block-components-button.contained, button.wc-block-components-checkout-place-order-button {
  background: var(--dh-gold) !important; color: var(--dh-on-gold) !important; border-radius: 3px !important;
  text-transform: uppercase; letter-spacing: .12em; font-weight: 700 !important;
}
.wc-block-components-checkout-step { border-color: var(--dh-line-2) !important; }

/* ============================================================
   HOME PAGE (front-page.php) — the v2 dark direction
   ============================================================ */
.dh-home { --pad: clamp(18px,4vw,52px); background: var(--dh-bg); }
.dh-home .dh-wrap { max-width: 1320px; margin-inline: auto; padding-inline: var(--pad); }
.dh-home .dh-eyebrow { font-family: var(--dh-sans); font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--dh-muted); }

/* Archive / category cinematic hero banner */
.dh-archive-hero { position: relative; width: 100vw; margin-left: calc(50% - 50vw); min-height: 42vh;
  display: flex; align-items: flex-end; background: #100f0d center/cover no-repeat;
  border-bottom: 0; margin-bottom: clamp(28px,4vw,52px); overflow: hidden; }
.dh-archive-hero::after { content:""; position:absolute; inset:0;
  background: linear-gradient(0deg, rgba(8,7,6,.92) 0%, rgba(8,7,6,.5) 45%, rgba(8,7,6,.28) 100%); }
.dh-ah-inner { position: relative; z-index: 2; max-width: 1320px; margin-inline: auto; width: 100%;
  padding: 0 clamp(18px,4vw,52px) clamp(28px,4vw,54px); }
.dh-ah-inner .dh-eyebrow { color: var(--dh-gold-hi); font-family: var(--dh-sans); font-size:.7rem; letter-spacing:.22em; text-transform:uppercase; }
.dh-archive-hero h1 { font-family: var(--dh-display) !important; font-weight: 500 !important; text-transform: none !important;
  color: #F5EFE3 !important; font-size: clamp(2.4rem,6vw,4.6rem) !important; line-height: 1 !important; letter-spacing: 0 !important;
  margin-top: 12px; text-shadow: 0 2px 34px rgba(0,0,0,.6); }
.dh-archive-hero p { color: rgba(245,239,227,.82); max-width: 54ch; margin-top: 12px; font-size: 1rem; }
/* the default WooCommerce/Blocksy page title is replaced by our hero */
.woocommerce-products-header__title, .post-type-archive-product .page-title,
.tax-product_cat .page-title, body.archive.woocommerce .entry-header { display: none !important; }
@media (max-width: 700px) { .dh-archive-hero { min-height: 34vh; } }
.dh-coll-hero { background-image: url('/demo/img/hero-collections.webp'); background-size: cover; background-position: center; }

/* subcategory navigation strip on archives */
.dh-subnav { border-bottom: 1px solid var(--dh-line-2); background: var(--dh-bg); position: relative; z-index: 3; }
.dh-subnav-inner { max-width: 1320px; margin-inline: auto; padding: 15px var(--pad); display: flex; gap: 9px; overflow-x: auto; scrollbar-width: none; }
.dh-subnav-inner::-webkit-scrollbar { display: none; }
.dh-subchip { flex: 0 0 auto; font-family: var(--dh-sans); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase;
  color: var(--dh-soft); padding: 8px 15px; border: 1px solid var(--dh-line-2); border-radius: 999px; white-space: nowrap;
  transition: color .18s, border-color .18s, background .18s; }
.dh-subchip:hover { color: var(--dh-gold-ink); border-color: var(--dh-gold); }
.dh-subchip.is-active { background: var(--dh-gold); border-color: var(--dh-gold); color: var(--dh-on-gold); }
.dh-subchip i { font-style: normal; opacity: .55; font-size: .9em; margin-left: 3px; }

/* visual circular subcategory tiles on a parent category archive */
.dh-subtiles { background: var(--dh-bg); border-bottom: 1px solid var(--dh-line-2); }
.dh-subtiles-inner { max-width: 1320px; margin-inline: auto; padding: 30px var(--pad) 26px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 24px 12px; }
.dh-subtile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 11px; }
.dh-subtile-img { position: relative; flex: 0 0 auto; width: clamp(84px, 9vw, 112px); height: clamp(84px, 9vw, 112px); border-radius: 50%; overflow: hidden;
  -webkit-clip-path: circle(50%); clip-path: circle(50%);
  background: var(--dh-panel); border: 1px solid var(--dh-line-2);
  display: grid; place-items: center; transition: border-color .22s, transform .3s, box-shadow .3s; }
.dh-subtile-img img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
/* vignette: soft-dark edges, bright center — blends white product shots into the dark theme */
.dh-subtile-img::before { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 50% 46%, rgba(6,5,4,0) 40%, rgba(6,5,4,.58) 100%); transition: opacity .25s; }
.dh-subtile:hover .dh-subtile-img { border-color: var(--dh-gold); transform: translateY(-3px); box-shadow: 0 16px 34px -18px rgba(0,0,0,.7); }
.dh-subtile:hover .dh-subtile-img::before { opacity: .45; }
.dh-subtile-img[data-mono]::after { content: attr(data-mono); font-family: var(--dh-display); font-weight: 800;
  font-size: 2.6rem; color: rgba(207,178,120,.28); }
.dh-subtile-t { font-family: var(--dh-sans); font-size: .71rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--dh-soft); line-height: 1.3; transition: color .18s; }
.dh-subtile-t i { display: block; font-style: normal; font-size: .66rem; opacity: .5; margin-top: 3px; }
.dh-subtile:hover .dh-subtile-t { color: var(--dh-gold-ink); }
@media (max-width: 600px) { .dh-subtiles-inner { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 18px 8px; } }

/* Breathing room under the header on regular pages/singles.
   Pages that carry their own full-bleed cinematic hero are exempt (hero touches the header). */
body.page:not(.home) .site-main:not(:has(.dh-hero-embed)),
body.single-post .site-main,
body.single-product .site-main { padding-top: clamp(44px,6vw,92px); }

/* Full-bleed page hero (Interior Design template) + BUILD/DESIGN pillars */
.dh-hero-bleed { width: 100vw; margin-left: calc(50% - 50vw); }
.dh-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.dh-pillar { position: relative; min-height: 440px; border-radius: 10px; overflow: hidden;
  background: #100f0d center/cover no-repeat; border: 1px solid var(--dh-line-2); display: flex; align-items: flex-end; }
.dh-pillar::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8,7,6,.95) 0%, rgba(8,7,6,.5) 52%, rgba(8,7,6,.12) 100%); }
.dh-pillar .pc { position: relative; z-index: 2; padding: clamp(22px,3vw,36px); }
.dh-pillar .dh-eyebrow { color: var(--dh-gold-hi); }
.dh-pillar h3 { font-family: var(--dh-display) !important; font-weight: 500 !important; letter-spacing: 0 !important;
  font-size: clamp(1.5rem,2.6vw,2.2rem); color: #F5EFE3; margin: 8px 0 10px; line-height: 1; }
.dh-pillar p { color: rgba(245,239,227,.85); font-size: .98rem; max-width: 42ch; line-height: 1.55; }
@media (max-width: 800px) { .dh-pillars { grid-template-columns: 1fr; } .dh-pillar { min-height: 340px; } }

/* WebGL cinematic hero (iframe) */
.dh-hero-embed { position: relative; width: 100%; height: 90vh; min-height: 580px; border-bottom: 1px solid var(--dh-line); background: var(--dh-bg); }
.dh-hero-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 700px) { .dh-hero-embed { height: 84vh; min-height: 520px; } }

/* hero */
.dh-hero { position: relative; border-bottom: 1px solid var(--dh-line); overflow: hidden; }
.dh-hero::before { content: ""; position: absolute; width: 70vw; height: 70vw; right: -15vw; top: -25vw; border-radius: 50%; background: radial-gradient(circle, var(--dh-glow), transparent 62%); pointer-events: none; }
.dh-hero .dh-wrap { position: relative; z-index: 2; padding-block: clamp(30px,6vw,72px) clamp(30px,5vw,56px); }
.dh-hero-top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: clamp(28px,6vw,60px); }
.dh-hero h1 { font-family: var(--dh-display); font-weight: 800; text-transform: uppercase; letter-spacing: -.045em; line-height: .85; font-size: clamp(3.4rem,13vw,12rem); color: var(--dh-ink); }
.dh-hero h1 .out { color: var(--dh-bg); -webkit-text-stroke: 1.5px var(--dh-ink); }
@supports not ((-webkit-text-stroke: 1px #000)) { .dh-hero h1 .out { color: var(--dh-ink); } }
.dh-hero h1 .thin { display: block; font-weight: 300; text-transform: none; letter-spacing: -.02em; font-size: clamp(1.1rem,3.6vw,2.4rem); color: var(--dh-soft); margin-top: .4em; }
.dh-hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-top: clamp(26px,5vw,50px); flex-wrap: wrap; }
.dh-hero-foot p { max-width: 44ch; color: var(--dh-soft); font-size: 1.04rem; }
.dh-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.dh-btn { font-family: var(--dh-sans); text-transform: uppercase; letter-spacing: .12em; font-size: .74rem; font-weight: 700; padding: 15px 28px; border-radius: 3px; cursor: pointer; transition: .25s; border: 1px solid var(--dh-gold); display: inline-flex; align-items: center; gap: .5em; }
.dh-btn.solid { background: var(--dh-gold); color: var(--dh-on-gold); }
.dh-btn.solid:hover { background: var(--dh-gold-hi); border-color: var(--dh-gold-hi); transform: translateY(-2px); }
.dh-btn.ghost { background: transparent; color: var(--dh-ink); border-color: var(--dh-line); }
.dh-btn.ghost:hover { border-color: var(--dh-gold-ink); color: var(--dh-gold-ink); }

/* collections cards: square, full product image (no crop), readable label */
.dh-cats-coll .dh-cat { aspect-ratio: 1 / 1; }
.dh-cats-coll .dh-cat .img { background-size: contain; }
.dh-cats-coll .dh-cat::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(6,5,4,.82) 0%, rgba(6,5,4,.34) 24%, rgba(6,5,4,0) 48%); }

/* marquee */
.dh-strip { border-bottom: 1px solid var(--dh-line); background: var(--dh-bg-2); overflow: hidden; }
.dh-track { display: flex; white-space: nowrap; animation: dh-slide 34s linear infinite; }
.dh-track span { font-family: var(--dh-display); font-weight: 700; text-transform: uppercase; letter-spacing: -.02em; font-size: clamp(1.1rem,2.4vw,1.8rem); color: var(--dh-soft); padding: 16px clamp(18px,3vw,40px); display: inline-flex; align-items: center; gap: clamp(18px,3vw,40px); }
.dh-track span::after { content: "◆"; color: var(--dh-gold-ink); font-size: .5em; }
.dh-strip:hover .dh-track { animation-play-state: paused; }
@keyframes dh-slide { to { transform: translateX(-50%); } }

/* section shell */
.dh-sec { padding-block: clamp(46px,7vw,96px); }
.dh-sec.alt { background: var(--dh-bg-2); border-block: 1px solid var(--dh-line); }
.dh-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.dh-head h2 { font-family: var(--dh-display); font-weight: 800; text-transform: uppercase; letter-spacing: -.035em; font-size: clamp(1.7rem,4.5vw,3.2rem); line-height: .9; color: var(--dh-ink); }
.dh-head a.more { font-family: var(--dh-sans); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dh-muted); border-bottom: 1px solid var(--dh-line); padding-bottom: 4px; }
.dh-head a.more:hover { color: var(--dh-gold-ink); border-color: var(--dh-gold-ink); }

/* category tiles */
.dh-cats { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px 14px; }
.dh-cat-wrap { display: flex; flex-direction: column; }
.dh-cat { position: relative; aspect-ratio: 4/3.3; border-radius: 6px; overflow: hidden; border: 1px solid var(--dh-line-2); display: block; }
.dh-cat-subs { display: flex; flex-wrap: wrap; gap: 6px 7px; padding-top: 11px; }
.dh-cat-subs a { font-family: var(--dh-sans); font-size: .68rem; letter-spacing: .04em; text-transform: uppercase; color: var(--dh-soft);
  padding: 4px 11px; border: 1px solid var(--dh-line-2); border-radius: 999px; transition: color .18s, border-color .18s, background .18s; }
.dh-cat-subs a:hover { color: var(--dh-gold-ink); border-color: var(--dh-gold); background: var(--dh-panel); }
.dh-cat .img { position: absolute; inset: 0; background: #fff center/cover no-repeat; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.dh-cat .img.dh-img-ph { background: linear-gradient(140deg, #241e16 0%, #17130d 55%, #0d0b08 100%); }
.dh-cat .img.dh-img-ph::after { content: attr(data-mono); position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--dh-display); font-weight: 800; font-size: 5rem; color: rgba(207,178,120,.20); letter-spacing: 0; }
.dh-cat:hover .img { transform: scale(1.05); }
.dh-cat::after { content: none; }
.dh-cat .t { position: absolute; left: 16px; right: 16px; bottom: 15px; z-index: 2; color: #F7F1E6; }
.dh-cat .t b { font-family: var(--dh-display); font-weight: 800; text-transform: uppercase; letter-spacing: -.02em;
  font-size: clamp(1.02rem, 2.1vw, 1.5rem); display: block; line-height: 1.06;
  text-shadow: 0 1px 16px rgba(0,0,0,.72), 0 1px 3px rgba(0,0,0,.55); }
.dh-cat .t span { font-family: var(--dh-sans); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(247,241,230,.82); text-shadow: 0 1px 8px rgba(0,0,0,.7); }
.dh-cat .n { position: absolute; right: 14px; top: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(8,7,5,.45); border: 1px solid rgba(255,255,255,.22); color: #F6F0E4; backdrop-filter: blur(6px); transition: .3s; }
.dh-cat:hover .n { background: var(--dh-gold); border-color: var(--dh-gold); color: var(--dh-on-gold); transform: rotate(-45deg); }

/* featured products */
.dh-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.dh-card { display: flex; flex-direction: column; border: 1px solid var(--dh-line-2); border-radius: 6px; overflow: hidden; background: var(--dh-bg-2); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s; padding-bottom: 18px; }
.dh-card:hover { transform: translateY(-6px); border-color: var(--dh-gold); box-shadow: 0 50px 80px -50px var(--dh-glow); }
.dh-card .img { display: block; width: 100%; aspect-ratio: 1/1; background: #fff center/contain no-repeat; margin-bottom: 16px; }
.dh-card .k { display: block; font-family: var(--dh-display); font-weight: 700; letter-spacing: -.02em; font-size: 1.02rem; color: var(--dh-ink); padding: 0 20px; line-height: 1.25; }
.dh-card .d { display: block; font-size: .78rem; color: var(--dh-muted); padding: 4px 20px 0; }
.dh-card .pr { display: block; font-family: var(--dh-price); font-variant-numeric: tabular-nums; font-weight: 600; font-size: 1rem; color: var(--dh-ink); padding: 10px 20px 0; letter-spacing: 0; }

/* why-panel */
.dh-panel { border-radius: 16px; overflow: hidden; background: var(--dh-panel); }
.dh-panel .inner { display: grid; grid-template-columns: 1.1fr .9fr; }
.dh-panel .txt { padding: clamp(30px,5vw,64px); }
.dh-panel .dh-eyebrow { color: var(--dh-gold-ink); }
.dh-panel h2 { font-family: var(--dh-display); font-weight: 800; text-transform: uppercase; letter-spacing: -.035em; font-size: clamp(1.9rem,4vw,3.4rem); line-height: .92; margin: 14px 0 16px; color: var(--dh-ink); }
.dh-panel p { color: var(--dh-soft); max-width: 40ch; font-size: 1.02rem; }
.dh-panel .stats { display: flex; gap: 26px; margin-top: 26px; flex-wrap: wrap; }
.dh-panel .stats b { font-family: var(--dh-display); font-weight: 800; font-size: 1.6rem; display: block; letter-spacing: -.02em; color: var(--dh-ink); }
.dh-panel .stats i { font-family: var(--dh-sans); font-style: normal; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dh-gold-ink); }
.dh-panel .art { min-height: 320px; background: #fff center/cover no-repeat; }

/* service */
.dh-service .dh-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px,4vw,64px); align-items: center; }
.dh-service .pic { aspect-ratio: 5/4; border-radius: 6px; overflow: hidden; background: #fff center/cover no-repeat; border: 1px solid var(--dh-line-2); }
.dh-service h2 { font-family: var(--dh-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.7rem,4vw,3rem); line-height: .95; color: var(--dh-ink); margin: 14px 0 16px; text-wrap: balance; }
.dh-service p.sub { color: var(--dh-soft); font-size: 1.04rem; max-width: 46ch; margin-bottom: 24px; }
.dh-steps { display: flex; flex-direction: column; margin-bottom: 26px; }
.dh-step { display: flex; gap: 18px; padding: 15px 0; border-top: 1px solid var(--dh-line-2); }
.dh-step .no { font-family: var(--dh-price); font-size: .72rem; color: var(--dh-gold-ink); padding-top: 3px; min-width: 28px; }
.dh-step b { font-family: var(--dh-display); font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; font-size: 1.05rem; color: var(--dh-ink); }
.dh-step em { font-style: normal; color: var(--dh-muted); font-size: .92rem; display: block; margin-top: 2px; }

/* newsletter */
.dh-news .dh-wrap { display: flex; justify-content: space-between; align-items: center; gap: 26px; flex-wrap: wrap; }
.dh-news h2 { font-family: var(--dh-display); font-weight: 800; text-transform: uppercase; letter-spacing: -.035em; font-size: clamp(1.8rem,4vw,3rem); line-height: .9; max-width: 14ch; color: var(--dh-ink); }
.dh-news form { display: flex; gap: 10px; flex-wrap: wrap; }
.dh-news input { font-family: inherit; font-size: .95rem; padding: 15px 18px; border-radius: 3px; border: 1px solid var(--dh-line); background: var(--dh-bg-2); color: var(--dh-ink); min-width: 240px; }
.dh-news input:focus { outline: none; border-color: var(--dh-gold); }

@media (max-width: 980px) {
  .dh-hero-foot { flex-direction: column; align-items: flex-start; }
  .dh-cats { grid-template-columns: repeat(2,1fr); }
  .dh-grid { grid-template-columns: repeat(2,1fr); }
  .dh-panel .inner { grid-template-columns: 1fr; } .dh-panel .art { min-height: 220px; order: -1; }
  .dh-service .dh-wrap { grid-template-columns: 1fr; } .dh-service .pic { order: -1; }
}
@media (max-width: 540px) {
  .dh-cats { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .dh-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .dh-cta .dh-btn { flex: 1; justify-content: center; }
  .dh-news form { width: 100%; } .dh-news input { flex: 1; min-width: 0; }
}

/* ---------- Custom footer ---------- */
.dh-footer { background: var(--dh-bg-2); border-top: 1px solid var(--dh-line); color: var(--dh-soft); margin-top: clamp(52px,7vw,96px); }
.dh-footer .dh-wrap { max-width: 1320px; margin-inline: auto; padding-inline: clamp(18px,4vw,52px); }
.dh-foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 32px; padding-block: clamp(40px,5vw,66px) 28px; }
@media (max-width: 1100px) and (min-width: 801px) { .dh-foot-grid { grid-template-columns: 1fr 1fr 1fr; } .dh-foot-brand { grid-column: 1 / -1; } }
.dh-foot-logo { font-family: "Bodoni Moda", "Didot", Georgia, serif; font-weight: 600; font-size: 1.5rem; letter-spacing: .005em; color: var(--dh-ink); margin-bottom: 12px; }
.dh-foot-brand p { max-width: 36ch; font-size: .92rem; color: var(--dh-soft); line-height: 1.6; }
.dh-footer h4 { font-family: var(--dh-sans); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--dh-muted); margin-bottom: 15px; }
.dh-footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; }
.dh-footer ul a { font-size: .92rem; color: var(--dh-soft); }
.dh-footer ul a:hover { color: var(--dh-gold-ink); }
.dh-foot-bottom { display: flex; justify-content: space-between; padding-block: 20px; border-top: 1px solid var(--dh-line-2); font-family: var(--dh-sans); font-size: .74rem; letter-spacing: .04em; color: var(--dh-muted); flex-wrap: wrap; gap: 8px; }
@media (max-width: 800px) { .dh-foot-grid { grid-template-columns: 1fr 1fr; gap: 26px; } }

/* ---- Montserrat display tuning: weight & tracking for all display headings ---- */
h1, h2, h3, h4,
.page-title, .woocommerce-products-header__title, .product_title,
.woocommerce-loop-product__title,
.dh-hero h1, .dh-head h2, .dh-panel h2, .dh-service h2, .dh-news h2,
.dh-cat .t b, .dh-card .k, .dh-panel .stats b, .dh-step b {
  font-weight: 400 !important;
  letter-spacing: .012em !important;
}
/* keep small labels legible at a slightly heavier weight */
.woocommerce-loop-product__title, .dh-cat .t b, .dh-card .k, .dh-panel .stats b, .dh-step b { font-weight: 600 !important; }
/* section display headings need breathing room in Montserrat uppercase */
.dh-head h2, .dh-panel h2, .dh-service h2, .dh-news h2 { line-height: 1.08 !important; }
.dh-hero h1 { letter-spacing: -.01em !important; line-height: .96 !important; }
.dh-hero h1 .thin { font-weight: 400 !important; font-style: italic; }
.dh-hero h1 .out { -webkit-text-stroke-width: 1px; }

/* Mobile: use dynamic viewport height so the collapsing address bar leaves no phantom
   empty space below the footer (100vh on real phones is taller than the visible screen). */
#main-container { min-height: 100vh; min-height: 100dvh !important; }
/* Tighten the tall stacked footer on small screens */
@media (max-width: 600px) {
  .dh-foot-grid { grid-template-columns: 1fr 1fr; gap: 22px 18px; padding-block: 34px 22px; }
  .dh-foot-brand { grid-column: 1 / -1; }
  .dh-footer { margin-top: clamp(36px,6vw,52px); }
}

/* ============================================================
   LIGHT MODE — cinematic hero + pillar treatments & the ◐ toggle.
   Photographic heroes get a warm IVORY scrim (not a black one) so the page
   reads as intentionally light; the headline flips to ink and gold accents
   to bronze, each lifted off the photo with a soft white text-shadow.
   ============================================================ */

/* header colour-mode toggle */
.dh-mode-item { display: flex; align-items: center; }
.dh-mode-toggle {
  -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer;
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--dh-line);
  color: var(--dh-soft); display: inline-grid; place-items: center;
  font-size: 1.05rem; line-height: 1; padding: 0;
  transition: color .25s, border-color .25s, transform .4s cubic-bezier(.2,.7,.2,1);
}
.dh-mode-toggle:hover { color: var(--dh-gold-ink); border-color: var(--dh-gold-ink); transform: rotate(180deg); }
.dh-mode-toggle .dh-mode-ico { pointer-events: none; }

/* Archive / category cinematic hero */
html.light .dh-archive-hero { background-color: #ddd3bf; }
html.light .dh-archive-hero::after {
  background: linear-gradient(0deg, rgba(244,241,234,.97) 0%, rgba(244,241,234,.74) 40%, rgba(244,241,234,.34) 72%, rgba(244,241,234,.06) 100%); }
html.light .dh-archive-hero h1 { color: var(--dh-ink) !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.55), 0 2px 22px rgba(255,255,255,.5) !important; }
html.light .dh-archive-hero p { color: #55503f; text-shadow: 0 1px 0 rgba(255,255,255,.5); }
html.light .dh-ah-inner .dh-eyebrow { color: var(--dh-gold-ink); text-shadow: 0 1px 0 rgba(255,255,255,.6); }

/* BUILD / DESIGN pillars */
html.light .dh-pillar { background-color: #ddd3bf; border-color: var(--dh-line-2); }
html.light .dh-pillar::after {
  background: linear-gradient(0deg, rgba(244,241,234,.97) 0%, rgba(244,241,234,.72) 46%, rgba(244,241,234,.18) 100%); }
html.light .dh-pillar h3 { color: var(--dh-ink); text-shadow: 0 1px 0 rgba(255,255,255,.5); }
html.light .dh-pillar p { color: #55503f; }
html.light .dh-pillar .dh-eyebrow { color: var(--dh-gold-ink); text-shadow: 0 1px 0 rgba(255,255,255,.6); }

/* a pure-white product plate on ivory looks clipped — hairline it in */
html.light ul.products li.product img { box-shadow: inset 0 0 0 1px rgba(23,21,15,.06); }

@media (prefers-reduced-motion: reduce) { *, .dh-track { animation: none !important; transition: none !important; } }
