:root {
  --forest: #1B4D3E;
  --forest-dark: #143D31;
  --forest-light: #2A6B57;
  --gold: #C9A227;
  --gold-dark: #8B6914;
  --gold-light: #E8D48B;
  --cream: #FAF8F5;
  --cream-dark: #F0EBE3;
  --white: #FFFFFF;
  --text: #1A2B28;
  --text-muted: #4A5C56;
  --sage: #E8F0ED;
  --border: #DDE5E2;
  --shadow: 0 4px 24px rgba(27, 77, 62, 0.08);
  --shadow-lg: 0 12px 48px rgba(27, 77, 62, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --font: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  min-width: 0;
}

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

a { color: var(--forest); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--forest-light); }
p a:not(.btn),
.legal-content a,
.article-content a,
.article-page a:not(.btn):not(.article-back),
.blog-modal-content a,
.form-check label a,
.footer-return-policy a,
.cookie-inner a {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.25; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--forest);
  color: var(--white);
}
.btn-primary:hover { background: var(--forest-dark); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #B8921F);
  color: var(--white);
}
.btn-gold:hover { color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-outline {
  background: transparent;
  color: var(--forest);
  border: 2px solid var(--forest);
}
.btn-outline:hover { background: var(--forest); color: var(--white); }

.btn-sm { padding: 10px 20px; font-size: 0.875rem; }

.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header .label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--forest);
  margin-bottom: 12px;
}
.section-header p { color: var(--text-muted); max-width: 600px; margin: 0 auto; font-size: 1.05rem; line-height: 1.7; }
.section-header h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 16px; }

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--forest);
}
.logo svg { width: 36px; height: 36px; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a.active { color: var(--forest); }

.header-actions { display: flex; align-items: center; gap: 16px; }

.search-box {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 8px 16px;
  gap: 8px;
  transition: border-color var(--transition);
}
.search-box:focus-within { border-color: var(--forest); }
.search-box input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.875rem;
  width: 160px;
  font-family: var(--font);
}
.search-box svg { width: 18px; height: 18px; color: var(--text-muted); flex-shrink: 0; }

.cart-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text);
}
.cart-btn svg { width: 24px; height: 24px; }
.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--gold);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 6px 0;
  transition: var(--transition);
}

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(250,248,245,0.95) 40%, rgba(250,248,245,0.7) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding: 60px 24px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sage);
  color: var(--forest);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-badge svg { width: 16px; height: 16px; flex-shrink: 0; }
.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  margin-bottom: 20px;
  color: var(--text);
}
.hero h1 span { color: var(--forest); }
.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-stat strong { display: block; font-size: 1.5rem; font-family: var(--font-display); color: var(--forest); }
.hero-stat span { font-size: 0.85rem; color: var(--text-muted); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 20px;
  width: 100%;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--sage);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--forest);
  flex-shrink: 0;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--text); }
.card p { color: var(--text-muted); font-size: 0.925rem; line-height: 1.65; }

.products-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 8px 4px 24px;
  margin: 0 -4px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  width: 100%;
  max-width: 100%;
}
.products-carousel::-webkit-scrollbar { display: none; }

