/* Zola Bola — shared stylesheet */
:root {
  --bg: oklch(97% 0.014 90);
  --surface: oklch(99% 0.004 90);
  --text: oklch(24% 0.03 258);
  --text-70: oklch(24% 0.03 258 / 0.75);
  --text-60: oklch(24% 0.03 258 / 0.6);
  --border: oklch(89% 0.02 90);
  --yellow: oklch(83% 0.15 92);
  --yellow-soft: oklch(83% 0.15 92 / 0.35);
  --blue: oklch(60% 0.13 235);
  --blue-dark: oklch(42% 0.12 235);
  --green: oklch(66% 0.13 148);
  --green-soft: oklch(66% 0.13 148 / 0.15);
  --green-dark: oklch(46% 0.11 148);
  --footer-bg: oklch(24% 0.03 258);
  --font-heading: 'Baloo 2 Fallback', 'Segoe UI', Verdana, Arial, sans-serif;
  --font-body: 'Nunito', 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); background: var(--bg); color: var(--text); min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--blue-dark); text-decoration: none; }
a:hover { color: var(--yellow); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; }
input, textarea, button { font-family: var(--font-body); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.wrap-article { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 3px solid var(--yellow); box-shadow: 0 2px 10px oklch(24% 0.03 258 / 0.06); }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 8px; }
.brand-mark { width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--blue); flex-shrink: 0; }
.brand-name { font-family: var(--font-heading); font-size: 26px; font-weight: 700; color: var(--blue-dark); }
.main-nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.nav-link { background: none; border: none; font: inherit; font-weight: 700; font-size: 15px; color: var(--text); cursor: pointer; padding: 6px 2px; }
.nav-link.is-active { color: var(--blue-dark); }
.cart-btn { position: relative; background: var(--blue); border: none; border-radius: 999px; padding: 9px 18px; font: inherit; font-weight: 800; font-size: 14px; color: var(--surface); cursor: pointer; }
.cart-badge { position: absolute; top: -8px; right: -8px; background: var(--yellow); color: var(--text); font-size: 12px; font-weight: 800; border-radius: 50%; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--surface); }
.cart-badge[hidden] { display: none; }
.menu-toggle { display: none; background: none; border: 2px solid var(--border); border-radius: 10px; padding: 8px 10px; cursor: pointer; }

/* Buttons */
.btn { display: inline-block; border: none; border-radius: 999px; padding: 14px 28px; font-weight: 800; font-size: 16px; cursor: pointer; text-align: center; }
.btn-primary { background: var(--yellow); color: var(--text); }
.btn-outline { background: none; border: 2px solid var(--blue); color: var(--blue-dark); padding: 12px 26px; }
.btn-blue { background: var(--blue); color: var(--surface); }
.btn-small { padding: 9px 18px; font-size: 13px; border-radius: 999px; }
.btn-link { background: none; border: none; font-weight: 800; color: var(--blue-dark); cursor: pointer; font-size: 15px; padding: 0; }

/* Hero */
.hero { padding: 56px 24px 40px; display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.hero-content { flex: 1 1 380px; min-width: 300px; }
.eyebrow { display: inline-block; background: var(--green-soft); color: var(--green-dark); font-weight: 800; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: 46px; line-height: 1.1; margin: 0 0 18px; }
.hero p { font-size: 18px; line-height: 1.6; color: var(--text-70); margin: 0 0 28px; max-width: 480px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-media { flex: 1 1 320px; min-width: 280px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; }
.hero-shape { border-radius: 24px; }
.hero-shape.blue { background: var(--blue); height: 140px; }
.hero-shape.yellow { background: var(--yellow); height: 100px; margin-top: 30px; }
.hero-photo { height: 250px; margin-top: -20px; grid-row: span 2; }

/* Sections */
.section { padding: 20px 24px 50px; }
.section-white { background: var(--surface); padding: 50px 24px; }
.section-green { background: var(--green-soft); padding: 50px 24px; }
.section-title { font-size: 28px; margin: 0 0 24px; text-align: center; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 10px; }
.section-head h2 { font-size: 28px; margin: 0; }

/* Category grid */
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.category-card { background: var(--surface); border: 2px solid var(--border); border-radius: 18px; padding: 22px 16px; text-align: center; cursor: pointer; font: inherit; color: inherit; }
.category-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--yellow-soft); margin: 0 auto 12px; }
.category-name { font-weight: 700; font-size: 15px; }

