
/* ============================================================
   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: 1200px;
  --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;
}

*,
*::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 {
  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: 4 / 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: #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: 12px;
  margin-top: clamp(32px, 4vw, 48px);
}

.pagination a,
.pagination .pagination-link,
.pagination .current {
  min-width: 44px;
  width: auto;
  height: 44px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 500;
  text-decoration: none;
  background: var(--surface, #fff);
  color: var(--ink, #1e2622);
  white-space: nowrap;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.pagination a:hover,
.pagination .pagination-link:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

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

.pagination .page-info {
  display: inline-flex;
  align-items: center;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-soft, #5a6460);
  padding: 0 10px;
  white-space: nowrap;
}

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

.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: #fff;
  border: 1px solid var(--line);
  border-radius: var(--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-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, #9e4738);
  color: var(--red, #9e4738);
}

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

.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: 16px 20px;
  border-radius: var(--radius-sm, 8px);
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.55;
  box-sizing: border-box;
}

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

.form-status-inner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.form-status-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.form-status-body {
  flex: 1;
}

.form-status-title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.form-status-text {
  margin: 0;
}

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

.form-status.success .form-status-icon {
  color: #059669;
}

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

.form-status.error .form-status-icon {
  color: #dc2626;
}

.form-status ul,
.form-status-list {
  margin: 4px 0 0;
  padding-left: 20px;
}

.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 {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

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

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


/* --- Blog: search field, toolbar, per-page selector, feature card & pagination --- */
.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;
}

