:root {
  --canvas: #f7f4ed;
  --paper: #fffdf8;
  --ink: #17382f;
  --ink-2: #294b41;
  --muted: #6f756f;
  --line: #d9d6cd;
  --red: #c65047;
  --red-dark: #a43d36;
  --gold: #d9a34b;
  --soft-green: #e6eee8;
  --soft-red: #f3e3df;
  --white: #ffffff;
  --shadow: 0 18px 55px rgba(23, 56, 47, .12);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --page: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.dialog-open { overflow: hidden; }
body.summary-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; }
img { max-width: 100%; display: block; }

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 100;
  transform: translateY(-140%); background: var(--ink); color: #fff;
  padding: 10px 14px; border-radius: 8px;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(247, 244, 237, .94);
  border-bottom: 1px solid rgba(23, 56, 47, .13);
  backdrop-filter: blur(14px);
}
.header-inner {
  min-height: 72px; max-width: var(--page); margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; white-space: nowrap; }
.brand-icon { display: block; width: 54px; height: 54px; flex: 0 0 auto; object-fit: contain; }
.brand-wordmark { display: grid; gap: 0; line-height: .86; }
.brand-wordmark strong { font: 900 22px/.9 "Arial Black", Impact, sans-serif; letter-spacing: -.065em; }
.brand-wordmark small { margin-top: 5px; font: 700 8px/1.2 "Courier New", monospace; letter-spacing: .14em; }
.brand-footer .brand-icon { width: 72px; height: 72px; }
.brand-footer .brand-wordmark strong { font-size: 28px; }
.brand-footer .brand-wordmark small { font-size: 9px; }
.brand-mark {
  width: 34px; height: 34px; display: grid; place-items: center;
  border: 1.5px solid var(--ink); border-radius: 50%;
  font-family: Georgia, serif; font-weight: 700; font-size: 18px;
}
.brand-dot { color: var(--red); }
.desktop-nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-link {
  padding: 10px 13px; border-radius: 999px; font-weight: 720; font-size: 14px;
  color: var(--ink-2); transition: background .18s ease, color .18s ease;
}
.nav-link:hover, .nav-link[aria-current="page"] { background: var(--soft-green); color: var(--ink); }
.cart-link {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px;
  border-radius: 999px; background: var(--ink); color: #fff; font-weight: 800; font-size: 14px;
}
.cart-count {
  min-width: 23px; height: 23px; display: inline-grid; place-items: center;
  padding: 0 6px; border-radius: 99px; background: var(--red); color: #fff; font-size: 12px;
}

