/* ═══════════════════════════════════════════════════════════════
   KIDDOBEE – KIDDEX-STYLE PLAYFUL KIDS ECOMMERCE DESIGN
   ═══════════════════════════════════════════════════════════════ */

/* ── RESET & BASE ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', sans-serif;
  background: #fff;
  color: #333;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }
.container, .wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* ── CSS VARIABLES ───────────────────────────────────────────── */
:root {
  --yellow:   #FFB800;
  --yellow-d: #E6A200;
  --orange:   #FF6B35;
  --red:      #E63946;
  --pink:     #FF4081;
  --pink-bg:  #FFF0F5;
  --blue:     #4A90D9;
  --green:    #27AE60;
  --purple:   #8E44AD;
  --hero-bg:  #FFF3C4;
  --hero-wave:#FFE082;
  --text:     #1A1A2E;
  --text-m:   #555;
  --text-l:   #888;
  --border:   #E8E8F0;
  --white:    #ffffff;
  --bg-soft:  #F8F9FC;
  --shadow:   0 4px 24px rgba(0,0,0,0.08);
  --shadow-h: 0 8px 40px rgba(0,0,0,0.14);
  --radius:   16px;
  --radius-sm:10px;
  --y:        var(--yellow);
  --n:        var(--text);
  --bd:       var(--border);
  --wh:       var(--white);
  --tl:       var(--text-l);
  --g:        var(--green);
  --r:        var(--red);
  --bg:       var(--bg-soft);
}

/* ── ANNOUNCEMENT BAR ────────────────────────────────────────── */
.announce-bar {
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: 9px 20px;
  font-size: .83rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.announce-bar .ann-links {
  display: flex;
  gap: 20px;
  font-size: .8rem;
  opacity: .92;
}
.announce-bar a { color: #fff; opacity: .85; }
.announce-bar a:hover { opacity: 1; }
.announce-bar .ann-center { flex: 1; }

/* ── HEADER / NAV ────────────────────────────────────────────── */
.nav {
  background: #fff;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 24px;
  height: 72px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo-img { height: 48px; width: auto; object-fit: contain; }
.nav-logo-text {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
}
.nav-logo-text em { color: var(--yellow); font-style: normal; }

.nav-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: .95rem;
  color: var(--text);
  margin-right: 8px;
  white-space: nowrap;
}
.nav-phone span { color: var(--yellow); font-size: 1.1rem; }

/* Main nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: .9rem;
  color: #444;
  transition: all .2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.on { color: var(--yellow-d); background: #FFF9E8; }

/* Dropdown */
.nav-drop { position: relative; }
.drop-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  min-width: 180px;
  padding: 6px;
  display: none;
  z-index: 100;
}
.nav-drop:hover .drop-menu { display: block; }
.drop-menu a {
  display: block;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: .875rem;
  font-weight: 600;
  color: #444;
}
.drop-menu a:hover { background: #FFF9E8; color: var(--yellow-d); }
.mega-menu {
  min-width: 720px;
  grid-template-columns: repeat(5, minmax(125px, 1fr));
  gap: 12px;
  padding: 14px;
}
.nav-drop:hover .mega-menu { display: grid; }
.mega-col {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.mega-title {
  font-size: .8rem;
  font-weight: 900;
  color: var(--text);
  background: #FFF9E8;
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 3px;
}
.mega-title.muted {
  display: block;
  color: var(--yellow-d);
  background: #FFF9E8;
}
.mega-menu a:not(.mega-title) {
  font-size: .8rem;
  line-height: 1.25;
  padding: 7px 9px;
}
.worksheet-map { min-width: 620px; grid-template-columns: repeat(4, minmax(130px, 1fr)); }

/* Search */
.nav-search {
  display: flex;
  align-items: center;
  background: var(--bg-soft);
  border: 2px solid var(--border);
  border-radius: 50px;
  padding: 0 14px;
  gap: 8px;
  flex: 1;
  max-width: 280px;
  transition: border-color .2s;
}
.nav-search:focus-within { border-color: var(--yellow); background: #fff; }
.nav-search svg { width: 18px; height: 18px; color: var(--text-l); flex-shrink: 0; }
.nav-search input {
  border: none;
  background: transparent;
  outline: none;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  width: 100%;
  padding: 8px 0;
}
.nav-search input::placeholder { color: var(--text-l); }

/* Nav action icons */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.nav-icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all .2s;
  color: var(--text);
}
.nav-icon-btn:hover { background: var(--yellow); border-color: var(--yellow); }
.nav-cart { position: relative; }
.cart-n {
  position: absolute;
  top: -5px; right: -5px;
  background: var(--red);
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}
.nav-btn {
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 800;
  font-size: .85rem;
  background: var(--yellow);
  color: var(--text);
  border: 2px solid var(--yellow);
  transition: all .2s;
}
.nav-btn:hover { background: var(--yellow-d); border-color: var(--yellow-d); }
.nav-btn-ghost { background: transparent; color: var(--text); }
.nav-btn-ghost:hover { background: var(--bg-soft); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: var(--bg-soft);
  border: 2px solid var(--border);
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 72px;
  left: 0; right: 0;
  background: #fff;
  z-index: 999;
  border-bottom: 3px solid var(--border);
  box-shadow: var(--shadow);
  padding: 16px 24px 24px;
  gap: 4px;
  transform: translateY(-110%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  color: var(--text);
  font-size: .95rem;
  transition: all .15s;
}
.mobile-menu a:hover { background: #FFF9E8; color: var(--yellow-d); }

/* ── HERO SECTION ────────────────────────────────────────────── */
.hero-kiddex {
  background: var(--hero-bg);
  position: relative;
  overflow: hidden;
  padding: 64px 0 0;
}
.hero-kiddex .container { position: relative; z-index: 2; }

/* Decorative floating elements */
.hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}
.hero-deco .star {
  position: absolute;
  font-size: 1.4rem;
  animation: starFloat 4s ease-in-out infinite;
}
.hero-deco .star:nth-child(1) { top: 12%; left: 8%;  animation-delay: 0s; }
.hero-deco .star:nth-child(2) { top: 25%; left: 18%; animation-delay: .8s; font-size: 1rem; }
.hero-deco .star:nth-child(3) { top: 60%; left: 6%;  animation-delay: 1.5s; font-size: .9rem; }
.hero-deco .star:nth-child(4) { top: 10%; right:12%; animation-delay: .4s; }
.hero-deco .star:nth-child(5) { top: 40%; right:6%;  animation-delay: 1.2s; font-size: 1.1rem; }
.hero-deco .star:nth-child(6) { top: 70%; right:15%; animation-delay: .6s; font-size: .85rem; }
.hero-deco .circle-big {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,184,0,.12);
  width: 320px; height: 320px;
  top: -80px; right: -60px;
}
.hero-deco .circle-sm {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,107,53,.1);
  width: 160px; height: 160px;
  bottom: 60px; left: -40px;
}
@keyframes starFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(15deg); }
}