.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, var(--jc-line-strong, #e2e8f0));
  border-radius: 999px;
  background: var(--bg, var(--jc-bg, #fff));
  color: var(--ink, var(--jc-ink, #0f172a));
  font: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.blog-search__input:focus {
  border-color: var(--ink, var(--jc-ink, #0f172a));
}

.blog-search__input::placeholder {
  color: var(--muted, var(--jc-muted, #64748b));
}

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

.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, var(--jc-line, #e2e8f0));
}

.blog-count {
  font-size: 0.85rem;
  color: var(--muted, var(--jc-muted, #64748b));
  font-variant-numeric: tabular-nums;
}

.blog-per-page {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--muted, var(--jc-muted, #64748b));
}

.blog-per-page select {
  border: 1px solid var(--line-strong, var(--jc-line-strong, #cbd5e1));
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-family: var(--font-body, inherit);
  color: var(--ink, var(--jc-ink, #0f172a));
  background: var(--bg, var(--jc-bg, #fff));
  outline: none;
  cursor: pointer;
}

.blog-per-page select:focus {
  border-color: var(--ink, var(--jc-ink, #0f172a));
}

.blog-card--feature {
  grid-column: auto !important;
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none !important;
}

.blog-card--feature .bc-media {
  aspect-ratio: 16 / 10 !important;
  min-height: 0 !important;
}

.blog-card--feature .bc-body {
  display: flex !important;
  flex-direction: column !important;
  padding: 22px 24px !important;
}

.blog-card--feature h3 {
  font-family: var(--n-display, var(--serif)) !important;
  font-size: 1.25rem !important;
  line-height: 1.35 !important;
}

.blog-pagination button {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line, var(--jc-line, #e2e8f0));
  border-radius: 999px;
  background: var(--bg, var(--jc-bg, #fff));
  color: var(--ink, var(--jc-ink, #0f172a));
  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, var(--jc-ink, #0f172a));
}

.blog-pagination button.current {
  background: var(--ink, var(--jc-ink, #0f172a));
  border-color: var(--ink, var(--jc-ink, #0f172a));
  color: var(--bg, var(--jc-bg, #fff));
}

.blog-pagination button:disabled {
  opacity: 0.4;
  cursor: default;
}

.blog-pagination .page-gap {
  padding: 0 4px;
  color: var(--muted, var(--jc-muted, #64748b));
}

@media (max-width: 720px) {
  .blog-card--feature {
    grid-column: auto !important;
  }
}


/* ---- Nayara Custom Content Page & Rich Text ---- */
.article-wrap { max-width: 760px; margin-inline: auto; }
.article-wrap .article-title { font-family: var(--serif); font-size: clamp(2.2rem, 4.2vw, 3.2rem) !important; font-weight: 600; line-height: 1.15; letter-spacing: -0.015em; 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(--sans); font-size: 16.5px; line-height: 1.85; color: var(--ink, #261c2c); 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(--serif); font-size: clamp(2rem, 3.5vw, 2.75rem); line-height: 1.2; font-weight: 600; letter-spacing: -0.015em; margin-top: clamp(2rem, 4vw, 3rem); margin-bottom: 1.25rem; color: var(--ink); }
.page-content h2, .rte h2, .prose h2 { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; 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(--serif); font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.35; font-weight: 600; 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(--sans); font-size: 1.05rem; line-height: 1.4; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; 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(--clay, #9e4738); background: var(--cream, #f4ede2); border-radius: 0 var(--radius-sm, 8px) var(--radius-sm, 8px) 0; font-family: var(--serif); font-style: italic; font-size: 1.15rem; 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, 8px); 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(--clay, #9e4738); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.page-content a:hover, .rte a:hover, .prose a:hover { color: var(--clay-dark, #7f3628); }
.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(--serif); font-weight: 600; 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;
}

.testimonial-title,
.home-v2 .testimonial-title,
.testimonial .testimonial-title {
  margin-top: 0;
  margin-bottom: 32px !important;
}

/* Product Reviews New Row */
.product-reviews-slot {
  clear: both !important;
  float: none !important;
  width: 100% !important;
  grid-column: 1 / -1 !important;
  margin-top: 48px !important;
}

/* Article Editorial Single Column Top Left */
.article-main-col .breadcrumbs {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  max-width: none !important;
  justify-content: flex-start !important;
  text-align: left !important;
}
.article-main-col .article-header,
.article-header--inline {
  text-align: left !important;
  margin-bottom: 24px !important;
}
.article-header--inline .article-meta-top {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 12px !important;
}
.article-main-col .article-title,
.article-header--inline .article-title {
  text-align: left !important;
  margin: 0 0 16px 0 !important;
  font-size: clamp(2rem, 3.5vw, 2.75rem) !important;
  line-height: 1.25 !important;
}
.article-main-col .article-lede,
.article-header--inline .article-lede {
  text-align: left !important;
  margin: 0 0 20px 0 !important;
  font-size: 1.1rem !important;
  color: var(--n-muted, var(--ink-soft)) !important;
}
.article-comments__submit-btn {
  background: var(--n-accent, #94505f) !important;
  color: var(--n-on-accent, #ffffff) !important;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  padding: 12px 28px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: opacity 0.15s ease, background-color 0.2s ease !important;
}
.article-comments__submit-btn:hover {
  background: var(--n-accent-hover, #7a3f4d) !important;
  color: #ffffff !important;
  opacity: 0.95 !important;
}

/* --- Navigation Submenu Typography & Dropdown Strikethrough Removal --- */
.main-nav .menu-branch,
.home-v2 .main-nav .menu-branch {
  font-size: .9rem !important;
  font-weight: 500 !important;
}
.main-nav .menu-branch summary,
.home-v2 .main-nav .menu-branch summary {
  font-size: .9rem !important;
  font-weight: 500 !important;
  letter-spacing: .01em !important;
  color: var(--menu-link, var(--n-muted)) !important;
  padding: 24px 0 22px !important;
  cursor: pointer;
}
.main-nav .menu-branch summary:hover,
.home-v2 .main-nav .menu-branch summary:hover {
  color: var(--n-ink) !important;
}
.main-nav .menu-branch__links,
.home-v2 .main-nav .menu-branch__links {
  min-width: 200px;
  border-radius: var(--n-radius, 8px);
}
.main-nav .menu-branch__links a,
.home-v2 .main-nav .menu-branch__links a,
.main-nav .menu-branch__link,
.home-v2 .main-nav .menu-branch__link {
  position: static !important;
  font-size: 0.86rem !important;
  font-weight: 500 !important;
  color: var(--n-ink, #1e2622) !important;
  text-decoration: none !important;
  padding: 8px 12px !important;
  border-radius: 4px;
  line-height: 1.4 !important;
}
.main-nav .menu-branch__links a::after,
.home-v2 .main-nav .menu-branch__links a::after,
.main-nav .menu-branch__link::after,
.home-v2 .main-nav .menu-branch__link::after {
  display: none !important;
  content: none !important;
}
.main-nav .menu-branch__links a:hover,
.home-v2 .main-nav .menu-branch__links a:hover,
.main-nav .menu-branch__link:hover,
.home-v2 .main-nav .menu-branch__link:hover {
  background: var(--n-surface-2, rgba(0, 0, 0, 0.04)) !important;
  color: var(--n-accent, #94505f) !important;
  text-decoration: none !important;
}

/* --- Homepage Products Grid Heading Left --- */
.home-v2 .product-head,
.product-head {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 24px !important;
  text-align: left !important;
  margin-bottom: 40px !important;
}
.home-v2 .product-head .stack,
.product-head .stack {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  text-align: left !important;
  gap: 8px !important;
  margin-right: auto !important;
}
.home-v2 .product-head h2,
.product-head h2 {
  text-align: left !important;
  margin: 0 !important;
}
.home-v2 .product-head .eyebrow,
.product-head .eyebrow {
  text-align: left !important;
  margin: 0 !important;
  display: block !important;
}
@media (max-width: 767px) {
  .home-v2 .product-head,
  .product-head {
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    gap: 16px !important;
  }
}

/* --- Product Detail Page Overlap Prevention & Top Space --- */
.home-v2 .product-buy,
.product-buy {
  position: static !important;
  top: auto !important;
}
.template-product .breadcrumbs {
  padding-top: 10px !important;
  padding-bottom: 6px !important;
}
.product-detail-section,
.home-v2 .product-detail-section {
  padding-top: 10px !important;
  padding-bottom: 40px !important;
}
.product-detail-section .product-layout,
.home-v2 .product-layout {
  padding-top: 0 !important;
  padding-bottom: 24px !important;
}
.product-reviews-slot img,
.product-reviews-slot .jualify-pr-photo-thumb,
.product-reviews-slot .jualify-pr-photos img,
.jualify-pr-photo-thumb {
  max-width: 200px !important;
  max-height: 200px !important;
  width: auto !important;
  height: auto !important;
  object-fit: cover !important;
  border-radius: var(--n-radius, 8px) !important;
  cursor: zoom-in !important;
}

/* --- Article Detail Page WhatsApp Icon --- */
.article-share-btn.share-wa svg {
  width: 16px !important;
  height: 16px !important;
  fill: currentColor !important;
  color: inherit !important;
}

/* --- Catalogue Page (/semua-produk) Price Filter on Same Line & Slider Amount --- */
.catalog-sidebar .price-range,
.price-filter-group .price-range,
.home-v2 .filter-panel .price-range {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
}
.catalog-sidebar .price-range input,
.price-filter-group .price-range input,
.home-v2 .filter-panel .price-range input {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  width: 100% !important;
  height: 40px !important;
  padding: 0 10px !important;
  border: 1px solid var(--n-line, #e2e5e1) !important;
  border-radius: var(--n-radius, 8px) !important;
  background: var(--n-bg, #fff) !important;
  color: var(--n-ink, #1e2622) !important;
  font-size: 0.85rem !important;
  box-sizing: border-box !important;
}
.price-sep {
  flex: 0 0 auto !important;
  color: var(--n-muted, #7c8882) !important;
  font-weight: 600 !important;
  padding: 0 2px !important;
}
.price-slider-box {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.price-slider-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
}
.price-slider-label {
  color: var(--n-muted, #7c8882);
  font-size: 0.76rem;
  font-weight: 500;
}
.price-slider-value {
  color: var(--n-accent, #94505f);
  font-weight: 700;
  font-size: 0.82rem;
}
.price-slider-range {
  width: 100% !important;
  height: 6px !important;
  border-radius: 999px !important;
  background: var(--n-line, #e2e5e1) !important;
  accent-color: var(--n-accent, #94505f) !important;
  cursor: pointer !important;
  padding: 0 !important;
  border: none !important;
  margin: 6px 0 !important;
}
.price-slider-range::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--n-accent, #94505f);
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
  border: 2px solid #fff;
}
.price-slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--n-muted, #7c8882);
}

/* --- Product Card Wishlist Icon: Inside image top-right, no circle bg, mimics header wishlist icon --- */
.shop-media-container,
.shop-card .shop-media,
.product-card .shop-media {
  position: relative !important;
}

.shop-media-container .heart,
.shop-media-container .wishlist,
.shop-media .heart,
.shop-media .wishlist,
.product-card__wishlist,
.home-v2 .shop-card .heart,
.home-v2 .product-card .heart,
.shop-card .heart,
.product-card .heart {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 6 !important;
  width: 32px !important;
  height: 32px !important;
  min-height: unset !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: var(--n-ink, #1e2622) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  outline: none !important;
  pointer-events: auto !important;
  transition: color 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.shop-media-container .heart svg,
.shop-media-container .wishlist svg,
.shop-media .heart svg,
.shop-media .wishlist svg,
.product-card__wishlist svg,
.home-v2 .shop-card .heart svg,
.home-v2 .product-card .heart svg,
.shop-card .heart svg,
.product-card .heart svg {
  width: 20px !important;
  height: 20px !important;
  stroke: currentColor !important;
  stroke-width: 1.65 !important;
  fill: none !important;
  flex-shrink: 0 !important;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
  transition: stroke 0.2s ease, fill 0.2s ease, transform 0.2s ease !important;
}

/* Hover: subtle scale and accent color matching header icon hover, strictly no circle background */
.shop-media-container .heart:hover,
.shop-media-container .wishlist:hover,
.shop-media .heart:hover,
.shop-media .wishlist:hover,
.product-card__wishlist:hover,
.home-v2 .shop-card .heart:hover,
.home-v2 .product-card .heart:hover,
.shop-card .heart:hover,
.product-card .heart:hover {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--n-accent, #94505f) !important;
  transform: scale(1.15) !important;
}

.shop-media-container .heart:hover svg,
.shop-media-container .wishlist:hover svg,
.shop-media .heart:hover svg,
.shop-media .wishlist:hover svg,
.product-card__wishlist:hover svg,
.home-v2 .shop-card .heart:hover svg,
.home-v2 .product-card .heart:hover svg,
.shop-card .heart:hover svg,
.product-card .heart:hover svg {
  stroke: var(--n-accent, #94505f) !important;
}

/* Active / Saved in wishlist: accent color with filled heart, strictly no circle background */
.shop-media-container .heart.active,
.shop-media-container .heart.liked,
.shop-media-container .heart.in-wishlist,
.shop-media-container .wishlist.active,
.shop-media-container .wishlist.liked,
.shop-media-container .wishlist.in-wishlist,
.shop-media .heart.active,
.shop-media .heart.liked,
.shop-media .heart.in-wishlist,
.product-card__wishlist.active,
.product-card__wishlist.liked,
.product-card__wishlist.in-wishlist,
.home-v2 .shop-card .heart.active,
.home-v2 .shop-card .heart.liked,
.home-v2 .product-card .heart.active,
.shop-card .heart.active,
.shop-card .heart.liked,
.product-card .heart.active,
.product-card .heart.liked {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--n-accent, #94505f) !important;
}

.shop-media-container .heart.active svg,
.shop-media-container .heart.liked svg,
.shop-media-container .heart.in-wishlist svg,
.shop-media-container .wishlist.active svg,
.shop-media-container .wishlist.liked svg,
.shop-media-container .wishlist.in-wishlist svg,
.shop-media .heart.active svg,
.shop-media .heart.liked svg,
.shop-media .heart.in-wishlist svg,
.product-card__wishlist.active svg,
.product-card__wishlist.liked svg,
.product-card__wishlist.in-wishlist svg,
.home-v2 .shop-card .heart.active svg,
.home-v2 .shop-card .heart.liked svg,
.home-v2 .product-card .heart.active svg,
.shop-card .heart.active svg,
.shop-card .heart.liked svg,
.product-card .heart.active svg,
.product-card .heart.liked svg {
  fill: currentColor !important;
  stroke: currentColor !important;
}

.home-v2 .shop-meta,
.shop-meta {
  min-height: 20px;
  justify-content: flex-start;
}

/* --- Product Page Extra Descriptions Transparent Background --- */
.product-tabs,
.product-tabs-container,
.product-tabs--horizontal,
.product-tabs--full,
.product-tabs__list,
.product-tabs__tab,
.product-tabs__panels,
.product-tabs__panel,
.accordion,
.accordion-item,
.accordion-button,
.accordion-content,
.accordion-content > div,
.accordion-content div,
.home-v2 .product-tabs,
.home-v2 .product-tabs-container,
.home-v2 .product-tabs--horizontal,
.home-v2 .product-tabs--full,
.home-v2 .product-tabs__list,
.home-v2 .product-tabs__tab,
.home-v2 .product-tabs__panels,
.home-v2 .product-tabs__panel,
.home-v2 .accordion,
.home-v2 .accordion-item,
.home-v2 .accordion-button,
.home-v2 .accordion-content,
.home-v2 .accordion-content > div,
.home-v2 .accordion-content div {
  background: transparent !important;
  background-color: transparent !important;
}

.product-tabs__panel *:not(input):not(select):not(textarea):not(button),
.accordion-content *:not(input):not(select):not(textarea):not(button),
.home-v2 .product-tabs__panel *:not(input):not(select):not(textarea):not(button),
.home-v2 .accordion-content *:not(input):not(select):not(textarea):not(button) {
  background-color: transparent !important;
}

/* --- Header Layout Mode (Dark/Light) Icon Switcher --- */
.theme-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.65;
  fill: none;
  flex-shrink: 0;
  vertical-align: middle;
}

.theme-icon-sun {
  display: inline-block !important;
}

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

:is(html[data-theme="dark"], html.dark, [data-theme="dark"]) .theme-icon-sun {
  display: none !important;
}

:is(html[data-theme="dark"], html.dark, [data-theme="dark"]) .theme-icon-moon {
  display: inline-block !important;
}

/* --- Dark Mode Main Navigation Visibility --- */
:is(html[data-theme="dark"], html.dark, [data-theme="dark"]) .main-nav a,
:is(html[data-theme="dark"], html.dark, [data-theme="dark"]) .main-nav .menu-branch,
:is(html[data-theme="dark"], html.dark, [data-theme="dark"]) .main-nav .menu-branch summary,
:is(html[data-theme="dark"], html.dark, [data-theme="dark"]) .main-nav .menu-branch__label,
:is(html[data-theme="dark"], html.dark, [data-theme="dark"]) .main-nav .menu-branch__chevron,
:is(html[data-theme="dark"], html.dark, [data-theme="dark"]) .home-v2 .main-nav a,
:is(html[data-theme="dark"], html.dark, [data-theme="dark"]) .home-v2 .main-nav .menu-branch,
:is(html[data-theme="dark"], html.dark, [data-theme="dark"]) .home-v2 .main-nav .menu-branch summary,
:is(html[data-theme="dark"], html.dark, [data-theme="dark"]) .home-v2 .main-nav .menu-branch__label,
:is(html[data-theme="dark"], html.dark, [data-theme="dark"]) .site-header .nav-link {
  color: var(--n-ink, #eceee9) !important;
}

:is(html[data-theme="dark"], html.dark, [data-theme="dark"]) .main-nav .menu-branch__links,
:is(html[data-theme="dark"], html.dark, [data-theme="dark"]) .home-v2 .main-nav .menu-branch__links {
  background: var(--n-surface, #1b221e) !important;
  border-color: var(--n-line, #36413a) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45) !important;
}

:is(html[data-theme="dark"], html.dark, [data-theme="dark"]) .main-nav .menu-branch__links a,
:is(html[data-theme="dark"], html.dark, [data-theme="dark"]) .main-nav .menu-branch__link,
:is(html[data-theme="dark"], html.dark, [data-theme="dark"]) .home-v2 .main-nav .menu-branch__links a,
:is(html[data-theme="dark"], html.dark, [data-theme="dark"]) .home-v2 .main-nav .menu-branch__link {
  color: var(--n-ink, #eceee9) !important;
}

:is(html[data-theme="dark"], html.dark, [data-theme="dark"]) .main-nav a:hover,
:is(html[data-theme="dark"], html.dark, [data-theme="dark"]) .main-nav a.active,
:is(html[data-theme="dark"], html.dark, [data-theme="dark"]) .main-nav .menu-branch summary:hover,
:is(html[data-theme="dark"], html.dark, [data-theme="dark"]) .main-nav .menu-branch__links a:hover,
:is(html[data-theme="dark"], html.dark, [data-theme="dark"]) .main-nav .menu-branch__link:hover,
:is(html[data-theme="dark"], html.dark, [data-theme="dark"]) .home-v2 .main-nav a:hover,
:is(html[data-theme="dark"], html.dark, [data-theme="dark"]) .home-v2 .main-nav a.active,
:is(html[data-theme="dark"], html.dark, [data-theme="dark"]) .home-v2 .main-nav .menu-branch summary:hover,
:is(html[data-theme="dark"], html.dark, [data-theme="dark"]) .home-v2 .main-nav .menu-branch__links a:hover,
:is(html[data-theme="dark"], html.dark, [data-theme="dark"]) .home-v2 .main-nav .menu-branch__link:hover {
  color: var(--n-accent, #d99aaa) !important;
}

:is(html[data-theme="dark"], html.dark, [data-theme="dark"]) .mobile-panel {
  background: var(--n-bg, #141916) !important;
  color: var(--n-ink, #eceee9) !important;
}

:is(html[data-theme="dark"], html.dark, [data-theme="dark"]) .mobile-panel a,
:is(html[data-theme="dark"], html.dark, [data-theme="dark"]) .mobile-nav a,
:is(html[data-theme="dark"], html.dark, [data-theme="dark"]) .mobile-panel .menu-branch summary {
  color: var(--n-ink, #eceee9) !important;
}

/* --- Cart Drawer Quantity Box Text Color (Black) --- */
.cart-drawer__qty-control,
.cart-drawer__qty-control .cart-drawer__qty-btn,
.cart-drawer__qty-control .cart-drawer__qty-val,
.cart-drawer__qty-control [data-cart-item-qty],
.cart-drawer__qty-control input,
:is(html[data-theme="dark"], html.dark, [data-theme="dark"]) .cart-drawer__qty-control,
:is(html[data-theme="dark"], html.dark, [data-theme="dark"]) .cart-drawer__qty-control .cart-drawer__qty-btn,
:is(html[data-theme="dark"], html.dark, [data-theme="dark"]) .cart-drawer__qty-control .cart-drawer__qty-val,
:is(html[data-theme="dark"], html.dark, [data-theme="dark"]) .cart-drawer__qty-control [data-cart-item-qty],
:is(html[data-theme="dark"], html.dark, [data-theme="dark"]) .cart-drawer__qty-control input {
  color: #000000 !important;
  fill: #000000 !important;
}

/* --- Order Detail Layout & Badges --- */
.page-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.order-header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.order-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.order-detail-main,
.order-detail-aside {
  display: grid;
  gap: 20px;
  min-width: 0;
}
.order-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--n-line);
}
.order-line-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1;
  min-width: 0;
}
.order-line-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.order-line-thumb {
  width: 64px;
  height: 78px;
  object-fit: cover;
  border-radius: var(--n-radius, 6px);
  border: 1px solid var(--n-line);
  flex-shrink: 0;
}
.order-line-title {
  display: block;
  font-size: 0.96rem;
  margin-bottom: 2px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--n-ink);
}
.order-line-meta {
  display: block;
  font-size: 0.78rem;
  color: var(--n-muted);
  line-height: 1.4;
}
.order-line-qty {
  display: block;
  font-size: 0.85rem;
  margin-top: 4px;
  color: var(--n-ink);
}
.order-line-total,
.order-line-price {
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  text-align: right;
  color: var(--n-ink);
}
.order-totals-breakdown {
  padding-top: 18px;
  display: grid;
  gap: 8px;
}
.order-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  font-size: 0.9rem;
  color: var(--n-ink);
}
.order-total-row.is-discount {
  color: #b8473c;
}
.order-total-row.is-grand {
  font-size: 1.1rem;
  font-weight: 700;
  border-top: 1px solid var(--n-line);
  padding-top: 12px;
  margin-top: 6px;
}
.order-meta-list {
  display: grid;
  gap: 10px;
}
.order-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--n-line);
  font-size: 0.88rem;
}
.order-meta-row:last-child {
  border-bottom: none;
}
.order-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: max-content;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 550;
  line-height: normal;
}
.order-status-badge svg,
.order-status-icon-tick {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  stroke: currentColor;
}
.badge-payment--paid,
.badge-payment--completed,
.badge-payment--lunas,
.badge-payment--success { background: #e8f3ec; color: #1e5631; }
.badge-payment--pending { background: #fef3c7; color: #92400e; }
.badge-payment--failed,
.badge-payment--cancelled { background: #fee2e2; color: #991b1b; }
.badge-shipment--delivered,
.badge-shipment--completed,
.badge-shipment--selesai,
.badge-shipment--terkirim,
.badge-shipment--success { background: #e8f3ec; color: #1e5631; }
.badge-shipment--shipped { background: #e0f2fe; color: #0369a1; }
.badge-shipment--processing,
.badge-shipment--pending,
.badge-shipment--diproses { background: #fef3c7; color: #92400e; }

:is(html[data-theme="dark"], html.dark, [data-theme="dark"]) :is(.badge-payment--paid, .badge-payment--completed, .badge-payment--lunas, .badge-payment--success) {
  background: #06281d !important;
  color: #6ee7b7 !important;
  border: 1px solid #065f46;
}
:is(html[data-theme="dark"], html.dark, [data-theme="dark"]) :is(.badge-shipment--delivered, .badge-shipment--completed, .badge-shipment--selesai, .badge-shipment--terkirim, .badge-shipment--success) {
  background: #06281d !important;
  color: #6ee7b7 !important;
  border: 1px solid #065f46;
}
:is(html[data-theme="dark"], html.dark, [data-theme="dark"]) :is(.badge-payment--pending, .badge-shipment--processing, .badge-shipment--pending, .badge-shipment--diproses) {
  background: #2d2205 !important;
  color: #fcd34d !important;
  border: 1px solid #92400e;
}
:is(html[data-theme="dark"], html.dark, [data-theme="dark"]) :is(.badge-payment--failed, .badge-payment--cancelled) {
  background: #2f0d0d !important;
  color: #fca5a5 !important;
  border: 1px solid #991b1b;
}

@media (max-width: 1024px) {
  .order-detail-grid {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 640px) {
  .order-line {
    flex-direction: column;
    align-items: flex-start;
  }
  .order-line-total {
    text-align: left;
    margin-left: 0;
    margin-top: 8px;
  }
}