.product-card {
  flex: 0 0 min(280px, 85vw);
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  scroll-snap-align: start;
  transition: all var(--transition);
  cursor: pointer;
  min-width: 0;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.product-card-img {
  position: relative;
  height: 320px;
  background: var(--cream-dark);
  overflow: hidden;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.product-card:hover .product-card-img img { transform: scale(1.05); }

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--forest);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-card-body { padding: 20px; }
.product-card-body .author { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 6px; }
.product-card-body h3 { font-size: 1rem; font-family: var(--font); font-weight: 600; margin-bottom: 8px; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card-body .desc { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.product-price { font-weight: 700; color: var(--forest); font-size: 1.1rem; }
.product-rating { display: flex; align-items: center; gap: 4px; font-size: 0.85rem; color: var(--text-muted); }

.stars { color: var(--gold-dark); letter-spacing: 1px; }
.product-card .stars { color: var(--gold-dark); }
.review-stars.stars { color: var(--gold-dark); }

.benefits-section { background: var(--white); }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.benefit-item {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius);
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.benefit-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gold);
  border-radius: 0 0 4px 4px;
}
.benefit-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: #B8C9C3;
  position: absolute;
  top: 16px;
  right: 20px;
  line-height: 1;
  user-select: none;
  pointer-events: none;
}
.benefit-item h3 { margin: 16px 0 10px; font-size: 1.1rem; color: var(--text); }
.benefit-item p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
  width: 100%;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
}
.review-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.review-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--sage);
}
.review-name { font-weight: 600; font-size: 0.95rem; }
.review-age { font-size: 0.8rem; color: var(--text-muted); }
.review-text { color: var(--text-muted); font-size: 0.925rem; font-style: italic; line-height: 1.7; }
.review-stars { margin-top: 12px; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px;
  width: 100%;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  text-align: left;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.blog-card-actions { padding: 0 24px 20px; margin-top: auto; }
.blog-card-img { height: 200px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 24px; }
.blog-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--forest);
  background: var(--sage);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.blog-card-body h3 { font-size: 1.1rem; margin-bottom: 10px; font-family: var(--font); word-break: break-word; }
.blog-card-body p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 14px; }
.blog-meta { font-size: 0.8rem; color: var(--text-muted); }

.section .container { width: 100%; }

.cta-banner {
  background: linear-gradient(135deg, var(--forest), var(--forest-light));
  border-radius: var(--radius);
  padding: 60px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201,162,39,0.2), transparent 70%);
  border-radius: 50%;
}
.cta-banner h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 12px; color: var(--white); }
.cta-banner p { opacity: 0.85; max-width: 480px; }
.cta-form { display: flex; gap: 12px; flex-shrink: 0; }
.cta-form input {
  padding: 14px 20px;
  border-radius: 50px;
  border: none;
  font-family: var(--font);
  font-size: 0.9rem;
  min-width: 240px;
}
.cta-form input:focus { outline: 2px solid var(--gold); }

.page-hero {
  padding: 140px 0 60px;
  background: linear-gradient(180deg, var(--sage) 0%, var(--cream) 100%);
  text-align: center;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.page-hero p { color: var(--text-muted); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding: 40px 0 80px;
  width: 100%;
  min-width: 0;
}
.shop-layout > main { min-width: 0; width: 100%; }
.shop-sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
}
.filter-group { margin-bottom: 28px; }
.filter-group h4 {
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
  color: var(--forest);
}
.filter-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: color var(--transition);
}
.filter-group label:hover { color: var(--text); }
.filter-group input[type="checkbox"],
.filter-group input[type="radio"] { accent-color: var(--forest); }

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.shop-count { font-size: 0.9rem; color: var(--text-muted); }
.shop-sort select {
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.9rem;
  background: var(--white);
  cursor: pointer;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 20px;
  width: 100%;
  min-width: 0;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 43, 40, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 16px;
  padding-top: max(16px, env(safe-area-inset-top));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 900px;
  width: 100%;
  max-height: none;
  margin: auto 0;
  overflow: hidden;
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition);
}
.modal-overlay.active .modal { transform: translateY(0); }
.modal-scroll { max-height: calc(100vh - 32px); overflow-y: auto; -webkit-overflow-scrolling: touch; }

.btn-close {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  border: none;
  background: var(--cream);
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  line-height: 1;
  transition: background var(--transition), color var(--transition), transform 0.15s ease, box-shadow var(--transition);
}
.btn-close svg { width: 18px; height: 18px; display: block; }
.btn-close:hover {
  background: var(--forest);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(27, 77, 62, 0.22);
}
.btn-close:active { transform: scale(0.92); }
.btn-close:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
}