.container { width: min(var(--page), calc(100% - 56px)); margin-inline: auto; }
.page-main { min-height: 70vh; }
.section { padding: 80px 0; }
.section.compact { padding: 54px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px;
  color: var(--red); text-transform: uppercase; letter-spacing: .15em; font-size: 12px; font-weight: 850;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, .serif {
  font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.045em; line-height: .98;
}
h1 { font-size: clamp(46px, 6.2vw, 86px); margin-bottom: 24px; }
h2 { font-size: clamp(35px, 4vw, 58px); margin-bottom: 18px; }
h3 { line-height: 1.2; letter-spacing: -.025em; }
.lead { font-size: clamp(18px, 2vw, 22px); line-height: 1.55; color: #4b5d56; max-width: 680px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 34px; }
.section-head p { max-width: 570px; color: var(--muted); margin-bottom: 0; }
.text-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; border-bottom: 1px solid currentColor; }
.text-link:hover { color: var(--red); }

.button {
  min-height: 46px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 820; cursor: pointer; transition: transform .17s ease, background .17s ease, border-color .17s ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--red); color: #fff; }
.button.primary:hover { background: var(--red-dark); }
.button.secondary { background: var(--paper); border-color: var(--line); }
.button.secondary:hover { border-color: var(--ink); }
.button.dark { background: var(--ink); color: #fff; }
.button.block { width: 100%; }
.button.small { min-height: 38px; padding: 0 13px; border-radius: 9px; font-size: 14px; }
.button:focus-visible, .nav-link:focus-visible, .icon-button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(198, 80, 71, .28); outline-offset: 3px;
}

.hero { padding: 38px 0 0; }
.hero-shell {
  position: relative; min-height: 570px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper);
}
.hero-copy { padding: clamp(42px, 6vw, 78px); align-self: center; z-index: 2; }
.hero-copy h1 { max-width: 690px; }
.hero-copy .lead { max-width: 580px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-media { min-width: 0; min-height: 570px; position: relative; background: #e9e5dc; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 57% center; }
.price-note {
  position: absolute; right: 28px; bottom: 28px; width: 214px; padding: 18px;
  border-radius: 14px; background: rgba(255, 253, 248, .95); box-shadow: var(--shadow); transform: rotate(-1.5deg);
}
.price-note small { color: var(--muted); display: block; }
.price-note strong { display: block; font-family: Georgia, serif; font-size: 31px; margin: 3px 0; }
.price-note span { color: var(--red); font-size: 13px; font-weight: 800; }

.planner-strip {
  margin: -32px auto 0; position: relative; z-index: 4; width: min(1080px, calc(100% - 80px));
  display: grid; grid-template-columns: 1.1fr .8fr .8fr auto; align-items: end; gap: 14px;
  padding: 22px; background: var(--ink); color: #fff; border-radius: 18px; box-shadow: var(--shadow);
}
.field label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 750; color: inherit; }
.field select, .field input, .search-input {
  width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 10px;
  padding: 0 13px; background: var(--white); color: var(--ink);
}
.planner-strip .button { min-height: 48px; }

.category-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.category-card {
  min-height: 148px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md);
  transition: border-color .18s ease, transform .18s ease;
}
.category-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.category-icon {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 12px; background: var(--canvas); font-size: 21px;
}
.category-card strong { font-size: 17px; }
.category-card small { color: var(--muted); }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.product-card { overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); }
.product-card:hover { border-color: #a7aaa3; }
.product-image {
  position: relative; aspect-ratio: 1.3; background-image: url("assets/produtos-grid.png");
  background-size: 300% 200%; background-repeat: no-repeat; border-bottom: 1px solid var(--line);
}
.product-image.rice { background-position: 0% 0%; }
.product-image.milk { background-position: 50% 0%; }
.product-image.eggs { background-position: 100% 0%; }
.product-image.tofu { background-position: 0% 100%; }
.product-image.apples { background-position: 50% 100%; }
.product-image.greens { background-position: 100% 100%; }
.product-image.extra-miso,
.product-image.extra-soy,
.product-image.extra-bread,
.product-image.extra-salmon,
.product-image.extra-bananas,
.product-image.extra-onions { background-image: url("assets/produtos-grid-extra.png"); }
.product-image.extra-miso { background-position: 0% 0%; }
.product-image.extra-soy { background-position: 50% 0%; }
.product-image.extra-bread { background-position: 100% 0%; }
.product-image.extra-salmon { background-position: 0% 100%; }
.product-image.extra-bananas { background-position: 50% 100%; }
.product-image.extra-onions { background-position: 100% 100%; }
.product-image.extra-udon,
.product-image.extra-tea,
.product-image.extra-yogurt { background-image: url("assets/produtos-grid-v3.png"); background-size: 300% 100%; }
.product-image.extra-udon { background-position: 0% 0%; }
.product-image.extra-tea { background-position: 50% 0%; }
.product-image.extra-yogurt { background-position: 100% 0%; }
.product-badge { position: absolute; top: 12px; left: 12px; padding: 5px 8px; border-radius: 7px; background: rgba(255,255,255,.93); font-size: 11px; font-weight: 850; }
.product-body { padding: 18px; }
.product-meta { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.product-name { font-size: 18px; margin-bottom: 15px; }
.product-bottom { display: flex; align-items: end; justify-content: space-between; gap: 14px; }
.product-price { font-family: Georgia, serif; font-size: 28px; line-height: 1; }
.unit-price { margin-top: 5px; color: var(--muted); font-size: 12px; }
.product-card { display: flex; flex-direction: column; }
.product-body { display: flex; flex: 1; flex-direction: column; }
.product-bottom { margin-top: auto; }
.product-source { display: flex; justify-content: space-between; gap: 10px; margin-top: 16px; padding-top: 10px; border-top: 1px dashed var(--line); color: var(--muted); font-size: 10px; line-height: 1.3; }
.product-source span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-source span:last-child { flex: 0 0 auto; }
.home-products-container { width: min(1500px, calc(100% - 56px)); margin-inline: auto; }
.home-products-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; align-items: start; }
.home-products .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mobile-scroll-hint { display: none; }

.stores-section { padding: 26px 0 58px; }
.stores-board { display: grid; grid-template-columns: .78fr 1.22fr; gap: 38px; align-items: stretch; }
.stores-intro { padding: 30px; border: 2px solid var(--ink); background: var(--paper); }
.stores-intro h2 { max-width: 520px; font-size: clamp(38px, 4.2vw, 62px); }
.stores-intro p:last-child { max-width: 520px; margin-bottom: 0; color: var(--muted); }
.store-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.store-list li { min-height: 92px; display: flex; align-items: center; gap: 14px; padding: 17px; border: 2px solid var(--ink); background: var(--paper); }
.store-list li:first-child { grid-column: 1 / -1; }
.store-list span { flex: 0 0 auto; font-family: "Courier New", monospace; font-size: 11px; }
.store-list strong { line-height: 1.15; }

.kit-feature { display: grid; grid-template-columns: .85fr 1.15fr; background: var(--ink); color: #fff; border-radius: var(--radius-lg); overflow: hidden; }
.kit-copy { padding: clamp(38px, 6vw, 72px); }
.kit-copy h2 { max-width: 520px; }
.kit-copy p { color: #cdd8d4; max-width: 520px; }
.kit-numbers { display: grid; grid-template-columns: repeat(3, 1fr); margin: 30px 0; border-top: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); }
.kit-number { padding: 16px 12px 16px 0; }
.kit-number b { display: block; font-family: Georgia, serif; font-size: 25px; }
.kit-number span { font-size: 12px; color: #b7c6c1; }
.kit-art { min-height: 460px; position: relative; background: #d8c798; display: grid; place-items: center; overflow: hidden; }
.kit-art::before {
  content: ""; width: min(390px, 72%); aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.54);
  position: absolute; box-shadow: 0 0 0 38px rgba(255,255,255,.12), 0 0 0 76px rgba(255,255,255,.08);
}
.kit-glyph { position: relative; z-index: 2; font-family: Georgia, serif; font-size: clamp(86px, 12vw, 160px); color: var(--ink); }
.kit-label { position: absolute; bottom: 30px; right: 30px; padding: 12px 15px; background: var(--paper); color: var(--ink); border-radius: 12px; font-weight: 850; transform: rotate(2deg); }

.page-heading { padding: 64px 0 34px; border-bottom: 1px solid var(--line); }
.page-heading .heading-row { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.page-heading h1 { font-size: clamp(47px, 6vw, 78px); margin-bottom: 0; }
.page-heading p { margin: 0; max-width: 510px; color: var(--muted); }

.catalog-shell { width: min(var(--page), calc(100% - 56px)); margin-inline: auto; }
.catalog-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; padding: 36px 0 82px; }
.filters { position: sticky; top: 112px; align-self: start; max-height: calc(100vh - 132px); overflow: auto; }
.filter-group { padding: 20px 0; border-bottom: 1px solid var(--line); }
.filter-group:first-child { padding-top: 0; }
.filter-group h3 { font-size: 14px; margin-bottom: 12px; }
.filter-group h3 span { display: inline-grid; min-width: 23px; height: 23px; place-items: center; margin-left: 6px; border: 1px solid currentColor; border-radius: 50%; font-size: 10px; }
.filter-option { display: flex; align-items: center; gap: 10px; padding: 7px 0; color: #4f5c57; cursor: pointer; }
.filter-option input { accent-color: var(--red); width: 17px; height: 17px; }
.categories-more { margin-top: 10px; padding: 6px 0; border: 0; border-bottom: 1px solid currentColor; background: none; color: var(--ink); font-size: 11px; cursor: pointer; }
.catalog-main .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.catalog-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; margin-bottom: 20px; }
.catalog-toolbar select { min-width: 190px; min-height: 48px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; background: var(--paper); }
.results-line { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.mobile-filter { display: none; }
.catalog-pagination { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; margin-top: 46px; padding-top: 22px; border-top: 2px solid var(--ink); }
.catalog-pagination > button, .pagination-pages button { min-width: 42px; height: 42px; border: 2px solid var(--ink); background: var(--paper); cursor: pointer; }
.catalog-pagination button[aria-current="page"] { background: var(--red); color: var(--paper); }
.catalog-pagination button:disabled { cursor: not-allowed; opacity: .4; }
.pagination-pages { display: flex; justify-content: center; align-items: center; gap: 7px; }
.pagination-gap { padding: 0 3px; }
.pagination-status { grid-column: 1 / -1; justify-self: center; font-size: 12px; color: var(--muted); }

.inline-summary { display: none; }
.inline-summary-card { padding: 22px; border: 3px solid var(--ink); background: var(--red); box-shadow: 8px 8px 0 var(--ink); }
.inline-summary-card .compare-float-total strong { font-size: 38px; }

.kits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.kit-card { display: flex; flex-direction: column; min-height: 440px; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; background: var(--paper); }
.kit-card-top { min-height: 174px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; background: var(--soft-green); }
.kit-card:nth-child(2) .kit-card-top { background: #ebe4d1; }
.kit-card:nth-child(3) .kit-card-top { background: var(--soft-red); }
.kit-card-number { font-family: Georgia, serif; font-size: 58px; line-height: 1; }
.kit-card-body { padding: 22px; display: flex; flex: 1; flex-direction: column; }
.kit-card h3 { font-size: 23px; margin-bottom: 8px; }
.kit-card p { color: var(--muted); }
.kit-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.tag { padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: #57645e; }
.kit-card-footer { margin-top: auto; display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.kit-card-price b { display: block; font-family: Georgia, serif; font-size: 29px; line-height: 1; }
.kit-card-price small { color: var(--muted); }
.kits-source-strip { display: flex; align-items: center; gap: 18px; margin-bottom: 34px; padding: 18px 22px; border: 2px solid var(--ink); background: var(--gold); }
.kits-source-mark { flex: 0 0 auto; display: grid; width: 58px; height: 58px; place-items: center; border: 2px solid var(--ink); border-radius: 50%; background: var(--red); color: var(--paper); font-weight: 900; }
.kits-source-strip strong, .kits-source-strip small { display: block; }
.kits-source-strip small { margin-top: 4px; color: var(--ink); }
.kits-grid-detailed { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; align-items: start; }
.kits-grid-detailed .kit-card { min-height: 0; }
.kits-grid-detailed .kit-card-top { min-height: 150px; flex-direction: row; align-items: flex-end; gap: 20px; }
.kits-grid-detailed .kit-card-top > div { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; }
.kit-period { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.kit-description { min-height: 54px; font-size: 17px; font-weight: 700; }
.kit-ideal { margin: 18px 0; padding: 16px; border: 1px dashed var(--ink); background: rgba(225,183,78,.16); }
.kit-ideal strong { display: block; margin-bottom: 6px; text-transform: uppercase; }
.kit-ideal p { margin: 0; }
.kit-stats { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 18px; border: 2px solid var(--ink); }
.kit-stats > div { padding: 14px; }
.kit-stats > div + div { border-left: 2px solid var(--ink); }
.kit-stats span, .kit-stats b, .kit-stats small { display: block; }
.kit-stats span { margin-bottom: 7px; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.kit-stats b { font-size: 20px; line-height: 1.1; }
.kit-stats small { margin-top: 4px; color: var(--muted); }
.kit-details { margin-bottom: 24px; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.kit-details summary { padding: 14px 2px; cursor: pointer; font-weight: 850; text-transform: uppercase; }
.kit-details-content { padding: 2px 0 18px; }
.kit-details-content p { margin-bottom: 8px; }
.kit-details-content ul { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; margin: 0 0 14px; padding-left: 18px; }
.kit-composition { padding-top: 12px; border-top: 1px dashed var(--ink); }
.kit-source { margin: 14px 0 0 !important; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }

.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 30px; padding: 42px 0 84px; }
.cart-panel, .summary-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); }
.cart-panel { overflow: hidden; }
.cart-panel-head { padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.cart-panel-head h2 { font-family: inherit; font-size: 20px; font-weight: 800; letter-spacing: -.02em; margin: 0; }
.link-button { border: 0; background: transparent; text-decoration: underline; cursor: pointer; color: var(--muted); font-size: 13px; }
.cart-row { display: grid; grid-template-columns: 84px minmax(150px, 1fr) 130px 140px 90px 36px; gap: 15px; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cart-row:last-child { border-bottom: 0; }
.cart-thumb { aspect-ratio: 1; border: 1px solid var(--line); border-radius: 10px; }
.cart-row h3 { font-size: 16px; margin: 0 0 4px; }
.cart-row small { color: var(--muted); }
.row-field label { display: block; color: var(--muted); font-size: 11px; margin-bottom: 4px; }
.row-field select { width: 100%; min-height: 39px; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 0 8px; }
.row-total { font-family: Georgia, serif; font-size: 19px; text-align: right; }
.icon-button { width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: transparent; border-radius: 8px; cursor: pointer; color: var(--muted); }
.icon-button:hover { background: var(--soft-red); color: var(--red-dark); }
.summary-card { padding: 24px; position: sticky; top: 98px; align-self: start; }
.summary-card h2 { font-family: inherit; font-size: 20px; font-weight: 850; letter-spacing: -.02em; }
.summary-line { display: flex; justify-content: space-between; gap: 20px; padding: 9px 0; color: #4f5c57; }
.summary-line.total { margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink); }
.summary-line.total strong { font-family: Georgia, serif; font-size: 30px; }
.fx-reference { display: block; text-align: right; color: var(--muted); font-size: 13px; }
.goal-box { margin: 22px 0; padding: 16px; border-radius: 12px; background: var(--soft-green); }
.goal-head { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 780; }
.progress { height: 8px; background: #cbd7d1; border-radius: 99px; overflow: hidden; margin: 10px 0 8px; }
.progress > span { display: block; width: var(--progress, 0%); height: 100%; background: var(--red); border-radius: inherit; }
.goal-box small { color: #52645d; }
.summary-note { color: var(--muted); font-size: 12px; margin: 14px 0 0; }
.empty-cart { padding: 70px 24px; text-align: center; }
.empty-cart .empty-mark { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 16px; border: 1px solid var(--line); border-radius: 50%; font-size: 24px; }

.info-trigger { display: inline-flex; align-items: center; gap: 7px; border: 0; background: none; padding: 6px 0; color: var(--muted); font-size: 12px; text-decoration: underline; cursor: pointer; }
.info-dot { width: 17px; height: 17px; display: inline-grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 10px; font-weight: 850; }
.dialog-backdrop { position: fixed; inset: 0; z-index: 80; padding: 20px; display: none; place-items: center; background: rgba(12, 29, 24, .65); }
.dialog-backdrop.is-open { display: grid; }
.dialog {
  width: min(560px, 100%); max-height: min(700px, calc(100vh - 40px)); overflow: auto;
  padding: 28px; border-radius: 18px; background: var(--paper); box-shadow: var(--shadow);
}
.dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.dialog h2 { font-family: inherit; font-size: 24px; font-weight: 850; letter-spacing: -.025em; }
.dialog-list { padding-left: 20px; color: #4c5a54; }
.dialog-list li + li { margin-top: 10px; }
.dialog-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.dialog-facts span { color: var(--muted); font-size: 12px; line-height: 1.35; }
.dialog-facts b { display: block; color: var(--ink); font-size: 15px; }

.compare-float { position: fixed; z-index: 55; top: 142px; right: 20px; }
.compare-float-tab {
  min-width: 58px; height: 58px; padding: 0 10px; display: grid; grid-template-columns: auto auto; grid-template-rows: 1fr 1fr;
  align-items: center; column-gap: 7px; border: 2px solid var(--ink); background: var(--gold); color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink); cursor: pointer;
}
.compare-float-icon { grid-row: 1 / -1; font-size: 25px; line-height: 1; }
.compare-float-label { align-self: end; font-size: 11px; font-weight: 850; text-transform: uppercase; }
.compare-float-count { align-self: start; justify-self: start; min-width: 20px; height: 20px; display: grid; place-items: center; padding: 0 5px; border: 1px solid var(--ink); border-radius: 50%; background: var(--red); color: #fff; font-size: 10px; font-weight: 850; }
.compare-float-scrim { display: none; }
.compare-float-panel {
  position: absolute; top: 0; right: 0; width: 326px; max-height: calc(100vh - 166px); overflow: auto;
  padding: 22px; border: 3px solid var(--ink); background: var(--red); box-shadow: 8px 8px 0 var(--ink);
  transform: translateX(calc(100% + 34px)); opacity: 0; visibility: hidden;
  transition: transform .22s ease, opacity .18s ease, visibility .18s ease;
}
.compare-float.is-open .compare-float-panel { transform: translateX(0); opacity: 1; visibility: visible; }
.compare-float.is-open .compare-float-tab { opacity: 0; pointer-events: none; }
.compare-float-head { display: flex; align-items: start; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.compare-float-head span { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.compare-float-head h2 { margin: 3px 0 0; font-size: 23px; line-height: 1; }
.compare-float-close { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border: 2px solid var(--ink); background: var(--paper); font-size: 22px; cursor: pointer; }
.compare-float-line { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--ink); font-family: "Courier New", monospace; }
.compare-float-total { padding: 16px 0; }
.compare-float-total span, .compare-float-total strong, .compare-float-total small { display: block; }
.compare-float-total strong { margin: 4px 0 0; font-size: 42px; line-height: 1; }
.compare-float-total small { text-align: right; font-family: "Courier New", monospace; }
.compare-float-goal { margin: 0 0 18px; padding: 14px; border: 2px solid var(--ink); background: var(--paper); }
.compare-float-goal > div:first-child { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; }
.compare-float-goal small { color: var(--muted); font-size: 12px; }
.compare-float-panel > p { margin: 14px 0 0; font-size: 11px; font-family: "Courier New", monospace; }

.site-footer { border-top: 1px solid var(--line); padding: 42px 0 96px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; }
.footer-copy { color: var(--muted); max-width: 430px; font-size: 14px; }
.footer-title { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; font-weight: 850; margin-bottom: 12px; }
.footer-links { display: grid; gap: 8px; color: #536159; font-size: 14px; }
.prototype-note { margin-top: 28px; color: #8a8f89; font-size: 12px; }

.toast {
  position: fixed; right: 24px; bottom: 24px; z-index: 100; max-width: 360px;
  padding: 14px 16px; border-radius: 12px; background: var(--ink); color: #fff; box-shadow: var(--shadow);
  transform: translateY(30px); opacity: 0; pointer-events: none; transition: .22s ease;
}
.toast.show { transform: translateY(0); opacity: 1; }
.mobile-nav { display: none; }

@media (max-width: 1040px) {
  .hero-shell { grid-template-columns: 1fr 1fr; }
  .hero-copy { padding: 48px; }
  .home-products .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catalog-main .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cart-layout { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .cart-row { grid-template-columns: 70px minmax(140px, 1fr) 116px 126px 82px 36px; }
}

@media (max-width: 820px) {
  body { padding-bottom: 72px; }
  .container { width: min(100% - 32px, var(--page)); }
  .header-inner { min-height: 64px; padding: 0 16px; }
  .desktop-nav { display: none; }
  .header-inner .cart-link { margin-left: auto; padding: 9px 12px; }
  .hero { padding-top: 16px; }
  .hero-shell { display: flex; min-height: auto; flex-direction: column; }
  .hero-media { min-height: 330px; }
  .hero-copy { padding: 34px 26px 56px; }
  h1 { font-size: clamp(44px, 13vw, 66px); }
  .planner-strip { width: calc(100% - 32px); margin-top: 18px; grid-template-columns: 1fr; }
  .planner-strip .field, .planner-strip .field:first-child, .planner-strip .button { grid-column: 1 / -1; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid .category-card:last-child { grid-column: 1 / -1; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-products .product-grid {
    display: flex; gap: 18px; overflow-x: auto; margin-right: -16px; padding: 10px 16px 22px 2px;
    scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; scrollbar-width: thin;
  }
  .home-products-container { width: calc(100% - 32px); }
  .home-products .product-card { flex: 0 0 min(82vw, 320px); scroll-snap-align: start; }
  .mobile-scroll-hint { display: block; margin: -14px 0 18px; color: var(--muted); font-family: "Courier New", monospace; font-size: 12px; }
  .kit-feature { grid-template-columns: 1fr; }
  .kit-art { min-height: 330px; }
  .section { padding: 62px 0; }
  .section-head, .page-heading .heading-row { align-items: start; flex-direction: column; }
  .page-heading { padding: 42px 0 28px; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters { display: none; }
  .filters.is-mobile-open { display: block; position: static; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); }
  .mobile-filter { display: inline-flex; }
  .kits-grid { grid-template-columns: 1fr; }
  .kits-grid-detailed { gap: 28px; }
  .cart-row { grid-template-columns: 68px 1fr 34px; gap: 12px; }
  .cart-row .row-field, .cart-row .row-total { grid-column: 2 / 4; }
  .cart-row .row-total { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-nav {
    position: fixed; z-index: 50; left: 10px; right: 10px; bottom: 10px; height: 62px;
    display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px;
    background: rgba(23, 56, 47, .96); border-radius: 16px; box-shadow: var(--shadow); backdrop-filter: blur(12px);
  }
  .mobile-nav a { display: grid; place-items: center; color: #d7e0dc; border-radius: 11px; font-size: 11px; font-weight: 760; }
  .mobile-nav a[aria-current="page"] { background: rgba(255,255,255,.12); color: #fff; }
  .toast { bottom: 88px; left: 16px; right: 16px; }
  .compare-float { top: auto; right: 14px; bottom: 92px; }
  .compare-float-tab { min-width: 52px; width: 52px; height: 52px; padding: 0; display: grid; grid-template: 1fr / 1fr; place-items: center; }
  .compare-float-icon { grid-row: auto; font-size: 24px; }
  .compare-float-label { display: none; }
  .compare-float-count { position: absolute; right: -5px; top: -6px; }
  .compare-float-panel {
    position: fixed; inset: auto 12px 88px; width: auto; max-height: calc(100dvh - 110px);
    transform: translateY(24px) scale(.98); transform-origin: right bottom;
  }
  .compare-float.is-open .compare-float-panel { transform: translateY(0) scale(1); }
  .compare-float-scrim { position: fixed; inset: 0; border: 0; background: rgba(17,17,15,.64); }
  .compare-float.is-open .compare-float-scrim { display: block; }
  .stores-section { padding: 18px 0 46px; }
  .stores-board { grid-template-columns: 1fr; gap: 14px; }
  .stores-intro { padding: 22px; }
  .stores-intro h2 { font-size: clamp(36px, 11vw, 50px); }
}

@media (max-width: 560px) {
  .brand-name { font-size: 14px; }
  .hero-media { min-height: 270px; }
  .price-note { right: 14px; bottom: 14px; width: 185px; padding: 14px; }
  .planner-strip { width: calc(100% - 24px); grid-template-columns: 1fr; padding: 17px; }
  .planner-strip .field { grid-column: 1 / -1; }
  .category-grid, .product-grid, .catalog-main .product-grid { grid-template-columns: 1fr; }
  .category-grid .category-card:last-child { grid-column: auto; }
  .catalog-toolbar { grid-template-columns: 1fr; }
  .catalog-toolbar select { width: 100%; }
  .kit-numbers { grid-template-columns: 1fr; }
  .brand-icon { width: 42px; height: 42px; }
  .brand-wordmark strong { font-size: 16px; }
  .brand-wordmark small { margin-top: 3px; font-size: 6px; }
  .brand-footer .brand-icon { width: 60px; height: 60px; }
  .brand-footer .brand-wordmark strong { font-size: 22px; }
  .brand-footer .brand-wordmark small { font-size: 8px; }
  .kits-source-strip { align-items: flex-start; padding: 15px; }
  .kits-source-mark { width: 48px; height: 48px; }
  .kits-grid-detailed .kit-card-top { min-height: 134px; padding: 20px; }
  .kits-grid-detailed .kit-card-body { padding: 20px; }
  .kit-card-number { font-size: 52px; }
  .kit-description { min-height: 0; }
  .kit-stats { grid-template-columns: 1fr; }
  .kit-stats > div + div { border-top: 2px solid var(--ink); border-left: 0; }
  .kit-details-content ul { grid-template-columns: 1fr; }
  .kit-card-footer { align-items: stretch; flex-direction: column; }
  .kit-card-footer .button { width: 100%; }
  .kit-number { border-bottom: 1px solid rgba(255,255,255,.15); }
  .kit-number:last-child { border-bottom: 0; }
  .cart-layout { padding-top: 24px; }
  .summary-card { padding: 20px; }
  .dialog-facts { grid-template-columns: 1fr; }
  .store-list { grid-template-columns: 1fr; }
  .store-list li:first-child { grid-column: auto; }
  .catalog-pagination { gap: 6px; }
  .pagination-pages button:nth-of-type(n+4):not(:last-child), .pagination-gap:nth-of-type(n+3) { display: none; }
}

@media (min-width: 1180px) {
  .compare-float { display: none; }
  .inline-summary { display: block; position: sticky; top: 112px; align-self: start; }
  .home-products-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 26px; }
  .catalog-shell { width: min(1540px, calc(100% - 32px)); }
  .catalog-layout { grid-template-columns: 210px minmax(0, 1fr) 270px; gap: 20px; }
  .catalog-main .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

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