/* ==========================================================================
   Distillata theme
   Brand: the logo's ink + Distillata cyan (#00aeef), with the trademark
   red (#af0000) on primary actions, the cart count and offers. Light, photo-led, generous; one family (Figtree).
   Breakpoints: 1199 / 991 / 767.
   ========================================================================== */

:root {
  --ink: #0e1116;
  --ink-2: #27303a;
  --mute: #5b6670;
  --line: #e2e8ee;
  --line-2: #cfd8e0;
  --mist: #f3f7fa;
  --ice: #e5f6fd;
  --cyan: #00aeef;
  --cyan-deep: #0072a3;
  --cyan-dark: #005a82;
  --red: #af0000;
  --red-dark: #8a0000;
  --ok: #17703a;
  --white: #fff;

  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 26px;
  --pill: 999px;

  --shadow-sm: 0 1px 2px rgba(14, 17, 22, .05);
  --shadow: 0 1px 2px rgba(14, 17, 22, .04), 0 10px 30px rgba(14, 17, 22, .07);
  --shadow-lg: 0 2px 6px rgba(14, 17, 22, .05), 0 24px 60px rgba(14, 17, 22, .12);

  --wrap: 1280px;
  --gutter: 32px;
  --measure: 760px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
html.ds-locked { overflow: hidden; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink-2);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--cyan-deep); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--cyan-dark); }
h1, h2, h3, h4, h5, h6 { color: var(--ink); font-family: var(--font); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: 52px; }
h2 { font-size: 40px; }
h3 { font-size: 22px; letter-spacing: -.01em; line-height: 1.25; }
h4 { font-size: 19px; letter-spacing: -.01em; line-height: 1.3; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--ice); color: var(--ink); }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.ds-skip { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }
.ds-skip:focus { top: 12px; color: #fff; }

.ds-wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.ds-ic { width: 20px; height: 20px; flex: none; }
.ds-flip { transform: scaleX(-1); }
.ds-center { text-align: center; }
.ds-small { font-size: 14px; color: var(--mute); }

/* ------------------------------------------------------------- buttons */
.ds-btn,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  border: 1.5px solid var(--red); border-radius: var(--pill);
  background: var(--red); color: #fff;
  font-family: var(--font); font-size: 16px; font-weight: 700; line-height: 1.1; letter-spacing: 0;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.ds-btn:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover {
  background: var(--red-dark); border-color: var(--red-dark); color: #fff; transform: translateY(-1px);
}
.ds-btn .ds-ic { width: 18px; height: 18px; }
.ds-btn--cyan { background: var(--cyan); border-color: var(--cyan); color: var(--ink); }
.ds-btn--cyan:hover { background: #fff; border-color: #fff; color: var(--ink); }
.ds-btn--line { background: transparent; color: var(--ink); border-color: var(--line-2); }
.ds-btn--line:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.ds-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.ds-btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.ds-btn--ice { background: var(--ice); border-color: var(--ice); color: var(--ink); }
.ds-btn--ice:hover { background: var(--cyan); border-color: var(--cyan); color: var(--ink); }
.ds-btn--block { width: 100%; }
.ds-btnrow { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.ds-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); text-decoration: none; }
.ds-link .ds-ic { width: 18px; height: 18px; color: var(--cyan-deep); transition: transform .2s var(--ease); }
.ds-link:hover { color: var(--cyan-deep); }
.ds-link:hover .ds-ic { transform: translateX(3px); }
.ds-textbtn { background: none; border: 0; padding: 0; color: var(--cyan-deep); font-weight: 700; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }

/* legacy content shortcodes [primarycta] / [bluecta] */
.blogbutton, .blogbuttonblue { display: inline-block; margin: 8px 0 16px; }
.blogbutton a, .blogbuttonblue a {
  display: inline-flex; align-items: center; min-height: 50px; padding: 12px 26px; border-radius: var(--pill);
  background: var(--red); color: #fff !important; font-weight: 700; text-decoration: none; line-height: 1.3; text-align: center;
  transition: background .2s var(--ease);
}
.blogbuttonblue a { background: var(--cyan); color: var(--ink) !important; }
.blogbutton a:hover { background: var(--red-dark); }
.blogbuttonblue a:hover { background: var(--ink); color: #fff !important; }
.blogbutton a *, .blogbuttonblue a * { color: inherit !important; font-weight: inherit !important; }

/* ------------------------------------------------------------ eyebrow */
.ds-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan-deep);
}
.ds-eyebrow .ds-ic { width: 16px; height: 16px; color: var(--cyan); }
.ds-eyebrow a { color: inherit; text-decoration: none; }