.modal-content { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.modal-img { background: var(--cream-dark); min-height: 280px; max-height: 50vh; }
.modal-img img { width: 100%; height: 100%; object-fit: cover; max-height: 50vh; }
.modal-info { padding: 28px 24px; }
.modal-info .author { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 8px; }
.modal-info h2 { font-size: 1.5rem; margin-bottom: 12px; }
.modal-info .rating-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.modal-info .price { font-size: 1.5rem; font-weight: 700; color: var(--forest); margin-bottom: 20px; }
.modal-info .desc { color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; }
.modal-section { margin-bottom: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.modal-section h4 { font-family: var(--font); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; color: var(--forest); }
.modal-section p { font-size: 0.9rem; color: var(--text-muted); }
.modal-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

.similar-books { padding: 20px 24px 28px; border-top: 1px solid var(--border); }
.similar-books h4 { font-size: 1rem; margin-bottom: 16px; }
.similar-row { display: flex; gap: 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }

.checkout-overlay {
  align-items: center;
  padding: 16px;
}
.checkout-modal {
  max-width: 560px;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(26, 43, 40, 0.2);
}
.checkout-modal .modal-close {
  top: 14px;
  right: 14px;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.checkout-modal .modal-close:hover {
  background: var(--forest);
  color: var(--white);
}
.checkout-modal-scroll {
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 28px 28px 32px;
}
.checkout-modal-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
  padding-right: 36px;
}
.checkout-modal-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--sage);
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.checkout-modal-icon svg { width: 24px; height: 24px; }
.checkout-modal-header h2 {
  font-size: 1.35rem;
  margin-bottom: 6px;
  line-height: 1.3;
}
.checkout-modal-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.checkout-summary {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 24px;
}
.checkout-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.checkout-summary-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--forest);
}
.checkout-summary-count {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.checkout-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.checkout-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.checkout-item:last-child { border-bottom: none; padding-bottom: 0; }
.checkout-item-main { flex: 1; min-width: 0; }
.checkout-item-name {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 2px;
}
.checkout-item-meta { font-size: 0.8rem; color: var(--text-muted); }
.checkout-item-price {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--forest);
  white-space: nowrap;
  flex-shrink: 0;
}
.checkout-single-name {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 12px;
}
.checkout-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
}
.checkout-total strong {
  font-size: 1.15rem;
  color: var(--forest);
}

.checkout-form { display: flex; flex-direction: column; gap: 0; }
.checkout-form .form-group { margin-bottom: 16px; }
.checkout-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 0;
}
.checkout-form .form-row .form-group { margin-bottom: 16px; }
.checkout-form textarea { min-height: 88px; resize: vertical; }
.checkout-form .label-optional {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.8rem;
}
.checkout-submit { width: 100%; padding: 15px 24px; font-size: 1rem; }
.checkout-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 14px 0 0;
  line-height: 1.5;
}

.thanks-modal { max-width: 440px; text-align: center; }
.thanks-modal .modal-info { padding: 48px 32px; }
.thanks-icon {
  width: 72px;
  height: 72px;
  background: var(--sage);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--forest);
}
.thanks-icon svg { width: 36px; height: 36px; }
.thanks-modal h2 { margin-bottom: 12px; font-size: 1.5rem; }
.thanks-modal p { color: var(--text-muted); margin-bottom: 24px; }

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: min(400px, 100vw);
  height: 100vh;
  height: 100dvh;
  background: var(--white);
  z-index: 2100;
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform var(--transition);
  display: flex;
  flex-direction: column;
}
.cart-sidebar.active { transform: translateX(0); }
.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.cart-header h3 {
  font-size: 1.2rem;
  font-family: var(--font-display);
  margin: 0;
  color: var(--forest);
}
.cart-close:hover { background: var(--forest); color: var(--white); }
.cart-items { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item img { width: 60px; height: 80px; object-fit: cover; border-radius: 6px; }
.cart-item-info { flex: 1; }
.cart-item-info h4 { font-size: 0.9rem; font-family: var(--font); margin-bottom: 4px; }
.cart-item-info .price { font-weight: 600; color: var(--forest); font-size: 0.9rem; }
.cart-item-remove { background: none; border: none; cursor: pointer; color: var(--text-muted); font-size: 1.2rem; }
.cart-footer {
  padding: 20px 24px max(20px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  background: var(--cream);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 14px;
  padding: 12px 14px;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--border);
}
.cart-footer .btn { padding: 14px 20px; font-size: 0.95rem; }
.cart-empty { text-align: center; padding: 40px; color: var(--text-muted); }

.quiz-container { max-width: 720px; margin: 0 auto; padding: 40px 24px 80px; }
.quiz-select { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 48px; }
.quiz-option {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}
.quiz-option:hover, .quiz-option.selected { border-color: var(--forest); box-shadow: var(--shadow); }
.quiz-option h3 { margin: 16px 0 8px; font-size: 1.15rem; }
.quiz-option p { color: var(--text-muted); font-size: 0.9rem; }
.quiz-icon {
  width: 64px;
  height: 64px;
  background: var(--sage);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: var(--forest);
}
.quiz-icon svg { width: 30px; height: 30px; }

.quiz-progress {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  margin-bottom: 32px;
  overflow: hidden;
}
.quiz-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--forest), var(--gold));
  border-radius: 3px;
  transition: width 0.4s ease;
}

