:root {
  --ink: #141414;
  --paper: #ffffff;
  --white: #ffffff;
  --panel: #f7f7f7;
  --yellow: #ffcc19;
  --yellow-soft: #fff4cc;
  --muted: #6b6b6b;
  --line: rgba(0, 0, 0, .12);
  --shadow: 0 8px 24px rgba(0, 0, 0, .08);
  --shadow-lift: 0 14px 34px rgba(0, 0, 0, .12);
  --font: "Poppins", system-ui, -apple-system, Segoe UI, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--white); }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  background: var(--white);
  overflow-x: hidden;
}
body.mobile-menu-open { overflow: hidden; }

.cursor-grid { display: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr minmax(280px, 430px);
  gap: 22px;
  align-items: center;
  padding: 16px clamp(18px, 3vw, 42px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px) saturate(1.2);
}

.brand,
.nav-strip a,
.nav-strip button,
.footer a,
.floating-whatsapp,
.button { color: inherit; text-decoration: none; }
.brand { display: inline-flex; align-items: center; gap: 14px; }
.mobile-menu-toggle { display: none; }

.brand-logo {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: contain;
  flex: 0 0 auto;
}
.brand strong,
.brand small { display: block; }
.brand strong { font-weight: 800; letter-spacing: -.02em; font-size: 20px; }
.brand small { color: var(--muted); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }

.nav-strip { position: relative; z-index: 3; display: flex; gap: clamp(18px, 2.8vw, 34px); justify-content: center; align-items: center; flex-wrap: wrap; }
.nav-strip a,
.nav-strip button {
  padding: 10px 0;
  border: 0;
  background: transparent;
  font-family: var(--font);
  font-size: clamp(14px, .92vw, 16px);
  font-weight: 500;
  letter-spacing: 0;
  color: #4a4a4a;
  cursor: pointer;
  transition: color .18s ease;
}
.nav-strip a:hover,
.nav-strip button:hover,
.nav-menu:focus-within > .nav-link { color: var(--ink); }
.nav-menu { position: static; }
.mega-menu {
  position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  z-index: 20;
  width: min(480px, calc(100vw - 64px));
  padding-top: 25px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}
.nav-menu:hover .mega-menu,
.nav-menu:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.mega-menu-inner {
  padding: 28px 0;
  overflow: hidden;
  border-radius: 0 0 22px 22px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 24px 58px rgba(0, 0, 0, .16);
}
.mega-list {
  display: grid;
  gap: 0;
}
.nav-strip .mega-category {
  display: block;
  min-height: 0;
  padding: 10px 52px;
  border-radius: 0;
  color: #333333;
  font-family: var(--font);
  font-size: clamp(16px, 1.2vw, 20px);
  font-weight: 400;
  line-height: 1.35;
}
.nav-strip .mega-category:hover,
.nav-strip .mega-category:focus-visible {
  background: transparent;
  color: var(--ink);
  outline: 0;
}
.mega-category span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mega-empty { padding: 12px 58px; color: var(--muted); font-size: 18px; }

.mobile-menu,
.mobile-menu-backdrop { display: none; }

.search-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: 100%;
  min-width: 0;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .05);
}
.search-box input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  padding: 10px 16px;
  font: 500 14px/1 var(--font);
  color: var(--ink);
  outline: none;
}
.search-box button {
  min-width: 88px;
  border: 0;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  padding: 11px 20px;
  font: 700 13px/1 var(--font);
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.search-box button:hover { background: #f2bd00; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .72fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(48px, 7vw, 96px) clamp(18px, 5vw, 72px) 32px;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font: 700 12px/1 var(--font);
  text-transform: uppercase;
  letter-spacing: .14em;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-weight: 800; letter-spacing: -.03em; line-height: 1.02; }
h1 {
  max-width: 940px;
  margin-bottom: 22px;
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 900;
}
h2 { font-size: clamp(30px, 4vw, 48px); }
.hero-lede,
.section-heading p {
  color: var(--muted);
  font: 400 clamp(15px, 1.6vw, 18px)/1.6 var(--font);
}
.hero-lede { max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font: 700 14px/1 var(--font);
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button-primary { background: var(--yellow); color: var(--ink); }
.button-primary:hover { background: #f2bd00; transform: translateY(-2px); box-shadow: var(--shadow); }
.button-ghost { background: var(--white); color: var(--ink); border-color: var(--ink); }
.button-ghost:hover { background: var(--ink); color: var(--white); }

.section-shell { margin: clamp(34px, 6vw, 72px) clamp(18px, 5vw, 72px); }
.section-heading { max-width: 820px; margin-bottom: 24px; }
.section-heading h2 { margin-bottom: 6px; }

.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-height: 130px;
  justify-content: center;
  padding: 18px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: transparent; }
.category-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--yellow-soft);
  color: var(--ink);
  font-size: 26px;
}
.category-icon-image {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}
.category-card:hover .category-icon { background: var(--yellow); }
.category-card strong { font-weight: 700; font-size: 15px; letter-spacing: -.01em; }
.category-card span { color: var(--muted); font-size: 11px; }

