/* ============================================================
   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: var(--font-heading), system-ui, sans-serif;
  --font-body: var(--font-body), 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;
}

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

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

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

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: #fff;
}

.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: #fff;
  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,
.reveal.visible {
  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: #fff;
  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: sticky;
  top: 0;
  z-index: 90;
  width: 100%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.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;
  gap: clamp(20px, 3vw, 40px);
}

.main-nav a {
  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 {
  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"] {
  color: var(--ink);
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::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 panel ---------- */

.mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 90px 28px 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-panel.open {
  opacity: 1;
  visibility: visible;
}

.mobile-panel a {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  padding: 10px 4px;
  border-bottom: 1px solid var(--line);
}

.mobile-panel .panel-foot {
  margin-top: 24px;
  display: flex;
  gap: 12px;
}

.mobile-close {
  position: absolute;
  top: 16px;
  right: 16px;
}

/* ---------- 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: #fff;
}

/* ---------- 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%;
}

.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: #fff;
  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: #fff;
}

.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(3, 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, 4 / 5);
  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: #fff;
  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: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  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:hover {
  background: var(--ink-2);
}

.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 .sketch {
  width: min(240px, 70%);
  color: var(--ink);
}

.promo-tag {
  position: absolute;
  top: 8%;
  right: 12%;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  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-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);
}

.footer-bottom .pay {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

/* ---------- 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: #fff;
}

.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;
}

.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: #fff;
  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);
  pointer-events: none;
  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(2, 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;
  }

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

  .hero-collage {
    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 {
    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: clamp(30px, 4vw, 48px) 0 clamp(24px, 3vw, 36px);
}

.page-head h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 8px;
}

.page-head p {
  color: var(--muted);
  max-width: 38em;
  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: #fff;
}

.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: var(--product-image-aspect, 4 / 5);
  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: #fff;
}

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

.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;
}

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

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

.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;
  border-radius: var(--radius);
  overflow: hidden;
}

.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: #fff;
}

/* ---------- account ---------- */

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

.account-nav {
  position: sticky;
  top: calc(var(--header-h) + 18px);
  display: grid;
  gap: 4px;
}

.account-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: background 0.2s ease, color 0.2s ease;
}

.account-nav a svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.account-nav a:hover {
  background: var(--bg-soft);
  color: var(--ink);
}

.account-nav a.active {
  background: var(--ink);
  color: #fff;
}

.account-content h2 {
  font-size: 1.3rem;
  margin-bottom: 18px;
}

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

.stat-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.stat-card span {
  font-size: 0.8rem;
  color: var(--muted);
}

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

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.panel-head h2 {
  margin: 0;
}

/* tables */

.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.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

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

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

.data-table .strong {
  font-weight: 600;
}

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

.status {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.status.solid {
  background: var(--ink);
  color: #fff;
}

.status.outline {
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
}

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

/* address cards */

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

.address-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.address-card.default {
  border-color: var(--ink);
}

.address-card .ac-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.address-card strong {
  font-weight: 600;
}

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

.address-card .ac-actions {
  display: flex;
  gap: 16px;
  margin-top: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}

.address-card .ac-actions a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.address-card .ac-actions .danger {
  color: var(--red);
}

/* ---------- 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;
  }

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

  .account-nav {
    position: static;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}

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

  .stat-cards {
    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: #fff;
}

.newsletter-dark h2 {
  color: #fff;
}

.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: #fff;
}

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

.newsletter-dark .subscribe .input:focus {
  border-color: #fff;
}

.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)
   ============================================================ */

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

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

.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);
}

.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: #fff;
  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: #fff;
}

.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: 400px;
  }
}

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

  .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;
}

.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: 0;
  }

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

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

@media (max-width: 600px) {
  .bs-art {
    display: none;
  }

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

  .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(380px, 42vw, 480px);
  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;
}

.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: 0;
  }

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

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

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

@media (max-width: 600px) {
  .hb-figure {
    display: none;
  }

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

  .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;
}

/* ============================================================
   CUSTOMER PORTAL & ACCOUNT STYLING
   ============================================================ */

.account-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
  align-items: start;
}

@media (max-width: 840px) {
  .account-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.account-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
}

.account-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.15s ease;
}

.account-nav a:hover,
.account-nav a.active {
  background: var(--bg-soft);
  color: var(--ink);
  font-weight: 600;
}

.account-nav a svg {
  flex-shrink: 0;
  stroke-width: 1.8;
}

.account-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.stat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-card strong {
  font-size: 28px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
}

.stat-card span {
  font-size: 13px;
  color: var(--muted);
}

.panel {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.panel-head h2 {
  margin: 0;
  font-size: 18px;
  font-family: var(--font-display);
  font-weight: 700;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.data-table th {
  text-align: left;
  padding: 12px 14px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
}

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

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

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

.address-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.address-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px;
  background: var(--bg-soft);
}

.address-card .ac-top {
  margin-bottom: 8px;
}

.address-card .ac-actions {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.address-card .ac-actions a {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
}

.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.success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

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

.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);
}

.auth-card {
  box-shadow: var(--shadow);
}