.quiz-question {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
.quiz-question h3 { font-size: 1.2rem; margin-bottom: 24px; font-family: var(--font); }
.quiz-answers { display: flex; flex-direction: column; gap: 12px; }
.quiz-answer {
  padding: 16px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  font-size: 0.95rem;
  background: var(--cream);
}
.quiz-answer:hover { border-color: var(--forest-light); }
.quiz-answer.correct { border-color: #2A8F5A; background: #E8F5EE; }
.quiz-answer.wrong { border-color: #C44; background: #FDECEC; }
.quiz-explanation {
  margin-top: 16px;
  padding: 16px;
  background: var(--sage);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-muted);
  display: none;
}
.quiz-explanation.show { display: block; }

.quiz-result {
  text-align: center;
  padding: 48px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.quiz-score { font-family: var(--font-display); font-size: 4rem; color: var(--forest); margin-bottom: 8px; }
.quiz-result h2 { margin-bottom: 12px; }
.quiz-result p { color: var(--text-muted); margin-bottom: 24px; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-content h2 { font-size: 2rem; margin-bottom: 20px; }
.about-content p { color: var(--text-muted); margin-bottom: 16px; line-height: 1.8; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.value-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.value-card .icon {
  width: 56px;
  height: 56px;
  background: var(--sage);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--forest);
}
.value-card .icon svg { width: 26px; height: 26px; }

.story-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
.story-card h3 { margin-bottom: 12px; color: var(--forest); }
.story-card p { color: var(--text-muted); line-height: 1.8; }

.age-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; justify-content: center; }
.age-btn {
  padding: 10px 20px;
  border: 2px solid var(--border);
  border-radius: 50px;
  background: var(--white);
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition);
}
.age-btn:hover, .age-btn.active { border-color: var(--forest); background: var(--forest); color: var(--white); }

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.legal-content h2 { font-size: 1.5rem; margin: 32px 0 16px; color: var(--forest); }
.legal-content h3 { font-size: 1.15rem; margin: 24px 0 12px; }
.legal-content p, .legal-content li { color: var(--text-muted); line-height: 1.8; margin-bottom: 12px; }
.legal-content ul { padding-left: 24px; margin-bottom: 16px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 40px 0 80px;
}
.contact-info h3 { margin-bottom: 20px; }
.contact-item { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-item .icon {
  width: 44px;
  height: 44px;
  background: var(--sage);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--forest);
  flex-shrink: 0;
}
.contact-item .icon svg { width: 20px; height: 20px; }
.contact-form { background: var(--white); padding: 40px; border-radius: var(--radius); border: 1px solid var(--border); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  background: var(--cream);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--forest);
  background: var(--white);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-check { display: flex; align-items: flex-start; gap: 12px; font-size: 0.85rem; color: var(--text-muted); }
.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  padding: 0;
  margin: 2px 0 0;
  flex-shrink: 0;
  accent-color: var(--forest);
  cursor: pointer;
}
.form-check label {
  flex: 1;
  margin-bottom: 0;
  font-weight: 400;
  line-height: 1.55;
  cursor: pointer;
}
.form-check a { color: var(--forest); font-weight: 500; }

.form-success {
  display: none;
  text-align: center;
  padding: 32px;
  background: var(--sage);
  border-radius: var(--radius);
  color: var(--forest);
  font-weight: 600;
}

.footer {
  background: var(--forest-dark);
  color: rgba(255,255,255,0.8);
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand .logo { color: var(--white); margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; color: rgba(255,255,255,0.92); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background var(--transition);
}
.footer-social a:hover { background: var(--gold); color: var(--white); }
.footer h4 { color: var(--white); font-family: var(--font); font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
.footer-links a { display: block; color: rgba(255,255,255,0.7); font-size: 0.9rem; padding: 6px 0; transition: color var(--transition); }
.footer-links a:hover { color: var(--gold-light); }
.footer-contact p { font-size: 0.9rem; margin-bottom: 10px; }
.footer-contact a { color: rgba(255,255,255,0.8); }
.footer-contact a:hover { color: var(--gold-light); }

.footer-return-policy {
  padding: 28px 0 36px;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}
.footer-return-policy h4 {
  color: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.footer-return-policy p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 900px;
  margin-bottom: 12px;
}
.footer-return-policy a {
  color: var(--gold-light);
  font-size: 0.9rem;
  font-weight: 600;
}
.footer-return-policy a:hover { color: var(--white); }

.footer-map { width: 100%; overflow: hidden; margin-bottom: 32px; }
.footer-map iframe { width: 100%; height: 240px; border: none; filter: grayscale(30%); display: block; }

.footer-company-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-company-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-company-info strong {
  color: var(--white);
  font-size: 1rem;
  font-family: var(--font-display);
}
.footer-company-info span { font-size: 0.88rem; }
.footer-payments { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.footer-payments-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.55);
}
.payment-badges {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.payment-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 6px;
  background: rgba(255,255,255,0.96);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}
.payment-badge--visa {
  color: #1A1F71;
  font-style: italic;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  padding: 7px 14px;
}
.payment-badge--mc {
  color: #252525;
  font-size: 0.72rem;
  font-weight: 600;
  gap: 5px;
}
.payment-badge-mc-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}
.payment-badge-mc-dot--red { background: #EB001B; }
.payment-badge-mc-dot--orange {
  background: #F79E1B;
  margin-left: -7px;
}
.payment-badge--paypal {
  color: #003087;
  font-size: 0.82rem;
  font-weight: 700;
}
.payment-badge--paypal span { color: #005EA6; }

.footer-bottom {
  padding: 20px 0 28px;
  text-align: center;
}
.footer-bottom p { font-size: 0.85rem; color: rgba(255,255,255,0.65); }

.ai-chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2900;
  font-family: var(--font);
}
.ai-chat-widget.cookie-visible { bottom: 100px; }
.ai-chat-toggle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--forest), var(--forest-dark));
  color: var(--white);
  box-shadow: 0 8px 28px rgba(27,77,62,0.45);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.ai-chat-toggle:hover { transform: scale(1.05); box-shadow: 0 10px 32px rgba(27,77,62,0.55); }