/* Hero inner layout */
.hero-inner {
  display: flex;
  align-items: flex-end;
  gap: 40px;
  min-height: 380px;
}
.hero-text { flex: 1; padding-bottom: 60px; }
.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.8);
  border: 2px solid var(--yellow);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: .82rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
}
.hero-title {
  font-family: 'Baloo 2', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero-title .highlight { color: var(--orange); }
.hero-subtitle {
  font-size: 1rem;
  color: var(--text-m);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 480px;
}
.hero-price-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--text-m);
  margin-bottom: 24px;
}
.hero-price-tag strong {
  font-size: 1.4rem;
  color: var(--orange);
  font-family: 'Baloo 2', sans-serif;
}
.hero-cta-group { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  padding: 13px 28px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(255,107,53,.35);
  transition: all .25s;
  border: none;
}
.btn-hero-primary:hover { background: #e55c27; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,107,53,.4); }
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--text);
  font-weight: 800;
  font-size: .95rem;
  padding: 11px 28px;
  border-radius: 50px;
  border: 2px solid var(--border);
  transition: all .25s;
}
.btn-hero-secondary:hover { border-color: var(--yellow); background: #FFF9E8; }

/* Hero image side */
.hero-image-side {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  padding-bottom: 0;
}
.hero-circle-frame {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFE082 0%, #FFCA28 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(255,184,0,.3);
  position: relative;
}
.hero-circle-frame .hero-mascot {
  font-size: 10rem;
  line-height: 1;
  margin-bottom: -10px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.15));
}
.hero-floating-badge {
  position: absolute;
  background: #fff;
  border-radius: 12px;
  padding: 8px 14px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 700;
  animation: badgeFloat 3s ease-in-out infinite;
}
.hero-floating-badge:nth-child(2) { top: 30px; right: -20px; }
.hero-floating-badge:nth-child(3) { bottom: 60px; left: -30px; animation-delay: 1s; }
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Hero wave bottom */
.hero-wave {
  position: relative;
  margin-top: 20px;
  line-height: 0;
  z-index: 2;
}
.hero-wave svg { display: block; width: 100%; height: auto; }

/* ── SECTION COMMONS ─────────────────────────────────────────── */
.section { padding: 60px 0; }
.section-pink { background: var(--pink-bg); padding: 60px 0; }
.section-soft { background: var(--bg-soft); padding: 60px 0; }
.section-yellow { background: var(--hero-bg); padding: 60px 0; }

