/* ============================================================
   ĐẠI TÀI MEGAS — Design System v2
   Swiss industrial catalog. Mono-led, sans display, restrained red.
   ============================================================ */

:root {
  /* Surfaces — cool neutral, technical paper */
  --bone:        #F2F2EF;
  --bone-2:      #E8E8E3;
  --bone-3:      #DCDCD5;
  --paper:       #FAFAF7;
  --ink:         #161616;
  --ink-2:       #2A2A2A;
  --ink-3:       #4A4A4A;
  --ink-4:       #777777;
  --ink-5:       #A8A8A8;
  --rule:        #161616;

  /* Brand red — warm, signal */
  --red:         oklch(0.62 0.19 28);
  --red-deep:    oklch(0.50 0.20 28);
  --red-soft:    oklch(0.92 0.05 28);
  --red-ink:     oklch(0.35 0.15 28);

  /* Hazard / safety semantic */
  --amber:       oklch(0.78 0.14 75);
  --moss:        oklch(0.55 0.10 140);

  /* Typography — Swiss-industrial */
  --display:     "Space Grotesk", "Inter", system-ui, sans-serif;
  --sans:        "Inter", system-ui, sans-serif;
  --mono:        "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Soft radii */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }

/* Type ramps */
.display { font-family: var(--display); font-weight: 500; letter-spacing: -0.025em; line-height: 1; }
.serif { font-family: var(--display); }
.mono { font-family: var(--mono); font-feature-settings: "ss01"; letter-spacing: -0.01em; }
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow-red { color: var(--red); }

.h-display { font-family: var(--display); font-weight: 400; letter-spacing: -0.025em; line-height: 0.92; }

/* Layout */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
}

.rule { border: 0; border-top: 1px solid var(--ink); margin: 0; }
.rule-soft { border: 0; border-top: 1px solid var(--bone-3); margin: 0; }

/* ─── Top Banner ─────────────────────────────────────── */
.banner {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 11px 0;
  overflow: hidden;
}
.banner-track {
  display: flex;
  gap: 64px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
}
.banner-track span { display: inline-flex; align-items: center; gap: 12px; }
.banner-track .dot { color: var(--red); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── Header ─────────────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bone);
  border-bottom: 1px solid var(--ink);
}
.header-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  height: 78px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
}
.brand-logo { height: 44px; width: auto; display: block; }
@media (max-width: 720px) { .brand-logo { height: 34px; } }
.brand-mark {
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: -0.035em;
  line-height: 1;
  white-space: nowrap;
  font-weight: 600;
}
.brand-mark .red { color: var(--red); font-style: normal; }
.brand-mark .red { color: var(--red); font-style: italic; }
.brand-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-left: 1px solid var(--ink-3);
  padding-left: 10px;
}
.nav { display: flex; gap: 28px; justify-self: center; }
.nav a {
  font-size: 14px; font-weight: 500; letter-spacing: -0.005em;
  position: relative; padding: 4px 0;
}
.nav a:hover { color: var(--red); }
.nav a.active { color: var(--red); }
.nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -28px; height: 2px; background: var(--red);
}
.header-cta {
  display: flex; align-items: center; gap: 16px;
  justify-content: flex-end; justify-self: end;
}
.hotline {
  display: flex; flex-direction: column; align-items: flex-end; line-height: 1;
}
.hotline-label {
  font-family: var(--mono);
  font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-4);
  margin-bottom: 4px;
}
.hotline-num {
  font-family: var(--display);
  font-size: 20px; color: var(--red); letter-spacing: -0.02em; font-weight: 600;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
  border: 1px solid var(--ink); background: var(--ink); color: var(--bone);
  text-transform: uppercase;
  border-radius: 100px;
  transition: all .15s;
}
.btn:hover { background: var(--red); border-color: var(--red); }
.btn-ghost {
  background: transparent; color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--bone); }
.btn-red {
  background: var(--red); border-color: var(--red);
}
.btn-red:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn-arrow::after { content: "→"; font-family: var(--display); font-size: 16px; }

/* Mobile hamburger */
.hamburger { display: none; width: 38px; height: 38px; border: 1px solid var(--ink); background: transparent; align-items: center; justify-content: center; flex-direction: column; gap: 4px; border-radius: 100px; }
.hamburger span { width: 16px; height: 1.5px; background: var(--ink); }

