/*
Theme Name: DraftedSkin — Drop Edition
Theme URI: https://draftedskin.com
Author: DraftedSkin
Author URI: https://draftedskin.com
Description: Wear Your Mood campaign edition of the DraftedSkin WooCommerce theme.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: draftedskin
Tags: e-commerce, blog, one-column, custom-colors, custom-menu
*/

/* DraftedSkin — design tokens + all shared component & page styles.
   Ported from the static site's styles.css. One change for the WP theme:
   sticky nav is applied to the real .site-header element (there is no
   <site-header> custom element wrapper here), so the announcement bar above
   it scrolls away while the nav stays pinned. */

:root {
  --paper: #f2efe7;
  --bone: #faf8f1;
  --ink: #16191d;
  --blue: #7ec8e3;
  --blue-deep: #3b7d99;
  --concrete: #d8d4c9;
  --measure: #aeb4b3;
  --pencil: #6a6f72;
  --line: rgba(22, 25, 29, 0.16);
  --max: 1440px;
  /* mobile-first vertical rhythm: grows at min-width breakpoints below */
  --pad: 56px;
  --pad-sm: 40px;
  --announce-h: 38px;
  --header-h: 76px;
}

/* Product page: clear gallery and purchase flow. The single-product scope
   deliberately outranks the older generic dossier treatment below. */
.single-product .product-sheet {
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  align-items: start;
}
.single-product .product-sheet-media {
  justify-content: flex-start;
  padding: clamp(28px, 3vw, 46px);
}
.single-product .product-gallery { width: 100%; }
.product-mobile-back { display: none; }
.single-product .product-sheet-image {
  width: min(100%, 520px);
  max-height: none;
  aspect-ratio: 4 / 5;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}
.single-product .product-sheet-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  mix-blend-mode: multiply; /* white PNG grounds melt into the paper, as in the catalogue */
}
.product-image-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 9px;
  background: rgba(250, 248, 241, .92);
  border: 0;
  font: 500 10px "DM Mono";
}
.product-gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(250, 248, 241, .92);
  color: var(--ink);
  font-size: 17px;
  cursor: pointer;
  transform: translateY(-50%);
}
.product-gallery-arrow.is-previous { left: 12px; }
.product-gallery-arrow.is-next { right: 12px; }
.product-gallery-arrow:hover { background: var(--bone); }
.product-gallery-arrow:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.product-thumbs { justify-content: flex-start; }
.product-thumb {
  width: 74px;
  height: 74px;
  padding: 3px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
}
.product-thumb img { width: 100%; height: 100%; border: 0; object-fit: cover; mix-blend-mode: multiply; }
.product-thumb.is-active { border-color: var(--ink); }
.product-thumb:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.single-product .product-sheet-summary {
  position: sticky;
  top: var(--header-h);
  align-self: start;
  padding: clamp(38px, 4.5vw, 64px) clamp(28px, 4vw, 60px);
}
.single-product .product-sheet-summary .back { margin-bottom: clamp(24px, 2.5vw, 34px); }
.single-product .product-sheet-summary h1 {
  max-width: 14ch;
  margin: 14px 0 8px;
  font-size: clamp(2.5rem, 3.25vw, 3.4rem);
  line-height: 1;
}
.product-sheet-description {
  max-width: 52ch;
  margin-block: 22px;
  color: var(--pencil);
  font-size: 16px;
  line-height: 1.65;
}
.product-story-label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font: 600 10px "DM Mono";
  letter-spacing: .1em;
  text-transform: uppercase;
}
.product-sheet-description p { margin: 0; }
.product-sheet-description p + p { margin-top: 10px; }
.product-story-more { display: none; }
.single-product .product-specs {
  grid-template-columns: repeat(2, 1fr);
  margin-block: 22px;
  border: 1px solid var(--ink);
}
.single-product .product-specs div { min-width: 0; border-bottom: 1px solid var(--ink); }
.single-product .product-specs div:nth-child(2n) { border-right: 0; }
.single-product .product-specs div:nth-last-child(-n + 2) { border-bottom: 0; }
.single-product .product-specs strong { overflow-wrap: anywhere; }
.product-information { margin-top: 25px; border-top: 1px solid var(--ink); }
.product-information details { border-bottom: 1px solid var(--ink); }
.product-information summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.product-information summary::-webkit-details-marker { display: none; }
.product-information summary::after { content: "+"; font: 400 20px "DM Sans"; }
.product-information details[open] summary::after { content: "−"; }
.product-information details > div { padding: 0 28px 18px 0; color: var(--pencil); font-size: 14px; line-height: 1.6; }
.product-information details p { margin: 0 0 8px; }
.product-details-section {
  padding-block: clamp(52px, 6vw, 86px);
  border-bottom: 1px solid var(--ink);
  background: var(--bone);
}
.product-details-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: end;
}
.product-details-head .eyebrow { margin: 0 0 10px; }
.product-details-head h2 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: .98;
}
.product-details-head > p {
  max-width: 48ch;
  margin: 0;
  color: var(--pencil);
  font-size: 15px;
  line-height: 1.65;
}
.product-details-section .product-information {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(40px, 6vw, 90px);
  margin-top: clamp(34px, 4vw, 54px);
  border-top: 0;
}
.product-details-section .product-information details {
  border-top: 1px solid var(--ink);
  border-bottom: 0;
}
.product-details-section .product-information details:nth-last-child(-n + 2) {
  border-bottom: 1px solid var(--ink);
}
.product-details-section .product-information summary { min-height: 58px; }
.product-details-section .product-information details > div { padding-bottom: 22px; }
.product-mobile-buy { display: none; }

@media (max-width: 900px) {
  .single-product .product-sheet { grid-template-columns: 1fr; }
  .single-product .product-sheet-summary { position: static; padding-block: 30px 46px; }
  .product-details-head { grid-template-columns: 1fr; gap: 18px; }
  .product-details-head h2 { max-width: 18ch; }
}

@media (max-width: 560px) {
  .single-product .product-sheet-media { padding: 18px 18px 14px; }
  .single-product .product-sheet-image { aspect-ratio: 1 / 1.05; padding: 0; }
  .product-mobile-back {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(250, 248, 241, .94);
    color: var(--ink);
    font-size: 18px;
    text-decoration: none;
  }
  .product-mobile-back:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
  .single-product .product-sheet-summary {
    display: flex;
    flex-direction: column;
    padding: 22px 18px 38px;
  }
  .single-product .product-sheet-summary .back { display: none; }
  .single-product .product-classification { margin-bottom: 10px; }
  .single-product .product-classification { order: 1; }
  .single-product .product-sheet-summary h1 { max-width: none; margin-top: 10px; font-size: clamp(2rem, 9vw, 2.35rem); line-height: 1.04; }
  .single-product .product-sheet-summary h1 { order: 2; }
  .single-product .product-sheet-price { order: 3; font-size: 1.2rem; }
  .single-product .product-sheet-description { order: 4; margin-block: 14px 17px; font-size: 14px; line-height: 1.55; }
  .product-story-copy { overflow: hidden; }
  .product-sheet-description.is-collapsible:not(.is-expanded) .product-story-copy {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }
  .product-sheet-description.is-collapsible .product-story-more {
    display: inline-block;
    margin-top: 7px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid currentColor;
    background: transparent;
    color: var(--ink);
    font: 600 11px "DM Sans";
    cursor: pointer;
  }
  .single-product .product-purchase { order: 5; }
  .single-product .product-assurance { order: 6; }
  .single-product .product-specs { order: 7; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 20px 0 0; }
  .single-product .product-specs div { border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
  .single-product .product-specs div:nth-child(2n) { border-right: 0; }
  .single-product .product-specs div:nth-last-child(-n + 2) { border-bottom: 0; }
  .single-product .product-purchase form.cart { display: grid; grid-template-columns: 64px 1fr; }
  .single-product .product-assurance { display: grid; gap: 9px; }
  .product-thumbs { justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; }
  .product-thumb { flex: 0 0 64px; width: 64px; height: 64px; }
  .product-gallery-arrow { width: 40px; height: 40px; }
  .product-details-section { padding-block: 46px; }
  .product-details-head h2 { font-size: 2.35rem; }
  .product-details-head > p { font-size: 14px; }
  .product-details-section .product-information {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }
  .product-details-section .product-information details,
  .product-details-section .product-information details:nth-last-child(-n + 2) { border-bottom: 0; }
  .product-details-section .product-information details:last-child { border-bottom: 1px solid var(--ink); }
  .product-details-section .product-information summary { min-height: 54px; }
  .product-mobile-buy {
    position: fixed;
    z-index: 70;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--ink);
    background: var(--paper);
    transform: translateY(110%);
    transition: transform .2s ease;
  }
  .product-mobile-buy.is-visible { transform: translateY(0); }
  .product-mobile-buy strong,
  .product-mobile-buy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .product-mobile-buy strong { font-size: 13px; }
  .product-mobile-buy span { margin-top: 2px; font-size: 12px; }
  .product-mobile-buy a { padding: 13px 18px; background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 700; }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  line-height: 1.5;
}
body.lock {
  overflow: hidden;
}
@media (min-width: 600px) {
  :root {
    --pad: 72px;
    --pad-sm: 52px;
  }
}
@media (min-width: 900px) {
  :root {
    --pad: 96px;
    --header-h: 76px;
  }
}
@media (min-width: 1200px) {
  :root {
    --pad: 112px;
  }
}
img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue-deep);
  outline-offset: 3px;
}
.skip {
  position: fixed;
  top: -100px;
  left: 12px;
  z-index: 100;
  background: var(--paper);
  padding: 10px;
}
.skip:focus {
  top: 12px;
}
.wrap {
  max-width: var(--max);
  margin: auto;
  padding-inline: clamp(18px, 4vw, 64px);
}
.eyebrow,
.meta,
.spec {
  font: 500 11px/1.3 "DM Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--pencil);
}
.eyebrow:before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--blue);
}
.swipe {
  display: none;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: var(--pencil);
}
.swipe:after {
  content: "→";
  font-family: "DM Mono";
  color: var(--blue-deep);
}
.pl-arrow {
  display: none;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
.display {
  font-family: "Bricolage Grotesque", sans-serif;
  font-optical-sizing: auto;
  line-height: 0.94;
  letter-spacing: -0.03em;
}
h1 {
  font-weight: 700;
  font-size: clamp(2.6rem, 6.2vw, 7rem);
  margin-bottom: 30px;
}
h2 {
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 4.4rem);
}
h3 {
  line-height: 1.15;
}
/* signature: the draft-line strike */
.strike {
  position: relative;
  white-space: nowrap;
}
.strike:after {
  content: "";
  position: absolute;
  left: -0.03em;
  right: -0.03em;
  top: 0.56em;
  height: 0.075em;
  background: var(--blue);
}
.blue {
  color: var(--blue-deep);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  gap: 18px;
  transition: 0.2s;
}
.btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--ink);
}
.btn.light {
  background: var(--paper);
  color: var(--ink);
}
.btn.light:hover {
  background: #fff;
}
.btn.ghost {
  background: transparent;
  color: var(--ink);
}
.btn.ghost:hover {
  background: var(--ink);
  color: var(--paper);
}
.arrow {
  font-family: "DM Mono";
}
/* corner registration crosses */
.reg {
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
  color: var(--blue);
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4));
}
.reg:before,
.reg:after {
  content: "";
  position: absolute;
  background: currentColor;
}
.reg:before {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  transform: translateX(-50%);
}
.reg:after {
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  transform: translateY(-50%);
}
.reg.tl { top: 14px; left: 14px; }
.reg.tr { top: 14px; right: 14px; }
.reg.bl { bottom: 14px; left: 14px; }
.reg.br { bottom: 14px; right: 14px; }
.announcement {
  height: 38px;
  background: var(--ink);
  color: var(--bone);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5px 40px;
  font: 500 11px "DM Mono";
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
body.home .announcement {
  background: var(--expression, var(--blue));
  color: var(--accent-contrast, var(--ink));
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 76px;
  border-bottom: 1px solid var(--ink);
  background: rgba(242, 239, 231, 0.96);
}
.nav {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  position: relative;
}
.nav-links a:hover {
  color: var(--blue-deep);
}
.nav-links a[aria-current="page"] {
  color: var(--blue-deep);
}
.nav-links a[aria-current="page"]:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  background: var(--blue);
}
/* WordPress marks every homepage fragment link as the current page. Those
   links are section jumps, not separate active routes. */