.catalog-bar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 22px;
}
.catalog-bar h2 { margin-bottom: 0; }
.catalog-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}
.view-toggle {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
}
.view-toggle a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.view-toggle a:hover { color: var(--ink); }
.view-toggle a.active {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .14);
}
.view-icon {
  position: relative;
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
}
.view-icon.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.view-icon.grid::before,
.view-icon.grid::after,
.view-icon.grid span::before,
.view-icon.grid span::after {
  content: "";
  display: block;
  border: 1.5px solid currentColor;
  border-radius: 2px;
}
.view-icon.grid span { display: contents; }
.view-icon.list::before,
.view-icon.list::after,
.view-icon.list span {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}
.view-icon.list::before { top: 1px; }
.view-icon.list span { top: 6px; }
.view-icon.list::after { bottom: 1px; }
.filter-stack { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip {
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  padding: 9px 16px;
  font: 600 13px/1 var(--font);
  color: var(--ink);
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.filter-chip:hover { border-color: var(--ink); }
.filter-chip.active { background: var(--ink); color: var(--white); border-color: var(--ink); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(242px, 1fr)); gap: 18px; }
.product-list { display: grid; gap: 12px; }
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  transition: transform .18s ease, box-shadow .18s ease;
  overflow: hidden;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.product-visual {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--card-bg, var(--panel));
  color: inherit;
  text-decoration: none;
}
.product-visual svg { width: 70%; max-height: 130px; }
.product-visual img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 0; }
.product-body { position: relative; z-index: 1; padding: 15px; display: flex; flex-direction: column; flex: 1; background: var(--white); }
.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.product-card h3 {
  display: -webkit-box;
  min-height: 45px;
  margin-bottom: 8px;
  overflow: hidden;
  font: 700 16px/1.35 var(--font);
  letter-spacing: -.01em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.product-card h3 a { color: inherit; text-decoration: none; }
.product-card h3 a:hover { color: #a37a00; }
.product-card p {
  display: -webkit-box;
  min-height: 38px;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.price-row { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 13px; }
.price-stack { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.price-original { color: var(--muted); font-size: 12px; font-weight: 700; line-height: 1; text-decoration: line-through; }
.price { font: 800 19px/1 var(--font); color: var(--ink); }
.stock {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--yellow-soft);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.stock.preorder { background: var(--yellow); }
.stock.out { background: #ececec; color: var(--muted); }
.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
}
.wa-link {
  flex: 1 1 100%;
  text-align: center;
  border: 0;
  border-radius: 11px;
  background: var(--yellow);
  color: var(--ink);
  padding: 11px 12px;
  font: 700 12px/1 var(--font);
  text-decoration: none;
  transition: background .18s ease;
}
.wa-link:hover { background: #f2bd00; }
.market-link {
  flex: 1 1 96px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font: 700 11px/1 var(--font);
  text-align: center;
  text-decoration: none;
  transition: border-color .18s ease, color .18s ease, transform .18s ease;
}
.market-link:hover { border-color: var(--ink); transform: translateY(-1px); }
.tokopedia-link { color: #16885b; }
.shopee-link { color: #d94d1c; }
.product-card-list {
  display: grid;
  grid-template-columns: minmax(110px, 148px) minmax(0, 1fr);
  align-items: stretch;
  min-height: 148px;
}
.product-card-list:hover { transform: translateY(-2px); }
.product-card-list .product-visual {
  aspect-ratio: auto;
  height: auto;
  min-height: 148px;
  border-right: 1px solid var(--line);
  border-bottom: 0;
}
.product-card-list .product-visual svg {
  width: 74%;
  max-height: 88px;
}
.product-card-list .product-visual img { padding: 0; }
.product-card-list .product-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, auto);
  gap: 16px;
  align-items: center;
  padding: 16px;
}
.product-copy { min-width: 0; }
.product-commerce { min-width: 0; }
.product-card-list .product-meta { max-width: 320px; }
.product-card-list h3 {
  min-height: 0;
  margin-bottom: 6px;
  font-size: 17px;
  -webkit-line-clamp: 2;
}
.product-card-list p {
  min-height: 0;
  max-width: 56ch;
}
.product-card-list .price-row {
  align-items: flex-end;
  padding-top: 0;
}
.product-card-list .price-stack { align-items: flex-start; }
.product-card-list .product-actions {
  justify-content: flex-end;
  margin-top: 10px;
}
.product-card-list .wa-link {
  flex: 0 0 100%;
  min-width: 170px;
}
.product-card-list .market-link {
  flex: 1 1 80px;
  min-width: 80px;
}

.empty-state { color: var(--muted); font-size: 15px; }

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 32px clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: var(--white);
}
.footer strong { font-weight: 800; font-size: 18px; }
.footer span { color: rgba(255, 255, 255, .7); font-size: 13px; }
.footer address { color: rgba(255, 255, 255, .72); font-size: 13px; font-style: normal; max-width: 360px; }
.footer address p { margin: 0; }
.footer address a { color: var(--yellow); }
.footer a { color: var(--yellow); font-weight: 600; }

.floating-whatsapp {
  position: fixed;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px 18px 10px 10px;
  border-radius: 999px;
  background: #25d366;
  color: #ffffff;
  box-shadow: var(--shadow-lift);
  font: 700 13px/1 var(--font);
  transition: transform .18s ease, box-shadow .18s ease;
}
.floating-whatsapp span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
  font-weight: 800;
}
.floating-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0, 0, 0, .2); }
.floating-whatsapp:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }

.simple-hero {
  padding-bottom: 16px;
}

.home-carousel {
  position: relative;
  margin: 0;
  background: var(--ink);
  overflow: hidden;
}
.home-carousel-track {
  position: relative;
  aspect-ratio: 16 / 5;
  min-height: 260px;
  max-height: 640px;
  background: var(--ink);
}
.home-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.015);
  transition: opacity .55s ease, visibility .55s ease, transform 1.1s ease;
}
.home-carousel-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 1;
}
.home-carousel-link {
  display: block;
  width: 100%;
  height: 100%;
}
.home-carousel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-carousel-control {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(38px, 4vw, 54px);
  height: clamp(38px, 4vw, 54px);
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .76);
  color: var(--ink);
  font: 800 clamp(24px, 3vw, 34px)/1 var(--font);
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .2);
  transition: background .18s ease, transform .18s ease;
}
.home-carousel-control:hover,
.home-carousel-control:focus-visible {
  background: var(--yellow);
  outline: 0;
  transform: translateY(-50%) scale(1.05);
}
.home-carousel-control.previous { left: clamp(14px, 3vw, 40px); }
.home-carousel-control.next { right: clamp(14px, 3vw, 40px); }
.home-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: clamp(14px, 2.4vw, 28px);
  z-index: 2;
  display: flex;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .45);
  backdrop-filter: blur(12px);
  transform: translateX(-50%);
}
.home-carousel-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  cursor: pointer;
  transition: width .18s ease, background .18s ease;
}
.home-carousel-dots button.active {
  width: 28px;
  background: var(--yellow);
}

.category-grid.compact { grid-template-columns: repeat(8, 1fr); }
.category-grid.compact .category-card { min-height: 118px; }

/* Promo listing page */
.promo-hero {
  margin-bottom: clamp(24px, 4vw, 42px);
  padding-bottom: 4px;
}
.promo-hero h1 {
  margin-bottom: 0;
  font-size: clamp(38px, 6vw, 74px);
}
.promo-groups {
  display: grid;
  gap: clamp(30px, 5vw, 56px);
  margin-top: 0;
}
.promo-group {
  display: grid;
  gap: 18px;
}
.promo-group-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--ink);
}
.promo-group-heading h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 46px);
}
.promo-group-heading span {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--yellow);
  font-size: 12px;
  font-weight: 800;
}