@media (max-width: 960px) {
  .nav { display: none; }
  .hotline { display: none; }
  .brand-tag { display: none; }
  .header-cta { gap: 12px; }
}
@media (max-width: 720px) {
  .header-row { grid-template-columns: auto 1fr auto; gap: 12px; height: 64px; }
  .brand-tag { display: none; }
  .brand-mark { font-size: 22px; }
  .header-cta .btn { display: none; }
  .hotline { display: none; }
  .hamburger { display: inline-flex; }
}

/* ─── Hero ─────────────────────────────────────── */
.hero {
  border-bottom: 1px solid var(--ink);
  padding: 64px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: end;
}
.hero-eyebrow-row {
  display: flex; align-items: center; gap: 16px; margin-bottom: 40px;
}
.hero-eyebrow-row .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 var(--red);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 oklch(0.62 0.19 28 / 0.5); }
  70%  { box-shadow: 0 0 0 14px oklch(0.62 0.19 28 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(0.62 0.19 28 / 0); }
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(56px, 8.4vw, 124px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.04em;
  margin: 0;
  color: var(--ink);
}
.hero h1 .it { font-style: normal; color: var(--red); }
.hero h1 .out { -webkit-text-stroke: 1.5px var(--ink); -webkit-text-fill-color: transparent; }
.hero-meta {
  display: flex; flex-direction: column; gap: 28px;
}
.hero-blurb {
  font-size: 17px; line-height: 1.55; color: var(--ink-2);
  max-width: 38ch;
}
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
}
.hero-stat {
  padding: 20px 0 0;
  border-right: 1px solid var(--ink);
  padding-right: 16px;
}
.hero-stat:last-child { border-right: 0; padding-right: 0; padding-left: 16px; }
.hero-stat:nth-child(2) { padding-left: 16px; padding-right: 16px; }
.hero-stat-num {
  font-family: var(--display);
  font-size: 44px; line-height: 1; letter-spacing: -0.035em;
  color: var(--ink); font-weight: 500;
}
.hero-stat-label {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ink-4); margin-top: 8px;
}
.hero-cta-row {
  display: flex; gap: 12px; margin-top: 4px;
}

/* Hero diagram block — full system overview */
.hero-diagram {
  margin-top: 56px;
  border: 1px solid var(--ink);
  background: var(--paper);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.hero-diagram-cell {
  padding: 24px 20px;
  border-right: 1px solid var(--ink);
  display: flex; flex-direction: column; gap: 10px;
  min-height: 130px;
  position: relative;
}
.hero-diagram-cell:last-child { border-right: 0; }
.hero-diagram-cell .num {
  font-family: var(--mono); font-size: 10px; color: var(--red); letter-spacing: 0.15em;
}
.hero-diagram-cell .ttl {
  font-family: var(--display); font-size: 20px; line-height: 1.15; letter-spacing: -0.025em; font-weight: 500;
}
.hero-diagram-cell .desc {
  font-family: var(--mono); font-size: 10.5px; color: var(--ink-4); line-height: 1.5;
}
.hero-diagram-cell .icon {
  position: absolute; top: 16px; right: 16px; opacity: 0.55;
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-diagram { grid-template-columns: repeat(2, 1fr); }
  .hero-diagram-cell:nth-child(2) { border-right: 0; }
  .hero-diagram-cell:nth-child(1), .hero-diagram-cell:nth-child(2) { border-bottom: 1px solid var(--ink); }
}
@media (max-width: 540px) {
  .hero { padding: 36px 0 48px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stat:nth-child(2) { border-right: 0; }
  .hero-stat:nth-child(3) { grid-column: span 2; border-top: 1px solid var(--ink); margin-top: 16px; padding-top: 16px; padding-left: 0; }
  .hero-diagram { grid-template-columns: 1fr; }
  .hero-diagram-cell { border-right: 0; border-bottom: 1px solid var(--ink); }
  .hero-diagram-cell:last-child { border-bottom: 0; }
}

/* ─── Section general ─────────────────────────────────── */
.section {
  padding: 96px 0;
  border-bottom: 1px solid var(--ink);
}
.section-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 48px; margin-bottom: 48px;
}
.section-header h2 {
  font-family: var(--display);
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin: 0;
  max-width: 14ch;
}
.section-header h2 .it { font-style: normal; color: var(--red); }
.section-header h2 .it { font-style: italic; color: var(--red); }
.section-header-meta {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-4);
  text-align: right;
  flex-shrink: 0;
}
.section-header-meta .num {
  display: block; font-family: var(--display);
  font-size: 28px; color: var(--ink); letter-spacing: -0.035em; margin-top: 4px;
  text-transform: none; font-weight: 500;
}

