@import url('fonts.css');

:root {
  --bg: oklch(97% 0.012 75);
  --text: oklch(28% 0.02 40);
  --text-muted: oklch(45% 0.02 40);
  --text-muted-dark: oklch(40% 0.02 40);
  --heading: oklch(24% 0.02 40);
  --primary: oklch(62% 0.11 25);
  --primary-dark: oklch(52% 0.11 25);
  --primary-soft: oklch(90% 0.05 25);
  --primary-deep: oklch(30% 0.05 25);
  --primary-deep-text: oklch(38% 0.05 25);
  --card-bg: oklch(99% 0.005 75);
  --border: oklch(90% 0.02 40);
  --border-soft: oklch(88% 0.02 40);
  --footer-bg: oklch(93% 0.015 60);
  --badge: oklch(68% 0.1 45);
  --dark: oklch(28% 0.02 40);
  --shadow-soft: 0 4px 16px oklch(28% 0.02 40 / 0.06);
  --shadow-card: 0 4px 16px oklch(28% 0.02 40 / 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Nunito', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: 'Quicksand', sans-serif; font-weight: 700; }
button { font-family: inherit; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.wrap-doc { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: oklch(97% 0.012 75 / 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.logo {
  font-family: 'Caveat', cursive; font-size: 34px; font-weight: 700;
  color: var(--primary); background: none; border: none; padding: 0; margin: 0;
}
.main-nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.nav-link {
  background: none; border: none; cursor: pointer;
  font-family: 'Quicksand', sans-serif; font-weight: 600; font-size: 14px;
  color: var(--text); padding: 8px 12px; border-radius: 8px;
}
.nav-link:hover, .nav-link.active { background: var(--primary-soft); color: var(--primary-dark); }
.cart-btn {
  position: relative; background: var(--primary-soft); border: none; border-radius: 999px;
  padding: 10px 18px; cursor: pointer; font-family: 'Quicksand', sans-serif; font-weight: 700;
  font-size: 14px; color: var(--primary); display: flex; align-items: center; gap: 8px;
}
.cart-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); display: inline-block; }
.cart-count {
  background: var(--primary); color: #fff; border-radius: 999px; min-width: 20px; height: 20px;
  padding: 0 5px; font-size: 11px; display: flex; align-items: center; justify-content: center;
}
.menu-toggle { display: none; }

main { flex: 1; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; cursor: pointer; border: none;
  font-family: 'Quicksand', sans-serif; font-weight: 700; border-radius: 999px; text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; padding: 15px 30px; font-size: 15px; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); padding: 13px 28px; font-size: 15px; }
.btn-outline:hover { background: var(--primary-soft); }
.btn-small { background: var(--primary); color: #fff; padding: 7px 14px; font-size: 12px; border-radius: 999px; font-weight: 600; }
.btn-small:hover { background: var(--primary-dark); color: #fff; }

/* Hero */
.hero { padding: 72px 24px 40px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero-eyebrow { font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 0.06em; color: var(--primary); text-transform: uppercase; }
.hero h1 { font-size: 44px; line-height: 1.15; margin: 12px 0 18px; color: var(--heading); }
.hero p { font-size: 16px; line-height: 1.7; color: var(--text-muted); max-width: 480px; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-photo { height: 380px; border-radius: 28px; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Feature strip */
.features { padding: 36px 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { text-align: center; padding: 18px; }
.feature-title { font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.feature-desc { font-size: 13px; color: var(--text-muted); }

/* Sections */
.section { padding: 40px 24px; }
.section-title { font-size: 28px; text-align: center; margin: 0 0 32px; }
.section-doc-title { font-size: 17px; margin: 24px 0 8px; }

/* Category tiles */
.categories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.category-card {
  text-align: left; background: var(--card-bg); border: none; border-radius: 20px; cursor: pointer;
  overflow: hidden; padding: 0; box-shadow: var(--shadow-soft); display: block; color: inherit;
}
.category-photo { height: 140px; overflow: hidden; }
.category-photo img { width: 100%; height: 100%; object-fit: cover; }
.category-body { padding: 16px; }
.category-name { font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 16px; }
.category-sub { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* Product grid */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.product-card {
  background: var(--card-bg); border-radius: 20px; box-shadow: var(--shadow-card);
  overflow: hidden; display: flex; flex-direction: column;
}
.product-photo { position: relative; height: 190px; overflow: hidden; }
.product-photo img { width: 100%; height: 100%; object-fit: cover; }
.product-photo.tall { height: 200px; }
.badge-new {
  position: absolute; top: 10px; left: 10px; background: var(--badge); color: #fff;
  font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 10px; padding: 4px 9px; border-radius: 999px;
}
.product-info { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-sub { font-family: 'Nunito', sans-serif; font-size: 11px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.04em; }
.product-name { font-family: 'Quicksand', sans-serif; font-size: 16px; font-weight: 700; margin: 0; }
.product-desc { font-size: 12px; color: var(--text-muted); margin: 0; line-height: 1.5; flex: 1; }
.product-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.product-price { font-family: 'Quicksand', sans-serif; font-size: 17px; font-weight: 700; }

/* Tabs */
.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.tab-btn {
  background: transparent; color: var(--text-muted); border: 2px solid var(--border-soft);
  border-radius: 999px; padding: 8px 20px; font-family: 'Quicksand', sans-serif; font-weight: 600; font-size: 14px; cursor: pointer;
}
.tab-btn.active { background: var(--primary); color: var(--card-bg); border-color: var(--primary); padding: 10px 22px; }

/* Story / about split */
.split { padding: 40px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split-photo { height: 320px; border-radius: 24px; overflow: hidden; }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.split-script { font-family: 'Caveat', cursive; font-size: 26px; color: var(--primary); }
.split h2 { font-size: 26px; margin: 10px 0 16px; }
.split p { font-size: 15px; line-height: 1.7; color: var(--text-muted); margin: 0 0 20px; }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial { background: var(--card-bg); border-radius: 18px; padding: 24px; }
.testimonial p { font-size: 14px; line-height: 1.7; color: oklch(35% 0.02 40); margin: 0 0 14px; }
.testimonial-author { font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 13px; }

/* Instagram grid */
.insta-title { font-size: 22px; text-align: center; margin: 0 0 20px; }
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.insta-tile { height: 110px; border-radius: 14px; overflow: hidden; }
.insta-tile img { width: 100%; height: 100%; object-fit: cover; }

/* Newsletter */
.newsletter { background: var(--primary-soft); padding: 48px 24px; margin-top: 20px; }
.newsletter-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.newsletter h2 { font-size: 24px; margin: 0 0 10px; color: var(--primary-deep); }
.newsletter p { font-size: 14px; color: var(--primary-deep-text); margin: 0 0 20px; }
.newsletter-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.input-pill {
  padding: 13px 18px; border-radius: 999px; border: none; font-family: 'Nunito', sans-serif;
  font-size: 14px; min-width: 240px; border: 1px solid var(--border-soft);
}
.btn-deep { background: var(--primary-deep); color: #fff; border: none; border-radius: 999px; padding: 13px 26px;
  font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 14px; cursor: pointer; }
.btn-deep:hover { opacity: 0.9; }

/* Generic content page */
.page-header { padding: 56px 24px; }
.page-header h1 { font-size: 34px; margin: 0 0 12px; }
.page-header p { font-size: 15px; color: var(--text-muted); max-width: 640px; margin: 0 0 28px; line-height: 1.7; }

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 36px; }
.info-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.info-card { background: var(--card-bg); border-radius: 16px; padding: 20px; }
.info-card.center { text-align: center; padding: 18px; border-radius: 14px; }
.info-card-title { font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.info-card-desc { font-size: 13px; color: var(--text-muted); }

.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--card-bg); border-radius: 14px; padding: 18px; }
.faq-q { font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.faq-a { font-size: 13px; color: var(--text-muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-card { background: var(--card-bg); border-radius: 18px; padding: 24px; margin-bottom: 20px; }
.contact-card-title { font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 15px; margin-bottom: 14px; }
.contact-card-body { font-size: 13px; color: var(--text-muted); line-height: 2; }
.map-placeholder {
  height: 180px; border-radius: 16px; background: repeating-linear-gradient(135deg, oklch(92% 0.02 150) 0px, oklch(92% 0.02 150) 14px, oklch(96% 0.01 150) 14px, oklch(96% 0.01 150) 28px);
  display: flex; align-items: center; justify-content: center;
}
.map-placeholder span { font-family: monospace; font-size: 12px; color: var(--text-muted-dark); }

form.stack { display: flex; flex-direction: column; gap: 12px; }
.field {
  padding: 13px 16px; border-radius: 10px; border: 1px solid var(--border-soft);
  font-family: 'Nunito', sans-serif; font-size: 14px; width: 100%;
}
textarea.field { resize: vertical; }
.btn-submit {
  background: var(--primary); color: #fff; border: none; border-radius: 999px; padding: 14px 28px;
  font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 15px; cursor: pointer;
}
.btn-submit:hover { background: var(--primary-dark); }
.form-note { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.form-success {
  background: oklch(90% 0.06 150); color: oklch(28% 0.06 150); border-radius: 12px; padding: 14px 18px;
  font-family: 'Quicksand', sans-serif; font-weight: 600; font-size: 14px; margin-bottom: 16px;
}
.form-error {
  background: oklch(90% 0.06 25); color: oklch(30% 0.08 25); border-radius: 12px; padding: 14px 18px;
  font-family: 'Quicksand', sans-serif; font-weight: 600; font-size: 14px; margin-bottom: 16px;
}

/* Cart */
.cart-empty { text-align: center; padding: 60px 20px; background: var(--card-bg); border-radius: 20px; }
.cart-empty p { font-size: 15px; color: var(--text-muted); margin: 0 0 20px; }
.cart-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.cart-row { background: var(--card-bg); border-radius: 16px; padding: 16px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cart-thumb { width: 70px; height: 70px; border-radius: 12px; flex-shrink: 0; overflow: hidden; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-info { flex: 1; min-width: 140px; }
.cart-name { font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 14px; }
.cart-unit { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.cart-qty { display: flex; align-items: center; gap: 8px; }
.qty-btn { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--border-soft); background: #fff; cursor: pointer; font-size: 15px; }
.qty-val { font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 14px; min-width: 20px; text-align: center; }
.cart-line-total { font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 14px; min-width: 90px; text-align: right; }
.cart-remove { background: none; border: none; color: oklch(55% 0.02 40); cursor: pointer; font-size: 13px; text-decoration: underline; }
.cart-summary {
  background: var(--primary-soft); border-radius: 16px; padding: 22px; display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 14px;
}
.cart-summary-label { font-size: 12px; color: var(--primary-deep-text); }
.cart-summary-total { font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 24px; color: var(--primary-deep); }

.checkout-section { margin-top: 32px; }
.checkout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step-photo { height: 110px; border-radius: 12px; margin-bottom: 8px; overflow: hidden; }
.step-photo img { width: 100%; height: 100%; object-fit: cover; }
.step-label { font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 13px; }

.numbered-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.numbered-card { background: var(--card-bg); border-radius: 16px; padding: 22px; display: flex; gap: 14px; }
.numbered-index { font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 20px; color: var(--primary); }
.numbered-title { font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.numbered-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

.tips-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tip-card { background: var(--card-bg); border-radius: 18px; overflow: hidden; }
.tip-photo { height: 160px; overflow: hidden; }
.tip-photo img { width: 100%; height: 100%; object-fit: cover; }
.tip-body { padding: 18px; }
.tip-body h3 { font-size: 16px; margin: 0 0 8px; }
.tip-body p { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* Footer */
.site-footer { background: var(--footer-bg); margin-top: 20px; }
.footer-grid { padding: 48px 24px 24px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-logo { font-family: 'Caveat', cursive; font-size: 28px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.footer-desc { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin: 0 0 14px; max-width: 260px; }
.footer-socials { display: flex; gap: 10px; }
.footer-social {
  width: 34px; height: 34px; border-radius: 50%; background: var(--card-bg); display: flex; align-items: center;
  justify-content: center; font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 11px; color: var(--primary);
}
.footer-heading { font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 13px; margin-bottom: 12px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-link { text-align: left; background: none; border: none; cursor: pointer; padding: 0; font-size: 13px; color: var(--text-muted); font-family: 'Nunito', sans-serif; }
.footer-link:hover { color: var(--primary); }
.footer-bottom { max-width: 1240px; margin: 0 auto; padding: 16px 24px; border-top: 1px solid var(--border-soft); font-size: 12px; color: oklch(50% 0.02 40); }

/* Toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--dark); color: #fff;
  padding: 14px 24px; border-radius: 999px; font-family: 'Quicksand', sans-serif; font-weight: 600; font-size: 14px;
  box-shadow: 0 8px 24px oklch(0% 0 0 / 0.2); z-index: 100; display: none;
}
.toast.show { display: block; }

/* Legal doc pages */
.doc p { font-size: 14px; line-height: 1.8; color: var(--text-muted-dark); margin: 0; }
.doc h1 { font-size: 30px; margin: 0 0 24px; }

@media (max-width: 980px) {
  .hero, .split, .contact-grid, .checkout-grid { grid-template-columns: 1fr; }
  .features, .categories-grid, .product-grid, .info-grid.cols-4, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials, .info-grid, .product-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .numbered-grid, .tips-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .main-nav { display: none; }
  .main-nav.open { display: flex; flex-direction: column; width: 100%; order: 3; }
  .menu-toggle {
    display: inline-flex; background: none; border: 1px solid var(--border-soft); border-radius: 8px;
    padding: 8px 12px; cursor: pointer; font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 13px;
  }
  .features, .categories-grid, .product-grid, .info-grid.cols-4, .steps-grid, .testimonials, .info-grid, .product-grid.cols-3 { grid-template-columns: 1fr; }
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
}