/* ========================================================== utility bar */
.ds-util { background: var(--ink); color: #c9d2da; font-size: 14px; }
.ds-util__in { display: flex; align-items: center; gap: 22px; min-height: 40px; }
.ds-util__note { margin: 0; display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 500; }
.ds-util__note .ds-ic { width: 16px; height: 16px; color: var(--cyan); }
.ds-util__zip { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; color: var(--cyan); font-weight: 600; cursor: pointer; }
.ds-util__zip .ds-ic { width: 16px; height: 16px; }
.ds-util__zip:hover { color: #fff; }
.ds-util__zip-short { display: none; }
@media (max-width: 380px) { .ds-util__in, .ds-util__links { gap: 10px !important; } }
.ds-util__links { margin-left: auto; display: flex; gap: 22px; }
.ds-util__links a { display: inline-flex; align-items: center; gap: 7px; color: #c9d2da; text-decoration: none; font-weight: 500; }
.ds-util__links a:hover { color: #fff; }
.ds-util__links .ds-ic { width: 16px; height: 16px; }

/* ============================================================= header */
.ds-header { position: sticky; top: 0; z-index: 90; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.ds-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(14,17,22,.06); }
.admin-bar .ds-header { top: 32px; }
.ds-header__in { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.ds-logo { display: inline-flex; flex: none; }
.ds-logo img { display: block; width: 150px; height: auto; }

/* main nav */
.ds-nav { flex: 1; align-self: stretch; display: flex; }
.ds-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; gap: 2px; }
.ds-nav__list > li { position: static; display: flex; align-items: center; }
.ds-nav__list > li:not(.ds-mega) { position: relative; }
.ds-nav__list > li > a {
  display: inline-flex; align-items: center; height: 44px; padding: 0 12px; border-radius: var(--pill);
  color: var(--ink); font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: background .15s, color .15s;
}
.ds-nav__list > li > a:hover,
.ds-nav__list > li.is-open > a,
.ds-nav__list > li:hover > a { background: var(--mist); }
.ds-nav__list > li.current-menu-item > a,
.ds-nav__list > li.current-menu-ancestor > a { color: var(--cyan-deep); }
.ds-nav .ds-subtoggle {
  display: inline-grid; place-items: center; width: 26px; height: 26px; margin-left: -8px; margin-right: 2px;
  border: 0; border-radius: 50%; background: none; color: var(--mute); cursor: pointer;
}
.ds-nav .ds-subtoggle .ds-ic { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.ds-nav li.is-open > .ds-subtoggle .ds-ic,
.ds-nav li:hover > .ds-subtoggle .ds-ic { transform: rotate(180deg); }

/* dropdowns */
.ds-nav .sub-menu {
  list-style: none; margin: 0; padding: 10px;
  position: absolute; top: calc(100% - 6px); left: 0; z-index: 10; min-width: 250px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s .18s;
}
.ds-nav__list > li:hover > .sub-menu,
.ds-nav__list > li:focus-within > .sub-menu,
.ds-nav__list > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.ds-nav .sub-menu a { display: block; padding: 9px 12px; border-radius: var(--r-sm); color: var(--ink-2); font-size: 15px; font-weight: 500; text-decoration: none; line-height: 1.35; }
.ds-nav .sub-menu a:hover { background: var(--mist); color: var(--ink); }

/* mega panel (Products) */
.ds-nav__list > li.ds-mega > .sub-menu {
  left: 50%; width: min(1100px, calc(100vw - 48px)); transform: translate(-50%, 6px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px 18px; padding: 26px;
}
.ds-header { --mega-top: 0; }
.ds-nav__list > li.ds-mega:hover > .sub-menu,
.ds-nav__list > li.ds-mega:focus-within > .sub-menu,
.ds-nav__list > li.ds-mega.is-open > .sub-menu { transform: translate(-50%, 0); }
.ds-nav__list > li.ds-mega { position: static; }
.ds-nav { position: relative; }
.ds-nav__list > li.ds-mega > .sub-menu { grid-template-columns: repeat(3, 1fr); gap: 6px 14px; padding: 18px; width: min(1040px, calc(100vw - 48px)); }
/* column heading = link card */
.ds-nav__list > li.ds-mega > .sub-menu > li.ds-megahead > a {
  display: flex; align-items: center; gap: 14px; padding: 10px 12px 10px 10px; border-radius: var(--r); color: var(--ink);
  transition: background .18s var(--ease);
}
.ds-nav__list > li.ds-mega > .sub-menu > li.ds-megahead > a:hover,
.ds-nav__list > li.ds-mega > .sub-menu > li.ds-megahead > a:focus-visible { background: var(--mist); }
.ds-mh__img { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--r-sm); background: var(--mist); overflow: hidden; color: var(--cyan-deep); }
.ds-mh__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 4px; }
.ds-mh__img .ds-ic { width: 24px; height: 24px; }
.ds-nav__list > li.ds-mega > .sub-menu > li.ds-megahead > a:hover .ds-mh__img { background: #fff; }
.ds-mh__txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.ds-mh__title { font-weight: 700; font-size: 15.5px; line-height: 1.25; color: var(--ink); }
.ds-mh__sub { font-size: 13.5px; font-weight: 500; color: var(--mute); }
.ds-mh__go { flex: none; width: 18px; height: 18px; color: var(--cyan-deep); opacity: 0; transform: translateX(-6px); transition: opacity .18s var(--ease), transform .18s var(--ease); }
.ds-nav__list > li.ds-mega > .sub-menu > li.ds-megahead > a:hover .ds-mh__go,
.ds-nav__list > li.ds-mega > .sub-menu > li.ds-megahead > a:focus-visible .ds-mh__go { opacity: 1; transform: none; }
/* sub-categories under a card, aligned with its title */
.ds-nav__list > li.ds-mega .sub-menu .sub-menu {
  position: static; opacity: 1; visibility: inherit; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 70px; min-width: 0; background: none;
}
.ds-nav__list > li.ds-mega .sub-menu .sub-menu a { padding: 4px 10px; margin-left: -10px; color: var(--mute); font-size: 14.5px; }
.ds-nav__list > li.ds-mega .sub-menu .sub-menu a:hover { color: var(--cyan-deep); background: none; }
/* footer row */
.ds-nav__list > li.ds-mega > .sub-menu > li.ds-megafoot { grid-column: 1 / -1; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.ds-nav__list > li.ds-mega > .sub-menu > li.ds-megafoot > a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; font-weight: 700; color: var(--cyan-deep); }
.ds-nav__list > li.ds-mega > .sub-menu > li.ds-megafoot > a:hover { background: var(--ice); color: var(--ink); }
.ds-nav__list > li.ds-mega > .sub-menu > li.ds-megafoot .ds-ic { width: 18px; height: 18px; }

/* header actions */
.ds-header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.ds-iconbtn {
  position: relative; display: inline-grid; place-items: center; width: 46px; height: 46px; flex: none;
  border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; text-decoration: none;
  transition: background .15s, border-color .15s;
}
.ds-iconbtn:hover { background: var(--mist); border-color: var(--line-2); color: var(--ink); }
.ds-cartcount {
  position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px;
  display: grid; place-items: center; border-radius: var(--pill); background: var(--red); color: #fff;
  font-size: 12px; font-weight: 800; line-height: 1; border: 2px solid #fff;
}
.ds-cartcount.is-empty { display: none; }
.ds-header__searchtoggle, .ds-burger { display: none; }

/* devq-search: themed through its own custom properties */
.ds-header__search { width: 300px; }
.dq-s {
  --dqs-accent: var(--cyan); --dqs-ink: var(--ink); --dqs-muted: var(--mute); --dqs-line: var(--line);
  --dqs-bg: #fff; --dqs-hover: var(--mist); --dqs-radius: 12px; --dqs-shadow: var(--shadow-lg);
  font-family: var(--font);
}
.ds-header__search .dq-s, .ds-pagehead__search .dq-s, .ds-empty__search .dq-s { max-width: none; }
.ds-header__search .dq-s__field, .ds-pagehead__search .dq-s__field, .ds-empty__search .dq-s__field { border-radius: var(--pill); background: var(--mist); }
.ds-pagehead__search .dq-s__field, .ds-empty__search .dq-s__field { background: #fff; border-color: var(--line-2); }
.ds-header__search .dq-s__field:focus-within, .ds-pagehead__search .dq-s__field:focus-within, .ds-empty__search .dq-s__field:focus-within { background: #fff; box-shadow: 0 0 0 4px var(--ice); }
.ds-header__search .dq-s__input.dq-s__input, .ds-pagehead__search .dq-s__input.dq-s__input, .ds-empty__search .dq-s__input.dq-s__input { height: 46px; padding: 0 6px 0 20px; border-radius: var(--pill); }
.ds-pagehead__search .dq-s__input.dq-s__input, .ds-empty__search .dq-s__input.dq-s__input { height: 54px; font-size: 17px; }
.ds-header__search .dq-s__submit { margin-right: 4px; }
.ds-header__search .dq-s__panel { min-width: 440px; left: auto; right: 0; }

/* ============================================================== drawer */
.ds-drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.ds-drawer.is-open { visibility: visible; }
.ds-drawer__scrim { position: absolute; inset: 0; background: rgba(14,17,22,.45); opacity: 0; transition: opacity .25s; }
.ds-drawer.is-open .ds-drawer__scrim { opacity: 1; }
.ds-drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 92vw);
  display: flex; flex-direction: column; gap: 16px; padding: 18px 20px 24px;
  background: #fff; overflow-y: auto; transform: translateX(100%); transition: transform .3s var(--ease);
}
.ds-drawer.is-open .ds-drawer__panel { transform: none; }
.ds-drawer__top { display: flex; align-items: center; justify-content: space-between; }
.ds-drawer__top img { width: 130px; }
.ds-drawer__list, .ds-drawer__list .sub-menu { list-style: none; margin: 0; padding: 0; }
.ds-drawer__list > li { border-bottom: 1px solid var(--line); }
.ds-drawer__list li { position: relative; }
.ds-drawer__list a { display: block; padding: 14px 52px 14px 2px; color: var(--ink); font-weight: 700; font-size: 18px; text-decoration: none; }
.ds-drawer__list .sub-menu { display: none; padding: 0 0 10px 12px; }
.ds-drawer__list li.is-open > .sub-menu { display: block; }
.ds-drawer__list .sub-menu a { padding: 9px 52px 9px 2px; font-size: 16px; font-weight: 500; color: var(--ink-2); }
.ds-drawer__list .sub-menu .sub-menu a { color: var(--mute); font-size: 15px; }
.ds-drawer .ds-subtoggle {
  position: absolute; top: 6px; right: 0; width: 42px; height: 42px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: var(--mist); color: var(--ink); cursor: pointer;
}
.ds-drawer .sub-menu .ds-subtoggle { top: 2px; width: 36px; height: 36px; background: none; }
.ds-drawer li.is-open > .ds-subtoggle .ds-ic { transform: rotate(180deg); }
.ds-drawer__foot { margin-top: auto; display: grid; gap: 10px; }

/* ========================================================== ZIP dialog */
.ds-zipdlg {
  width: min(480px, calc(100vw - 32px)); padding: 36px 32px 30px; border: 0; border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); color: var(--ink-2); text-align: center;
}
.ds-zipdlg::backdrop { background: rgba(14,17,22,.5); backdrop-filter: blur(3px); }
.ds-zipdlg__close { position: absolute; top: 14px; right: 14px; margin: 0; }
.ds-zipdlg__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ice); color: var(--cyan-deep); margin-bottom: 14px; }
.ds-zipdlg__icon .ds-ic { width: 30px; height: 30px; }
.ds-zipdlg h2 { font-size: 30px; }
.ds-zipdlg p { color: var(--mute); }
.ds-zipdlg .ds-zipform { display: flex; gap: 8px; margin-top: 18px; }
.ds-zipdlg .ds-zipform input { flex: 1; }

/* ZIP form (shared) */
.ds-zipform input {
  height: 54px; min-width: 0; padding: 0 20px; border: 1.5px solid var(--line-2); border-radius: var(--pill);
  background: #fff; font-size: 17px; font-weight: 600; letter-spacing: .04em; color: var(--ink);
}
.ds-zipform input::placeholder { font-weight: 500; letter-spacing: 0; color: var(--mute); }
.ds-zipform input:focus { outline: 0; border-color: var(--cyan); box-shadow: 0 0 0 4px var(--ice); }
.ds-zipform .ds-btn { min-height: 54px; }
.ds-zipform__row { display: flex; gap: 8px; }
.ds-zipform__row input { flex: 1; }
.ds-zipmsg { margin: 12px 0 0; font-size: 15px; min-height: 0; }
.ds-zipmsg:empty { display: none; }
.ds-zipmsg.is-ok { color: var(--ok); }
.ds-zipmsg.is-no { color: var(--ink-2); }
.ds-zipmsg.is-wait { color: var(--mute); }
.ds-zipmsg a { font-weight: 700; color: inherit; }

/* ============================================================= sections */
.ds-main { display: block; }
.ds-sec { padding: 104px 0; }
.ds-sec--tight { padding: 72px 0; }
.ds-sec--top0 { padding-top: 0; }
.ds-sec--flush { padding-top: 0; }
.ds-sec--mist { background: var(--mist); }
.ds-sec--mist + .ds-sec--mist { padding-top: 0; }
.ds-sechead { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 44px; }
.ds-sechead h2 { margin: 0; }
.ds-sechead > p { max-width: 440px; margin: 0; color: var(--mute); font-size: 18px; }
.ds-sechead--center { justify-content: center; text-align: center; }

/* ================================================================ hero */
.ds-hero { padding: 64px 0 0; background: linear-gradient(180deg, #fff 0%, var(--mist) 100%); overflow: hidden; }
.ds-hero__in { display: grid; grid-template-columns: 1.02fr 1fr; gap: 64px; align-items: center; }
.ds-hero h1 { font-size: 62px; line-height: 1.04; letter-spacing: -.035em; margin-bottom: 22px; }
.ds-hero h1 span { color: var(--cyan-deep); }
.ds-hero__lead { font-size: 20px; color: var(--mute); max-width: 520px; margin-bottom: 30px; }
.ds-zipform--hero { max-width: 540px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.ds-zipform--hero label { display: flex; align-items: center; gap: 8px; margin: 0 0 12px 4px; font-weight: 700; color: var(--ink); }
.ds-zipform--hero label .ds-ic { color: var(--cyan-deep); width: 18px; height: 18px; }
.ds-zipform--hero .ds-zipmsg { margin-left: 4px; }
.ds-hero__links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 24px; }
.ds-hero__media { position: relative; }
.ds-hero__frame { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1 / 1; max-width: 600px; margin-left: auto; background: var(--ice); box-shadow: var(--shadow-lg); }
.ds-hero__frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ds-hero__review {
  position: absolute; left: -48px; bottom: 40px; width: 300px; margin: 0; padding: 18px 20px;
  background: #fff; border-radius: var(--r); box-shadow: var(--shadow-lg);
}
.ds-hero__review blockquote { margin: 8px 0 8px; font-size: 16px; line-height: 1.45; color: var(--ink); font-weight: 600; }
.ds-hero__review figcaption { font-size: 14px; color: var(--mute); }
.ds-stars { display: inline-flex; gap: 2px; color: #f2a900; }
.ds-stars .ds-ic { width: 17px; height: 17px; fill: currentColor; stroke: none; }

.ds-proof {
  list-style: none; margin: 64px 0 0; padding: 26px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  border-top: 1px solid var(--line);
}
.ds-proof li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--mute); }
.ds-proof li strong { display: block; color: var(--ink); font-size: 16px; }
.ds-proof .ds-ic { width: 24px; height: 24px; color: var(--cyan-deep); margin-top: 1px; }

/* ========================================================= service cards */
.ds-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ds-service {
  display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r); background: #fff;
  border: 1px solid var(--line); color: inherit; text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.ds-service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: inherit; }
.ds-service__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ice); }
.ds-service__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.ds-service:hover .ds-service__img img { transform: scale(1.04); }
.ds-service__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.ds-service h3 { font-size: 20px; margin-bottom: 8px; }
.ds-service p { font-size: 15px; line-height: 1.55; color: var(--mute); margin-bottom: 18px; }
.ds-service__go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--ink); }
.ds-service__go .ds-ic { width: 17px; height: 17px; color: var(--cyan-deep); transition: transform .2s var(--ease); }
.ds-service:hover .ds-service__go .ds-ic { transform: translateX(3px); }