.ai-chat-toggle.active { transform: scale(0.95); }
.ai-chat-toggle-icon { width: 26px; height: 26px; }
.ai-chat-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--forest-dark);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
}
.ai-chat-panel {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: min(380px, calc(100vw - 32px));
  height: 520px;
  max-height: calc(100dvh - 120px);
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
}
.ai-chat-panel[hidden] { display: none; }
.ai-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: var(--forest);
  color: var(--white);
}
.ai-chat-agent { display: flex; align-items: center; gap: 12px; }
.ai-chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--forest-dark);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.ai-chat-agent strong { display: block; font-size: 0.95rem; }
.ai-chat-agent span { font-size: 0.75rem; opacity: 0.85; }
.ai-chat-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  padding: 4px;
}
.ai-chat-close:hover { opacity: 1; }
.ai-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--cream);
}
.ai-chat-msg { display: flex; gap: 8px; max-width: 92%; }
.ai-chat-msg--user { align-self: flex-end; }
.ai-chat-msg--user .ai-chat-msg-bubble {
  background: var(--forest);
  color: var(--white);
  border-radius: 16px 16px 4px 16px;
}
.ai-chat-msg--agent { align-self: flex-start; }
.ai-chat-msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--forest-dark);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.ai-chat-msg-bubble {
  padding: 10px 14px;
  background: var(--white);
  border-radius: 4px 16px 16px 16px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.ai-chat-typing .ai-chat-msg-bubble {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 14px 18px;
}
.ai-chat-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: aiChatDot 1.2s infinite ease-in-out;
}
.ai-chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.ai-chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes aiChatDot {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}
.ai-chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  background: var(--white);
}
.ai-chat-quick-btn {
  padding: 6px 12px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: var(--cream);
  font-size: 0.75rem;
  font-family: var(--font);
  color: var(--forest);
  cursor: pointer;
  transition: all var(--transition);
}
.ai-chat-quick-btn:hover {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}
.ai-chat-form {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--border);
  background: var(--white);
}
.ai-chat-form input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-family: var(--font);
  font-size: 0.88rem;
  background: var(--cream);
}
.ai-chat-form input:focus { outline: none; border-color: var(--forest); }
.ai-chat-send {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--forest);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition);
}
.ai-chat-send:hover { background: var(--forest-dark); }
.ai-chat-send svg { width: 18px; height: 18px; }

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  z-index: 3000;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.1);
  transform: translateY(100%);
  transition: transform var(--transition);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-inner p { font-size: 0.9rem; color: var(--text-muted); flex: 1; min-width: 280px; }
