:root {
  --green: #1e4636;
  --green-2: #2f6b4f;
  --text-2: #4b5f55;
  --red: #d23440;
  --red-dark: #b02734;
  --line: #efe6dd;
  --blush: #fbf3ee;
  --pink: #ffe3e8;
  --lemon: #fff3c9;
  --sand: #f3ece4;
  --lilac: #ece6ff;
  --mint: #e2f5ee;
  --leaf: #e7f5dc;
  --display: "Fredoka", "Figtree", system-ui, sans-serif;
  --sans: "Figtree", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(18px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body { margin: 0; background: #fff; color: var(--green); font-family: var(--sans); font-size: 17px; line-height: 1.55; }
img, video { max-width: 100%; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--red); }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; color: var(--green); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 20; background: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }

/* Top bar + header */
.topbar { margin: 0; background: var(--green); color: #fff; text-align: center; font-size: 15px; font-weight: 600; padding: 10px var(--gutter); }
.site-head { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 23px; color: var(--green); }
.brand:hover { color: var(--green); }
.site-nav { display: flex; gap: 24px; font-size: 16px; font-weight: 600; }
.site-nav a { text-decoration: none; }

/* Buttons */
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; font-weight: 700; font-size: 17px; text-decoration: none; border: 0; cursor: pointer; }
.pill.red { background: var(--red); color: #fff; }
.pill.red:hover { background: var(--red-dark); color: #fff; }
.pill.ghost { background: #fff; color: var(--green); box-shadow: inset 0 0 0 2px var(--green); }
.pill.ghost:hover { background: var(--green); color: #fff; }
.pill.white { background: #fff; color: var(--green); }
.pill.white:hover { background: var(--leaf); color: var(--green); }

/* Hero */
.hero { position: relative; overflow: hidden; background: #f3e7dc; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg svg, .hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-fade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(248, 241, 234, 0.94) 0%, rgba(248, 241, 234, 0.82) 38%, rgba(248, 241, 234, 0) 60%); }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); align-items: end; min-height: 600px; gap: 32px; }
.hero-text { align-self: center; max-width: 530px; display: flex; flex-direction: column; gap: 22px; padding: 72px 0 80px; }
.hero h1 { margin: 0; font-size: clamp(44px, 6vw, 68px); line-height: 1; letter-spacing: -0.01em; }
.hero-text > p { margin: 0; font-size: clamp(18px, 2vw, 20px); color: #3d5249; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .small { font-size: 14px; color: #5c6f66; }
.hero-santa { display: flex; justify-content: center; align-items: flex-end; }
.hero-santa img { max-height: 560px; width: auto; filter: drop-shadow(0 14px 22px rgba(60, 40, 20, 0.25)); }

/* Trust strip */
.trust { border-bottom: 1px solid var(--line); }
.trust .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; padding-top: 20px; padding-bottom: 20px; font-size: 15px; font-weight: 600; color: #3d5249; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }

/* Categories */
.cats-section { padding: clamp(56px, 8vw, 80px) 0 clamp(48px, 7vw, 72px); }
.cats-section h2 { margin: 0 0 32px; font-size: clamp(34px, 4.4vw, 44px); line-height: 1.05; }
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 26px 16px 24px; border-radius: 28px; text-decoration: none; transition: transform 0.15s ease; }
.tile:hover { color: var(--green); transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) { .tile { transition: none; } .tile:hover { transform: none; } }
.tile-art svg { width: 130px; height: 108px; }
.tile-name { font-family: var(--display); font-weight: 600; font-size: 21px; }
.tile-line { font-size: 14px; color: var(--text-2); }
.pink { background: var(--pink); } .lemon { background: var(--lemon); } .sand { background: var(--sand); } .lilac { background: var(--lilac); } .mint { background: var(--mint); } .leaf { background: var(--leaf); }

/* Featured advent calendar */
.advent { background: var(--blush); padding: clamp(56px, 8vw, 80px) 0; }
.feat { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; background: #fff; border-radius: 32px; padding: 32px; box-shadow: 0 10px 30px rgba(30, 70, 54, 0.08); }
.feat-pic { border-radius: 24px; min-height: 400px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.feat-pic img { width: 100%; height: 100%; object-fit: cover; }
.feat-pic svg { width: min(420px, 92%); height: auto; }
.feat-body { display: flex; flex-direction: column; gap: 16px; padding-right: 8px; }
.feat-body h2 { margin: 0; font-size: clamp(32px, 4vw, 42px); line-height: 1.05; }
.feat-body p { margin: 0; font-size: 17px; color: #3d5249; }
.points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: #3d5249; }
.points li { display: flex; gap: 10px; align-items: flex-start; }
.points svg { flex: none; margin-top: 3px; }
.feat-buy { display: flex; align-items: center; gap: 20px; padding-top: 8px; }
.feat-buy .price { font-size: 36px; }

/* Product grid */
.shop { padding: clamp(64px, 9vw, 88px) 0 clamp(72px, 10vw, 96px); }
.shop-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 32px; }
.shop-head h2 { margin: 0; font-size: clamp(34px, 4.4vw, 44px); line-height: 1.05; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--green); font-weight: 600; font-size: 15px; cursor: pointer; }
.filters button:hover { border-color: var(--green); }
.filters button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }

.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.card { display: flex; flex-direction: column; border-radius: 26px; background: #fff; box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(30, 70, 54, 0.08); overflow: hidden; min-width: 0; }
.card[hidden] { display: none; }
.pic { position: relative; height: 250px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pic img { width: 100%; height: 100%; object-fit: cover; }
.pic svg { width: min(300px, 86%); height: auto; max-height: 190px; }
.age { position: absolute; top: 14px; left: 14px; background: #fff; color: var(--green); font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.cbody { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.cbody h3 { margin: 0; font-size: 22px; line-height: 1.15; }
.cbody p { margin: 0; font-size: 15px; color: var(--text-2); }
.crow { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; }
.price { font-family: var(--display); font-weight: 600; font-size: 26px; color: var(--green); }
.buy { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; }
.buy:hover { background: var(--red-dark); color: #fff; }
.soon { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 999px; background: #fff; color: var(--text-2); box-shadow: inset 0 0 0 2px var(--line); font-weight: 700; font-size: 15px; }
.empty { grid-column: 1 / -1; text-align: center; color: var(--text-2); }

/* Santa video */
.video { background: var(--green); color: #fff; padding: clamp(64px, 9vw, 88px) 0; }
.video .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 56px; align-items: center; }
.video h2 { margin: 0 0 14px; font-size: clamp(34px, 4.6vw, 46px); line-height: 1.05; color: #fff; }
.video p { margin: 0 0 22px; font-size: 18px; color: #cfe0d7; max-width: 44ch; }
.phone { display: flex; justify-content: center; }
.phone video { width: 300px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 28px; background: #265543; }

/* Good to know */
.facts { background: var(--blush); padding: clamp(48px, 7vw, 72px) 0; }
.facts .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.facts h2 { margin: 0 0 4px; font-size: 20px; }
.facts p { margin: 0; font-size: 15px; color: var(--text-2); }

/* Policies page */
.page { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.page .wrap { max-width: 820px; }
.page h1 { margin: 0 0 8px; font-size: clamp(36px, 5vw, 50px); line-height: 1.05; }
.page h2 { margin: 44px 0 10px; font-size: 28px; scroll-margin-top: 90px; }
.page .updated { margin: 0; color: #5c6f66; font-size: 15px; }
.page ul { padding-left: 22px; }
.page li { margin-bottom: 8px; }

/* Footer */
.site-foot { background: var(--green); color: #cfe0d7; font-size: 15px; padding: 44px 0 52px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; }
.site-foot p { margin: 0 0 6px; }
.site-foot a { color: #fff; }
.site-foot a:hover { color: #fff; text-decoration-thickness: 2px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* Responsive */
@media (max-width: 1000px) {
  .site-nav a:not([href="#advent"]):not([href^="policies"]) { display: none; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .hero-text { max-width: none; padding: 56px 0 24px; }
  .hero-fade { background: rgba(248, 241, 234, 0.8); }
  .hero-santa img { max-height: 380px; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat { grid-template-columns: 1fr; padding: 20px; gap: 24px; }
  .feat-pic { min-height: 300px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video .wrap { grid-template-columns: 1fr; }
  .facts .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .brand { font-size: 19px; }
  .brand svg { width: 30px; height: 26px; }
  .site-nav { display: none; }
  .brand { white-space: nowrap; }
  .cats { gap: 14px; }
  .tile { padding: 20px 10px; }
  .tile-art svg { width: 96px; height: 80px; }
  .tile-name { font-size: 18px; }
  .grid { grid-template-columns: 1fr; }
  .facts .wrap { grid-template-columns: 1fr; gap: 20px; }
  .feat-buy { flex-wrap: wrap; }
}