/* ========================================================= how it works */
.ds-how { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.ds-how__intro { position: sticky; top: 140px; }
.ds-how__intro > p:not(.ds-eyebrow) { font-size: 18px; color: var(--mute); margin-bottom: 28px; }
.ds-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.ds-step { display: flex; gap: 22px; align-items: flex-start; padding: 28px; background: #fff; border-radius: var(--r); border: 1px solid var(--line); }
.ds-step h3 { margin-bottom: 6px; }
.ds-step p { margin: 0; color: var(--mute); }
.ds-step__ic { display: grid; place-items: center; width: 56px; height: 56px; flex: none; border-radius: 50%; background: var(--ice); color: var(--cyan-deep); }
.ds-step__ic .ds-ic { width: 26px; height: 26px; }

/* ========================================================== service area */
.ds-area { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ds-area__media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 11; background: var(--ice); }
.ds-area__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; display: block; }
.ds-area__copy > p:not(.ds-eyebrow):not(.ds-small) { font-size: 18px; color: var(--mute); }
.ds-area .ds-zipform { max-width: 460px; margin: 26px 0 18px; }
.ds-chips { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ds-chips li { padding: 7px 14px; border-radius: var(--pill); background: var(--mist); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.ds-chips--links { justify-content: center; }
.ds-chips--links li { padding: 0; background: none; border: 0; }
.ds-chips--links a { display: inline-block; padding: 9px 16px; border-radius: var(--pill); border: 1px solid var(--line-2); color: var(--ink); font-weight: 600; text-decoration: none; }
.ds-chips--links a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* =============================================================== reviews */
.ds-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 34px; }
.ds-review { margin: 0; padding: 28px; background: #fff; border-radius: var(--r); border: 1px solid var(--line); display: flex; flex-direction: column; }
.ds-review blockquote { margin: 14px 0 18px; font-size: 17px; line-height: 1.55; color: var(--ink); }
.ds-review figcaption { margin-top: auto; font-weight: 700; color: var(--ink); font-size: 15px; }

/* =============================================================== FAQ */
.ds-faqsplit { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.ds-faqsplit__intro { position: sticky; top: 140px; }
.ds-faqsplit__intro > p:not(.ds-eyebrow) { font-size: 18px; color: var(--mute); margin-bottom: 24px; }
.ds-accordion { display: grid; gap: 12px; }
.ds-acc { background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s, box-shadow .2s; }
.ds-acc[open] { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.ds-acc summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; cursor: pointer; font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.35;
}
.ds-acc summary::-webkit-details-marker { display: none; }
.ds-acc summary .ds-ic { width: 22px; height: 22px; color: var(--cyan-deep); transition: transform .25s var(--ease); }
.ds-acc[open] summary .ds-ic { transform: rotate(180deg); }
.ds-acc summary:hover { color: var(--cyan-deep); }
.ds-acc__body { padding: 0 24px 22px; color: var(--ink-2); font-size: 16px; }
.ds-acc__body > :last-child { margin-bottom: 0; }

/* =============================================================== CTA band */
.ds-cta {
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: stretch; overflow: hidden;
  background: var(--ink); border-radius: var(--r-lg); color: #c9d2da;
}
.ds-cta__copy { padding: 64px; }
.ds-cta h2 { color: #fff; font-size: 44px; }
.ds-cta p { font-size: 18px; color: #c9d2da; margin-bottom: 28px; max-width: 520px; }
.ds-cta__media { min-height: 360px; }
.ds-cta__media img { width: 100%; height: 100%; object-fit: cover; object-position: 75% 50%; display: block; }
.ds-cta--slim { grid-template-columns: 1fr auto; align-items: center; gap: 32px; padding: 44px 48px; }
.ds-cta--slim .ds-cta__copy { padding: 0; }
.ds-cta--slim h2 { font-size: 32px; margin-bottom: 8px; }
.ds-cta--slim p { margin: 0; }

/* ============================================================ page heads */
.ds-pagehead { padding: 44px 0 52px; background: var(--mist); margin-bottom: 64px; }
.ds-pagehead h1 { margin: 0; max-width: 900px; }
.ds-pagehead__lead { margin-top: 14px; font-size: 19px; color: var(--mute); max-width: 720px; }
.ds-pagehead__lead p:last-child { margin: 0; }
.ds-pagehead--compact { padding: 32px 0 36px; margin-bottom: 44px; }
.ds-pagehead--compact h1 { font-size: 40px; }
.ds-pagehead--shop { margin-bottom: 36px; padding-bottom: 36px; }
.ds-pagehead__search { margin-top: 22px; max-width: 560px; }
.ds-chipnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.ds-chipnav a { padding: 8px 16px; border-radius: var(--pill); background: #fff; border: 1px solid var(--line); color: var(--ink-2); font-size: 15px; font-weight: 600; text-decoration: none; transition: background .15s, border-color .15s, color .15s; }
.ds-chipnav a:hover { border-color: var(--ink); color: var(--ink); }
.ds-chipnav a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.ds-crumbs { margin: 0 0 18px; font-size: 14px; }
.ds-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ds-crumbs li { display: inline-flex; align-items: center; gap: 6px; color: var(--mute); }
.ds-crumbs li + li::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid var(--line-2); border-top: 1.5px solid var(--line-2); transform: rotate(45deg); margin-right: 4px; }
.ds-crumbs a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.ds-crumbs a:hover { color: var(--cyan-deep); text-decoration: underline; }
.ds-crumbs [aria-current] { color: var(--mute); }
.ds-blockcrumbs { max-width: var(--measure); margin: 0 auto 24px; }

/* split hero for pages / posts (ACF hero block) */
.ds-phero { background: var(--mist); padding: 40px 0 56px; margin-bottom: 64px; }
.ds-phero__in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.ds-phero h1 { font-size: 52px; margin: 0; letter-spacing: -.03em; }
/* The frame follows the photo's own shape, so hero images are never cropped.
   Most heroes are wide banners (1440x400 / 1440x600): those get their own
   full-width row under the title (ds-phero--wide, set in post-hero.php). */
.ds-phero__media { border-radius: var(--r-lg); overflow: hidden; background: var(--ice); }
.ds-phero__media img { width: 100%; height: auto; display: block; }
.ds-phero--noimg .ds-phero__in { grid-template-columns: 1fr; }
.ds-phero--wide .ds-phero__in { grid-template-columns: 1fr; gap: 32px; }
.ds-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 18px 0 0; color: var(--mute); font-size: 15px; }
.ds-meta > * + *::before { content: "\00B7"; margin-right: 18px; color: var(--line-2); }
.ds-meta > * { display: inline-flex; }

/* ============================================================ content */
.ds-content { padding-bottom: 88px; }
.ds-content > * { max-width: var(--measure); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); box-sizing: content-box; }
.ds-content > .ds-wide,
.ds-content > .ds-phero, .ds-content > .ds-contact, .ds-content > .ds-accordion--block,
.ds-content > .alignfull { max-width: none; padding-left: 0; padding-right: 0; box-sizing: border-box; }
.ds-content > .alignwide { max-width: 1100px; }
.ds-content > .ds-accordion--block { max-width: var(--measure); padding-left: var(--gutter); padding-right: var(--gutter); box-sizing: content-box; margin-bottom: 32px; }
.ds-content > .ds-phero:first-child, .ds-content > .ds-contact:first-child { margin-top: 0; }
.ds-content--store > *, .ds-content--store > .ds-prose { max-width: var(--wrap); }
.ds-content--store .ds-prose { font-size: 16px; line-height: 1.6; }

.ds-copyblock { padding-bottom: 8px; }

/* prose */
.ds-prose { font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.ds-prose > *:first-child { margin-top: 0; }
.ds-prose h1 { font-size: 40px; margin: 1.2em 0 .5em; }
.ds-prose h2 { font-size: 32px; margin: 1.6em 0 .5em; }
.ds-prose h3 { font-size: 24px; margin: 1.5em 0 .5em; }
.ds-prose h4 { font-size: 20px; margin: 1.4em 0 .4em; }
.ds-prose h1 b, .ds-prose h2 b, .ds-prose h3 b, .ds-prose h1 strong, .ds-prose h2 strong, .ds-prose h3 strong { font-weight: inherit; }
.ds-prose h1 span, .ds-prose h2 span, .ds-prose h3 span, .ds-prose h4 span { font-weight: inherit !important; }
.ds-prose p > b:only-child, .ds-prose > b:first-child { display: inline-block; margin-top: .8em; font-size: 22px; line-height: 1.3; color: var(--ink); font-weight: 800; letter-spacing: -.01em; }
.ds-prose strong, .ds-prose b { color: var(--ink); font-weight: 700; }
.ds-prose a { font-weight: 600; }
.ds-prose ul, .ds-prose ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.ds-prose li { margin-bottom: .45em; padding-left: .2em; }
.ds-prose ul li::marker { color: var(--cyan); }
.ds-prose ol li::marker { color: var(--cyan-deep); font-weight: 700; }
.ds-prose img { border-radius: var(--r); height: auto; }
.ds-prose blockquote { margin: 1.6em 0; padding: 6px 0 6px 22px; border-left: 3px solid var(--cyan); font-size: 19px; color: var(--ink); }
.ds-prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.ds-prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15px; display: block; overflow-x: auto; }
.ds-prose th, .ds-prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.ds-prose th { background: var(--mist); color: var(--ink); font-weight: 700; }
.ds-prose iframe { max-width: 100%; border: 0; border-radius: var(--r); }
.ds-prose .videoWrapper, .ds-content .videoWrapper { position: relative; aspect-ratio: 16 / 9; height: auto !important; padding: 0 !important; margin: 1.4em 0; }
.ds-prose .videoWrapper iframe, .ds-content .videoWrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.ds-prose iframe[src*="youtube"], .ds-prose iframe[src*="vimeo"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.ds-prose .alignleft { float: left; margin: .3em 1.4em 1em 0; }
.ds-prose .alignright { float: right; margin: .3em 0 1em 1.4em; }
.ds-prose .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.ds-prose::after { content: ""; display: table; clear: both; }
/* legacy grid markup inside some saved copy */
.ds-prose .container, .ds-prose .container-fluid { max-width: none; padding: 0 !important; margin: 0; }
.ds-prose .grid { display: flex; flex-wrap: wrap; gap: 24px; }
.ds-prose [class*="col-sm-"], .ds-prose [class*="col-md-"] { flex: 1 1 240px; min-width: 0; }
.ds-prose .col-sm-12, .ds-prose .col-md-12 { flex-basis: 100%; }
.ds-prose .maincopy { padding: 0; }

/* core blocks */
.ds-content > .wp-block-image { margin-top: 12px; margin-bottom: 36px; }
.wp-block-image img { border-radius: var(--r); height: auto; }
.wp-block-image figcaption { font-size: 14px; color: var(--mute); text-align: center; }
.ds-content > p, .ds-content > ul, .ds-content > ol, .ds-content > h2, .ds-content > h3, .ds-content > h4 { font-size: 17px; line-height: 1.75; }
.ds-content > h2 { font-size: 32px; line-height: 1.15; margin-top: 1.4em; }
.ds-content > h3 { font-size: 24px; line-height: 1.25; }
.wp-block-separator { border: 0; border-top: 1px solid var(--line); margin: 40px auto; }
.wp-block-table table { border-collapse: collapse; width: 100%; }
.wp-block-table td, .wp-block-table th { border: 1px solid var(--line); padding: 10px 12px; }
.wp-block-columns { gap: 28px; }
.wp-block-media-text { gap: 32px; }
.wp-block-media-text__media img { border-radius: var(--r); }
.wp-block-latest-posts.wp-block-latest-posts__list { list-style: none; padding: 24px 0 0 !important; margin-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.wp-block-latest-posts.wp-block-latest-posts__list li { margin: 0; }
.wp-block-latest-posts.wp-block-latest-posts__list li a { display: block; padding: 12px 16px; border-radius: var(--r-sm); background: var(--mist); color: var(--ink); font-weight: 600; text-decoration: none; }
.wp-block-latest-posts.wp-block-latest-posts__list li a:hover { background: var(--ice); }
.wp-block-latest-posts.is-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.wp-block-latest-posts__featured-image img { border-radius: var(--r-sm); }
.wp-block-button__link { border-radius: var(--pill); background: var(--red); color: #fff; font-weight: 700; padding: 14px 26px; }
.timeline ul { list-style: none; padding: 0; }
.timeline li { padding: 16px 0 16px 22px; border-left: 2px solid var(--line); position: relative; opacity: .4; transform: translateY(8px); transition: opacity .5s, transform .5s; }
.timeline li.in-view { opacity: 1; transform: none; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 22px; width: 12px; height: 12px; border-radius: 50%; background: var(--cyan); }

/* ============================================================ blocks */
.ds-split { margin: 24px 0 56px; }
.ds-split__in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 40px; background: var(--mist); border-radius: var(--r-lg); max-width: 1180px; }
.ds-split--left .ds-split__media { order: -1; }
.ds-split__copy h2 { font-size: 34px; }
.ds-split__copy .ds-prose { margin-bottom: 24px; }
.ds-split__copy .ds-prose p:last-child { margin-bottom: 0; }
/* frame follows the image's own shape: offer graphics are square, Resources guide covers are tall */
.ds-split__media { display: block; border-radius: var(--r); overflow: hidden; background: var(--ice); }
.ds-split__media img { width: 100%; height: auto; display: block; transition: transform .5s var(--ease); }
.ds-split__media:hover img { transform: scale(1.03); }

.ds-tilesblock { margin: 16px 0 56px; }
.ds-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1180px; margin: 0 auto; }
.ds-tiles--4 { grid-template-columns: repeat(4, 1fr); }
.ds-tile { display: block; border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: box-shadow .25s, transform .25s var(--ease); }
.ds-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.ds-tile__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ice); }
.ds-tile__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ds-tile__title { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; font-weight: 700; font-size: 17px; }
.ds-tile__title .ds-ic { width: 18px; height: 18px; color: var(--cyan-deep); }

.ds-bandimg { margin: 16px 0 48px; }
.ds-bandimg img { width: 100%; height: var(--h, 420px); object-fit: cover; border-radius: var(--r-lg); display: block; }

.ds-articles { margin: 0 0 48px; }

.ds-comparewrap { margin: 16px 0 56px; }
.ds-tablescroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); max-width: 1100px; margin: 0 auto; }
.ds-compare { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; }
.ds-compare th, .ds-compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.ds-compare tr > th:first-child { text-align: left; font-weight: 600; color: var(--ink-2); background: #fff; }
.ds-compare tr:first-child th { background: var(--mist); vertical-align: bottom; }
.ds-compare .th-wrap p, .ds-compare .th-wrap div { margin: 0; }
.ds-compare .th-wrap p:first-child, .ds-compare .th-pic { font-weight: 800; color: var(--ink); }
.ds-compare .th-wrap a { font-size: 13px; font-weight: 600; }
.ds-compare td { color: var(--cyan-deep); font-weight: 800; }
.ds-compare tr:nth-child(even) td, .ds-compare tr:nth-child(even) th[scope="row"] { background: #fbfdfe; }

/* contact hero */
.ds-contact { padding: 40px 0 72px; background: var(--mist); margin-bottom: 56px; }
.ds-contact__in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.ds-contact h1 { font-size: 52px; }
.ds-contact__lead { font-size: 19px; color: var(--mute); }
.ds-contact__list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 18px; }
.ds-contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.ds-contact__list strong { display: block; color: var(--ink); }
.ds-contact__list a { font-weight: 600; }
.ds-contact__ic { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; background: #fff; color: var(--cyan-deep); border: 1px solid var(--line); }
.ds-contact__form { padding: 36px; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.ds-contact__form h2 { font-size: 26px; }

/* ================================================================ blog */
.ds-postgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ds-postcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: box-shadow .25s, transform .25s var(--ease); }
.ds-postcard:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.ds-postcard__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ice); }
.ds-postcard__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ds-postcard__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.ds-postcard .ds-eyebrow { margin-bottom: 8px; font-size: 12px; }
.ds-postcard h3 { font-size: 21px; margin-bottom: 10px; }
.ds-postcard h3 a { color: var(--ink); text-decoration: none; }
.ds-postcard h3 a:hover { color: var(--cyan-deep); }
.ds-postcard__body > p:not(.ds-eyebrow):not(.ds-meta) { color: var(--mute); font-size: 15px; line-height: 1.55; }
.ds-postcard .ds-meta { margin-top: auto; font-size: 13px; }
.ds-postcard .ds-link { margin-top: auto; font-size: 15px; }

.navigation.pagination { margin-top: 56px; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.nav-links .page-numbers { display: inline-grid; place-items: center; min-width: 46px; height: 46px; padding: 0 12px; border-radius: var(--pill); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; }
.nav-links .page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.nav-links a.page-numbers:hover { border-color: var(--ink); }
.nav-links .dots { border: 0; }

/* search */
.ds-results { display: grid; gap: 12px; max-width: 900px; }
.ds-result { position: relative; display: grid; grid-template-columns: 96px 1fr auto; gap: 22px; align-items: center; padding: 16px 20px 16px 16px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: border-color .15s, box-shadow .15s; }
.ds-result:hover { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.ds-result__img { display: grid; place-items: center; width: 96px; height: 96px; border-radius: var(--r-sm); overflow: hidden; background: var(--mist); color: var(--cyan); }
.ds-result__img img { width: 100%; height: 100%; object-fit: cover; }
.ds-result--product .ds-result__img img { object-fit: contain; padding: 6px; }
.ds-result .ds-eyebrow { margin-bottom: 4px; font-size: 12px; }
.ds-result h2 { font-size: 19px; margin: 0 0 4px; letter-spacing: -.01em; }
.ds-result h2 a { color: var(--ink); text-decoration: none; }
.ds-result h2 a::after { content: ""; position: absolute; inset: 0; }
.ds-result p { margin: 0; font-size: 15px; color: var(--mute); }
.ds-result__price { font-weight: 700; color: var(--ink) !important; }
.ds-result__go { color: var(--cyan-deep); }
.ds-tag { display: inline-block; padding: 2px 8px; border-radius: var(--pill); font-size: 11px; letter-spacing: .06em; }
.ds-tag--muted { background: var(--mist); color: var(--mute); }

.ds-empty { max-width: 640px; margin: 0 auto; padding: 24px 0 40px; text-align: center; }
.ds-empty__icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--ice); color: var(--cyan-deep); margin-bottom: 18px; }
.ds-empty__icon .ds-ic { width: 32px; height: 32px; }
.ds-empty h2 { font-size: 30px; }
.ds-empty p { color: var(--mute); }
.ds-empty .ds-chips { margin: 20px 0 22px; }
.ds-empty--404 h1 { font-size: 52px; }
.ds-empty__search { max-width: 520px; margin: 26px auto 8px; text-align: left; }

/* ================================================================ footer */
.ds-footer { background: var(--mist); border-top: 1px solid var(--line); padding: 80px 0 0; color: var(--ink-2); font-size: 15px; }
.ds-footer__grid { display: grid; grid-template-columns: 1.25fr .9fr .9fr 1.25fr; gap: 48px; }
.ds-footer h2 { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: 18px; }
.ds-footer__brand .ds-logo img { width: 150px; }
.ds-footer__brand > p { margin: 16px 0 18px; color: var(--mute); }
.ds-footer__contact { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.ds-footer__contact a { display: inline-flex; gap: 10px; align-items: flex-start; color: var(--ink); text-decoration: none; font-weight: 600; }
.ds-footer__contact a:hover { color: var(--cyan-deep); }
.ds-footer__contact .ds-ic { width: 18px; height: 18px; margin-top: 2px; color: var(--cyan-deep); }
.ds-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ds-footer__col a { color: var(--ink-2); text-decoration: none; }
.ds-footer__col a:hover { color: var(--cyan-deep); text-decoration: underline; }
.ds-footer__news > p { color: var(--mute); margin-bottom: 12px; }
.ds-social { display: flex; gap: 8px; }
.ds-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.ds-social a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.ds-social .ds-ic { width: 18px; height: 18px; }
.ds-footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 64px; padding: 24px 0 28px; border-top: 1px solid var(--line); color: var(--mute); font-size: 14px; }
.ds-footer__bar p { margin: 0; }
.ds-footer__bar nav { display: flex; gap: 20px; }
.ds-footer__bar a { color: var(--mute); text-decoration: none; }
.ds-footer__bar a:hover { color: var(--ink); }

/* Constant Contact inline form */
.ds-footer .ctct-inline-form .ctct-form-defaults { padding: 0 !important; background: transparent !important; border: 0 !important; }
.ds-footer .ctct-form-header, .ds-footer .ctct-form-text { display: none !important; }
.ds-footer .ctct-form-label { font-family: var(--font) !important; font-size: 14px !important; color: var(--ink) !important; font-weight: 600 !important; }
.ds-footer .ctct-form-element { font-family: var(--font) !important; border-radius: var(--pill) !important; border: 1px solid var(--line-2) !important; height: 48px !important; padding: 0 18px !important; background: #fff !important; }
.ds-footer .ctct-form-button { font-family: var(--font) !important; border-radius: var(--pill) !important; background: var(--red) !important; color: #fff !important; border: 0 !important; height: 48px !important; font-weight: 700 !important; font-size: 16px !important; }
.ds-footer .ctct-form-button:hover { background: var(--red-dark) !important; }
.ds-footer .ctct-gdpr-text, .ds-footer .ctct-gdpr-text a { font-family: var(--font) !important; font-size: 11px !important; line-height: 1.45 !important; color: var(--mute) !important; }
.ds-footer .ctct-form-footer { display: none !important; }

/* ============================================================ WooCommerce */
.ds-shopwrap { padding-bottom: 96px; }
.ds-shopwrap--single { padding-top: 28px; }
.ds-shoptools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.ds-shoptools .woocommerce-result-count { margin: 0; color: var(--mute); font-size: 15px; float: none; }
.ds-shoptools .woocommerce-ordering { margin: 0; float: none; }
.woocommerce .woocommerce-ordering select, .woocommerce select, .woocommerce-page select {
  height: 46px; padding: 0 40px 0 16px; border: 1px solid var(--line-2); border-radius: var(--pill); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230e1116' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center;
  appearance: none; -webkit-appearance: none; font-size: 15px; color: var(--ink);
}
.ds-shoptools .woocommerce-notices-wrapper { flex-basis: 100%; }

/* product grid */
.woocommerce ul.products, .woocommerce-page ul.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin: 0 0 32px; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
  float: none; width: auto !important; margin: 0 !important; padding: 14px 14px 18px; position: relative;
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  transition: box-shadow .25s, border-color .25s, transform .25s var(--ease);
}
.woocommerce ul.products li.product:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-3px); }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: inherit; }
.ds-pcard__img { display: grid; place-items: center; aspect-ratio: 1; margin-bottom: 14px; border-radius: var(--r-sm); background: var(--mist); overflow: hidden; }
.woocommerce ul.products li.product .ds-pcard__img img { width: 100%; height: 100%; object-fit: contain; padding: 14px; margin: 0; mix-blend-mode: multiply; transition: transform .4s var(--ease); }
.woocommerce ul.products li.product:hover .ds-pcard__img img { transform: scale(1.04); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 0 4px; margin: 0 0 8px; font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--ink); letter-spacing: -.005em; }
.woocommerce ul.products li.product .price { display: block; padding: 0 4px; margin: 0 0 16px; color: var(--ink); font-size: 17px; font-weight: 800; }
.woocommerce ul.products li.product .price del { color: var(--mute); font-weight: 500; font-size: 14px; opacity: 1; margin-right: 6px; }
.woocommerce ul.products li.product .price ins { text-decoration: none; color: var(--red); }
.woocommerce ul.products li.product .star-rating { margin: 0 4px 10px; font-size: 13px; }
.woocommerce ul.products li.product .button { display: flex; align-items: center; justify-content: center; line-height: 1.2; margin: auto 0 0 !important; width: 100%; min-height: 44px; font-size: 15px; padding: 0 14px; background: var(--red); color: #fff; border-color: var(--red); white-space: normal; text-align: center; }
.woocommerce ul.products li.product .button:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.woocommerce ul.products li.product .button.loading { opacity: .7; }
.woocommerce ul.products li.product .button.added::after { margin-left: 8px; }
.woocommerce ul.products li.product .added_to_cart { display: block; text-align: center; padding-top: 10px; font-weight: 700; font-size: 14px; }
.woocommerce span.onsale, .woocommerce ul.products li.product .onsale {
  min-width: 0; min-height: 0; width: auto; height: auto; padding: 5px 11px; margin: 0; line-height: 1.2;
  top: 22px !important; left: 22px !important; right: auto !important; border-radius: var(--pill); background: var(--red); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; z-index: 2;
}
.ds-oos { position: absolute; top: 22px; right: 22px; z-index: 2; padding: 5px 11px; border-radius: var(--pill); background: #fff; color: var(--mute); border: 1px solid var(--line); font-size: 12px; font-weight: 700; }
.woocommerce ul.products li.product.outofstock .ds-pcard__img img { opacity: .55; }
/* sub-category tiles */
.woocommerce ul.products li.product-category a { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: inherit; }
.woocommerce ul.products li.product-category a img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 0; margin: 0 0 14px; border-radius: var(--r-sm); background: none; box-shadow: none; transition: transform .4s var(--ease); }
.woocommerce ul.products li.product-category:hover a img { transform: scale(1.03); }
.woocommerce ul.products li.product-category .woocommerce-loop-category__title { padding: 0 4px; margin: 0; font-size: 17px; font-weight: 700; line-height: 1.35; color: var(--ink); }
.woocommerce ul.products li.product-category mark.count { background: none; padding: 0; margin-left: 4px; color: var(--mute); font-weight: 500; font-size: 15px; }
.woocommerce-info, .woocommerce-message, .woocommerce-error, .woocommerce-noreviews, p.no-comments {
  border: 1px solid var(--line) !important; border-left: 4px solid var(--cyan) !important; border-radius: var(--r-sm); background: var(--mist) !important; color: var(--ink-2) !important; padding: 16px 20px 16px 52px !important; font-size: 16px;
}
.woocommerce-message { border-left-color: var(--ok) !important; }
.woocommerce-error { border-left-color: var(--red) !important; }
.woocommerce-info::before, .woocommerce-message::before { color: var(--cyan-deep); top: 16px; left: 20px; }
.woocommerce-message::before { color: var(--ok); }
.woocommerce-message .button, .woocommerce-info .button { min-height: 40px !important; float: right; margin-left: 12px; }
.woocommerce-pagination ul.page-numbers { border: 0 !important; display: flex !important; justify-content: center; gap: 8px; }
.woocommerce-pagination ul.page-numbers li { border: 0 !important; }
.woocommerce-pagination ul.page-numbers li .page-numbers { min-width: 46px; height: 46px; display: inline-grid !important; place-items: center; border-radius: var(--pill); border: 1px solid var(--line) !important; color: var(--ink); font-weight: 700; padding: 0 12px !important; }
.woocommerce-pagination ul.page-numbers li span.current { background: var(--ink) !important; color: #fff !important; border-color: var(--ink) !important; }

.ds-catinfo { margin-top: 0; }
.ds-catinfo__in { display: grid; gap: 40px; max-width: 900px; }
.ds-catinfo .ds-prose h2 { font-size: 30px; }
.product-category-faqs h2 { font-size: 30px; }
.ds-taglead { max-width: var(--measure); margin-bottom: 28px; }

/* single product */
.ds-shopwrap--single .ds-crumbs { margin-bottom: 26px; }
.ds-product__top { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; margin-bottom: 72px; }
.woocommerce div.product .ds-product__media div.images, .woocommerce #content div.product .ds-product__media div.images { float: none; width: 100% !important; margin: 0; }
.ds-product__media { position: sticky; top: 120px; padding: 28px; background: var(--mist); border-radius: var(--r-lg); }
.ds-product__media .woocommerce-product-gallery__wrapper { border-radius: var(--r); overflow: hidden; }
.ds-product__media .woocommerce-product-gallery__image img { mix-blend-mode: multiply; }
.woocommerce div.product div.images .flex-control-thumbs { display: flex; gap: 10px; margin-top: 14px; }
.woocommerce div.product div.images .flex-control-thumbs li { width: 72px !important; float: none; border-radius: var(--r-sm); overflow: hidden; border: 2px solid transparent; background: #fff; }
.woocommerce div.product div.images .flex-control-thumbs li img { opacity: .7; }
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active, .woocommerce div.product div.images .flex-control-thumbs li:hover img { opacity: 1; }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger { top: 14px; right: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.woocommerce div.product .ds-product__media span.onsale { top: 40px !important; left: 40px !important; }
.woocommerce div.product .ds-product__buy div.summary, .woocommerce #content div.product .ds-product__buy div.summary { float: none; width: 100%; margin: 0; }
.ds-product__buy { min-width: 0; }
.ds-product__media { min-width: 0; }
.woocommerce div.product .product_title { font-size: 40px; line-height: 1.1; margin-bottom: 14px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ink); font-size: 28px; font-weight: 800; margin-bottom: 18px; }
.woocommerce div.product p.price del { color: var(--mute); font-size: 19px; font-weight: 500; opacity: 1; }
.woocommerce div.product p.price ins { text-decoration: none; color: var(--red); }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--ink-2); font-size: 17px; margin-bottom: 26px; }
.woocommerce div.product .woocommerce-product-details__short-description ul { padding-left: 1.2em; }
.woocommerce div.product .woocommerce-product-details__short-description li::marker { color: var(--cyan); }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; margin: 0 0 24px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.woocommerce div.product form.cart::before, .woocommerce div.product form.cart::after { display: none; }
.woocommerce div.product form.cart.variations_form { display: block; }
.woocommerce div.product form.cart .variations { margin-bottom: 14px; }
.woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td { display: block; padding: 0; text-align: left; line-height: 1.4; }
.woocommerce div.product form.cart .variations label { font-weight: 700; color: var(--ink); display: block; margin-bottom: 8px; }
.woocommerce div.product form.cart .variations select { width: 100%; margin-bottom: 8px; }
.woocommerce div.product form.cart .reset_variations { font-size: 14px; }
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart { display: flex; gap: 12px; flex-wrap: wrap; }
.woocommerce div.product form.cart .single_variation_wrap .woocommerce-variation-price { margin-bottom: 12px; }
.woocommerce div.product form.cart div.quantity { float: none; margin: 0; }
.woocommerce .quantity .qty {
  width: 92px; height: 54px; border: 1.5px solid var(--line-2); border-radius: var(--pill); text-align: center; font-size: 17px; font-weight: 700; color: var(--ink); background: #fff;
}
.woocommerce div.product form.cart .button { flex: 1; min-height: 54px; font-size: 17px; float: none; }
.woocommerce div.product form.cart .button.disabled, .woocommerce div.product form.cart .button:disabled, .woocommerce div.product form.cart .button.disabled:hover { background: var(--ink); border-color: var(--ink); color: #fff; opacity: .35; cursor: not-allowed; }
.woocommerce div.product .stock { font-weight: 700; color: var(--ok); }
.woocommerce div.product .stock.out-of-stock { color: var(--mute); }
.woocommerce div.product .product_meta { font-size: 14px; color: var(--mute); display: grid; gap: 4px; margin-bottom: 24px; }
.woocommerce div.product .product_meta a { color: var(--ink-2); }
.ds-product__assure { list-style: none; margin: 0; padding: 20px 22px; display: grid; gap: 14px; border-radius: var(--r); background: var(--mist); font-size: 15px; color: var(--mute); }
.ds-product__assure li { display: flex; gap: 14px; align-items: flex-start; }
.ds-product__assure strong { color: var(--ink); }
.ds-product__assure .ds-ic { width: 22px; height: 22px; color: var(--cyan-deep); margin-top: 1px; }
.ds-product__assure .ds-textbtn { font-size: 15px; }

.woocommerce div.product .woocommerce-tabs { margin-bottom: 72px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px !important; margin: 0 0 28px !important; background: var(--mist); border-radius: var(--pill); width: fit-content; max-width: 100%; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: var(--pill) !important; background: transparent !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 10px 20px !important; font-weight: 700 !important; color: var(--mute) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: #fff !important; box-shadow: var(--shadow-sm); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ink) !important; }
.woocommerce div.product .woocommerce-tabs .panel { max-width: 860px; font-size: 17px; line-height: 1.75; }
.woocommerce div.product .woocommerce-tabs .panel h2 { font-size: 28px; }
.woocommerce div.product .woocommerce-tabs .panel ul li::marker { color: var(--cyan); }
.woocommerce div.product .woocommerce-tabs .panel table.shop_attributes { border: 1px solid var(--line); border-radius: var(--r-sm); }
.woocommerce .related > h2, .woocommerce .upsells > h2, .woocommerce .cross-sells > h2 { font-size: 30px; margin-bottom: 24px; }
.single-product .related.products h2:first-child { display: block; }
#reviews #comments ol.commentlist li .comment-text { border-radius: var(--r); border-color: var(--line); }
.woocommerce .star-rating span, .woocommerce p.stars a { color: #f2a900; }

/* cart */
.woocommerce table.shop_table { border: 1px solid var(--line); border-radius: var(--r); border-collapse: separate; overflow: hidden; }
.woocommerce table.shop_table th { color: var(--ink); font-weight: 700; background: var(--mist); }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { border-color: var(--line); padding: 14px 16px; }
.woocommerce table.shop_table td.product-name a { color: var(--ink); font-weight: 700; text-decoration: none; }
.woocommerce table.shop_table img { border-radius: var(--r-sm); width: 72px; background: var(--mist); }
.woocommerce a.remove { color: var(--mute) !important; border: 1px solid var(--line); }
.woocommerce a.remove:hover { background: var(--red) !important; border-color: var(--red); color: #fff !important; }
.woocommerce-cart .ds-content button, .woocommerce-cart .ds-content .button { background: var(--ink) !important; border-color: var(--ink) !important; color: #fff !important; }
.woocommerce-cart .ds-content button:hover, .woocommerce-cart .ds-content .button:hover { background: var(--cyan-deep) !important; border-color: var(--cyan-deep) !important; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { background: var(--red) !important; border-color: var(--red) !important; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover { background: var(--red-dark) !important; border-color: var(--red-dark) !important; }
.woocommerce-cart table.cart { margin-bottom: 40px; }
.woocommerce-cart table.cart td.product-name { font-size: 17px; }
.woocommerce-cart table.cart td.product-price, .woocommerce-cart table.cart td.product-subtotal { font-weight: 700; color: var(--ink); }
.woocommerce-cart table.cart .quantity .qty { height: 46px; width: 80px; }
.woocommerce-cart table.cart td.actions { background: #fff; padding: 16px; }
.woocommerce-cart table.cart td.actions .coupon { display: flex; gap: 10px; align-items: center; }
.woocommerce-cart table.cart td.actions .coupon .input-text { height: 46px; border: 1.5px solid var(--line-2); border-radius: var(--pill); padding: 0 18px; width: 220px !important; margin: 0 !important; font-size: 15px; }
.woocommerce-cart table.cart td.actions .button[name="update_cart"]:disabled { opacity: .35; }

/* PW Gift Cards redeem box (cart + checkout): same pill input + line button as the coupon */
#pwgc-redeem-gift-card-form { margin: 0 0 20px; }
#pwgc-redeem-form, #pwgc-redeem-gift-card-container { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
#pwgc-redeem-form > br, #pwgc-redeem-gift-card-container > br { display: none; }
#pwgc-redeem-form label { flex: 0 0 100%; margin: 0; font-weight: 700; color: var(--ink); }
#pwgc-redeem-error:empty { display: none; }
#pwgc-redeem-error { flex: 0 0 100%; font-size: 14px; color: var(--red) !important; }
#pwgc-redeem-gift-card-number { flex: 1 1 200px; max-width: 280px; height: 46px; margin: 0; padding: 0 18px; border: 1.5px solid var(--line-2); border-radius: var(--pill); font: 15px var(--font); color: var(--ink); background: #fff; }
#pwgc-redeem-gift-card-number:focus { outline: none; border-color: var(--cyan-deep); box-shadow: 0 0 0 3px var(--ice); }
#pwgc-redeem-button { display: inline-flex !important; align-items: center; height: 46px; margin: 0 !important; padding: 0 22px; border: 1.5px solid var(--ink); border-radius: var(--pill); background: #fff; color: var(--ink); font: 700 15px var(--font); cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
#pwgc-redeem-button:hover { background: var(--ink); color: #fff; }
@media (max-width: 575px) {
  #pwgc-redeem-gift-card-number { max-width: none; }
  #pwgc-redeem-button { flex: 1 1 100%; justify-content: center; }
}

.ds-prose table.shop_table { display: table; width: 100%; overflow: hidden; font-size: 16px; }
.ds-prose table.shop_table td, .ds-prose table.shop_table th { vertical-align: middle; }
/* cart collaterals: cross-sells left, totals right; one cross-sell slot per viewport (inc/cart.php) */
.woocommerce-cart .cart-collaterals { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 40px; align-items: start; }
.woocommerce-cart .cart-collaterals::before, .woocommerce-cart .cart-collaterals::after { display: none; }
.woocommerce-cart .cart-collaterals .distillata-xs-desktop { grid-column: 1; grid-row: 1; min-width: 0; }
.woocommerce-cart .cart-collaterals .cart_totals { grid-column: 2; grid-row: 1; float: none !important; width: 100% !important; margin: 0; padding: 26px; background: var(--mist); border-radius: var(--r); }
.woocommerce-cart .cart-collaterals .distillata-xs-mobile { display: none; }
.woocommerce-cart .cart_totals table.shop_table { background: #fff; margin-bottom: 18px; }
.woocommerce-cart .cart_totals table.shop_table th { width: 38%; background: #fff; font-weight: 600; color: var(--mute); }
.woocommerce-cart .cart_totals table.shop_table td::before { content: none !important; }
.woocommerce-cart .cart_totals tr.order-total th, .woocommerce-cart .cart_totals tr.order-total td { color: var(--ink); font-size: 18px; font-weight: 800; }
.woocommerce-cart .cart_totals .woocommerce-shipping-destination { margin-bottom: 4px; }
.woocommerce-cart .wc-proceed-to-checkout { padding: 0; display: grid; gap: 12px; }
.woocommerce-cart .wc-proceed-to-checkout > * { margin: 0 !important; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { margin: 4px 0 0 !important; width: 100%; display: flex; align-items: center; justify-content: center; }
.woocommerce-cart .wc-proceed-to-checkout .pw-gift-card-form, .woocommerce-cart .wc-proceed-to-checkout form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.woocommerce-cart .wc-proceed-to-checkout label { width: 100%; font-weight: 600; color: var(--ink); font-size: 15px; }
.woocommerce-cart .wc-proceed-to-checkout input[type="text"] { flex: 1; min-width: 0; height: 46px; border: 1.5px solid var(--line-2); border-radius: var(--pill); padding: 0 18px; font-size: 15px; background: #fff; }
.woocommerce-cart .wc-proceed-to-checkout .button:not(.checkout-button), .woocommerce-cart .wc-proceed-to-checkout button { min-height: 46px; }
.woocommerce-cart .wc-proceed-to-checkout iframe, .woocommerce-cart .wc-proceed-to-checkout [id*="amazon"], .woocommerce-cart .wc-proceed-to-checkout [class*="amazon"] { max-width: 100% !important; }

.woocommerce-cart .cross-sells { float: none !important; width: 100% !important; margin: 0; }
.woocommerce-cart .cross-sells > h2 { font-size: 24px; margin-bottom: 18px; }
.woocommerce-cart .cross-sells ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; }
.woocommerce-cart .cross-sells ul.products li.product { padding: 10px 10px 14px; }
.woocommerce-cart .cross-sells ul.products li.product .woocommerce-loop-product__title { font-size: 15px; }
.woocommerce-cart .cross-sells ul.products li.product .price { font-size: 15px; margin-bottom: 12px; }
.woocommerce-cart .cross-sells ul.products li.product .button { min-height: 40px; font-size: 14px; }
.woocommerce-cart .cross-sells ul.products li.product .onsale { top: 16px; left: 16px; }
.distillata-xs-mobile .cross-sells { margin: 8px 0; padding-top: 18px; border-top: 1px solid var(--line); }
.distillata-xs-mobile .cross-sells > h2 { font-size: 18px; }
.distillata-xs-mobile .cross-sells ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.woocommerce-cart table.cart td.actions .button { min-height: 46px; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { min-height: 56px; font-size: 18px; }
.woocommerce .cart_totals h2 { font-size: 24px; }
.woocommerce-cart .wcpay-payment-request-wrapper { display: none !important; }
.cart-empty.woocommerce-info { font-size: 18px; }
.return-to-shop .button { margin-top: 12px; }

/* checkout */
.woocommerce-form-login-toggle, .woocommerce-form-coupon-toggle { display: none; }
.ds-checkout__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 32px; align-items: start; }
.ds-checkout__side { position: sticky; top: 120px; }
.ds-panel { padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 20px; }
.ds-panel h3, .ds-panel h2 { font-size: 22px; margin-bottom: 18px; }
.ds-panel--summary { background: var(--mist); }
.ds-panel--summary table.shop_table { background: #fff; }
.ds-checkout__help { display: flex; align-items: center; gap: 8px; color: var(--mute); font-size: 15px; }
.ds-checkout__help .ds-ic { width: 18px; height: 18px; color: var(--cyan-deep); }
.woocommerce form .form-row { padding: 0; margin: 0 0 16px; }
.woocommerce form .form-row label { font-weight: 600; color: var(--ink); font-size: 15px; margin-bottom: 6px; line-height: 1.4; }
.woocommerce form .form-row .required { color: var(--red); text-decoration: none; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row textarea.input-text, .woocommerce form .form-row select,
.woocommerce form .form-row .select2-container .select2-selection--single {
  width: 100%; height: 50px; padding: 0 16px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); background: #fff; font-size: 16px; color: var(--ink); box-shadow: none;
}
/* textarea.input-text: Woo 11's `.form-row .input-text { height:auto }` out-ranks a bare textarea selector */
.woocommerce form .form-row textarea, .woocommerce form .form-row textarea.input-text { height: 110px; padding: 12px 16px; }
.woocommerce form .form-row .select2-container .select2-selection--single .select2-selection__rendered { line-height: 47px; padding: 0; color: var(--ink); }
.woocommerce form .form-row .select2-container .select2-selection--single .select2-selection__arrow { height: 48px; right: 8px; }
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus, .woocommerce form .form-row select:focus { outline: 0; border-color: var(--cyan); box-shadow: 0 0 0 4px var(--ice); }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: calc(50% - 8px); }
.woocommerce form .form-row .description { font-size: 13px; color: var(--mute); margin-top: 6px; display: block !important; position: static; background: none; padding: 0; }
.woocommerce form .form-row .description::before { display: none; }
.woocommerce form .form-row .woocommerce-input-wrapper .description { position: static; display: block !important; margin-top: 6px; padding: 0; background: none; color: var(--mute); font-size: 13px; border-radius: 0; }
.woocommerce form .form-row .woocommerce-input-wrapper .description::before { display: none; }
.woocommerce form .form-row.woocommerce-invalid input.input-text { border-color: var(--red); }
#ship-to-different-address { font-size: 18px; margin-top: 8px; }
#ship-to-different-address label { display: flex; gap: 10px; align-items: center; font-weight: 700; }
.woocommerce-checkout #payment { background: transparent; border-radius: 0; }
.woocommerce-checkout #payment ul.payment_methods { padding: 0 0 12px; border: 0; }
.woocommerce-checkout #payment ul.payment_methods li { padding: 14px 16px; margin-bottom: 8px; border: 1px solid var(--line); border-radius: var(--r-sm); list-style: none; }
.woocommerce-checkout #payment ul.payment_methods li label { font-weight: 700; color: var(--ink); }
.woocommerce-checkout #payment div.payment_box { background: var(--mist); border-radius: var(--r-sm); color: var(--ink-2); }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--mist); }
.woocommerce-checkout #payment div.form-row { padding: 12px 0 0; }
.woocommerce #payment #place_order, .woocommerce-page #payment #place_order { float: none; width: 100%; min-height: 58px; font-size: 18px; background: var(--red); border-color: var(--red); }
.woocommerce #payment #place_order:hover, .woocommerce-page #payment #place_order:hover { background: var(--red-dark); border-color: var(--red-dark); }
/* carried over from the old Additional CSS: payment options deliberately hidden */
a.about_paypal, .save-details, li.wc_payment_method.payment_method_woocommerce_payments, div#wcpay-woopay-button, p#wcpay-payment-request-button-separator { display: none !important; }
input#payment_method_woocommerce_payments { opacity: 0 !important; }
.woocommerce-checkout .woocommerce-privacy-policy-text { font-size: 13px; color: var(--mute); }

/* account */
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-radius: var(--r-sm); color: var(--ink-2); font-weight: 600; text-decoration: none; }
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a, .woocommerce-account .woocommerce-MyAccount-navigation a:hover { background: var(--mist); color: var(--ink); }
.woocommerce form.login, .woocommerce form.register { border: 1px solid var(--line) !important; border-radius: var(--r) !important; padding: 28px !important; }

/* side cart (xoo) */
.xoo-wsc-container, .xoo-wsc-slider { font-family: var(--font) !important; }
.xoo-wsc-container .xoo-wsc-header { border-bottom: 1px solid var(--line); }
.xoo-wsc-ft-btn { border-radius: var(--pill) !important; font-weight: 700 !important; }
.xoo-wsc-ft-btn-checkout { background: var(--red) !important; color: #fff !important; }
.xoo-wsc-ft-btn-checkout:hover { background: var(--red-dark) !important; }
.xoo-wsc-container a.xoo-wsc-ft-btn.button:not(.xoo-wsc-ft-btn-checkout) { background: #fff !important; color: var(--ink) !important; border: 1.5px solid var(--line-2) !important; }
.xoo-wsc-basket { display: none !important; }
/* side cart suggestions */
.xoo-wsc-modal .xoo-wsc-sp-container { background: #fff !important; margin: 4px 0 12px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); }
.xoo-wsc-modal .xoo-wsc-sp-heads, .xoo-wsc-modal .xoo-wsc-sp-container .xoo-wsc-sp-heading { font-weight: 800; color: var(--ink); font-size: 16px; text-align: left; }
.xoo-wsc-modal .xoo-wsc-sp-product { padding: 10px 0; border-top: 1px solid var(--line); }
.xoo-wsc-modal .xoo-wsc-sp-product:first-of-type { border-top: 0; }
.xoo-wsc-modal .xoo-wsc-sp-product img { border-radius: var(--r-sm); background: var(--mist); mix-blend-mode: multiply; }
.xoo-wsc-modal .xoo-wsc-sp-container a { text-decoration: none !important; color: var(--ink) !important; font-weight: 600; }
.xoo-wsc-modal .xoo-wsc-sp-container .xoo-wsc-sp-atc a, .xoo-wsc-modal .xoo-wsc-sp-container .add_to_cart_button { background: #fff; border-color: var(--line-2); color: var(--red) !important; font-weight: 700; text-transform: none; }
.xoo-wsc-modal .xoo-wsc-sp-container .xoo-wsc-sp-atc a:hover, .xoo-wsc-modal .xoo-wsc-sp-container .add_to_cart_button:hover { background: var(--red); border-color: var(--red); color: #fff !important; }
/* ported from Distillata2020 inc/cart.php, recoloured */

/* ============================================================
 * Side cart container + header
 * ============================================================ */
.xoo-wsc-modal .xoo-wsc-container { background: var(--mist); }
.xoo-wsc-modal .xoo-wsc-header { background: #fff; border-bottom: 1px solid var(--line); }
.xoo-wsc-modal .xoo-wsch-text { font-size: 1.05em; font-weight: 600; color: var(--ink); }
.xoo-wsc-modal .xoo-wsch-close { color: var(--mute); cursor: pointer; }
.xoo-wsc-modal .xoo-wsch-close:hover { color: var(--ink); }
.xoo-wsc-modal .xoo-wsc-notices { margin: 0; padding: 0; list-style: none; }
.xoo-wsc-modal .xoo-wsc-notice-success {
  background: #e8f6ec; color: #27692a;
  padding: .55em .75em; border-radius: 6px;
  font-size: .85em; line-height: 1.3;
}

/* ============================================================
 * Body + product list
 * ============================================================ */
.xoo-wsc-modal .xoo-wsc-body { padding: 1em; background: var(--mist); }
.xoo-wsc-modal .xoo-wsc-products { padding: 0; margin: 0; }
.xoo-wsc-modal .xoo-wsc-product {
  display: grid;
  grid-template-columns: 80px 1fr;
  column-gap: 1em;
  padding: 1em;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  margin-bottom: .75em;
  position: relative;
}
.xoo-wsc-modal .xoo-wsc-img-col {
  align-self: center;
  width: 80px !important;   /* defeats plugin customizer's inline width:35% */
  flex: 0 0 80px;
}
.xoo-wsc-modal .xoo-wsc-img-col a { display: block; }
.xoo-wsc-modal .xoo-wsc-img-col img {
  width: 80px !important; max-width: 80px !important;
  height: auto !important; max-height: 80px;
  object-fit: contain; display: block; margin: 0 !important;
}
.xoo-wsc-modal .xoo-wsc-sum-col {
  width: auto !important;          /* defeats plugin's inline width:65% */
  min-width: 0;
}
.xoo-wsc-modal .xoo-wsc-sm-sales {
  font-size: .68em; color: var(--mute); margin-bottom: .35em;
  text-transform: uppercase; letter-spacing: .05em; font-weight: 500;
}
/* sm-info: flatten sm-left/sm-right, then grid the name, price, qty, delete and line total */
.xoo-wsc-modal .xoo-wsc-sm-info {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "name  del"
    "price price"
    "qty   subtotal";
  column-gap: .5em;
  row-gap: .25em;
  align-items: center;
}
.xoo-wsc-modal .xoo-wsc-sm-left,
.xoo-wsc-modal .xoo-wsc-sm-right { display: contents; }
.xoo-wsc-modal .xoo-wsc-pname {
  grid-area: name; display: block; margin: 0; min-width: 0;
}
.xoo-wsc-modal .xoo-wsc-pname a {
  color: var(--ink) !important; text-decoration: none !important;
  font-weight: 600; font-size: .92em; line-height: 1.3;
}
.xoo-wsc-modal .xoo-wsc-pname a:hover { color: var(--ink) !important; }
.xoo-wsc-modal .xoo-wsc-pprice {
  grid-area: price; color: var(--mute); font-size: .8em; margin: 0;
}
.xoo-wsc-modal .xoo-wsc-pprice .woocommerce-Price-amount { font-weight: 500; color: var(--mute); }

/* Quantity stepper */
.xoo-wsc-modal .xoo-wsc-qty-box {
  grid-area: qty; justify-self: start;
  display: inline-flex; align-items: center;
  border: 1px solid var(--line-2); border-radius: 6px;
  background: #fff; overflow: hidden; line-height: 1;
}
.xoo-wsc-modal .xoo-wsc-qty-box .xoo-wsc-chng {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; cursor: pointer;
  color: var(--ink-2); background: transparent;
  font-size: 1em; user-select: none; border: 0;
}
.xoo-wsc-modal .xoo-wsc-qty-box .xoo-wsc-chng:hover { background: var(--line); color: var(--ink); }
.xoo-wsc-modal .xoo-wsc-qty-box input.xoo-wsc-qty {
  width: 38px; height: 28px; padding: 0; border: 0;
  text-align: center; background: transparent; font-size: .9em;
  color: var(--ink); -moz-appearance: textfield;
}
.xoo-wsc-modal .xoo-wsc-qty-box input.xoo-wsc-qty::-webkit-inner-spin-button,
.xoo-wsc-modal .xoo-wsc-qty-box input.xoo-wsc-qty::-webkit-outer-spin-button {
  -webkit-appearance: none; margin: 0;
}

/* Trash + per-line subtotal */
.xoo-wsc-modal .xoo-wsc-smr-del {
  grid-area: del; justify-self: end; align-self: start;
  color: var(--mute); font-size: 1em; cursor: pointer;
  line-height: 1; padding: 2px;
}
.xoo-wsc-modal .xoo-wsc-smr-del:hover { color: var(--ink); }
.xoo-wsc-modal .xoo-wsc-smr-ptotal {
  grid-area: subtotal; justify-self: end;
  font-weight: 700; color: var(--ink); font-size: .95em;
  white-space: nowrap;
}

/* ============================================================
 * Footer — totals + buttons
 * ============================================================ */
.xoo-wsc-modal .xoo-wsc-footer {
  background: #fff; border-top: 1px solid var(--line);
  padding: 1em;
}
.xoo-wsc-modal .xoo-wsc-ecl {
  display: inline-block; font-size: .78em; color: var(--mute);
  margin-bottom: .5em; cursor: pointer;
  text-decoration: underline;
}
.xoo-wsc-modal .xoo-wsc-ecl:hover { color: var(--ink); }
.xoo-wsc-modal .xoo-wsc-ft-extras { margin-bottom: .5em; }
.xoo-wsc-modal .xoo-wsc-ftx-row {
  display: flex; align-items: center; gap: .5em;
  padding: .4em 0;
  font-size: .88em;
}
.xoo-wsc-modal .xoo-wsc-ftx-icon { color: var(--mute); }
.xoo-wsc-modal .xoo-wsc-toggle-slider {
  cursor: pointer; color: var(--ink-2); font-weight: 500;
}
.xoo-wsc-modal .xoo-wsc-toggle-slider:hover { color: var(--ink); }

/* Totals rows */
.xoo-wsc-modal .xoo-wsc-ft-totals {
  border-top: 1px solid var(--line);
  padding-top: .35em; margin: 0 0 .85em;
}
.xoo-wsc-modal .xoo-wsc-ft-amt {
  display: flex; justify-content: space-between; align-items: center;
  padding: .45em 0;
}
.xoo-wsc-modal .xoo-wsc-ft-amt-label { color: var(--mute); font-weight: 500; }
.xoo-wsc-modal .xoo-wsc-ft-amt-value { color: var(--ink); font-weight: 500; }
.xoo-wsc-modal .xoo-wsc-ft-amt-total {
  border-top: 1px solid var(--line); padding-top: .65em; margin-top: .15em;
}
.xoo-wsc-modal .xoo-wsc-ft-amt-total .xoo-wsc-ft-amt-label,
.xoo-wsc-modal .xoo-wsc-ft-amt-total .xoo-wsc-ft-amt-value {
  font-size: 1.05em; font-weight: 700; color: var(--ink);
}

/* Buttons grid: Continue / View Cart on row 1, Checkout (primary) on row 2 */
.xoo-wsc-modal .xoo-wsc-ft-buttons-cont {
  display: grid; gap: .55em;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "continue cart"
    "checkout checkout";
}
.xoo-wsc-modal .xoo-wsc-ft-btn {
  display: flex !important; align-items: center; justify-content: center;
  padding: .7em 1em !important; margin: 0 !important;
  font-weight: 600 !important; border-radius: var(--pill) !important;
  text-decoration: none !important; font-size: .9em !important;
  line-height: 1.2; min-height: 42px;
  box-sizing: border-box; width: 100%;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.xoo-wsc-modal .xoo-wsc-ft-btn-continue {
  grid-area: continue;
  background: transparent !important; color: var(--ink-2) !important;
  border: 1px solid var(--line-2) !important;
}
.xoo-wsc-modal .xoo-wsc-ft-btn-continue:hover {
  background: var(--mist) !important; color: var(--ink) !important;
}
.xoo-wsc-modal .xoo-wsc-ft-btn-cart {
  grid-area: cart;
  background: transparent !important; color: var(--ink) !important;
  border: 1px solid var(--ink) !important;
}
.xoo-wsc-modal .xoo-wsc-ft-btn-cart:hover {
  background: var(--mist) !important; color: var(--ink) !important;
}
.xoo-wsc-modal .xoo-wsc-ft-btn-checkout {
  grid-area: checkout;
  background: var(--red) !important; color: #fff !important;
  border: 1px solid var(--red) !important;
  min-height: 48px; font-size: 1em !important;
}
.xoo-wsc-modal .xoo-wsc-ft-btn-checkout:hover {
  background: var(--red-dark) !important; border-color: var(--red-dark) !important;
  color: #fff !important;
}

/* ============================================================
 * Tight mobile (small phones)
 * ============================================================ */
@media (max-width: 480px) {
  .xoo-wsc-modal .xoo-wsc-product {
    grid-template-columns: 64px 1fr; padding: .75em;
  }
  .xoo-wsc-modal .xoo-wsc-img-col img { width: 64px !important; max-height: 64px; }
  .xoo-wsc-modal .xoo-wsc-pname a { font-size: .9em; }
}
 /* the header cart button replaces the floating basket */

/* forms (Gravity Forms) */
.gform_wrapper .gfield_label, .gform_wrapper .gform-field-label { font-family: var(--font) !important; font-weight: 600 !important; color: var(--ink) !important; font-size: 15px !important; }
.gform_wrapper input[type="text"], .gform_wrapper input[type="email"], .gform_wrapper input[type="tel"], .gform_wrapper input[type="number"], .gform_wrapper select, .gform_wrapper textarea {
  border: 1.5px solid var(--line-2) !important; border-radius: var(--r-sm) !important; min-height: 50px; padding: 10px 14px !important; font-size: 16px !important; background: #fff !important; box-shadow: none !important; color: var(--ink) !important;
}
.gform_wrapper input[type="text"], .gform_wrapper input[type="email"], .gform_wrapper input[type="tel"], .gform_wrapper input[type="number"] { height: 50px !important; line-height: 1.4 !important; }
.gform_wrapper select { height: 50px !important; min-height: 50px !important; line-height: 1.4 !important; padding: 0 42px 0 14px !important; -webkit-appearance: none; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e1116' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px !important; }
.gform_wrapper input:focus, .gform_wrapper select:focus, .gform_wrapper textarea:focus { border-color: var(--cyan) !important; box-shadow: 0 0 0 4px var(--ice) !important; outline: 0 !important; }
.gform_wrapper input::placeholder, .gform_wrapper textarea::placeholder { color: var(--mute) !important; }
.gform_wrapper .gform_button, .gform_wrapper input[type="submit"] {
  min-height: 54px !important; padding: 0 30px !important; border: 0 !important; border-radius: var(--pill) !important; background: var(--red) !important; color: #fff !important;
  font-family: var(--font) !important; font-weight: 700 !important; font-size: 17px !important; cursor: pointer; transition: background .2s;
}
.gform_wrapper .gform_button:hover, .gform_wrapper input[type="submit"]:hover { background: var(--red-dark) !important; }
.gform_wrapper .gsection_title { color: var(--ink); font-weight: 800; margin-top: 30px; }
.gform_required_legend { display: none !important; }
#gform_fields_6 label.gform-field-label.gform-field-label--type-sub { display: none !important; }
#gform_fields_6 { text-align: left; }
.gform_wrapper .gform_fields { gap: 16px !important; }

/* third-party chrome */
.grecaptcha-badge { display: none !important; }
div#chat-widget-container { left: 0; }
.cky-revisit-bottom-left { left: 100px !important; }

/* ============================================================== responsive */
@media (max-width: 1365px) {
  .ds-header__search { width: 240px; }
  .ds-nav__list > li > a { padding: 0 10px; font-size: 15px; }
  .ds-header__in { gap: 18px; }
}

@media (max-width: 1199px) {
  :root { --gutter: 28px; --header-h: 68px; }
  h1 { font-size: 44px; }
  h2 { font-size: 34px; }
  .ds-util__note { display: none; }
  .ds-nav { display: none; }
  .ds-burger, .ds-header__searchtoggle { display: inline-grid; }
  .ds-header__search {
    position: absolute; left: 0; right: 0; top: 100%; width: auto; padding: 12px var(--gutter) 16px; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 20px rgba(14,17,22,.06); display: none;
  }
  .ds-header__search.is-open { display: block; }
  .ds-header__search .dq-s__panel { min-width: 0; left: 0; right: 0; }
  .ds-header__search .dq-s__field { background: #fff; border-color: var(--line-2); }
  .ds-header__in { position: relative; }

  .ds-sec { padding: 80px 0; }
  .ds-hero h1 { font-size: 52px; }
  .ds-hero__in { gap: 44px; }
  .ds-hero__review { left: -24px; width: 270px; }
  .ds-services { grid-template-columns: repeat(2, 1fr); }
  .ds-how, .ds-faqsplit { gap: 48px; }
  .ds-proof { grid-template-columns: repeat(2, 1fr); }
  .woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(3, 1fr); }
  .ds-footer__grid { grid-template-columns: 1fr 1fr; }
  .ds-phero h1, .ds-contact h1 { font-size: 44px; }
  .ds-cta__copy { padding: 52px; }
  .ds-cta h2 { font-size: 38px; }
}

@media (max-width: 991px) {
  .ds-hero { padding-top: 40px; }
  .ds-hero__in, .ds-how, .ds-area, .ds-faqsplit, .ds-phero__in, .ds-contact__in, .ds-split__in, .ds-product__top, .ds-checkout__grid { grid-template-columns: 1fr; }
  .ds-hero__media { max-width: 620px; }
  .ds-hero__frame { aspect-ratio: 4 / 3; margin-left: 0; }
  .ds-hero__review { left: 16px; bottom: -28px; }
  .ds-proof { margin-top: 72px; }
  .ds-how__intro, .ds-faqsplit__intro, .ds-product__media, .ds-checkout__side { position: static; }
  .ds-area__media { order: 2; }
  .ds-reviews, .ds-postgrid, .ds-tiles, .ds-tiles--4 { grid-template-columns: repeat(2, 1fr); }
  .ds-cta { grid-template-columns: 1fr; }
  .ds-cta__media { min-height: 0; aspect-ratio: 16 / 8; }
  .ds-cta--slim { grid-template-columns: 1fr; }
  .ds-split--left .ds-split__media { order: 0; }
  .ds-split__in { padding: 28px; gap: 28px; }
  .ds-split__media { order: -1; }
  .ds-sechead { flex-direction: column; align-items: flex-start; gap: 14px; }
}

@media (max-width: 767px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  h1 { font-size: 36px; }
  h2 { font-size: 29px; }
  h3 { font-size: 20px; }
  .ds-util__in { gap: 14px; min-height: 38px; font-size: 13px; }
  .ds-util__links { gap: 14px; }
  .ds-util__links a span { display: none; }
  .ds-util__links a:first-child span, .ds-util__links a:last-child span { display: inline; }
  /* phones: shorter ZIP label so phone + "Account" fit on one line */
  .ds-util__zip, .ds-util__links a { white-space: nowrap; }
  .ds-util__zip-full { display: none; }
  .ds-util__zip-short { display: inline; }
  .ds-util__links a:nth-child(2) { display: none; }
  .ds-logo img { width: 124px; }
  .ds-iconbtn { width: 42px; height: 42px; }
  .ds-header__actions { gap: 6px; }

  .ds-sec { padding: 64px 0; }
  .ds-sec--tight { padding: 48px 0; }
  .ds-hero h1 { font-size: 40px; }
  .ds-hero__lead { font-size: 18px; }
  .ds-zipform--hero { padding: 16px; }
  .ds-zipform__row { flex-direction: column; }
  .ds-zipform__row input { flex: none; width: 100%; }
  .ds-zipform__row .ds-btn { width: 100%; }
  .ds-hero__review { position: relative; left: auto; bottom: auto; width: auto; margin: -36px 14px 0; }
  .ds-proof { grid-template-columns: 1fr; gap: 18px; margin-top: 44px; }
  .ds-services { grid-template-columns: 1fr; gap: 16px; }
  .ds-service { flex-direction: row; }
  .ds-service__img { width: 38%; aspect-ratio: auto; flex: none; }
  .ds-service__body { padding: 16px; }
  .ds-service h3 { font-size: 18px; }
  .ds-service p { display: none; }
  .ds-step { padding: 22px; gap: 16px; }
  .ds-step__ic { width: 46px; height: 46px; }
  .ds-reviews, .ds-postgrid, .ds-tiles, .ds-tiles--4 { grid-template-columns: 1fr; }
  .ds-acc summary { padding: 18px; font-size: 17px; }
  .ds-acc__body { padding: 0 18px 18px; }
  .ds-cta { border-radius: var(--r); }
  .ds-cta__copy { padding: 32px 24px; }
  .ds-cta--slim { padding: 32px 24px; }
  .ds-cta h2 { font-size: 30px; }
  .ds-cta .ds-btn { width: 100%; }

  .ds-pagehead { padding: 28px 0 32px; margin-bottom: 40px; }
  .ds-pagehead--compact h1 { font-size: 30px; }
  .ds-phero { padding: 24px 0 32px; margin-bottom: 40px; }
  .ds-phero__in { gap: 24px; }
  .ds-phero h1, .ds-contact h1 { font-size: 34px; }
  .ds-contact__form { padding: 24px; }
  .ds-content { padding-bottom: 56px; }
  .ds-prose h1 { font-size: 30px; }
  .ds-prose h2, .ds-content > h2 { font-size: 26px; }
  .ds-prose h3 { font-size: 21px; }
  .ds-split__in { padding: 20px; border-radius: var(--r); }
  .ds-split__copy h2 { font-size: 26px; }
  .ds-split .ds-btn { width: 100%; white-space: normal; text-align: center; }
  .ds-chipnav { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .ds-chipnav a { white-space: nowrap; }
  .ds-result { grid-template-columns: 72px 1fr; gap: 14px; }
  .ds-result__img { width: 72px; height: 72px; }
  .ds-result__go { display: none; }
  .ds-empty--404 h1 { font-size: 36px; }

  .woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .woocommerce ul.products li.product { padding: 10px 10px 14px; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 14.5px; }
  .woocommerce ul.products li.product .price { font-size: 15px; }
  .woocommerce ul.products li.product .button { font-size: 13.5px; min-height: 42px; padding: 0 8px; }
  .woocommerce span.onsale, .woocommerce ul.products li.product .onsale { top: 16px !important; left: 16px !important; }
  .ds-oos { top: 16px; right: 16px; font-size: 11px; }
  .ds-product__media { padding: 16px; border-radius: var(--r); }
  .ds-product__top { gap: 28px; margin-bottom: 48px; }
  .woocommerce div.product .product_title { font-size: 30px; }
  .woocommerce div.product p.price { font-size: 24px; }
  .woocommerce div.product form.cart { padding: 16px; }
  .woocommerce div.product .woocommerce-tabs ul.tabs { border-radius: var(--r); width: 100%; }
  .woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 100%; float: none; }
  .ds-panel { padding: 20px; }
  .woocommerce-cart table.cart td.actions .coupon .input-text { width: 100% !important; margin-bottom: 8px; }
  .woocommerce table.shop_table_responsive tbody th { display: block !important; }

  .ds-footer { padding-top: 56px; }
  .ds-footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .ds-footer__bar { flex-direction: column; margin-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ============================================================ cart: tablet + phone */
@media (max-width: 991px) {
  .woocommerce-cart .cart-collaterals { grid-template-columns: 1fr; gap: 0; }
  .woocommerce-cart .cart-collaterals .distillata-xs-desktop { display: none; }
  .woocommerce-cart .cart-collaterals .distillata-xs-mobile { display: block; }
  .woocommerce-cart .cart-collaterals .cart_totals { grid-column: 1; padding: 20px; }
  .woocommerce-cart table.cart, .ds-prose table.shop_table.cart { display: block; border: 0; background: transparent; overflow: visible; }
  .woocommerce-cart table.cart tbody { display: block; }
  .woocommerce-cart table.cart thead { display: none; }
  .woocommerce-cart table.cart tr.cart_item {
    display: grid; grid-template-columns: 76px 1fr; grid-template-areas: "thumb name" "thumb price" "thumb quantity" "thumb subtotal";
    column-gap: 16px; row-gap: 6px; padding: 16px 44px 16px 16px; margin-bottom: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); position: relative;
  }
  .woocommerce-cart table.cart tr.cart_item td { display: block; padding: 0; border: 0; text-align: left !important; background: transparent; }
  .woocommerce-cart table.cart tr.cart_item td::before { float: none; content: attr(data-title) ": "; font-weight: 500; color: var(--mute); font-size: 14px; margin-right: 4px; }
  .woocommerce-cart table.cart tr.cart_item td.product-name::before, .woocommerce-cart table.cart tr.cart_item td.product-thumbnail::before, .woocommerce-cart table.cart tr.cart_item td.product-remove::before { content: none; }
  .woocommerce-cart table.cart tr.cart_item td.product-thumbnail { grid-area: thumb; display: block !important; align-self: start; }
  .woocommerce-cart table.cart tr.cart_item td.product-thumbnail img { width: 76px; }
  .woocommerce-cart table.cart tr.cart_item td.product-name { grid-area: name; }
  .woocommerce-cart table.cart tr.cart_item td.product-price { grid-area: price; font-weight: 500; }
  .woocommerce-cart table.cart tr.cart_item td.product-quantity { grid-area: quantity; display: flex; align-items: center; }
  .woocommerce-cart table.cart tr.cart_item td.product-subtotal { grid-area: subtotal; }
  .woocommerce-cart table.cart tr.cart_item td.product-remove { position: absolute; top: 12px; right: 12px; }
  .woocommerce-cart table.cart tr:last-child { display: block; }
  .woocommerce-cart table.cart td.actions { display: block; padding: 0; border: 0; background: transparent; }
  .woocommerce-cart table.cart td.actions .coupon { float: none; width: 100%; margin-bottom: 10px; }
  .woocommerce-cart table.cart td.actions .coupon .input-text { flex: 1; width: auto !important; min-width: 0; }
  .woocommerce-cart table.cart td.actions > .button { width: 100%; }
  .woocommerce-cart .cart_totals table.shop_table { display: table; }
  .woocommerce-cart .cart_totals table.shop_table tbody { display: table-row-group; }
  .woocommerce-cart .cart_totals table.shop_table tr { display: table-row !important; }
  .woocommerce-cart .cart_totals table.shop_table th, .woocommerce-cart .cart_totals table.shop_table td { display: table-cell !important; padding: 12px 14px; }
  .woocommerce-cart .cart_totals table.shop_table td { text-align: right !important; }
}

/* fixed-width embeds (YouTube etc.) in descriptions and copy */
.ds-prose iframe, .ds-product__details iframe, .woocommerce-Tabs-panel iframe, .ds-content iframe { max-width: 100%; }
.ds-prose iframe[src*="youtube"], .ds-prose iframe[src*="vimeo"], .ds-product__details iframe[src*="youtube"], .ds-product__details iframe[src*="vimeo"], .ds-content iframe[src*="youtube"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }

/* Title as a <p> when the body carries its own H1 (inc/one-h1.php). Mirrors the h1 rules above. */
p.ds-title { color: var(--ink); font-family: var(--font); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; font-size: 52px; }
.ds-pagehead p.ds-title { margin: 0; max-width: 900px; }
.ds-pagehead--compact p.ds-title { font-size: 40px; }
.ds-phero p.ds-title { font-size: 52px; margin: 0; letter-spacing: -.03em; }
@media (max-width: 1199px) { p.ds-title { font-size: 44px; } .ds-phero p.ds-title { font-size: 44px; } }
@media (max-width: 767px) { p.ds-title { font-size: 36px; } .ds-pagehead--compact p.ds-title { font-size: 30px; } .ds-phero p.ds-title { font-size: 34px; } }

/* QA 2026-11-17: contact hero title renders as <p class="ds-title"> when the body copy already has a different H1 (one H1 per page); match the hero h1 sizes. */
.ds-contact p.ds-title { margin: 0 0 .5em; font-size: 52px; }
@media (max-width: 1199px) { .ds-contact p.ds-title { font-size: 44px; } }
@media (max-width: 767px) { .ds-contact p.ds-title { font-size: 34px; } }
/* QA 2026-11-17: util bar tap targets were 21px tall on phones; fill the 38px bar height (no visual change). */
@media (max-width: 767px) { .ds-util__zip, .ds-util__links a { min-height: 38px; } }
/* 2026-11-17 (April): LiveChat's bubble / message bar sat on top of the side cart's Checkout button on phones. Hide the chat widget while the side cart is open; it comes back when the cart closes. */
html.xoo-wsc-cart-active div#chat-widget-container, body.xoo-wsc-cart-active div#chat-widget-container { display: none !important; }
