:root {
  --pink: #F2B8DA;
  --purple: #C3A3DD;
  --blue: #9DCFF0;
  --white: #FFFEFF;
  --cream: #FEF8F5;
  --ink: #4A3B4E;
  --ink-soft: #7A6A7E;
  --whatsapp: #25D366;
  --radius: 20px;
  --shadow: 0 8px 24px rgba(195, 163, 221, 0.25);
  --header-h: 70px;
}

@media (max-width: 420px) {
  :root { --header-h: 60px; }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  font-family: 'Nunito', sans-serif;
  color: var(--ink);
  background: var(--cream);
  max-width: 100%;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Baloo 2', sans-serif; margin: 0; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 600;
  text-decoration: none;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: white;
  box-shadow: var(--shadow);
}
.btn-outline {
  background: transparent;
  color: var(--purple);
  border: 2px solid var(--purple);
}
.btn-whatsapp {
  background: var(--whatsapp);
  color: white;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}
.btn-small {
  padding: 10px 18px;
  font-size: 14px;
  width: 100%;
  text-align: center;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 50;
  min-height: var(--header-h);
  background: rgba(255, 254, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(195, 163, 221, 0.25);
  transition: box-shadow 0.2s ease;
}
.site-header.scrolled { box-shadow: 0 4px 18px rgba(195, 163, 221, 0.25); }
body { padding-top: var(--header-h); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 24px;
  min-height: var(--header-h);
}
.logo-link { flex-shrink: 0; line-height: 0; }
.logo { height: 44px; width: auto; border-radius: 10px; flex-shrink: 0; }
.header-cta {
  padding: 10px 16px;
  font-size: 13px;
  white-space: nowrap;
  min-width: 0;
  flex-shrink: 1;
}

.site-nav { display: flex; gap: 22px; flex: 1; justify-content: center; }
.nav-link {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--purple); border-bottom-color: var(--pink); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--purple);
  cursor: pointer;
  padding: 4px 8px;
  flex-shrink: 0;
}

.site-nav-mobile {
  display: none;
  flex-direction: column;
  background: white;
  border-top: 1px solid rgba(195, 163, 221, 0.2);
  padding: 8px 24px 14px;
}
.site-nav-mobile.open { display: flex; }
.site-nav-mobile a {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid rgba(195, 163, 221, 0.15);
}
.site-nav-mobile a.active { color: var(--pink); }

@media (max-width: 720px) {
  .site-nav { display: none; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
}
@media (max-width: 420px) {
  .logo { height: 36px; }
}

/* Hero */
.hero {
  text-align: center;
  padding: 64px 0 56px;
  background: radial-gradient(circle at 50% 0%, rgba(242,184,218,0.35), transparent 60%),
              radial-gradient(circle at 20% 80%, rgba(157,207,240,0.3), transparent 55%),
              radial-gradient(circle at 80% 80%, rgba(195,163,221,0.3), transparent 55%);
}
.hero-logo { max-width: 180px; margin: 0 auto 8px; border-radius: 16px; }
.hero-script {
  font-family: 'Caveat', cursive;
  font-size: 34px;
  color: var(--purple);
  margin: 0 0 12px;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero h1 em { font-style: normal; color: var(--pink); }
.hero-sub {
  max-width: 520px;
  margin: 0 auto 28px;
  color: var(--ink-soft);
  font-size: 17px;
}
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Sections */
.section { padding: 56px 0; }
.section-title {
  text-align: center;
  font-size: clamp(24px, 4vw, 32px);
  margin-bottom: 6px;
}
.section-sub {
  text-align: center;
  color: var(--ink-soft);
  margin: 0 auto 32px;
  max-width: 480px;
}
.trending { background: linear-gradient(180deg, rgba(157,207,240,0.15), transparent); }
.apparel { background: linear-gradient(180deg, rgba(195,163,221,0.12), transparent); }

/* Card grid */
.card-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.giftbox-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease;
}
.card:hover { transform: translateY(-4px); }
.card[data-product-id] { cursor: pointer; }
.card[data-product-id]:focus-visible { outline: 3px solid var(--purple); outline-offset: 2px; }

.card-img-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--cream);
}
.card.apparel-card .card-img-wrap { aspect-ratio: 4 / 5; background: #f4eef8; }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.apparel-card .card-img-wrap img { object-fit: contain; padding: 16px; }

.card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-name { font-family: 'Baloo 2', sans-serif; font-size: 17px; font-weight: 600; }
.card-desc { font-size: 13.5px; color: var(--ink-soft); line-height: 1.4; flex: 1; }
.card-price { font-family: 'Baloo 2', sans-serif; font-size: 18px; color: var(--purple); font-weight: 700; }
.card-price .tbd { font-size: 13px; color: var(--ink-soft); font-weight: 600; }

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--pink);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  font-family: 'Baloo 2', sans-serif;
  z-index: 2;
}
.badge.out-of-stock { background: #b7abab; }
.badge.character { background: var(--blue); color: var(--ink); }

.giftbox-card { text-align: center; }
.giftbox-card .card-body { align-items: center; }
.giftbox-tier { font-family: 'Caveat', cursive; font-size: 24px; color: var(--pink); }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.gallery-grid img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 1/1; object-fit: cover; }

