:root {
  --ink: #212121;
  --muted: #6d6d6d;
  --line: #ececec;
  --soft: #f4f4f4;
  --paper: #f7f5f2;
  --white: #fff;
  --dark: #171717;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--white); color: var(--ink); font-family: "Public Sans", sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.pill {
  position: absolute; z-index: 20; left: 50%; top: 18px; transform: translateX(-50%);
  width: min(1180px, calc(100% - 28px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 10px 8px 18px; border-radius: 18px;
  background: rgba(247, 245, 242, .94);
  box-shadow: 0 8px 30px rgba(40, 30, 16, .08);
}
.pill.is-stuck { position: fixed; background: rgba(247, 245, 242, .96); backdrop-filter: blur(12px); }
.pill.solid { position: sticky; top: 12px; transform: none; left: auto; margin: 12px auto 0; }
.logo { height: 32px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav > a, .drop > button {
  background: none; border: 0; color: var(--ink); cursor: pointer;
  padding: 10px 12px; border-radius: 999px; font-size: 15px; font-weight: 500;
}
.nav > a:hover, .drop > button:hover { background: rgba(0,0,0,.05); }
.drop { position: relative; }
.menu {
  display: none; position: absolute; top: calc(100% + 8px); left: 0; min-width: 280px;
  background: #fff; border-radius: 16px; padding: 8px;
  box-shadow: 0 18px 50px rgba(0,0,0,.12); border: 1px solid var(--line); z-index: 30;
}
.drop:hover .menu, .drop:focus-within .menu { display: grid; }
.menu a { padding: 10px 12px; border-radius: 10px; font-size: 14px; }
.menu a:hover { background: var(--paper); }
.cart {
  width: 42px; height: 42px; border-radius: 50%; background: #fff;
  display: grid; place-items: center; position: relative; border: 1px solid rgba(0,0,0,.04);
}
.cart b {
  position: absolute; top: 6px; right: 4px; min-width: 16px; height: 16px; border-radius: 99px;
  background: var(--ink); color: #fff; font-size: 10px; display: grid; place-items: center;
}
.lang { font-size: 12px; font-weight: 600; padding: 8px 10px; color: var(--muted); }
.hero {
  min-height: 72vh; position: relative; color: #fff;
  display: flex; align-items: center;
  background: #cbb9a4 center/cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(40,28,18,.28), rgba(40,28,18,.05) 55%);
}
.hero-copy { position: relative; z-index: 1; margin-left: max(6vw, 48px); width: min(560px, calc(100% - 80px)); }
h1 { margin: 0 0 16px; font-size: clamp(40px, 4.2vw, 64px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; }
.hero p { margin: 0 0 26px; max-width: 420px; font-size: 16px; line-height: 1.45; color: rgba(255,255,255,.92); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; padding: 12px 18px; font-weight: 600; font-size: 14px; border: 0; cursor: pointer;
}
.btn.light { background: #fff; color: var(--ink); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.ghost { background: #fff; color: var(--ink); border: 1px solid #e6e6e6; }
.sec { padding: 72px 0 24px; }
.sec-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; gap: 12px; }
h2 { margin: 0; font-size: 36px; font-weight: 600; letter-spacing: -0.03em; }
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat {
  border: 1px solid var(--line); border-radius: 18px; padding: 22px 20px; background: var(--paper);
  min-height: 120px; display: flex; flex-direction: column; justify-content: space-between;
}
.cat h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; }
.cat span { color: var(--muted); font-size: 13px; }
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product .shot {
  height: 240px; border-radius: 18px; background: var(--soft) center/contain no-repeat; position: relative;
}
.product h3 { margin: 14px 0 4px; font-size: 16px; font-weight: 500; }
.price { font-size: 14px; color: #3a3a3a; }
.page { padding: 110px 0 60px; }
.page h1 { font-size: 36px; }
.flash { background: #eef8ee; border: 1px solid #cde8cd; padding: 12px 16px; border-radius: 12px; margin-bottom: 18px; }
.grid-pdp { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.pdp-shot { min-height: 420px; border-radius: 22px; background: var(--soft) center/contain no-repeat; }
.muted { color: var(--muted); }
.qty { width: 80px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.checkout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; margin-top: 28px; }
fieldset { border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin: 0 0 16px; }
legend { padding: 0 8px; font-weight: 600; }
label { display: block; font-size: 13px; margin: 10px 0 4px; }
input[type=text], input[type=email], input[type=tel], textarea, select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff;
}
.radio { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; }
footer { background: var(--dark); color: #eee; padding: 48px 0 24px; margin-top: 48px; }
.foot-links { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; font-size: 14px; }
footer h4 { margin: 0 0 10px; font-size: 13px; font-weight: 500; color: #cfcfcf; }
footer a { display: block; margin: 7px 0; color: #eee; }
.copy { margin-top: 28px; color: #aaa; font-size: 13px; }
.pager { display: flex; gap: 8px; margin: 28px 0; }
.pager a, .pager span { padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); }
.desc { line-height: 1.55; color: #333; }
@media (max-width: 980px) {
  .nav { display: none; }
  .products, .cats, .grid-pdp, .checkout, .foot-links { grid-template-columns: 1fr; }
  .hero-copy { margin: 18vh 24px 40px; }
  .hero { min-height: 60vh; }
}