@media (max-width: 720px) {
  .section { padding: 56px 0; }
  .section-header { flex-direction: column; align-items: flex-start; margin-bottom: 32px; }
  .section-header-meta { text-align: left; }
}

/* ─── Categories navigator ─────────────────────── */
.cat-rail {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 16px 0;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 32px;
}
.cat-chip {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 9px 16px;
  border: 1px solid var(--ink-5); border-radius: 100px;
  color: var(--ink-3); background: transparent;
  transition: all .15s;
}
.cat-chip:hover { border-color: var(--ink); color: var(--ink); }
.cat-chip.active { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.cat-chip .count { color: var(--red); margin-left: 6px; }
.cat-chip.active .count { color: var(--red-soft); }

/* ─── Product grid ─────────────────────────────── */
.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.product {
  border: 1px solid var(--bone-3);
  border-radius: var(--r-lg);
  background: var(--paper);
  display: flex; flex-direction: column;
  position: relative;
  transition: all .2s;
  cursor: pointer;
  overflow: hidden;
}
.product:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 14px 28px -18px oklch(0.2 0.02 60 / 0.4); }
.product:hover { background: var(--bone-2); }
.product-img {
  aspect-ratio: 1 / 1;
  background: var(--bone-2);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--bone-3);
}
.product-img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.15) contrast(1.05);
  mix-blend-mode: multiply;
  transition: transform .4s ease;
}
.product:hover .product-img img { transform: scale(1.04); }
.product-img-placeholder {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(135deg, transparent 0 12px, oklch(0.85 0.02 60) 12px 13px),
    var(--bone-2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-4);
}
.product-tag {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--paper); color: var(--ink); padding: 5px 10px;
  border: 1px solid var(--ink);
  border-radius: 100px;
}
.product-tag.new { background: var(--red); color: var(--paper); border-color: var(--red); }
.product-sku {
  position: absolute; bottom: 12px; right: 12px;
  font-family: var(--mono); font-size: 9.5px; color: var(--ink-4);
  background: var(--paper); padding: 4px 8px;
  border-radius: 100px;
}
.product-body {
  padding: 18px 18px 20px;
  display: flex; flex-direction: column;
  flex: 1;
}
.product-cat {
  font-family: var(--mono); font-size: 10px; color: var(--red);
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 6px;
}
.product-name {
  font-family: var(--display);
  font-size: 17px; line-height: 1.25; letter-spacing: -0.025em;
  margin-bottom: 14px;
  color: var(--ink);
  text-wrap: balance;
  font-weight: 500;
}
.product-meta {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--ink-5);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 11px;
}
.product-price { color: var(--red); letter-spacing: 0.02em; }
.product-cta { color: var(--ink); display: flex; align-items: center; gap: 6px; }
.product-cta::after { content: "→"; font-family: var(--display); transition: transform .2s; }
.product:hover .product-cta::after { transform: translateX(4px); }

@media (max-width: 1100px) { .products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px)  { .products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px)  { .products { grid-template-columns: 1fr; } }

/* ─── Pagination ─────────────────────────────────── */
.pagination {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--bone-3);
}
.pagination-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-5);
}
.pagination-meta b {
  color: var(--ink);
  font-weight: 500;
}
.pagination-pages {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.page-btn {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--bone-3);
  background: var(--bone);
  color: var(--ink-7);
  cursor: pointer;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all .15s;
}
.page-btn:hover:not(:disabled):not(.active) {
  border-color: var(--ink);
  color: var(--ink);
}
.page-btn.active {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}
.page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.page-btn.nav { padding: 0 14px; }
.page-btn.ellipsis {
  border: none;
  background: transparent;
  pointer-events: none;
  color: var(--ink-5);
  min-width: 24px;
  padding: 0 4px;
}
@media (max-width: 600px) {
  .pagination { justify-content: center; }
  .pagination-meta { width: 100%; text-align: center; }
}

