:root {
  --bg: #ffffff;
  --bg-card: #ffffff;
  --bg-elevated: #f6f9fc;
  --navy: #1F4E79;
  --blue: #2E75B6;
  --blue-soft: #eaf3fb;
  --green: #15803d;
  --green-dark: #166534;
  --green-light: #22c55e;
  --orange: #b45309;
  --text: #2a2f3a;
  --text-muted: #5b6573;
  --border: #e3e8ef;
  --red: #b53939;
  --footer-bg: #0d2640;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 8px 24px rgba(31, 78, 121, .08);
  --shadow-sm: 0 2px 6px rgba(31, 78, 121, .06);
  --font: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --max-w: 1200px;
  --header-h: 72px;
  --topbar-h: 34px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}
h1, h2, h3, h4 { color: var(--navy); }
h2 { color: var(--blue); }
section:not(.hero):nth-of-type(even) { background: var(--bg-elevated); }
.hero .section-label, .quiz-hero .section-label { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.25); }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy); }
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.topbar {
  background: var(--navy);
  color: #d8e6f3;
  font-size: .82rem;
  padding: 8px 0;
  text-align: center;
  min-height: var(--topbar-h);
  box-sizing: border-box;
}
.topbar strong { color: #fff; }
#site-topbar {
  min-height: var(--topbar-h);
  background: var(--navy);
}
#site-header {
  min-height: var(--header-h);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
  position: relative;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  flex-shrink: 0;
}
.logo img { width: auto; height: 44px; border-radius: 0; display: block; }
.logo span { color: var(--navy); }
.nav-main { display: flex; align-items: center; gap: 8px; }
.nav-main a {
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 500;
}
.nav-main a:hover, .nav-main a.active { color: var(--blue); background: var(--blue-soft); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.search-box {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 12px;
  gap: 8px;
}
.search-box input {
  background: none;
  border: none;
  color: var(--text);
  font-size: .875rem;
  width: 140px;
  outline: none;
}
.search-box svg { color: var(--text-muted); flex-shrink: 0; }
.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .02em;
  background: var(--green);
  border: none;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  overflow: visible;
}
.cart-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 0 0 1px rgba(212,175,55,.4), 0 12px 28px rgba(212,175,55,.38);
  color: #fff;
}
.cart-btn:active { transform: translateY(0); }
.cart-btn-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.18);
  flex-shrink: 0;
}
.cart-btn-icon svg { display: block; }
.cart-btn-label { line-height: 1; }
.cart-count {
  position: absolute;
  top: -6px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  background: var(--navy);
  color: #fff;
  border: 2px solid #fff;
  font-size: .68rem;
  font-weight: 800;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,.35);
}
.burger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 8px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: none;
  transition: all .2s;
  text-decoration: none;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--blue-soft); color: var(--navy); }
.btn-sm { padding: 8px 16px; font-size: .85rem; }
.btn-block { width: 100%; }
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  min-height: 520px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 100%);
  z-index: 0;
  overflow: hidden;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .12;
}
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 700px; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.14);
  color: #fff;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,.28);
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 800;
  color: #fff;
}
.hero p { font-size: 1.15rem; color: rgba(255,255,255,.88); margin-bottom: 32px; max-width: 560px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn-outline { color: #fff; border-color: rgba(255,255,255,.55); }
.hero .btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.2);
}
.stat-item strong { display: block; font-size: 1.5rem; color: #fff; }
.stat-item span { font-size: .85rem; color: rgba(255,255,255,.75); }
section { padding: 72px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; color: var(--navy); }
.section-header p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }
.section-label {
  display: inline-block;
  background: var(--blue-soft);
  color: var(--navy);
  padding: 8px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: 16px;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(46, 117, 182, .35); box-shadow: var(--shadow); }