.home .nav-links a[href*="#"][aria-current="page"] {
  color: inherit;
}
.home .nav-links a[href*="#"][aria-current="page"]::after {
  content: none;
}
.logo {
  font: 700 24px "Bricolage Grotesque";
  letter-spacing: -0.02em;
}
.logo span {
  color: var(--blue-deep);
}
.logo i {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--blue);
  margin-left: 7px;
}
.logo img {
  display: block;
  width: auto;
  height: 44px;
}
.actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
}
.icon-btn {
  border: 0;
  background: transparent;
  padding: 9px;
  position: relative;
  font: 500 12px "DM Mono";
  letter-spacing: 0.08em;
}
.count {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--blue);
  color: var(--ink);
  border-radius: 20px;
  min-width: 17px;
  height: 17px;
  font: 10px/17px "DM Mono";
}
.menu {
  display: none;
}
.hero {
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: 1px solid var(--ink);
  position: relative;
}
.hero-copy {
  padding: var(--pad-sm) clamp(18px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  gap: 34px;
  background:
    radial-gradient(var(--line) 1px, transparent 1px);
  background-size: 24px 24px;
}
.hero-copy .lede {
  max-width: 560px;
  font-size: clamp(16px, 1.7vw, 21px);
  font-weight: 400;
  color: var(--pencil);
}
.hero-note {
  font: 400 12px "DM Mono";
  letter-spacing: 0.04em;
  color: var(--pencil);
  margin-top: 26px;
  max-width: 460px;
}
.hero-note b {
  color: var(--blue-deep);
  font-weight: 500;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-visual {
  position: relative;
  height: clamp(360px, 58vh, 500px);
  border-top: 1px solid var(--ink);
  overflow: hidden;
}
.hero-visual:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 14, 16, 0.42), transparent 46%);
  z-index: 1;
  pointer-events: none;
}
.hero-visual img {
  transition: transform 0.7s;
}
.hero:hover img {
  transform: scale(1.02);
}
.vdim {
  position: absolute;
  left: 26px;
  top: 12%;
  height: 62%;
  border-left: 1px solid rgba(255, 255, 255, 0.85);
}
.vdim:before,
.vdim:after {
  content: "";
  position: absolute;
  left: -4px;
  width: 7px;
  height: 1px;
  background: #fff;
}
.vdim:before { top: 0; }
.vdim:after { bottom: 0; }
.vdim em {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font: 400 11px "DM Mono";
  letter-spacing: 0.12em;
  color: #fff;
  white-space: nowrap;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}
.spec-card {
  position: absolute;
  right: 26px;
  top: 26px;
  background: rgba(22, 25, 29, 0.78);
  color: #fff;
  padding: 12px 14px;
  font: 400 11px "DM Mono";
  letter-spacing: 0.04em;
  line-height: 1.7;
}
.spec-card b {
  color: var(--blue);
  font-weight: 500;
}
.measure-line {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 24px;
  color: #fff;
  border-top: 1px solid #fff;
  padding-top: 9px;
  display: flex;
  justify-content: space-between;
  z-index: 2;
}
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--ink);
  background: var(--concrete);
}
.trust > div {
  padding: 26px 24px;
  min-height: 84px;
  border-right: 1px solid var(--ink);
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 600;
}
.trust > div:last-child {
  border: 0;
}
.trust span {
  font: 12px "DM Mono";
  color: var(--blue-deep);
}
@media (min-width: 900px) {
  .hero {
    grid-template-columns: 54% 46%;
    /* the announcement bar is the only chrome above the sticky header, so the
       hero fills the viewport below it */
    height: calc(100svh - var(--header-h));
    min-height: 560px;
  }
  .hero-copy {
    justify-content: space-between;
    gap: 0;
    padding: clamp(40px, 5vw, 72px) clamp(18px, 4vw, 64px);
  }
  .hero-visual {
    height: 100%;
    border-top: 0;
    border-left: 1px solid var(--ink);
  }
}
section {
  padding-block: var(--pad);
}
section[id] {
  scroll-margin-top: 88px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.section-head h2 {
  max-width: 880px;
  margin: 0;
}
.section-head p {
  max-width: 360px;
  margin: 0;
  color: var(--pencil);
}
.collections {
  display: grid;
  grid-template-columns: 1.35fr 0.7fr 0.95fr;
  gap: 14px;
}
.collection {
  height: 440px;
  position: relative;
  overflow: hidden;
  color: #fff;
  border: 1px solid var(--ink);
}
.collection img {
  transition: 0.5s;
}
.collection:hover img {
  transform: scale(1.035);
}
.shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 30%, rgba(12, 14, 16, 0.78));
}
.collection-copy {
  position: absolute;
  inset: auto 24px 26px;
}
.collection-copy .meta {
  color: var(--blue);
}
.collection h3 {
  font: 700 clamp(1.5rem, 2.6vw, 2.6rem) "Bricolage Grotesque";
  margin: 8px 0;
  letter-spacing: -0.02em;
}
.collection a {
  border-bottom: 1px solid #fff;
  font-weight: 600;
}
.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.5vw, 42px);
  align-items: start;
}
.product {
  position: relative;
}
.product:nth-child(even) {
  margin-top: 0;
}
.product-img {
  aspect-ratio: 4/5;
  background: var(--bone);
  border: 1px solid var(--ink);
  padding: clamp(14px, 2vw, 20px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.4s;
}
.product:hover img {
  transform: scale(1.02);
}
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--blue);
  color: var(--ink);
  padding: 6px 8px;
  font: 10px "DM Mono";
  letter-spacing: 0.08em;
  z-index: 2;
}
.product-info {
  padding: 18px 0;
}
.product-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.product h3 {
  margin: 3px 0 9px;
  font-size: 17px;
}
.price {
  font-weight: 700;
}
.rating {
  font-size: 13px;
  color: var(--pencil);
}
.swatches {
  display: flex;
  gap: 5px;
  margin-top: 14px;
}
.swatches i {
  width: 12px;
  height: 12px;
  background: var(--ink);
  border: 1px solid var(--measure);
}
.swatches i:nth-child(2) {
  background: var(--concrete);
}
.add {
	display: block;
	text-align: center;
	line-height: 43px;
  width: 100%;
  height: 45px;
  margin-top: 18px;
  background: transparent;
  border: 1px solid var(--ink);
  font-weight: 700;
}
.product-link {
	display: block;
}
.add:hover {
  background: var(--ink);
  color: var(--paper);
}
.how {
  background: var(--ink);
  color: var(--paper);
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-block: var(--pad);
}
.how-photo {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: center;
}
.how-photo img {
  height: clamp(260px, 40vh, 400px);
}
.how-photo .reg {
  color: var(--blue);
}
.how-copy {
  padding: clamp(20px, 2vw, 32px);
}
.how-copy .eyebrow {
  color: var(--blue);
}
.steps {
  margin-top: 20px;
}
.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  padding: 14px 0;
  border-top: 1px solid var(--measure);
}
.step:last-child {
  border-bottom: 1px solid var(--measure);
}
.step b {
  font: 14px "DM Mono";
  color: var(--blue);
}
.step h3 {
  margin-bottom: 6px;
}
.step p {
  color: #bcc2bf;
  margin: 0;
}
.placements {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--ink);
}
.placement {
  padding: 24px 12px;
  min-height: 180px;
  border-right: 1px solid var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: 0.2s;
}
.placement:last-child {
  border: 0;
}
.placement:hover {
  background: var(--blue);
  color: var(--ink);
}
.placement strong {
  font: 600 15px "Bricolage Grotesque";
  letter-spacing: -0.01em;
}
.placement .num {
  font: 11px "DM Mono";
}
.fitting {
  display: grid;
  grid-template-columns: 40% 60%;
  border: 1px solid var(--ink);
}
.fitting-address {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(35px, 5vw, 72px);
  position: relative;
}
.fitting-address .eyebrow {
  color: var(--blue);
}
.fitting-address h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  margin: 24px 0;
}
.fitting-address address {
  font-style: normal;
  color: #bcc2bf;
}
.fitting-copy {
  padding: clamp(35px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
}
.fitting-copy p {
  color: var(--pencil);
}
.reviews {
  overflow: hidden;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.review {
  border: 1px solid var(--ink);
  padding: 28px;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.review blockquote {
  font-size: 21px;
  margin: 20px 0;
}
.review .stars {
  color: var(--blue-deep);
  letter-spacing: 0.2em;
}
.faq-layout {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 8vw;
}
.faq-layout h2 {
  position: sticky;
  top: 130px;
}
details {
  border-top: 1px solid var(--ink);
  padding: 22px 0;
}
details:last-child {
  border-bottom: 1px solid var(--ink);
}
summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
summary:after {
  content: "+";
  font: 25px "DM Mono";
  color: var(--blue-deep);
}
details[open] summary:after {
  content: "−";
}
details p {
  max-width: 680px;
  color: var(--pencil);
  margin: 16px 0 0;
}
footer {
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid var(--measure);
  padding: 60px 0 25px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 50px;
}
.footer-logo {
  font: 700 clamp(2.6rem, 6vw, 5.6rem) "Bricolage Grotesque";
  letter-spacing: -0.04em;
  line-height: 1;
}
.footer-logo .blue {
  color: var(--blue);
}
.footer-col strong {
  display: block;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: #bcc2bf;
  margin: 8px 0;
}
.footer-col a:hover {
  color: var(--blue);
}
.footer-menu,
.nav-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-menu li {
  margin: 0;
}
.legal {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--measure);
  margin-top: 55px;
  padding-top: 20px;
  color: #8b9293;
  font: 10px "DM Mono";
}
.legal-links { display: inline-flex; gap: 18px; }
.legal a { color: inherit; font: inherit; }
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 17, 15, 0.58);
  z-index: 80;
  opacity: 0;
  visibility: hidden;
  transition: 0.25s;
}
.overlay.open {
  opacity: 1;
  visibility: visible;
}
.drawer {
  position: fixed;
  z-index: 90;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(460px, 100%);
  background: var(--paper);
  transform: translateX(100%);
  transition: 0.3s;
  display: flex;
  flex-direction: column;
}
.drawer.open {
  transform: none;
}
/* mobile navigation — off-canvas from the left, mirrors the cart drawer */
.nav-drawer {
  left: 0;
  right: auto;
  width: min(340px, 100%);
  transform: translateX(-100%);
}
.nav-menu {
  display: flex;
  flex-direction: column;
  padding: 12px 22px;
}
.nav-menu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  font-size: 18px;
}
.nav-menu a:last-child {
  border-bottom: 0;
}
.nav-menu a:hover {
  color: var(--blue-deep);
}
.nav-menu a:after {
  content: "→";
  font-family: "DM Mono";
  color: var(--blue-deep);
  font-size: 14px;
}
.drawer-head {
  padding: 22px;
  border-bottom: 1px solid var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.drawer-head h2 {
  font: 600 20px "Bricolage Grotesque";
  margin: 0;
}
.close {
  border: 0;
  background: transparent;
  font-size: 25px;
}
.cart-body {
  padding: 24px;
  overflow: auto;
  flex: 1;
}
.empty {
  text-align: center;
  padding: 80px 20px;
}
.cart-item {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}
.cart-item img {
  height: 100px;
}
.remove {
  border: 0;
  background: transparent;
  text-decoration: underline;
  font-size: 12px;
  padding: 0;
  color: var(--pencil);
}
.drawer-foot {
  border-top: 1px solid var(--ink);
  padding: 22px;
}
.drawer .widget_shopping_cart_content {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
}
.drawer .woocommerce-mini-cart {
  flex: 1;
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 8px 22px;
}
.drawer .woocommerce-mini-cart-item {
  position: relative;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  min-height: 112px;
  padding: 16px 30px 16px 0;
  border-bottom: 1px solid var(--line);
}
.drawer .woocommerce-mini-cart-item > a:not(.remove) {
  display: grid;
  grid-template-columns: 76px 1fr;
  grid-column: 1 / -1;
  gap: 14px;
  font-weight: 700;
}
.drawer .woocommerce-mini-cart-item img {
  width: 76px;
  height: 90px;
  object-fit: contain;
  border: 1px solid var(--ink);
  background: var(--bone);
}
.drawer .woocommerce-mini-cart-item .remove {
  position: absolute;
  right: 0;
  top: 16px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  text-decoration: none;
  font-size: 20px;
}
.drawer .quantity {
  grid-column: 2;
  color: var(--pencil);
  font: 500 11px "DM Mono";
}
.drawer .woocommerce-mini-cart__total {
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 18px 22px;
  border-top: 1px solid var(--ink);
  font-weight: 700;
}
.drawer .woocommerce-mini-cart__buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0;
  padding: 0 22px 22px;
}
.drawer .woocommerce-mini-cart__buttons a {
  display: grid;
  place-items: center;
  min-height: 46px;
  border: 1px solid var(--ink);
  font-weight: 700;
}
.drawer .woocommerce-mini-cart__buttons .checkout {
  background: var(--ink);
  color: var(--paper);
}
.drawer .woocommerce-mini-cart__empty-message {
  margin: auto;
  padding: 80px 22px;
  text-align: center;
  font-family: "Instrument Serif", serif;
  font-size: 1.5rem;
  font-style: italic;
}
.nav-menu li {
  list-style: none;
}
.total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  margin-bottom: 14px;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 120px);
  background: var(--ink);
  color: var(--paper);
  padding: 13px 20px;
  z-index: 100;
  transition: 0.3s;
}
.toast.show {
  transform: translate(-50%, 0);
}
.site-header,
.hero,
.hero-visual,
.trust,
.trust > div,
.placements,
.placement,
.review,
details {
  border-color: var(--measure);
}
/* ---- WooCommerce — let the theme's design win over plugin defaults ----
   WooCommerce ships a thick layer of its own styles; these neutralise the
   worst of it so archive/single pages inherit the DraftedSkin system. The
   specific overrides live in woocommerce/*.php templates (Phase 4). */