.section-head {
  text-align: center;
  margin-bottom: 40px;
}
.section-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--yellow);
  color: var(--text);
  font-weight: 800;
  font-size: .8rem;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.section-title-main {
  font-family: 'Baloo 2', sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.section-title-main .colored { color: var(--orange); }
.section-title-main .colored-pink { color: var(--pink); }
.section-desc {
  font-size: .95rem;
  color: var(--text-m);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Section divider arrow navigation */
.section-nav-arrows {
  display: flex;
  gap: 8px;
}
.arrow-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s;
  color: var(--text);
  font-size: 1rem;
}
.arrow-btn:hover { background: var(--yellow); border-color: var(--yellow); }

/* ── CATEGORY CIRCLES ────────────────────────────────────────── */
.cats-row {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.cat-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: transform .2s;
}
.cat-circle:hover { transform: translateY(-6px); }
.cat-ring {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  position: relative;
  border: 4px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
}
.cat-name {
  font-size: .78rem;
  font-weight: 800;
  color: var(--text);
  text-align: center;
  max-width: 80px;
  line-height: 1.3;
}

/* ── FEATURE BANNERS (3 cols) ────────────────────────────────── */
.feature-banners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-banner {
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
  min-height: 140px;
}
.feature-banner.red-banner    { background: linear-gradient(135deg,#FF6B35,#FF8C42); }
.feature-banner.green-banner  { background: linear-gradient(135deg,#27AE60,#2ECC71); }
.feature-banner.blue-banner   { background: linear-gradient(135deg,#4A90D9,#5BA3E8); }
.feature-banner .fb-text { color: #fff; }
.feature-banner .fb-label {
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: .85;
  margin-bottom: 4px;
}
.feature-banner .fb-title {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.feature-banner .fb-price {
  font-size: .85rem;
  font-weight: 700;
  opacity: .9;
}
.feature-banner .fb-btn {
  background: rgba(255,255,255,.25);
  color: #fff;
  font-weight: 800;
  font-size: .8rem;
  padding: 7px 16px;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,.4);
  display: inline-block;
  margin-top: 10px;
  transition: all .2s;
}
.feature-banner .fb-btn:hover { background: rgba(255,255,255,.4); }
.feature-banner .fb-emoji {
  font-size: 4rem;
  opacity: .8;
  flex-shrink: 0;
}

/* ── PRODUCT CARDS (KIDDEX STYLE) ────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .25s;
  position: relative;
}
.product-card:hover {
  border-color: var(--yellow);
  box-shadow: var(--shadow-h);
  transform: translateY(-4px);
}
.product-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--red);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 6px;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.product-badge.popular { background: var(--orange); }
.product-badge.new     { background: var(--green); }
.product-badge.sale    { background: var(--red); }

.pcard-img, .product-image {
  display: block;
  width: 100%;
  height: 200px;
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
}
.pcard-img img, .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform .3s;
}
.product-card:hover .pcard-img img,
.product-card:hover .product-image img { transform: scale(1.04); }
.emoji-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 4.5rem;
}
.pdf-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(255,255,255,.08));
  pointer-events: none;
}

.product-content { padding: 14px; }
.product-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.product-tags-row .product-tag {
  font-size: .7rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.product-tag.primary   { background: #E8F4FD; color: var(--blue); }
.product-tag.secondary { background: #FFF3CD; color: var(--yellow-d); }

.product-title {
  display: block;
  font-weight: 800;
  font-size: .9rem;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 6px;
  transition: color .2s;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.product-title:hover { color: var(--orange); }
.product-age {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .78rem;
  color: var(--text-l);
  font-weight: 600;
  margin-bottom: 10px;
}

/* Rating stars */
.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}
.stars { color: var(--yellow); font-size: .85rem; letter-spacing: 1px; }
.rating-count { font-size: .75rem; color: var(--text-l); font-weight: 600; }

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.product-pricing { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.product-price {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
}
.product-original {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-l);
  text-decoration: line-through;
}
.btn-add-cart, .add-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--yellow);
  color: var(--text);
  font-weight: 800;
  font-size: .78rem;
  padding: 7px 12px;
  border-radius: 8px;
  border: none;
  transition: all .2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-add-cart:hover, .add-btn:hover { background: var(--yellow-d); transform: scale(1.03); }
.btn-add-cart:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ── POPULAR SLIDER ───────────────────────────────────────────── */
.slider-wrapper {
  position: relative;
}
.slider-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.slider-row::-webkit-scrollbar { display: none; }
.slider-row .product-card {
  flex: 0 0 220px;
  scroll-snap-align: start;
}
.slider-arrows {
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: -20px; right: -20px;
  transform: translateY(-50%);
}
.slider-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: all;
  box-shadow: var(--shadow);
  font-size: 1.2rem;
  transition: all .2s;
  color: var(--text);
}
.slider-arrow:hover { background: var(--yellow); border-color: var(--yellow); }

/* ── DEAL OF THE DAY ─────────────────────────────────────────── */
.deal-section { background: var(--pink-bg); padding: 60px 0; }
.deal-inner {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.deal-inner::-webkit-scrollbar { display: none; }
.deal-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  flex: 0 0 340px;
  transition: all .25s;
}
.deal-card:hover { border-color: var(--pink); box-shadow: var(--shadow); }
.deal-card-img {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  background: var(--bg-soft);
  overflow: hidden;
  flex-shrink: 0;
}
.deal-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.deal-tag {
  font-size: .7rem;
  font-weight: 800;
  color: var(--text-l);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 4px;
}
.deal-title {
  font-size: .9rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 6px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.deal-pricing { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.deal-price { font-size: 1.1rem; font-weight: 800; color: var(--text); font-family: 'Baloo 2', sans-serif; }
.deal-original { font-size: .82rem; color: var(--text-l); text-decoration: line-through; font-weight: 600; }
.deal-countdown {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}
.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--text);
  color: #fff;
  border-radius: 6px;
  padding: 4px 8px;
  min-width: 36px;
}
.cd-num {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
}
.cd-label { font-size: .55rem; font-weight: 700; opacity: .7; margin-top: 1px; }
.btn-add-to-cart-deal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 9px;
  background: var(--yellow);
  color: var(--text);
  font-weight: 800;
  font-size: .82rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all .2s;
}
.btn-add-to-cart-deal:hover { background: var(--yellow-d); }

/* Deal section header row */
.deal-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

/* ── PROMO BANNERS ───────────────────────────────────────────── */
.promo-banners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.promo-banner {
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  overflow: hidden;
  min-height: 130px;
}
.promo-banner.blue-promo   { background: linear-gradient(135deg,#4A90D9,#357ABD); }
.promo-banner.green-promo  { background: linear-gradient(135deg,#27AE60,#1E9651); }
.promo-banner .pb-label {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,.8);
  margin-bottom: 4px;
}
.promo-banner .pb-title {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 4px;
}
.promo-banner .pb-sub { font-size: .82rem; color: rgba(255,255,255,.85); font-weight: 600; margin-bottom: 14px; }
.promo-banner .pb-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.2);
  color: #fff;
  font-weight: 800;
  font-size: .82rem;
  padding: 7px 16px;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,.35);
  transition: all .2s;
}
.promo-banner .pb-btn:hover { background: rgba(255,255,255,.35); }
.promo-banner .pb-emoji { font-size: 5rem; opacity: .7; flex-shrink: 0; }

/* ── WHY SECTION ─────────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.why-features { display: flex; flex-direction: column; gap: 20px; }
.why-feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.why-feat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}
.why-feat-title {
  font-weight: 800;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 4px;
}
.why-feat-desc { font-size: .875rem; color: var(--text-m); line-height: 1.6; }
.why-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.showcase-item {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: all .25s;
}
.showcase-item:hover { border-color: var(--yellow); box-shadow: var(--shadow); }
.showcase-emoji { font-size: 2.5rem; margin-bottom: 8px; }
.showcase-item-title { font-size: .85rem; font-weight: 800; color: var(--text); margin-bottom: 4px; line-height: 1.3; }
.showcase-item-price { font-size: .9rem; font-weight: 800; color: var(--orange); font-family: 'Baloo 2', sans-serif; }

/* ── TESTIMONIALS ────────────────────────────────────────────── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.testi-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: all .25s;
}
.testi-card:hover { border-color: var(--yellow); box-shadow: var(--shadow); }
.testi-stars { color: var(--yellow); font-size: 1rem; letter-spacing: 2px; margin-bottom: 10px; }
.testi-text {
  font-size: .875rem;
  color: var(--text-m);
  line-height: 1.7;
  margin-bottom: 14px;
  font-style: italic;
}
.testi-author { display: flex; align-items: center; gap: 10px; }
.testi-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .95rem;
  color: var(--text);
  flex-shrink: 0;
}
.testi-name { font-weight: 800; font-size: .88rem; color: var(--text); }
.testi-location { font-size: .75rem; color: var(--text-l); font-weight: 600; }

/* ── FREE DOWNLOAD / CTA SECTION ────────────────────────────── */
.cta-card {
  background: linear-gradient(135deg,#4A90D9,#357ABD);
  border-radius: 24px;
  padding: 48px 56px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '🎁';
  position: absolute;
  font-size: 8rem;
  opacity: .08;
  right: -20px;
  top: -20px;
}
.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.2);
  color: #fff;
  font-weight: 800;
  font-size: .8rem;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.cta-title {
  font-family: 'Baloo 2', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 10px;
}
.cta-subtitle { font-size: .95rem; opacity: .9; margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-form {
  display: flex;
  gap: 12px;
  max-width: 560px;
  margin: 0 auto 20px;
  flex-wrap: wrap;
}
.cta-form input, .cta-form select {
  flex: 1;
  min-width: 180px;
  padding: 13px 18px;
  border: none;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 600;
  outline: none;
  color: var(--text);
}
.cta-form select { background: #fff; color: var(--text); }
.btn-cta-submit {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow);
  color: var(--text);
  font-weight: 800;
  font-size: .9rem;
  padding: 13px 24px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.btn-cta-submit:hover { background: var(--yellow-d); transform: scale(1.03); }
.cta-perks {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cta-perk {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 700;
  opacity: .9;
}

/* ── PAGE HEADER ─────────────────────────────────────────────── */
.ph, .page-header {
  background: linear-gradient(135deg,var(--yellow) 0%,#FF8C42 100%);
  padding: 40px 0 32px;
  color: var(--text);
}
.ph h1, .page-title { font-family: 'Baloo 2', sans-serif; font-size: clamp(1.5rem,3vw,2.2rem); font-weight: 800; margin-bottom: 6px; color: #fff; }
.ph p, .page-subtitle { font-size: .95rem; font-weight: 600; color: rgba(255,255,255,.85); }

/* Breadcrumb */
.bc, .breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.bc a, .breadcrumb a { color: rgba(255,255,255,.8); }
.bc a:hover, .breadcrumb a:hover { color: #fff; }
.bc-cur, .breadcrumb .current { color: #fff; }
.breadcrumb .separator { color: rgba(255,255,255,.6); }
.breadcrumb-wrapper {
  background: var(--bg-soft);
  padding: 12px 0;
  border-bottom: 2px solid var(--border);
}
.breadcrumb-wrapper .breadcrumb { color: var(--text-m); }
.breadcrumb-wrapper .breadcrumb a { color: var(--text-m); }
.breadcrumb-wrapper .breadcrumb a:hover { color: var(--orange); }
.breadcrumb-wrapper .breadcrumb .current { color: var(--text); }
.breadcrumb-wrapper .breadcrumb .separator { color: var(--border); }

/* ── SHOP SECTION ────────────────────────────────────────────── */
.shop-section, .sec { padding: 48px 0; background: var(--bg-soft); }
.sec-alt { background: #fff; }
.shop-dropdown-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr)) auto;
  gap: 12px;
  align-items: end;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.shop-dropdown-filters label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.shop-dropdown-filters span {
  font-size: .76rem;
  font-weight: 900;
  color: var(--text-l);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.shop-dropdown-filters select {
  min-height: 42px;
  width: 100%;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  padding: 0 12px;
  font-weight: 800;
  outline: none;
}
.shop-dropdown-filters select:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255,184,0,.16); }
.shop-layout {
  display: grid;
  grid-template-columns: 268px 1fr;
  gap: 28px;
  align-items: start;
}
.shop-sidebar {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  position: sticky;
  top: 90px;
}
.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
}
.sidebar-header h3 { font-size: 1rem; font-weight: 800; margin: 0; }
.clear-filters { font-size: .82rem; color: var(--red); font-weight: 700; }
.clear-filters:hover { opacity: .8; }
.filters-form { display: flex; flex-direction: column; gap: 20px; }
.filter-section {
  border-bottom: 2px solid #F3F4F6;
  padding-bottom: 16px;
}
.filter-section:last-of-type { border-bottom: none; }
.filter-title {
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-l);
  margin-bottom: 10px;
}
.filter-options { display: flex; flex-direction: column; gap: 6px; }
.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s;
  border: 2px solid transparent;
}
.filter-option:hover { background: #FFF9E8; border-color: var(--yellow); }
.filter-option input[type="radio"] { accent-color: var(--yellow); width: 16px; height: 16px; cursor: pointer; }
.option-label { display: flex; align-items: center; gap: 8px; flex: 1; font-weight: 600; font-size: .88rem; }
.option-icon { font-size: 1.1rem; }
.option-age { font-size: .7rem; color: var(--text-l); font-weight: 600; }
.subpage-filter-groups {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.subpage-filter-group {
  border: 2px solid #F3F4F6;
  border-radius: 12px;
  padding: 10px;
  background: #fff;
}
.subpage-filter-heading {
  font-size: .78rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 7px;
}
.subpage-filter-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.subpage-filter-links a {
  display: block;
  padding: 7px 8px;
  border-radius: 8px;
  color: var(--text-m);
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.25;
}
.subpage-filter-links a:hover,
.subpage-filter-links a.active {
  background: #FFF9E8;
  color: var(--yellow-d);
}
.price-display { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: .82rem; font-weight: 700; color: var(--text-l); }
.price-slider { width: 100%; height: 5px; border-radius: 3px; outline: none; cursor: pointer; accent-color: var(--yellow); }
.btn-apply-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px;
  background: var(--yellow);
  color: var(--text);
  font-weight: 800;
  font-size: .88rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all .25s;
  margin-top: 6px;
}
.btn-apply-filters:hover { background: var(--yellow-d); transform: translateY(-2px); }
.quick-picks { margin-top: 20px; padding-top: 20px; border-top: 2px solid var(--border); }
.quick-picks-title { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: var(--text-l); margin-bottom: 10px; }
.quick-picks-grid { display: grid; gap: 6px; }
.quick-pick-btn {
  display: block;
  padding: 9px 12px;
  background: var(--bg-soft);
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 700;
  text-align: center;
  transition: all .2s;
}
.quick-pick-btn:hover { background: var(--yellow); border-color: var(--yellow); }

.shop-main { display: flex; flex-direction: column; gap: 20px; }
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  flex-wrap: wrap;
  gap: 12px;
}
.results-count { font-size: .88rem; color: var(--text-m); font-weight: 600; }
.results-count strong { color: var(--text); font-weight: 800; }
.sort-form { display: flex; align-items: center; gap: 8px; }
.sort-label { font-size: .82rem; font-weight: 700; color: var(--text-l); }
.sort-select {
  padding: 7px 28px 7px 10px;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: #fff;
  font-weight: 700;
  font-size: .82rem;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%23555' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  transition: border-color .2s;
}
.sort-select:hover, .sort-select:focus { border-color: var(--yellow); outline: none; }

/* Shop products grid */
.shop-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* Empty state */
.empty-state, .empty {
  text-align: center;
  padding: 72px 20px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
}
.empty-ico, .empty-icon { font-size: 3.5rem; margin-bottom: 12px; opacity: .5; }
.empty h3, .empty-title { font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; color: var(--text); }
.empty p, .empty-text { color: var(--text-l); margin-bottom: 20px; }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
}
.pagination-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-weight: 700;
  font-size: .82rem;
  color: var(--text);
  transition: all .2s;
  cursor: pointer;
}
.pagination-btn:hover { border-color: var(--yellow); background: #FFF9E8; }
.pagination-numbers { display: flex; gap: 6px; }
.pagination-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-weight: 700;
  font-size: .82rem;
  color: var(--text);
  transition: all .2s;
  cursor: pointer;
}
.pagination-number:hover { border-color: var(--yellow); background: #FFF9E8; }
.pagination-number.active { background: var(--yellow); border-color: var(--yellow); font-weight: 800; }

/* ── PRODUCT DETAIL ──────────────────────────────────────────── */
.product-section { padding: 48px 0; background: var(--bg-soft); }
.product-layout {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 40px;
  align-items: start;
}
.product-gallery { background: #fff; border-radius: var(--radius); border: 2px solid var(--border); padding: 20px; }
.gallery-thumbnails { display: flex; flex-direction: column; gap: 8px; float: left; margin-right: 14px; }
.gallery-thumb {
  width: 56px;
  height: 56px;
  border: 2px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--bg-soft);
  transition: border-color .2s;
}
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--yellow); }
.gallery-thumb canvas { width: 100%; height: 100%; object-fit: cover; }
.thumb-page-number, .thumb-emoji {
  font-size: .7rem;
  font-weight: 800;
  color: var(--text-l);
  position: absolute;
  bottom: 2px;
  right: 4px;
}
.gallery-main { overflow: hidden; position: relative; }
.product-discount-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--red);
  color: #fff;
  font-size: .75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 2;
}
.main-image-wrapper {
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  max-height: 380px;
}
.main-product-image { width: 100%; height: 100%; object-fit: contain; max-height: 380px; }
.main-emoji-fallback { font-size: 8rem; }
.pdf-main-canvas { display: none; width: 100%; }
.image-actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.btn-preview-full, .btn-share {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 700;
  background: #fff;
  cursor: pointer;
  transition: all .2s;
  color: var(--text);
}
.btn-preview-full:hover, .btn-share:hover { border-color: var(--yellow); background: #FFF9E8; }

/* Product info panel */
.product-info { background: #fff; border: 2px solid var(--border); border-radius: var(--radius); padding: 28px; }
.product-info-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.product-info-tag {
  font-size: .75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: .3px;
  background: #E8F4FD;
  color: var(--blue);
}
.product-info-title {
  font-family: 'Baloo 2', sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.3;
}
.product-info-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.product-info-rating .stars { font-size: 1rem; color: var(--yellow); }
.product-info-pricing {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.big-price {
  font-family: 'Baloo 2', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
}
.big-original { font-size: 1.1rem; color: var(--text-l); text-decoration: line-through; font-weight: 600; }
.discount-pill {
  background: var(--red);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
}
.btn-add-cart-big {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 15px;
  background: var(--yellow);
  color: var(--text);
  font-weight: 800;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all .25s;
  margin-bottom: 12px;
}
.btn-add-cart-big:hover { background: var(--yellow-d); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,184,0,.3); }
.btn-checkout-big {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px;
  background: var(--text);
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all .25s;
  margin-bottom: 20px;
}
.btn-checkout-big:hover { background: #333; }
.product-meta { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.meta-row { display: flex; align-items: center; gap: 8px; font-size: .88rem; }
.meta-label { font-weight: 700; color: var(--text-l); min-width: 90px; }
.meta-value { font-weight: 600; color: var(--text); }

/* ── CART PAGE ───────────────────────────────────────────────── */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}
.cart-item {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.cimg {
  width: 90px;
  height: 90px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.cimg img { width: 100%; height: 100%; object-fit: cover; }
.ctitle { font-weight: 800; font-size: .95rem; color: var(--text); display: block; margin-bottom: 4px; }
.ctitle:hover { color: var(--orange); }
.csub { font-size: .8rem; color: var(--text-l); font-weight: 600; margin-bottom: 10px; }
.cactions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.qty-wrap {
  display: flex;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.qbtn {
  width: 32px;
  height: 32px;
  background: var(--bg-soft);
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
}
.qbtn:hover { background: var(--yellow); }
.qin {
  width: 42px;
  border: none;
  text-align: center;
  font-size: .9rem;
  font-weight: 800;
  padding: 4px;
  outline: none;
  background: #fff;
}

/* Cart sidebar */
.cart-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.order-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.order-card h3 { font-size: 1rem; font-weight: 800; margin-bottom: 16px; }
.order-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: .9rem; }
.order-row .label { color: var(--text-m); font-weight: 600; }
.order-row .value { font-weight: 800; }
.order-divider { border: none; border-top: 2px solid var(--border); margin: 14px 0; }
.order-row.total .label, .order-row.total .value { font-size: 1.1rem; font-weight: 800; }
.coupon-form { display: flex; gap: 8px; margin-bottom: 14px; }
.coupon-input {
  flex: 1;
  padding: 9px 12px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 600;
  outline: none;
}
.coupon-input:focus { border-color: var(--yellow); }
.coupon-btn {
  padding: 9px 14px;
  background: var(--yellow);
  color: var(--text);
  font-weight: 800;
  font-size: .82rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s;
}
.coupon-btn:hover { background: var(--yellow-d); }
.btn-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: var(--yellow);
  color: var(--text);
  font-weight: 800;
  font-size: .95rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all .25s;
}
.btn-checkout:hover { background: var(--yellow-d); transform: translateY(-2px); }
.btn, .btn-y {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 50px;
  font-weight: 800;
  font-size: .9rem;
  transition: all .2s;
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--yellow);
  color: var(--text);
}
.btn:hover, .btn-y:hover { background: var(--yellow-d); }

/* ── FOOTER ──────────────────────────────────────────────────── */
.foot {
  background: #1A1A2E;
  color: rgba(255,255,255,.8);
  padding: 60px 0 0;
  font-size: .88rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.foot-brand p {
  font-size: .875rem;
  line-height: 1.7;
  opacity: .75;
  margin-bottom: 0;
  max-width: 280px;
}
.foot-brand h4 {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--yellow);
  margin-bottom: 12px;
}
.foot h4 {
  font-size: .9rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.foot ul { display: flex; flex-direction: column; gap: 10px; }
.foot ul a {
  color: rgba(255,255,255,.65);
  font-size: .85rem;
  font-weight: 600;
  transition: color .2s;
}
.foot ul a:hover { color: var(--yellow); }
.foot-social { display: flex; gap: 10px; margin-top: 18px; }
.foot-social a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all .2s;
}
.foot-social a:hover { background: rgba(255,184,0,.25); }
.foot-btm {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
}

/* ── TOAST ───────────────────────────────────────────────────── */
#toast-box {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: #1A1A2E;
  color: #fff;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: .875rem;
  font-weight: 700;
  box-shadow: var(--shadow-h);
  animation: slideInRight .3s ease;
}
.toast.t-err { background: var(--red); }
.toast.t-ok  { background: #1A1A2E; }
@keyframes slideInRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ── GENERAL BUTTONS ─────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow);
  color: var(--text);
  font-weight: 800;
  font-size: .9rem;
  padding: 11px 22px;
  border-radius: 50px;
  border: 2px solid var(--yellow);
  cursor: pointer;
  transition: all .2s;
}
.btn-primary:hover { background: var(--yellow-d); border-color: var(--yellow-d); transform: translateY(-2px); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  font-weight: 800;
  font-size: .9rem;
  padding: 11px 22px;
  border-radius: 50px;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: all .2s;
}
.btn-secondary:hover { border-color: var(--yellow); background: #FFF9E8; }
.btn-lg { padding: 13px 28px; font-size: 1rem; }

/* View all link */
.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: .9rem;
  color: var(--orange);
  transition: gap .2s;
}
.view-all-link:hover { gap: 10px; }

/* Section CTA */
.section-cta { text-align: center; margin-top: 36px; }

/* ── ABOUT PAGE SPECIFICS ────────────────────────────────────── */
.badge, .section-badge { display: inline-block; background: var(--yellow); color: var(--text); font-weight: 800; font-size: .78rem; padding: 4px 14px; border-radius: 50px; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .5px; }
.sec-head { text-align: center; margin-bottom: 36px; }
.sec-head h2 { font-family: 'Baloo 2', sans-serif; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; color: var(--text); }

/* Static content pages */
.narrow-page { max-width: 880px; }
.info-panel {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 18px;
  box-shadow: var(--shadow);
}
.info-panel h2 {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.35rem;
  color: var(--text);
  margin-bottom: 10px;
}
.info-panel p { color: var(--text-m); line-height: 1.7; margin-bottom: 10px; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.account-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.download-list { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.download-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--text);
}
.download-row:hover { border-color: var(--yellow); background: #FFF9E8; }

/* Product detail polish */
.product-gallery {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  position: sticky;
  top: 96px;
}
.gallery-thumbnails {
  float: none;
  margin-right: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gallery-thumb {
  width: 64px;
  height: 76px;
  border-radius: 10px;
  background: #fff;
  padding: 0;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.gallery-thumb.active {
  box-shadow: 0 0 0 3px rgba(255,184,0,.22);
}
.gallery-main { min-width: 0; }
.main-image-wrapper {
  min-height: 430px;
  max-height: 520px;
  border: 2px solid var(--border);
  background: #fff;
}
.main-product-image {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: contain;
  object-position: top center;
  background: #fff;
}
.pdf-main-canvas { max-height: 520px; object-fit: contain; background: #fff; }
.product-details {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.product-tags-row,
.product-rating-section,
.price-details,
.delivery-item,
.feature-item,
.action-buttons,
.social-share-section,
.security-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.product-tags-row { margin-bottom: 12px; }
.product-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #F3F6FF;
  color: var(--blue);
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
}
.product-tags-row .product-tag.subject { background: #FFF9E8; color: var(--yellow-d); }
.product-details .product-title {
  display: block;
  font-family: 'Baloo 2', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 14px;
}
.product-rating-section {
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 20px;
}
.rating-stars { display: flex; align-items: center; gap: 3px; }
.rating-text { margin-left: 6px; color: var(--text-l); font-size: .86rem; font-weight: 700; }
.grade-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--text-m);
  font-weight: 800;
  font-size: .84rem;
}
.product-pricing-section {
  padding: 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, #FFF9E8, #fff);
  border: 2px solid #FFE6A3;
  margin-bottom: 18px;
}
.price-main {
  font-family: 'Baloo 2', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.price-original { color: var(--text-l); text-decoration: line-through; font-weight: 700; }
.price-savings { color: var(--green); font-weight: 800; }
.price-note { display: flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--text-l); font-size: .86rem; font-weight: 700; }
.delivery-info {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}
.delivery-item {
  flex-wrap: nowrap;
  align-items: flex-start;
  padding: 12px;
  background: var(--bg-soft);
  border-radius: 12px;
  color: var(--text-m);
  font-size: .9rem;
}
.product-description {
  color: var(--text-m);
  line-height: 1.7;
  margin-bottom: 18px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}
.feature-item {
  flex-wrap: nowrap;
  padding: 10px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-weight: 700;
  color: var(--text-m);
  font-size: .86rem;
}
.add-to-cart-section {
  border-top: 2px solid var(--border);
  padding-top: 20px;
  margin-bottom: 20px;
}
.quantity-selector {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  font-weight: 800;
}
.qty-controls {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.qty-btn {
  width: 38px;
  height: 38px;
  border: 0;
  background: var(--bg-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.qty-input {
  width: 52px;
  height: 38px;
  border: 0;
  text-align: center;
  font-weight: 800;
  color: var(--text);
}
.action-buttons { align-items: stretch; }
.btn-add-to-cart,
.btn-buy-now {
  flex: 1 1 180px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  border: 2px solid transparent;
  font-weight: 900;
  font-size: .95rem;
  transition: all .2s;
}
.btn-add-to-cart { background: var(--yellow); color: var(--text); }
.btn-add-to-cart:hover { background: var(--yellow-d); transform: translateY(-1px); }
.btn-buy-now { background: var(--text); color: #fff; }
.btn-buy-now:hover { background: #30304a; transform: translateY(-1px); }
.trust-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.trust-badge {
  display: flex;
  gap: 10px;
  padding: 12px;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: var(--bg-soft);
}
.trust-icon { font-size: 1.3rem; }
.trust-content { display: flex; flex-direction: column; gap: 2px; }
.trust-content strong { font-size: .86rem; color: var(--text); }
.trust-content span { font-size: .76rem; color: var(--text-l); }
.social-share-section {
  padding-top: 16px;
  border-top: 2px solid var(--border);
  margin-bottom: 14px;
}
.share-label { font-weight: 800; color: var(--text); }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 2px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  padding: 8px 12px;
  font-weight: 800;
}
.share-btn:hover { border-color: var(--yellow); background: #FFF9E8; }
.product-tabs-section,
.related-products-section {
  margin-top: 34px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.tabs-header {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 18px;
  overflow-x: auto;
}
.tab-button {
  border: 0;
  background: transparent;
  padding: 12px 14px;
  font-weight: 900;
  color: var(--text-l);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.tab-button.active { color: var(--text); border-bottom-color: var(--yellow); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }
.tab-inner { color: var(--text-m); line-height: 1.7; }
.tab-inner h3, .tab-inner h4 {
  color: var(--text);
  font-family: 'Baloo 2', sans-serif;
  margin-bottom: 10px;
}
.tab-inner ul { list-style: disc; padding-left: 20px; margin-top: 8px; }
.content-grid,
.related-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
}
.content-item,
.related-product-card {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  background: var(--bg-soft);
}
.related-product-card { align-items: stretch; color: var(--text); }
.related-product-card .pcard-img { width: 86px; height: 96px; flex-shrink: 0; }
.related-product-info h4 { font-size: .92rem; margin-bottom: 8px; }
.related-product-price { font-weight: 900; color: var(--orange); }
.reviews-list { display: grid; gap: 12px; margin-top: 16px; }
.review-card {
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  background: var(--bg-soft);
}
.review-header { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.reviewer-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}
.reviewer-info { display: flex; flex-direction: column; gap: 2px; }
.reviewer-info span, .review-text { color: var(--text-l); font-size: .86rem; }
.review-stars { margin-left: auto; display: flex; }

/* Admin panel */
.admin-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto;
}
.admin-wrap h2 {
  font-family: 'Baloo 2', sans-serif;
  color: var(--text);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}
.admin-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 22px;
  box-shadow: var(--shadow);
}
.admin-card h3 {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 14px;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}
.admin-table th,
.admin-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
}
.admin-table th {
  background: var(--bg-soft);
  color: var(--text-l);
  font-size: .76rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.admin-table tr:hover td { background: #FFFDF6; }
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 900;
  text-transform: capitalize;
}
.status-confirmed,
.status-active { background: rgba(39,174,96,.12); color: #1f8a4d; }
.status-pending { background: rgba(255,184,0,.18); color: #946900; }
.status-failed,
.status-cancelled { background: rgba(230,57,70,.12); color: var(--red); }
.alert {
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 800;
  margin-bottom: 14px;
}
.a-ok { background: rgba(39,174,96,.1); border: 1px solid rgba(39,174,96,.25); color: #1f8a4d; }
.a-err { background: rgba(230,57,70,.1); border: 1px solid rgba(230,57,70,.25); color: var(--red); }
.btn-o { background: #fff; border-color: var(--border); color: var(--text); }
.btn-o:hover { background: var(--bg-soft); }
.btn-d { background: var(--text); color: #fff; }
.btn-d:hover { background: #30304a; }
.btn-sm { padding: 8px 14px; font-size: .82rem; }
.fg { display: flex; flex-direction: column; gap: 6px; }
.fg label { font-weight: 800; color: var(--text); font-size: .86rem; }
.fg input,
.fg select,
.fg textarea {
  width: 100%;
  padding: 11px 13px;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font: inherit;
  outline: none;
}
.fg input:focus,
.fg select:focus,
.fg textarea:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255,184,0,.16); }
.admin-nav { overflow-x: auto; }
.admin-nav a, .admin-nav .brand { white-space: nowrap; }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav-links, .nav-phone { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-circle-frame { width: 260px; height: 260px; margin: 0 auto; }
  .hero-text { padding-bottom: 20px; }
  .hero-subtitle { max-width: 100%; margin: 0 auto 24px; }
  .feature-banners { grid-template-columns: 1fr; }
  .promo-banners { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; }
  .shop-dropdown-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-sidebar { position: static; }
  .product-layout { grid-template-columns: 1fr; }
  .product-gallery { position: static; }
  .shop-products-grid { grid-template-columns: repeat(2, 1fr); }
  .account-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1180px) {
  .mega-menu,
  .worksheet-map {
    min-width: min(720px, calc(100vw - 32px));
    grid-template-columns: repeat(3, minmax(130px, 1fr));
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 680px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .cta-form { flex-direction: column; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 1.8rem; }
  .cats-row { gap: 16px; }
  .cat-ring { width: 72px; height: 72px; font-size: 2rem; }
  .announce-bar .ann-links { display: none; }
  .nav-search { max-width: 180px; }
  .deal-card { flex: 0 0 280px; }
  .shop-dropdown-filters { grid-template-columns: 1fr; }
  .product-gallery { grid-template-columns: 1fr; }
  .gallery-thumbnails { flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
  .gallery-thumb { width: 58px; height: 70px; flex: 0 0 auto; }
  .main-image-wrapper { min-height: 320px; }
  .product-details { padding: 20px; }
  .features-grid, .trust-badges { grid-template-columns: 1fr; }
  .product-rating-section, .quantity-selector { align-items: flex-start; flex-direction: column; }
  .admin-wrap form > div[style*="grid-template-columns"],
  .edit-grid { grid-template-columns: 1fr !important; }
  .fg-full { grid-column: auto !important; }
  .admin-nav { padding: 0 12px !important; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr 1fr; }
  .shop-products-grid { grid-template-columns: 1fr; }
  .nav { padding: 0 16px; gap: 12px; }
  .hero-kiddex { padding: 40px 0 0; }
  .section, .section-pink, .section-soft, .section-yellow { padding: 40px 0; }
  .foot-grid { grid-template-columns: 1fr; }
}

/* ── MISC HELPERS ────────────────────────────────────────────── */
.d-flex-between { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.wave-divider { line-height: 0; }
.wave-divider svg { display: block; width: 100%; }

/* Product card fix for shop page 3-col grid */
.shop-products-grid .pcard-img, 
.shop-products-grid .product-image { height: 180px; }