/* ============================================================
   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%;
  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;
}

.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(--color-ink, #2C3531);
}

.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(--color-ink, #2C3531);
  background-color: var(--color-surface, #FFFFFF);
  border: 1px solid var(--color-border, #E3DDD3);
  border-radius: var(--radius-sm, 4px);
  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(--color-mint, #45c4b0);
  box-shadow: 0 0 0 2px rgba(69, 196, 176, 0.2);
}

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

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

.wishlist-btn {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border, #E3DDD3);
  border-radius: var(--radius-sm, 4px);
  background: var(--color-surface, #FFFFFF);
  color: var(--color-ink, #2C3531);
  cursor: pointer;
  transition: all 0.2s ease;
}

.wishlist-btn:hover {
  border-color: var(--color-mint, #45c4b0);
  color: var(--color-mint, #45c4b0);
  transform: scale(1.04);
}

.wishlist-btn.active,
.wishlist-btn[aria-pressed="true"] {
  border-color: #c73e3e;
  color: #c73e3e;
  background: rgba(199, 62, 62, 0.08);
}

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

.wishlist-btn.active svg,
.wishlist-btn[aria-pressed="true"] svg {
  fill: currentColor;
}

/* ============================================================
   RESPONSIVE FORM GRID
   ============================================================ */

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

/* ============================================================
   MOBILE PANEL & DRAWER (SMOOTH LEFT SLIDE)
   ============================================================ */

.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  z-index: 140;
  transition: opacity 0.3s ease;
}

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

.mobile-panel {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: auto;
  z-index: 150;
  background: var(--color-surface, #FFFFFF);
  color: var(--color-ink, #2C3531);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  padding: 24px;
  width: min(340px, 86vw);
  border-right: 1px solid var(--color-border, #E3DDD3);
  transform: translateX(-105%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  overflow-y: auto;
}

.mobile-panel.open,
body.menu-open .mobile-panel {
  transform: translateX(0);
}

.mobile-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border, #E3DDD3);
}

.mobile-close {
  background: transparent;
  border: none;
  color: var(--color-text-muted, #7A847F);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm, 4px);
}

.mobile-close:hover {
  color: var(--color-ink, #2C3531);
  background: rgba(0, 0, 0, 0.05);
}

.mobile-panel-search {
  margin: 12px 0 8px;
}

.mobile-search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--color-surface-soft, #F7F5F0);
  border: 1px solid var(--color-border, #E3DDD3);
  border-radius: var(--radius-sm, 4px);
}

.mobile-search-bar input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--color-ink, #2C3531);
  font-size: 0.9rem;
  outline: none;
}

/* Photo artwork variants for hero/promo blocks (replaces inline styles) */
.hb-figure img,
.bs-art img {
  width: min(340px, 82%);
  max-height: 380px;
  height: auto;
  object-fit: contain;
}

.bs-art img {
  max-height: 320px;
}

.promo-art img {
  width: min(240px, 70%);
  max-height: 240px;
  height: auto;
  object-fit: contain;
}

img.slide-art {
  max-height: 380px;
  object-fit: contain;
  margin-inline: auto;
}


/* ---- Kala Custom Content Page & Rich Text ---- */
.template-page .article-wrap, .article-wrap:not(:has(.article-aside)):not(:has(.kala-article-sidebar)) { display: block !important; max-width: 760px !important; margin: 0 auto !important; }
.article-wrap .article-title { font-family: var(--font-heading); 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, #182019); 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-heading); 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-heading); 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-heading); 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-heading); 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); }
.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); }
.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(--terra, #b95735); background: var(--cream, #f7f3eb); border-radius: 0 var(--radius, 18px) var(--radius, 18px) 0; 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, 18px); margin-block: 1.75rem; display: block; }
.page-content hr, .rte hr, .prose hr { border: 0; height: 1px; background: var(--line, #ddd9d0); margin: 2.5rem 0; }
.page-content a, .rte a, .prose a { color: var(--terra, #b95735); 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-family: var(--font-heading); 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;
}

/* ---------- product carousel (product-grid section) ---------- */

.kala-product-grid .carousel-controls {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}
.kala-product-grid .carousel-nav {
  display: flex;
  gap: 8px;
}
.kala-product-grid.is-static .carousel-nav {
  display: none;
}
.carousel-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease, transform 0.15s ease;
}
.carousel-btn:hover:not(:disabled) {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.carousel-btn:active:not(:disabled) {
  transform: scale(0.94);
}
.carousel-btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.carousel-btn:focus-visible {
  outline: 2px solid var(--terra);
  outline-offset: 2px;
}
.product-carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * var(--carousel-gap, 24px)) / 4);
  gap: var(--carousel-gap, 24px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2px;
}
.product-carousel-track::-webkit-scrollbar {
  display: none;
}
.product-carousel-track > * {
  scroll-snap-align: start;
  min-width: 0;
}
.product-carousel-track:focus-visible {
  outline: 2px solid var(--terra);
  outline-offset: 4px;
}
.product-carousel-empty {
  padding: 40px 0;
  text-align: center;
  color: var(--muted);
}

/* ---------- categories list: four tiles per row ---------- */

.category-grid.category-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.category-grid--four .category-card {
  min-height: 340px;
  padding: 22px;
  border-radius: 18px;
}
.category-grid--four .category-copy strong {
  font-size: 1.05rem;
}

@media (max-width: 980px) {
  .product-carousel-track {
    grid-auto-columns: calc((100% - var(--carousel-gap, 24px)) / 2);
  }
  .category-grid.category-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .category-grid--four .category-card {
    min-height: 280px;
  }
}

@media (max-width: 680px) {
  .product-carousel-track {
    --carousel-gap: 14px;
  }
  .kala-product-grid .carousel-controls {
    margin-top: 14px;
    justify-content: space-between;
  }
  .carousel-btn {
    width: 38px;
    height: 38px;
  }
  .category-grid.category-grid--four {
    gap: 12px;
  }
  .category-grid--four .category-card {
    min-height: 220px;
    padding: 16px;
    border-radius: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-carousel-track {
    scroll-behavior: auto;
  }
  .carousel-btn {
    transition: none;
  }
}