/* Why us */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.why-item { text-align: center; padding: 0 12px; }
.why-badge { width: 56px; height: 56px; border-radius: 50%; color: var(--surface); font-family: var(--font-heading); font-weight: 700; font-size: 22px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.why-title { font-weight: 800; margin-bottom: 8px; font-size: 16px; }
.why-text { font-size: 14px; color: var(--text-70); line-height: 1.5; }

/* Product / article grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.grid-articles { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 2px solid var(--border); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.card-media { height: 140px; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-cat { font-size: 12px; font-weight: 700; color: var(--green-dark); text-transform: uppercase; }
.card-name { font-weight: 800; font-size: 15px; }
.card-name a { color: var(--text); }
.card-unit { font-size: 13px; color: var(--text-60); }
.card-price { font-weight: 700; color: var(--blue-dark); font-size: 16px; margin-top: auto; }
.card-add { background: var(--blue); color: var(--surface); border: none; border-radius: 999px; padding: 9px; font-weight: 800; font-size: 13px; cursor: pointer; margin-top: 6px; width: 100%; }
.card-add.added { background: var(--green-dark); }

.article-card { background: var(--surface); border-radius: 18px; overflow: hidden; border: 2px solid var(--border); }
.article-card .card-media { height: 130px; }
.article-card .card-body { padding: 16px; gap: 4px; }
.article-card .card-title { font-weight: 800; font-size: 16px; margin: 6px 0 8px; }
.article-card .card-title a { color: var(--text); }
.article-card .card-meta { font-size: 13px; color: var(--text-60); }
.article-card .card-excerpt { font-size: 14px; color: var(--text-70); line-height: 1.5; margin-bottom: 10px; }

/* Chips */
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.chip { border: none; border-radius: 999px; padding: 9px 18px; font-weight: 700; font-size: 14px; cursor: pointer; background: oklch(89% 0.02 90 / 0.5); color: var(--text); }
.chip.is-active.catalog { background: var(--blue); color: var(--surface); }
.chip.is-active.blog { background: var(--green); color: var(--surface); }

/* Newsletter / forms */
.newsletter { max-width: 900px; margin: 0 auto; padding: 60px 24px; text-align: center; }
.newsletter p { color: var(--text-70); margin: 0 0 22px; }
.form-inline { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.form-inline input[type="email"] { flex: 1 1 260px; padding: 13px 18px; border-radius: 999px; border: 2px solid var(--border); font-size: 15px; }
.notice { padding: 14px; border-radius: 14px; font-weight: 800; }
.notice-success { background: var(--green-soft); color: var(--green-dark); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-stack { display: flex; flex-direction: column; gap: 12px; }
.form-stack input, .form-stack textarea { padding: 13px 16px; border-radius: 12px; border: 2px solid var(--border); font-size: 15px; }
.form-stack textarea { resize: vertical; }

/* Article page */
.back-link { background: none; border: none; color: var(--blue-dark); font-weight: 700; cursor: pointer; padding: 0; margin-bottom: 18px; font-size: 14px; display: inline-block; }
.article-page { padding: 46px 24px 70px; }
.article-hero { height: 300px; border-radius: 18px; overflow: hidden; margin-bottom: 30px; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-page h1 { font-size: 34px; margin: 10px 0 12px; line-height: 1.15; }
.article-meta { font-size: 14px; color: var(--text-60); margin-bottom: 10px; }
.article-body p { font-size: 17px; line-height: 1.75; color: oklch(24% 0.03 258 / 0.88); margin: 0 0 20px; }
.article-body h3 { font-size: 22px; margin: 30px 0 14px; }
.article-body ul { margin: 0 0 20px; padding-left: 22px; font-size: 16px; line-height: 1.7; color: oklch(24% 0.03 258 / 0.88); }
.article-body li { margin-bottom: 6px; }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 30px 0 40px; }
.tag { background: var(--green-soft); color: var(--green-dark); font-size: 13px; font-weight: 700; padding: 5px 13px; border-radius: 999px; }
.related-block { border-top: 2px solid var(--border); padding-top: 26px; }
.related-title { font-weight: 800; margin-bottom: 14px; font-size: 16px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.related-card { background: var(--surface); border: 2px solid var(--border); border-radius: 14px; padding: 16px; }
.related-card a { color: var(--text); }
.related-card .card-cat { display: block; margin-bottom: 6px; }

/* Product page */
.product-page { padding: 46px 24px 70px; }
.product-layout { display: flex; gap: 40px; flex-wrap: wrap; }
.product-media { flex: 1 1 320px; min-width: 260px; height: 320px; border-radius: 20px; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-info { flex: 1 1 320px; min-width: 260px; }
.product-info h1 { font-size: 30px; margin: 10px 0 12px; }
.product-price { font-size: 26px; font-weight: 800; color: var(--blue-dark); margin-bottom: 6px; }
.product-unit { font-size: 14px; color: var(--text-60); margin-bottom: 20px; }
.product-desc { font-size: 16px; line-height: 1.7; color: oklch(24% 0.03 258 / 0.85); margin: 0 0 26px; }
.product-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.qty-widget { display: flex; align-items: center; border: 2px solid var(--border); border-radius: 999px; overflow: hidden; }
.qty-widget button { background: none; border: none; padding: 10px 16px; font-size: 18px; font-weight: 800; cursor: pointer; }
.qty-widget span { padding: 0 14px; font-weight: 800; min-width: 20px; text-align: center; }

/* Cart page */
.cart-page { padding: 46px 24px 70px; }
.cart-page h1 { font-size: 32px; margin: 0 0 26px; }
.cart-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; }
.cart-item { display: flex; align-items: center; gap: 16px; background: var(--surface); border: 2px solid var(--border); border-radius: 16px; padding: 14px; flex-wrap: wrap; }
.cart-item-media { width: 70px; height: 70px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 140px; }
.cart-item-name { font-weight: 800; font-size: 15px; }
.cart-item-unit { font-size: 13px; color: var(--text-60); }
.cart-item-qty { display: flex; align-items: center; border: 2px solid var(--border); border-radius: 999px; }
.cart-item-qty button { background: none; border: none; padding: 6px 12px; font-weight: 800; cursor: pointer; }
.cart-item-qty span { padding: 0 10px; font-weight: 700; }
.cart-item-total { font-weight: 800; color: var(--blue-dark); min-width: 70px; text-align: right; }
.cart-item-remove { background: none; border: none; color: oklch(24% 0.03 258 / 0.4); font-size: 20px; cursor: pointer; padding: 0 4px; }
.cart-summary { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; border-top: 2px solid var(--border); }
.cart-summary-label { font-weight: 700; font-size: 17px; }
.cart-summary-total { font-weight: 800; font-size: 24px; color: var(--blue-dark); }
.cart-empty { text-align: center; padding: 50px 0; }
.cart-empty p { color: var(--text-70); margin: 0 0 18px; font-size: 16px; }
.cart-checkout-btn { width: 100%; background: var(--yellow); border: none; border-radius: 999px; padding: 16px; font-weight: 800; font-size: 16px; color: var(--text); cursor: pointer; }
.cart-done { background: var(--green-soft); border-radius: 18px; padding: 34px; text-align: center; }
.cart-done .check { font-size: 40px; margin-bottom: 12px; }
.cart-done .title { font-weight: 800; font-size: 20px; margin-bottom: 8px; }
.cart-done p { color: var(--text-70); margin: 0 0 20px; }
.checkout-form { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkout-form .full { grid-column: 1 / -1; }
.checkout-form input, .checkout-form select { padding: 13px 16px; border-radius: 12px; border: 2px solid var(--border); font-size: 15px; width: 100%; }

/* About page */
.about-page { padding: 46px 24px 70px; }
.about-page h1 { font-size: 36px; margin: 0 0 18px; }
.about-page p.lead { font-size: 17px; line-height: 1.75; color: oklch(24% 0.03 258 / 0.85); margin: 0 0 18px; }
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 46px; }
.value-card { border-radius: 16px; padding: 22px; }
.value-card .title { font-weight: 800; margin-bottom: 8px; font-size: 16px; }
.value-card .text { font-size: 14px; color: var(--text-70); line-height: 1.5; }
.team-title { font-weight: 800; font-size: 18px; margin-bottom: 18px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; }
.team-member { text-align: center; }
.team-photo { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; }
.team-name { font-weight: 700; }
.team-role { font-size: 13px; color: var(--text-60); }

/* Contact page */
.contact-page { padding: 46px 24px 70px; }
.contact-page h1 { font-size: 36px; margin: 0 0 30px; }
.contact-layout { display: flex; gap: 40px; flex-wrap: wrap; }
.contact-col { flex: 1 1 300px; min-width: 260px; }
.contact-info { display: flex; flex-direction: column; gap: 18px; margin-bottom: 30px; }
.contact-info .label { font-weight: 800; font-size: 14px; margin-bottom: 4px; }
.contact-info .value { color: var(--text-70); }
.billing-box { background: oklch(60% 0.13 235 / 0.08); border-radius: 14px; padding: 18px; font-size: 13px; line-height: 1.6; color: var(--text-70); }
.billing-box .title { font-weight: 800; margin-bottom: 6px; font-size: 14px; }
.contact-done { background: var(--green-soft); border-radius: 16px; padding: 26px; text-align: center; }
.contact-done .title { font-weight: 800; margin-bottom: 6px; }
.map-embed { border-radius: 16px; overflow: hidden; border: 2px solid var(--border); margin-top: 20px; height: 220px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* Legal pages */
.legal-page { padding: 46px 24px 70px; }
.legal-page h1 { font-size: 32px; margin: 0 0 24px; }
.legal-body { font-size: 15px; line-height: 1.75; color: oklch(24% 0.03 258 / 0.85); }
.legal-body h3 { font-size: 19px; margin: 26px 0 10px; }
.legal-body h3:first-child { margin-top: 0; }

/* Footer */
.site-footer { background: var(--footer-bg); color: oklch(97% 0.014 90 / 0.85); margin-top: auto; }
.footer-grid { max-width: 1200px; margin: 0 auto; padding: 50px 24px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; }
.footer-brand { font-family: var(--font-heading); font-size: 22px; font-weight: 700; color: var(--yellow); margin-bottom: 10px; }
.footer-desc { font-size: 14px; line-height: 1.6; color: oklch(97% 0.014 90 / 0.6); }
.footer-col-title { font-weight: 800; margin-bottom: 12px; font-size: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-links a { color: oklch(97% 0.014 90 / 0.75); }
.footer-contact { font-size: 14px; line-height: 1.7; color: oklch(97% 0.014 90 / 0.75); }
.footer-bottom { border-top: 1px solid oklch(97% 0.014 90 / 0.15); padding: 18px 24px; text-align: center; font-size: 13px; color: oklch(97% 0.014 90 / 0.5); }

/* Cookie banner */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 100; background: var(--footer-bg); color: oklch(97% 0.014 90); padding: 16px 24px; display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; box-shadow: 0 -4px 16px oklch(0% 0 0 / 0.2); }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { font-size: 14px; max-width: 640px; margin: 0; }
.cookie-banner a { color: var(--yellow); }
.cookie-accept { background: var(--yellow); color: var(--text); border: none; border-radius: 999px; padding: 10px 22px; font-weight: 800; cursor: pointer; flex-shrink: 0; }

/* Utility */
[hidden] { display: none !important; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--yellow); color: var(--text); padding: 10px 16px; z-index: 200; }
.skip-link:focus { left: 12px; top: 12px; }

@media (max-width: 640px) {
  .hero h1 { font-size: 34px; }
  .header-inner { gap: 10px; }
  .main-nav { gap: 14px; }
  .checkout-form { grid-template-columns: 1fr; }
}