.cookie-btns { display: flex; gap: 12px; flex-shrink: 0; }

.overlay-bg {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 2050;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}
.overlay-bg.active { opacity: 1; visibility: visible; }

.trust-bar {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 32px 20px;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  width: 100%;
  overflow: hidden;
}
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--forest); font-weight: 500; }
.trust-item svg { width: 20px; height: 20px; color: var(--forest); flex-shrink: 0; }

.blog-search {
  max-width: 500px;
  margin: 0 auto 40px;
  display: flex;
  gap: 12px;
}
.blog-search input {
  flex: 1;
  padding: 14px 20px;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-family: var(--font);
  font-size: 0.95rem;
  background: var(--white);
}
.blog-search input:focus { outline: none; border-color: var(--forest); }

.article-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.article-content h2 { font-size: 1.5rem; margin: 32px 0 16px; color: var(--forest); }
.article-content p { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.article-content img { border-radius: var(--radius); margin: 24px 0; }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px; color: var(--text-muted); font-size: 0.85rem; margin-bottom: 20px; }

.blog-modal { max-width: 760px; width: 100%; }
.blog-modal-hero { height: 220px; overflow: hidden; background: var(--cream-dark); }
.blog-modal-hero img { width: 100%; height: 100%; object-fit: cover; }
.blog-modal-body { padding: 28px 28px 32px; }
.blog-modal-keypoints {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 20px 0 24px;
}
.blog-keypoint {
  background: var(--sage);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--forest);
}
.blog-keypoint strong { display: block; margin-bottom: 4px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px; }
.blog-modal-extended {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.blog-modal-extended h3 {
  font-size: 1rem;
  color: var(--forest);
  margin-bottom: 14px;
  font-family: var(--font-display);
}
.blog-card-link { text-decoration: none; color: inherit; display: block; height: 100%; }
.blog-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.blog-preview-btn {
  padding: 8px 14px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 0.78rem;
  font-family: var(--font);
  color: var(--forest);
  cursor: pointer;
  transition: all var(--transition);
}
.blog-preview-btn:hover { background: var(--forest); color: var(--white); border-color: var(--forest); }
.article-page { max-width: 760px; margin: 0 auto; padding: 0 24px 64px; }
.article-page-hero { margin-bottom: 28px; border-radius: var(--radius); overflow: hidden; }
.article-page-hero img { width: 100%; height: auto; max-height: 400px; object-fit: cover; display: block; }
.article-page h1 { font-size: clamp(1.75rem, 4vw, 2.25rem); margin: 16px 0; line-height: 1.25; }
.article-page .article-content h2 { font-size: 1.35rem; margin: 32px 0 14px; color: var(--forest); }
.article-page .article-content p { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.article-back { display: inline-flex; align-items: center; gap: 8px; color: var(--forest); font-weight: 600; margin-bottom: 20px; font-size: 0.9rem; }
.article-back:hover { color: var(--gold); }
.blog-modal-body h2 { font-size: clamp(1.25rem, 4vw, 1.75rem); margin: 12px 0 8px; line-height: 1.3; word-break: break-word; }
.blog-modal-content { color: var(--text-muted); line-height: 1.8; }
.blog-modal-content h2 { font-size: 1.15rem; margin: 24px 0 12px; color: var(--forest); font-family: var(--font-display); }
.blog-modal-content p { margin-bottom: 14px; }
.blog-modal-content a { color: var(--forest); font-weight: 500; }
.blog-modal-footer { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); }

@media (max-width: 768px) {
  .blog-modal-hero { height: 160px; }
  .blog-modal-body { padding: 20px 16px 24px; }
  .blog-modal-footer { flex-direction: column; }
  .blog-modal-footer .btn { width: 100%; }
}

@media (max-width: 1024px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .shop-layout { grid-template-columns: 1fr; gap: 24px; }
  .shop-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
  }
  .about-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .modal-content { grid-template-columns: 1fr; }
  .modal-img { min-height: 220px; max-height: 40vh; }
  .modal-info { padding: 24px 20px; }
  .modal-info h2 { font-size: 1.25rem; }
  .modal-actions { flex-direction: column; }
  .modal-actions .btn { width: 100%; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .page-hero { padding: 120px 0 48px; }
  .header-inner { padding: 0 16px; height: 64px; }
  .logo { font-size: 1.15rem; }
  .logo svg { width: 30px; height: 30px; }
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    gap: 14px;
  }
  .burger { display: block; }
  .search-box { display: none; }
  .hero { min-height: auto; padding-top: 64px; }
  .hero-content { padding: 40px 0; }
  .hero h1 { font-size: clamp(1.75rem, 7vw, 2.5rem); }
  .hero p { font-size: 1rem; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .trust-bar { gap: 20px; padding: 24px 16px; }
  .cta-banner { flex-direction: column; text-align: center; padding: 32px 20px; }
  .cta-form { flex-direction: column; width: 100%; }
  .cta-form input { min-width: auto; width: 100%; }
  .quiz-select { grid-template-columns: 1fr; }
  .quiz-question { padding: 24px 20px; }
  .quiz-container { padding: 24px 16px 56px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; padding: 32px 0 56px; }
  .contact-form { padding: 24px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .shop-layout { padding: 24px 0 56px; }
  .shop-sidebar { grid-template-columns: 1fr; padding: 16px; }
  .shop-toolbar { flex-direction: column; align-items: stretch; }
  .shop-sort select { width: 100%; }
  .products-grid { grid-template-columns: 1fr; }
  .product-card-img { height: 260px; }
  .blog-search { flex-direction: column; }
  .blog-search .btn { width: 100%; }
  .blog-card-body { padding: 20px; }
  .article-content { padding: 24px 16px 56px; }
  .legal-content { padding: 24px 16px 56px; }
  .cart-sidebar { width: 100%; }
  .checkout-modal-scroll { padding: 22px 18px 28px; }
  .checkout-modal-header { padding-right: 28px; gap: 12px; }
  .checkout-modal-header h2 { font-size: 1.2rem; }
  .checkout-form .form-row { grid-template-columns: 1fr; gap: 0; }
  .checkout-item { flex-direction: column; gap: 4px; }
  .checkout-item-price { align-self: flex-start; }
  .footer-company-bar { flex-direction: column; align-items: flex-start; }
  .footer-payments { align-items: flex-start; }
  .footer-map iframe { height: 200px; }
  .ai-chat-widget { bottom: 16px; right: 16px; }
  .ai-chat-panel { width: calc(100vw - 32px); height: min(520px, calc(100dvh - 100px)); }
  .modal-overlay { padding: 12px; align-items: center; }
  .modal { border-radius: 12px; }
  .modal-scroll { max-height: calc(100dvh - 24px); }
  .similar-books { padding: 16px 20px 24px; }
  .card { padding: 24px 20px; }
  .story-card { padding: 24px 20px; }
  .age-filter { gap: 8px; }
  .age-btn { padding: 8px 14px; font-size: 0.8rem; }
}

@media (max-width: 380px) {
  .container { padding: 0 14px; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; }
  .payment-badges { flex-wrap: wrap; }
  .ai-chat-widget.cookie-visible { bottom: 120px; }
}
