/* ================================================================
   Ūgtelėk – Edukacinės priemonės vaikams
   Playful, colorful storefront theme (overrides styles.css)
   ================================================================ */
:root {
  --bg: #fdf7ef;
  --cream: #fff9f1;
  --surface: #ffffff;
  --surface-soft: #fbf1e6;
  --text: #4b4b4b;
  --heading: #3f4a3a;
  --muted: #8a8580;
  --line: rgba(80, 70, 60, 0.10);

  --green: #8bc34a;
  --green-deep: #7cae3d;
  --green-soft: #eaf5da;
  --coral: #ef6c57;
  --coral-deep: #e5573f;
  --coral-soft: #fde6e1;
  --pink: #f48fb1;
  --pink-soft: #fce4ec;
  --yellow: #f6c445;
  --yellow-soft: #fdf3d6;
  --teal: #58b6cc;
  --teal-soft: #e0f2f6;
  --purple: #b39ddb;
  --purple-soft: #ede7f6;

  --shadow: 0 22px 50px rgba(120, 90, 60, 0.10);
  --shadow-sm: 0 10px 26px rgba(120, 90, 60, 0.08);
  --radius: 26px;
}

body {
  font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(1100px 500px at 100% -10%, rgba(244, 143, 177, 0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(88, 182, 204, 0.10), transparent 55%),
    linear-gradient(180deg, var(--cream) 0%, var(--bg) 100%);
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6,
.navbar-brand, .display-4 {
  font-family: 'Fredoka', 'Nunito', sans-serif;
  color: var(--heading);
  letter-spacing: -0.01em;
}

/* ---------------- Header / Nav ---------------- */
.site-header {
  backdrop-filter: blur(14px);
  background: rgba(255, 249, 241, 0.85);
  border-bottom: 1px solid var(--line);
}

.brand-logo {
  font-family: 'Fredoka', 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
}
.brand-logo .l1 { color: var(--teal); }
.brand-logo .l2 { color: var(--yellow); }
.brand-logo .l3 { color: var(--green); }
.brand-logo .l4 { color: var(--coral); }
.brand-logo .l5 { color: var(--teal); }
.brand-logo .l6 { color: var(--purple); }
.brand-logo .l7 { color: var(--green); }
.brand-tagline {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.15rem;
}

.navbar .nav-link {
  color: var(--heading);
  font-weight: 700;
  padding-left: 0.9rem;
  padding-right: 0.9rem;
  position: relative;
}
.navbar .nav-link:hover,
.navbar .nav-link.active { color: var(--coral); }

.icon-btn,
.btn-soft {
  border-radius: 999px;
  min-width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--heading);
  font-size: 1.2rem;
  transition: background .2s, color .2s, transform .2s;
}
.btn-soft { font-weight: 700; }
.btn-soft:hover,
.icon-btn:hover {
  background: var(--coral-soft);
  color: var(--coral);
  transform: translateY(-1px);
}
.badge.bg-danger { background: var(--coral) !important; }

/* ---------------- Buttons ---------------- */
.btn-success {
  background: var(--green);
  border-color: var(--green);
  border-radius: 999px;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 10px 22px rgba(139, 195, 74, 0.30);
}
.btn-success:hover,
.btn-success:focus {
  background: var(--green-deep);
  border-color: var(--green-deep);
  color: #fff;
}
.btn-coral {
  background: var(--coral);
  border-color: var(--coral);
  border-radius: 999px;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 10px 22px rgba(239, 108, 87, 0.28);
}
.btn-coral:hover,
.btn-coral:focus {
  background: var(--coral-deep);
  border-color: var(--coral-deep);
  color: #fff;
}
.btn-outline-success {
  border-radius: 999px;
  font-weight: 800;
  color: var(--green-deep);
  border-color: var(--green);
}
.btn-outline-success:hover { background: var(--green); border-color: var(--green); color: #fff; }
.btn-outline-coral {
  border-radius: 999px;
  font-weight: 800;
  color: var(--coral);
  border: 1px solid var(--coral);
  background: transparent;
  padding: .55rem 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.btn-outline-coral:hover { background: var(--coral); color: #fff; }

/* ---------------- Eyebrow / headings ---------------- */
.eyebrow {
  color: var(--coral);
  font-weight: 800;
  letter-spacing: 0.12em;
}
.hero-eyebrow {
  display: inline-block;
  background: var(--coral-soft);
  color: var(--coral);
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  box-shadow: none;
}

/* ---------------- Hero ---------------- */
.hero-section { padding-top: 0.5rem; }
.hero-band {
  position: relative;
  background: linear-gradient(180deg, #fffdf9 0%, var(--cream) 100%);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
  padding: clamp(1.1rem, 2.5vw, 1.9rem);
  overflow: hidden;
}
.hero-band::before,
.hero-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.5;
  z-index: 0;
}
.hero-band::before {
  width: 220px; height: 220px;
  background: radial-gradient(circle, var(--pink-soft), transparent 70%);
  top: -60px; left: -60px;
}
.hero-band::after {
  width: 260px; height: 260px;
  background: radial-gradient(circle, var(--green-soft), transparent 70%);
  bottom: -80px; right: -40px;
}
.hero-band > * { position: relative; z-index: 1; }

.hero-title {
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: none;
  font-size: clamp(1.4rem, 2.9vw, 1.9rem);
}
.hero-title .w1 { color: var(--green); }
.hero-title .w2 { color: var(--coral); }
.hero-title .w3 { color: var(--teal); }
.hero-text { color: var(--muted); font-size: 1.05rem; font-weight: 600; }

/* Category circles */
.cat-circles { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }
.cat-circle {
  text-align: center;
  width: 96px;
  color: var(--heading);
  font-weight: 800;
  font-size: 0.78rem;
  line-height: 1.15;
  transition: transform .2s;
}
.cat-circle:hover { transform: translateY(-4px); color: var(--heading); }
.cat-circle .bubble {
  width: 68px;
  height: 68px;
  margin: 0 auto 0.45rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: var(--shadow-sm);
}
.cat-circle .bubble.c-green  { background: var(--green-soft);  color: var(--green-deep); }
.cat-circle .bubble.c-yellow { background: var(--yellow-soft); color: #dfa61e; }
.cat-circle .bubble.c-pink   { background: var(--pink-soft);   color: var(--pink); }
.cat-circle .bubble.c-purple { background: var(--purple-soft); color: var(--purple); }
.cat-circle .bubble.c-teal   { background: var(--teal-soft);   color: var(--teal); }

/* Hero illustration */
.hero-illustration {
  position: relative;
  min-height: 200px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 30% 30%, #fff6e9, transparent 60%),
    linear-gradient(135deg, var(--teal-soft) 0%, var(--green-soft) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-illustration .emoji-scene {
  font-size: clamp(4rem, 12vw, 8rem);
  line-height: 1.1;
  text-align: center;
  filter: drop-shadow(0 12px 20px rgba(0,0,0,0.10));
}
.hero-illustration .hero-illustration-img {
  position: relative;
  z-index: 1;
  width: 60%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(0,0,0,0.10));
}
.hero-illustration .blob { position: absolute; border-radius: 50%; opacity: .55; }
.hero-illustration .b1 { width: 90px; height: 90px; background: var(--pink-soft); top: 20px; right: 30px; }
.hero-illustration .b2 { width: 60px; height: 60px; background: var(--yellow-soft); bottom: 30px; left: 30px; }
.hero-illustration .b3 { width: 40px; height: 40px; background: var(--purple-soft); top: 40%; left: 12%; }

/* ---------------- Section heading ---------------- */
.section-soft { background: var(--surface-soft); }
.section-heading h2,
.lifestyle-banner h2,
.cta-box h2 { font-weight: 700; }
.section-title-deco {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: var(--green);
}
.section-title-deco h2 { color: var(--heading); margin: 0; font-weight: 700; }
.section-title-deco .leaf { font-size: 1.3rem; opacity: .8; }
.heart-divider {
  color: var(--coral);
  text-align: center;
  font-size: 1.1rem;
  letter-spacing: .4rem;
  margin: .4rem 0 0;
}

/* ---------------- Product cards ---------------- */
.info-card,
.review-card,
.cta-box,
.lifestyle-banner,
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.product-card {
  padding: 0.85rem;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-badge {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  z-index: 2;
  align-self: auto;
  background: var(--pink);
  color: #fff;
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 0;
  box-shadow: 0 6px 14px rgba(244, 143, 177, 0.35);
}
.product-badge.soft { background: var(--teal); box-shadow: 0 6px 14px rgba(88,182,204,.3); }
.product-visual {
  height: 200px;
  border-radius: 20px;
  margin-bottom: 1rem;
  background-color: #fbf5ec;
}
.visual-green  { background: linear-gradient(135deg, var(--green-soft) 0%, #d3ecb6 100%); }
.visual-sage   { background: linear-gradient(135deg, var(--yellow-soft) 0%, #f7e3a6 100%); }
.visual-cream  { background: linear-gradient(135deg, var(--pink-soft) 0%, #f8c6d8 100%); }
.visual-mint   { background: linear-gradient(135deg, var(--teal-soft) 0%, #bfe7ef 100%); }
.product-body { padding: 0 .35rem .35rem; }
.product-category {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}
.product-body h5 { font-weight: 700; font-size: 1.02rem; margin-bottom: 0.5rem; }
.product-body h5 a { color: var(--heading) !important; }
.product-price { color: var(--coral); font-weight: 800; font-size: 1.15rem; }
.product-price .old {
  color: var(--muted);
  font-weight: 700;
  font-size: .9rem;
  text-decoration: line-through;
  margin-right: .35rem;
}

.btn-cart {
  background: var(--green);
  border: none;
  color: #fff;
  border-radius: 999px;
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .03em;
  padding: .5rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(139,195,74,.3);
  transition: background .2s, transform .2s;
}
.btn-cart:hover { background: var(--green-deep); transform: translateY(-1px); color: #fff; }

.wishlist-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--coral-soft);
  background: var(--coral-soft);
  color: var(--coral);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
  transition: transform .2s, background .2s;
}
.wishlist-btn:hover { transform: scale(1.1); }
.wishlist-btn.active { background: var(--coral); color: #fff; }

/* ---------------- Feature bar ---------------- */
.feature-bar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow-sm);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.feature-item { display: flex; gap: 0.85rem; align-items: flex-start; }
.feature-item .f-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.f-icon.c-green  { background: var(--green-soft);  color: var(--green-deep); }
.f-icon.c-yellow { background: var(--yellow-soft); color: #dfa61e; }
.f-icon.c-pink   { background: var(--pink-soft);   color: var(--coral); }
.f-icon.c-purple { background: var(--purple-soft); color: var(--purple); }
.feature-item h6 { font-weight: 800; margin-bottom: 0.2rem; font-size: 0.98rem; }
.feature-item p { color: var(--muted); font-size: 0.85rem; margin: 0; font-weight: 600; }

.newsletter { display: flex; gap: 0.85rem; align-items: flex-start; }
.newsletter .n-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--coral-soft);
  color: var(--coral);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.newsletter h6 { font-weight: 800; margin-bottom: .55rem; font-size: 0.95rem; line-height: 1.25; }
.newsletter .form-control {
  border-radius: 999px 0 0 999px;
  border: 1px solid var(--line);
  padding-left: 1rem;
}
.newsletter .btn { border-radius: 0 999px 999px 0; }

/* ---------------- Info / reviews / misc ---------------- */
.info-card i { background: var(--green-soft); color: var(--green-deep); }
.info-card h5 { font-weight: 700; }
.info-card p { color: var(--muted); }
.chip { color: var(--heading); font-weight: 700; }
.chip.active,
.chip:hover { background: var(--coral-soft); color: var(--coral); }
.review-card p { color: var(--muted); }
.stars { color: var(--yellow); }
.cta-box p, .lifestyle-banner p { color: var(--muted); }
.mini-panel { background: var(--surface-soft); }
.mini-panel span { color: var(--muted); }
.hero-products-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.hero-points span { color: var(--muted); }
.hero-points > div { display: flex; align-items: center; gap: 0.5rem; }
.hero-points > div > span:last-child { font-size: 0.82rem; font-weight: 800; color: var(--heading); }
.hp-ic {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.hp-ic.c-green  { background: var(--green-soft);  color: var(--green-deep); }
.hp-ic.c-yellow { background: var(--yellow-soft); color: #dfa61e; }
.hp-ic.c-teal   { background: var(--teal-soft);   color: var(--teal); }
.hp-ic.c-pink   { background: var(--pink-soft);   color: var(--coral); }

.pay-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: none;
  color: var(--heading);
  border-radius: 999px;
  padding: 0.35rem 0.6rem 0.35rem 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
}
.pay-badge i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 0.95rem;
  color: #fff;
  flex-shrink: 0;
}

.pay-badge.c-green  { color: var(--green-deep); }
.pay-badge.c-green  i { background: var(--green); }
.pay-badge.c-teal   { color: var(--teal); }
.pay-badge.c-teal   i { background: var(--teal); }
.pay-badge.c-yellow { color: #dfa61e; }
.pay-badge.c-yellow i { background: var(--yellow); }
.pay-badge.c-purple { color: #7e57c2; }
.pay-badge.c-purple i { background: var(--purple); }
.pay-badge.c-pink   { color: var(--coral); }
.pay-badge.c-pink   i { background: var(--coral); }

/* ---------------- FAQ accordion ---------------- */
.faq-accordion .accordion-item {
  border: 1px solid var(--line);
  border-radius: 18px !important;
  margin-bottom: 0.85rem;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.faq-accordion .accordion-button {
  font-weight: 800;
  color: var(--heading);
  background: var(--surface);
  border-radius: 18px;
  padding: 1rem 1.15rem;
}
.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--coral);
  background: var(--coral-soft);
  box-shadow: none;
}
.faq-accordion .accordion-button:focus {
  border-color: transparent;
  box-shadow: none;
}
.faq-accordion .accordion-button::after {
  width: 1.1rem;
  height: 1.1rem;
  background-size: 1.1rem;
}
.faq-accordion .accordion-body {
  color: var(--muted);
  font-weight: 500;
  padding: 0.25rem 1.15rem 1.1rem;
}
.faq-accordion .accordion-body a { color: var(--coral); font-weight: 700; }

/* ---------------- Footer ---------------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.site-footer h6 { color: var(--heading); font-weight: 800; }
.footer-links a { color: var(--muted); font-weight: 600; }
.footer-links a:hover { color: var(--coral); }
.footer-credit-link { color: var(--muted); font-weight: 600; text-decoration: none; }
.footer-credit-link:hover { color: var(--coral); }
.footer-social-pinterest { background: #E60023; color: #fff; }
.footer-tagline { color: var(--muted); font-weight: 700; }
.footer-tagline .heart { color: var(--coral); }

/* ---------------- Mobile sticky bar ---------------- */
.mobile-bar {
  background: rgba(255, 249, 241, 0.96);
  border-top: 1px solid var(--line);
}

/* ---------------- Responsive ---------------- */
@media (max-width: 991.98px) {
  .hero-illustration { min-height: 160px; margin-top: 0.75rem; }
}
@media (max-width: 767.98px) {
  .cat-circle { width: 90px; font-size: 0.75rem; }
  .cat-circle .bubble { width: 70px; height: 70px; font-size: 1.6rem; }
}
@media (max-width: 575.98px) {
  .product-visual { height: 150px; }
  .product-body h5 { font-size: 0.95rem; }
  .product-price { font-size: 1.02rem; }
  .btn-cart { font-size: .72rem; padding: .45rem .8rem; }
  .wishlist-btn { width: 36px; height: 36px; font-size: .95rem; }
  .cat-circles { gap: 0.75rem; }
  .cat-circle { width: 76px; }
  .cat-circle .bubble { width: 62px; height: 62px; font-size: 1.4rem; }
  .navbar .brand-logo { font-size: 1.6rem; }
  .navbar .brand-tagline { font-size: 0.5rem; letter-spacing: 0.12em; }
  .icon-btn { min-width: 38px; height: 38px; font-size: 1.05rem; }
  .navbar-toggler { padding: .2rem .4rem; font-size: 1.05rem; }
  .d-lg-none.ms-auto { gap: 0.35rem !important; margin-right: 0.4rem !important; }
}