/* ─── Trust band: brands carried ─────────────────── */
.trust {
  background: var(--ink);
  color: var(--bone);
  padding: 80px 0;
}
.trust h2 { color: var(--bone); }
.brands-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.brand-cell {
  border: 1px solid var(--ink-3);
  border-radius: var(--r-md);
  padding: 28px 22px;
  min-height: 130px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative;
  transition: border-color .2s, background .2s;
}
.brand-cell:hover { border-color: var(--red); background: oklch(0.22 0.02 60); }
.brand-cell .name {
  font-family: var(--display);
  font-size: 22px; letter-spacing: -0.028em; line-height: 1; font-weight: 500; color: var(--bone);
}
.brand-cell .country {
  font-family: var(--mono); font-size: 10px; color: var(--ink-5);
  letter-spacing: 0.15em; text-transform: uppercase;
}
.brand-cell .tag {
  position: absolute; top: 16px; right: 16px;
  font-family: var(--mono); font-size: 9px; color: var(--red);
  letter-spacing: 0.1em;
}

@media (max-width: 1100px) { .brands-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 720px)  { .brands-grid { grid-template-columns: repeat(2, 1fr); } }

/* ─── Why us / safety pledge ─────────────────────── */
.pledge-grid {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--ink);
}
.pledge-cell {
  padding: 36px 32px 36px 0;
  border-right: 1px solid var(--ink-5);
}
.pledge-cell:last-child { border-right: 0; }
.pledge-cell .pn {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; color: var(--red); margin-bottom: 24px;
}
.pledge-cell h3 {
  font-family: var(--display); font-weight: 500;
  font-size: 28px; line-height: 1.15; letter-spacing: -0.028em;
  margin: 0 0 14px;
}
.pledge-cell p {
  font-size: 14.5px; line-height: 1.55; color: var(--ink-3); margin: 0;
}
.pledge-cell:not(:first-child) { padding-left: 32px; }
@media (max-width: 900px) {
  .pledge-grid { grid-template-columns: 1fr; }
  .pledge-cell { border-right: 0; border-bottom: 1px solid var(--ink-5); padding: 28px 0 !important; }
  .pledge-cell:last-child { border-bottom: 0; }
}

/* ─── News ─────────────────────────────────── */
.news-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.news-card {
  padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
  background: var(--paper);
  border: 1px solid var(--bone-3);
  border-radius: var(--r-lg);
  transition: all .2s;
}
.news-card:hover { background: var(--bone-2); border-color: var(--ink); transform: translateY(-2px); }
.news-img {
  aspect-ratio: 16 / 10;
  background: var(--bone-3);
  border: 1px solid var(--bone-3);
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
}
.news-img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; filter: grayscale(0.2); }
.news-date {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; color: var(--ink-4); text-transform: uppercase;
}
.news-title {
  font-family: var(--display); font-size: 22px; line-height: 1.2; letter-spacing: -0.028em; color: var(--ink); font-weight: 500;
}
.news-card:hover .news-title { color: var(--red); }
.news-excerpt { font-size: 14px; color: var(--ink-3); line-height: 1.55; }
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr; } .news-card { border-right: 0; border-bottom: 1px solid var(--ink); } .news-card:last-child { border-bottom: 0; } }

/* ─── CTA strip ───────────────────────────────── */
.cta-strip {
  background: var(--red);
  color: var(--paper);
  padding: 64px 0;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.cta-strip-row {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center;
}
.cta-strip h2 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(36px, 4.5vw, 60px); line-height: 1; letter-spacing: -0.035em;
  margin: 0; color: var(--paper);
}
.cta-strip h2 .out { -webkit-text-stroke: 1.5px var(--paper); -webkit-text-fill-color: transparent; font-style: normal; }
.cta-strip h2 .out { -webkit-text-stroke: 1.5px var(--paper); -webkit-text-fill-color: transparent; font-style: italic; }
.cta-strip-meta { font-size: 15px; line-height: 1.55; color: oklch(0.95 0.04 28); margin-top: 16px; max-width: 50ch; }
.cta-strip .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.cta-strip .btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cta-strip-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta-strip-phone {
  font-family: var(--display);
  font-size: 52px; line-height: 1; letter-spacing: -0.035em; color: var(--paper); font-weight: 500;
}
@media (max-width: 800px) {
  .cta-strip-row { grid-template-columns: 1fr; }
  .cta-strip-phone { font-size: 40px; }
}

