/* ToyWorld Nusantara — style.css */
/* Warna: #e91e63 primer, #ffeb3b aksen, #fff8fc background */

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

:root {
  --pink: #e91e63;
  --pink-dark: #c2185b;
  --pink-light: #f8bbd9;
  --yellow: #ffeb3b;
  --yellow-dark: #f9a825;
  --bg: #fff8fc;
  --bg2: #fff0f7;
  --text: #2d1a26;
  --text-muted: #7a5060;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 4px 20px rgba(233,30,99,0.12);
  --shadow-hover: 0 8px 32px rgba(233,30,99,0.22);
  --font: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

/* ===== DEMO BAR ===== */
.demo-bar {
  background: #1a1a2e;
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.demo-bar a {
  color: var(--yellow);
  text-decoration: none;
  font-weight: 700;
}
.demo-bar a:hover { text-decoration: underline; }

/* ===== HEADER / NAV ===== */
header {
  background: var(--white);
  border-bottom: 3px solid var(--pink);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(233,30,99,0.10);
}

.nav-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.logo-icon {
  width: 42px;
  height: 42px;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text strong {
  font-size: 18px;
  font-weight: 800;
  color: var(--pink);
}
.logo-text span {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Checkbox hack mobile menu */
.nav-toggle { display: none; }
.nav-label {
  display: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  background: var(--bg2);
}
.nav-label svg { display: block; }

nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 20px;
  transition: background 0.2s, color 0.2s;
}
nav a:hover, nav a.aktif {
  background: var(--pink);
  color: var(--white);
}
nav .cta-nav {
  background: var(--yellow);
  color: var(--text);
  margin-left: 8px;
}
nav .cta-nav:hover {
  background: var(--yellow-dark);
  color: var(--text);
}

@media (max-width: 768px) {
  .nav-label { display: block; }
  nav {
    display: none;
    position: absolute;
    top: 67px;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 16px;
    border-bottom: 3px solid var(--pink);
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  }
  .nav-toggle:checked ~ .nav-wrap nav { display: flex; }
  nav a { padding: 12px 16px; border-radius: 10px; }
  .nav-wrap { position: relative; }
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--pink) 0%, #ff6090 50%, #ff8fab 100%);
  color: var(--white);
  padding: 60px 16px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 280px; height: 280px;
  background: rgba(255,235,59,0.18);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 220px; height: 220px;
  background: rgba(255,255,255,0.10);
  border-radius: 50%;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--text);
  font-weight: 800;
  font-size: 13px;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 18px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.hero p {
  font-size: 1.1rem;
  opacity: 0.93;
  margin-bottom: 32px;
  font-weight: 400;
}
.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-block;
  background: var(--yellow);
  color: var(--text);
  font-weight: 800;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 50px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.7);
  transition: background 0.18s, border-color 0.18s;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

/* floating toys decoration */
.hero-toys {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.toy-icon {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

/* ===== SECTION COMMON ===== */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 16px;
}
.section-title {
  text-align: center;
  margin-bottom: 36px;
}
.section-title h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 8px;
}
.section-title p {
  color: var(--text-muted);
  font-size: 1rem;
}
.section-title .underline {
  display: inline-block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--pink), var(--yellow));
  border-radius: 2px;
  margin: 10px auto 0;
}

