:root {
  --bg: #fffdf8;
  --ink: #1d1d1d;
  --muted: #6a6a6a;
  --primary: #ff6fa8;   /* playful pink */
  --primary-ink: #5d1032;
  --accent: #6ec6ff;    /* sky accent */
  --leaf: #61d095;      /* fresh green */
  --card: #ffffff;
  --shadow: 0 6px 16px rgba(0,0,0,0.07);
  --radius: 14px;
  --radius-sm: 10px;
  --gap: 24px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Nunito', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: radial-gradient(1200px 600px at 10% 0%, #fff4f8 0%, var(--bg) 40%, var(--bg) 100%);
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.skip-link {
  position: absolute; left: -9999px; top: auto;
}
.skip-link:focus {
  left: 16px; top: 16px; z-index: 1000;
  background: #000; color: #fff; padding: 8px 10px; border-radius: 6px;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(120%) blur(8px);
  border-bottom: 1px solid #eee;
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: var(--gap);
  padding: 14px 0;
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; text-decoration: none; color: var(--ink);
  letter-spacing: 0.4px;
}
.logo span { font-size: 1.4rem; }

.primary-nav .nav-toggle {
  display: none;
  border: 1px solid #ddd;
  padding: 8px 10px; border-radius: 8px; background: #fff;
}
.menu {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 18px;
}
.menu a {
  text-decoration: none; color: var(--ink); font-weight: 700;
  padding: 8px 10px; border-radius: 8px;
}
.menu a:hover { background: #00000008; }
.cart {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; color: var(--ink);
}
.cart-count {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; background: var(--accent); color: #fff;
  border-radius: 10px; font-size: 12px; font-weight: 700;
}

/* Hero */
.hero {
  padding: 40px 0 24px;
}
.hero .container {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px;
}
.hero-text h1 {
  font-family: 'Lexend', sans-serif;
  font-weight: 800; font-size: clamp(28px, 4.5vw, 44px);
  margin: 0 0 8px;
}
.hero-text p {
  font-size: 1.05rem; color: var(--muted); margin: 0 0 16px;
}
.hero-cta { display: flex; gap: 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 10px 14px; border-radius: 10px;
  border: 2px solid transparent; cursor: pointer; font-weight: 800;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { filter: brightness(0.98); }
.btn-secondary {
  background: #fff; border-color: #ddd; color: var(--ink);
}
.btn-secondary:hover { background: #f7f7f7; }
.btn-outline {
  background: #fff; border-color: #ddd; color: var(--ink);
}
.btn-outline:hover { border-color: #bbb; }

/* Carousel */
.carousel {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.carousel-track {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%;
  scroll-snap-type: x mandatory;
  overflow-x: hidden;
}
.carousel-slide {
  scroll-snap-align: start;
  display: grid; place-items: stretch;
  opacity: 0; transform: translateX(8px);
  transition: opacity .28s ease, transform .28s ease;
}
.carousel-slide.is-active { opacity: 1; transform: translateX(0); }

.slide-card {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 18px;
  padding: 22px;
}
.slide-media.placeholder {
  display: grid; place-items: center;
  background: conic-gradient(from 90deg at 50% 50%, #fff 0 25%, #fdf1f7 0 50%, #eef8ff 0 75%, #fff 0);
  border-radius: var(--radius-sm);
  min-height: 220px; font-size: 48px;
}
.slide-content .slide-title {
  font-family: 'Lexend', sans-serif; margin: 6px 0 10px; font-size: 1.6rem;
}
.slide-actions { display: flex; gap: 10px; }

.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: #fff; border: 1px solid #ddd; border-radius: 50%;
  width: 38px; height: 38px; display: grid; place-items: center;
  box-shadow: var(--shadow); cursor: pointer;
}
.carousel-btn:hover { background: #f9f9f9; }
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }

.carousel-dots {
  display: flex; gap: 8px; padding: 12px; justify-content: center;
}
.carousel-dots button {
  width: 8px; height: 8px; border-radius: 50%;
  border: none; background: #ddd; cursor: pointer;
}
.carousel-dots button[aria-selected="true"] { background: var(--primary); }

/* Sections */
.section { padding: 44px 0; }
.section.alt { background: #fffafc; }
.section-header h2 {
  font-family: 'Lexend', sans-serif;
  font-size: clamp(22px, 3.8vw, 32px); margin: 0 0 8px;
}
.section-header p { color: var(--muted); margin: 0 0 18px; }

.category-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap);
  list-style: none; margin: 0; padding: 0;
}
.category-card {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px;
}
.category-card .icon { font-size: 34px; }
.category-card h3 { margin: 10px 0 6px; }
.category-card p { color: var(--muted); margin: 0 0 8px; }

.product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap);
}
.product-card {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 16px;
}
.product-media.placeholder {
  display: grid; place-items: center;
  background: linear-gradient(145deg, #f6faff, #fff4f8);
  border-radius: var(--radius-sm); height: 130px; font-size: 30px;
}
.product-card h3 { margin: 12px 0 6px; font-size: 1.1rem; }
.product-card p { color: var(--muted); margin: 0 0 8px; }
.price { font-weight: 800; margin: 0 0 10px; }

.inspire-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap);
}
.post-card {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px;
}
.post-card h3 { margin: 0 0 6px; }
.post-card p { color: var(--muted); margin: 0 0 8px; }

/* About */
.about {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--gap);
  align-items: center;
}
.about-media.placeholder {
  display: grid; place-items: center; font-size: 42px;
  background: radial-gradient(400px 200px at 20% 0%, #eef8ff, #fff4f8);
  border-radius: var(--radius); height: 260px;
}
.newsletter label { font-weight: 700; display: block; margin-bottom: 10px; }
.newsletter-controls { display: flex; gap: 10px; }
.newsletter input {
  flex: 1; padding: 10px 12px; border-radius: 10px; border: 1px solid #ddd;
}

/* Footer */
.site-footer {
  background: #ffffff; border-top: 1px solid #eee;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0;
}
.footer-menu {
  list-style: none; margin: 0; padding: 0; display: flex; gap: 14px;
}
.footer-menu a { text-decoration: none; color: var(--muted); }
.footer-menu a:hover { color: var(--ink); }

/* Responsive */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .slide-card { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .inspire-grid { grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: 1fr; }
  .menu { display: none; }
  .primary-nav .nav-toggle { display: inline-block; }
}

@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; }
  .inspire-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
}