:root {
  --bg: #fbf8f9;
  --surface: #ffffff;
  --surface-warm: #f7e9ef;
  --fg: #24161d;
  --fg-2: #514049;
  --muted: #76676e;
  --meta: #963158;
  --border: #eadde3;
  --border-soft: #f2e9ed;
  --accent: #963158;
  --accent-on: #ffffff;
  --accent-hover: #7e2549;
  --accent-active: #641a39;
  --ink: var(--fg);
  --paper: var(--surface);
  --canvas: var(--bg);
  --line: var(--border);
  --brand: var(--accent);
  --brand-dark: var(--accent-active);
  --brand-soft: var(--surface-warm);
  --gold: #c49a63;
  --success: #18794e;
  --warning: #a15c00;
  --danger: #b42318;
  --shadow: 0 22px 54px rgba(74, 24, 45, .11);
  --radius: 18px;
  --focus-ring: 0 0 0 4px rgba(150, 49, 88, .2);
  --font-display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Manrope", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --motion-fast: 160ms;
  --motion-base: 240ms;
  --ease-standard: cubic-bezier(.2, 0, 0, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 500;
  transform: translateY(-160%);
  border-radius: 10px;
  padding: 10px 14px;
  color: #fff;
  background: var(--brand-dark);
  font-weight: 750;
  transition: transform var(--motion-fast) var(--ease-standard);
}
.skip-link:focus { transform: translateY(0); }

.demo-bar {
  position: relative;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 7px 20px;
  color: #fff;
  background: #1d1c20;
  font-size: 13px;
}

.demo-bar strong { margin-right: 6px; }
.demo-modes { display: flex; gap: 5px; flex-wrap: wrap; justify-content: center; }
.demo-modes button {
  min-height: 34px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  padding: 5px 12px;
  color: #fff;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  transition: color var(--motion-fast) var(--ease-standard), background var(--motion-fast) var(--ease-standard), border-color var(--motion-fast) var(--ease-standard);
}
.demo-modes button:hover { border-color: rgba(255,255,255,.65); }
.demo-modes button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.demo-modes button.active { color: #1d1c20; background: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(232,226,230,.9);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  max-width: 1240px;
  height: 76px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand { display: inline-flex; align-items: center; flex: none; line-height: 0; }
.brand-picture { display: block; }
.brand-logo { display: block; width: auto; object-fit: contain; }
.site-header .brand-logo { width: 176px; height: 60px; }

.main-nav { display: flex; justify-content: center; gap: 6px; }
.nav-link {
  border: 0;
  border-radius: 999px;
  padding: 10px 13px;
  color: #4d4950;
  background: transparent;
}
.nav-link:hover, .nav-link.active { color: var(--brand); background: var(--brand-soft); }
.nav-link:focus-visible, .button:focus-visible, .chip:focus-visible, .icon-button:focus-visible, .account-button:focus-visible, .brand:focus-visible, .product-meta:focus-visible, .footer-links a:focus-visible { outline: none; box-shadow: var(--focus-ring); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.mobile-menu-button { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 20px; }
.mobile-menu { display: none; border-top: 1px solid var(--line); padding: 10px 14px 14px; background: #fff; }
.mobile-menu.open { display: grid; }
.icon-button, .account-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  min-width: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 13px;
  color: var(--ink);
  background: #fff;
}
.icon-button { position: relative; width: 44px; padding: 0; }
.cart-count {
  position: absolute;
  top: -6px;
  right: -5px;
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-radius: 99px;
  color: #fff;
  background: var(--brand);
  font-size: 10px;
  font-weight: 800;
}

.page { min-height: calc(100vh - 176px); scroll-margin-top: 76px; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.hero {
  position: relative;
  overflow: hidden;
  margin: 24px auto 34px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #32101f 0%, #57142f 52%, #7b2850 100%);
}
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 82% 18%, rgba(235,177,199,.18), transparent 32%); pointer-events: none; }
.hero::after {
  content: "";
  position: absolute;
  right: -150px;
  bottom: -230px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  box-shadow: 0 0 0 64px rgba(255,255,255,.035), 0 0 0 132px rgba(255,255,255,.022);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr); min-height: 430px; }
.hero-content { display: flex; flex-direction: column; justify-content: center; max-width: 720px; padding: 52px 56px; }
.eyebrow { margin: 0 0 12px; color: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero .eyebrow { color: #f0c8d6; }
.hero h1, .page-title h1, .product-title { margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: -.035em; }
.hero h1 { max-width: 690px; font-size: clamp(40px, 5.2vw, 64px); line-height: 1.02; }
.hero p { max-width: 570px; margin: 18px 0 26px; color: rgba(255,255,255,.82); font-size: 17px; }
.hero-visual { position: relative; display: grid; place-items: end center; min-height: 430px; padding: 34px 40px 0; }
.hero-kicker { position: absolute; top: 36px; right: 38px; z-index: 2; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 8px 12px; color: rgba(255,255,255,.82); font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.hero-product-frame { position: relative; width: min(100%, 315px); height: 355px; overflow: hidden; border: 1px solid rgba(255,255,255,.22); border-radius: 160px 160px 18px 18px; background: #f4edf0; }
.hero-product-frame img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.hero-product-note { position: absolute; right: 28px; bottom: 28px; display: grid; width: 230px; border: 1px solid rgba(255,255,255,.32); border-radius: 14px; padding: 14px 16px; color: var(--ink); background: rgba(255,253,252,.94); box-shadow: 0 16px 36px rgba(20,8,13,.2); backdrop-filter: blur(12px); }
.hero-product-note strong { font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.hero-product-note span { margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.45; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0 18px;
  font-weight: 750;
  transition: transform var(--motion-fast) var(--ease-standard), background var(--motion-fast) var(--ease-standard), border-color var(--motion-fast) var(--ease-standard), box-shadow var(--motion-fast) var(--ease-standard);
}
.button:hover { transform: translateY(-1px); }
.button.primary { color: #fff; background: var(--brand); box-shadow: 0 9px 22px rgba(126,37,73,.16); }
.button.primary:hover { background: var(--brand-dark); }
.button.light { color: var(--brand-dark); background: #fff; }
.button.outline-light { border-color: rgba(255,255,255,.5); color: #fff; background: transparent; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero .hero-helper { margin: 14px 0 0; color: rgba(255,255,255,.9); font-size: 13px; line-height: 1.45; }
.button.secondary { border-color: var(--line); color: var(--ink); background: #fff; }
.button.ghost { color: var(--brand); background: var(--brand-soft); }
.button.danger { color: var(--danger); background: #fff0ef; }
.button.full { width: 100%; }
.button:disabled { cursor: not-allowed; opacity: .45; }

.service-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.55); }
.service-strip > div { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 22px 26px; }
.service-strip > div + div { border-left: 1px solid var(--line); }
.service-strip > div > span { color: var(--brand); font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.service-strip p { display: grid; gap: 2px; margin: 0; }
.service-strip strong { font-size: 14px; }
.service-strip small { color: var(--muted); font-size: 12px; line-height: 1.45; }
.whatsapp-link, .social-link { display: inline-flex; align-items: center; gap: 7px; }
.whatsapp-icon, .social-icon { flex: 0 0 auto; width: 19px; height: 19px; }
.floating-whatsapp {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 120;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  color: var(--accent-on);
  background: var(--success);
  box-shadow: 0 14px 34px rgba(24, 121, 78, .3);
  transition: transform var(--motion-fast) var(--ease-standard), filter var(--motion-fast) var(--ease-standard), box-shadow var(--motion-fast) var(--ease-standard);
}
.floating-whatsapp:hover { transform: translateY(-2px); filter: brightness(.94); box-shadow: 0 18px 38px rgba(24, 121, 78, .36); }
.floating-whatsapp:active { transform: translateY(0) scale(.96); }
.floating-whatsapp:focus-visible { outline: 3px solid var(--surface); outline-offset: 3px; box-shadow: 0 0 0 6px rgba(24, 121, 78, .3), 0 14px 34px rgba(24, 121, 78, .3); }
.floating-whatsapp .whatsapp-icon { width: 31px; height: 31px; }
.catalog-section { padding-top: 58px; }

.catalog-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
}
.section-title { margin: 0; font-family: var(--font-display); font-size: clamp(30px, 4vw, 44px); font-weight: 600; letter-spacing: -.025em; }
.section-lead { margin: 8px 0 0; color: var(--muted); }
.search-box { position: relative; width: min(100%, 360px); }
.search-box input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 16px 0 42px;
  outline: none;
  background: var(--paper);
}
.search-box input:focus { border-color: var(--brand); box-shadow: var(--focus-ring); }
.search-symbol { position: absolute; top: 13px; left: 15px; color: var(--muted); }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 0 0 18px; scrollbar-width: none; }
.chip {
  flex: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  color: #59545b;
  background: #fff;
}
.chip.active { border-color: var(--brand); color: #fff; background: var(--brand); }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.catalog-shelves { display: grid; grid-column: 1 / -1; width: 100%; gap: 44px; }
.catalog-shelf { min-width: 0; }
.catalog-shelf-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.catalog-shelf-head h3 { margin: 0; font-family: var(--font-display); font-size: 30px; font-weight: 600; letter-spacing: -.02em; }
.catalog-shelf-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.catalog-shelf-head p span { color: var(--brand); font-weight: 700; }
.shelf-controls { display: flex; gap: 8px; }
.shelf-controls button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--brand);
  background: var(--paper);
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1;
  transition: transform var(--motion-fast) var(--ease-standard), border-color var(--motion-fast) var(--ease-standard), background var(--motion-fast) var(--ease-standard);
}
.shelf-controls button:hover { transform: translateY(-1px); border-color: #d8b7c4; background: var(--brand-soft); }
.shelf-controls button:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.shelf-controls button:disabled { transform: none; cursor: default; }
.shelf-controls[hidden] { display: none; }
.product-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 64px) / 5);
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 2px 2px 14px;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-color: #d8c8cf transparent;
  scrollbar-width: thin;
}
.product-row .product-card { min-width: 0; scroll-snap-align: start; }
.product-row .product-image-wrap { height: 205px; padding: 14px; }
.product-row .product-body { padding: 16px; }
.product-row .product-card h4 { font-size: 19px; }
.product-row .product-card p { min-height: 42px; margin-bottom: 14px; font-size: 13px; }
.product-row .card-bottom { align-items: stretch; flex-direction: column; gap: 10px; }
.product-row .card-bottom .button { width: 100%; }
.product-row .locked-price { font-size: 12px; line-height: 1.35; }
.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: none;
  transition: transform var(--motion-base) var(--ease-standard), box-shadow var(--motion-base) var(--ease-standard), border-color var(--motion-base) var(--ease-standard);
}
.product-card:hover { transform: translateY(-3px); border-color: #d9bcc8; box-shadow: var(--shadow); }
.product-image-wrap {
  position: relative;
  display: grid;
  place-items: center;
  height: 286px;
  overflow: hidden;
  padding: 20px;
  background: linear-gradient(145deg, #fbf7f9, #f4e9ee);
  cursor: pointer;
}
.product-image-wrap img { width: 100%; height: 100%; min-height: 0; object-fit: contain; mix-blend-mode: multiply; }
.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.product-body { position: relative; display: flex; flex: 1; flex-direction: column; padding: 21px; background: var(--paper); }
.product-meta { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.product-meta:hover { color: var(--brand); }
.product-card h4 { margin: 7px 0 8px; font-family: var(--font-display); font-size: 23px; font-weight: 600; line-height: 1.08; }
.product-card p { display: -webkit-box; min-height: 48px; margin: 0 0 18px; overflow: hidden; color: var(--muted); font-size: 14px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 15px; border-top: 1px solid var(--border-soft); }
.card-bottom .button { min-height: 40px; padding: 0 14px; }
.button.ghost { border-color: var(--line); color: var(--brand); background: transparent; }
.button.ghost:hover { border-color: #d8b7c4; background: var(--brand-soft); }
.price { color: var(--ink); font-size: 22px; font-weight: 850; letter-spacing: -.03em; }
.old-price { display: block; color: #99939a; font-size: 12px; font-weight: 500; text-decoration: line-through; }
.locked-price { display: flex; align-items: center; gap: 7px; color: var(--brand); font-size: 13px; font-weight: 750; }

.notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid #ead9bd;
  border-radius: 15px;
  padding: 14px 16px;
  color: #704300;
  background: #fff9ed;
}
.notice.brand-tone { border-color: #ead1db; color: var(--brand-dark); background: var(--brand-soft); }
.notice.success { border-color: #b9dfcd; color: #0f6040; background: #effaf4; }

.breadcrumbs { display: flex; gap: 8px; padding: 25px 0 18px; color: var(--muted); font-size: 13px; }
.breadcrumbs button { border: 0; padding: 0; color: inherit; background: transparent; }
.product-hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr); gap: 36px; align-items: start; }
.product-gallery {
  position: sticky;
  top: 102px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 540px;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 42px;
  background: #fff;
}
.gallery-main { display: grid; place-items: center; width: 100%; min-height: 390px; }
.gallery-main > img { width: 100%; max-height: 410px; object-fit: contain; mix-blend-mode: multiply; }
.gallery-thumbs { display: flex; justify-content: center; gap: 10px; width: 100%; margin-top: 18px; }
.gallery-thumb { display: grid; place-items: center; width: 68px; height: 68px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; padding: 0; background: #fff; }
.gallery-thumb.active { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); }
.gallery-thumb img { place-self: stretch; width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: cover; object-position: center; mix-blend-mode: multiply; }
.product-info { padding: 18px 0; }
.product-gallery, .product-info { min-width: 0; }
.product-title { font-size: clamp(38px, 5vw, 60px); line-height: 1.02; }
.product-subtitle { margin: 16px 0 24px; color: var(--muted); font-size: 18px; }
.benefit-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 22px 0; }
.benefit-mini { border: 1px solid var(--line); border-radius: 14px; padding: 13px; background: #fff; font-size: 13px; font-weight: 700; }
.purchase-box { margin-top: 24px; border: 1px solid var(--line); border-radius: 20px; padding: 20px; background: #fff; box-shadow: var(--shadow); }
.purchase-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 15px; }
.purchase-head h3 { margin: 0; font-size: 17px; }
.purchase-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-radius: 14px; padding: 14px 16px; background: #211b1f; color: #fff; }
.purchase-summary small { display: block; color: rgba(255,255,255,.65); }
.purchase-summary strong { display: block; font-size: 22px; }
.quantity-control { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.quantity-control button { width: 40px; height: 40px; border: 0; color: var(--brand); background: transparent; font-size: 20px; }
.quantity-control span { min-width: 38px; text-align: center; font-weight: 800; }

.variant-search { margin: 14px 0; }
.variant-search input { width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; outline: none; }
.variant-options { display: flex; flex-wrap: wrap; gap: 7px; max-height: 154px; overflow: auto; padding: 3px; }
.variant-option { border: 1px solid var(--line); border-radius: 10px; padding: 8px 11px; color: #4d474e; background: #fff; font-size: 13px; }
.variant-option:hover { border-color: var(--brand); color: var(--brand); }
.variant-picker-heading h3 { margin: 0; font-size: 17px; }
.variant-picker-heading p { margin: 5px 0 0; color: var(--fg-2); font-size: 13px; line-height: 1.6; }
.visual-variant-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; max-height: 430px; }
.visual-variant-option { position: relative; display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 68px; padding: 8px 42px 8px 8px; text-align: left; }
.visual-variant-option .shade-copy { min-width: 0; }
.variant-product-thumb { flex: 0 0 auto; width: 52px; height: 52px; border: 1px solid var(--border-soft); border-radius: 10px; object-fit: contain; background: var(--surface); }
.variant-product-thumb.compact { width: 48px; height: 48px; }
.variant-add-mark { position: absolute; right: 12px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #fff; background: var(--brand); font-size: 18px; line-height: 1; }
.variant-checkout { display: grid; gap: 10px; margin-top: 16px; }
.selected-list { display: grid; gap: 8px; margin: 16px 0; }
.selected-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 13px; padding: 10px 12px; }
.selected-row strong { font-size: 14px; }
.selected-option-name { min-width: 0; }
.selected-option-name .shade-copy { display: flex; align-items: center; min-height: 48px; }
.visual-selected-row { grid-template-columns: minmax(0, 1fr) auto auto; }
.visual-selected-row .selected-option-name { display: flex; align-items: center; gap: 10px; }
.remove-link { border: 0; color: var(--danger); background: transparent; font-size: 13px; }
.empty-selection { border: 1px dashed #d9d2d7; border-radius: 14px; padding: 20px; color: var(--muted); text-align: center; }

/* MUP Color: famílias e imagens seguem a cartela técnica oficial. */
.family-natural { --family-color: #81502f; }
.family-cinza { --family-color: #aaa8aa; }
.family-violeta { --family-color: #918094; }
.family-dourado { --family-color: #a98512; }
.family-luminosa { --family-color: #b6b184; }
.family-vermelho { --family-color: #a90b05; }
.family-super-clareadores { --family-color: #cfcdc0; }
.family-mix { --family-color: #bba1c6; }
.family-marrom { --family-color: #70401f; }
.family-marrom-frio { --family-color: #705b2b; }
.family-cobre { --family-color: #a7470e; }

.shade-picker-intro { margin-top: 0; }
.shade-picker-intro h3, .shade-selection-head h3 { margin: 0; font-size: 17px; }
.shade-picker-intro p { margin: 5px 0 0; color: var(--fg-2); font-size: 13px; line-height: 1.6; }
.shade-search { margin: 16px 0 10px; }
.shade-search label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 750; }
.shade-search > div { display: flex; gap: 8px; }
.shade-search input { width: 100%; min-width: 0; height: 48px; border: 1px solid var(--line); border-radius: 12px; padding: 0 13px; font-size: 16px; outline: none; }
.shade-search button { min-width: 58px; min-height: 48px; border: 1px solid var(--line); border-radius: 12px; padding: 0 10px; color: var(--brand); background: var(--surface); font-size: 13px; }
.shade-family-filters { display: flex; gap: 8px; margin: 10px 0; overflow-x: auto; padding: 3px 3px 8px; scrollbar-width: thin; }
.shade-family-filters button { flex: 0 0 auto; min-height: 44px; border: 1px solid var(--line); border-left: 8px solid var(--family-color, var(--brand)); border-radius: 10px; padding: 8px 11px; color: var(--fg); background: var(--surface); font-size: 12px; font-weight: 700; }
.shade-family-filters button[aria-pressed="true"] { border-color: var(--brand); border-left-color: var(--family-color, var(--brand)); background: var(--brand-soft); box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--brand); }
.shade-results { margin: 4px 0 10px; color: var(--muted); font-size: 12px; }
.shade-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-height: 550px; overflow-y: auto; overscroll-behavior-y: contain; scrollbar-gutter: stable; padding: 4px; }
.shade-card { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 92px; border: 1px solid var(--line); border-radius: 14px; padding: 9px; color: var(--fg); background: var(--surface); text-align: left; transition: border-color var(--motion-fast) var(--ease-standard), background var(--motion-fast) var(--ease-standard); }
.shade-card[hidden], .shade-empty[hidden] { display: none; }
.shade-card:hover { border-color: var(--brand); }
.shade-card.is-selected { border-color: var(--brand); background: var(--brand-soft); }
.shade-thumb { flex: 0 0 auto; width: 70px; height: 70px; border: 1px solid var(--border-soft); border-radius: 12px; object-fit: contain; background: var(--surface); }
.shade-thumb.compact { width: 52px; height: 52px; border-radius: 10px; }
.shade-copy { display: block; min-width: 0; overflow-wrap: anywhere; }
.shade-copy strong { display: block; font-size: 13px; line-height: 1.35; }
.shade-copy small { display: block; margin-top: 3px; color: var(--fg-2); font-size: 11px; line-height: 1.35; }
.shade-family { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--fg-2); font-size: 11px; font-weight: 750; }
.shade-family::before { content: ""; flex: 0 0 auto; width: 11px; height: 11px; border: 1px solid rgba(36,22,29,.18); border-radius: 50%; background: var(--family-color); }
.shade-copy .shade-status { color: var(--brand-dark); font-weight: 800; }
.shade-empty { border: 1px dashed var(--line); border-radius: 14px; padding: 22px; text-align: center; }
.shade-empty p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.shade-selection { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 17px; }
.shade-selection-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.shade-selection-head span { color: var(--muted); font-size: 12px; }
.shade-selected-row { grid-template-columns: auto minmax(0, 1fr) auto auto; }
.shade-selected-row .shade-family { display: none; }
.shade-selected-row .quantity-control button { width: 44px; height: 44px; }
.shade-checkout { display: grid; gap: 10px; margin-top: 16px; }
.shade-picker :is(button, input):focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.sales-sections { display: grid; gap: 22px; margin: 48px 0; }
.sales-panel { border: 1px solid var(--line); border-radius: 24px; padding: 30px; background: #fff; }
.sales-panel h2 { margin: 0 0 12px; font-family: var(--font-display); font-size: 32px; font-weight: 600; }
.sales-panel p { color: var(--muted); }
.sales-panel ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; padding: 0; list-style: none; }
.sales-panel li { position: relative; padding-left: 24px; }
.sales-panel li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 900; }
.video-frame { overflow: hidden; aspect-ratio: 16 / 9; border-radius: 18px; background: #111; }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.combo-composition-section { width: 100%; max-width: 1040px; margin: 4px auto 48px; }
.combo-composition-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.combo-composition-heading h2 { margin: 0; font-family: var(--font-display); font-size: clamp(30px, 4vw, 42px); font-weight: 600; line-height: 1.08; }
.combo-composition-heading p:last-child { margin: 8px 0 0; color: var(--muted); }
.combo-composition-controls { display: flex; flex: 0 0 auto; gap: 8px; }
.combo-composition-controls[hidden] { display: none; }
.combo-composition-controls button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; color: var(--brand); background: var(--paper); font-family: var(--font-display); font-size: 27px; line-height: 1; transition: transform var(--motion-fast) var(--ease-standard), border-color var(--motion-fast) var(--ease-standard), background var(--motion-fast) var(--ease-standard); }
.combo-composition-controls button:hover:not(:disabled) { transform: translateY(-1px); border-color: #d8b7c4; background: var(--brand-soft); }
.combo-composition-controls button:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.combo-composition-controls button:disabled { cursor: default; opacity: .38; }
.combo-composition-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 31%); gap: 16px; overflow-x: auto; overscroll-behavior-inline: contain; padding: 2px 2px 14px; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-color: #d8c8cf transparent; scrollbar-width: thin; }
.combo-composition-track:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.combo-composition-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); scroll-snap-align: start; }
.combo-composition-image { display: grid; place-items: center; height: 230px; overflow: hidden; padding: 18px; background: linear-gradient(150deg, #fff 0%, var(--surface-warm) 100%); }
.combo-composition-image img { width: 100%; height: 100%; object-fit: contain; object-position: center; mix-blend-mode: multiply; }
.combo-composition-copy { display: grid; gap: 6px; padding: 17px 18px 19px; }
.combo-composition-copy > span { color: var(--brand); font-size: 11px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.combo-composition-copy h3 { min-height: 52px; margin: 0; font-family: var(--font-display); font-size: 22px; font-weight: 600; line-height: 1.16; }
.combo-composition-copy strong { color: var(--fg); }
.combo-composition-copy small { color: var(--muted); line-height: 1.4; }
.profitability-section { width: 100%; max-width: 920px; margin: 0 auto 48px; }
.profitability-heading { margin-bottom: 18px; }
.profitability-heading h2 { max-width: 720px; margin: 0; font-family: var(--font-display); font-size: clamp(30px, 4vw, 42px); font-weight: 600; line-height: 1.08; }
.profitability-heading > p:last-child { margin: 9px 0 0; color: var(--muted); }
.profitability-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .8fr); gap: 18px; border: 1px solid var(--line); border-radius: 20px; padding: 24px; background: var(--paper); box-shadow: var(--shadow); }
.profitability-field { display: grid; align-content: start; gap: 10px; }
.profitability-field label { font-weight: 750; line-height: 1.4; }
.profitability-input { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; min-height: 56px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: border-color var(--motion-fast) var(--ease-standard), box-shadow var(--motion-fast) var(--ease-standard); }
.profitability-input:focus-within { border-color: var(--brand); box-shadow: var(--focus-ring); }
.profitability-input span { padding-left: 16px; color: var(--fg-2); font-weight: 800; }
.profitability-input input { width: 100%; min-width: 0; height: 54px; border: 0; outline: 0; padding: 0 16px 0 9px; color: var(--fg); background: transparent; font-size: 22px; font-weight: 800; }
.profitability-result { display: grid; align-content: center; min-height: 172px; border-radius: 16px; padding: 20px; color: var(--accent-on); background: var(--fg); }
.profitability-metric { display: grid; gap: 7px; }
.profitability-payback { margin-top: 16px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 16px; }
.profitability-result small { color: rgba(255,255,255,.72); line-height: 1.4; }
.profitability-result strong { font-size: clamp(27px, 4vw, 36px); line-height: 1; overflow-wrap: anywhere; }
.profitability-payback strong { font-size: clamp(22px, 3vw, 28px); }
.profitability-help { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.combo-profitability-section { max-width: 1040px; }
.combo-profitability-overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; margin-bottom: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.combo-profitability-overview > div { display: grid; gap: 5px; padding: 18px 20px; }
.combo-profitability-overview > div + div { border-left: 1px solid var(--line); }
.combo-profitability-overview small { color: var(--muted); line-height: 1.35; }
.combo-profitability-overview strong { font-size: 20px; }
.combo-profitability-list { display: grid; gap: 14px; }
.combo-profitability-item { border: 1px solid var(--line); border-radius: 20px; padding: 22px; background: var(--paper); box-shadow: 0 12px 32px rgba(74,24,45,.07); }
.combo-profitability-item-head { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.combo-profitability-item-head h3 { margin: 4px 0 0; font-family: var(--font-display); font-size: 25px; font-weight: 600; line-height: 1.12; }
.combo-profitability-kind { color: var(--brand); font-size: 11px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.combo-profitability-suggestion { flex: 0 0 auto; border-radius: 999px; padding: 8px 12px; color: var(--brand-dark); background: var(--brand-soft); font-size: 13px; }
.combo-profitability-costs { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 14px 0 18px; color: var(--muted); font-size: 13px; }
.combo-profitability-costs strong { color: var(--fg); }
.combo-profitability-item-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, .7fr); gap: 18px; }
.combo-profitability-item-grid .profitability-field small { color: var(--muted); line-height: 1.45; }
.combo-profitability-line-result { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: center; gap: 7px 14px; border-radius: 16px; padding: 18px; color: var(--accent-on); background: var(--fg); }
.combo-profitability-line-result span { color: rgba(255,255,255,.7); font-size: 12px; line-height: 1.35; }
.combo-profitability-line-result strong { text-align: right; }
.combo-profitability-empty { margin-bottom: 16px; border: 1px dashed var(--line); border-radius: 18px; padding: 22px; text-align: center; background: var(--surface); }
.combo-profitability-empty p { margin: 6px 0 0; color: var(--muted); }
.combo-profitability-total { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; margin-top: 16px; border-radius: 18px; color: var(--accent-on); background: var(--fg); }
.combo-profitability-total > div { display: grid; align-content: center; gap: 6px; min-height: 112px; padding: 20px; }
.combo-profitability-total > div + div { border-left: 1px solid rgba(255,255,255,.16); }
.combo-profitability-total small { color: rgba(255,255,255,.72); line-height: 1.35; }
.combo-profitability-total strong { font-size: clamp(22px, 3vw, 30px); overflow-wrap: anywhere; }
.combo-profitability-total-highlight { background: var(--brand-dark); }
.combo-profitability-section > .profitability-help { margin-top: 14px; }
.product-purchase-section { width: 100%; max-width: 920px; margin: 0 auto 64px; }
.product-purchase-heading { margin-bottom: 18px; }
.product-purchase-heading h2 { margin: 0; font-family: var(--font-display); font-size: clamp(30px, 4vw, 42px); font-weight: 600; line-height: 1.08; }
.product-purchase-heading > p:last-child { margin: 9px 0 0; color: var(--muted); }
.product-purchase-section > .purchase-box { margin-top: 0; }

.combo-progress { margin: 14px 0 18px; }
.progress-head { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 7px; font-size: 13px; }
.progress-track { overflow: hidden; height: 8px; border-radius: 99px; background: #eee9ec; }
.progress-fill { height: 100%; border-radius: inherit; background: var(--brand); transition: width .2s ease; }
.choice-group { margin: 18px 0; border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.choice-group h4 { margin: 0 0 4px; }

.combo-builder { min-width: 0; }
.combo-builder .purchase-head { flex-wrap: wrap; }
.combo-help, .combo-action p { color: var(--fg-2); font-size: 14px; line-height: 1.6; }
.combo-overview { padding: 16px; border-radius: 14px; background: var(--brand-soft); color: var(--brand-dark); }
.combo-steps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.combo-steps button { min-height: 48px; max-width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; background: var(--surface); color: var(--fg); text-align: left; overflow-wrap: anywhere; font-size: 13px; }
.combo-steps span { display: block; font-weight: 700; color: var(--brand); }
.combo-steps .is-complete { border-color: var(--success); }
.combo-builder .choice-group h4 { scroll-margin-top: 130px; overflow-wrap: anywhere; }
.combo-builder .progress-head { flex-wrap: wrap; gap: 6px 12px; }
.combo-search label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 700; }
.combo-search > div { display: flex; gap: 8px; }
.combo-search input { width: 100%; min-width: 0; height: 48px; border: 1px solid var(--line); border-radius: 10px; padding: 0 10px; font-size: 16px; }
.combo-search button { min-width: 48px; min-height: 48px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--brand); font-size: 13px; }
.combo-selected-filter { display: flex; align-items: center; gap: 10px; min-height: 48px; margin-top: 8px; font-size: 14px; cursor: pointer; }
.combo-selected-filter input { width: 20px; height: 20px; accent-color: var(--brand); }
.combo-results { margin: 0 0 10px; color: var(--muted); font-size: 12px; }
.combo-options { display: grid; gap: 10px; max-height: 360px; overflow-y: auto; padding: 4px; scrollbar-gutter: stable; overscroll-behavior-y: contain; }
.combo-option { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.combo-option[hidden], .combo-empty[hidden] { display: none; }
.combo-option.is-selected { border-color: var(--brand); background: var(--brand-soft); }
.combo-option-name { display: flex; align-items: center; gap: 10px; min-width: 0; overflow-wrap: anywhere; }
.combo-option-name strong { display: block; font-size: 14px; }
.combo-option-name small { display: block; margin-top: 3px; color: var(--fg-2); font-size: 12px; }
.combo-option-name [data-option-status] { display: block; margin-top: 4px; color: var(--brand-dark); font-size: 12px; font-weight: 700; }
.combo-option .quantity-control { flex-shrink: 0; }
.combo-option .quantity-control input { width: 50px; height: 48px; padding: 0 2px; border: 0; border-radius: 6px; background: var(--surface); color: var(--fg); font-size: 16px; font-weight: 800; text-align: center; appearance: textfield; }
.combo-option input::-webkit-inner-spin-button, .combo-option input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.combo-option button:disabled { color: var(--muted); opacity: .55; cursor: not-allowed; }
.combo-review { margin-top: 14px; border-top: 1px solid var(--line); }
.combo-review summary { display: flex; align-items: center; min-height: 48px; padding: 8px 0; color: var(--brand); font-size: 13px; font-weight: 700; cursor: pointer; }
.combo-review summary::before { content: "+"; margin-right: 8px; }
.combo-review[open] summary::before { content: "−"; }
.combo-review p, .combo-empty { font-size: 13px; line-height: 1.7; color: var(--fg-2); overflow-wrap: anywhere; }
.combo-review p { white-space: pre-line; }
.combo-action { border-top: 1px solid var(--line); padding-top: 8px; }
.combo-builder :is(button, input, summary, h4):focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
@media (max-width: 720px) {
  .variant-search input { height: 48px; font-size: 16px; }
  .visual-variant-options { grid-template-columns: 1fr; max-height: 440px; }
  .visual-variant-option { min-height: 72px; }
  .visual-selected-row { grid-template-columns: minmax(0, 1fr) auto; }
  .visual-selected-row .selected-option-name { grid-column: 1 / -1; }
  .visual-selected-row .quantity-control button, .visual-selected-row .remove-link { min-width: 44px; min-height: 44px; }
  .shade-picker { padding: 14px; }
  .shade-grid { grid-template-columns: 1fr; max-height: 520px; }
  .shade-card { min-height: 96px; }
  .shade-thumb { width: 76px; height: 76px; }
  .shade-selected-row { grid-template-columns: auto minmax(0, 1fr) auto; }
  .shade-selected-row .quantity-control { grid-column: 2; }
  .shade-selected-row .remove-link { grid-column: 3; grid-row: 1 / span 2; min-width: 48px; min-height: 48px; }
  .combo-builder { padding: 14px; }
  .combo-builder .choice-group { padding: 12px; }
  .combo-option { flex-wrap: wrap; gap: 8px; }
  .combo-option-name { flex: 1 1 120px; }
  .combo-option .quantity-control { margin-left: auto; }
  .combo-steps button { flex: 1 1 120px; }
  .combo-options { max-height: 350px; }
}

.form-page { display: grid; place-items: center; padding: 52px 0; }
.form-card { width: min(100%, 620px); border: 1px solid var(--line); border-radius: 26px; padding: 32px; background: #fff; box-shadow: var(--shadow); }
.form-card.compact { width: min(100%, 460px); }
.form-card h1 { margin: 0; font-family: var(--font-display); font-size: 40px; font-weight: 600; }
.form-card > p { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin: 24px 0; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 750; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 13px;
  outline: none;
  background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.field input:disabled { color: #777; background: #f2eff1; }
.password-field { position: relative; }
.password-field input { padding-right: 78px; }
.password-field button { position: absolute; top: 5px; right: 5px; min-height: 36px; border: 0; border-radius: 9px; padding: 0 10px; color: var(--brand); background: var(--brand-soft); font-size: 13px; font-weight: 750; }
.forgot-link { display: block; margin: -12px 0 18px auto; border: 0; padding: 4px 0; color: var(--brand); background: transparent; font-weight: 700; }
.check-line a { color: var(--brand); text-decoration: underline; }
.check-line { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 13px; }
.form-footer { margin-top: 18px; color: var(--muted); text-align: center; font-size: 14px; }
.form-footer button { border: 0; color: var(--brand); background: transparent; font-weight: 750; }

/* Login: larger touch targets and field-level feedback, without changing other forms. */
.login-form .field input { min-height: 54px; }
.login-form .password-field input { padding-right: 94px; }
.login-form .password-field button { min-width: 74px; min-height: 44px; }
.login-form .forgot-link { min-height: 44px; padding: 8px; margin-right: -8px; }
.login-form .form-footer button { min-width: 44px; min-height: 44px; padding: 8px; border-radius: 9px; }
.login-form .button[type="submit"] { min-height: 48px; }
.login-form .password-field button:focus-visible,
.login-form .forgot-link:focus-visible,
.login-form .form-footer button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.login-form .field-error { margin: 0; color: var(--danger); font-size: 13px; line-height: 1.4; }
.login-form .field-error:empty { display: none; }
.login-form input[aria-invalid="true"] { border-color: var(--danger); }

.page-title { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 38px 0 26px; }
.page-title h1 { font-size: 46px; }
.account-layout { display: grid; grid-template-columns: 230px 1fr; gap: 24px; padding-bottom: 60px; }
.side-menu { align-self: start; position: sticky; top: 100px; border: 1px solid var(--line); border-radius: 18px; padding: 8px; background: #fff; }
.side-menu button, .side-menu a { display: block; width: 100%; border: 0; border-radius: 11px; padding: 12px; color: #514c52; background: transparent; text-align: left; }
.side-menu button.active, .side-menu a.active { color: var(--brand); background: var(--brand-soft); font-weight: 750; }
.content-card { border: 1px solid var(--line); border-radius: 20px; padding: 24px; background: #fff; }

.order-list { display: grid; gap: 13px; }
.order-card { border: 1px solid var(--line); border-radius: 16px; padding: 17px; }
.order-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.order-number { font-weight: 850; }
.order-date { color: var(--muted); font-size: 13px; }
.status { display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; padding: 6px 10px; color: var(--warning); background: #fff4da; font-size: 12px; font-weight: 800; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.paid { color: var(--success); background: #eaf7f0; }
.order-lines { margin: 13px 0; color: var(--muted); font-size: 14px; }
.order-total { font-size: 20px; font-weight: 850; }

.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 24px; padding-bottom: 60px; }
.cart-items { display: grid; gap: 12px; }
.cart-item { display: grid; grid-template-columns: 82px 1fr auto; gap: 15px; border: 1px solid var(--line); border-radius: 18px; padding: 14px; background: #fff; }
.cart-item-image { display: grid; place-items: center; border-radius: 13px; padding: 8px; background: #f6f2f5; }
.cart-item-image img { width: 100%; height: 70px; object-fit: contain; mix-blend-mode: multiply; }
.cart-item-content { min-width: 0; }
.cart-item h3 { margin: 2px 0 5px; font-size: 16px; }
.cart-item p { margin: 0; color: var(--muted); font-size: 13px; }
.cart-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; color: var(--muted); font-size: 12px; }
.quantity-control.compact { margin-top: 10px; }
.quantity-control.compact button { width: 34px; height: 34px; }
.cart-item-price { text-align: right; font-weight: 850; }
.cart-item-price small { display: block; color: var(--muted); font-size: 11px; font-weight: 500; }
.cart-selection-list { display: grid; gap: 8px; margin-top: 12px; }
.cart-selection-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 13px; padding: 9px; background: var(--surface); }
.cart-selection-name { display: flex; align-items: center; min-width: 0; }
.cart-selection-name .shade-thumb { width: 52px; height: 52px; }
.cart-selection-name .shade-family { display: none; }
.cart-selection-row .quantity-control { margin: 0; }
.cart-selection-row .quantity-control button { width: 44px; height: 44px; }
.cart-selection-row .quantity-control button:disabled { color: var(--muted); background: var(--border-soft); opacity: .55; cursor: not-allowed; }
.cart-selection-price { min-width: 82px; text-align: right; font-size: 13px; }
.cart-subitem-actions { display: flex; align-items: center; gap: 8px; }
.cart-variant-subitem .cart-subitem-actions { grid-column: 1 / -1; justify-content: flex-end; }
.cart-subitem-action { min-width: 64px; min-height: 44px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; color: var(--ink); background: #fff; font: inherit; font-size: 13px; font-weight: 750; cursor: pointer; }
.cart-subitem-action:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.cart-subitem-action.danger { color: var(--danger); }
.cart-subitem-action.danger:hover { border-color: var(--danger); color: var(--danger); background: #fff1f2; }
.cart-replace-panel, .cart-line-replace-panel { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px 12px; border-top: 1px solid var(--line); padding-top: 12px; }
.cart-replace-panel[hidden], .cart-line-replace-panel[hidden] { display: none; }
.cart-replace-panel label, .cart-line-replace-panel label, .cart-combo-add label { display: grid; gap: 6px; min-width: 0; color: var(--ink); font-size: 12px; font-weight: 750; }
.cart-replace-panel select, .cart-line-replace-panel select, .cart-combo-add select, .cart-combo-add input { width: 100%; min-width: 0; height: 48px; border: 1px solid var(--line); border-radius: 11px; padding: 0 12px; color: var(--ink); background: #fff; font: inherit; font-size: 16px; }
.cart-replace-actions { display: flex; gap: 8px; }
.cart-replace-actions .button { min-height: 48px; white-space: nowrap; }
.cart-replace-panel small, .cart-line-replace-panel small { grid-column: 1 / -1; color: var(--muted); font-size: 12px; }
.cart-line-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.cart-line-replace-panel { flex: 1 0 100%; }
.cart-line-quantity { display: flex; align-items: center; gap: 12px; margin-top: 10px; font-size: 13px; font-weight: 700; }
.cart-line-quantity .quantity-control { margin: 0; }
.cart-line-quantity .quantity-control button { width: 44px; height: 44px; }
.cart-combo-editor { display: grid; gap: 12px; margin-top: 12px; }
.cart-combo-group { border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.cart-combo-group-head { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.cart-combo-group-head span { flex: 0 0 auto; }
.cart-combo-group-head .is-complete { color: var(--success); }
.cart-combo-group-head .is-incomplete, .combo-cart-warning { color: var(--danger); }
.cart-combo-empty { margin-top: 10px !important; padding: 12px; border-radius: 11px; background: var(--border-soft); }
.cart-combo-add { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, 1fr) 100px auto; align-items: end; gap: 10px; border-top: 1px solid var(--line); margin-top: 12px; padding-top: 12px; }
.cart-combo-add-heading { display: grid; align-self: center; gap: 3px; font-size: 13px; }
.cart-combo-add-heading span { color: var(--muted); font-size: 12px; font-weight: 500; }
.cart-combo-add .button { min-height: 48px; white-space: nowrap; }
.cart-fixed-items { display: grid; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--brand-soft); }
.cart-fixed-items-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.cart-fixed-items-head strong { font-size: 13px; }
.cart-fixed-items-head > span { color: var(--muted); font-size: 11px; text-align: right; }
.cart-fixed-items ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.cart-fixed-items li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 9px; color: var(--ink); }
.cart-fixed-product { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cart-fixed-product-image { display: grid; flex: 0 0 58px; width: 58px; height: 58px; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; padding: 5px; background: var(--surface); }
.cart-fixed-product-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cart-fixed-product-copy { display: grid; justify-items: start; gap: 5px; min-width: 0; }
.cart-fixed-product-copy > strong { font-size: 12px; line-height: 1.35; }
.cart-fixed-badge { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px 7px; color: var(--muted); background: var(--surface); font-size: 9px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.cart-fixed-quantity { display: grid; justify-items: end; gap: 2px; min-width: 64px; }
.cart-fixed-quantity small { color: var(--muted); font-size: 10px; }
.cart-fixed-quantity strong { font-size: 16px; }
.combo-cart-warning { font-weight: 750; }
.cart-item :is(button, input, select):focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.summary-card { align-self: start; position: sticky; top: 100px; border: 1px solid var(--line); border-radius: 20px; padding: 21px; background: #fff; box-shadow: var(--shadow); }
.summary-card h2 { margin: 0 0 17px; font-family: var(--font-display); font-weight: 600; }
.summary-line { display: flex; justify-content: space-between; gap: 16px; margin: 10px 0; color: var(--muted); }
.summary-line.total { border-top: 1px solid var(--line); padding-top: 14px; color: var(--ink); font-size: 20px; font-weight: 850; }
.coupon-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 16px 0; }
.coupon-row input { min-width: 0; height: 44px; border: 1px solid var(--line); border-radius: 11px; padding: 0 12px; text-transform: uppercase; }
.freight-note, .installment-note, .confirm-help { color: var(--muted); font-size: 13px; }
.confirm-help { margin: 12px 0 0; text-align: center; }
.checkout-customer { border-bottom: 1px solid var(--line); margin-bottom: 22px; padding-bottom: 18px; }
.checkout-customer h2 { margin-top: 0; }
.checkout-customer dl { display: grid; gap: 10px; margin: 0; }
.checkout-customer dl div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.checkout-customer dt { color: var(--muted); }
.checkout-customer dd { margin: 0; font-weight: 650; }
.checkout-lines { display: grid; gap: 9px; border-bottom: 1px solid var(--line); margin-bottom: 14px; padding-bottom: 14px; font-size: 13px; }
.checkout-lines div { display: flex; justify-content: space-between; gap: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

.payment-options { display: grid; gap: 9px; margin: 14px 0; }
.radio-card { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 13px; padding: 12px; }
.radio-card.selected { border-color: var(--brand); background: var(--brand-soft); }

.success-page { display: grid; place-items: center; min-height: 66vh; padding: 50px 0; }
.success-card { width: min(100%, 620px); border: 1px solid var(--line); border-radius: 28px; padding: 36px; background: #fff; box-shadow: var(--shadow); text-align: center; }
.success-icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; color: #fff; background: var(--success); font-size: 32px; }
.success-card h1 { margin: 0; font-family: var(--font-display); font-size: 44px; font-weight: 600; }
.success-card p { color: var(--muted); }
.success-actions { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }

.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: calc(100vh - 44px); background: #f4f2f4; }
.admin-sidebar { padding: 24px 16px; color: #fff; background: #1e1b1f; }
.admin-sidebar .brand { margin: 0 10px 28px; }
.admin-sidebar .brand-logo { width: 190px; height: 65px; }
.admin-sidebar nav { display: grid; gap: 4px; }
.admin-sidebar button { border: 0; border-radius: 10px; padding: 11px 13px; color: #cfc8cc; background: transparent; text-align: left; }
.admin-sidebar button.active, .admin-sidebar button:hover { color: #fff; background: rgba(255,255,255,.1); }
.admin-main { min-width: 0; padding: 32px; }
.admin-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.admin-top h1 { margin: 0; font-family: var(--font-display); font-size: 38px; font-weight: 600; }
.admin-user { border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; background: #fff; font-size: 13px; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 25px 0; }
.kpi { border: 1px solid var(--line); border-radius: 17px; padding: 18px; background: #fff; }
.kpi span { color: var(--muted); font-size: 13px; }
.kpi strong { display: block; margin-top: 5px; font-size: 28px; }
.admin-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 18px; }
.table-card, .admin-card { border: 1px solid var(--line); border-radius: 18px; padding: 19px; background: #fff; }
.table-card h2, .admin-card h2 { margin: 0 0 15px; font-size: 17px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th, .data-table td { border-bottom: 1px solid var(--line); padding: 12px 8px; text-align: left; }
.data-table th { color: var(--muted); font-size: 11px; text-transform: uppercase; }
.pending-client { border: 1px solid var(--line); border-radius: 13px; padding: 13px; }
.pending-client strong { display: block; }
.pending-client span { color: var(--muted); font-size: 13px; }
.pending-actions { display: flex; gap: 7px; margin-top: 12px; }
.coupon-admin { display: grid; gap: 18px; margin-top: 24px; }
.coupon-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.coupon-toolbar h2 { margin: 0; font-family: var(--font-display); font-size: 30px; font-weight: 600; }
.coupon-toolbar p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.coupon-preview-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.coupon-preview { display: grid; gap: 7px; text-align: left; min-width: 0; border: 1px solid var(--line); border-radius: 18px; padding: 17px; color: var(--ink); background: #fff; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.coupon-preview:hover { transform: translateY(-2px); border-color: #d8b6c4; box-shadow: var(--shadow); }
.coupon-preview.selected { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.coupon-preview-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 12px; }
.coupon-preview > strong { margin-top: 5px; font-family: var(--font-display); font-size: 27px; font-weight: 600; }
.coupon-preview > p, .coupon-preview > small { margin: 0; color: var(--muted); }
.coupon-report-link { margin-top: 8px; color: var(--brand); font-size: 13px; font-weight: 800; }
.coupon-report { display: grid; gap: 18px; scroll-margin-top: 20px; }
.coupon-overview { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); gap: 18px; }
.coupon-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.coupon-card-head h2 { margin: 10px 0 0; font-family: var(--font-display); font-size: 34px; font-weight: 600; }
.coupon-card > p { margin: 4px 0 22px; color: var(--muted); }
.coupon-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.coupon-stats div { border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: var(--canvas); }
.coupon-stats span { display: block; color: var(--muted); font-size: 12px; }
.coupon-stats strong { display: block; margin-top: 4px; font-size: 22px; }
.coupon-history .order-head { margin-bottom: 10px; }
.coupon-history .order-head h2 { margin-bottom: 2px; }
.coupon-history .order-head p { margin: 0; color: var(--muted); font-size: 13px; }
.coupon-discount { color: var(--success); font-weight: 800; }
.coupon-form { border-color: #d7b4c2; box-shadow: var(--shadow); }
.coupon-form .order-head p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.installment-card { overflow: hidden; }
.installment-grid { display: grid; grid-template-columns: repeat(6, minmax(70px, 1fr)); gap: 8px; margin: 14px 0 18px; }
.installment-grid div { border: 1px solid var(--line); border-radius: 12px; padding: 11px; background: var(--canvas); text-align: center; }
.installment-grid span { display: block; color: var(--muted); font-size: 12px; }
.installment-grid strong { font-size: 17px; }
.admin-helper { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.admin-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 24px;
  background: rgba(20, 16, 19, .58);
  backdrop-filter: blur(4px);
}
.admin-modal {
  width: min(680px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(26, 18, 23, .3);
}
.admin-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.admin-modal-head h2 { margin: 0; font-family: var(--font-display); font-size: 32px; font-weight: 600; }
.modal-close { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: var(--canvas); font-size: 25px; line-height: 1; }
.admin-modal-form { display: grid; gap: 20px; }
.modal-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; padding-top: 4px; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.detail-grid > div, .admin-detail-block { border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: var(--canvas); }
.detail-grid span, .admin-detail-block > span { display: block; color: var(--muted); font-size: 12px; }
.detail-grid strong { display: block; margin-top: 4px; }
.admin-detail-block { margin-bottom: 20px; }
.admin-detail-block p { margin: 6px 0 0; }
.rate-form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

/* Catalog administration shares the storefront's existing tokens and form controls. */
.catalog-admin-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin: 24px 0; }
.catalog-admin-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.combo-admin-grid .admin-card { min-width: 0; overflow-wrap: anywhere; }
.combo-card-status { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.combo-card-status .badge { position: static; display: inline-flex; }
.button.danger { color: var(--danger); border: 1px solid var(--danger); background: var(--canvas); }
.button.danger:hover { background: var(--brand-soft); }
.combo-deleted { margin-top: 24px; }
.combo-deleted summary { min-height: 44px; display: list-item; cursor: pointer; font-weight: 750; overflow-wrap: anywhere; }
.combo-deleted-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--line); padding: 12px 0; overflow-wrap: anywhere; }
.combo-preview { display: grid; gap: 16px; min-width: 0; overflow-wrap: anywhere; }
.combo-preview p { margin: 0; white-space: pre-line; }
.combo-preview ul { margin: 0; padding-left: 20px; }
.combo-action-error, .combo-unavailable { color: var(--danger); overflow-wrap: anywhere; }
.combo-action-error:empty { display: none; }
.combo-fixed-products { display: grid; gap: 16px; margin: 16px 0; }
.combo-fixed-row { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.combo-picker-feedback { color: var(--brand-dark); font-size: 14px; margin: 12px 0; }
.combo-allowed-options { display: grid; gap: 8px; max-height: 320px; overflow-y: auto; margin: 12px 0 16px; padding: 4px; }
.combo-allowed-option { display: flex; align-items: center; gap: 12px; min-height: 48px; border: 1px solid var(--line); border-radius: 10px; padding: 10px; cursor: pointer; }
.combo-allowed-option span { min-width: 0; overflow-wrap: anywhere; }
.combo-allowed-option input { flex: none; width: 20px; height: 20px; accent-color: var(--brand); }
.combo-allowed-option:has(input:checked) { background: var(--brand-soft); border-color: var(--brand); }
.combo-allowed-option:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.catalog-group .button { margin-top: 4px; }
.choice-group .variant-option { min-height: 44px; max-width: 100%; overflow-wrap: anywhere; text-align: left; }
.choice-group .variant-options { gap: 8px; }
.choice-group .selected-row { grid-template-columns: minmax(0, 1fr) auto auto; }
.choice-group .selected-row strong { min-width: 0; overflow-wrap: anywhere; }
.choice-group .quantity-control button { width: 44px; height: 44px; }
.choice-group .remove-link { min-width: 44px; min-height: 44px; }
.combo-admin-grid button:focus-visible, .combo-deleted summary:focus-visible, .combo-deleted button:focus-visible, .combo-preview button:focus-visible, .button.danger:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.admin-modal .modal-close { width: 44px; height: 44px; }
.catalog-editor { min-width: 0; }
.catalog-editor [hidden] { display: none !important; }
.catalog-editor .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 16px 0; }
.catalog-section, .catalog-group { min-width: 0; margin: 0; border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.catalog-section > legend, .catalog-group > legend { padding: 0 6px; font-weight: 750; }
.catalog-groups { display: grid; gap: 16px; margin: 18px 0; }
.catalog-editor .field { min-width: 0; }
.catalog-editor .field input, .catalog-editor .field select { min-height: 48px; }
.catalog-editor .field textarea { resize: vertical; }
.catalog-editor small { color: var(--muted); font-size: 13px; }
.catalog-local-notice { margin: 0; border-radius: 12px; padding: 12px; color: var(--brand-dark); background: var(--brand-soft); font-size: 13px; }
.catalog-image-preview { width: 100%; max-width: 180px; height: 150px; object-fit: contain; border: 1px solid var(--line); border-radius: 12px; }
.catalog-form-error, .catalog-field-error { margin: 0; color: var(--danger); font-size: 14px; overflow-wrap: anywhere; }
.catalog-form-error:empty { display: none; }
.product-info .product-subtitle, .sales-panel > p { white-space: pre-line; }
.catalog-editor [aria-invalid="true"] { border-color: var(--danger); }
.catalog-editor button:focus-visible, .modal-close:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.admin-modal:has(.catalog-editor) { max-height: calc(100dvh - 48px); }
.admin-modal:has(.catalog-editor) .modal-close { width: 44px; height: 44px; }

.empty-state { border: 1px dashed #d7cfd4; border-radius: 20px; padding: 52px 24px; color: var(--muted); text-align: center; background: #fff; }
.empty-state h2 { color: var(--ink); }

.site-footer { margin-top: 60px; border-top: 1px solid var(--line); background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr)); gap: 36px; padding: 42px 0 32px; color: var(--muted); font-size: 13px; }
.footer-brand .brand-logo { width: 220px; height: 75px; }
.footer-brand p { max-width: 280px; margin: 16px 0 0; line-height: 1.65; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-links strong { margin-bottom: 2px; color: var(--ink); font-size: 14px; }
.footer-links a { min-height: 28px; color: var(--brand); font-weight: 700; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; }
.footer-links a:hover { text-decoration-color: currentColor; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding: 18px 0 22px; color: var(--muted); font-size: 12px; }

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 300;
  max-width: min(380px, calc(100vw - 44px));
  transform: translateY(20px);
  border-radius: 14px;
  padding: 14px 17px;
  color: #fff;
  background: #1e1b1f;
  box-shadow: 0 18px 50px rgba(0,0,0,.22);
  opacity: 0;
  pointer-events: none;
  transition: .25s ease;
}
.toast.show { transform: translateY(0); opacity: 1; }

@media (max-width: 960px) {
  .main-nav { display: none; }
  .mobile-menu-button { display: inline-grid; place-items: center; }
  .header-inner { grid-template-columns: 1fr auto; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-row { grid-auto-columns: minmax(210px, 31%); }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 320px; }
  .hero-content { padding: 44px 38px; }
  .hero-product-frame { height: 330px; }
  .service-strip > div { padding: 20px 16px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-hero { grid-template-columns: 1fr; }
  .product-gallery { position: static; min-height: 420px; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-grid { grid-template-columns: 1fr; }
  .coupon-overview { grid-template-columns: 1fr; }
  .coupon-preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .installment-grid { grid-template-columns: repeat(3, minmax(70px, 1fr)); }
  .combo-composition-track { grid-auto-columns: minmax(230px, 42%); }
}

@media (max-width: 720px) {
  .demo-bar { display: block; padding: 8px 10px; text-align: center; }
  .demo-bar strong { display: block; margin: 0 0 5px; }
  .demo-modes { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding: 2px 0; scrollbar-width: none; }
  .demo-modes::-webkit-scrollbar { display: none; }
  .demo-modes button { flex: 0 0 auto; min-height: 44px; padding-inline: 14px; }
  .site-header { top: 0; }
  .header-inner { gap: 12px; height: 66px; padding: 0 14px; }
  .header-actions { gap: 8px; }
  .site-header .brand-logo { width: clamp(116px, 34vw, 138px); height: 44px; }
  .account-button span { display: none; }
  .mobile-menu { padding: 8px 12px 12px; box-shadow: 0 18px 30px rgba(43, 26, 34, .12); }
  .mobile-menu .nav-link { display: flex; align-items: center; min-height: 46px; padding: 0 14px; }
  .container { width: min(100% - 24px, 1180px); }
  .hero { margin: 12px auto 24px; border-radius: 20px; }
  .hero-grid { display: block; min-height: 0; }
  .hero-content { padding: 30px 22px 18px; }
  .hero h1 { font-size: clamp(36px, 10.5vw, 46px); line-height: 1; }
  .hero p { margin: 14px 0 20px; font-size: 16px; line-height: 1.45; }
  .hero-actions { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .hero-actions .button { min-height: 52px; padding: 0 12px; text-align: center; line-height: 1.2; }
  .hero-visual { min-height: 205px; padding: 0 20px; place-items: end start; }
  .hero-kicker { top: 12px; right: 14px; padding: 6px 9px; font-size: 10px; }
  .hero-product-frame { width: 170px; height: 200px; }
  .hero-product-note { right: 14px; bottom: 18px; width: 178px; padding: 10px 12px; }
  .hero-product-note strong { font-size: 18px; }
  .service-strip { display: flex; overflow-x: auto; border-top: 0; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .service-strip::-webkit-scrollbar { display: none; }
  .service-strip > div { flex: 0 0 84%; min-height: 92px; padding: 17px 14px; scroll-snap-align: start; }
  .service-strip > div + div { border-top: 0; border-left: 1px solid var(--line); }
  .service-strip small { font-size: 13px; }
  .catalog-section { padding-top: 34px; }
  .catalog-toolbar { align-items: stretch; flex-direction: column; gap: 18px; margin-bottom: 16px; }
  .section-title { font-size: clamp(30px, 9vw, 38px); }
  .section-lead { font-size: 15px; }
  .search-box { width: 100%; }
  .search-box input { height: 50px; font-size: 16px; }
  .chips { position: sticky; top: 66px; z-index: 12; margin: 0 -12px 4px; padding: 10px 12px 12px; background: rgba(248,245,246,.96); backdrop-filter: blur(12px); }
  .chip { min-height: 44px; padding: 9px 16px; font-size: 14px; }
  .product-grid { grid-template-columns: 1fr; gap: 14px; }
  .product-card { display: grid; grid-template-columns: 132px minmax(0, 1fr); min-height: 260px; }
  .product-image-wrap { width: 100%; height: 100%; min-height: 260px; padding: 12px; border-right: 1px solid var(--border-soft); }
  .badge { top: 10px; left: 9px; max-width: calc(100% - 18px); padding: 5px 7px; font-size: 10px; line-height: 1.2; text-align: center; }
  .product-body { min-width: 0; padding: 16px; }
  .product-meta { font-size: 12px; }
  .product-card h4 { margin-top: 6px; font-size: 19px; line-height: 1.14; }
  .product-card p { min-height: 0; margin-bottom: 14px; font-size: 13.5px; -webkit-line-clamp: 3; }
  .card-bottom { align-items: stretch; flex-direction: column; gap: 10px; padding-top: 12px; }
  .card-bottom .button { width: 100%; min-height: 44px; }
  .locked-price { font-size: 12.5px; line-height: 1.35; }
  .catalog-shelves { gap: 34px; }
  .catalog-shelf-head { align-items: center; margin-bottom: 13px; }
  .catalog-shelf-head h3 { font-size: 24px; line-height: 1.1; }
  .catalog-shelf-head p { max-width: 270px; font-size: 13px; line-height: 1.4; }
  .shelf-controls { display: none; }
  .product-row { grid-auto-columns: minmax(174px, 52vw); gap: 12px; margin: 0 -12px; padding: 2px 12px 10px; scrollbar-width: none; }
  .product-row::-webkit-scrollbar { display: none; }
  .product-row .product-card { display: flex; min-height: 0; }
  .product-row .product-image-wrap { width: 100%; height: 178px; min-height: 178px; padding: 12px; border-right: 0; border-bottom: 1px solid var(--border-soft); }
  .product-row .product-body { padding: 14px; }
  .product-row .product-meta { font-size: 12px; }
  .product-row .product-card h4 { margin: 5px 0 7px; font-size: 19px; }
  .product-row .product-card p { min-height: 40px; margin-bottom: 12px; font-size: 12.5px; -webkit-line-clamp: 2; }
  .product-row .card-bottom { gap: 9px; padding-top: 11px; }
  .product-row .locked-price { font-size: 12.5px; }
  .breadcrumbs { gap: 6px; overflow-x: auto; padding: 16px 0 12px; white-space: nowrap; scrollbar-width: none; }
  .product-gallery { min-height: 330px; padding: 20px; }
  .gallery-main { min-height: 255px; }
  .gallery-main > img { max-height: 290px; }
  .product-info { padding-top: 0; }
  .product-title { font-size: clamp(30px, 8.2vw, 36px); line-height: 1.04; }
  .benefit-row { grid-template-columns: 1fr; }
  .sales-panel { padding: 22px; }
  .sales-panel ul { grid-template-columns: 1fr; }
  .combo-composition-section { margin-bottom: 38px; }
  .combo-composition-heading { align-items: start; }
  .combo-composition-heading h2 { font-size: 30px; }
  .combo-composition-heading p:last-child { font-size: 14px; }
  .combo-composition-controls { display: none; }
  .combo-composition-track { grid-auto-columns: 78%; margin-right: -12px; padding-right: 12px; scrollbar-width: none; }
  .combo-composition-track::-webkit-scrollbar { display: none; }
  .combo-composition-image { height: 220px; }
  .profitability-section { margin-bottom: 38px; }
  .profitability-heading h2 { font-size: 30px; }
  .profitability-heading > p:last-child { font-size: 14px; }
  .profitability-card { grid-template-columns: 1fr; padding: 20px; }
  .profitability-result { min-height: 164px; }
  .combo-profitability-overview { grid-template-columns: 1fr; }
  .combo-profitability-overview > div { padding: 15px 17px; }
  .combo-profitability-overview > div + div { border-top: 1px solid var(--line); border-left: 0; }
  .combo-profitability-item { padding: 18px; }
  .combo-profitability-item-head { display: grid; gap: 10px; }
  .combo-profitability-suggestion { justify-self: start; }
  .combo-profitability-item-grid { grid-template-columns: 1fr; }
  .combo-profitability-total { grid-template-columns: 1fr; }
  .combo-profitability-total > div { min-height: 0; padding: 17px; }
  .combo-profitability-total > div + div { border-top: 1px solid rgba(255,255,255,.16); border-left: 0; }
  .product-purchase-section { margin-bottom: 44px; }
  .product-purchase-heading { margin-bottom: 14px; }
  .product-purchase-heading h2 { font-size: 30px; }
  .product-purchase-heading > p:last-child { font-size: 14px; }
  .purchase-summary { position: static; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .form-card { padding: 24px 19px; }
  .catalog-editor .form-grid { grid-template-columns: minmax(0, 1fr); }
  .catalog-editor .field.full { grid-column: 1; }
  .catalog-section, .catalog-group { padding: 12px; }
  .admin-modal:has(.catalog-editor) { padding: 16px; }
  .login-page { padding: 32px 0; }
  .login-form h1 { font-size: clamp(34px, 8.7vw, 36px); line-height: 1.1; }
  .account-layout { grid-template-columns: 1fr; }
  .side-menu { position: static; display: flex; overflow-x: auto; }
  .side-menu button { width: auto; flex: none; }
  .side-menu a { width: auto; flex: none; }
  .cart-item { position: relative; display: block; }
  .cart-item-image { position: absolute; top: 14px; left: 14px; width: 60px; height: 60px; padding: 6px; }
  .cart-item-image img { height: 48px; }
  .cart-item-content h3 { display: flex; align-items: center; min-height: 60px; margin-top: 0; padding-left: 74px; }
  .cart-item-price { margin-top: 12px; text-align: left; }
  .cart-selection-row { grid-template-columns: minmax(0, 1fr) auto; }
  .cart-selection-name { grid-column: 1 / -1; }
  .cart-selection-price { min-width: 0; }
  .cart-subitem-actions { justify-content: flex-end; }
  .cart-replace-panel, .cart-line-replace-panel { grid-template-columns: minmax(0, 1fr); }
  .cart-replace-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cart-replace-panel small, .cart-line-replace-panel small { grid-column: 1; }
  .cart-combo-add { grid-template-columns: minmax(0, 1fr); }
  .cart-combo-add-heading { align-self: auto; }
  .cart-combo-add .button { width: 100%; }
  .cart-fixed-items-head { flex-direction: column; gap: 3px; }
  .cart-fixed-items-head > span { text-align: left; }
  .cart-fixed-product-image { flex-basis: 54px; width: 54px; height: 54px; }
  .cart-fixed-quantity { min-width: 54px; }
  .cart-combo-group-head { align-items: flex-start; flex-direction: column; gap: 4px; }
  .success-actions { flex-direction: column; }
  .admin-shell { grid-template-columns: minmax(0, 1fr); }
  .admin-sidebar { min-width: 0; padding: 13px; }
  .admin-sidebar .brand { margin-bottom: 12px; }
  .admin-sidebar nav { display: flex; overflow-x: auto; }
  .coupon-stats { grid-template-columns: 1fr; }
  .coupon-toolbar { align-items: stretch; flex-direction: column; }
  .coupon-preview-grid { grid-template-columns: 1fr; }
  .installment-grid { grid-template-columns: repeat(2, minmax(70px, 1fr)); }
  .admin-sidebar button { flex: none; }
  .admin-main { padding: 22px 14px; }
  .combo-admin-grid { grid-template-columns: minmax(0, 1fr); }
  .choice-group .selected-row { grid-template-columns: minmax(0, 1fr) auto; }
  .choice-group .selected-row > strong { grid-column: 1 / -1; }
  .admin-top { flex-wrap: wrap; }
  .admin-modal-backdrop { align-items: end; padding: 0; }
  .admin-modal { width: 100%; max-height: 92vh; border-radius: 22px 22px 0 0; padding: 22px 16px; }
  .admin-modal-head h2 { font-size: 28px; }
  .detail-grid, .rate-form-grid { grid-template-columns: 1fr; }
  .modal-actions { display: grid; grid-template-columns: 1fr; }
  .modal-actions .button { width: 100%; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .data-table { min-width: 610px; }
  .table-scroll { overflow-x: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; padding: 34px 0 26px; }
  .footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-bottom { flex-direction: column; gap: 5px; }
  .floating-whatsapp {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 56px;
    height: 56px;
  }
  .floating-whatsapp .whatsapp-icon { width: 29px; height: 29px; }
}

@media (max-width: 440px) {
  .product-card { grid-template-columns: 118px minmax(0, 1fr); min-height: 250px; }
  .product-image-wrap { min-height: 250px; padding: 10px; }
  .product-body { padding: 14px; }
  .product-card h4 { font-size: 18px; }
  .product-card p { font-size: 13px; }
  .button { padding: 0 14px; }
  .kpi-grid { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .account-button span { display: none; }
  .hero-actions { grid-template-columns: 1fr; }
  .product-card { grid-template-columns: 106px minmax(0, 1fr); }
  .cart-editable-subitem { grid-template-columns: minmax(0, 1fr); }
  .cart-editable-subitem :is(.cart-selection-name, .quantity-control, .cart-selection-price, .cart-subitem-actions, .cart-replace-panel) { grid-column: 1; }
  .cart-editable-subitem .quantity-control { width: 100%; }
  .cart-editable-subitem .quantity-control span { flex: 1; }
  .cart-editable-subitem .cart-selection-price { text-align: left; }
  .cart-subitem-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .floating-whatsapp { transition: none; }
  .floating-whatsapp:hover, .floating-whatsapp:active { transform: none; }
}
