/* ============================================================
   MINIMAL — clean universal e-commerce theme
   Palette: white, ink, warm gray · one quiet red for sale tags
   Type: Space Grotesk (display) + Inter (body/UI)
   ============================================================ */

:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #f6f6f3;
  --bg-soft-2: #eeeeea;
  --ink: #141414;
  --ink-2: #3d3d3a;
  --muted: #6f6f69;
  --line: #e6e6e1;
  --line-strong: #cfcfc8;
  --red: #c73e3e;
  --star: #141414;
  --shadow: 0 16px 40px rgba(20, 20, 20, 0.08);
  --radius: 14px;
  --radius-sm: 10px;
  --container: 1150px;
  --header-h: 72px;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --btn-primary-text: #ffffff;
  --btn-primary-bg: #141414;
  --btn-primary-hover-bg: #3d3d3a;
  --btn-secondary-text: #141414;
  --btn-secondary-bg: #ffffff;
  --btn-secondary-hover-bg: #141414;
  --btn-secondary-hover-text: #ffffff;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #121212;
  --bg-soft: #1e1e1e;
  --bg-soft-2: #282828;
  --ink: #f5f5f5;
  --ink-2: #e0e0e0;
  --muted: #a0a0a0;
  --line: #333333;
  --line-strong: #444444;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  --btn-primary-text: #121212;
  --btn-primary-bg: #f5f5f5;
  --btn-primary-hover-bg: #e0e0e0;
  --btn-secondary-text: #f5f5f5;
  --btn-secondary-bg: #1e1e1e;
  --btn-secondary-hover-bg: #333333;
  --btn-secondary-hover-text: #ffffff;
}

[data-theme="dark"] .site-header {
  background: rgba(18, 18, 18, 0.95);
}

[data-theme="dark"] .mobile-panel {
  background: #181818;
}

[data-theme="dark"] .cart-drawer {
  background: #181818;
}

[data-theme="dark"] .search-overlay {
  background: #121212;
}