/* ─── Footer ─────────────────────────────────── */
.footer {
  background: var(--ink);
  color: var(--bone);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--ink-3);
}
.footer-brand .brand-mark { font-size: 38px; color: var(--bone); }
.footer .brand-mark { white-space: normal; }
.footer-addr { color: var(--ink-5); font-size: 13.5px; line-height: 1.6; margin-top: 20px; }
.footer-addr strong { color: var(--bone); font-weight: 500; }
.footer h4 {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-5); margin: 0 0 20px;
  font-weight: 500;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: var(--bone); }
.footer-links a:hover { color: var(--red); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; color: var(--ink-5); text-transform: uppercase;
}
.footer-bottom .red-dot { color: var(--red); }
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
}

/* ─── Mobile drawer ─────────────────────────────── */
.drawer {
  position: fixed; inset: 0; background: var(--ink); color: var(--bone);
  z-index: 100; padding: 24px 24px 40px;
  transform: translateX(100%); transition: transform .3s ease;
  display: flex; flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 56px; }
.drawer-close { background: transparent; border: 1px solid var(--bone); color: var(--bone); padding: 8px 14px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.drawer-nav { display: flex; flex-direction: column; gap: 24px; flex: 1; }
.drawer-nav a { font-family: var(--display); font-size: 36px; letter-spacing: -0.035em; color: var(--bone); font-weight: 500; }
.drawer-foot { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--ink-5); text-transform: uppercase; }
.drawer-foot .num { display: block; font-family: var(--display); font-size: 26px; color: var(--red); text-transform: none; letter-spacing: -0.03em; margin-top: 4px; font-weight: 600; }

/* ─── Product detail ─────────────────────────────── */
.breadcrumb {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-4); padding: 24px 0;
}
.breadcrumb a:hover { color: var(--red); }
.breadcrumb .sep { margin: 0 10px; color: var(--ink-5); }
.breadcrumb .here { color: var(--ink); }

.pd {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px;
  padding: 56px 0 80px;
  border-bottom: 1px solid var(--ink);
}
.pd-gallery { display: flex; flex-direction: column; gap: 16px; }
.pd-main {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--ink); background: var(--paper);
  position: relative; overflow: hidden;
  border-radius: var(--r-lg);
}
.pd-main img { width: 100%; height: 100%; object-fit: contain; padding: 8%; mix-blend-mode: multiply; }
.pd-main .badge {
  position: absolute; top: 20px; left: 20px;
  background: var(--red); color: var(--paper); padding: 7px 14px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: 100px;
}
.pd-main .sku-stamp {
  position: absolute; bottom: 20px; right: 20px;
  font-family: var(--mono); font-size: 11px; color: var(--ink-4);
}
.pd-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pd-thumb {
  aspect-ratio: 1 / 1; border: 1px solid var(--ink-5); background: var(--paper);
  cursor: pointer; padding: 6%;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .15s;
  border-radius: var(--r-md);
}
.pd-thumb img { mix-blend-mode: multiply; max-width: 100%; max-height: 100%; }
.pd-thumb:hover, .pd-thumb.active { border-color: var(--red); border-width: 2px; padding: calc(6% - 1px); }

