/* ============================================================
   KUBIGA STORE — store-sonny.css  (TEMA SONNY ANGEL — REFINED)
   Palette: Rose Pink (#b5546e) · Deep Rose (#8a3a52) · Lavender (#9b8ac4)
   Updated: softer saturation, rose/mauve instead of neon pink, lavender accent
   Font: Nunito (rounded, elegant)
   Character: Angel Original — soft wings + halo
   Background: Fantasy Sky — floating clouds + gentle stars
   ============================================================ */

@import url('./store.css');
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Sonny Angel — Rose Refined */
  --sonny-rose:    #b5546e;
  --sonny-deep:    #8a3a52;
  --sonny-blush:   #ddb8c8;
  --sonny-lavender:#9b8ac4;
  --sonny-pale:    #f5e8ee;
  --sonny-mist:    #ede0ea;

  --bg:        #f8f0f4;
  --surface:   #ffffff;
  --surface-2: #f4ebf0;
  --border:    #e4ccda;
  --text:      #321424;
  --text-2:    #5e2e40;
  --text-muted:#8e5a6e;
  --text-faint:#b8889a;

  --primary:       var(--sonny-rose);
  --primary-2:     var(--sonny-deep);
  --primary-grad:  linear-gradient(135deg, #b5546e 0%, #8a3a52 100%);
  --hero-grad:     linear-gradient(160deg, #c88ca4 0%, #b07ab8 55%, #8a78b8 100%);
  --primary-soft:  rgba(181,84,110,0.10);
  --primary-soft-2:rgba(138,58,82,0.08);

  --success:      #1f7a48;
  --success-soft: rgba(31,122,72,0.12);
  --warn:         #c97808;
  --warn-soft:    rgba(201,120,8,0.13);
  --danger:       #9b2030;
  --danger-soft:  rgba(155,32,48,0.11);

  --radius:    20px;
  --radius-sm: 14px;
  --radius-xs: 8px;
  --shadow:       0 2px 14px rgba(181,84,110,0.08), 0 1px 3px rgba(0,0,0,0.03);
  --shadow-card:  0 4px 22px rgba(181,84,110,0.10), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-hover: 0 12px 36px rgba(181,84,110,0.16), 0 2px 8px rgba(138,58,82,0.08);

  --font:         'Nunito', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-display: 'Nunito', 'Plus Jakarta Sans', sans-serif;
  --mono:         'JetBrains Mono', 'Fira Mono', monospace;
}

/* ── Ticker ── */
.ticker-wrap { background: linear-gradient(90deg, #8a3a52, #b5546e, #8a78b8); }

/* ── Navbar ── */
.navbar {
  border-top: 4px solid #b5546e !important;
  border-image: none !important;
  background: rgba(248, 240, 244, 0.94);
}
.brand-logo { color: var(--sonny-deep); }
.brand-icon {
  background: var(--primary-grad);
  border: 2px solid var(--sonny-blush);
  box-shadow: 0 2px 10px rgba(181,84,110,0.25);
}
.cart-count { color: var(--sonny-rose); }
.ops-dot { background: #b5546e; box-shadow: 0 0 6px rgba(181,84,110,0.5); }

/* ── 24/7 ops text ── */
#navOpsText { font-size: 0 !important; }
#navOpsText::after {
  content: '24 Jam / 7 Hari';
  font-size: 12px; color: var(--text-muted); white-space: nowrap;
}

/* ── Hero — Fantasy Sky background + Angel silhouette ── */
.hero {
  background:
    radial-gradient(ellipse at 20% 20%, rgba(220,190,210,0.35) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(155,138,196,0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(255,255,255,0.4) 0%, transparent 70%),
    linear-gradient(160deg, #f0dce6 0%, #e8d8e8 45%, #ddd0ec 100%);
  border-bottom: 2px solid var(--sonny-blush);
  min-height: 360px;
}
/* Angel silhouette — kanan bawah */
.hero::before {
  content: "";
  position: absolute; right: 3%; bottom: 0;
  width: 240px; height: 320px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 210'%3E%3Ccircle cx='80' cy='8' r='22' fill='none' stroke='%23b5907a' stroke-width='1.5' opacity='0.55'/%3E%3Cellipse cx='80' cy='50' rx='22' ry='24' fill='none' stroke='%23b5546e' stroke-width='2' opacity='0.85'/%3E%3Ccircle cx='72' cy='44' r='3.5' fill='%23b5546e' opacity='0.9'/%3E%3Ccircle cx='88' cy='44' r='3.5' fill='%23b5546e' opacity='0.9'/%3E%3Cellipse cx='80' cy='58' rx='7' ry='4' fill='%23ddb8c8' opacity='0.6'/%3E%3Crect x='70' y='74' width='20' height='30' rx='10' fill='none' stroke='%23b5546e' stroke-width='1.8' opacity='0.8'/%3E%3Cellipse cx='26' cy='92' rx='36' ry='20' fill='none' stroke='%239b8ac4' stroke-width='1.5' opacity='0.7'/%3E%3Cellipse cx='134' cy='92' rx='36' ry='20' fill='none' stroke='%239b8ac4' stroke-width='1.5' opacity='0.7'/%3E%3Cpath d='M 14 84 Q 26 68 38 82' fill='none' stroke='%239b8ac4' stroke-width='1' opacity='0.5'/%3E%3Cpath d='M 146 84 Q 134 68 122 82' fill='none' stroke='%239b8ac4' stroke-width='1' opacity='0.5'/%3E%3Cellipse cx='80' cy='118' rx='12' ry='22' fill='none' stroke='%23b5546e' stroke-width='1.5' opacity='0.65'/%3E%3Ccircle cx='55' cy='155' r='3' fill='%239b8ac4' opacity='0.45'/%3E%3Ccircle cx='80' cy='162' r='3.5' fill='%239b8ac4' opacity='0.55'/%3E%3Ccircle cx='105' cy='155' r='3' fill='%239b8ac4' opacity='0.45'/%3E%3Ccircle cx='36' cy='70' r='2' fill='%23ddb8c8' opacity='0.5'/%3E%3Ccircle cx='124' cy='70' r='2' fill='%23ddb8c8' opacity='0.5'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right bottom;
  opacity: 0.22;
  pointer-events: none; z-index: 0;
}
.hero::after {
  background: linear-gradient(180deg, var(--sonny-rose) 0%, var(--sonny-lavender) 100%);
}
@media (max-width: 768px) {
  .hero::before { opacity: 0.10; width: 150px; }
}

/* ── Hero badge & gradient text ── */
.hero-badge { background: var(--primary-soft); color: var(--sonny-deep); border-color: rgba(181,84,110,0.18); }
.hero-gradient {
  background: linear-gradient(135deg, var(--sonny-deep) 0%, var(--sonny-lavender) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.btn-hero-primary { box-shadow: 0 4px 16px rgba(181,84,110,0.22); }
.btn-hero-primary:hover { box-shadow: 0 8px 28px rgba(181,84,110,0.32); }

/* ── Section title accent ── */
.section-title::before { background: linear-gradient(180deg, var(--sonny-rose) 0%, var(--sonny-lavender) 100%); }

/* ── Product & UI ── */
.cat-card:hover, .cat-card.active { box-shadow: 0 4px 16px rgba(181,84,110,0.14); }
.pb-flash { background: rgba(138,58,82,0.88); }
.pb-new   { background: rgba(181,84,110,0.90); }
.pb-low   { background: rgba(190,100,10,0.85); }

.prod-thumb { background: linear-gradient(135deg, var(--sonny-pale), #e8ddf0); }
.md-thumb   { background: linear-gradient(135deg, var(--sonny-pale), #e8ddf0); }
.ci-thumb   { background: var(--primary-soft); }
.sr-item .sr-thumb { background: var(--primary-soft); }

.prod-skeleton {
  background: linear-gradient(90deg, var(--surface-2) 25%, #e8d8e8 50%, var(--surface-2) 75%);
  background-size: 200% 100%;
}

/* ── Buttons ── */
.btn-pay { box-shadow: 0 4px 20px rgba(181,84,110,0.28); }
.cart-count { color: var(--sonny-rose); }

/* ── Order detail box ── */
.order-detail-box { background: var(--sonny-mist); color: var(--sonny-deep); }

/* ── Modal ── */
.modal-box { box-shadow: 0 24px 80px rgba(181,84,110,0.16); }

/* ── Footer ── */
.footer-links a:hover { color: var(--sonny-rose); }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--sonny-blush); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--sonny-rose); }