[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea {
  background: #1e1e1e;
  color: #f5f5f5;
  border-color: #333333;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  max-width: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

#MainContent {
  overflow-x: clip;
}

body.no-scroll {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

figure {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.5em;
}

h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  font-weight: 600;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 600;
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

em {
  font-style: normal;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
  text-decoration-color: var(--line-strong);
}

::selection {
  background: var(--ink);
  color: var(--bg);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 200;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 22px;
  border-radius: 0 0 12px 0;
}

.skip-link:focus {
  left: 0;
  top: 0;
}

/* ---------- shared bits ---------- */

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.section {
  padding: clamp(60px, 8vw, 96px) 0;
}

.section-sm {
  padding: clamp(40px, 5vw, 64px) 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.section-head h2 {
  margin: 10px 0 0;
}

.section-head .lead {
  max-width: 32em;
  color: var(--muted);
  margin: 10px 0 0;
  font-size: 0.98rem;
}

.section-head .stack {
  display: grid;
  gap: 2px;
  justify-items: start;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  background: var(--btn-primary-bg, var(--ink));
  color: var(--btn-primary-text, #fff);
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s ease;
}

.btn:hover {
  background: var(--btn-primary-hover-bg, var(--ink-2));
  color: var(--btn-primary-text, #fff);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary,
.btn.btn-primary {
  background: var(--btn-primary-bg, var(--ink));
  color: var(--btn-primary-text, #fff);
}

.btn-primary:hover,
.btn.btn-primary:hover {
  background: var(--btn-primary-hover-bg, var(--ink-2));
  color: var(--btn-primary-text, #fff);
}

.btn-secondary,
.btn-outline,
.btn.btn-secondary,
.btn.btn-outline {
  background: var(--btn-secondary-bg, #ffffff);
  color: var(--btn-secondary-text, var(--ink));
  box-shadow: inset 0 0 0 1px var(--btn-secondary-border, var(--line-strong));
}

.btn-secondary:hover,
.btn-outline:hover,
.btn.btn-secondary:hover,
.btn.btn-outline:hover {
  background: var(--btn-secondary-hover-bg, var(--ink));
  color: var(--btn-secondary-hover-text, #fff);
  box-shadow: none;
}

.btn-light {
  background: #fff;
  color: var(--ink);
}

.btn-light:hover {
  background: var(--bg-soft);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
}

.text-link svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s ease;
}

.text-link:hover svg {
  transform: translateX(3px);
}

/* ---------- reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .marquee-track,
  .float-soft {
    animation: none !important;
  }
}

/* ---------- sketches (line art) ---------- */

.sketch {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sketch .fine {
  stroke-width: 1.2;
}

.sketch .dash {
  stroke-dasharray: 3 6;
  stroke-width: 1.2;
}

/* ---------- announcement ---------- */

.announcement {
  background: var(--ink);
  color: var(--bg);
  font-size: 0.78rem;
  font-weight: 500;
  text-align: center;
  padding: 10px 18px;
  position: relative;
  overflow: hidden;
}

.announce-msg {
  opacity: 0;
  transition: opacity 0.5s ease;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
}

.announce-msg.show {
  opacity: 1;
}

.announcement .holder {
  visibility: hidden;
  white-space: nowrap;
}

/* ---------- header ---------- */

.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 990;
  width: 100%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.site-header--not-sticky,
.site-header[data-sticky="false"] {
  position: relative !important;
  top: auto !important;
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
  width: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
  text-decoration: none;
}

.logo img,
.logo-img {
  display: block;
  max-height: 48px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

.logo .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
  align-self: center;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(18px, 2.8vw, 36px);
}

.main-nav > a,
.main-nav .menu-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-2);
  padding: 6px 0;
  position: relative;
  transition: color 0.2s ease;
}

.main-nav > a::after,
.main-nav .menu-label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.main-nav > a:hover,
.main-nav > a[aria-current="page"],
.main-nav .menu-label:hover,
.main-nav .menu-label[aria-current="page"],
.main-nav .menu-branch.is-active > .menu-trigger .menu-label {
  color: var(--ink);
}

.main-nav > a:hover::after,
.main-nav > a[aria-current="page"]::after,
.main-nav .menu-label:hover::after,
.main-nav .menu-label[aria-current="page"]::after,
.main-nav .menu-branch.is-active > .menu-trigger .menu-label::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: flex-end;
}

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--ink);
  transition: background 0.2s ease;
}

.icon-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-btn:hover {
  background: var(--bg-soft);
}

.cart-count {
  position: absolute;
  top: 3px;
  right: 1px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 17px;
  text-align: center;
}

.menu-btn {
  display: none;
}

/* ---------- mobile nav backdrop & left slide drawer ---------- */

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(18, 18, 18, 0.48);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s ease;
}

.mobile-nav-backdrop.open,
body.menu-open .mobile-nav-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-panel {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(340px, 86vw);
  max-width: 100vw;
  height: 100%;
  height: 100dvh;
  z-index: 1000;
  background: var(--bg, #ffffff);
  display: flex;
  flex-direction: column;
  padding: 0;
  box-shadow: 16px 0 48px rgba(0, 0, 0, 0.16);
  transform: translateX(-100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s ease;
  overflow: hidden;
}

.mobile-panel.open,
body.menu-open .mobile-panel {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.mobile-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line, #e6e6df);
  flex-shrink: 0;
}

.mobile-panel-logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink, #181818);
  text-decoration: none;
}

.mobile-panel-logo .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red, #b83838);
}

.mobile-close {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line, #e2e2dc);
  background: var(--bg-soft, #f7f7f4);
  color: var(--ink, #181818);
  cursor: pointer;
  padding: 0;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.mobile-close:hover {
  background: var(--line, #e2e2dc);
  transform: scale(1.05);
}

.mobile-panel-search {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line, #e6e6df);
  flex-shrink: 0;
}

.mobile-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-soft, #f5f5f0);
  border: 1px solid var(--line, #e2e2dc);
  border-radius: 999px;
  padding: 8px 14px;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.mobile-search-bar:focus-within {
  border-color: var(--ink, #181818);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.mobile-search-bar svg {
  width: 17px;
  height: 17px;
  stroke: var(--muted, #666);
  flex-shrink: 0;
}

.mobile-search-bar input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--ink, #181818);
  outline: none;
  padding: 0;
}

.mobile-search-bar input::placeholder {
  color: var(--muted, #888);
}

.mobile-panel-links {
  display: flex;
  flex-direction: column;
  padding: 10px 20px;
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-panel a.mobile-nav-link,
.mobile-panel .mobile-panel-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink, #181818);
  padding: 13px 4px;
  border-bottom: 1px solid var(--line, #ededeb);
  text-decoration: none;
  transition: color 0.18s ease, transform 0.18s ease;
}

.mobile-panel a.mobile-nav-link:hover,
.mobile-panel a.mobile-nav-link:focus-visible,
.mobile-panel .mobile-panel-links a:hover,
.mobile-panel .mobile-panel-links a:focus-visible {
  color: var(--btn-primary-bg, #000);
  transform: translateX(2px);
}

.mobile-panel-foot {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 20px 20px;
  border-top: 1px solid var(--line, #e6e6df);
  background: var(--bg-soft, #fafaf8);
  flex-shrink: 0;
}

.mobile-panel-lang {
  width: 100%;
}

.mobile-panel-lang .jualify-language-switcher {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 8px;
}

.mobile-panel-lang .jualify-language-switcher__select {
  width: 100%;
  max-width: 100%;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: var(--radius-sm, 8px);
  border: 1px solid var(--line, #deded7);
  background: #ffffff;
  color: var(--ink, #181818);
  font-size: 0.88rem;
  font-family: var(--font-body);
  cursor: pointer;
}

.mobile-shop-btn {
  width: 100%;
  text-align: center;
  padding: 12px 20px;
  font-size: 0.9rem;
}

/* ---------- search overlay ---------- */

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 96;
  background: rgba(20, 20, 20, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  padding: 14vh 24px 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.search-overlay.open {
  opacity: 1;
  visibility: visible;
}

.search-dialog {
  width: min(640px, 100%);
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px clamp(20px, 4vw, 36px) 26px;
  box-shadow: var(--shadow);
  transform: translateY(-14px);
  transition: transform 0.25s ease;
  height: fit-content;
}

.search-overlay.open .search-dialog {
  transform: none;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 10px;
}

.search-bar svg {
  width: 21px;
  height: 21px;
  stroke: var(--ink);
  fill: none;
  stroke-width: 1.6;
  flex-shrink: 0;
}

.search-bar input {
  flex: 1;
  border: 0;
  background: transparent;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  font-weight: 500;
  color: var(--ink);
  outline: none;
}

.search-bar input::placeholder {
  color: var(--line-strong);
}

.search-close {
  width: 36px;
  height: 36px;
}

.search-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

.search-chips .label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 4px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-2);
  background: transparent;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.chip:hover,
.chip.active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}

/* ---------- hero ---------- */

.hero {
  padding: clamp(48px, 6vw, 84px) 0 clamp(52px, 6vw, 84px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

.hero-copy .eyebrow {
  margin-bottom: 18px;
}

.hero-copy h1 {
  margin-bottom: 20px;
}

.hero-lead {
  max-width: 30em;
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta svg {
  width: 15px;
  height: 15px;
  stroke: var(--ink);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* hero collage */

.hero-collage {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 14px;
  height: clamp(320px, 38vw, 380px);
}

.tile {
  position: relative;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.tile .sketch {
  width: 62%;
  color: var(--ink);
  transition: transform 0.4s ease;
}

.tile:hover .sketch {
  transform: translateY(-4px) scale(1.03);
}

.tile-big {
  grid-row: span 2;
}

.tile-big .sketch {
  width: 66%;
}

.hero-tile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.tile:hover .hero-tile-image {
  transform: scale(1.025);
}

.tile-label {
  position: absolute;
  left: 14px;
  bottom: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.3;
  box-shadow: 0 6px 18px rgba(20, 20, 20, 0.07);
}

.tile-label small {
  display: block;
  font-weight: 500;
  color: var(--muted);
}

.hero-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
  text-align: center;
  animation: float-soft 6s ease-in-out infinite;
}

.hero-badge strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0;
}

@keyframes float-soft {
  0%, 100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -8px;
  }
}

/* ---------- value props ---------- */

.value-strip {
  border-block: 1px solid var(--line);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.value-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 20px;
}

.value-item + .value-item {
  border-left: 1px solid var(--line);
}

.value-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--ink);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-item strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
}

.value-item span {
  font-size: 0.76rem;
  color: var(--muted);
}

/* ---------- categories ---------- */

.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.cat-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 26px 14px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.cat-card:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.cat-icon {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background 0.25s ease, color 0.25s ease;
  overflow: hidden;
}

.cat-card:hover .cat-icon {
  background: var(--ink);
  color: var(--bg);
}

.cat-icon svg {
  width: 46px;
  height: 46px;
}

.cat-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.cat-icon .cat-placeholder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-card:hover .cat-icon img {
  transform: scale(1.08);
}

.cat-card strong {
  font-size: 0.9rem;
  font-weight: 600;
}

.cat-card small {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 2px;
}

/* ---------- products ---------- */

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(var(--product-grid-columns, 3), minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.product-card:hover {
  border-color: var(--ink);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-media {
  position: relative;
  aspect-ratio: var(--product-image-aspect, 3 / 4);
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-media .sketch {
  width: 46%;
  color: var(--ink);
  transition: transform 0.4s ease;
}

.product-card:hover .product-media .sketch {
  transform: translateY(-4px) scale(1.04);
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}

.badge.sale {
  background: var(--red);
}

.wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.wishlist svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.6;
  transition: fill 0.2s ease, stroke 0.2s ease;
}

.wishlist:hover {
  transform: scale(1.08);
}

.wishlist.active svg {
  fill: var(--red);
  stroke: var(--red);
}

.quick-add {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  opacity: 0;
  transform: translateY(120%);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.25s ease;
}

.quick-add svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quick-add .spin {
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.quick-add:hover {
  background: var(--ink-2);
  color: var(--bg);
}

.product-card:hover .quick-add,
.product-card:focus-within .quick-add {
  opacity: 1;
  transform: none;
}

.product-info {
  padding: 16px 18px 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.product-info h3 {
  margin: 0 0 2px;
  font-size: 1.02rem;
  font-weight: 600;
}

.product-info h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.product-cat {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.price {
  font-weight: 600;
  white-space: nowrap;
}

.price small {
  display: block;
  font-weight: 400;
  font-size: 0.72rem;
  color: var(--muted);
  text-decoration: line-through;
  text-align: right;
}

/* ---------- promo banner ---------- */

.promo {
  background: var(--bg-soft);
  border-radius: 22px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(36px, 5vw, 64px);
  overflow: hidden;
}

.promo h2 {
  margin-top: 10px;
}

.promo p {
  color: var(--muted);
  max-width: 28em;
  margin-bottom: 26px;
}

.promo-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
}

.promo-art .promo-art-image {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  display: block;
}

.promo-art .sketch {
  width: min(240px, 70%);
  color: var(--ink);
}

.promo-tag {
  position: absolute;
  top: 8%;
  right: 12%;
  z-index: 2;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.25;
  animation: float-soft 5s ease-in-out infinite;
}

.promo-tag strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0;
}

/* ---------- testimonial ---------- */

.quote-block {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.quote-stars {
  letter-spacing: 6px;
  font-size: 1rem;
  color: var(--star);
  margin-bottom: 18px;
}

.quote-block blockquote {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.quote-block cite {
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
}

/* ---------- newsletter ---------- */

.newsletter {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(36px, 5vw, 60px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.newsletter h2 {
  margin-top: 10px;
}

.newsletter p {
  color: var(--muted);
  max-width: 26em;
  margin-bottom: 0;
}

.subscribe {
  display: flex;
  gap: 10px;
}

.subscribe .input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 15px 24px;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.subscribe .input:focus {
  border-color: var(--ink);
}

.subscribe-note {
  margin-top: 12px;
  font-size: 0.76rem;
  color: var(--muted);
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: clamp(44px, 5vw, 60px) 0 0;
  margin-top: clamp(60px, 8vw, 96px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
}

.footer-brand p {
  margin: 14px 0 18px;
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 26em;
}

.footer-links {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-links strong {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 6px;
}

.footer-links a {
  font-size: 0.92rem;
  color: var(--muted);
  width: fit-content;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-payments {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.footer-payments > span {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
}

.footer-payments .payment-methods-grid {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-payments .payment-methods-grid > li {
  display: inline-flex;
  align-items: center;
}

.footer-payments .payment-method-badge {
  display: block;
  width: 38px;
  height: 24px;
  padding: 2px 3px;
  object-fit: contain;
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 20px 0 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  font-size: 0.78rem;
  color: var(--muted);
}


/* ---------- cart drawer ---------- */

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(20, 20, 20, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.drawer-open .drawer-backdrop {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  width: min(420px, 100%);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.35s ease;
  box-shadow: -24px 0 60px rgba(20, 20, 20, 0.16);
  visibility: hidden;
  pointer-events: none;
}

body.drawer-open .cart-drawer {
  transform: none;
  visibility: visible;
  pointer-events: auto;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px 16px;
  border-bottom: 1px solid var(--line);
}

.drawer-head h2 {
  margin: 0;
  font-size: 1.15rem;
}

.drawer-head span {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}

.drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-size: 1rem;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease;
}

.drawer-close:hover {
  background: var(--ink);
  color: var(--bg);
}

.shipping-progress {
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
}

.shipping-progress strong {
  color: var(--ink);
}

.progress-track {
  margin-top: 8px;
  height: 4px;
  border-radius: 999px;
  background: var(--bg-soft-2);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--ink);
  transition: width 0.4s ease;
}

.shipping-progress[hidden] {
  display: none !important;
}

.shipping-progress.achieved .progress-bar {
  background: var(--color-success, #10b981);
}

.drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 8px 24px;
}

.drawer-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.drawer-thumb {
  width: 72px;
  height: 80px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.drawer-thumb svg {
  width: 42px;
  height: 42px;
}

.drawer-item h3 {
  margin: 0 0 2px;
  font-size: 0.95rem;
}

.drawer-item small {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.quantity button {
  width: 30px;
  height: 30px;
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.2s ease, background 0.2s ease;
}

.quantity button:hover {
  color: var(--ink);
  background: var(--bg-soft);
}

.quantity input {
  width: 32px;
  border: 0;
  background: transparent;
  text-align: center;
  font-weight: 600;
  font-size: 0.85rem;
  outline: none;
}

.drawer-remove {
  display: block;
  margin-top: 6px;
  font-size: 0.7rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.drawer-remove:hover {
  color: var(--red);
}

.drawer-item-price {
  font-weight: 600;
  white-space: nowrap;
  font-size: 0.9rem;
}

.drawer-empty {
  text-align: center;
  padding: 56px 12px;
  display: grid;
  gap: 6px;
  justify-items: center;
}

.drawer-empty .empty-mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.drawer-empty .empty-mark svg {
  width: 24px;
  height: 24px;
  stroke: var(--ink);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.drawer-empty p {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 22em;
}

.drawer-foot {
  border-top: 1px solid var(--line);
  padding: 18px 24px 22px;
}

.drawer-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}

.drawer-total strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.drawer-tax {
  font-size: 0.72rem;
  color: var(--muted);
  margin: 0 0 14px;
}

.drawer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.drawer-actions .btn {
  padding: 14px 16px;
  font-size: 0.8rem;
}

.drawer-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 12px 0 0;
  font-size: 0.7rem;
  color: var(--muted);
}

.drawer-secure svg {
  width: 14px;
  height: 14px;
  stroke: var(--ink);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 120;
  transform: translate(-50%, 140%);
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--bg);
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: var(--shadow);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease, visibility 0.25s ease;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  max-width: calc(100vw - 40px);
}

.toast::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
}

.toast.show {
  transform: translate(-50%, 0);
}

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(var(--product-grid-columns-tablet, 2), minmax(0, 1fr));
  }

  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-item:nth-child(3) {
    border-left: 0;
  }

  .value-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
  }

  .logo {
    flex: 0 1 auto;
    min-width: 0;
    max-width: calc(100% - 180px);
  }

  .header-actions {
    flex: 0 0 auto;
    margin-left: auto;
  }

  .site-header .header-actions .jualify-language-switcher,
  .site-header .header-actions .search-toggle {
    display: none !important;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-collage {
    height: auto;
    min-height: 0;
    grid-template-rows: repeat(2, 200px);
  }

  .promo {
    grid-template-columns: 1fr;
  }

  .newsletter {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .container {
    width: 100%;
    padding-inline: 16px;
  }

  .header-inner {
    gap: 8px;
  }

  .logo {
    font-size: 1.25rem;
    max-width: calc(100% - 165px);
  }

  .icon-btn {
    width: 38px;
    height: 38px;
  }

  .icon-btn svg {
    width: 18px;
    height: 18px;
  }

  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card .quick-add {
    opacity: 1;
    transform: none;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }

  .value-item + .value-item {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .hero-collage {
    height: auto;
    grid-template-rows: repeat(2, 170px);
  }

  .subscribe {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .drawer-actions {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   SUB-PAGES — shared page components
   ============================================================ */

/* breadcrumbs + page head */

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 22px;
  font-size: 0.8rem;
  color: var(--muted);
}

.breadcrumbs a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumbs .sep {
  color: var(--line-strong);
}

.breadcrumbs [aria-current="page"] {
  color: var(--ink);
  font-weight: 500;
}

.page-head {
  padding-block: clamp(24px, 3.5vw, 40px);
}

.page-head h1 {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  margin-bottom: 8px;
  max-width: 100%;
}

.page-head p {
  color: var(--muted);
  max-width: 65ch;
  margin: 0;
}

.page-head .head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

/* ---------- category ---------- */

.category-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
}

.filter-panel {
  position: sticky;
  top: calc(var(--header-h) + 18px);
  display: grid;
  gap: 26px;
}

.filter-group strong {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  font-size: 0.9rem;
  color: var(--ink-2);
  cursor: pointer;
}

.check-row input {
  width: 17px;
  height: 17px;
  accent-color: var(--ink);
  cursor: pointer;
}

.check-row span.count {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--muted);
}

.filter-clear {
  font-size: 0.78rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  width: fit-content;
}

.filter-clear:hover {
  color: var(--red);
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}

.toolbar .result-count {
  font-size: 0.85rem;
  color: var(--muted);
}

.sort-field {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--muted);
}

.sort-field select {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.85rem;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  outline: none;
  cursor: pointer;
}

.sort-field select:focus {
  border-color: var(--ink);
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: clamp(32px, 4vw, 48px);
}

.pagination a,
.pagination .current {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.pagination a:hover {
  border-color: var(--ink);
}

.pagination .current {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.pagination svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- product detail ---------- */

.product-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
}

.product-main-art {
  position: relative;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  aspect-ratio: 1 / 0.92;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: background 0.3s ease;
}

.product-main-art .sketch {
  width: 52%;
  color: var(--ink);
  transition: transform 0.4s ease;
}

.product-main-art:hover .sketch {
  transform: scale(1.02);
}

.tint-a {
  background: var(--bg-soft);
}

.tint-b {
  background: #f4f0e8;
}

.tint-c {
  background: #eaedef;
}

.product-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.product-thumbs .thumb {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.product-thumbs .thumb svg {
  width: 40px;
  height: 40px;
}

.product-thumbs .thumb:hover {
  transform: translateY(-2px);
}

.product-thumbs .thumb.active {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.product-buy .eyebrow {
  margin-bottom: 10px;
}

.product-buy h1 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  margin-bottom: 12px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.product-rating .stars {
  color: var(--ink);
  letter-spacing: 2px;
}

.product-rating a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
}

.product-price strong {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
}

.product-price s {
  color: var(--muted);
  font-size: 0.95rem;
}

.product-price .badge {
  position: static;
}

.product-desc {
  color: var(--ink-2);
  font-size: 0.98rem;
  max-width: 32em;
  margin-bottom: 24px;
}

.option-group {
  margin-bottom: 20px;
}

.option-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.option-head strong {
  font-weight: 600;
}

.option-head span,
.option-head a {
  color: var(--muted);
  font-size: 0.8rem;
}

.option-head a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.option-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.option {
  padding: 10px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.option:hover {
  border-color: var(--ink);
}

.option.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.product-variant-selector {
  margin: 18px 0;
}

.option-select-group {
  margin-bottom: 14px;
}

.option-select-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  color: var(--ink);
}

.option-select-wrap {
  position: relative;
  width: 100%;
}

.option-select {
  width: 100%;
  height: 46px;
  padding: 0 38px 0 14px;
  font-size: 0.95rem;
  font-family: inherit;
  font-weight: 500;
  color: var(--ink);
  background-color: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.option-select:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 2px rgba(20, 20, 20, 0.08);
}

.option-select-wrap .select-chevron {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  pointer-events: none;
  color: var(--muted);
}

.purchase-row {
  display: flex;
  gap: 12px;
  margin: 24px 0 20px;
}

.purchase-actions {
  display: flex;
  gap: 10px;
  flex: 1;
}

.wishlist-btn {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--btn-radius, 8px);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s ease;
}

.wishlist-btn:hover {
  border-color: var(--ink);
  transform: scale(1.04);
}

.wishlist-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: fill 0.2s ease, stroke 0.2s ease;
}

.wishlist-btn.active {
  border-color: var(--red);
  color: var(--red);
}

.wishlist-btn.active svg {
  fill: var(--red);
  stroke: var(--red);
}

.purchase-row .quantity {
  flex-shrink: 0;
}

.purchase-row .quantity button {
  width: 42px;
  height: 46px;
}

.purchase-row .quantity input {
  width: 40px;
}

.btn-block {
  flex: 1;
}

.purchase-notes {
  display: grid;
  gap: 8px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}

.purchase-notes span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--ink-2);
}

.purchase-notes svg {
  width: 17px;
  height: 17px;
  stroke: var(--ink);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* accordion */

.accordion-item {
  border-bottom: 1px solid var(--line);
}

.accordion-item:first-child {
  border-top: 1px solid var(--line);
}

.accordion-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 2px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
}

.accordion-button .acc-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--muted);
  transition: transform 0.25s ease;
}

.accordion-item.open .acc-icon {
  transform: rotate(45deg);
}

.accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
  overflow: hidden;
}

.accordion-item.open .accordion-content {
  grid-template-rows: 1fr;
}

.accordion-content > div {
  min-height: 0;
  overflow: hidden;
}

.accordion-item:not(.open) .accordion-content {
  grid-template-rows: 0fr;
  overflow: hidden;
}

.accordion-content[hidden] {
  display: none;
}

.accordion-item.open .accordion-content[hidden] {
  display: grid;
}

.accordion-content p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- cart page ---------- */

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
}

.cart-items {
  display: grid;
  border: none;
}

.cart-row {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 18px;
  padding: 20px;
  background: var(--bg);
}

.cart-row + .cart-row {
  border-top: 1px solid var(--line);
}

.cart-row .drawer-thumb {
  width: 92px;
  height: 100px;
}

.cart-row h3 {
  margin: 0 0 2px;
  font-size: 1.05rem;
}

.cart-row small {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.cart-row-end {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

.cart-row-end .drawer-item-price {
  font-size: 1rem;
}

.cart-empty {
  padding: 64px 24px;
  text-align: center;
  display: grid;
  gap: 8px;
  justify-items: center;
}

.cart-empty p {
  color: var(--muted);
  margin: 0;
}

.summary {
  position: sticky;
  top: calc(var(--header-h) + 18px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--bg);
}

.summary h2 {
  font-size: 1.15rem;
  margin-bottom: 16px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.92rem;
  padding: 6px 0;
  color: var(--ink-2);
}

.summary-row strong {
  font-weight: 600;
  color: var(--ink);
}

.summary-row.discount strong {
  color: var(--red);
}

.summary-total {
  border-top: 1px solid var(--line);
  margin-top: 10px;
  padding-top: 14px;
  font-size: 1rem;
}

.summary-total strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.summary .btn {
  width: 100%;
  margin-top: 16px;
}

.summary .secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 0;
  font-size: 0.72rem;
  color: var(--muted);
}

.summary .secure-note svg {
  width: 14px;
  height: 14px;
  stroke: var(--ink);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.promo-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin: 12px 0;
}

.promo-form input {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 0.85rem;
  outline: none;
  min-width: 0;
}

.promo-form input:focus {
  border-color: var(--ink);
}

.promo-form .btn {
  margin: 0;
  width: auto;
  padding: 11px 20px;
  font-size: 0.8rem;
}

/* ---------- checkout ---------- */

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
}

.checkout-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 28px);
  margin-bottom: 18px;
}

.checkout-section > h2 {
  font-size: 1.15rem;
  margin-bottom: 18px;
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.field span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-2);
}

.field input,
.field select,
.field textarea {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 0.92rem;
  font-family: var(--font-body);
  background: var(--bg);
  outline: none;
  transition: border-color 0.2s ease;
  width: 100%;
}

.field textarea {
  resize: vertical;
  min-height: 88px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ink);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.radio-card {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.radio-card:hover {
  border-color: var(--line-strong);
}

.radio-card:has(input:checked) {
  border-color: var(--ink);
  background: var(--bg-soft);
}

.radio-card input {
  width: 17px;
  height: 17px;
  accent-color: var(--ink);
  flex-shrink: 0;
}

.radio-card .rc-body {
  flex: 1;
  min-width: 0;
}

.radio-card strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
}

.radio-card small {
  font-size: 0.78rem;
  color: var(--muted);
}

.radio-card .rc-price {
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
}

.order-items {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 16px;
}

.order-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  background: var(--bg);
}

.order-item + .order-item {
  border-top: 1px solid var(--line);
}

.order-item .drawer-thumb {
  width: 56px;
  height: 60px;
  border-radius: 8px;
}

.order-item .drawer-thumb svg {
  width: 30px;
  height: 30px;
}

.order-item h3 {
  margin: 0;
  font-size: 0.88rem;
}

.order-item small {
  font-size: 0.72rem;
  color: var(--muted);
}

.order-item .oi-price {
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- blog ---------- */

.blog-feature {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.blog-feature .bf-media {
  align-self: stretch;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.blog-feature .bf-media .sketch {
  width: 46%;
  color: var(--ink);
}

.blog-feature .bf-copy {
  padding: clamp(24px, 3vw, 40px) clamp(24px, 3vw, 40px) clamp(24px, 3vw, 40px) 0;
}

.blog-feature h2 {
  margin: 10px 0 12px;
}

.blog-feature p {
  color: var(--muted);
  margin-bottom: 20px;
}

.post-meta {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.post-meta .tag {
  background: var(--bg-soft-2);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.blog-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
  border-color: var(--ink);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.blog-card .bc-media {
  aspect-ratio: 16 / 9.5;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.blog-card .bc-media .sketch {
  width: 34%;
  color: var(--ink);
  transition: transform 0.4s ease;
}

.blog-card:hover .bc-media .sketch {
  transform: scale(1.06) rotate(-2deg);
}

.blog-card .bc-body {
  padding: 18px 20px 22px;
}

.blog-card h3 {
  margin: 10px 0 8px;
  font-size: 1.08rem;
}

.blog-card h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.blog-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

/* ---------- article ---------- */

.article-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.article-hero {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.article-hero .sketch {
  width: min(280px, 50%);
  color: var(--ink);
}

.article-wrap .article-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin-bottom: 14px;
}

.prose h2 {
  font-size: 1.45rem;
  margin: 34px 0 12px;
}

.prose p {
  color: var(--ink-2);
  margin-bottom: 18px;
}

.prose ul {
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--ink-2);
}

.prose li {
  margin-bottom: 8px;
}

.prose blockquote {
  margin: 28px 0;
  padding: 20px 26px;
  border-left: 3px solid var(--ink);
  background: var(--bg-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
}

.share-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 22px 0;
  border-block: 1px solid var(--line);
  margin-top: 34px;
}

.share-row span {
  font-size: 0.82rem;
  font-weight: 600;
  margin-right: 4px;
}

.share-row a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.share-row a:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}

/* ---------- tables (base + cart) ---------- */

.table-wrap {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.data-table th {
  text-align: left;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 12px 14px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.data-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table .strong {
  font-weight: 600;
  color: var(--ink);
}

.data-table .muted {
  color: var(--muted);
}

/* ---------- sub-page responsive ---------- */

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .address-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .category-layout {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    position: static;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 18px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
  }

  .product-layout {
    grid-template-columns: 1fr;
  }

  .cart-layout {
    grid-template-columns: 1fr;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .summary {
    position: static;
  }

  .blog-feature {
    grid-template-columns: 1fr;
  }

  .blog-feature .bf-copy {
    padding: 0 24px 24px;
  }
}

@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .cart-row {
    grid-template-columns: 72px 1fr;
  }

  .cart-row .drawer-thumb {
    width: 72px;
    height: 84px;
  }

  .cart-row-end {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
  }

  .purchase-row {
    flex-direction: column;
  }
}

/* ============================================================
   HOMEPAGE VARIATIONS (index2 / index3)
   ============================================================ */

/* centered hero */

.hero-center {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(56px, 7vw, 92px) 0 clamp(40px, 5vw, 60px);
}

.hero-center .hero-lead {
  margin-inline: auto;
}

.hero-center .hero-actions,
.hero-center .hero-meta {
  justify-content: center;
}

/* landscape tile row */

.tile-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.tile-row .tile {
  aspect-ratio: 16 / 10.5;
}

.tile-row .tile .sketch {
  width: 34%;
}

/* duo category banners */

.banner-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.banner-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-soft);
  min-height: 340px;
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.banner-card:hover {
  border-color: var(--ink);
  box-shadow: var(--shadow);
}

.banner-card .banner-art {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-56%);
  width: 42%;
  color: var(--ink);
  pointer-events: none;
  transition: transform 0.4s ease;
}

.banner-card:hover .banner-art {
  transform: translateY(-56%) scale(1.04);
}

.banner-card h3 {
  font-size: 1.55rem;
  margin-bottom: 6px;
}

.banner-card p {
  color: var(--muted);
  margin: 0 0 18px;
  max-width: 20em;
  font-size: 0.92rem;
}

.banner-card .btn {
  width: fit-content;
}

/* horizontal product scroller */

.product-scroller {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 14px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}

.product-scroller .product-card {
  flex: 0 0 250px;
  scroll-snap-align: start;
}

/* full-width promo band */

.band {
  position: relative;
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
  text-align: center;
  padding: clamp(56px, 7vw, 92px) 0;
  overflow: hidden;
}

.band h2 {
  max-width: 16em;
  margin: 12px auto 14px;
}

.band > .container > p {
  color: var(--muted);
  max-width: 30em;
  margin: 0 auto 28px;
}

.band .promo-tag {
  top: 14%;
  right: 10%;
}

/* product spotlight (index3 hero) */

.spotlight {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-soft);
  padding: clamp(28px, 4vw, 44px);
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
  overflow: hidden;
}

.spotlight .sketch {
  width: min(230px, 66%);
  color: var(--ink);
}

.spotlight .badge {
  top: 16px;
  left: 16px;
}

.spotlight h3 {
  margin: 0;
  font-size: 1.3rem;
}

.spotlight .sp-price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}

.spotlight .sp-sub {
  color: var(--muted);
  font-size: 0.85rem;
  margin: -6px 0 0;
}

.spotlight .btn {
  margin-top: 4px;
}

/* price points */

.price-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.price-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.price-card:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.price-card strong {
  display: block;
  font-size: 1.02rem;
  font-weight: 600;
}

.price-card small {
  color: var(--muted);
  font-size: 0.78rem;
}

.price-card svg {
  width: 17px;
  height: 17px;
  stroke: var(--ink);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.price-card:hover svg {
  transform: translateX(4px);
}

/* testimonial card grid */

.quote-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.quote-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.quote-card .quote-stars {
  margin: 0;
  font-size: 0.85rem;
}

.quote-card .quote-text {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.6;
}

.quote-card cite {
  font-style: normal;
  font-size: 0.78rem;
  color: var(--muted);
}

/* dark newsletter variant */

.newsletter-dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.newsletter-dark h2 {
  color: var(--bg);
}

.newsletter-dark p {
  color: rgba(255, 255, 255, 0.62);
}

.newsletter-dark .eyebrow {
  color: rgba(255, 255, 255, 0.55);
}

.newsletter-dark .subscribe .input {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--bg);
}

.newsletter-dark .subscribe .input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-dark .subscribe .input:focus {
  border-color: var(--bg);
}

.newsletter-dark .subscribe-note {
  color: rgba(255, 255, 255, 0.5);
}

/* variation responsive */

@media (max-width: 1024px) {
  .quote-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .tile-row {
    grid-template-columns: 1fr;
  }

  .banner-duo {
    grid-template-columns: 1fr;
  }

  .banner-card {
    min-height: 300px;
  }

  .price-points {
    grid-template-columns: 1fr;
  }

  .band .promo-tag {
    width: 68px;
    height: 68px;
    right: 4%;
  }
}

@media (max-width: 600px) {
  .product-scroller .product-card {
    flex-basis: 220px;
  }

  .banner-card .banner-art {
    width: 34%;
    opacity: 0.5;
  }
}

/* ============================================================
   HERO SLIDESHOW (index4)
   ============================================================ */

.gallery-slider {
  position: relative;
  min-height: 400px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.gallery-slider .slides {
  min-height: 400px;
}

.hero-slider {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-soft);
}

.slides {
  position: relative;
  min-height: 400px;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.65s ease;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

.slide-art {
  width: 52%;
  max-width: 330px;
  color: var(--ink);
}

.hero-slide-image {
  display: block;
  width: 100%;
  object-fit: cover;
}

.hero-slide-image--gallery {
  width: min(76%, 760px);
  max-width: none;
  height: 320px;
  margin-inline: auto;
  border-radius: calc(var(--radius) * 0.75);
}

.slide-caption {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.35;
  box-shadow: 0 6px 18px rgba(20, 20, 20, 0.07);
}

.slide-caption small {
  display: block;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.72rem;
}

.slide-count {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  padding: 7px 14px;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(20, 20, 20, 0.08);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.slider-arrow svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.slider-arrow:hover {
  background: var(--ink);
  color: var(--bg);
}

.slider-arrow.prev {
  left: 14px;
}

.slider-arrow.next {
  right: 14px;
}

.slider-arrow.prev:hover {
  transform: translateY(-50%) translateX(-2px);
}

.slider-arrow.next:hover {
  transform: translateY(-50%) translateX(2px);
}

.slider-dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 16px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.slider-dots .dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--line-strong);
  transition: background 0.25s ease, width 0.25s ease;
  padding: 0;
}

.slider-dots .dot:hover {
  background: var(--ink-2);
}

.slider-dots .dot.active {
  width: 26px;
  background: var(--ink);
}

@media (max-width: 900px) {
  .slides {
    min-height: 360px;
  }

  .gallery-slider,
  .gallery-slider .slides {
    min-height: 380px;
  }

  .hero-slide-image--gallery {
    width: calc(100% - 48px);
    height: 300px;
  }
}

@media (max-width: 600px) {
  .slides {
    min-height: 320px;
  }

  .gallery-slider,
  .gallery-slider .slides {
    min-height: 340px;
  }

  .hero-slide-image--gallery {
    width: 100%;
    max-width: 100%;
    height: 260px;
  }

  .slide-art {
    width: 62%;
  }

  .slide-caption {
    font-size: 0.78rem;
    padding: 8px 14px;
  }

  .slider-arrow {
    width: 36px;
    height: 36px;
  }
}

/* ============================================================
   FULL-WIDTH BANNER SLIDER (index3 hero)
   ============================================================ */

.banner-slider {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.banner-slider .slides {
  min-height: 560px;
}

.banner-slide-inner {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(48px, 6vw, 80px) 0 clamp(64px, 7vw, 96px);
}

/* per-slide background tints */

.bs-soft {
  background: var(--bg-soft);
}

.bs-warm {
  background: #f4f0e8;
}

.bs-cool {
  background: #eaedef;
}

.bs-copy {
  position: relative;
  z-index: 2;
}

.bs-copy .eyebrow {
  margin-bottom: 14px;
}

.bs-copy h1 {
  margin-bottom: 16px;
}

.bs-lead {
  color: var(--muted);
  max-width: 30em;
  margin-bottom: 28px;
  font-size: 1.02rem;
}

.bs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.bs-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide-image--banner {
  width: min(100%, 520px);
  height: clamp(240px, 26vw, 340px);
  border-radius: var(--radius);
}

.bs-art .sketch {
  width: min(300px, 72%);
  color: var(--ink);
}

.bs-chip {
  position: absolute;
  top: 6%;
  right: 8%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  box-shadow: 0 6px 18px rgba(20, 20, 20, 0.07);
  animation: float-soft 6s ease-in-out infinite;
}

.bs-chip small {
  display: block;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.68rem;
}

/* banner controls reuse .slider-arrow / .slider-dots */

.banner-slider .slider-dots {
  bottom: 22px;
}

/* banner responsive */

@media (max-width: 900px) {
  .banner-slider .slides {
    min-height: 720px;
  }

  .banner-slide-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: 720px;
    padding-bottom: clamp(72px, 9vw, 96px);
  }

  .bs-art .sketch {
    width: min(220px, 60%);
  }
}

@media (max-width: 600px) {
  .banner-slider .slides,
  .banner-slide-inner {
    min-height: 590px;
  }

  .banner-slide-inner {
    padding: 40px 0 76px;
  }

  .hero-slide-image--banner {
    height: 210px;
  }

  .banner-slider .slider-arrow.prev {
    left: 10px;
  }

  .banner-slider .slider-arrow.next {
    right: 10px;
  }
}

/* ============================================================
   FULL-WIDTH IMAGE SLIDESHOW (index2 hero)
   Each slide image fills the full container width; copy overlays it.
   ============================================================ */

.hero-banner {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-banner .slides {
  min-height: clamp(380px, 42vw, 480px);
}

.hero-banner .slide {
  display: block;
}

/* the slide "image" — full-width background panel */

.hb-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hb-soft {
  background: var(--bg-soft);
}

.hb-warm {
  background: #f4f0e8;
}

.hb-cool {
  background: #eaedef;
}

.hb-ghost {
  position: absolute;
  right: -3%;
  bottom: -8%;
  width: min(620px, 58%);
  color: var(--ink);
  opacity: 0.12;
  pointer-events: none;
}

/* container-width content layered over the image */

.hb-inner {
  position: relative;
  z-index: 2;
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  min-height: clamp(440px, 52vw, 580px);
  padding: clamp(48px, 6vw, 72px) 0;
}

.hb-copy {
  max-width: 33em;
}

.hb-copy .eyebrow {
  margin-bottom: 14px;
}

.hb-copy h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  margin-bottom: 14px;
}

.hb-lead {
  color: var(--muted);
  margin-bottom: 26px;
  font-size: 1.02rem;
}

.hb-figure {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide-image--split {
  width: min(100%, 520px);
  height: clamp(240px, 26vw, 330px);
  border-radius: var(--radius);
}

.hb-figure .sketch {
  width: min(320px, 80%);
  color: var(--ink);
}

.hb-figure .bs-chip {
  top: 4%;
  right: 2%;
}

/* controls reuse .slider-arrow / .slider-dots */

.hero-banner .slider-dots {
  bottom: 22px;
}

/* image banner responsive */

@media (max-width: 900px) {
  .hero-banner .slides {
    min-height: 720px;
  }

  .hb-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    min-height: 720px;
    padding: 44px 0 84px;
  }

  .hb-figure .sketch {
    width: min(230px, 58%);
  }

  .hb-ghost {
    width: 70%;
    opacity: 0.08;
  }
}

@media (max-width: 600px) {
  .hero-banner .slides,
  .hb-inner {
    min-height: 520px;
  }

  .hb-inner {
    padding: 40px 0 80px;
  }

  .hero-slide-image--split {
    height: 220px;
  }

  .hero-banner .slider-arrow.prev {
    left: 10px;
  }

  .hero-banner .slider-arrow.next {
    right: 10px;
  }
}
/* ============================================================
   CART DRAWER, EXTENSIONS & STOREFRONT ENHANCEMENTS
   Strictly matched with Minimal Design Language
   ============================================================ */

/* Body state when any drawer is active */
body.drawer-open {
  overflow: hidden;
}

/* Backdrop */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 20, 20, 0.45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  border: none;
  cursor: pointer;
  padding: 0;
}

body.drawer-open .drawer-backdrop {
  opacity: 1;
  visibility: visible;
}

/* Cart Drawer Aside */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: var(--bg);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(20, 20, 20, 0.12);
  visibility: hidden;
  pointer-events: none;
}

body.drawer-open .cart-drawer,
.cart-drawer[aria-hidden="false"] {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

/* Drawer Header */
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.drawer-head h2 {
  margin: 0;
  font-size: 19px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.drawer-head [data-drawer-count] {
  color: var(--muted);
  font-weight: 500;
  font-size: 16px;
  margin-left: 4px;
}

.drawer-close {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  color: var(--ink);
  transition: background 0.15s ease, border-color 0.15s ease;
  padding: 0;
}

.drawer-close:hover {
  background: var(--bg-soft);
  border-color: var(--line-strong);
}

/* Shipping Progress Bar */
.shipping-progress {
  padding: 14px 24px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-2);
}

.shipping-progress p {
  margin: 0 0 8px;
}

.progress-track {
  height: 6px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: var(--ink);
  border-radius: 999px;
  transition: width 0.35s ease;
}

/* Drawer Item List */
.drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scrollbar-width: thin;
}

.drawer-item {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: 14px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.drawer-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.drawer-thumb {
  width: 68px;
  height: 68px;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.drawer-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.drawer-thumb .sketch {
  width: 40px;
  height: 40px;
}

.drawer-item h3 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.drawer-item h3 a {
  color: var(--ink);
  text-decoration: none;
}

.drawer-item h3 a:hover {
  text-decoration: underline;
}

.drawer-item small {
  color: var(--muted);
  font-size: 12px;
  display: block;
  margin-bottom: 8px;
}

.drawer-item .quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  height: 28px;
  background: var(--bg);
}

.drawer-item .quantity button {
  width: 26px;
  height: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background 0.15s ease;
}

.drawer-item .quantity button:hover {
  background: var(--bg-soft);
}

.drawer-item .quantity input {
  width: 32px;
  height: 100%;
  border: none;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  background: transparent;
  color: var(--ink);
  padding: 0;
}

.drawer-remove {
  background: transparent;
  border: none;
  padding: 0;
  font-size: 12px;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
  margin-left: 10px;
  transition: color 0.15s ease;
}

.drawer-remove:hover {
  color: var(--red);
}

.drawer-item-price {
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--ink);
  white-space: nowrap;
  padding-top: 2px;
}

/* Empty Drawer State */
.drawer-empty {
  text-align: center;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.drawer-empty .empty-mark {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--ink);
}

.drawer-empty h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-family: var(--font-display);
  font-weight: 700;
}

.drawer-empty p {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 20px;
}

/* Drawer Footer */
.drawer-foot {
  padding: 20px 24px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.drawer-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  margin-bottom: 6px;
}

.drawer-total span {
  color: var(--muted);
}

.drawer-total strong {
  font-size: 19px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
}

.drawer-tax {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.4;
}

.drawer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.drawer-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.drawer-secure svg {
  stroke-width: 1.8;
}

/* ============================================================
   MINIMAL 1.1 — QUIET PREMIUM RETAIL SYSTEM
   A final scoped cascade keeps legacy section markup compatible.
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #f5f5f0;
  --bg-soft-2: #ebebe5;
  --ink: #171715;
  --ink-2: #353630;
  --muted: #666760;
  --line: #deded7;
  --line-strong: #bfc0b7;
  --red: #b83838;
  --shadow: 0 18px 50px rgba(23, 23, 21, 0.09);
  --radius: 10px;
  --radius-sm: 6px;
  --container: 1150px;
}

[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid color-mix(in srgb, var(--ink) 72%, transparent);
  outline-offset: 3px;
}

body {
  font-size: 15px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

h1 { font-size: clamp(2.35rem, 5vw, 4.5rem); letter-spacing: -0.045em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.65rem); letter-spacing: -0.035em; }
h3 { letter-spacing: -0.02em; }
p { max-width: 72ch; }

.section { padding-block: clamp(64px, 8vw, 108px); }
.section-sm { padding-block: clamp(44px, 6vw, 76px); }
.page-head {
  padding-block: clamp(20px, 3vw, 36px);
}
.page-head h1 {
  max-width: 100%;
  margin-bottom: 8px;
  line-height: 1.22;
}
.page-head p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 68ch;
}

.page-head--account {
  padding-top: clamp(16px, 2.5vw, 26px);
  padding-bottom: clamp(14px, 2vw, 20px);
}

.page-head--account h1,
.account-welcome h1 {
  font-size: clamp(1.5rem, 2.75vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin-bottom: 6px;
  max-width: 100%;
  word-break: break-word;
}

.page-head--account p,
.account-welcome p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 65ch;
  margin: 0;
}

.account-welcome {
  margin-bottom: 24px;
}

.btn {
  min-height: 44px;
  border-radius: var(--radius-sm);
  padding: 13px 22px;
  box-shadow: none;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover { box-shadow: none; transform: translateY(-1px); }
.btn:disabled, .btn[aria-busy="true"] { cursor: wait; opacity: .58; transform: none; }
.icon-btn { min-width: 44px; min-height: 44px; }

.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 990;
  width: 100%;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.site-header--sticky,
.site-header[data-sticky="true"] {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 990 !important;
}

.site-header.site-header--not-sticky,
.site-header[data-sticky="false"] {
  position: relative !important;
  top: auto !important;
  box-shadow: none !important;
}

.site-header.is-scrolled,
.site-header.header-scrolled {
  background: color-mix(in srgb, var(--bg) 98%, transparent);
  border-bottom-color: color-mix(in srgb, var(--line) 85%, transparent);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.03);
}
.header-inner { min-height: 72px; height: auto; }
.logo { letter-spacing: -.045em; }
.main-nav { gap: clamp(20px, 3vw, 38px); }
.main-nav a { position: relative; font-size: .86rem; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: currentColor; transition: right .2s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }

.hero-copy, .hero-content, .banner-copy { align-content: center; }
.hero-copy p, .hero-content p, .banner-copy p { max-width: 58ch; }
.hero-collage, .product-main-art, .tile-media, .promo-art, .banner-media { border-radius: var(--radius); overflow: hidden; }
.hero-collage img, .product-card-img, .product-detail-img, .tile-media img, .banner-media img { width: 100%; height: 100%; object-fit: cover; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(var(--product-grid-columns, 3), minmax(0, 1fr));
  gap: clamp(24px, 3vw, 38px) clamp(16px, 2.4vw, 30px);
}
.product-grid--3-col,
[data-columns="3"] .product-grid,
.product-grid[data-columns="3"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.product-grid--4-col,
[data-columns="4"] .product-grid,
.product-grid[data-columns="4"] {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.product-card { min-width: 0; }
.product-media { border-radius: var(--radius-sm); background: var(--bg-soft); overflow: hidden; aspect-ratio: var(--product-image-aspect, 3 / 4); }
.product-card-link { display: block; width: 100%; height: 100%; }
.product-card-img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: var(--product-image-aspect, 3 / 4); transition: transform .45s cubic-bezier(.2,.75,.25,1); }
.product-card:hover .product-card-img { transform: scale(1.025); }
.product-info { padding-top: 14px; align-items: flex-start; }
.product-info h3 { font-size: 1rem; line-height: 1.35; }
.product-cat { letter-spacing: .01em; }
.product-card .quick-add { left: 12px; right: 12px; bottom: 12px; border-radius: var(--radius-sm); }

.search-overlay { padding: clamp(16px, 6vw, 72px) 16px; align-items: flex-start; }
.search-dialog { width: min(760px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.search-bar { min-height: 58px; }
.predictive-results { border-top: 1px solid var(--line); padding: 10px 20px 20px; }
.predictive-group { padding-top: 16px; }
.predictive-group + .predictive-group { border-top: 1px solid var(--line); margin-top: 16px; }
.predictive-group h2 { font-family: var(--font-body); font-size: .75rem; letter-spacing: .08em; margin: 0 0 8px; color: var(--muted); }
.predictive-group > a, .predictive-product { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 7px 5px; border-radius: var(--radius-sm); }
.predictive-group > a:hover, .predictive-product:hover { background: var(--bg-soft); }
.predictive-product + .predictive-product { border-top: 1px solid var(--line); }
.predictive-thumb { width: 48px; height: 56px; flex: 0 0 auto; background: var(--bg-soft); overflow: hidden; border-radius: 4px; }
.predictive-thumb img { width: 100%; height: 100%; object-fit: cover; }
.predictive-product span:last-child { display: grid; gap: 2px; }
.predictive-product small { color: var(--muted); }
.predictive-empty { margin: 0; padding: 22px 4px 6px; color: var(--muted); }

.cart-drawer { max-width: 460px; }
.drawer-item { grid-template-columns: 72px minmax(0, 1fr) auto; }
.drawer-thumb { border-radius: var(--radius-sm); overflow: hidden; }
.drawer-thumb img { width: 100%; height: 100%; object-fit: cover; }
.toast { border-radius: var(--radius-sm); }
.toast.is-error::before { background: var(--red); }

.filter-toggle { display: none; margin-bottom: 18px; }
.filter-panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--bg); }
.filter-group { display: grid; gap: 8px; }
.filter-group + .filter-group { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 20px; }
.filter-group > strong { margin-bottom: 4px; font-size: .82rem; }
.filter-choice { display: flex; align-items: center; min-height: 38px; padding: 6px 9px; border-radius: var(--radius-sm); color: var(--muted); }
.filter-choice:hover, .filter-choice.active { background: var(--bg-soft); color: var(--ink); }
.filter-choice.active::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); margin-right: 9px; }
.price-fields { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: end; }
.price-fields label { display: grid; gap: 5px; min-width: 0; }
.price-fields label span { color: var(--muted); font-size: .72rem; }
.price-fields input { width: 100%; min-height: 42px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px; background: var(--bg); }
.filter-clear { display: inline-flex; margin-top: 18px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; font-size: .82rem; }

.product-layout { gap: clamp(34px, 6vw, 84px); }
.product-main-art { background: var(--bg-soft); }
.product-buy { max-width: 540px; }
.product-buy h1 { font-size: clamp(2rem, 4vw, 3.75rem); }
.product-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.option { min-height: 44px; border-radius: var(--radius-sm); }
.option:disabled { opacity: .38; cursor: not-allowed; text-decoration: line-through; }
.purchase-notes { border-block: 1px solid var(--line); padding-block: 16px; }
.accordion-button { min-height: 52px; }
.accordion-content[hidden] { display: none; }

.summary { border-radius: var(--radius); box-shadow: none; }
.field input, .field select, .field textarea { min-height: 46px; border-radius: var(--radius-sm); }
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); }
.data-table th { background: var(--bg-soft); }

@media (max-width: 1100px) {
  .product-grid--4-col,
  [data-columns="4"] .product-grid,
  .product-grid[data-columns="4"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .filter-toggle { display: inline-flex; }
  .category-layout { grid-template-columns: 1fr; }
  .filter-panel { display: none; position: static; }
  .filter-panel.is-open { display: block; }
  .product-buy { max-width: none; }
  .product-grid,
  .product-grid--3-col,
  .product-grid--4-col,
  [data-columns="3"] .product-grid,
  [data-columns="4"] .product-grid,
  .product-grid[data-columns="3"],
  .product-grid[data-columns="4"] {
    grid-template-columns: repeat(var(--product-grid-columns-tablet, 2), minmax(0, 1fr)) !important;
  }
}

@media (min-width: 601px) and (max-width: 1024px) {
  .product-grid--tablet-2-col,
  [data-columns-tablet="2"].product-grid,
  [data-columns-tablet="2"] .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .product-grid--tablet-3-col,
  [data-columns-tablet="3"].product-grid,
  [data-columns-tablet="3"] .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .product-grid--tablet-4-col,
  [data-columns-tablet="4"].product-grid,
  [data-columns-tablet="4"] .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 600px) {
  .container { padding-inline: 18px; }
  .section { padding-block: 56px; }
  .section-sm { padding-block: 38px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
  .product-info { display: grid; gap: 5px; }
  .product-info h3 { font-size: .91rem; }
  .product-info .price { font-size: .86rem; }
  .product-card .quick-add { position: static; width: 100%; opacity: 1; transform: none; margin-top: 8px; min-height: 42px; }
  .drawer-item { grid-template-columns: 62px minmax(0, 1fr); }
  .drawer-item-price { grid-column: 2; }
  .drawer-actions { grid-template-columns: 1fr; }
  .purchase-row { align-items: stretch; }
  .purchase-row .btn { flex: 1; }
  .toolbar { align-items: stretch; gap: 12px; }
  .toolbar form, .sort-field, .sort-field select { width: 100%; }
  .data-table.cart-table thead { display: none; }
  .data-table.cart-table, .data-table.cart-table tbody, .data-table.cart-table tr, .data-table.cart-table td { display: block; width: 100%; }
  .data-table.cart-table tr { padding: 16px; border-bottom: 1px solid var(--line); }
  .data-table.cart-table td { padding: 7px 0; border: 0; }
}

@media (max-width: 340px) {
  .product-grid,
  .product-grid--3-col,
  .product-grid--4-col,
  [data-columns="3"] .product-grid,
  [data-columns="4"] .product-grid,
  .product-grid[data-columns="3"],
  .product-grid[data-columns="4"] {
    grid-template-columns: 1fr !important;
  }
}

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

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.badge-subtle {
  background: var(--bg-soft-2);
  color: var(--ink);
}

.status.solid {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: var(--ink);
  color: var(--bg);
}

.form-status {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 14px;
}

.form-status:empty {
  display: none !important;
}

.form-status.success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.form-status.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.form-status.warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}

.form-status.info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

.form-status ul {
  margin: 0;
  padding-left: 18px;
}

.btn-block {
  width: 100%;
  display: block;
  text-align: center;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
  border-radius: 8px;
}

.font-sm {
  font-size: 13px;
}

.text-dark {
  color: var(--ink);
}

/* ============================================================
   EXTENSION SLOTS
   ============================================================ */

.product-reviews-slot {
  margin: 48px 0;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.product-cross-sell-slot,
.cart-cross-sell-slot {
  margin: 40px 0;
}

.wishlist-slot {
  display: inline-flex;
  align-items: center;
}

.social-login-slot {
  margin: 18px 0;
}

.customer-loyalty-slot {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

/* ============================================================
   PRODUCT GALLERY & IMAGES
   ============================================================ */

.product-card-img {
  width: 100%;
  height: 100%;
  aspect-ratio: var(--product-image-aspect, 3 / 4);
  object-fit: cover;
  display: block;
}

.product-card-link svg,
.product-card-link .placeholder-svg,
.product-media svg.placeholder-svg {
  width: 100%;
  height: 100%;
  aspect-ratio: var(--product-image-aspect, 3 / 4);
  object-fit: cover;
  display: block;
}

.product-gallery-main {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--bg-soft);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-gallery-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.product-gallery-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--bg-soft);
  flex-shrink: 0;
  padding: 0;
  transition: border-color 0.15s ease;
}

.product-gallery-thumb.active,
.product-gallery-thumb:hover {
  border-color: var(--ink);
}

.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Social media links */
.social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  transition: all 0.2s ease;
}

.social-links a:hover {
  background: var(--bg-soft-2);
  border-color: var(--line-strong);
  color: var(--ink);
  transform: translateY(-2px);
}

.social-links svg {
  display: block;
}

/* Final component normalization after legacy extension compatibility rules. */
.btn.btn-block { display: inline-flex; }

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.form-grid-2 .form-group {
  min-width: 0;
  width: 100%;
}

.form-grid-2 input,
.form-grid-2 select,
.form-grid-2 textarea {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .form-grid-2 {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* ============================================================
   MINIMAL 1.1 — DARK/LIGHT MODE LOGOS & THEME TOGGLE ICONS
   ============================================================ */

.logo img.theme-logo--on-dark,
.logo-img.theme-logo--on-dark {
  display: none;
}

html[data-theme="dark"] .logo img.theme-logo--on-light,
html[data-theme="dark"] .logo-img.theme-logo--on-light {
  display: none;
}

html[data-theme="dark"] .logo img.theme-logo--on-dark,
html[data-theme="dark"] .logo-img.theme-logo--on-dark {
  display: block;
}

.theme-icon-moon {
  display: none;
}

html[data-theme="dark"] .theme-icon-sun {
  display: none;
}

html[data-theme="dark"] .theme-icon-moon {
  display: block;
}

.theme-toggle svg {
  vertical-align: middle;
}

/* ---------- product tabs & storefront fixes (1.2) ---------- */

.toast.show {
  visibility: visible;
  opacity: 1;
}

html[data-theme="dark"] .toast {
  background: var(--bg-soft-2);
  color: var(--ink);
}

html[data-theme="dark"] .toast::before {
  background: var(--ink);
}

.product-thumbs .thumb {
  padding: 0;
  overflow: hidden;
}

.product-thumbs .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-tabs--horizontal {
  margin-top: 28px;
}

.accordion + .product-reviews-slot,
.product-tabs--horizontal + .product-reviews-slot {
  margin-top: 24px;
}

.product-tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}

.product-tabs__tab {
  padding: 12px 16px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.product-tabs__tab:hover {
  color: var(--ink);
}

.product-tabs__tab.is-active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.product-tabs__panel[hidden] {
  display: none;
}

.product-tabs__panel {
  font-size: 0.95rem;
  line-height: 1.65;
}

.product-tabs__panel p {
  color: var(--muted);
}


/* Full-width description tabs when positioned below the product gallery */
.product-tabs--full {
  grid-column: 1 / -1;
  margin-top: clamp(30px, 4vw, 46px);
}

/* --- Dark mode: keep floating white pills, selects, and status tints readable --- */
[data-theme="dark"] .wishlist,
[data-theme="dark"] .tile-label,
[data-theme="dark"] .slide-caption,
[data-theme="dark"] .slider-arrow,
[data-theme="dark"] .bs-chip {
  background: #1e1e1e;
  border-color: var(--line);
}

[data-theme="dark"] .slider-arrow:hover {
  background: var(--ink);
  color: var(--bg);
}

[data-theme="dark"] .mobile-panel-lang .jualify-language-switcher__select {
  background: #1e1e1e;
  color: var(--ink);
}

[data-theme="dark"] .mobile-search-bar:focus-within {
  background: #1e1e1e;
}

[data-theme="dark"] .form-status.success { background: #06281d; border-color: #065f46; color: #6ee7b7; }
[data-theme="dark"] .form-status.error { background: #2f0d0d; border-color: #991b1b; color: #fca5a5; }
[data-theme="dark"] .form-status.warning { background: #2d2205; border-color: #92400e; color: #fcd34d; }
[data-theme="dark"] .form-status.info { background: #0b1c38; border-color: #1e40af; color: #93c5fd; }


/* ============================================================
   Storefront refinement — category (ruled archive),
   cart (receipt), contact (dark-mode parity).
   Additive only: no base selectors renamed, tokens unchanged.
   ============================================================ */

/* --- Category: header prose measure + sticky ruled toolbar --- */
.page-head p {
  max-width: 62ch;
}

.toolbar {
  position: sticky;
  top: calc(var(--header-h) + 4px);
  z-index: 5;
  background: var(--bg);
  padding-top: 10px;
}

.toolbar .result-count {
  font-variant-numeric: tabular-nums;
}

.sort-field select {
  border-color: var(--line-strong);
  transition: border-color 0.2s ease;
}

/* --- Category: filter card rhythm + high-contrast active chip --- */
.filter-panel {
  padding: 22px;
}

.filter-choice {
  transition: background 0.15s ease, color 0.15s ease;
}

.filter-choice.active {
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
}

.filter-choice.active::before {
  background: var(--bg);
}

.price-fields input:focus {
  border-color: var(--ink);
  outline: none;
}

/* --- Cart: receipt treatment for the order summary --- */
.summary h2 {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

.summary-row {
  padding: 10px 0;
  border-bottom: 1px dotted var(--line-strong);
}

.summary-row.summary-total {
  border-top: 2px solid var(--ink);
  border-bottom: 0;
  margin-top: 10px;
  padding-top: 16px;
}

/* --- Cart: table row rhythm + thumb presence --- */
.cart-table td {
  padding-top: 20px;
  padding-bottom: 20px;
  vertical-align: middle;
}

.cart-table .drawer-thumb {
  width: 84px;
  height: 84px;
  border: 1px solid var(--line);
}

/* --- Cart/empty motif: dashed ring around the empty mark --- */
.drawer-empty .empty-mark {
  background: transparent;
  border: 1px dashed var(--line-strong);
}

/* --- Contact: dark-mode parity for inline-styled surfaces --- */
[data-theme="dark"] .jc-contact__alert--success { background: #06281d; border-color: #065f46; color: #6ee7b7; }
[data-theme="dark"] .jc-contact__alert--error { background: #2f0d0d; border-color: #991b1b; color: #fca5a5; }

[data-theme="dark"] .jc-contact__field input:focus,
[data-theme="dark"] .jc-contact__field textarea:focus {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

/* --- Blog: article search field (top-right of the page head row) --- */
.blog-search {
  max-width: 340px;
}

.page-head .blog-search {
  align-self: flex-start;
}

.blog-search__input {
  width: 100%;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.blog-search__input:focus {
  border-color: var(--ink);
}

.blog-search__input::placeholder {
  color: var(--muted);
}

.blog-search-empty {
  margin: 26px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

/* --- Blog: list toolbar, per-page select, feature card, JS pager --- */
.blog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.blog-count {
  font-size: 0.85rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.blog-per-page {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--muted);
}

.blog-per-page select {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  outline: none;
  cursor: pointer;
}

.blog-per-page select:focus {
  border-color: var(--ink);
}

.blog-card--feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
}

.blog-card--feature .bc-media {
  aspect-ratio: auto;
  min-height: 280px;
}

.blog-card--feature .bc-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px 30px;
}

.blog-card--feature h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.2;
}

.blog-pagination button {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.blog-pagination button:hover:not(:disabled) {
  border-color: var(--ink);
}

.blog-pagination button.current {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.blog-pagination button:disabled {
  opacity: 0.4;
  cursor: default;
}

.blog-pagination .page-gap {
  padding: 0 4px;
  color: var(--muted);
}

@media (max-width: 720px) {
  .blog-card--feature {
    grid-template-columns: 1fr;
  }

  .blog-card--feature .bc-media {
    min-height: 0;
    aspect-ratio: 16 / 9.5;
  }
}

/* Minimal 1.2.1: comfortable controls and consistent contrast in both themes. */
.badge.sale { color: #fff; background: var(--red); }
.tax-price-note { color: var(--muted) !important; max-width: var(--container); margin-inline: auto !important; padding-inline: 20px; }
.newsletter-dark { background: #171715; border-color: #171715; color: #fff; }
.newsletter-dark h2 { color: #fff; }
.newsletter-dark :is(p, .eyebrow, .subscribe-note) { color: #d5d5cf; }
.newsletter-dark .subscribe .input { background: #292927; color: #fff; border-color: #777772; }
.newsletter-dark .subscribe .input::placeholder { color: #c5c5be; }
.btn-light, .newsletter-dark .btn-light { background: #fff; color: #171715; }
.btn-light:hover, .newsletter-dark .btn-light:hover { background: #e5e5df; color: #171715; }
.slider-pause { position: absolute; z-index: 4; right: 18px; bottom: 18px; min-height: 36px; padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); color: var(--ink); font: inherit; font-size: .75rem; cursor: pointer; }
.product-tabs__panel { max-width: 75ch; }
.product-tabs__tab { white-space: normal; }
:is(.product-layout, .account-layout, .cart-layout) > * { min-width: 0; }
input, select, textarea { color: var(--ink); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
button:disabled { cursor: not-allowed; }
[data-product-form][aria-busy="true"] button[type="submit"] { cursor: wait; }
[data-newsletter-form] { flex-wrap: wrap; }
.newsletter-captcha { flex-basis: 100%; }
@media (max-width: 600px) {
  .auth-card :is(input,select,textarea), .jc-contact :is(input,textarea), .subscribe .input { font-size: 16px !important; }
  .quantity button, .drawer-remove { min-width: 44px; min-height: 44px; }
  .purchase-row { gap: 14px; }
  .product-buy h1 { overflow-wrap: anywhere; }
  .product-tabs__list { flex-wrap: wrap; }
  .slider-pause { bottom: 10px; right: 10px; padding-inline: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .spin { animation: none !important; }
}

@media (max-width: 600px) {
  .product-media { display: block; aspect-ratio: auto; }
  .product-card-link { height: auto; aspect-ratio: var(--product-image-aspect, 3 / 4); }
  .product-card .quick-add { margin-top: 0; border-radius: 0; white-space: normal; }
}

.section-products-empty { grid-column: 1 / -1; padding: 20px; color: var(--muted); }
[data-grid] .product-card[hidden], [data-product-filter-empty][hidden] { display: none; }

/* ---- Minimal-New Custom Content Page & Rich Text ---- */
.article-wrap { max-width: 760px; margin-inline: auto; }
.article-wrap .article-title { font-family: var(--font-display); font-size: clamp(2.2rem, 4.2vw, 3.2rem) !important; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 1.5rem; }
.page-content, .page-content.rte, .page-content.prose, .rte, .prose { max-width: 760px; margin-inline: auto; font-family: var(--font-body); font-size: 16.5px; line-height: 1.85; color: var(--ink-2, #3d3d3a); word-break: break-word; }
.page-content > *:first-child, .rte > *:first-child, .prose > *:first-child { margin-top: 0 !important; padding-top: 0 !important; }
.page-content > *:last-child, .rte > *:last-child, .prose > *:last-child { margin-bottom: 0 !important; }
.page-content h1, .rte h1, .prose h1 { font-family: var(--font-display); font-size: clamp(1.9rem, 3.5vw, 2.6rem); line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; margin-top: clamp(2rem, 4vw, 3rem); margin-bottom: 1.25rem; color: var(--ink); }
.page-content h2, .rte h2, .prose h2 { font-family: var(--font-display); font-size: clamp(1.4rem, 2.5vw, 1.85rem); line-height: 1.25; font-weight: 700; letter-spacing: -0.015em; margin-top: clamp(2rem, 3.8vw, 2.75rem); margin-bottom: 0.95rem; color: var(--ink); }
.page-content h3, .rte h3, .prose h3 { font-family: var(--font-display); font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.35; font-weight: 700; letter-spacing: -0.01em; margin-top: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 0.75rem; color: var(--ink); }
.page-content h4, .rte h4, .prose h4 { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.4; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-top: 1.35rem; margin-bottom: 0.5rem; color: var(--ink); }
.page-content p, .rte p, .prose p { margin-top: 0; margin-bottom: 1.5rem; line-height: 1.85; color: var(--ink-2); }
.page-content ul, .page-content ol, .rte ul, .rte ol, .prose ul, .prose ol { margin-top: 0; margin-bottom: 1.65rem; padding-left: 1.75rem; color: var(--ink-2); }
.page-content li, .rte li, .prose li { margin-bottom: 0.6rem; line-height: 1.8; }
.page-content li:last-child, .rte li:last-child, .prose li:last-child { margin-bottom: 0; }
.page-content blockquote, .rte blockquote, .prose blockquote { margin: 1.85rem 0; padding: 1.1rem 1.6rem; border-left: 3px solid var(--ink); background: var(--bg-soft); border-radius: 0 var(--radius-sm, 10px) var(--radius-sm, 10px) 0; font-family: var(--font-display); font-size: 1.1rem; line-height: 1.65; color: var(--ink); }
.page-content blockquote p:last-child, .rte blockquote p:last-child, .prose blockquote p:last-child { margin-bottom: 0; }
.page-content img, .rte img, .prose img { max-width: 100%; height: auto; border-radius: var(--radius-sm, 10px); margin-block: 1.75rem; display: block; }
.page-content hr, .rte hr, .prose hr { border: 0; height: 1px; background: var(--line); margin: 2.5rem 0; }
.page-content a, .rte a, .prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.page-content table, .rte table, .prose table { width: 100%; border-collapse: collapse; margin-block: 2rem; font-size: 0.95rem; }
.page-content th, .page-content td, .rte th, .rte td, .prose th, .prose td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--line); text-align: left; }
.page-content th, .rte th, .prose th { font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--ink); }



.template-page .breadcrumbs,
.article-wrap .breadcrumbs,
.article-wrap .breadcrumb,
.article-shell .breadcrumbs,
.article-shell .breadcrumb {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  margin-inline: auto !important;
}
.article-wrap .article-title,
.article-shell .article-title {
  text-align: center !important;
  margin-inline: auto !important;
}

/* === MINIMAL v1.6.0 PRODUCTION & MOBILE OPTIMIZATIONS === */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid var(--btn-primary-bg, var(--ink));
  background: var(--btn-primary-bg, var(--ink));
  color: var(--btn-primary-text, var(--bg));
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn-solid:hover:not(:disabled) {
  background: var(--btn-primary-hover-bg, var(--ink-2));
  border-color: var(--btn-primary-hover-bg, var(--ink-2));
}

.btn-solid:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-outline:hover:not(:disabled) {
  background: var(--bg-soft);
  border-color: var(--ink);
}

.input,
.select,
.textarea {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 0.9375rem;
  line-height: 1.45;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.textarea {
  min-height: 112px;
  resize: vertical;
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ink) 12%, transparent);
}

/* Header dropdowns, mobile accordions & language switcher */
.menu-branch {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.menu-parent-row,
.menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
}

.menu-caret,
.menu-caret-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
}

.menu-caret-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.menu-caret-btn .menu-caret {
  width: 11px;
  height: 8px;
  pointer-events: none;
  transition: transform 0.2s ease;
}

.menu-caret-btn:hover,
.menu-caret-btn:focus-visible {
  background: var(--bg-soft);
  color: var(--ink);
}

.menu-branch.is-open .menu-caret {
  transform: rotate(180deg);
}

.menu-dropdown,
.menu-submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  max-width: min(320px, 85vw);
  padding: 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  display: grid;
  gap: 2px;
  z-index: 95;
}

.menu-dropdown[hidden],
.menu-submenu[hidden] {
  display: none;
}

.menu-dropdown-link,
.menu-sublink,
.menu-submenu-overview,
.menu-subgroup-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.35;
}

.menu-submenu-overview {
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  border-radius: 8px 8px 0 0;
  margin-bottom: 4px;
  padding-bottom: 10px;
}

.menu-submenu-overview > span {
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--muted);
}

.menu-subgroup {
  display: grid;
  gap: 2px;
  padding-top: 4px;
}

.menu-subgroup-title {
  font-weight: 600;
}

.menu-sublink--nested {
  padding-left: 22px;
  font-size: 0.84rem;
  color: var(--ink-2);
}

.menu-dropdown-link:hover,
.menu-dropdown-link:focus-visible,
.menu-sublink:hover,
.menu-sublink:focus-visible,
.menu-submenu-overview:hover,
.menu-submenu-overview:focus-visible,
.menu-subgroup-title:hover,
.menu-subgroup-title:focus-visible {
  background: var(--bg-soft);
  color: var(--ink);
}

.wishlist-nav-btn .cart-count[hidden] {
  display: none;
}

.menu-branch--mobile {
  border-bottom: 1px solid var(--line);
}

.menu-branch-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 10px 4px;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
}

.menu-branch-summary::-webkit-details-marker {
  display: none;
}

.menu-sublinks--mobile {
  display: grid;
  gap: 2px;
  padding: 0 0 10px 14px;
}

.menu-sublink--mobile {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 8px;
  border-radius: 8px;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.92rem;
}

.menu-sublink--mobile--all {
  font-weight: 600;
  color: var(--ink);
}

.mobile-nav-actions {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.mobile-nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--bg-soft-2);
  font-size: 0.8rem;
  font-weight: 600;
}

.mobile-theme-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}

.jualify-language-switcher {
  display: inline-flex;
  align-items: center;
}

.jualify-language-switcher__select {
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--ink);
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

.footer-note {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.55;
}

/* Hero text alignment helpers */
.page-hero {
  padding-block: clamp(28px, 5vw, 56px);
  background: var(--hero-bg, var(--bg-soft));
  border-bottom: 1px solid var(--line);
}

.page-hero .breadcrumbs {
  margin-bottom: 12px;
}

.page-hero-title {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.page-hero-lede {
  margin-top: 12px;
  max-width: 64ch;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.5vw, 1.0625rem);
}

.hero-align-center .page-hero,
.page-hero.hero-align-center {
  text-align: center;
}

.hero-align-center .breadcrumbs,
.hero-align-center .page-hero-lede {
  margin-inline: auto;
  justify-content: center;
}

.hero-align-right .page-hero,
.page-hero.hero-align-right {
  text-align: right;
}

.hero-align-right .breadcrumbs,
.hero-align-right .page-hero-lede {
  margin-inline-start: auto;
  justify-content: flex-end;
}

/* Section heads & product grids */
.section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  text-align: left;
}

.section-head-copy {
  min-width: 0;
  text-align: left;
}

.section-sub {
  margin: 6px 0 0;
  color: var(--muted);
  max-width: 60ch;
}

.section-head-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-more-link {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.section-cta {
  margin-top: 28px;
  text-align: center;
}

.product-grid,
.catalog-product-grid {
  display: grid;
  grid-template-columns: repeat(var(--product-grid-columns, 4), minmax(0, 1fr));
  gap: 24px 18px;
}

.product-media {
  position: relative;
  display: block;
  aspect-ratio: var(--product-image-aspect, 3 / 4);
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
}

.product-thumb-link {
  display: block;
  width: 100%;
  height: 100%;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease, opacity 0.3s ease;
}

.product-img--secondary {
  position: absolute;
  inset: 0;
  opacity: 0;
}

@media (hover: hover) {
  .product-card:hover .product-img--primary {
    transform: scale(1.03);
  }

  .product-card:hover .product-img--secondary {
    opacity: 1;
  }
}

.product-media-placeholder,
.category-media-placeholder {
  width: 100%;
  height: 100%;
  min-height: 160px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: var(--bg-soft);
}

.product-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: calc(100% - 64px);
}

.product-badge {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
}

.product-badge--sale {
  background: var(--red);
  color: #ffffff;
  border-color: transparent;
}

.product-badge--soldout {
  background: var(--ink);
  color: var(--bg);
  border-color: transparent;
}

.product-media > .product-image-wishlist,
.product-media > .wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  bottom: auto;
  left: auto;
  z-index: 5;
  width: 40px;
  height: 40px;
  margin: 0;
}

.card-action-overlay {
  position: absolute;
  inset-inline: 10px;
  bottom: 10px;
  z-index: 3;
  display: flex;
  gap: 6px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.product-card:hover .card-action-overlay,
.product-card:focus-within .card-action-overlay {
  opacity: 1;
  transform: translateY(0);
}

.card-overlay-btn {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  color: var(--ink);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.card-overlay-btn--add {
  background: var(--btn-primary-bg, var(--ink));
  color: var(--btn-primary-text, var(--bg));
  border-color: transparent;
}

.product-body {
  padding-top: 12px;
  display: grid;
  gap: 6px;
}

.product-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.38;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-title a {
  color: inherit;
  text-decoration: none;
}

.product-title a:hover {
  text-decoration: underline;
}

.card-swatches {
  list-style: none;
  margin: 4px 0 0;
  padding: 2px 2px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.card-swatch-dot {
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--swatch, #c9ab72);
  outline: 1px solid var(--line-strong);
  outline-offset: 2px;
  flex-shrink: 0;
  box-sizing: border-box;
}

.card-swatch-more {
  font-size: 0.72rem;
  color: var(--muted);
  margin-left: 2px;
}

.product-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--muted);
}

.rating-star {
  color: var(--star, var(--ink));
}

.product-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

.product-price {
  font-weight: 600;
  font-size: 0.95rem;
}

.product-compare {
  color: var(--muted);
  font-size: 0.85rem;
}

/* Quick View Dialog */
.quick-dialog {
  width: min(880px, calc(100vw - 24px));
  max-width: 100%;
  max-height: 90dvh;
  margin: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
  box-shadow: var(--shadow);
  overflow-y: auto;
}

.quick-dialog::backdrop {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
}

.quick-dialog-shell {
  position: relative;
  padding: clamp(18px, 3vw, 28px);
}

.quick-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.quick-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.quick-stage {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-soft);
}

.quick-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.quick-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.quick-thumb {
  padding: 0;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  border: 2px solid transparent;
  overflow: hidden;
  background: var(--bg-soft);
  cursor: pointer;
}

.quick-thumb.is-active {
  border-color: var(--ink);
}

.quick-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.quick-title {
  margin: 4px 0 8px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.25;
}

.quick-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.quick-price {
  font-size: 1.15rem;
  font-weight: 700;
}

.quick-compare {
  color: var(--muted);
}

.quick-status {
  margin: 0 0 12px;
  font-size: 0.85rem;
  color: var(--muted);
}

.quick-desc {
  margin: 0 0 16px;
  font-size: 0.9rem;
  color: var(--ink-2);
}

.quick-options {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.quick-actions {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.quick-submit {
  flex: 1 1 auto;
}

.quick-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.quick-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

/* Category layout, price slider & slide-over mobile filter */
.catalog-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.catalog-sidebar-head {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.catalog-sidebar-title {
  margin: 0;
  font-size: 1.05rem;
}

.catalog-filter-close {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.filter-group {
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.filter-group-title {
  margin: 0 0 12px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.filter-cat-list,
.filter-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.filter-cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px;
  border-radius: 8px;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.9rem;
}

.filter-cat-link.is-active,
.filter-cat-link:hover {
  background: var(--bg-soft);
  color: var(--ink);
  font-weight: 600;
}

.filter-check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  font-size: 0.9rem;
  cursor: pointer;
}

.price-slider__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.price-slider__head .filter-group-title {
  margin: 0;
}

.price-slider__reset {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.8rem;
  text-decoration: underline;
  cursor: pointer;
}

.price-slider__values {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: end;
  gap: 6px;
  margin-bottom: 12px;
}

.price-slider__num-field {
  display: grid;
  gap: 4px;
}

.price-slider__num-label {
  font-size: 0.72rem;
  color: var(--muted);
}

.price-slider__num-input {
  min-height: 38px;
  padding: 6px 8px;
  font-size: 0.85rem;
}

.price-slider__dash {
  padding-bottom: 10px;
  color: var(--muted);
}

.price-slider__track {
  position: relative;
  height: 28px;
  display: flex;
  align-items: center;
}

.price-slider__rail,
.price-slider__fill {
  position: absolute;
  height: 4px;
  border-radius: 999px;
}

.price-slider__rail {
  inset-inline: 0;
  background: var(--line);
}

.price-slider__fill {
  background: var(--ink);
}

.price-slider__range {
  position: absolute;
  inset-inline: 0;
  width: 100%;
  margin: 0;
  background: transparent;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}

.price-slider__range::-webkit-slider-thumb {
  pointer-events: auto;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid var(--bg);
  background: var(--ink);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.price-slider__range::-moz-range-thumb {
  pointer-events: auto;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid var(--bg);
  background: var(--ink);
  cursor: pointer;
}

.price-slider__bounds {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 4px;
}

.price-slider__error {
  margin: 6px 0 0;
  font-size: 0.8rem;
  color: var(--red);
}

.catalog-filter-actions {
  display: grid;
  gap: 8px;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.catalog-toolbar-left,
.catalog-toolbar-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.catalog-mobile-filter-btn {
  display: none;
}

.toolbar-select-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.toolbar-select-label {
  font-size: 0.82rem;
  color: var(--muted);
  white-space: nowrap;
}

.toolbar-select-group .select {
  width: auto;
  min-height: 38px;
  padding: 6px 12px;
  font-size: 0.875rem;
}

.result-count {
  font-size: 0.875rem;
  color: var(--muted);
}

.catalog-empty-state {
  grid-column: 1 / -1;
  padding: clamp(32px, 6vw, 60px) 20px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.support-strip {
  padding-block: 42px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}

.support-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.support-strip-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.support-strip-item h2 {
  margin: 0 0 4px;
  font-size: 0.95rem;
}

.support-strip-item p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

/* Product detail, thumbs & zoom dialog */
.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.product-gallery-stage {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
}

.product-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-zoom-btn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  color: var(--ink);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
}

.product-thumbs-carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.product-thumb-nav {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.product-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.product-thumbs::-webkit-scrollbar {
  display: none;
}

.product-thumb {
  flex: 0 0 calc((100% - 24px) / 4);
  aspect-ratio: 4 / 5;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-soft);
  cursor: pointer;
}

.product-thumb.is-active {
  border-color: var(--ink);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-detail-title {
  margin: 6px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.2;
}

.product-detail-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0;
}

.product-detail-price {
  font-size: 1.35rem;
  font-weight: 700;
}

.tax-price-note {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.85rem;
}

.option-group {
  margin-bottom: 14px;
}

.option-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.option-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.option-pill {
  min-height: 38px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 0.875rem;
  cursor: pointer;
}

.option-pill.is-selected {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}

.product-buy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  margin: 18px 0;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  min-height: 44px;
  background: var(--bg);
}

.qty-stepper button {
  width: 38px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.qty-stepper input {
  width: 42px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: center;
  font: inherit;
  font-weight: 600;
}

.product-add-btn {
  flex: 1 1 180px;
}

.product-wishlist-btn.is-saved {
  border-color: var(--red);
  color: var(--red);
}

.product-benefits {
  list-style: none;
  margin: 20px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  font-size: 0.85rem;
}

.product-benefits li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
}

.product-tabs {
  margin-top: 24px;
}

.product-tabs--full {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.product-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}

.product-tab-trigger {
  padding: 10px 14px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}

.product-tab-trigger.is-active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.product-zoom-dialog {
  width: min(920px, 95vw);
  max-height: 92dvh;
  margin: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
}

.product-zoom-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.product-zoom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.product-zoom-stage {
  position: relative;
  display: grid;
  place-items: center;
  padding: 16px;
}

.product-zoom-stage img {
  max-width: 100%;
  max-height: 76dvh;
  object-fit: contain;
}

.product-zoom-nav,
.product-zoom-close {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.product-zoom-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.product-zoom-nav--prev {
  left: 14px;
}

.product-zoom-nav--next {
  right: 14px;
}

/* Value props, categories & product scroller */
.value-props-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.value-prop-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
}

.value-prop-icon {
  flex-shrink: 0;
  color: var(--ink);
}

.value-prop-title {
  margin: 0 0 4px;
  font-size: 0.95rem;
}

.value-prop-text {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 18px;
}

.category-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.category-media {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-soft);
}

.category-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.category-card:hover .category-media img {
  transform: scale(1.03);
}

.category-body {
  padding-top: 10px;
}

.category-title {
  margin: 0 0 2px;
  font-size: 1rem;
}

.category-count,
.category-desc {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.scroller-controls {
  display: inline-flex;
  gap: 8px;
}

.scroller-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.scroller-btn:hover:not(:disabled) {
  border-color: var(--ink);
  background: var(--bg-soft);
}

.scroller-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.scroller-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.scroller-dots[hidden] {
  display: none;
}

.scroller-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--line-strong);
  cursor: pointer;
  transition: width 0.2s ease, background-color 0.2s ease;
}

.scroller-dot.is-active {
  width: 22px;
  background: var(--ink);
}

.product-scroller-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 54px) / 4);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 6px;
}

.product-scroller-track::-webkit-scrollbar {
  display: none;
}

.product-scroller-track > * {
  scroll-snap-align: start;
}

/* Cart, editorial, contact & status pages */
.cart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 1fr);
  gap: 28px;
  align-items: start;
}

.cart-list {
  display: grid;
  gap: 14px;
}

.cart-item-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
}

.cart-item-thumb {
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-soft);
}

.cart-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cart-item-head,
.cart-item-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
}

.cart-item-foot {
  align-items: center;
  margin-top: 12px;
}

.cart-item-title {
  margin: 0;
  font-size: 1rem;
}

.cart-item-title a {
  color: inherit;
  text-decoration: none;
}

.cart-item-variant {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.cart-item-remove {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

.cart-item-remove:hover {
  color: var(--red);
}

.cart-item-prices {
  display: grid;
  text-align: right;
  gap: 2px;
}

.cart-item-unit {
  font-size: 0.8rem;
  color: var(--muted);
}

.cart-summary-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  display: grid;
  gap: 16px;
}

.cart-summary-title {
  margin: 0;
  font-size: 1.15rem;
}

.free-shipping-box {
  display: grid;
  gap: 8px;
}

.free-shipping-copy,
.drawer-shipping-copy {
  margin: 0;
  font-size: 0.85rem;
}

.free-shipping-bar {
  height: 6px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}

.free-shipping-bar span {
  display: block;
  height: 100%;
  background: var(--ink);
  transition: width 0.25s ease;
}

.cart-totals {
  margin: 0;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 600;
}

.cart-total-row dd {
  margin: 0;
}

.cart-summary-actions,
.drawer-foot-actions {
  display: grid;
  gap: 10px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: start;
}

.contact-info-card,
.contact-form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  overflow: hidden;
}

.contact-form-card,
.contact-details-body {
  padding: clamp(20px, 3vw, 28px);
}

.contact-media {
  aspect-ratio: 16 / 9;
  background: var(--bg-soft);
}

.contact-media img,
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  display: block;
}

.contact-media--placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
}

.contact-details-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.contact-details-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.contact-details-list li > div {
  display: grid;
  gap: 2px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.contact-alert {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  border: 1px solid var(--line);
}

.contact-alert--success {
  background: rgba(21, 128, 61, 0.1);
  border-color: rgba(21, 128, 61, 0.35);
}

.contact-alert--error {
  background: rgba(199, 62, 62, 0.1);
  border-color: rgba(199, 62, 62, 0.35);
}

.blog-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.blog-search-form {
  display: flex;
  gap: 8px;
  flex: 1 1 280px;
  max-width: 420px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 20px;
}

.blog-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg);
}

.blog-card-media {
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
  overflow: hidden;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card-body {
  padding: 16px;
  display: grid;
  gap: 8px;
}

.blog-card-meta {
  display: flex;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--muted);
}

.blog-card-title {
  margin: 0;
  font-size: 1.05rem;
}

.blog-card-title a {
  color: inherit;
  text-decoration: none;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 36px;
  align-items: start;
}

.article-cover {
  margin: 0 0 24px;
  border-radius: var(--radius);
  overflow: hidden;
}

.article-cover img {
  width: 100%;
  height: auto;
  display: block;
}

.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--muted);
}

.article-share-bar,
.article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.tag-pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-pill,
.share-btn {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 0.82rem;
  text-decoration: none;
  cursor: pointer;
}

.article-sidebar {
  position: sticky;
  top: 90px;
  display: grid;
  gap: 18px;
}

.sidebar-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
}

.sidebar-card-title {
  display: block;
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 600;
}

.sidebar-search-row {
  display: flex;
  gap: 8px;
}

.sidebar-posts-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.sidebar-post-link {
  display: grid;
  gap: 2px;
  color: inherit;
  text-decoration: none;
  font-size: 0.9rem;
}

.sidebar-post-date {
  font-size: 0.78rem;
  color: var(--muted);
}

.status-card {
  max-width: 560px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  text-align: center;
}

.status-card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.password-countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0;
}

.countdown-unit {
  padding: 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
}

.countdown-unit strong {
  display: block;
  font-size: 1.35rem;
}

.password-input-row {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: max(18px, env(safe-area-inset-bottom, 18px));
  z-index: 80;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--ink);
  box-shadow: var(--shadow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.back-to-top[hidden] {
  display: none;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

/* Tablet & Mobile breakpoints */
@media (max-width: 1024px) {
  .section-head,
  .section-head--split,
  .section-head-copy,
  .section-head .stack {
    text-align: left;
  }

  .product-grid,
  .catalog-product-grid {
    grid-template-columns: repeat(var(--product-grid-columns-tablet, 3), minmax(0, 1fr));
  }

  .value-props-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-scroller-track {
    grid-auto-columns: calc((100% - 36px) / 3);
  }
}

@media (max-width: 900px) {
  .section-head,
  .section-head--split {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .section-head-copy,
  .section-head .stack,
  .section-head :is(.eyebrow, h2, .section-title, .section-sub, .lead) {
    text-align: left;
  }

  .categories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 14px;
  }
}

@media (max-width: 960px) {
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .catalog-mobile-filter-btn {
    display: inline-flex;
  }

  .catalog-sidebar-head {
    display: flex;
  }

  .catalog-sidebar {
    position: fixed;
    inset-block: 0;
    inset-inline-start: 0;
    width: min(340px, 88vw);
    max-width: 100%;
    padding: 18px;
    background: var(--bg);
    z-index: 120;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    box-shadow: var(--shadow);
  }

  .catalog-sidebar.is-open {
    transform: translateX(0);
  }

  .catalog-filter-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 115;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }

  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .product-detail-grid,
  .cart-grid,
  .contact-layout,
  .support-strip-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .product-scroller-track {
    grid-auto-columns: calc((100% - 18px) / 2);
  }

  .footer-payments {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-payments .payment-method-badge {
    width: 34px;
    height: 22px;
  }

  input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]),
  select,
  textarea,
  .field input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]),
  .field select,
  .field textarea,
  .minimal-address-form input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]),
  .minimal-address-form select,
  .minimal-address-form textarea,
  .newsletter-input,
  .field-input,
  .input,
  .textarea,
  .select,
  .toolbar-select-group .select,
  .catalog-toolbar select,
  .blog-per-page select,
  .sort-field select,
  .option-select,
  .jualify-language-switcher__select,
  .mobile-panel-lang .jualify-language-switcher__select,
  .cart-note-field .textarea,
  .cart-note-input,
  .drawer-note-input,
  .mobile-search-bar input {
    font-size: 16px;
  }
}

@media (max-width: 767px), (hover: none) {
  .card-action-overlay {
    position: static;
    opacity: 1;
    transform: none;
    padding: 8px 0 0;
  }

  .card-overlay-btn {
    min-height: 40px;
    padding: 6px 8px;
    font-size: 0.75rem;
    background: var(--bg-soft);
    backdrop-filter: none;
  }

  .card-overlay-btn--add {
    background: var(--btn-primary-bg, var(--ink));
    color: var(--btn-primary-text, var(--bg));
  }
}

@media (max-width: 640px) {
  .product-grid,
  .catalog-product-grid,
  .categories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }

  .value-props-grid,
  .blog-grid,
  .contact-form-row,
  .product-benefits {
    grid-template-columns: 1fr;
  }

  .form-grid-2 {
    grid-template-columns: 1fr !important;
  }

  .product-scroller-track {
    grid-auto-columns: 74%;
  }

  .footer-payments .payment-method-badge {
    width: 32px;
    height: 20px;
  }

  .quick-dialog {
    width: 100%;
    max-width: 100vw;
    margin: auto 0 0;
    border-radius: var(--radius) var(--radius) 0 0;
    max-height: 92dvh;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .quick-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .quick-stage {
    aspect-ratio: 1 / 1;
    max-height: 280px;
  }

  .cart-drawer .drawer-foot {
    padding-bottom: max(16px, env(safe-area-inset-bottom, 16px));
  }

  .password-input-row {
    flex-direction: column;
  }

  .hero-actions,
  .hero-cta-row {
    flex-wrap: wrap;
  }
}

@media (max-width: 359px) {
  .product-grid,
  .catalog-product-grid,
  .categories-grid {
    gap: 12px 10px;
  }

  .card-action-overlay {
    flex-direction: column;
  }
}