.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
  font: 500 11px "DM Mono";
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pencil);
}
.woocommerce ul.products {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ---- WooCommerce catalogue ----------------------------------------- */
.catalogue-head {
  padding-block: clamp(52px, 8vw, 110px) var(--pad-sm);
  border-bottom: 1px solid var(--ink);
}
.catalogue-head h1 {
  margin: 12px 0 18px;
  font-size: clamp(3rem, 6vw, 5.5rem);
  letter-spacing: -0.04em;
}
.catalogue-head > p:last-child {
  max-width: 600px;
  color: var(--pencil);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
}
.catalogue-layout {
  display: grid;
  grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.catalogue-sidebar {
  position: sticky;
  top: 112px;
  padding-block: 24px var(--pad);
  border-right: 1px solid var(--ink);
  padding-right: clamp(20px, 3vw, 38px);
}
.catalogue-sidebar summary {
  display: none;
}
.catalogue-sidebar:not([open]) > :not(summary) {
  display: block;
}
.catalogue-filter-group + .catalogue-filter-group {
  margin-top: 34px;
}
.catalogue-filter-group h2 {
  margin: 0 0 14px;
  font: 600 12px "DM Mono";
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.catalogue-filters {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.catalogue-filter {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 8px;
  border-bottom: 1px solid var(--measure);
  font: 500 11px "DM Mono";
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.catalogue-filter small {
  color: var(--pencil);
  font: inherit;
}
.catalogue-filter:hover,
.catalogue-filter.active {
  background: var(--ink);
  color: var(--paper);
}
.catalogue-filter.active {
  box-shadow: inset 3px 0 var(--blue);
}
.catalogue-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 24px;
}
.catalogue-tools .woocommerce-result-count {
  margin: 0;
}
.catalogue-tools select {
  border: 1px solid var(--ink);
  background: transparent;
  padding: 9px 34px 9px 11px;
  font: 500 11px "DM Mono";
  text-transform: uppercase;
}
.catalogue-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 42px);
  list-style: none;
  margin: 0;
  padding: 16px 0 var(--pad);
}
.catalogue-card {
  position: relative;
  margin: 0;
}
.catalogue-card:nth-child(even) {
  margin-top: 64px;
}
.catalogue-card-image {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  padding: clamp(12px, 1.7vw, 20px);
  border: 1px solid var(--ink);
  background: var(--paper); /* same cream as the product page media area */
  overflow: hidden;
}
.catalogue-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s;
}
.catalogue-card:hover .catalogue-card-image img {
  transform: scale(1.025);
}
.catalogue-card-code {
  position: absolute;
  right: 8px;
  bottom: 7px;
  font: 400 9px "DM Mono";
  color: var(--pencil);
}
.catalogue-card-copy {
  padding-block: 16px;
}
.catalogue-card h2 {
  margin: 4px 0 8px;
  font-size: 17px;
  line-height: 1.2;
}
.catalogue-card .add {
  display: block;
}
.woocommerce-pagination {
  padding-bottom: var(--pad);
}
.woocommerce-pagination ul.page-numbers {
  display: flex;
  gap: 8px;
  padding: 0;
  list-style: none;
}
.woocommerce-pagination .page-numbers a,
.woocommerce-pagination .page-numbers span {
  display: grid;
  place-items: center;
  min-width: 40px;
  min-height: 40px;
  border: 1px solid var(--ink);
  font: 500 11px "DM Mono";
}

/* ---- WooCommerce product sheet ------------------------------------- */
.woocommerce-notices-wrapper {
  width: min(var(--max), 100%);
  margin-inline: auto;
}
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  margin: 0;
  padding: 14px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid var(--ink);
  background: var(--blue);
  list-style: none;
}
.product-sheet {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  min-height: calc(100vh - var(--header-h));
  border-bottom: 1px solid var(--ink);
}
.product-sheet-media {
  padding: clamp(24px, 4vw, 64px);
  border-right: 1px solid var(--ink);
}
.product-sheet-image {
  position: relative;
  aspect-ratio: 4 / 5;
  padding: clamp(20px, 3vw, 44px);
  background: var(--bone);
  border: 1px solid var(--ink);
}
.product-sheet-image img {
  object-fit: contain;
}
.product-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.product-thumbs img {
  width: 72px;
  height: 72px;
  border: 1px solid var(--ink);
  object-fit: cover;
}
.product-sheet-summary {
  padding: clamp(32px, 6vw, 88px) clamp(22px, 5vw, 76px);
  align-self: center;
}
.product-sheet-summary .back {
  margin-bottom: clamp(30px, 5vw, 64px);
}
.product-sheet-summary h1 {
  margin: 18px 0 10px;
  font-size: clamp(2.8rem, 5vw, 5.6rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.product-sheet-price {
  font-size: 1.35rem;
  font-weight: 700;
}
.product-sheet-lede {
  margin-block: 26px;
  color: var(--pencil);
  font-family: "Instrument Serif", serif;
  font-size: 1.35rem;
  font-style: italic;
}
.product-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--ink);
  margin-block: 26px;
}
.product-specs div {
  padding: 14px 10px;
  border-right: 1px solid var(--ink);
}
.product-specs div:last-child {
  border: 0;
}
.product-specs span,
.product-specs strong {
  display: block;
}
.product-specs span {
  color: var(--pencil);
  font: 500 9px "DM Mono";
  letter-spacing: 0.08em;
}
.product-specs strong {
  margin-top: 5px;
  font-size: 12px;
}
.product-purchase form.cart {
  display: flex;
  gap: 9px;
  margin: 0;
}
.product-purchase .quantity input {
  width: 70px;
  height: 50px;
  border: 1px solid var(--ink);
  background: transparent;
  text-align: center;
}
.product-purchase .single_add_to_cart_button {
  flex: 1;
  min-height: 50px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
}
.product-purchase .single_add_to_cart_button:hover {
  background: var(--blue);
  color: var(--ink);
}
.product-assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 20px;
  color: var(--pencil);
  font: 500 10px "DM Mono";
  text-transform: uppercase;
}
.product-assurance span::before {
  content: "✓";
  color: var(--blue-deep);
  margin-right: 6px;
}
.product-detail {
  display: grid;
  grid-template-columns: 0.55fr 1fr 1fr;
  gap: clamp(20px, 5vw, 80px);
  padding-block: var(--pad);
  border-bottom: 1px solid var(--ink);
}
.product-detail h2 {
  margin: 0;
}
.product-detail > div {
  color: var(--pencil);
  font-size: 17px;
  line-height: 1.75;
}
.related-drafts {
  padding-top: var(--pad-sm);
}

/* ---- Cart and checkout ---------------------------------------------- */
.commerce-page,
.content-page {
  padding-bottom: var(--pad);
}
.page-head {
  padding-block: clamp(48px, 7vw, 96px) var(--pad-sm);
  border-bottom: 1px solid var(--ink);
}
.page-head h1 {
  margin: 12px 0 0;
  font-size: clamp(3rem, 7vw, 6.5rem);
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.page-content {
  padding-top: var(--pad-sm);
}
.woocommerce-cart-form table,
.woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
}
.woocommerce-cart-form th,
.woocommerce-cart-form td,
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  padding: 16px 12px;
  border-bottom: 1px solid var(--ink);
  text-align: left;
}
.woocommerce-cart-form th,
.woocommerce-checkout-review-order-table th {
  color: var(--pencil);
  font: 500 10px "DM Mono";
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.woocommerce-cart-form .product-thumbnail img {
  width: 86px;
  height: 105px;
  padding: 7px;
  border: 1px solid var(--ink);
  background: var(--bone);
  object-fit: contain;
}
.woocommerce-cart-form .product-remove a {
  font-size: 24px;
}
.woocommerce-cart-form input.qty {
  width: 64px;
  height: 42px;
  border: 1px solid var(--ink);
  background: transparent;
  text-align: center;
}
.woocommerce-cart-form .actions {
  padding-block: 22px;
}
.woocommerce-cart-form .coupon {
  display: flex;
  float: left;
}
.woocommerce-cart-form input[type="text"],
.woocommerce form .input-text,
.woocommerce form select,
.woocommerce form textarea {
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--bone);
}
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
#place_order {
  min-height: 48px;
  padding: 11px 18px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
}
.cart-collaterals {
  display: flex;
  justify-content: flex-end;
  margin-top: var(--pad-sm);
}
.cart_totals {
  width: min(520px, 100%);
  padding: 24px;
  border: 1px solid var(--ink);
  background: var(--bone);
}
.cart_totals h2,
.woocommerce-billing-fields h3,
#order_review_heading {
  margin-top: 0;
  font-size: 1.6rem;
}
.cart_totals table {
  width: 100%;
  border-collapse: collapse;
}
.cart_totals th,
.cart_totals td {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.wc-proceed-to-checkout a {
  width: 100%;
  margin-top: 18px;
  text-align: center;
}
.woocommerce-checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  gap: clamp(30px, 6vw, 90px);
}
.woocommerce-checkout > .col2-set {
  grid-column: 1;
}
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
  grid-column: 2;
}
.woocommerce-checkout #order_review_heading {
  grid-row: 1;
}
.woocommerce-checkout #order_review {
  grid-row: 1;
  margin-top: 54px;
  padding: 24px;
  border: 1px solid var(--ink);
  background: var(--bone);
  align-self: start;
}
.woocommerce .form-row {
  margin: 0 0 16px;
}
.woocommerce .form-row label {
  display: block;
  margin-bottom: 6px;
  color: var(--pencil);
  font: 500 10px "DM Mono";
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.woocommerce .form-row .input-text,
.woocommerce .form-row select {
  width: 100%;
}
.woocommerce .form-row-first,
.woocommerce .form-row-last {
  width: calc(50% - 8px);
  float: left;
}
.woocommerce .form-row-last {
  float: right;
}
.woocommerce .form-row-wide {
  clear: both;
}
.wc_payment_methods {
  margin: 20px 0;
  padding: 0;
  list-style: none;
}
.wc_payment_method {
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
}
.payment_box {
  color: var(--pencil);
  font-size: 14px;
}
.woocommerce-privacy-policy-text {
  color: var(--pencil);
  font-size: 13px;
}
.woocommerce-order-overview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 0;
  background: var(--ink);
  list-style: none;
}
.woocommerce-order-overview li {
  padding: 18px;
  background: var(--bone);
}
.woocommerce-order-overview li strong {
  display: block;
}