.pd-info .eyebrow { margin-bottom: 16px; }
.pd-info h1 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(38px, 4.2vw, 56px); line-height: 1.05; letter-spacing: -0.04em;
  margin: 0 0 20px;
}
.pd-info h1 .it { font-style: normal; color: var(--red); }
.pd-info h1 .it { font-style: italic; color: var(--red); }
.pd-blurb { font-size: 16px; line-height: 1.55; color: var(--ink-3); margin-bottom: 28px; max-width: 50ch; }
.pd-price-row {
  display: flex; align-items: baseline; gap: 16px;
  padding: 20px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  margin-bottom: 28px;
}
.pd-price-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-4); }
.pd-price { font-family: var(--display); font-size: 32px; color: var(--red); letter-spacing: -0.035em; font-weight: 500; word-break: break-word; }
.pd-price-original {
  font-family: var(--mono); font-size: 13px; color: var(--ink-5);
  text-decoration: line-through; text-decoration-thickness: 1px;
}
.pd-price-note { font-family: var(--mono); font-size: 11px; color: var(--ink-4); margin-left: auto; }

.pd-highlights {
  list-style: none; margin: 0 0 28px; padding: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.pd-highlights li {
  position: relative; padding-left: 18px;
  font-size: 14.5px; line-height: 1.5; color: var(--ink-3);
}
.pd-highlights li::before {
  content: ""; position: absolute; left: 0; top: 0.65em;
  width: 6px; height: 6px; background: var(--red); border-radius: 1px;
}

.pd-actions { display: flex; gap: 12px; margin-bottom: 32px; flex-wrap: wrap; }
.pd-actions .btn { padding: 16px 24px; font-size: 14px; }


.pd-quick {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--ink); background: var(--paper);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.pd-quick-cell { padding: 18px 20px; border-right: 1px solid var(--ink-5); border-bottom: 1px solid var(--ink-5); }
.pd-quick-cell:nth-child(2n) { border-right: 0; }
.pd-quick-cell:nth-last-child(-n+2) { border-bottom: 0; }
.pd-quick-cell .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-4); }
.pd-quick-cell .v { font-family: var(--display); font-size: 20px; letter-spacing: -0.028em; margin-top: 6px; font-weight: 500; }

.pd-tabs {
  display: flex; gap: 8px; margin-top: 56px;
  border-bottom: 1px solid var(--bone-3);
  padding-bottom: 0;
}
.pd-tab {
  padding: 14px 22px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  background: transparent; border: 1px solid transparent;
  color: var(--ink-4); cursor: pointer;
  border-radius: 100px 100px 0 0;
  position: relative;
}
.pd-tab.active { color: var(--ink); background: var(--paper); border-color: var(--bone-3); border-bottom-color: var(--paper); margin-bottom: -1px; }
.pd-tab.active::after {
  content: ""; position: absolute; left: 22px; right: 22px; top: 8px; height: 2px; background: var(--red); border-radius: 2px;
}
.pd-panel { padding: 40px 0; display: none; }
.pd-panel.active { display: block; }

.specs-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px;
}
.spec-row {
  display: grid; grid-template-columns: 1fr 1.2fr;
  padding: 16px 0; border-bottom: 1px solid var(--bone-3);
  align-items: baseline;
}
.spec-row .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-4); }
.spec-row .v { font-size: 14.5px; color: var(--ink); }

.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  padding: 24px; border: 1px solid var(--bone-3); background: var(--paper);
  border-radius: var(--r-md);
}
.feature .num { font-family: var(--mono); font-size: 11px; color: var(--red); letter-spacing: 0.14em; }
.feature h4 { font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.1; letter-spacing: -0.01em; margin: 8px 0 10px; }
.feature p { font-size: 13.5px; color: var(--ink-3); line-height: 1.55; margin: 0; }

@media (max-width: 900px) {
  .pd { grid-template-columns: 1fr; gap: 32px; }
  .specs-grid, .feature-list { grid-template-columns: 1fr; }
  .pd-price-row { flex-wrap: wrap; row-gap: 6px; }
  .pd-price-note { margin-left: 0; flex-basis: 100%; }
  .pd-tabs { overflow-x: auto; gap: 4px; }
  .pd-tab { white-space: nowrap; padding: 12px 16px; }
}
@media (max-width: 540px) {
  .pd-price { font-size: 26px; }
  .pd-quick { grid-template-columns: 1fr; }
  .pd-quick-cell { border-right: 0; }
}

/* ─── Contact page ─────────────────────────────── */
.contact-hero {
  padding: 80px 0 48px;
  border-bottom: 1px solid var(--ink);
}
.contact-hero h1 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(56px, 8vw, 116px); line-height: 1.02; letter-spacing: -0.04em;
  margin: 24px 0 0;
  text-wrap: balance;
}
.contact-hero h1 .it { font-style: normal; color: var(--red); }
.contact-hero h1 .it { font-style: italic; color: var(--red); }

