:root {
  --bg: #fffdf7;
  --surface: #ffffff;
  --ink: #2b2320;
  --ink-soft: #6b6058;
  --accent: #f5a623;
  --accent-dark: #d98a10;
  --accent-soft: #fff2c2;
  --line: #eee6d8;
  --radius: 16px;
  --shadow: 0 8px 24px rgba(43, 35, 32, 0.08);
  --font-display: 'Fredoka', 'Nunito', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  margin: 0 0 0.5em;
  line-height: 1.15;
}

p {
  margin: 0 0 1em;
  color: var(--ink-soft);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #2b2320;
  box-shadow: 0 4px 14px rgba(245, 166, 35, 0.35);
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--accent);
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.85rem;
  background: var(--ink);
  color: #fff;
}

.btn-small:hover {
  background: var(--accent-dark);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 253, 247, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ink);
}

.logo-mark {
  font-size: 1.5rem;
}

.underscore {
  color: var(--accent);
}

.site-nav {
  display: flex;
  gap: 28px;
}

.site-nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.site-nav a:hover {
  color: var(--accent-dark);
}

.header-cta {
  flex-shrink: 0;
}

/* Hero */
.hero {
  padding: 72px 0 88px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}

.eyebrow {
  display: inline-block;
  color: var(--accent-dark);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  max-width: 14ch;
}

.hero-sub {
  max-width: 46ch;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pond {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #dff1f5, #b9e2ea 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 12px rgba(255, 255, 255, 0.5), var(--shadow);
}

.pond .duck {
  position: absolute;
  font-size: 3.2rem;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.12));
  animation: bob 4s ease-in-out infinite;
}

.duck-1 { top: 38%; left: 30%; animation-delay: 0s; }
.duck-2 { top: 60%; left: 58%; font-size: 2rem; animation-delay: 0.6s; }
.duck-3 { top: 25%; left: 62%; font-size: 2.4rem; animation-delay: 1.2s; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-head {
  text-align: center;
  max-width: 44ch;
  margin: 0 auto 40px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-status {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 0;
  color: var(--ink-soft);
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-thumb {
  background: var(--thumb-bg, var(--accent-soft));
  border-radius: 12px;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin-bottom: 16px;
}

.product-card h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.product-desc {
  font-size: 0.9rem;
  min-height: 2.7em;
}

.product-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.price {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
}

/* About */
.section-about {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-inner {
  display: grid;
  grid-template-columns: 0.4fr 1fr;
  align-items: center;
  gap: 40px;
}

.about-art {
  font-size: 6rem;
  text-align: center;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.1));
}

.about-copy h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

/* Footer */
.site-footer {
  padding: 48px 0;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.footer-tag {
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.footer-copy {
  font-size: 0.8rem;
  color: #a79c8f;
  margin: 0;
}

/* Checkout banner */
.checkout-banner {
  text-align: center;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 0.95rem;
}

.checkout-banner-success {
  background: #e8f5e0;
  color: #2f6b1f;
}

.checkout-banner-canceled {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

/* Cart */
.cart-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  border-radius: 999px;
  border: none;
  background: var(--ink);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.cart-count {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--accent);
  color: var(--ink);
  border-radius: 999px;
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 100%);
  background: var(--surface);
  box-shadow: -8px 0 24px rgba(43, 35, 32, 0.12);
  z-index: 30;
  display: flex;
  flex-direction: column;
}

.cart-panel[hidden] {
  display: none;
}

.cart-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.cart-panel-head h3 {
  margin: 0;
}

.cart-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink-soft);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 12px 24px;
}

.cart-empty {
  color: var(--ink-soft);
  text-align: center;
  margin-top: 24px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item-emoji {
  font-size: 1.6rem;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  margin: 0;
  font-weight: 600;
  font-size: 0.9rem;
}

.cart-item-price {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-item-qty button {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.cart-panel-foot {
  padding: 16px 24px 24px;
  border-top: 1px solid var(--line);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 12px;
}

.cart-checkout-btn {
  width: 100%;
}

.cart-checkout-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cart-error {
  color: #c0392b;
  font-size: 0.85rem;
  margin: 10px 0 0;
  text-align: center;
}

/* Responsive */
@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy {
    order: 2;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-art {
    order: 1;
  }

  .about-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .site-nav {
    display: none;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    padding-top: 12px;
    padding-bottom: 12px;
  }
}