@media (max-width: 1024px) {
  .catalogue-layout {
    display: block;
  }
  .catalogue-sidebar {
    position: static;
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }
  .catalogue-sidebar summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    font: 700 12px "DM Mono";
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
  }
  .catalogue-sidebar summary::after {
    content: "+";
    font-size: 20px;
  }
  .catalogue-sidebar[open] summary::after {
    content: "−";
  }
  .catalogue-sidebar:not([open]) > :not(summary) {
    display: none;
  }
  .catalogue-sidebar[open] .catalogue-filter-group:first-of-type {
    margin-top: 18px;
  }
}
@media (max-width: 900px) {
  .catalogue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-sheet {
    grid-template-columns: 1fr;
  }
  .product-sheet-media {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }
  .product-detail {
    grid-template-columns: 1fr;
  }
  .woocommerce-checkout {
    grid-template-columns: 1fr;
  }
  .woocommerce-checkout #order_review_heading,
  .woocommerce-checkout #order_review {
    grid-column: 1;
    grid-row: auto;
  }
  .woocommerce-checkout #order_review {
    margin-top: 0;
  }
  .woocommerce-order-overview {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .catalogue-grid {
    grid-template-columns: 1fr;
  }
  .catalogue-tools {
    align-items: flex-start;
    flex-direction: column;
  }
  .catalogue-card:nth-child(even) { margin-top: 0; }
  .catalogue-card h2 {
    font-size: 15px;
  }
  .product-sheet-media,
  .product-sheet-summary {
    padding-inline: 18px;
  }
  .product-specs {
    grid-template-columns: 1fr;
  }
  .product-specs div {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }
  .woocommerce-cart-form .product-thumbnail,
  .woocommerce-cart-form .product-price {
    display: none;
  }
  .woocommerce-cart-form .coupon,
  .woocommerce-cart-form .actions > button {
    width: 100%;
    float: none;
  }
  .woocommerce-cart-form .coupon {
    margin-bottom: 8px;
  }
  .woocommerce .form-row-first,
  .woocommerce .form-row-last {
    width: 100%;
    float: none;
  }
}

/* Scale-ready catalogue facets and progressive loading. */
.catalogue-sidebar {
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  scrollbar-width: thin;
}
.catalogue-filter-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.catalogue-filter-form legend {
  width: 100%;
  margin-bottom: 10px;
  color: var(--pencil);
  font: 500 10px "DM Mono";
  letter-spacing: .08em;
  text-transform: uppercase;
}
.catalogue-filter-option {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  color: var(--ink);
  font-size: 13px;
  cursor: pointer;
}
.catalogue-filter-option input {
  width: 16px;
  height: 16px;
  margin: 0;
  border: 1px solid var(--measure);
  border-radius: 0;
  appearance: none;
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 10px;
  cursor: pointer;
}
.catalogue-filter-option:hover input { border-color: var(--ink); }
.catalogue-filter-option input:checked {
  border-color: var(--ink);
  background-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'%3E%3Cpath d='m1.25 5 3 3 6.5-6.5' fill='none' stroke='%23faf8f1' stroke-width='1.7'/%3E%3C/svg%3E");
}
.catalogue-filter-option input:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.catalogue-filter-option small {
  color: var(--pencil);
  font: 400 10px "DM Mono";
}
.catalogue-filter-option.is-disabled { opacity: .36; cursor: not-allowed; }
.catalogue-filter-option[hidden] { display: none !important; }
.catalogue-filter-option.is-extra { display: none; }
.catalogue-filter-group.show-all .catalogue-filter-option.is-extra { display: grid; }
.catalogue-show-more {
  margin-top: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.catalogue-facet-search { display: block; margin-bottom: 8px; }
.catalogue-facet-search input {
  width: 100%;
  padding: 8px 4px;
  border: 0;
  border-bottom: 1px solid var(--measure);
  background: transparent;
  color: var(--ink);
  font-size: 12px;
}
.catalogue-price-filter > div {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 7px;
}
.catalogue-price-filter label {
  color: var(--pencil);
  font: 400 9px "DM Mono";
  text-transform: uppercase;
}
.catalogue-price-filter input {
  width: 100%;
  margin-top: 5px;
  padding: 8px 6px;
  border: 1px solid var(--measure);
  background: transparent;
  color: var(--ink);
  font: 500 12px "DM Sans";
}
.catalogue-apply {
  width: 100%;
  margin-top: 22px;
  min-height: 42px;
  background: var(--ink);
  color: var(--bone);
}
.catalogue-tools { gap: 14px; }
.catalogue-search {
  display: flex;
  min-width: min(280px, 34vw);
  margin-left: auto;
  border-bottom: 1px solid var(--measure);
}
.catalogue-search input {
  width: 100%;
  padding: 9px 4px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 500 13px "DM Sans";
}
.catalogue-search button {
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.catalogue-pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.catalogue-load-more { min-width: min(320px, 100%); text-align: center; }
.catalogue-layout { transition: opacity .16s ease; }
.catalogue-layout.is-loading { opacity: .48; pointer-events: none; }
.catalogue-empty { padding: clamp(50px, 8vw, 100px) 0; }
.catalogue-empty a { display: inline-block; margin-top: 16px; text-decoration: underline; }

@media (max-width: 1024px) {
  .catalogue-sidebar { max-height: none; overflow: visible; }
}
@media (max-width: 700px) {
  .catalogue-tools { flex-wrap: wrap; }
  .catalogue-tools .woocommerce-result-count { order: 1; }
  .catalogue-tools .woocommerce-ordering { order: 2; margin-left: auto; }
  .catalogue-search { order: 3; min-width: 100%; }
}
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .menu {
    display: block;
  }
  .nav {
    grid-template-columns: 1fr auto;
  }
  .nav .logo {
    justify-self: start;
  }
  .actions .search {
    display: none;
  }
  .trust {
    grid-template-columns: 1fr 1fr;
  }
  .trust > div:nth-child(2) {
    border-right: 0;
  }
  .trust > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--ink);
  }
  .collections {
    grid-template-columns: 1fr 1fr;
  }
  .collection:first-child {
    grid-column: 1/-1;
    border-right: 0;
    border-bottom: 1px solid;
  }
  .products {
    grid-template-columns: 1fr 1fr;
  }
  .how {
    grid-template-columns: 1fr;
  }
  .placements {
    grid-template-columns: repeat(3, 1fr);
  }
  .placement:nth-child(3) {
    border-right: 0;
  }
  .placement:nth-child(-n + 3) {
    border-bottom: 1px solid;
  }
  .fitting {
    grid-template-columns: 1fr;
  }
  .review-grid {
    grid-template-columns: 1fr;
  }
  .faq-layout {
    grid-template-columns: 1fr;
  }
  .faq-layout h2 {
    position: static;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
}
@media (max-width: 600px) {
  .logo {
    font-size: 18px;
  }
  .logo img {
    height: 30px;
  }
  .announcement {
    height: auto;
    min-height: 34px;
    padding: 4px 14px;
    font-size: 10px;
    line-height: 1.4;
  }
  .product-img {
    padding: 10px;
  }
  .site-header {
    height: 64px;
  }
  .actions {
    gap: 4px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .trust {
    grid-template-columns: 1fr;
  }
  .trust > div {
    border-right: 0;
    border-bottom: 1px solid var(--ink) !important;
  }
  .section-head {
    align-items: start;
    flex-direction: column;
  }
  .collections {
    display: block;
  }
  .collection {
    min-height: 480px;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }
  .products {
    grid-template-columns: 1fr;
  }
  .product:nth-child(even) {
    margin-top: 0;
  }
  .placements {
    grid-template-columns: 1fr 1fr;
  }
  .placement:nth-child(odd) {
    border-right: 1px solid var(--ink);
  }
  .placement:nth-child(even) {
    border-right: 0;
  }
  .placement {
    border-bottom: 1px solid var(--ink) !important;
  }
  .fitting-copy {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    grid-column: auto;
  }
  .legal {
    display: block;
  }
  .legal span {
    display: block;
    margin-top: 8px;
  }
}
@media (max-width: 768px) {
  .swipe {
    display: inline-flex;
  }
  .products,
  .collections {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    margin-inline: calc(-1 * clamp(18px, 4vw, 64px));
    padding-inline: clamp(18px, 4vw, 64px);
    scroll-padding-inline: clamp(18px, 4vw, 64px);
  }
  .products::-webkit-scrollbar,
  .collections::-webkit-scrollbar {
    display: none;
  }
  .product {
    flex: 0 0 58vw;
    scroll-snap-align: start;
  }
  .product:nth-child(even) {
    margin-top: 0;
  }
  .product-info {
    padding: 12px 0;
  }
  .product .add {
    height: 40px;
    margin-top: 12px;
  }
  .product h3 {
    font-size: 15px;
  }
  .collection {
    flex: 0 0 70vw;
    scroll-snap-align: start;
    min-height: 0;
    height: 300px;
  }
  .collection:first-child {
    grid-column: auto;
    border-right: 1px solid var(--ink);
  }
  .pl-strip {
    position: relative;
  }
  .pl-strip:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 56px;
    background: linear-gradient(to left, var(--paper), transparent);
    pointer-events: none;
  }
  .pl-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--ink);
    background: var(--paper);
    color: var(--ink);
    font-size: 16px;
    line-height: 1;
    padding: 0;
    transition: opacity 0.2s;
  }
  .placements {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .placements::-webkit-scrollbar {
    display: none;
  }
  .placement {
    flex: 0 0 150px;
    scroll-snap-align: start;
    min-height: 0;
    height: 108px;
    border-right: 1px solid var(--ink) !important;
    border-bottom: 1px solid var(--ink) !important;
  }
  .placement:last-child {
    border-right: 0 !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* ---- 2026 visual refinement: a body-art drafting studio ------------ */
/* Global section and image defaults are intentionally broad above. These
   explicit rules keep fixed-ratio layouts from feeding their own height back
   into desktop grid rows. */
section.hero,
section.how {
  padding-block: 0;
}
.hero {
  min-height: 0;
}
.hero-visual img,
.how-photo img,
.collection > img {
  position: absolute;
  inset: 0;
}
.hero-definition {
  max-width: 610px;
  margin: 0 0 14px;
  font-family: "Instrument Serif", serif;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.2;
}
.hero-copy h1 {
  margin-bottom: 24px;
}

/* The product's unusual development process should be understood before the
   catalogue. The marks intentionally darken from transfer to settled ink. */
.development {
  border-bottom: 1px solid var(--measure);
}
.development-head > p {
  max-width: 430px;
  font-size: 18px;
  line-height: 1.65;
}
.development-stages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  border: 1px solid var(--ink);
  list-style: none;
}
.development-stages li {
  min-width: 0;
  padding: clamp(18px, 2.5vw, 34px);
  border-right: 1px solid var(--ink);
}
.development-stages li:last-child {
  border-right: 0;
}
.development-stages .meta {
  display: block;
  color: var(--blue-deep);
}
.development-stages strong {
  display: block;
  margin: 24px 0 8px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.25rem;
}
.development-stages p {
  margin: 0;
  color: var(--pencil);
}
.stage-mark {
  display: block;
  width: 100%;
  height: 8px;
  margin-bottom: 18px;
  background: var(--ink);
}
.stage-fresh { opacity: 0.12; }
.stage-developing { opacity: 0.42; }
.stage-settled { opacity: 0.92; }
.stage-worn { opacity: 0.58; background: repeating-linear-gradient(90deg, var(--ink) 0 10px, transparent 10px 14px); }

/* Catalogue cards work as one precise index, rather than an ornamental
   stagger. Every title, measurement, price and action shares a baseline. */
.catalogue-head {
  padding-block: clamp(36px, 4vw, 58px) clamp(28px, 3vw, 42px);
}
.catalogue-grid {
  align-items: stretch;
}
.catalogue-card,
.catalogue-card:nth-child(even) {
  display: flex;
  flex-direction: column;
  margin-top: 0;
}
.catalogue-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.catalogue-card .product-row {
  align-items: flex-start;
  flex: 1;
}
.catalogue-card-details {
  display: block;
  max-width: 22ch;
  color: var(--pencil);
  font-size: 13px;
  line-height: 1.45;
}
.catalogue-card .add {
  margin-top: 18px;
}
.catalogue-card-image img,
.product-img img {
  object-fit: cover;
}

/* A product sheet should feel like a specimen dossier, but stay compact
   enough for the purchase decision and the imagery to coexist. */
.product-sheet {
  min-height: 0;
  align-items: stretch;
}
.product-sheet-media {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 3.5vw, 52px);
}
.product-sheet-image {
  max-height: min(680px, calc(100svh - 190px));
  margin-inline: auto;
  width: min(100%, 620px);
}
.product-sheet-image img {
  object-fit: cover;
}
.product-sheet-summary {
  align-self: center;
  padding-block: clamp(44px, 6vw, 76px);
}
.product-sheet-summary .back {
  display: inline-block;
  margin-bottom: clamp(24px, 3vw, 42px);
}
.product-classification {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.product-classification span + span::before {
  content: "•";
  margin-right: 16px;
  color: var(--blue-deep);
}
.product-development {
  padding-block: var(--pad-sm);
  border-bottom: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}
.product-development h2 {
  margin: 14px 0 36px;
}
.product-development-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(250, 248, 241, 0.45);
}
.product-development-grid > div {
  padding: clamp(18px, 2.5vw, 30px);
  border-right: 1px solid rgba(250, 248, 241, 0.45);
}
.product-development-grid > div:last-child { border-right: 0; }
.product-development-grid .meta { color: var(--blue); }
.product-development-grid strong {
  display: block;
  margin: 28px 0 8px;
  font-size: 1.15rem;
}
.product-development-grid p { margin: 0; color: var(--measure); }

