/* =========================================================
   Gifts4Girls — shared stylesheet
   Warm, sophisticated. Deep plum, dusty rose, cream.
   ========================================================= */

:root {
  --plum: #1e0a2d;
  --plum-mid: #2d1245;
  --plum-light: #3d1f5c;
  --rose: #c45c7a;
  --rose-light: #d4809a;
  --rose-pale: #f5e8ec;
  --slate: #4a5568;
  --slate-light: #718096;
  --cream: #fdf8f6;
  --white: #ffffff;
  --ink: #1a1525;
  --ink-light: #2d2540;
  --muted: #64748b;
  --border: #e8e0ec;
  --shadow: 0 4px 20px rgba(30, 10, 45, 0.10);
  --shadow-lg: 0 12px 40px rgba(30, 10, 45, 0.18);
  --radius: 12px;
  --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

a { color: inherit; text-decoration: none; }

/* ---------- Header ---------- */
header {
  background: var(--plum);
  padding: 1.1rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(196, 92, 122, 0.3);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.01em;
}

.logo-icon {
  display: inline-block;
  font-size: 1.3rem;
}

.main-nav {
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.main-nav a {
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--rose);
  border-color: var(--rose);
  color: var(--white);
}


/* ---------- Hamburger button (hidden on desktop) ---------- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-close {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  width: 40px;
  height: 40px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  -webkit-tap-highlight-color: transparent;
}

/* ---------- Hero ---------- */
.hero {
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  background: transparent;
}

.hero-kicker {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--plum);
  line-height: 1.1;
}

.hero h1 em {
  font-style: italic;
  color: var(--rose);
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 2rem;
  font-weight: 400;
}

/* ---------- CTA Buttons ---------- */
.cta-row {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.9rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.01em;
}

.cta-primary {
  background: var(--rose);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(196, 92, 122, 0.4);
}

.cta-secondary {
  background: var(--white);
  color: var(--plum);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow);
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ---------- Filter Bar ---------- */
.filter-bar {
  max-width: 1200px;
  margin: 0 auto 2.5rem;
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: grid;
  gap: 1.25rem;
}

.filter-bar h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.search-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.search-input {
  flex: 1;
  min-width: 220px;
  padding: 0.8rem 1.1rem;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--cream);
  transition: border-color 0.2s ease;
  color: var(--ink);
}

.search-input:focus {
  outline: none;
  border-color: var(--rose);
}

.sort-select {
  padding: 0.8rem 1.1rem;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  font-weight: 500;
  color: var(--ink);
}

.chip-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.chip {
  padding: 0.45rem 0.9rem;
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: 'Inter', sans-serif;
  color: var(--ink-light);
}

.chip:hover {
  border-color: var(--rose);
  color: var(--rose);
}

.chip.active {
  background: var(--plum);
  color: var(--white);
  border-color: var(--plum);
}

.results-count {
  font-size: 0.875rem;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

/* ---------- Product Grid & Card ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--rose);
}

.product-image {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}

.product-image .emoji {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
  transition: transform 0.3s ease;
}

.card:hover .emoji {
  transform: scale(1.1);
}

/* Photo variant */
.product-image.has-photo {
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.04);
}

.product-image.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.25rem;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.08));
}

.card:hover .product-image.has-photo img {
  transform: scale(1.05);
}

.product-detail .product-image.has-photo {
  background: #ffffff;
  border: 1px solid var(--border);
}

.product-detail .product-image.has-photo img {
  padding: 2rem;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.10));
}

.card-body {
  padding: 1.25rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
}

.cat-tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 0.1rem;
}

.cat-tag-large {
  font-size: 0.85rem;
  padding: 0.3rem 0.75rem;
  background: var(--rose-pale);
  border-radius: 4px;
  color: #7a2040;
}

.card-body h3 {
  font-size: 1.1rem;
  color: var(--ink);
  line-height: 1.3;
}

.card-body h3 a:hover {
  color: var(--rose);
}

.card-body p {
  color: var(--muted);
  font-size: 0.9rem;
  flex: 1;
  line-height: 1.55;
}

