/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --pink:    #F72B8A;
  --orange:  #FF5A1F;
  --blue:    #0737C9;
  --lilac:   #B783E6;
  --aqua:    #57CACA;
  --butter:  #FFD970;
  --cream:   #FFF7EC;
  --peach:   #FFA889;
  --ink:     #111111;
  --grey:    #D9D9D9;
  --mid:     #6B5B52;
  --white:   #FFFFFF;

  --font-head: 'Fredoka', 'Arial Rounded MT Bold', Arial, sans-serif;
  --font-body: 'Nunito', Arial, sans-serif;

  --r-sm: 16px;
  --r-md: 24px;
  --r-lg: 40px;
  --r-xl: 60px;
  --r-full: 999px;

  --shadow:    0 4px 20px rgba(17,17,17,0.10);
  --shadow-lg: 0 10px 40px rgba(17,17,17,0.14);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Type ── */
h1 {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 600;
  line-height: 1.1;
}
h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
}
h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
}
.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 10px;
  display: block;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--r-full);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: 3px solid transparent;
  transition: transform 0.15s, box-shadow 0.15s;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-pink   { background: var(--pink);   color: #fff; border-color: var(--pink); }
.btn-orange { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn-blue   { background: var(--blue);   color: #fff; border-color: var(--blue); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-sm { padding: 10px 22px; font-size: 0.88rem; }
.btn-disabled { opacity: 0.4; pointer-events: none; }

/* ── Sparkle SVG helper ── */
.sparkle {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: middle;
}

/* ── Logo mark (HTML/CSS — uses Fredoka font) ── */
.logo-mark {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.55rem;
  line-height: 0.88;
  letter-spacing: -0.02em;
  display: block;
}
.logo-mark span { display: block; }

.hero-logo-mark {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.hero-logo-mark div { display: block; }

/* ── Header / Nav ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--cream);
  border-bottom: 3px solid var(--ink);
  padding: 0;
}
.header-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  min-height: 72px;
}
.header-logo {
  display: flex;
  align-items: center;
  padding: 12px 0;
}
.header-logo img {
  height: 48px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.site-nav a {
  display: flex;
  align-items: center;
  padding: 0 18px;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  border-left: 2px solid transparent;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.site-nav a:hover { background: var(--ink); color: var(--cream); }
.site-nav a.active { background: var(--pink); color: #fff; }
.site-nav a.pyo {
  background: var(--butter);
  color: var(--ink);
  border-left: 3px solid var(--ink);
}
.site-nav a.pyo:hover { background: var(--orange); color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  font-size: 1.5rem;
}

/* ── Footer ── */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 56px 0 0;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 2px solid #2a2a2a;
}
.footer-brand .footer-logo {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 600;
  color: var(--cream);
  display: block;
  margin-bottom: 10px;
}
.footer-brand .footer-logo span { color: var(--orange); }
.footer-brand p { font-size: 0.9rem; color: #888; line-height: 1.6; }

.footer-col strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 10px;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--cream); }

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
  color: #555;
}

/* ── Page hero banner ── */
.page-hero {
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
}
.page-hero h1 { margin-top: 8px; }
.page-hero p.subtitle {
  font-size: 1.1rem;
  color: var(--mid);
  margin-top: 14px;
  max-width: 560px;
}
.hero-deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

/* ── Product grid ── */
.product-section { padding: 64px 0; }

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
}
.section-label h2 { margin: 0; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 3px solid var(--ink);
  overflow: hidden;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform 0.15s, box-shadow 0.15s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--ink);
}

.product-card-img {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--grey);
  position: relative;
}

/* ── Slider ── */
.slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: grab;
  user-select: none;
}
.slider:active { cursor: grabbing; }

.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.slider-track img {
  min-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  flex-shrink: 0;
}
.slider-track .placeholder {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: #f0ece6;
  flex-shrink: 0;
}

/* Dot indicators */
.slider-dots {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  pointer-events: none;
  z-index: 2;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  border: 1.5px solid rgba(0,0,0,0.2);
  transition: background 0.2s, transform 0.2s;
}
.dot.active {
  background: #fff;
  transform: scale(1.2);
}

/* Prev / Next buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(255,255,255,0.88);
  border: 2px solid var(--ink);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  opacity: 0;
  transition: opacity 0.2s;
  color: var(--ink);
}
.slider:hover .slider-btn { opacity: 1; }
.slider-prev { left: 8px; }
.slider-next { right: 8px; }

/* On touch devices always show buttons */
@media (hover: none) {
  .slider-btn { opacity: 1; width: 28px; height: 28px; font-size: 1rem; }
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--pink);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--r-full);
  border: 2px solid var(--ink);
}
.product-badge.coming-soon { background: var(--grey); color: var(--ink); }

.product-card-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.product-card-body h3 { font-size: 1.15rem; }
.product-card-body p {
  font-size: 0.88rem;
  color: var(--mid);
  line-height: 1.55;
  flex: 1;
}
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}
.product-price {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
}
.product-price span {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--mid);
  display: block;
  line-height: 1;
}

/* ── Coming-soon page ── */
.coming-soon-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.coming-soon-page h1 { margin-top: 16px; }
.coming-soon-page p { color: var(--mid); margin-top: 16px; font-size: 1.1rem; }

/* ── Newsletter strip ── */
.newsletter {
  background: var(--ink);
  color: var(--cream);
  padding: 56px 0;
  margin-top: 80px;
}
.newsletter-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.newsletter h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.newsletter p { color: #aaa; margin-top: 6px; font-size: 0.95rem; }
.newsletter-form {
  display: flex;
  gap: 10px;
  flex: 1;
  min-width: 260px;
  flex-wrap: wrap;
}
.newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: 14px 20px;
  border-radius: var(--r-full);
  border: 3px solid var(--cream);
  background: transparent;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
}
.newsletter-form input::placeholder { color: #666; }
.newsletter-form input:focus { border-color: var(--pink); }
#nl-msg { font-size: 0.85rem; color: var(--butter); margin-top: 8px; width: 100%; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .site-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); border-bottom: 3px solid var(--ink); }
  .site-nav.open { display: flex; }
  .site-nav a { border-left: none; border-top: 2px solid var(--grey); padding: 16px 24px; }
  .nav-toggle { display: block; }
  .header-inner { flex-wrap: wrap; position: relative; }
  .newsletter-inner { flex-direction: column; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
}