/* ===== KATEGORI CHIPS ===== */
.kategori-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin-bottom: 8px;
}
.kategori-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 12px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  border: 2px solid transparent;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  font-weight: 700;
  font-size: 14px;
}
.kategori-card:hover {
  border-color: var(--pink);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.kategori-card .cat-icon {
  display: block;
  margin: 0 auto 10px;
  width: 48px;
  height: 48px;
}
.kategori-card small {
  display: block;
  font-weight: 400;
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 4px;
}

/* ===== PRODUCT GRID ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.product-thumb {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-thumb .badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--pink);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}
.product-thumb .badge-yellow {
  background: var(--yellow);
  color: var(--text);
}
.product-info {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-name {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
  line-height: 1.3;
}
.product-cat {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.product-price {
  font-weight: 800;
  color: var(--pink);
  font-size: 16px;
  margin-top: auto;
  margin-bottom: 10px;
}
.product-price .coret {
  text-decoration: line-through;
  color: var(--text-muted);
  font-weight: 400;
  font-size: 12px;
  margin-right: 4px;
}
.btn-card {
  display: block;
  text-align: center;
  background: var(--pink);
  color: var(--white);
  font-weight: 700;
  font-size: 13px;
  padding: 9px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.18s;
}
.btn-card:hover { background: var(--pink-dark); }
.btn-card-yellow {
  background: var(--yellow);
  color: var(--text);
}
.btn-card-yellow:hover { background: var(--yellow-dark); }

/* Thumb SVG containers with bg */
.thumb-edukatif { background: linear-gradient(135deg, #fff3e0, #ffe082); }
.thumb-action   { background: linear-gradient(135deg, #e8f5e9, #a5d6a7); }
.thumb-boneka   { background: linear-gradient(135deg, #fce4ec, #f48fb1); }
.thumb-puzzle   { background: linear-gradient(135deg, #e3f2fd, #90caf9); }
.thumb-kreatif  { background: linear-gradient(135deg, #f3e5f5, #ce93d8); }
.thumb-outdoor  { background: linear-gradient(135deg, #e0f7fa, #80deea); }
.thumb-musik    { background: linear-gradient(135deg, #fff8e1, #ffe082); }
.thumb-bangunan { background: linear-gradient(135deg, #fbe9e7, #ffab91); }

/* ===== BANNER PROMO ===== */
.banner-promo {
  background: linear-gradient(135deg, var(--yellow) 0%, #fff176 100%);
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: center;
  margin: 0 16px;
}
.banner-promo h3 {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 8px;
}
.banner-promo p { color: #5d4037; margin-bottom: 18px; }

/* ===== TESTIMONIAL ===== */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.testi-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--pink);
}
.testi-stars { color: #f9a825; font-size: 18px; margin-bottom: 10px; }
.testi-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 14px;
  font-style: italic;
}
.testi-author { font-weight: 700; font-size: 14px; color: var(--pink); }
.testi-location { font-size: 12px; color: var(--text-muted); }

/* ===== FILTER KATALOG (CSS only) ===== */
.filter-wrap {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
}
.filter-btn {
  padding: 8px 20px;
  border-radius: 20px;
  border: 2px solid var(--pink-light);
  background: var(--white);
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.18s;
  font-family: var(--font);
}
.filter-btn:hover, .filter-btn.aktif {
  background: var(--pink);
  color: var(--white);
  border-color: var(--pink);
}

/* ===== PRODUK DETAIL ===== */
.produk-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 680px) {
  .produk-detail { grid-template-columns: 1fr; }
}
.produk-foto {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.produk-foto-inner {
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fce4ec, #f8bbd9);
}
.produk-info h1 {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 8px;
}
.produk-kat-tag {
  display: inline-block;
  background: var(--pink-light);
  color: var(--pink-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.produk-harga {
  font-size: 2rem;
  font-weight: 900;
  color: var(--pink);
  margin-bottom: 6px;
}
.produk-harga .ori {
  font-size: 1rem;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 400;
  margin-right: 8px;
}
.produk-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.produk-rating .stars { color: #f9a825; font-size: 18px; }
.produk-rating span { font-size: 14px; color: var(--text-muted); }
.produk-desc { font-size: 15px; line-height: 1.7; color: var(--text); margin-bottom: 22px; }

.variasi-title { font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.variasi-wrap { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.variasi-btn {
  padding: 7px 18px;
  border-radius: 8px;
  border: 2px solid #ddd;
  background: var(--white);
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.18s;
  font-family: var(--font);
}
.variasi-btn:hover, .variasi-btn.aktif {
  border-color: var(--pink);
  background: var(--pink-light);
  color: var(--pink-dark);
}
.qty-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.qty-label { font-weight: 700; font-size: 14px; }
.qty-ctrl {
  display: flex;
  align-items: center;
  gap: 0;
  border: 2px solid var(--pink-light);
  border-radius: 8px;
  overflow: hidden;
}
.qty-ctrl button {
  width: 36px; height: 36px;
  background: var(--bg2);
  border: none;
  font-size: 18px;
  cursor: pointer;
  font-weight: 700;
  color: var(--pink);
  font-family: var(--font);
}
.qty-ctrl input {
  width: 48px; height: 36px;
  text-align: center;
  border: none;
  font-weight: 700;
  font-size: 15px;
  background: var(--white);
  font-family: var(--font);
}
.btn-order-big {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--pink);
  color: var(--white);
  font-weight: 800;
  font-size: 16px;
  padding: 16px;
  border-radius: 12px;
  text-decoration: none;
  margin-bottom: 12px;
  transition: background 0.18s;
}
.btn-order-big:hover { background: var(--pink-dark); }
.btn-wa {
  display: block;
  width: 100%;
  text-align: center;
  background: #25d366;
  color: var(--white);
  font-weight: 800;
  font-size: 15px;
  padding: 14px;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.18s;
}
.btn-wa:hover { background: #1da851; }

.produk-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 22px;
}
.feat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}
.feat-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--pink);
  flex-shrink: 0;
}

/* ===== FORM ===== */
.form-section {
  max-width: 640px;
  margin: 0 auto;
}
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
@media (max-width: 480px) {
  .form-card { padding: 22px 16px; }
}
.form-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--pink);
  margin-bottom: 24px;
  text-align: center;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--pink-light);
  border-radius: 10px;
  font-size: 15px;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.18s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--pink);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }
.btn-submit {
  width: 100%;
  padding: 15px;
  background: var(--pink);
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.18s, transform 0.18s;
  margin-top: 8px;
}
.btn-submit:hover {
  background: var(--pink-dark);
  transform: translateY(-2px);
}

/* ===== KONTAK ===== */
.kontak-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 680px) { .kontak-grid { grid-template-columns: 1fr; } }
.kontak-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.kontak-info-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--pink);
  margin-bottom: 18px;
}
.kontak-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.kontak-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.kontak-item-text strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}
.kontak-item-text span { font-size: 15px; font-weight: 600; }
.kontak-item-text a {
  color: var(--pink);
  text-decoration: none;
  font-weight: 700;
}
.kontak-item-text a:hover { text-decoration: underline; }

.jam-buka {
  border-top: 1px solid var(--pink-light);
  padding-top: 16px;
  margin-top: 16px;
}
.jam-buka h4 { font-weight: 800; margin-bottom: 10px; font-size: 14px; }
.jam-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 4px 0;
  border-bottom: 1px solid #f5e0ea;
}

/* ===== MAP PLACEHOLDER ===== */
.map-placeholder {
  border-radius: var(--radius);
  overflow: hidden;
  height: 220px;
  background: linear-gradient(135deg, #e8eaf6, #c5cae9);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  box-shadow: var(--shadow);
}
.map-placeholder-inner {
  text-align: center;
  color: #5c6bc0;
}
.map-placeholder-inner svg { margin-bottom: 8px; }
.map-placeholder-inner p { font-weight: 700; font-size: 14px; }

/* ===== FOOTER ===== */
footer {
  background: #1a0a12;
  color: #f5e0ea;
  padding: 40px 16px 20px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}
@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
}
.footer-brand strong {
  display: block;
  font-size: 20px;
  font-weight: 900;
  color: var(--pink);
  margin-bottom: 8px;
}
.footer-brand p { font-size: 13px; line-height: 1.6; opacity: 0.75; }
.footer-col h4 {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--yellow);
  margin-bottom: 12px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul li a {
  color: #f5e0ea;
  text-decoration: none;
  font-size: 13px;
  opacity: 0.8;
  transition: opacity 0.18s;
}
.footer-col ul li a:hover { opacity: 1; color: var(--pink); }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: 12px; opacity: 0.6; }
.footer-bottom .wa-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: var(--white);
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
}

/* ===== KEUNGGULAN ===== */
.keunggulan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.keunggulan-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.keunggulan-card:hover { transform: translateY(-4px); }
.keunggulan-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-light), var(--yellow));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.keunggulan-card h3 { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.keunggulan-card p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ===== BG STRIPES SECTION ===== */
.bg-stripe { background: var(--bg2); }

/* ===== ALERT / INFO BOX ===== */
.info-box {
  background: linear-gradient(135deg, var(--pink-light), #fff9c4);
  border-left: 4px solid var(--pink);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 14px;
  margin-bottom: 22px;
}
.info-box strong { color: var(--pink-dark); }

/* ===== RELATED PRODUCTS ===== */
.related-section { border-top: 1px solid var(--pink-light); margin-top: 48px; padding-top: 48px; }

/* ===== USIA BADGE ===== */
.usia-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--text);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}