.meta-tag {
  background: var(--cream);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.price {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
}

.buy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.6rem 1rem;
  background: var(--rose);
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.buy-btn:hover {
  background: var(--rose-light);
  transform: translateY(-1px);
}

.buy-btn:active { transform: translateY(0); }

.buy-btn-large {
  padding: 0.9rem 1.5rem;
  font-size: 0.95rem;
}

/* ---------- Gradient palettes ---------- */
.grad-rose   { background: linear-gradient(135deg, #2d0d1a 0%, #5c1a35 100%); }
.grad-plum   { background: linear-gradient(135deg, #1a0d2d 0%, #3a1555 100%); }
.grad-teal   { background: linear-gradient(135deg, #0a2020 0%, #1a4545 100%); }
.grad-gold   { background: linear-gradient(135deg, #2d2000 0%, #5c4200 100%); }
.grad-green  { background: linear-gradient(135deg, #0a2010 0%, #1a4020 100%); }
.grad-slate  { background: linear-gradient(135deg, #1e0a2d 0%, #2d1245 100%); }
.grad-amber  { background: linear-gradient(135deg, #2d1b00 0%, #5c3a00 100%); }

/* Override: emoji on dark gradient */
.grad-rose .emoji,
.grad-plum .emoji,
.grad-teal .emoji,
.grad-gold .emoji,
.grad-green .emoji,
.grad-slate .emoji,
.grad-amber .emoji {
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
}

/* ---------- Product detail page ---------- */
.breadcrumbs {
  max-width: 1100px;
  margin: 1.5rem auto 0;
  padding: 0 1.5rem;
  font-size: 0.875rem;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
}

.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--rose); }

.product-detail {
  max-width: 1100px;
  margin: 1.5rem auto 0;
  padding: 0 1.5rem 3rem;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 1.5fr;
  gap: 3.5rem;
}

.product-detail .product-image {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  font-size: 10rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.product-detail h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 0.75rem;
}

.product-detail .price {
  font-size: 2.2rem;
  margin: 1rem 0 1.5rem;
  color: var(--plum);
}

.product-detail .lead {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.6;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

.product-detail .description {
  font-size: 1.05rem;
  color: var(--ink-light);
  margin-bottom: 1.5rem;
  line-height: 1.75;
  font-family: 'Inter', sans-serif;
}

.product-detail .buyers-guide {
  background: var(--plum);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 2rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  border-left: 4px solid var(--rose);
}

.product-detail .buyers-guide h4 {
  margin-bottom: 0.5rem;
  color: var(--rose-light);
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-detail .buyers-guide p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
  font-family: 'Inter', sans-serif;
}

.related {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.related h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

/* ---------- Quiz ---------- */
.quiz-container {
  max-width: 680px;
  margin: 2rem auto;
  padding: 2rem 1.5rem;
}

.quiz-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid var(--border);
}

.quiz-progress {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.quiz-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
}

.quiz-dot.active { background: var(--rose); }

.quiz-hint {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.quiz-step h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 0.5rem;
}

.quiz-options {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1rem;
  text-align: left;
}

.quiz-option {
  padding: 0.9rem 1.25rem;
  border-radius: 8px;
  background: var(--cream);
  border: 1.5px solid var(--border);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  text-align: left;
}

.quiz-option:hover {
  border-color: var(--rose);
  background: var(--rose-pale);
}

.quiz-option.selected {
  background: var(--plum);
  color: var(--white);
  border-color: var(--plum);
}

.quiz-controls {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
  gap: 0.75rem;
}

.quiz-back, .quiz-next {
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  border: none;
  transition: all 0.2s ease;
}

.quiz-back {
  background: var(--cream);
  color: var(--ink);
  border: 1.5px solid var(--border);
}

.quiz-next {
  background: var(--rose);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(196, 92, 122, 0.3);
  margin-left: auto;
}

.quiz-next:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ---------- Disclosure & Footer ---------- */
.disclosure {
  max-width: 900px;
  margin: 2rem auto 0;
  padding: 1.1rem 1.5rem;
  background: var(--cream);
  border-left: 4px solid var(--rose);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.875rem;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
}

footer {
  margin-top: 5rem;
  padding: 3rem 1.5rem 2rem;
  background: var(--plum);
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
}

footer h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

footer p {
  max-width: 540px;
  margin: 0 auto 1rem;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

footer a {
  color: var(--rose-light);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-nav a:hover { color: var(--rose-light); }

.copyright {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  opacity: 0.5;
  font-family: 'Inter', sans-serif;
}

/* ---------- Blog index ---------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.post-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.post-card-hero {
  aspect-ratio: 16 / 9;
  background: var(--plum);
  overflow: hidden;
}

.post-card-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card-body {
  padding: 1.5rem 1.6rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.post-card-meta {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.post-rating {
  color: var(--rose);
  font-weight: 600;
}

.post-rating small { color: var(--muted); font-weight: 400; }

.post-card h3 { font-size: 1.25rem; line-height: 1.3; }

.post-card h3 a:hover { color: var(--rose); }

.post-card p {
  color: var(--muted);
  flex: 1;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
}

.post-card-link {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--rose);
}

.post-card-link:hover { text-decoration: underline; }

/* ---------- Blog post detail ---------- */
.post-article {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.post-header { margin-bottom: 2.5rem; }
header.post-header { position: static !important; top: auto !important; z-index: auto !important; }

.post-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin: 0.75rem 0 1rem;
  letter-spacing: -0.02em;
}

.post-meta {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.875rem;
  color: var(--muted);
  flex-wrap: wrap;
  font-family: 'Inter', sans-serif;
}

.post-lead {
  font-size: 1.2rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

.post-rating-box {
  display: inline-block;
  background: var(--rose-pale);
  padding: 0.55rem 1.1rem;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #7a2040;
  border-left: 3px solid var(--rose);
}

.post-rating-box strong { color: var(--rose); font-size: 1.1rem; letter-spacing: 0.08em; margin-right: 0.4rem; }

.post-hero {
  margin: 1.5rem 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.post-hero img { width: 100%; display: block; }

.post-body {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink-light);
}

.post-body h2 {
  font-size: 1.6rem;
  margin: 2.5rem 0 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.post-body h3 { font-size: 1.25rem; margin: 2rem 0 0.75rem; }

.post-body h4 { font-size: 1.05rem; margin: 1.5rem 0 0.5rem; }

.post-body p { margin-bottom: 1.25rem; }

.post-body ul, .post-body ol {
  margin: 0 0 1.5rem 1.25rem;
  padding-left: 1rem;
}

.post-body li { margin-bottom: 0.5rem; }

.post-body a {
  color: var(--rose);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.post-body a:hover { color: var(--rose-light); }

.post-body strong { color: var(--ink); }

.post-body blockquote {
  margin: 1.5rem 0;
  padding: 0.75rem 1.5rem;
  border-left: 4px solid var(--rose);
  background: var(--rose-pale);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: #5a1530;
  font-style: italic;
}

.post-body code {
  background: var(--cream);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--plum);
  font-family: 'SF Mono', Menlo, monospace;
}

.post-body pre {
  background: var(--plum);
  color: rgba(255,255,255,0.9);
  padding: 1.25rem;
  border-radius: var(--radius);
  overflow-x: auto;
  margin: 1.5rem 0;
}

.post-body pre code { background: none; padding: 0; color: inherit; }

.post-body hr {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 2.5rem 0;
}

.post-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 1.5rem 0;
  display: block;
}

/* ---------- Review CTA on product pages ---------- */
.review-cta {
  background: var(--rose-pale);
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius);
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #7a2040;
  border-left: 3px solid var(--rose);
  font-family: 'Inter', sans-serif;
}

.review-cta a { color: #7a2040; text-decoration: underline; }
.review-cta a:hover { color: var(--plum); }

/* ---------- Add-on cards ---------- */
.addons {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.addons h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }

.addons-intro {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
}

.addons-grid { display: flex; flex-direction: column; gap: 0.65rem; }

.addon-card {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 0.9rem;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  transition: border-color 0.15s ease;
}

.addon-card:hover { border-color: var(--rose); }

.addon-emoji {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.addon-info { min-width: 0; }

.addon-info h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.1rem;
}

.addon-info p {
  font-size: 0.8rem;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
}

.addon-buy {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.addon-price {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.addon-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.8rem;
  background: var(--rose);
  color: var(--white);
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.78rem;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
  transition: background 0.15s ease;
}

.addon-btn:hover { background: var(--rose-light); }

/* ---------- FAQ section ---------- */
.faqs {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.faqs h2 { font-size: 1.3rem; margin-bottom: 1.25rem; }

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 0.6rem;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: border-color 0.15s ease;
}

.faq-item[open] { border-color: var(--rose); }

.faq-item summary {
  padding: 1rem 1.25rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--ink);
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--rose);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item summary:hover { color: var(--rose); }

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  font-family: 'Inter', sans-serif;
}

.faq-answer p { margin: 0; }

/* ---------- Cookie consent banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  z-index: 9999;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(30,10,45,0.2), 0 0 0 1px rgba(0,0,0,0.06);
  padding: 1.25rem 1.5rem;
  max-width: 680px;
  margin: 0 auto;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  line-height: 1.5;
  border: 1px solid var(--border);
}

.cookie-banner h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.cookie-banner p { color: var(--muted); margin-bottom: 1rem; }

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-cookie {
  padding: 0.65rem 1.1rem;
  border-radius: 7px;
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.15s ease;
}

.btn-cookie-primary {
  background: var(--rose);
  color: var(--white);
}

.btn-cookie-primary:hover { background: var(--rose-light); }

.btn-cookie-secondary {
  background: var(--cream);
  color: var(--ink);
  border: 1.5px solid var(--border);
}

.cookie-banner-link {
  color: var(--rose);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: underline;
  font-family: 'Inter', sans-serif;
}

/* ---------- Footer legal links ---------- */
.footer-legal {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin: 1.5rem 0 0.5rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  font-family: 'Inter', sans-serif;
}

.footer-legal a {
  color: rgba(255,255,255,0.45);
  text-decoration: underline;
}

.footer-legal a:hover { color: var(--rose-light); }

/* ---------- Static pages ---------- */
.static-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-light);
}

.static-page h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  margin-bottom: 0.5rem;
}

.static-page .updated {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 2.5rem;
}

.static-page h2 {
  font-size: 1.4rem;
  margin: 2.5rem 0 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.static-page h3 { font-size: 1.1rem; margin: 1.75rem 0 0.5rem; }

.static-page p { margin-bottom: 1.1rem; }

.static-page ul, .static-page ol { margin: 0 0 1.25rem 1.5rem; }

.static-page li { margin-bottom: 0.4rem; }

.static-page a { color: var(--rose); text-decoration: underline; }

.static-page strong { color: var(--ink); }

.static-page table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin: 1.25rem 0;
}

.static-page th {
  background: var(--cream);
  padding: 0.6rem 0.75rem;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid var(--border);
}

.static-page td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--border);
}

/* ---------- Hidden helper ---------- */
.hidden { display: none !important; }


/* ---------- Share buttons (Pinterest + WhatsApp) ---------- */
.pin-btn,
.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  transition: opacity 0.18s, transform 0.18s;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.pin-btn:hover, .wa-btn:hover { opacity: 0.82; transform: translateY(-1px); }
.pin-btn:active, .wa-btn:active { transform: translateY(0); }

.pin-btn {
  background: #e60023;
  color: #fff;
}
.wa-btn {
  background: #25d366;
  color: #fff;
}

.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.75rem;
  align-items: center;
}
.share-label {
  font-size: 0.78rem;
  color: var(--muted, #888);
  font-family: 'Inter', sans-serif;
}

@media (max-width: 768px) {
  .share-row { gap: 0.5rem; }
  .pin-btn, .wa-btn { flex: 1; justify-content: center; min-height: 44px; font-size: 0.85rem; }
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  /* Nav → hamburger overlay */
  .hamburger { display: flex; }
  .nav-close { display: flex; }
  .main-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(30, 10, 45, 0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    z-index: 1000;
    padding: 2rem;
    -webkit-overflow-scrolling: touch;
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    font-size: 1.1rem;
    padding: 0.9rem 2rem;
    width: 100%;
    max-width: 280px;
    text-align: center;
    border-radius: 10px;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Filter bar */
  .filter-bar { padding: 1rem 1.1rem; }
  .search-row { flex-direction: column; gap: 0.6rem; }
  .search-input { min-width: 0 !important; width: 100%; }
  .sort-select { width: 100%; }
  .chip-row {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .chip-row::-webkit-scrollbar { display: none; }
  .chip {
    flex-shrink: 0;
    white-space: nowrap;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }

  /* Grid */
  .grid { grid-template-columns: 1fr; }

  /* Hero */
  .hero { padding-top: 3rem; padding-bottom: 2.5rem; }
  .hero h1 { font-size: 2rem; }

  /* Product detail */
  .product-detail { grid-template-columns: 1fr; gap: 2rem; }
  .product-detail .product-image { font-size: 7rem; }
  .product-detail .buy-btn,
  .product-detail .buy-btn-large {
    width: 100%;
    justify-content: center;
    text-align: center;
    font-size: 1rem;
    padding: 1rem 1.5rem;
  }
  .cta-row { flex-direction: column; gap: 0.75rem; }

  /* Quiz */
  .quiz-options { grid-template-columns: 1fr !important; }
  .quiz-controls { flex-direction: column; gap: 0.75rem; }
  .quiz-back, .quiz-next { width: 100%; justify-content: center; text-align: center; }

  /* Cookie banner */
  .cookie-banner-actions { flex-direction: column; align-items: stretch; }
  .cookie-banner-actions .btn-cookie { width: 100%; text-align: center; }

  /* General touch targets */
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 560px) {
  .hero h1 { font-size: 1.75rem; }
  .hero-sub { font-size: 1rem; }

  .addon-card {
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto;
  }
  .addon-emoji { width: 44px; height: 44px; font-size: 1.4rem; }
  .addon-buy {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
}