/* WooCommerce still uses floats internally. Clearing them and neutralising
   them inside our grids prevents checkout/footer wrapping on wide screens. */
.commerce-page,
.commerce-page .page-content,
.woocommerce,
.woocommerce-checkout {
  display: flow-root;
}
/* WooCommerce also places `woocommerce-checkout` on <body>; checkout layout
   rules must never turn the whole document into a two-column grid. */
body.woocommerce-checkout {
  display: block;
  width: 100%;
}

/* ---- Product-first catalogue -------------------------------------- */
.catalogue-layout {
  grid-template-columns: 210px minmax(0, 1fr);
  gap: clamp(32px, 4vw, 64px);
  padding-block: clamp(28px, 4vw, 54px) var(--pad);
}
.catalogue-sidebar {
  top: 96px;
  padding: 0 clamp(22px, 3vw, 36px) 0 0;
  border-right-color: var(--measure);
}
.catalogue-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}
.catalogue-sidebar-head strong {
  font: 700 13px "DM Mono";
  letter-spacing: .08em;
  text-transform: uppercase;
}
.catalogue-sidebar-head a,
.catalogue-applied .clear {
  color: var(--pencil);
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.catalogue-filter-group + .catalogue-filter-group { margin-top: 38px; }
.catalogue-filter-group h2 {
  margin-bottom: 12px;
  color: var(--pencil);
  font-size: 10px;
}
.catalogue-filters { gap: 0; }
.catalogue-filter {
  position: relative;
  display: grid;
  grid-template-columns: 16px 1fr auto;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 5px 0;
  border: 0;
  color: var(--ink);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 14px;
  font-weight: 450;
  letter-spacing: 0;
  text-transform: none;
}
.catalogue-filter i {
  width: 14px;
  height: 14px;
  border: 1px solid var(--pencil);
  border-radius: 50%;
}
.catalogue-filter:hover { background: transparent; color: var(--ink); }
.catalogue-filter.active {
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  font-weight: 700;
}
.catalogue-filter.active i {
  border: 4px solid var(--ink);
}
.catalogue-filter small {
  color: var(--pencil);
  font-family: "DM Mono";
  font-size: 10px;
}
.catalogue-tools {
  min-height: 46px;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--measure);
}
.catalogue-tools .woocommerce-result-count {
  color: var(--pencil);
  font: 500 11px "DM Mono";
  letter-spacing: .06em;
  text-transform: uppercase;
}
.catalogue-tools select {
  min-width: 180px;
  padding: 10px 32px 10px 12px;
  border-color: var(--measure);
  background-color: transparent;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
}
.catalogue-applied {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 16px;
}
.catalogue-applied > a:not(.clear) {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--bone);
  font-size: 12px;
}
.catalogue-applied .clear { margin-left: 4px; }
.catalogue-grid {
  gap: clamp(28px, 3vw, 44px) clamp(16px, 2vw, 28px);
  padding-top: 26px;
}
.catalogue-card-image {
  padding: 0;
  border: 0;
  background: var(--paper); /* same cream as the product page media area */
}
.catalogue-card-image img { object-fit: cover; mix-blend-mode: multiply; filter: saturate(.5) contrast(.97); }
.catalogue-card:hover .catalogue-card-image img { filter: saturate(.85); }
.catalogue-card .badge {
  top: 10px;
  left: 10px;
  padding: 5px 7px;
  background: var(--ink);
  color: var(--bone);
}
.catalogue-card-copy { padding: 13px 0 0; }
.catalogue-card-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.catalogue-card h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
}
.catalogue-card-title .price {
  flex: 0 0 auto;
  font-size: 14px;
}
.catalogue-card-details {
  max-width: none;
  margin-top: 5px;
  font-size: 12px;
}
.catalogue-quick-add {
  display: inline-block;
  align-self: flex-start;
  margin-top: 10px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
}
.catalogue-quick-add:hover { color: var(--ink); }

@media (max-width: 1024px) {
  .catalogue-layout { padding-top: 0; }
  .catalogue-sidebar {
    padding: 0;
    border-bottom-color: var(--measure);
  }
  .catalogue-sidebar summary { min-height: 58px; }
  .catalogue-sidebar-head { display: none; }
  .catalogue-sidebar[open] { padding-bottom: 24px; }
}
@media (max-width: 560px) {
  .catalogue-tools {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }
  .catalogue-tools select { min-width: 148px; max-width: 55vw; }
  .catalogue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 12px;
  }
  .catalogue-card-title { display: block; }
  .catalogue-card h2 { font-size: 14px; }
  .catalogue-card-title .price {
    display: block;
    margin-top: 4px;
    font-size: 13px;
  }
  .catalogue-card-details {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11px;
  }
  .catalogue-quick-add { font-size: 11px; }
}
.commerce-page .page-head {
  padding-block: clamp(40px, 5vw, 68px) clamp(30px, 4vw, 48px);
}
.commerce-page .page-content {
  padding-top: clamp(30px, 4vw, 52px);
}
form.woocommerce-checkout {
  display: grid;
  width: 100%;
  clear: both;
}
.woocommerce-checkout > .col2-set,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
  float: none;
  width: auto;
}
.woocommerce-checkout .col-1,
.woocommerce-checkout .col-2 {
  float: none;
  width: 100%;
}
.woocommerce-cart-form .actions::after {
  content: "";
  display: table;
  clear: both;
}
.cart-collaterals {
  padding-top: 0;
}
.cart_totals {
  width: min(580px, 100%);
}

@media (max-width: 900px) {
  .development-stages,
  .product-development-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .development-stages li:nth-child(2),
  .product-development-grid > div:nth-child(2) { border-right: 0; }
  .development-stages li:nth-child(-n + 2),
  .product-development-grid > div:nth-child(-n + 2) { border-bottom: 1px solid; }
  .product-sheet-image { max-height: none; }
}