.card-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: .9rem; }
.book-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, border-color .2s;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.book-card:hover { transform: translateY(-4px); border-color: rgba(46, 117, 182, .35); box-shadow: var(--shadow); }
.book-card-media { display: block; background: #fff; }
.book-card img { width: 100%; aspect-ratio: 2/3; object-fit: cover; background: var(--bg-elevated); }
.book-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.book-card-body h3 { font-size: 1rem; margin-bottom: 4px; line-height: 1.3; color: var(--navy); }
.book-author { color: var(--text-muted); font-size: .85rem; margin-bottom: 8px; }
.book-desc { color: var(--text-muted); font-size: .8rem; margin-bottom: 12px; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.book-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.book-price { font-weight: 700; color: var(--green-dark); font-size: 1.1rem; }
.book-rating {
  color: var(--orange);
  font-size: .85rem;
  font-weight: 700;
}
.carousel-wrap { position: relative; overflow: hidden; }
.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform .4s ease;
  padding: 8px 0;
  min-height: 430px;
}
.carousel-track:empty::after {
  content: '';
  display: block;
  min-width: 100%;
  min-height: 414px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--bg-elevated) 25%, #eef3f8 50%, var(--bg-elevated) 75%);
  background-size: 200% 100%;
}
.carousel-track .book-card { min-width: 220px; max-width: 220px; flex-shrink: 0; }
.book-card-skeleton {
  min-height: 414px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--bg-elevated) 25%, #eef3f8 50%, var(--bg-elevated) 75%);
  background-size: 200% 100%;
  border-style: dashed;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background .2s;
}
.carousel-btn:hover { background: var(--blue); color: #fff; }
.carousel-btn.prev { left: -8px; }
.carousel-btn.next { right: -8px; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.why-item {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.why-item .icon { font-size: 2.5rem; margin-bottom: 16px; }
.why-item h3 { margin-bottom: 8px; }
.why-item p { color: var(--text-muted); font-size: .9rem; }
.benefits-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.benefit-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  flex: 1;
  min-width: 200px;
  max-width: 280px;
}
.benefit-step .num {
  width: 36px;
  height: 36px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 12px;
}
.benefit-arrow { color: var(--green); font-size: 1.5rem; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.review-header img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.review-name { font-weight: 600; }
.review-age { color: var(--text-muted); font-size: .85rem; }
.review-stars { color: var(--orange); margin-bottom: 12px; }
.review-text { color: var(--text-muted); font-size: .9rem; font-style: italic; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s;
}
.blog-card:hover { border-color: var(--green); }
.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
  background: var(--bg-elevated);
}
.review-header img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-elevated);
}
.blog-card img {
  width: 100%;
  height: 180px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--bg-elevated);
}
.blog-card-body { padding: 20px; }
.blog-tag { color: var(--green); font-size: .75rem; font-weight: 600; text-transform: uppercase; margin-bottom: 8px; }
.blog-card h3 { font-size: 1rem; margin-bottom: 8px; line-height: 1.4; }
.blog-meta { color: var(--text-muted); font-size: .8rem; }
.lead-banner {
  background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 100%);
  border: none;
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
}
.lead-banner h2 { font-size: 1.8rem; margin-bottom: 12px; color: #fff; }
.lead-banner p { color: rgba(255,255,255,.85); margin-bottom: 20px; }
.lead-magnet-img {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
}
.lead-form { display: flex; flex-wrap: wrap; gap: 12px; }
.lead-form input {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: .95rem;
}
.lead-form input:focus { outline: 2px solid var(--green); }
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}
.filters {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.filters h3 { font-size: 1rem; margin-bottom: 16px; color: var(--navy); }
.filter-group { margin-bottom: 20px; }
.filter-group h4 { font-size: .85rem; color: var(--text-muted); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .05em; }
.filter-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  cursor: pointer;
  font-size: .9rem;
  color: var(--text-muted);
}
.filter-group label:hover { color: var(--text); }
.filter-group input[type="checkbox"],
.filter-group input[type="radio"] { accent-color: var(--green); }
.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.shop-toolbar select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: .9rem;
}
.results-count { color: var(--text-muted); font-size: .9rem; }
.product-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.product-image {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.product-image img { width: 100%; aspect-ratio: 2/3; object-fit: cover; }
.product-info h1 { font-size: 2rem; margin-bottom: 8px; }
.product-author { color: var(--text-muted); margin-bottom: 16px; }
.product-rating { color: var(--orange); margin-bottom: 16px; }
.product-price { font-size: 2rem; font-weight: 700; color: var(--green-dark); margin-bottom: 24px; }
.product-desc { color: var(--text-muted); margin-bottom: 24px; line-height: 1.7; }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.product-meta {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
}
.product-meta h3 { font-size: 1rem; margin-bottom: 12px; color: var(--navy); }
.product-meta p { color: var(--text-muted); font-size: .9rem; }
.related-section { margin-top: 64px; }
.related-section h2 { margin-bottom: 24px; }
.quiz-hero { text-align: center; padding: 64px 0 48px; background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 100%); color: #fff; }
.quiz-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
  color: #fff;
}
.quiz-hero p {
  color: rgba(255, 255, 255, .88);
  max-width: 640px;
  margin: 0 auto 32px;
}
.quiz-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}
.quiz-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color .2s, box-shadow .2s;
  box-shadow: var(--shadow-sm);
}
.quiz-card:hover { border-color: rgba(46, 117, 182, .35); box-shadow: var(--shadow); }
.quiz-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.quiz-card .meta { color: var(--text-muted); font-size: .85rem; margin-bottom: 16px; }
.quiz-card p { color: var(--text-muted); margin-bottom: 24px; font-size: .95rem; }
.quiz-container {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.quiz-progress {
  height: 6px;
  background: var(--bg-elevated);
  border-radius: 3px;
  margin-bottom: 32px;
  overflow: hidden;
}
.quiz-progress-bar {
  height: 100%;
  background: var(--green);
  border-radius: 3px;
  transition: width .3s;
}
.quiz-question { font-size: 1.2rem; font-weight: 600; margin-bottom: 24px; }
.quiz-options { display: flex; flex-direction: column; gap: 12px; }
.quiz-option {
  background: var(--bg-elevated);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  cursor: pointer;
  transition: all .2s;
  text-align: left;
  color: var(--text);
  font-size: .95rem;
}
.quiz-option:hover { border-color: var(--green); }
.quiz-option.correct { border-color: var(--green); background: var(--blue-soft); }
.quiz-option.wrong { border-color: var(--red); background: rgba(239,68,68,.1); }
.quiz-explanation {
  margin-top: 20px;
  padding: 16px;
  background: rgba(39,174,96,.1);
  border-left: 3px solid var(--green);
  border-radius: 0 8px 8px 0;
  font-size: .9rem;
  color: var(--text-muted);
}
.quiz-result { text-align: center; }
.quiz-result h2 { font-size: 2rem; margin-bottom: 12px; }
.quiz-score { font-size: 3rem; font-weight: 800; color: var(--green); margin-bottom: 16px; }
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-text h2 { font-size: 1.8rem; margin-bottom: 20px; }
.about-text p { color: var(--text-muted); margin-bottom: 16px; }
.values-list { list-style: none; margin-top: 24px; }
.values-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}
.values-list li::before { content: '✓'; color: var(--green); font-weight: 700; }
.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}
.story-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.story-card img { width: 100%; height: 200px; object-fit: cover; }
.story-card-body { padding: 24px; }
.story-card h3 { margin-bottom: 12px; }
.story-card p { color: var(--text-muted); font-size: .95rem; }
.age-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.age-filter button {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 50px;
  cursor: pointer;
  font-size: .85rem;
  transition: all .2s;
}
.age-filter button.active, .age-filter button:hover {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
}
.blog-search {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.blog-search input {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  margin-bottom: 16px;
}
.blog-search h3 { font-size: 1rem; margin-bottom: 12px; }
.blog-categories a {
  display: block;
  padding: 8px 0;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
}
.blog-categories a:hover { color: var(--green); }
.article-content { max-width: 760px; }
.article-content h1 { font-size: 2rem; margin-bottom: 16px; }
.article-meta { color: var(--text-muted); margin-bottom: 32px; font-size: .9rem; }
.article-content p { color: var(--text-muted); margin-bottom: 16px; line-height: 1.8; }
.article-content h2 { margin: 32px 0 16px; font-size: 1.4rem; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-info h2 { margin-bottom: 24px; }
.contact-item { margin-bottom: 20px; }
.contact-item strong { display: block; color: var(--blue); margin-bottom: 4px; }
.contact-item a { color: var(--text-muted); }
.contact-item a:hover { color: var(--green); }
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 24px;
}
.map-wrap iframe { width: 100%; height: 300px; border: 0; display: block; }
.map-load-btn { width: 100%; min-height: 120px; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: .95rem;
  margin-bottom: 16px;
  font-family: inherit;
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus { outline: 2px solid var(--green); }
.legal-content { max-width: 800px; margin: 0 auto; padding: 48px 20px; }
.legal-content h1 { font-size: 2rem; margin-bottom: 8px; }
.legal-content .updated { color: var(--text-muted); margin-bottom: 32px; font-size: .9rem; }
.legal-content h2 { font-size: 1.3rem; margin: 32px 0 12px; color: var(--navy); }
.legal-content p, .legal-content li { color: var(--text-muted); margin-bottom: 12px; line-height: 1.7; }
.legal-content ul { padding-left: 24px; margin-bottom: 16px; }
.cart-page-wrap { max-width: 720px; margin: 0 auto; }
.cart-page { max-width: 800px; margin: 0 auto; }
.cart-section-title { font-size: 1.2rem; margin-bottom: 20px; color: var(--navy); }
.cart-items-block { margin-bottom: 32px; }
.cart-loading { color: var(--text-muted); }
.cart-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.cart-item img { width: 80px; height: 100px; object-fit: cover; border-radius: 8px; }
.cart-item-info { flex: 1; }
.cart-item-info h3 { font-size: 1rem; margin-bottom: 4px; }
.cart-item-price { color: var(--green-dark); font-weight: 600; }
.cart-item-qty { color: var(--text-muted); font-size: .85rem; margin-top: 4px; }
.cart-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(181, 57, 57, .35);
  background: #fff5f5;
  color: var(--red);
  font-size: .85rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .15s;
  white-space: nowrap;
  flex-shrink: 0;
}
.cart-remove:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: translateY(-1px);
}
.cart-remove:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
.cart-total { text-align: left; padding: 0 0 20px; font-size: 1.3rem; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.cart-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.cart-form-card h2 { font-size: 1.2rem; margin-bottom: 8px; }
.cart-form-note { color: var(--text-muted); font-size: .9rem; margin-bottom: 20px; }
.cart-empty { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.site-footer {
  background: var(--footer-bg);
  border-top: none;
  padding: 56px 0 24px;
  margin-top: 60px;
  color: rgba(255,255,255,.78);
}
.site-footer a { color: rgba(255,255,255,.88); }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p { color: rgba(255,255,255,.65); font-size: .9rem; margin-top: 12px; max-width: 280px; }
.footer-col h4 { font-size: .9rem; margin-bottom: 16px; color: #fff; text-transform: uppercase; letter-spacing: .05em; }
.footer-col a {
  display: block;
  color: rgba(255,255,255,.78);
  font-size: .875rem;
  padding: 4px 0;
}
.footer-col a:hover { color: #fff; }
.footer-map {
  display: grid;
  grid-template-columns: minmax(200px, 280px) 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-map-info h4 {
  font-size: .9rem;
  margin-bottom: 10px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.footer-map-info p {
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  margin-bottom: 12px;
}
.footer-map-info a {
  font-size: .875rem;
  font-weight: 600;
  color: rgba(255,255,255,.88);
}
.footer-map-info a:hover { color: #fff; }
.footer-map-wrap {
  margin-top: 0;
  min-height: 220px;
  background: rgba(255,255,255,.06);
}
.footer-map-wrap iframe { height: 220px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.footer-bottom p { color: rgba(255,255,255,.55); font-size: .8rem; }
.footer-payments img { height: 32px; opacity: .8; }
.social-links { display: flex; gap: 12px; margin-top: 16px; }
.social-links a {
  width: 36px;
  height: 36px;
  background: var(--bg-elevated);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: .85rem;
  font-weight: 600;
}
.social-links a:hover { background: var(--blue); color: #fff; }
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.trust-badge {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: .75rem;
  font-weight: 600;
}
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 20px;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform .3s;
  box-shadow: var(--shadow);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cookie-inner p { color: var(--text-muted); font-size: .9rem; flex: 1; min-width: 280px; }
.cookie-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.ai-assistant {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9998;
}
.ai-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(39,174,96,.4);
  transition: transform .2s;
  font-size: 1.5rem;
}
.ai-toggle:hover { transform: scale(1.05); }
.ai-chat {
  position: absolute;
  bottom: 68px;
  right: 0;
  width: 360px;
  max-height: 480px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.ai-chat.open { display: flex; }
.ai-chat-header {
  background: var(--navy);
  color: #fff;
  padding: 16px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ai-chat-header button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: #fff;
}
.ai-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 320px;
}
.ai-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: .875rem;
  line-height: 1.5;
}
.ai-msg.bot {
  background: var(--bg-elevated);
  color: var(--text-muted);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.ai-msg.user {
  background: var(--blue-soft);
  color: var(--navy);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.ai-input-wrap {
  display: flex;
  padding: 12px;
  border-top: 1px solid var(--border);
  gap: 8px;
}
.ai-input-wrap input {
  flex: 1;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: .875rem;
}
.ai-input-wrap button {
  background: var(--green);
  border: none;
  border-radius: 8px;
  padding: 0 14px;
  cursor: pointer;
  color: #fff;
  font-weight: 600;
}
.page-header {
  padding: 56px 0 40px;
  background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 100%);
  text-align: center;
  color: #fff;
}
.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 12px;
  color: #fff;
}
.page-header p {
  color: rgba(255, 255, 255, .88);
  max-width: 600px;
  margin: 0 auto;
}
.page-header .section-label {
  background: rgba(255,255,255,.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
}
.toast {
  position: fixed;
  bottom: 100px;
  right: 24px;
  background: var(--navy);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  z-index: 10000;
  transform: translateX(120%);
  transition: transform .3s;
}
.toast.show { transform: translateX(0); }
@media (max-width: 875px) {
  .nav-main {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg-card);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    z-index: 1001;
    box-shadow: 0 12px 32px rgba(0,0,0,.35);
  }
  .nav-main.open { display: flex; }
  .burger { display: block; }
  .search-box { display: none; }
  .cart-btn { padding: 8px 10px; }
  .cart-btn-label { display: none; }
  .logo img { height: 40px; }
}
@media (max-width: 992px) {
  .shop-layout, .blog-layout, .product-page, .about-content, .contact-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .filters, .blog-search { position: static; }
}
@media (max-width: 768px) {
  .logo img { height: 36px; }
  .footer-map { grid-template-columns: 1fr; }
  .footer-map-wrap iframe { height: 200px; }
  .hero { padding: 48px 0 64px; }
  .lead-banner { padding: 32px 24px; }
  .quiz-container { padding: 24px; }
  .ai-chat { width: calc(100vw - 48px); right: -8px; }
  .carousel-btn { display: none; }
  .benefit-arrow { display: none; }
}
@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; }
  .cart-item { flex-direction: column; text-align: center; }
  .cart-remove { width: 100%; max-width: 200px; }
}
button.blog-card {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  color: inherit;
  font: inherit;
  transition: border-color .2s, transform .2s;
}
button.blog-card:hover { border-color: var(--green); transform: translateY(-2px); }
.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(39,174,96,.12);
  border: 1px solid rgba(39,174,96,.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--green);
}
.why-item .feature-icon { margin: 0 auto 16px; }
.social-links-text { margin-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.social-links-text a {
  color: rgba(255,255,255,.65);
  font-size: .8rem;
  word-break: break-all;
}
.social-links-text a:hover { color: #fff; }
.payment-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.payment-icons img {
  height: 24px;
  width: 72px;
  object-fit: contain;
  border-radius: 4px;
  background: #fff;
  display: block;
}
.footer-company {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 24px 0;
  margin-bottom: 0;
}
.footer-company p {
  color: rgba(255,255,255,.65);
  font-size: .85rem;
  margin-bottom: 4px;
}
.footer-company a { color: rgba(255,255,255,.65); }
.footer-company a:hover { color: #fff; }
.footer-bottom {
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  width: 100%;
  box-shadow: var(--shadow);
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover { background: var(--green); color: #fff; }
.blog-modal { max-width: 760px; }
.product-modal { max-width: 920px; }
.product-modal-inner {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: 0;
}
.product-modal-image {
  background: #fff;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.product-modal-image img {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 2/3;
  object-fit: contain;
}
.product-modal-body {
  padding: 28px 32px 32px;
}
.product-modal-body h2 {
  font-size: 1.6rem;
  margin-bottom: 8px;
  line-height: 1.3;
  color: var(--navy);
  padding-right: 40px;
}
.product-modal-loading {
  grid-column: 1 / -1;
  padding: 48px 32px;
  text-align: center;
  color: var(--text-muted);
}
.blog-modal-img-wrap img { width: 100%; height: auto; max-height: 280px; object-fit: cover; }
.blog-modal-body { padding: 28px 32px 32px; }
.blog-modal-body h2 { font-size: 1.5rem; margin-bottom: 8px; line-height: 1.3; }
.blog-modal-body .article-content p { color: var(--text-muted); margin-bottom: 14px; line-height: 1.7; }
.blog-modal-body .article-content h2 { font-size: 1.15rem; margin: 20px 0 10px; color: var(--text); }
.thankyou-modal {
  max-width: 420px;
  padding: 40px 32px;
  text-align: center;
}
.thankyou-icon {
  width: 72px;
  height: 72px;
  background: var(--blue-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--green);
}
.thankyou-modal h2 { font-size: 1.4rem; margin-bottom: 12px; }
.thankyou-modal p { color: var(--text-muted); font-size: .95rem; }
.ai-toggle svg { width: 24px; height: 24px; }
@media (max-width: 768px) {
  .blog-modal-body { padding: 20px; }
  .blog-modal-img-wrap img { max-height: 200px; }
  .product-modal-inner { grid-template-columns: 1fr; }
  .product-modal-image { padding: 16px; }
  .product-modal-image img { max-width: 200px; margin: 0 auto; }
  .product-modal-body { padding: 20px; }
  .footer-bottom { align-items: flex-start; }
}
@media (max-width: 480px) {
  .modal-overlay { padding: 12px; align-items: flex-end; }
  .modal { max-height: 92vh; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
  .thankyou-modal { padding: 32px 24px; }
}