/* Footer */
.site-footer {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: white;
  text-align: center;
  padding: 48px 0;
}
.footer-logo { max-width: 90px; margin: 0 auto 8px; border-radius: 12px; }
.footer-tagline { font-family: 'Caveat', cursive; font-size: 24px; margin-bottom: 20px; }
.footer-nav { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }
.footer-nav a { color: white; opacity: 0.9; text-decoration: none; font-family: 'Baloo 2', sans-serif; font-weight: 600; font-size: 14px; }
.footer-nav a:hover { opacity: 1; text-decoration: underline; }
.footer-socials { display: flex; gap: 14px; justify-content: center; margin-bottom: 22px; }
.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.15s ease;
}
.social-icon:hover { background: rgba(255,255,255,0.32); transform: translateY(-2px); }
.footer-note { margin-top: 18px; font-size: 13px; opacity: 0.85; }
.footer-legal { display: flex; gap: 16px; justify-content: center; margin-top: 12px; }
.footer-legal a { color: white; opacity: 0.75; text-decoration: underline; font-size: 12px; }
.footer-legal a:hover { opacity: 1; }
.footer-copy { margin-top: 6px; font-size: 12px; opacity: 0.7; }

/* View all */
.view-all-wrap { grid-column: 1 / -1; text-align: center; margin-top: 8px; }

/* Scroll to top */
#scroll-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: white;
  font-size: 20px;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 60;
}
#scroll-top-btn.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* Product modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(74, 59, 78, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
body.modal-open { overflow: hidden; }

.modal-box {
  background: white;
  border-radius: var(--radius);
  max-width: 640px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  box-shadow: 0 20px 60px rgba(74, 59, 78, 0.35);
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: rgba(255,255,255,0.85);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  color: var(--ink);
  z-index: 2;
}
.modal-img-wrap { background: var(--cream); }
.modal-img-wrap img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.modal-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.modal-body h3 { font-size: 22px; }
.modal-body p { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); margin: 0; }

@media (max-width: 600px) {
  .modal-box { grid-template-columns: 1fr; max-height: 92vh; }
  .modal-img-wrap img { min-height: 220px; }
}

@media (max-width: 480px) {
  .hero { padding: 48px 0 40px; }
  .section { padding: 40px 0; }
}

/* Blog */
.blog-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.blog-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}
.blog-card:hover { transform: translateY(-4px); }
.blog-card-img { aspect-ratio: 16/10; background: var(--cream); overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 18px 20px 22px; }
.blog-card-date { font-size: 12.5px; color: var(--ink-soft); margin-bottom: 6px; }
.blog-card-title { font-family: 'Baloo 2', sans-serif; font-size: 18px; margin-bottom: 8px; }
.blog-card-excerpt { font-size: 14px; color: var(--ink-soft); line-height: 1.5; }

.blog-post-container { max-width: 720px; }
.blog-post-hero { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 24px; aspect-ratio: 16/9; object-fit: cover; }
.blog-post-title { font-size: clamp(26px, 4vw, 36px); margin-bottom: 8px; }
.blog-post-date { color: var(--ink-soft); font-size: 14px; margin-bottom: 24px; }
.blog-post-body { font-size: 16px; line-height: 1.7; color: var(--ink); }
.blog-post-body p { margin: 0 0 18px; }
.blog-post-body h3, .blog-post-body h4, .blog-post-body h5 { margin: 28px 0 12px; font-family: 'Baloo 2', sans-serif; }
.blog-post-body ul { margin: 0 0 18px; padding-left: 22px; }
.blog-post-body img { max-width: 100%; border-radius: 14px; margin: 12px 0; }
.blog-post-body a { color: var(--purple); }