@media (max-width: 560px) {
  .hero-definition { font-size: 1.18rem; }
  .development-stages { grid-template-columns: 1fr; }
  .development-stages li {
    display: grid;
    grid-template-columns: 72px 1fr;
    column-gap: 16px;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }
  .development-stages li:last-child { border-bottom: 0; }
  .development-stages .stage-mark { grid-column: 1; grid-row: 1 / span 3; width: 8px; height: 100%; }
  .development-stages .meta,
  .development-stages strong,
  .development-stages p { grid-column: 2; }
  .development-stages strong { margin: 10px 0 5px; }
  .catalogue-grid { gap: 30px 14px; }
  .catalogue-card-image { padding: 0; }
  .catalogue-card .product-row { display: block; }
  .catalogue-card .price { display: block; margin-top: 4px; }
  .product-development-grid { grid-template-columns: 1fr; }
  .product-development-grid > div {
    border-right: 0;
    border-bottom: 1px solid rgba(250, 248, 241, 0.45);
  }
  .product-development-grid > div:last-child { border-bottom: 0; }
  .product-development-grid strong { margin-top: 12px; }
  .woocommerce-cart-form table,
  .woocommerce-cart-form tbody,
  .woocommerce-cart-form tr,
  .woocommerce-cart-form td { display: block; width: 100%; }
  .woocommerce-cart-form thead { display: none; }
  .woocommerce-cart-form td { padding-inline: 0; }
  .woocommerce-cart-form .product-remove { text-align: right; }
  .woocommerce-cart-form .product-name { font-size: 1.2rem; font-weight: 700; }
  .woocommerce-cart-form .product-thumbnail {
    display: block;
    padding-bottom: 18px;
  }
  .woocommerce-cart-form .product-thumbnail img {
    width: 96px;
    height: 120px;
  }
  .woocommerce-cart-form .coupon { display: grid; grid-template-columns: 1fr auto; }
  .woocommerce-cart-form .coupon input,
  .woocommerce-cart-form .coupon button { width: auto; }
  .commerce-page .page-head { padding-top: 38px; }
  footer { padding-top: 46px; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 38px 24px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .legal { margin-top: 38px; }
}

/* ---- Catalogue visual/UX refinement ------------------------------- */
.post-type-archive-product .announcement,
.tax-product_cat .announcement {
  background: var(--ink);
  color: var(--bone);
}
.catalogue-layout {
  grid-template-columns: 196px minmax(0, 1fr);
  gap: clamp(28px, 3vw, 42px);
  padding-top: 28px;
}
.catalogue-sidebar {
  position: relative;
  top: auto;
  align-self: start;
  max-height: none;
  overflow: visible;
  padding-right: 20px;
  border-right: 1px solid var(--measure);
}
.catalogue-sidebar-head {
  min-height: 42px;
  margin: 0;
  border-bottom: 1px solid var(--ink);
}
.catalogue-filter-close,
.catalogue-filter-toggle { display: none; }
.catalogue-filter-group {
  margin: 0 !important;
  border-bottom: 1px solid var(--measure);
}
.catalogue-filter-group > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  color: var(--ink);
  font: 600 12px "DM Sans";
  cursor: pointer;
  list-style: none;
}
.catalogue-filter-group > summary::-webkit-details-marker { display: none; }
.catalogue-filter-group > summary::after {
  content: "+";
  margin-left: auto;
  color: var(--pencil);
  font-size: 16px;
  font-weight: 400;
}
.catalogue-filter-group[open] > summary::after { content: "−"; }
.catalogue-filter-group > summary small {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bone);
  font: 500 9px "DM Mono";
}
.catalogue-filter-panel { padding: 0 0 10px; }
.catalogue-filter-options { display: grid; gap: 1px; }
.catalogue-filter-option {
  min-height: 30px;
  font-size: 12px;
}
.catalogue-filter-option small { font-size: 10px; }
.catalogue-filter-option input { accent-color: var(--ink); }
.catalogue-price-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.catalogue-price-fields label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--pencil);
  font: 500 9px "DM Mono";
  letter-spacing: .05em;
  text-transform: uppercase;
}
.catalogue-price-input {
  display: flex;
  align-items: center;
  min-width: 0;
  height: 38px;
  padding-left: 7px;
  border: 1px solid var(--measure);
  background: transparent;
}
.catalogue-price-input b {
  color: var(--pencil);
  font: 500 9px "DM Mono";
}
.catalogue-price-filter .catalogue-price-input input {
  min-width: 0;
  width: 100%;
  height: 36px;
  margin: 0;
  padding: 0 5px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: 600 11px "DM Sans";
  appearance: textfield;
}
.catalogue-price-filter .catalogue-price-input input::-webkit-inner-spin-button,
.catalogue-price-filter .catalogue-price-input input::-webkit-outer-spin-button { margin: 0; appearance: none; }
.catalogue-price-input:focus-within { border-color: var(--ink); outline: 1px solid var(--ink); }
.catalogue-price-help,
.catalogue-price-error {
  margin: 8px 0 0;
  color: var(--pencil);
  font: 400 9px/1.45 "DM Sans";
}
.catalogue-price-error { color: #8b312b; }
.catalogue-price-filter.has-error .catalogue-price-input { border-color: #8b312b; }
.catalogue-price-error[hidden] { display: none; }
.catalogue-price-filter > .catalogue-filter-panel {
  display: block;
  padding-top: 10px;
}
.catalogue-filter-actions {
  display: none;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
}
.catalogue-filter-actions > a {
  color: var(--pencil);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.catalogue-filter-actions .catalogue-apply {
  flex: 1;
  min-height: 42px;
  margin: 0;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bone);
  font-size: 12px;
  font-weight: 700;
}
.catalogue-tools {
  display: grid;
  grid-template-columns: auto minmax(220px, 360px) auto;
  align-items: center;
  gap: 16px;
  min-height: 52px;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--measure);
}
.catalogue-tools-main {
  display: contents;
}
.catalogue-tools-main .woocommerce-result-count { grid-column: 1; white-space: nowrap; }
.catalogue-tools-main .woocommerce-ordering,
.catalogue-sort { grid-column: 3; margin-left: 0; }
.catalogue-tools select {
  min-width: 168px;
  min-height: 42px;
  padding: 0 38px 0 13px;
  border: 1px solid var(--measure);
  border-radius: 0;
  appearance: none;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.25 6 6.25 11 1.25' fill='none' stroke='%2316191d' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 10px auto;
  box-shadow: none;
  color: var(--ink);
  font: 650 12px "DM Sans";
}
.woocommerce .catalogue-tools .woocommerce-ordering select {
  height: 42px;
  min-height: 42px;
  padding: 0 38px 0 13px;
  border: 1px solid var(--measure);
  background-color: transparent;
}
.catalogue-sort {
  position: relative;
  min-width: 168px;
  padding: 0;
  border: 0;
  background: transparent;
}
.catalogue-sort:last-child { border-bottom: 0; }
.catalogue-sort > summary {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid var(--measure);
  color: var(--ink) !important;
  font: 650 12px "DM Sans";
  cursor: pointer;
  list-style: none;
}
.catalogue-sort > summary::-webkit-details-marker { display: none; }
.catalogue-sort > summary::after {
  content: "" !important;
  width: 7px;
  height: 7px;
  margin: -4px 1px 0 auto;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(45deg);
  transition: transform .15s ease, margin .15s ease;
}
.catalogue-sort[open] > summary::after {
  content: "" !important;
  margin-top: 4px;
  transform: rotate(225deg);
}
.draftedskin-expressive .catalogue-sort[open] > summary,
.draftedskin-expressive .catalogue-sort > summary::after {
  color: var(--ink) !important;
  border-color: var(--ink) !important;
}
.catalogue-sort-options {
  position: absolute;
  z-index: 45;
  top: 48px;
  right: 0;
  width: max(100%, 190px);
  padding: 5px;
  border: 1px solid var(--measure);
  background: var(--bone);
  box-shadow: 0 14px 34px rgba(22, 25, 29, .13);
}
.catalogue-sort-option {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 10px;
  color: var(--ink);
  font: 500 12px "DM Sans";
  text-decoration: none;
}
.catalogue-sort-option:hover,
.catalogue-sort-option:focus-visible { background: rgba(22, 25, 29, .06); }
.catalogue-sort-option[aria-current="true"] { font-weight: 750; }
.catalogue-sort-option[aria-current="true"]::after {
  content: "✓";
  margin-left: auto;
  font-size: 11px;
}
.catalogue-search {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  margin: 0;
  border: 1px solid var(--measure);
}
.catalogue-search input { min-height: 42px; padding-inline: 12px; }
.catalogue-search button { min-width: 44px; font-size: 18px; }
.catalogue-applied { padding-top: 12px; }
.catalogue-grid { padding-top: 20px; }
.catalogue-card { min-width: 0; }
.catalogue-card-image { isolation: isolate; }
.catalogue-card-image img {
  transition: opacity .25s ease, transform .35s ease;
}
.catalogue-card-image .catalogue-card-alt {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: cover;
}
.catalogue-card:hover .catalogue-card-alt,
.catalogue-card:focus-within .catalogue-card-alt { opacity: 1; }
.catalogue-card:hover .catalogue-card-image img:first-child { transform: scale(1.015); }
.catalogue-card:has(.catalogue-card-alt):hover .catalogue-card-image img:first-child { opacity: 0; }
.catalogue-card-copy {
  display: grid;
  grid-template-rows: auto minmax(20px, auto) auto;
  align-content: start;
  padding-top: 14px;
}
.catalogue-card h2 { font-size: 17px; }
.catalogue-card-title .price { font-size: 14px; }
.catalogue-card-details {
  margin-top: 6px;
  color: #666761;
  font-size: 13px;
}
.catalogue-quick-add {
  display: grid;
  align-self: auto;
  place-items: center;
  min-height: 42px;
  width: 100%;
  margin-top: 13px;
  border: 1px solid var(--ink);
  font-size: 12px;
  text-decoration: none;
}
.catalogue-quick-add:hover,
.catalogue-quick-add:focus-visible {
  background: var(--ink);
  color: var(--bone);
}
.catalogue-filter-backdrop[hidden] { display: none; }
.catalogue-sidebar :focus-visible,
.catalogue-tools :focus-visible,
.catalogue-card :focus-visible { outline-color: var(--ink); }

@media (max-width: 1024px) {
  body.catalogue-filter-lock { overflow: hidden; }
  .catalogue-layout { display: block; padding-top: 0; }
  .catalogue-filter-backdrop {
    position: fixed;
    inset: 0;
    z-index: 140;
    background: rgba(22, 25, 29, .46);
  }
  .catalogue-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 150;
    display: flex;
    flex-direction: column;
    width: min(92vw, 400px);
    max-height: none;
    padding: 0;
    border: 0;
    background: var(--paper);
    box-shadow: 16px 0 44px rgba(22, 25, 29, .18);
    transform: translateX(-105%);
    transition: transform .25s ease;
  }
  .catalogue-sidebar.is-open { transform: translateX(0); }
  .catalogue-sidebar:not([open]) > :not(summary) { display: flex; }
  .catalogue-sidebar:not([open]) > .catalogue-filter-form { display: block; }
  .catalogue-sidebar-head {
    flex: 0 0 64px;
    padding: 0 18px;
    background: var(--paper);
  }
  .catalogue-sidebar-head > a { display: none; }
  .catalogue-filter-close {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 24px;
  }
  .catalogue-filter-form {
    flex: 1;
    overflow-y: auto;
    padding: 0 18px 0;
  }
  .catalogue-filter-group > summary { min-height: 48px; }
  .catalogue-filter-option { min-height: 34px; font-size: 13px; }
  .catalogue-filter-actions {
    display: flex;
    position: sticky;
    bottom: 0;
    z-index: 2;
    margin: 20px -18px 0;
    padding: 12px 18px max(12px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--measure);
    background: var(--paper);
  }
  .catalogue-filter-actions > a {
    display: grid;
    place-items: center;
    min-width: 72px;
    min-height: 44px;
  }
  .catalogue-filter-actions .catalogue-apply { min-height: 46px; }
  .catalogue-filter-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 84px;
    height: 42px;
    margin-left: auto;
    border: 1px solid var(--measure);
    background: transparent;
    color: var(--ink);
    font-size: 12px;
    font-weight: 650;
    text-transform: uppercase;
  }
  .catalogue-filter-toggle span {
    display: grid;
    place-items: center;
    min-width: 18px;
    height: 18px;
    margin-left: 6px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--bone);
    font: 500 9px "DM Mono";
  }
  .catalogue-tools {
    display: block;
    min-height: 0;
  }
  .catalogue-tools-main {
    display: flex;
    align-items: center;
  }
  .catalogue-tools-main .woocommerce-ordering,
  .catalogue-sort { margin-left: 8px; }
  .catalogue-search { min-width: 100%; margin-top: 9px; }
}

@media (max-width: 700px) {
  .post-type-archive-product .announcement,
  .tax-product_cat .announcement { font-size: 9px; }
  .catalogue-tools {
    position: sticky;
    top: 64px;
    z-index: 20;
    padding: 8px 0 11px;
    background: var(--paper);
  }
  .catalogue-tools-main { min-height: 40px; }
  .catalogue-tools-main .woocommerce-result-count {
    order: initial;
    font-size: 10px;
  }
  .catalogue-tools-main .woocommerce-ordering,
  .catalogue-sort { order: initial; }
  .catalogue-tools select {
    width: 116px;
    min-width: 116px;
    max-width: 116px;
    height: 42px;
    min-height: 42px;
    padding: 0 31px 0 11px;
    background-position: right 11px center;
    font-size: 12px;
  }
  .catalogue-search { order: initial; margin-top: 7px; }
  .catalogue-search { height: 42px; min-height: 42px; }
  .catalogue-search input { height: 40px; min-height: 40px; }
  .woocommerce .catalogue-tools .woocommerce-ordering select {
    width: 116px;
    min-width: 116px;
    max-width: 116px;
    height: 42px;
    min-height: 42px;
    padding: 0 31px 0 11px;
    border-color: var(--measure);
    background-color: transparent;
  }
  .catalogue-sort { width: 116px; min-width: 116px; }
  .catalogue-sort > summary { height: 42px; min-height: 42px; padding-inline: 11px; }
  .catalogue-sort-options { top: 48px; }
  .catalogue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 12px;
  }
  .catalogue-card-copy {
    grid-template-rows: minmax(54px, auto) minmax(20px, auto) auto;
    padding-top: 10px;
  }
  .catalogue-card-title { display: block; }
  .catalogue-card h2 {
    min-height: 36px;
    font-size: 14px;
    line-height: 1.28;
  }
  .catalogue-card-title .price {
    margin-top: 4px;
    font-size: 13px;
  }
  .catalogue-card-details {
    margin-top: 5px;
    font-size: 11px;
  }
  .catalogue-quick-add {
    min-height: 40px;
    margin-top: 10px;
    font-size: 11px;
  }
}

