:root {
  --green: #2e8b3d;
  --green-dark: #1f6a2c;
  --green-soft: #e3f2e1;
  --pool: #0aa5c2;
  --pool-soft: #dff4f8;
  --sun: #ffcc33;
  --ink: #17251b;
  --muted: #56655a;
  --paper: #fbfbf7;
  --sand: #f1f0e8;
  --line: #dfe0d6;
  --white: #ffffff;
  --radius: 16px;
  --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: 78px; }

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; }

h1, h2, h3 { line-height: 1.08; margin: 0 0 .5em; letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); 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(--green); }

.eyebrow { font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: .8em; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 32em; }

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

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

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(251,251,247,.96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; height: 70px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { background: none; }
.wordmark { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; color: var(--green-dark); }
.wordmark b { color: var(--ink); font-weight: 800; }
.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(--green); }
.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(--green); }

/* Hero */
.hero { position: relative; min-height: 540px; display: flex; align-items: center; padding: 56px 0; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-inner { position: relative; }
.hero-card { background: rgba(255,255,255,.95); border-radius: 22px; padding: 36px 36px 38px; max-width: 580px; box-shadow: 0 24px 60px rgba(23,37,27,.25); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* 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(15,28,18,.82)); }
.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: .92; }

/* 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(--green); }
.filter.is-active { background: var(--green); border-color: var(--green); 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; border: 1px solid var(--line); }
.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(--sun); color: var(--ink); font-size: .74rem; font-weight: 800; padding: .25em .75em; 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(--green); }
.product-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.price { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; }
.add { font: inherit; font-weight: 700; font-size: .86rem; padding: .55em .95em; border-radius: 8px; background: var(--white); color: var(--green-dark); border: 2px solid var(--green); cursor: pointer; transition: background .15s, color .15s; }
.add:hover { background: var(--green); color: var(--white); }

/* Pools feature */
.pools { background: var(--pool-soft); }
.pools .eyebrow { color: #067a91; }
.pools-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.pool-art { position: relative; aspect-ratio: 4 / 3; border-radius: 50% / 46%; background: radial-gradient(circle at 35% 30%, #7fe0f0, #0aa5c2 62%, #078aa3); border: 14px solid var(--white); box-shadow: 0 20px 44px rgba(6,122,145,.28); overflow: hidden; }
.ripple { position: absolute; border: 3px solid rgba(255,255,255,.55); border-radius: 50%; }
.r1 { width: 46%; height: 20%; left: 14%; top: 22%; }
.r2 { width: 34%; height: 15%; right: 12%; top: 48%; }
.r3 { width: 26%; height: 12%; left: 28%; bottom: 14%; }
.ring { position: absolute; right: 20%; top: 16%; width: 22%; aspect-ratio: 1; border-radius: 50%; border: 16px solid var(--sun); box-shadow: 0 6px 12px rgba(0,0,0,.15); }
.chip-title { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #067a91; margin: 1.4em 0 .7em; }
.chips { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: .4em 1em; background: var(--white); border: 1.500px solid var(--pool); border-radius: 999px; font-weight: 700; }
.pools .btn { background: var(--pool); border-color: var(--pool); }
.pools .btn:hover { background: #067a91; border-color: #067a91; }

/* 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(--green-soft); display: grid; place-items: center; margin-bottom: 14px; }
.perk-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--green-dark); stroke-width: 1.800; stroke-linecap: round; stroke-linejoin: round; }

/* Contact */
.contact { background: var(--green-dark); color: var(--white); text-align: center; }
.contact .eyebrow { color: var(--sun); }
.contact .lead { color: rgba(255,255,255,.88); margin: 0 auto 1.5em; }
.contact-inner { display: flex; flex-direction: column; align-items: center; }

/* Footer */
.site-footer { background: #12301a; 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) {
  .pools-inner { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 62px 0; }
  .nav { display: none; }
  .bag { margin-left: auto; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 0; padding: 40px 0; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-body { padding: 12px 12px 14px; }
  .price { font-size: 1.15rem; }
  .add { font-size: .8rem; padding: .5em .7em; }
  .cats { gap: 12px; }
  .cat-label strong { font-size: 1.15rem; }
  .cat-label small { display: none; }
  .perks { grid-template-columns: 1fr; }
  .hero-card { padding: 26px 22px 28px; }
  .btn { white-space: normal; }
}

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