:root {
  --cobalt: #2440ff;
  --cobalt-dark: #1228c4;
  --lime: #e8ff59;
  --ink: #111318;
  --paper: #f6f5f1;
  --sand: #ece9e1;
  --muted: #5d6068;
  --line: #dcd9d0;
  --white: #ffffff;
  --sale: #e5383b;
  --radius: 18px;
  --max: 1180px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
img { height: auto; background: var(--sand); }
a { color: inherit; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

h1, h2, h3 { line-height: 1.04; margin: 0 0 .5em; letter-spacing: -0.03em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.hl { color: var(--cobalt); }

.eyebrow { font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--cobalt); margin-bottom: .8em; }
.lead { font-size: 1.14rem; color: var(--muted); max-width: 31em; }
.pill { display: inline-block; padding: .35em 1em; border-radius: 999px; background: var(--lime); font-weight: 800; font-size: .85rem; margin-bottom: 20px; }

/* Announcement */
.announce { margin: 0; background: var(--ink); color: var(--white); text-align: center; font-weight: 600; font-size: .86rem; padding: 8px 16px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: .85em 1.6em;
  border-radius: 999px;
  background: var(--cobalt);
  color: var(--white);
  font: inherit; font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--cobalt);
  cursor: pointer;
  transition: background .15s, transform .15s, color .15s;
  white-space: nowrap;
}
.btn:hover { background: var(--cobalt-dark); border-color: var(--cobalt-dark); transform: translateY(-1px); }
.btn:focus-visible, .filter:focus-visible, .add:focus-visible, .bag:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn-lime { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #f1ff8f; border-color: #f1ff8f; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(246,245,241,.95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; height: 68px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { background: none; }
.wordmark { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.05em; }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--muted); }
.nav a:hover { color: var(--cobalt); }
.bag { position: relative; display: grid; place-items: center; width: 44px; height: 44px; }
.bag svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.800; stroke-linejoin: round; stroke-linecap: round; }
.bag-count { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--ink); color: var(--white); font-size: .72rem; font-weight: 800; display: grid; place-items: center; }
.bag-count.has-items { background: var(--cobalt); }

/* Hero */
.hero { padding: 56px 0 72px; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-photo { position: relative; margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 28px; }
.sticker {
  position: absolute; left: -18px; bottom: -18px;
  width: 124px; height: 124px; border-radius: 50%;
  background: var(--lime); color: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem; line-height: 1.1;
  transform: rotate(-10deg);
  box-shadow: 0 10px 24px rgba(17,19,24,.18);
}
.sticker strong { font-size: 2rem; font-weight: 800; letter-spacing: -0.04em; }

/* Sections */
.section { padding: 84px 0; }
.section-alt { background: var(--sand); }

/* Categories */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.cat { position: relative; display: block; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--white); }
.cat img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .4s; }
.cat:hover img { transform: scale(1.05); }
.cat::after { content: ""; position: absolute; inset: 40% 0 0 0; background: linear-gradient(transparent, rgba(17,19,24,.78)); }
.cat-label { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; display: flex; flex-direction: column; }
.cat-label strong { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; }
.cat-label small { font-size: .9rem; opacity: .9; }

/* Shop */
.shop-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.shop-head h2 { margin-bottom: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { font: inherit; font-weight: 600; font-size: .9rem; padding: .5em 1.1em; border-radius: 999px; background: var(--white); color: var(--ink); border: 1.500px solid var(--line); cursor: pointer; }
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }

.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 34px; }
.product { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; }
.product-art { position: relative; overflow: hidden; }
.product-art img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .4s; }
.product:hover .product-art img { transform: scale(1.04); }
.tag { position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--sale); color: var(--white); font-size: .8rem; font-weight: 800; padding: .25em .7em; border-radius: 999px; }
.product-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.product-cat { margin: 0 0 .2em; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.prices { margin: 4px 0 14px; }
.now { font-size: 1.3rem; font-weight: 800; color: var(--sale); letter-spacing: -0.02em; }
.was { margin-left: 6px; color: var(--muted); text-decoration: line-through; font-size: .95rem; }
.add { margin-top: auto; font: inherit; font-weight: 700; font-size: .92rem; padding: .65em 1em; border-radius: 999px; background: var(--ink); color: var(--white); border: 2px solid var(--ink); cursor: pointer; transition: background .15s; }
.add:hover { background: var(--cobalt); border-color: var(--cobalt); }

/* Perks */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.perk { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); padding: 24px 22px; }
.perk strong { font-size: 1.1rem; letter-spacing: -0.01em; }
.perk span:last-child { color: var(--muted); font-size: .95rem; }
.perk-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; margin-bottom: 14px; }
.perk-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 1.800; stroke-linecap: round; stroke-linejoin: round; }

/* Newsletter */
.news { background: var(--cobalt); color: var(--white); }
.news .eyebrow { color: var(--lime); }
.news .lead { color: rgba(255,255,255,.88); margin: 0; }
.news-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.news-form { display: flex; flex-wrap: wrap; gap: 10px; }
.news-form input { flex: 1; min-width: 200px; font: inherit; padding: .85em 1.2em; border-radius: 999px; border: 2px solid var(--white); background: var(--white); color: var(--ink); }
.news-form input:focus { outline: 3px solid var(--lime); outline-offset: 2px; }
.news-done { flex-basis: 100%; margin: 4px 0 0; font-weight: 600; color: var(--lime); }

/* Contact */
.contact { text-align: center; }
.contact .lead { margin: 0 auto 1.5em; }
.contact-inner { display: flex; flex-direction: column; align-items: center; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); font-size: .9rem; }
.footer-inner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.footer-inner img { background: none; }
.footer-inner p { margin: 0; }

/* Responsive */
@media (max-width: 1020px) {
  .products { grid-template-columns: repeat(3, 1fr); }
  .perks { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  .hero-inner, .news-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 40px 0 60px; }
  .section { padding: 62px 0; }
  .nav { display: none; }
  .bag { margin-left: auto; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .sticker { left: 12px; bottom: -22px; width: 104px; height: 104px; }
  .sticker strong { font-size: 1.7rem; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-body { padding: 12px 12px 14px; }
  .now { font-size: 1.1rem; }
  .was { font-size: .85rem; }
  .add { font-size: .84rem; padding: .55em .6em; }
  .cats { gap: 12px; }
  .cat-label strong { font-size: 1.15rem; }
  .cat-label small { display: none; }
  .perks { grid-template-columns: 1fr; }
  .announce { font-size: .78rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