/* ---- Focused checkout ------------------------------------------------ */
body.woocommerce-checkout { background: var(--paper); }
body.woocommerce-checkout .logo span { color: var(--ink) !important; }
body.woocommerce-checkout .logo i { background-color: var(--ink) !important; }
.checkout-header {
  position: static;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.checkout-nav {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
}
.checkout-nav .logo { position: static; transform: none; }
.checkout-back,
.checkout-secure { color: var(--pencil); font-size: 13px; }
.checkout-secure { justify-self: end; }
.checkout-page-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-block: 34px 24px !important;
}
.checkout-page-head h1 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1;
  text-transform: none;
}
.checkout-page-head p { margin: 0; color: var(--pencil); font-size: 13px; }
body.woocommerce-checkout .page-content { padding-top: 28px; }
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-message {
  padding: 12px 0;
  border: 0;
  background: transparent;
  color: var(--pencil);
  font-size: 13px;
}
body.woocommerce-checkout .woocommerce-message { display: none; }
body.woocommerce-checkout #billing_country_field,
body.woocommerce-checkout .woocommerce-additional-fields { display: none; }
body.woocommerce-checkout .woocommerce-form-coupon {
  max-width: 520px;
  margin: 0 0 22px;
  padding: 18px;
  border: 1px solid var(--line);
  background: transparent;
}
body.woocommerce-checkout form.woocommerce-checkout {
  grid-template-columns: minmax(0, 1fr) minmax(350px, .72fr);
  gap: clamp(40px, 6vw, 84px);
}
.checkout-customer-column { grid-column: 1; min-width: 0; }
.checkout-order-column {
  grid-column: 2;
  min-width: 0;
  align-self: start;
}
body.woocommerce-checkout .checkout-order-column #order_review_heading,
body.woocommerce-checkout .checkout-order-column #order_review {
  grid-column: auto;
  grid-row: auto;
  width: 100%;
}
body.woocommerce-checkout .woocommerce-billing-fields h3,
body.woocommerce-checkout #order_review_heading {
  margin: 0 0 24px;
  font-size: 1.35rem;
}
body.woocommerce-checkout .woocommerce .form-row { margin-bottom: 18px; }
body.woocommerce-checkout .woocommerce .form-row label {
  margin-bottom: 7px;
  color: var(--ink);
  font: 600 13px "DM Sans", sans-serif;
  letter-spacing: 0;
  text-transform: none;
}
body.woocommerce-checkout .woocommerce .form-row input,
body.woocommerce-checkout .woocommerce .form-row select {
  min-height: 50px;
  border-color: var(--line);
  background: #fff;
}
body.woocommerce-checkout .woocommerce .form-row input:focus,
body.woocommerce-checkout .woocommerce .form-row select:focus {
  border-color: var(--ink);
  outline: 1px solid var(--ink);
  outline-offset: 0;
}
body.woocommerce-checkout .woocommerce .form-row .description {
  display: block;
  margin-top: 7px;
  color: var(--pencil);
  font-size: 12px;
  line-height: 1.45;
}
/* WooCommerce enhances Province with SelectWoo. Match its visual shell to
   the native inputs without compromising keyboard/type-to-select behavior. */
body.woocommerce-checkout .select2-container { width: 100% !important; }
body.woocommerce-checkout .select2-container .select2-selection--single {
  display: flex;
  align-items: center;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
}
body.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered {
  width: 100%;
  padding: 0 44px 0 13px;
  color: var(--ink);
  line-height: 48px;
}
body.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__placeholder { color: var(--pencil); }
body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 0;
  right: 10px;
  width: 28px;
  height: 48px;
}
body.woocommerce-checkout .select2-container--open .select2-selection--single,
body.woocommerce-checkout .select2-container--focus .select2-selection--single {
  border-color: var(--ink);
  outline: 1px solid var(--ink);
}
body.woocommerce-checkout .select2-dropdown {
  border: 1px solid var(--ink);
  border-radius: 0;
  background: #fff;
  box-shadow: 0 12px 30px rgba(22, 25, 29, .12);
}
body.woocommerce-checkout .select2-search--dropdown { padding: 9px; }
body.woocommerce-checkout .select2-search--dropdown .select2-search__field {
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--line);
}
body.woocommerce-checkout .select2-results__option { min-height: 42px; padding: 10px 13px; }
body.woocommerce-checkout .select2-container--default .select2-results__option--highlighted[aria-selected],
body.woocommerce-checkout .select2-container--default .select2-results__option--highlighted[data-selected] {
  background: var(--ink);
  color: #fff;
}
/* Error recovery: calm summary, precise field treatment, no accent banner. */
body.woocommerce-checkout .woocommerce-NoticeGroup-checkout {
  grid-column: auto;
  margin: 0 0 2px;
}
.checkout-error-mount:empty { display: none; }
body.woocommerce-checkout .woocommerce-NoticeGroup-checkout .woocommerce-error {
  position: relative;
  margin: 0 0 24px;
  padding: 42px 18px 15px;
  border: 1px solid #9a3f38;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.5;
}
body.woocommerce-checkout .woocommerce-NoticeGroup-checkout .woocommerce-error::before {
  content: "Please check the highlighted fields";
  position: absolute;
  top: 14px;
  left: 18px;
  color: var(--ink);
  font-weight: 700;
}
body.woocommerce-checkout .woocommerce-NoticeGroup-checkout .woocommerce-error li { margin: 4px 0 4px 17px; }
body.woocommerce-checkout .woocommerce-NoticeGroup-checkout .woocommerce-error a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
body.woocommerce-checkout .form-row.checkout-field-error input,
body.woocommerce-checkout .form-row.checkout-field-error select,
body.woocommerce-checkout .form-row.checkout-field-error .select2-selection--single {
  border-color: #9a3f38 !important;
  outline: 1px solid #9a3f38 !important;
}
.checkout-inline-error {
  display: block;
  margin-top: 7px;
  color: #8b2f29;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}
body.woocommerce-checkout .blockUI.blockOverlay { background: rgba(250, 248, 241, .7) !important; }
body.woocommerce-checkout #order_review {
  position: static;
  margin-top: 0;
  padding: 24px;
  border-color: var(--line);
  background: #fff;
}
body.woocommerce-checkout .checkout-order-column {
  position: sticky;
  top: 24px;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table td {
  border-color: var(--line);
}
.checkout-product-line { display: flex; gap: 12px; align-items: center; }
.checkout-product-image { flex: 0 0 54px; width: 54px; height: 64px; object-fit: cover; }
body.woocommerce-checkout .wc_payment_methods {
  margin: 20px 0;
  padding: 0;
  list-style: none;
}
body.woocommerce-checkout .payment_box { color: var(--pencil); font-size: 14px; }
body.woocommerce-checkout .woocommerce-privacy-policy-text { color: var(--pencil); font-size: 12px; line-height: 1.55; }
body.woocommerce-checkout #place_order {
  width: 100%;
  min-height: 54px;
  margin-top: 14px;
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}
body.woocommerce-checkout #place_order::after { content: ""; }
.checkout-mobile-summary { display: none; }
body.woocommerce-checkout footer { border-top-color: var(--line); }