/* Detail page */
.detail-wrap { margin: clamp(20px, 4vw, 40px) clamp(18px, 5vw, 72px); }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--muted);
  font: 500 12px/1.4 var(--font);
}
.breadcrumb a { color: var(--ink); text-decoration: none; }
.breadcrumb a:hover { color: #a37a00; }

.detail-panel {
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid var(--line);
  border-top: 4px solid var(--yellow);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.detail-media,
.detail-info { min-width: 0; }
.detail-media { display: grid; gap: 12px; align-content: start; }
.detail-visual {
  display: grid;
  place-items: center;
  min-height: clamp(300px, 34vw, 440px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card-bg, var(--panel));
}
.detail-visual svg { width: min(74%, 460px); }
.detail-visual img { width: 100%; height: 100%; max-height: 440px; object-fit: contain; border-radius: inherit; }
.detail-thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 2px; }
.detail-thumb { width: 76px; height: 76px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); flex: 0 0 auto; cursor: pointer; }
.detail-thumb:hover,
.detail-thumb:focus-visible { border-color: var(--ink); outline: 0; }
.detail-thumb.active { border-color: var(--ink); border-width: 2px; }
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.detail-note { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }

.detail-info h1 { font-size: clamp(21px, 2.7vw, 32px); margin-bottom: 12px; }
.detail-price-stack { display: grid; gap: 5px; margin: 0 0 13px; }
.detail-price-original {
  color: var(--muted);
  font-size: clamp(14px, 1.4vw, 17px);
  font-weight: 700;
  line-height: 1;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: #8d8d8d;
}
.detail-price {
  margin: 0;
  font: 800 clamp(22px, 2.9vw, 34px)/1 var(--font);
  color: var(--ink);
}
.detail-brandline { margin: 0 0 16px; color: var(--muted); font-size: 12px; }
.detail-brandline strong { color: var(--ink); }
.detail-brandline a { color: #a37a00; text-decoration: none; font-weight: 600; }

.detail-meta {
  display: grid;
  gap: 0;
  margin: 0 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.detail-meta > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  padding: 9px 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.detail-meta > div:first-child { border-top: 0; }
.detail-meta dt { margin: 0; color: var(--muted); font-weight: 500; }
.detail-meta dd { margin: 0; font-weight: 600; }
.detail-meta dd a { color: #a37a00; text-decoration: none; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--yellow-soft);
  font-size: 10px;
  font-weight: 600;
}
.detail-desc { color: var(--muted); font-size: 12px; line-height: 1.55; margin: 0 0 16px; overflow-wrap: anywhere; }

.buy-box {
  display: grid;
  gap: 12px;
  margin-top: 2px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}
.buy-title {
  margin: 0 0 2px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
}
.buy-box .button { justify-content: center; width: 100%; }

.detail-section { margin-top: clamp(28px, 4vw, 44px); }
.block-title { font-size: clamp(20px, 2.4vw, 26px); margin-bottom: 16px; }
.block-title a { color: inherit; text-decoration: none; border-bottom: 3px solid var(--yellow); }
.block-title .muted { color: var(--muted); font-weight: 500; }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  font-size: 14px;
}
.spec-table th {
  text-align: left;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
}
.spec-table td { padding: 11px 16px; border-top: 1px solid var(--line); }
.spec-table tbody tr:nth-child(even) { background: var(--panel); }
.spec-table td:first-child { font-weight: 600; width: 45%; }
.spec-table td a { color: #a37a00; text-decoration: none; }

/* Category listing page */
.category-layout {
  display: grid;
  grid-template-columns: minmax(220px, 260px) 1fr;
  gap: 28px;
  align-items: start;
}
.category-sidebar { position: sticky; top: 96px; display: grid; gap: 18px; }
.sidebar-block {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}
.sidebar-title {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
}
.sidebar-nav { display: grid; gap: 4px; }
.sidebar-link {
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.sidebar-link:hover { background: var(--yellow-soft); }
.sidebar-link.active { background: var(--ink); color: var(--white); font-weight: 600; }
.sidebar-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.sort-select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: 500 14px/1 var(--font);
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
}
.category-main { min-width: 0; }
.category-main h1 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 0; }
.result-count { color: var(--muted); font-size: 13px; font-weight: 500; white-space: nowrap; }
.product-group { margin-bottom: 28px; }
.group-header {
  margin: 0 0 16px;
  padding: 12px 18px;
  border-left: 4px solid var(--yellow);
  border-radius: 12px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .01em;
}

[data-reveal] { opacity: 0; transform: translateY(24px); animation: reveal .7s cubic-bezier(.2,.8,.2,1) forwards; }
[data-reveal]:nth-child(2) { animation-delay: .1s; }
[data-reveal]:nth-child(3) { animation-delay: .2s; }
@keyframes reveal { to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 1fr; }
  .site-header > * { min-width: 0; }
  .nav-strip { justify-content: flex-start; }
  .site-header:has(.search-box) .mega-menu { top: calc(100% + 82px); }
  .hero,
  .simple-hero,
  .detail-panel,
  .category-layout { grid-template-columns: 1fr; }
  .category-sidebar { position: static; }
  .category-grid { grid-template-columns: repeat(4, 1fr); }
  .category-grid.compact { grid-template-columns: repeat(4, 1fr); }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(242px, 1fr)); }
}
@media (max-width: 680px) {
  h1 { font-size: clamp(34px, 11vw, 52px); }
  .site-header {
    grid-template-columns: 44px 1fr 44px;
    gap: 14px;
    padding: 14px clamp(18px, 5vw, 28px) 18px;
    border-radius: 0 0 22px 22px;
  }
  .mobile-menu-toggle {
    display: grid;
    place-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--ink);
  }
  .mobile-menu-toggle span:not(.sr-only) {
    display: block;
    width: 24px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
  }
  .brand {
    grid-column: 2;
    justify-self: center;
    gap: 0;
  }
  .brand-logo { width: 56px; height: 56px; }
  .brand span { display: none; }
  .nav-strip { display: none; }
  .search-box { grid-column: 1 / -1; }
  .search-box input { padding: 12px 14px; font-size: 16px; }
  .search-box button { min-width: 86px; padding: 12px 16px; font-size: 13px; }
  .hero { padding-top: 36px; }
  .home-carousel-track { aspect-ratio: 16 / 5; min-height: 0; }
  .home-carousel img { object-fit: contain; }
  .mega-menu { display: none; }
  .mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 39;
    display: block;
    background: rgba(0, 0, 0, .34);
    backdrop-filter: blur(3px);
  }
  .mobile-menu-backdrop[hidden] { display: none; }
  .mobile-menu {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 40;
    display: block;
    width: min(88vw, 380px);
    padding: 18px 20px 24px;
    overflow-y: auto;
    background: var(--white);
    box-shadow: 24px 0 60px rgba(0, 0, 0, .18);
  }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
  }
  .mobile-menu-bar strong {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0;
  }
  .mobile-menu-bar button {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: var(--panel);
    color: var(--ink);
    font-size: 25px;
    line-height: 1;
  }
  .mobile-menu-list {
    display: grid;
  }
  .mobile-menu-list a,
  .mobile-menu-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 48px;
    border-bottom: 1px solid rgba(0, 0, 0, .07);
    color: #3d3d3d;
    font-size: clamp(15px, 4vw, 18px);
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.25;
    text-decoration: none;
    list-style: none;
  }
  .mobile-menu-list summary::-webkit-details-marker { display: none; }
  .mobile-menu-list span { font-size: .72em; line-height: 1; }
  .mobile-menu-list details[open] summary span { transform: rotate(90deg); }
  .mobile-submenu {
    display: grid;
    padding: 6px 0 10px 14px;
  }
  .mobile-submenu a {
    min-height: 42px;
    font-size: clamp(14px, 3.7vw, 16px);
    color: var(--muted);
  }
  .home-carousel-control { width: 38px; height: 38px; font-size: 24px; }
  .promo-group-heading { align-items: flex-start; flex-direction: column; }
  .category-grid,
  .category-grid.compact { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(188px, 1fr)); }
  .catalog-bar { align-items: start; flex-direction: column; }
  .catalog-tools { align-items: flex-start; justify-content: flex-start; }
  .product-card-list {
    grid-template-columns: 92px minmax(0, 1fr);
    min-height: 0;
  }
  .product-card-list .product-visual { min-height: 124px; }
  .product-card-list .product-body {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }
  .product-card-list .product-actions { justify-content: flex-start; }
  .product-card-list .wa-link {
    flex-basis: 100%;
    min-width: 0;
  }
  .product-card-list .market-link {
    flex: 1 1 74px;
    min-width: 0;
  }
  .product-card-list h3 { font-size: 14px; }
  .product-card-list p { font-size: 12px; }
  .product-card-list .price { font-size: 16px; }
  .detail-visual { min-height: 280px; }
  .detail-meta > div { grid-template-columns: 110px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
