:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f8;
  --border: #e7e7ea;
  --text: #16181d;
  --text-muted: #6b7280;
  --accent: #1656d9;
  --accent-hover: #1148b8;
  --radius: 10px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Announcement bar ---- */
.announce {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 12px;
  color: var(--text-muted);
}

/* ---- Header ---- */
header.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
}

.brand img { height: 34px; width: auto; display: block; }

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
}

nav.main-nav a:hover { color: var(--accent); }

.header-icons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-icons svg { width: 19px; height: 19px; stroke: var(--text); }

.cart-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
}

/* ---- Hero ---- */
.hero {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 64px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
}

.hero h1 {
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}

.hero .sub {
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 14px;
}

.hero p.desc {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 46ch;
  margin: 0 0 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 13px 24px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline { background: #fff; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--text); }
.btn-row { display: flex; gap: 12px; }

.hero-visual {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.hero-visual img { max-width: 100%; max-height: 380px; object-fit: contain; }

/* ---- Section ---- */
.section { padding: 64px 0; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
}
.section-head h2 { font-size: 26px; margin: 0; letter-spacing: -0.01em; }
.section-head a.viewall { font-size: 14px; font-weight: 600; color: var(--accent); }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-item { text-align: center; padding: 0 12px; }
.trust-item .n { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.trust-item .d { font-size: 13px; color: var(--text-muted); }

/* ---- Product grid ---- */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.card:hover { box-shadow: 0 6px 20px rgba(20,20,30,0.06); border-color: #d9dbe0; }

.card .thumb {
  background: var(--bg-soft);
  aspect-ratio: 4/3.3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.card .thumb img { max-height: 100%; max-width: 100%; object-fit: contain; }

.card .body { padding: 16px 16px 18px; }
.card .name { font-weight: 600; font-size: 15px; margin: 0 0 6px; }
.card .price { font-size: 14.5px; color: var(--text); margin: 0 0 14px; }
.card .price .from { color: var(--text-muted); font-weight: 500; }
.card .btn { width: 100%; }

/* ---- Product detail ---- */
.pdp {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  padding: 56px 0 72px;
}

.pdp-gallery {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  min-height: 460px;
}
.pdp-gallery img { max-width: 100%; max-height: 420px; object-fit: contain; }

.crumb { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; }
.crumb a:hover { color: var(--accent); }

.pdp h1 { font-size: 30px; margin: 0 0 14px; letter-spacing: -0.01em; }

.price-block {
  border: 1px dashed var(--border);
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 22px;
  min-height: 58px;
  display: flex;
  align-items: center;
}
.price-block .placeholder { color: var(--text-muted); font-size: 14.5px; }
.price-block .value { font-size: 26px; font-weight: 700; display: none; }
.price-block.selected { border-style: solid; background: #fff; }
.price-block.selected .placeholder { display: none; }
.price-block.selected .value { display: block; }

.field-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

select.variant-select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  background: #fff;
  margin-bottom: 24px;
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="%236b7280" stroke-width="2"><path d="M6 9l6 6 6-6"/></svg>');
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.cart-row { display: flex; gap: 12px; margin-bottom: 30px; }
.qty {
  width: 68px;
  border: 1px solid var(--border);
  border-radius: 8px;
  text-align: center;
  font-size: 15px;
  padding: 0 10px;
}
.cart-row .btn-primary { flex: 1; opacity: 0.5; pointer-events: none; }
.cart-row .btn-primary.active { opacity: 1; pointer-events: auto; }

.highlights {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.highlights li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}
.highlights li svg { flex: none; width: 17px; height: 17px; stroke: var(--accent); margin-top: 1px; }

.tabs { border-top: 1px solid var(--border); padding-top: 20px; }
.tabs .tabbar { display: flex; gap: 26px; margin-bottom: 16px; }
.tabs .tabbar span { font-size: 14px; font-weight: 700; padding-bottom: 10px; }
.tabs .tabbar span.active { color: var(--accent); border-bottom: 2px solid var(--accent); }
.tabs .tabbar span:not(.active) { color: var(--text-muted); }
.tabs p { font-size: 14.5px; color: var(--text-muted); line-height: 1.65; max-width: 62ch; }

footer.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 48px 0 28px;
  margin-top: 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-grid h4 { font-size: 13px; margin: 0 0 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-grid li { font-size: 13.5px; color: var(--text-muted); }
.footer-grid li a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  font-size: 12.5px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
}

.note-banner {
  background: #fff7e6;
  border: 1px solid #f3d98b;
  color: #6b4e00;
  font-size: 13px;
  text-align: center;
  padding: 9px 12px;
}

@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .hero .wrap { grid-template-columns: 1fr; }
  .pdp { grid-template-columns: 1fr; }
  nav.main-nav { display: none; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