/* ---- Cart: product review and a clear path to checkout --------------- */
body.woocommerce-cart .commerce-page .page-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-block: 34px 24px;
}
body.woocommerce-cart .page-head .eyebrow { display: none; }
body.woocommerce-cart .page-head h1 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1;
  text-transform: none;
}
body.woocommerce-cart .page-content { padding-top: 28px; }
body.woocommerce-cart .woocommerce-message { display: none; }
.drafted-cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(340px, .7fr);
  gap: clamp(38px, 6vw, 82px);
  align-items: start;
}
.drafted-cart-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ink);
}
.drafted-cart-heading h2 { margin: 0; font-size: 1.35rem; }
.drafted-cart-heading h2 span {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  min-height: 24px;
  margin-left: 5px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 12px;
}
.drafted-cart-heading > a { color: var(--pencil); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.drafted-cart-item {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) auto;
  gap: 22px;
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
}
.drafted-cart-image { aspect-ratio: 4 / 5; background: var(--bone); }
.drafted-cart-image a,
.drafted-cart-image img { width: 100%; height: 100%; }
.drafted-cart-image img { object-fit: cover; }
.drafted-cart-copy { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.drafted-cart-copy h3 { margin: 0 0 7px; font-size: 1.15rem; line-height: 1.25; }
.drafted-cart-copy .variation { margin: 0; color: var(--pencil); font-size: 13px; }
.drafted-cart-unit-price { margin: 0; color: var(--pencil); font-size: 13px; }
.drafted-cart-remove { width: fit-content; color: var(--pencil) !important; font-size: 12px !important; text-decoration: underline; text-underline-offset: 3px; }
.drafted-cart-controls { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; min-width: 130px; }
.drafted-cart-quantity > span,
.drafted-cart-line-total > span {
  display: block;
  margin-bottom: 7px;
  color: var(--pencil);
  font: 500 10px "DM Mono";
  letter-spacing: .06em;
  text-transform: uppercase;
}
.quantity-stepper { display: grid; grid-template-columns: 38px 44px 38px; border: 1px solid var(--line); }
.quantity-stepper button,
.quantity-stepper input.qty {
  width: 100%;
  height: 42px;
  padding: 0;
  border: 0;
  background: #fff;
  text-align: center;
}
.quantity-stepper button { font-size: 17px; }
.quantity-stepper input.qty { border-inline: 1px solid var(--line); appearance: textfield; }
.quantity-stepper input.qty::-webkit-inner-spin-button { appearance: none; }
.drafted-cart-line-total { text-align: right; }
.drafted-cart-line-total strong { font-size: 1rem; }
.drafted-cart-actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
}
.drafted-cart-coupon { flex: 1; max-width: 360px; padding: 0; border: 0; }
.drafted-cart-coupon:last-child { border: 0; }
.drafted-cart-coupon summary { min-height: 44px; align-items: center; color: var(--pencil); font-size: 13px; font-weight: 500; }
.drafted-cart-coupon summary::after { color: var(--ink) !important; font-size: 18px; }
.drafted-cart-coupon .coupon { display: grid; grid-template-columns: 1fr auto; margin-top: 10px; }
.drafted-cart-coupon .coupon input { min-width: 0; border-color: var(--line); background: #fff; }
.drafted-cart-coupon .coupon button { min-width: 84px; }
.drafted-update-cart { min-width: 120px; background: transparent !important; color: var(--ink) !important; border-color: var(--line) !important; font-size: 12px; }
.drafted-update-cart:disabled { display: none; }
.drafted-cart-summary { display: block; margin: 0; padding: 0; }
.drafted-cart-summary .cart_totals {
  position: sticky;
  top: 24px;
  width: 100%;
  padding: clamp(22px, 2.5vw, 30px);
  border: 1px solid var(--line);
  background: #fff;
}
.drafted-cart-summary .cart_totals h2 { margin: 0 0 22px; font-size: 1.35rem; }
.cart-delivery-progress { margin-bottom: 19px; padding-bottom: 19px; border-bottom: 1px solid var(--line); }
.cart-delivery-progress p { margin: 0 0 10px; color: var(--pencil); font-size: 13px; }
.cart-delivery-progress > div { height: 4px; overflow: hidden; background: var(--concrete); }
.cart-delivery-progress > div span { display: block; height: 100%; background: var(--ink); }
.drafted-cart-summary .cart_totals table { margin: 0; }
.drafted-cart-summary .cart_totals th,
.drafted-cart-summary .cart_totals td { padding: 13px 0; border-color: var(--line); font-size: 14px; }
.drafted-cart-summary .cart_totals td { text-align: right; }
.drafted-cart-summary .order-total th,
.drafted-cart-summary .order-total td { padding-top: 17px; font-size: 1rem; }
.drafted-cart-summary .wc-proceed-to-checkout a {
  display: block;
  min-height: 54px;
  margin-top: 22px;
  padding: 15px 18px;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}
.cart-cod-note { display: grid; gap: 3px; margin: 18px 0 0; padding-top: 17px; border-top: 1px solid var(--line); font-size: 13px; }
.cart-cod-note span { color: var(--pencil); }
body.woocommerce-cart .cross-sells { margin-top: var(--pad-sm); }

/* Product add confirmation: non-blocking toast, never a layout banner. */
body.single-product .woocommerce-notices-wrapper {
  position: fixed;
  z-index: 85;
  top: calc(var(--announce-h) + var(--header-h) + 16px);
  right: clamp(18px, 3vw, 42px);
  width: min(390px, calc(100vw - 36px));
  margin: 0;
  pointer-events: none;
}
body.single-product .woocommerce-notices-wrapper .woocommerce-message {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  min-height: 68px;
  padding: 12px 12px 12px 17px;
  border: 1px solid var(--ink);
  background: #fff;
  box-shadow: 0 12px 34px rgba(22, 25, 29, .15);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.4;
  pointer-events: auto;
  animation: product-cart-toast-in .22s ease-out both;
}
body.single-product .woocommerce-notices-wrapper .woocommerce-message::before {
  content: "✓";
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
body.single-product .woocommerce-notices-wrapper .woocommerce-message .button {
  grid-column: 2;
  grid-row: 1;
  min-height: 40px;
  padding: 10px 13px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.product-cart-toast-close {
  grid-column: 3;
  grid-row: 1;
  display: grid;
  place-items: center;
  width: 30px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--pencil);
  font-size: 22px;
}
body.single-product .woocommerce-notices-wrapper .woocommerce-message.is-leaving {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease;
}
@keyframes product-cart-toast-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .drafted-cart-layout { grid-template-columns: 1fr; gap: 32px; }
  .drafted-cart-summary .cart_totals { position: static; }
}

@media (max-width: 560px) {
  body.woocommerce-cart .commerce-page .page-head { padding-block: 26px 18px; }
  body.woocommerce-cart .page-head h1 { font-size: 2rem; }
  body.woocommerce-cart .page-content { padding-top: 18px; }
  .drafted-cart-heading { padding-bottom: 14px; }
  .drafted-cart-heading h2 { font-size: 1.2rem; }
  .drafted-cart-heading > a { font-size: 12px; }
  .drafted-cart-item {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 16px;
    padding-block: 20px;
  }
  .drafted-cart-copy h3 { font-size: 1rem; }
  .drafted-cart-controls {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    align-items: end;
    padding-top: 2px;
  }
  .drafted-cart-line-total { align-self: center; }
  .drafted-cart-actions { display: block; }
  .drafted-cart-coupon { max-width: none; }
  .drafted-update-cart { width: 100%; margin-top: 10px; }
  .drafted-cart-summary .cart_totals { padding: 20px 18px; }
  .drafted-cart-summary .wc-proceed-to-checkout a { position: static; }
  body.single-product .woocommerce-notices-wrapper {
    top: calc(var(--announce-h) + var(--header-h) + 10px);
    right: 12px;
    width: calc(100vw - 24px);
  }
  body.single-product .woocommerce-notices-wrapper .woocommerce-message {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    min-height: 60px;
    padding: 10px 10px 10px 14px;
    font-size: 13px;
  }
  body.single-product .woocommerce-notices-wrapper .woocommerce-message .button {
    grid-column: 2;
    min-height: 38px;
    padding-inline: 12px;
  }
  .product-cart-toast-close {
    position: absolute;
    top: -10px;
    right: -8px;
    width: 28px;
    height: 28px;
    border: 1px solid var(--ink);
    border-radius: 50%;
    background: #fff;
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.single-product .woocommerce-notices-wrapper .woocommerce-message { animation: none; }
}

@media (max-width: 900px) {
  body.woocommerce-checkout form.woocommerce-checkout { grid-template-columns: 1fr; gap: 0; }
  body.woocommerce-checkout #order_review { position: static; margin-top: 0; }
  .checkout-customer-column,
  .checkout-order-column { grid-column: 1; }
  body.woocommerce-checkout .checkout-order-column { position: static; margin-top: 30px; }
}

@media (max-width: 560px) {
  .checkout-nav { grid-template-columns: 1fr auto; min-height: 64px; }
  .checkout-nav .logo { justify-self: start; }
  .checkout-back { grid-column: 2; grid-row: 1; font-size: 12px; }
  .checkout-back span { display: none; }
  .checkout-secure { display: none; }
  .checkout-page-head { display: block; padding-block: 26px 18px !important; }
  .checkout-page-head h1 { font-size: 2rem; }
  .checkout-page-head p { margin-top: 8px; }
  body.woocommerce-checkout .page-content { padding-top: 18px; }
  .checkout-mobile-summary {
    display: block;
    margin-bottom: 26px;
    padding: 0;
    border-block: 1px solid var(--line);
  }
  .checkout-mobile-summary summary {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 15px;
    align-items: center;
    min-height: 58px;
    cursor: pointer;
    list-style: none;
    font-size: 14px;
  }
  .checkout-mobile-summary summary::-webkit-details-marker { display: none; }
  .checkout-mobile-summary summary::after { content: "+"; color: var(--ink) !important; font: 500 16px "DM Sans"; }
  .checkout-mobile-summary[open] summary::after { content: "−"; }
  .checkout-mobile-summary > div { padding: 0 0 14px; }
  .checkout-mobile-summary p { display: flex; justify-content: space-between; gap: 15px; margin: 8px 0; color: var(--pencil); font-size: 12px; }
  body.woocommerce-checkout .woocommerce-info { margin: 0 0 12px; padding: 0; }
  body.woocommerce-checkout .woocommerce-billing-fields h3 { font-size: 1.25rem; }
  body.woocommerce-checkout #order_review_heading { margin-top: 30px; }
  body.woocommerce-checkout #order_review { margin-inline: -1px; padding: 18px; }
  body.woocommerce-checkout .woocommerce .form-row input,
  body.woocommerce-checkout .woocommerce .form-row select { min-height: 52px; font-size: 16px; }
  body.woocommerce-checkout footer { display: none; }
}

/* ---- Reversible editorial Urdu hero -------------------------------- */
.draftedskin-editorial-hero .hero.hero-editorial .hero-copy {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #f5eee4;
  background-image: none;
}
.hero-editorial .hero-copy > div,
.hero-editorial .hero-actions { position: relative; z-index: 2; }
.hero-urdu {
  position: absolute;
  z-index: 0;
  top: 17%;
  right: -1.5%;
  width: 95%;
  margin: 0;
  color: var(--ink);
  font-family: "Gulzar", "Noto Nastaliq Urdu", serif;
  font-size: clamp(5.5rem, 10vw, 10rem);
  font-weight: 400;
  line-height: 1.35;
  text-align: right;
  opacity: .055;
  pointer-events: none;
  user-select: none;
}
.hero-accent-block {
  position: absolute;
  z-index: 3;
  top: clamp(24px, 3vw, 42px);
  right: clamp(20px, 3vw, 42px);
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  background: var(--expression, var(--blue));
  color: var(--accent-contrast, var(--ink));
  font: 500 10px/1.35 "DM Mono";
  letter-spacing: .08em;
  text-align: center;
}
.hero-editorial .hero-copy .eyebrow { max-width: calc(100% - 80px); }
.hero-editorial .hero-definition { max-width: 520px; }
.hero-editorial .hero-copy .lede { max-width: 510px; margin-bottom: 0; }
.hero-editorial .hero-visual img { object-position: center 52%; }
.hero-editorial .hero-visual::after { background: linear-gradient(to top, rgba(12, 14, 16, .48), transparent 34%); }
.hero-image-caption {
  position: absolute;
  z-index: 2;
  right: clamp(18px, 3vw, 32px);
  bottom: clamp(18px, 3vw, 28px);
  left: clamp(18px, 3vw, 32px);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .8);
  color: #fff;
  font: 500 10px "DM Mono";
  letter-spacing: .06em;
  text-transform: uppercase;
}

@media (max-width: 899px) {
  .draftedskin-editorial-hero .hero.hero-editorial .hero-copy {
    gap: 24px;
    padding-block: 30px 32px;
  }
  .hero-editorial .hero-copy h1 {
    margin-bottom: 18px;
    font-size: clamp(2.75rem, 13.5vw, 4.1rem);
  }
  .hero-editorial .hero-definition { margin-bottom: 12px; }
  .hero-editorial .hero-copy .lede { font-size: 16px; line-height: 1.5; }
  .hero-editorial .hero-visual { height: 340px; }
  .hero-urdu {
    top: 20%;
    right: -8%;
    width: 110%;
    font-size: clamp(4.8rem, 24vw, 7rem);
    opacity: .05;
  }
  .hero-accent-block { top: 26px; right: 18px; width: 50px; height: 50px; font-size: 9px; }
}

@media (max-width: 560px) {
  .draftedskin-editorial-hero .hero.hero-editorial .hero-copy { padding-inline: 18px; }
  .hero-editorial .hero-actions { gap: 9px; }
  .hero-editorial .hero-actions .btn { min-height: 48px; padding-block: 12px; }
  .hero-editorial .hero-visual { height: 320px; }
  .hero-image-caption { align-items: end; font-size: 9px; }
  .hero-image-caption span:last-child { text-align: right; }
}

/* Persistent WhatsApp chat button — fixed bottom-right on every page.
   Rendered only when a number is set in the Customizer. */
.drop-wa {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 14px rgba(20, 27, 46, .22);
  transition: transform .18s ease, background .18s ease;
}
.drop-wa:hover { background: #1da851; transform: translateY(-2px); }
.drop-wa svg { width: 30px; height: 30px; }
@media (max-width: 700px) {
  .drop-wa { width: 52px; height: 52px; right: 14px; }
  .drop-wa svg { width: 27px; height: 27px; }
}

/* Mood landing pages — product grid rendered by [draftedskin_mood_products]. */
.ds-mood-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; margin-block: 30px; }
.ds-mood-card { min-width: 0; }
.ds-mood-card-img { display: block; aspect-ratio: 1 / 1.05; overflow: hidden; background: rgba(20, 27, 46, .04); }
.ds-mood-card-img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; filter: saturate(.5) contrast(.97); transition: transform .45s ease, filter .45s ease; }
.ds-mood-card:hover .ds-mood-card-img img { transform: scale(1.03); filter: saturate(.85); }
.ds-mood-card h3 { margin: 12px 0 0; font: 700 15px "Bricolage Grotesque", sans-serif; letter-spacing: -.01em; text-transform: uppercase; }
.ds-mood-card h3 a { color: inherit; }
.ds-mood-card h3 a:hover { color: #087e78; }
.ds-mood-price { margin: 4px 0 0; font: 500 12px "DM Sans", sans-serif; }
.ds-mood-add { display: inline-block; margin-top: 8px; padding-bottom: 2px; border-bottom: 1px solid #141b2e; color: #141b2e; font: 700 11px "DM Sans", sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.ds-mood-add:hover { color: #087e78; border-color: #087e78; }
.ds-mood-empty { font: italic 400 18px/1.5 "Instrument Serif", serif; color: rgba(20, 27, 46, .64); }
@media (max-width: 700px) { .ds-mood-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 16px; } }

/* Mood pages — clear next-step CTA under the product grid. */
.ds-mood-more { margin-top: 34px; }
.ds-mood-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 26px;
  border: 1px solid #141b2e;
  color: #141b2e;
  font: 700 11px "DM Sans", sans-serif;
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.ds-mood-more-btn::after { content: "→"; }
.ds-mood-more-btn:hover { background: #087e78; border-color: #087e78; color: #fff; }