.contact-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  border-bottom: 1px solid var(--ink);
}
.contact-info {
  padding: 64px 64px 64px 0;
  border-right: 1px solid var(--ink);
}
.contact-info-block { padding: 28px 0; border-bottom: 1px solid var(--bone-3); }
.contact-info-block:last-child { border-bottom: 0; }
.contact-info-block .k {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; color: var(--red);
  text-transform: uppercase; margin-bottom: 10px;
}
.contact-info-block .v {
  font-family: var(--display); font-size: 28px; line-height: 1.2; letter-spacing: -0.03em; color: var(--ink); font-weight: 500;
}
.contact-info-block .v.small { font-size: 22px; }
.contact-info-block .v a:hover { color: var(--red); }

.contact-form { padding: 64px 0 64px 64px; }
.contact-product-pill {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 24px;
  padding: 8px 14px;
  background: var(--bone-3);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}
.contact-product-pill .k { text-transform: uppercase; color: var(--ink-5); }
.contact-product-pill .v { color: var(--ink); }
.contact-product-pill .x {
  margin-left: 4px; padding: 0 6px;
  text-decoration: none; color: var(--ink-5);
  font-size: 14px; line-height: 1;
}
.contact-product-pill .x:hover { color: var(--red); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-4);
}
.field input, .field textarea, .field select {
  font: inherit; font-family: var(--sans); font-size: 15px;
  background: transparent; border: 0; border-bottom: 1px solid var(--ink);
  padding: 10px 0; color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--red); }
.field textarea { resize: vertical; min-height: 120px; }
.field-full { grid-column: span 2; }
.form-submit {
  width: 100%; margin-top: 24px;
  padding: 20px; background: var(--ink); color: var(--bone); border: 0;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  cursor: pointer; transition: background .15s;
  border-radius: 100px;
}
.form-submit:hover { background: var(--red); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { padding: 36px 0; border-right: 0; border-bottom: 1px solid var(--ink); }
  .contact-form { padding: 36px 0; }
}

/* Map placeholder */
.map-block {
  margin-left: 3%;
  margin-right: 3%;
  margin-bottom: 2%;
  aspect-ratio: 21 / 9;
  /* background:
    linear-gradient(135deg, transparent 49.5%, var(--ink) 49.5% 50.5%, transparent 50.5%) 0 0/40px 40px,
    linear-gradient(45deg, transparent 49.5%, var(--ink-5) 49.5% 50.5%, transparent 50.5%) 0 0/40px 40px,
    var(--bone-2); */
  position: relative;
  border-bottom: 1px solid var(--ink);
  border-top: 1px solid var(--ink);
}
.map-pin {
  position: absolute; top: 50%; left: 50%;
  width: 36px; height: 36px; border-radius: 50% 50% 50% 0; background: var(--red);
  transform: translate(-50%, -100%) rotate(-45deg);
  box-shadow: 0 10px 22px oklch(0.62 0.19 28 / 0.35);
}
.map-pin::after { content: ""; position: absolute; top: 9px; left: 9px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); }
.map-label {
  position: absolute; top: calc(50% + 16px); left: 50%; transform: translateX(-50%);
  background: var(--ink); color: var(--bone);
  padding: 10px 18px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  white-space: nowrap;
  border-radius: 100px;
}

/* Search bar */
.searchbar {
  display: flex; align-items: center; gap: 16px;
  border: 1px solid var(--ink); background: var(--paper);
  padding: 14px 20px;
  margin-bottom: 32px;
  border-radius: 100px;
}
.searchbar input {
  flex: 1; border: 0; background: transparent; font: inherit; font-size: 15px; color: var(--ink); outline: none;
}
.searchbar input::placeholder { color: var(--ink-4); }
.searchbar .ico { color: var(--ink-3); }
.searchbar .hint { font-family: var(--mono); font-size: 10px; color: var(--ink-4); letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 8px; border: 1px solid var(--bone-3); border-radius: 6px; }

/* Selection */
::selection { background: var(--red); color: var(--paper); }
