/* Shampoo BD storefront polish — deep rose palette, why-shop row, card behaviour.
   Loaded on both the mobile and desktop layouts. The theme stylesheets load
   asynchronously, so selectors here are specific enough to win regardless of order. */
:root {
  --sbd-rose: #9B1B5A;
  --sbd-berry: #C94478;
  --sbd-blush: #F5C6DC;
  --sbd-cream: #FEF4F9;
  --sbd-cream2: #FCE8F4;
  --sbd-border: #F0D0E6;
  --sbd-muted: #805070;
  --sbd-text: #1A0510;
}

/* ── Why shop with us ─────────────────────────────────────────── */
html body .sbd-why { background: var(--sbd-cream2); border-top: 1px solid var(--sbd-border); border-bottom: 1px solid var(--sbd-border); padding: 30px 0; margin: 24px 0; }
html body .sbd-why-head { text-align: center; margin-bottom: 18px; }
html body .sbd-why-eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sbd-rose); }
html body .sbd-why-head h2 { font-size: 21px; font-weight: 800; color: var(--sbd-text); margin: 6px 0 0; }
html body .sbd-why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
html body .sbd-why-item { background: #fff; border: 1px solid var(--sbd-border); border-radius: 12px; padding: 20px 16px; text-align: center; transition: transform .25s ease, box-shadow .25s ease; }
html body .sbd-why-item:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(155, 27, 90, .12); }
html body .sbd-why-icon { width: 44px; height: 44px; margin: 0 auto 10px; border-radius: 50%; background: var(--sbd-cream2); color: var(--sbd-rose); font-size: 20px; line-height: 44px; }
html body .sbd-why-item h3 { font-size: 15px; font-weight: 700; color: var(--sbd-rose); margin: 0 0 6px; }
html body .sbd-why-item p { font-size: 13px; color: var(--sbd-muted); line-height: 1.6; margin: 0; }
@media (max-width: 575px) {
  html body .sbd-why { padding: 22px 0; }
  html body .sbd-why-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  html body .sbd-why-item { padding: 14px 10px; }
  html body .sbd-why-item h3 { font-size: 13px; }
  html body .sbd-why-item p { font-size: 11.5px; }
}

/* ── Stats strip ──────────────────────────────────────────────── */
html body .stats-strip { background: var(--sbd-rose); }

/* ── Product cards: lift on hover, image on a white square ───── */
html body .c_hpp_single_pro { transition: transform .28s cubic-bezier(.2,0,.1,1), box-shadow .28s cubic-bezier(.2,0,.1,1); }
html body .c_hpp_single_pro:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(155, 27, 90, .13); }
html body .c_hpps_thumb img { aspect-ratio: 1 / 1; object-fit: contain; background: #fff; transition: transform .4s ease; }
html body .c_hpp_single_pro:hover .c_hpps_thumb img { transform: scale(1.06); }

/* A placeholder data-URI means the real photo has not arrived yet. */
@keyframes sbd-shimmer { from { background-position: -420px 0; } to { background-position: 420px 0; } }
html body img[src^="data:image/svg"] { background: linear-gradient(90deg, #f5e8f0 25%, #fdf0f8 50%, #f5e8f0 75%); background-size: 840px 100%; animation: sbd-shimmer 1.4s ease-in-out infinite; }

/* ── Add-to-cart ripple ──────────────────────────────────────── */
html body .cmn_add_cart_btn { position: relative; overflow: hidden; }
.sbd-ripple { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .45); transform: scale(0); animation: sbd-ripple .55s linear; pointer-events: none; }
@keyframes sbd-ripple { to { transform: scale(4); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  html body .c_hpp_single_pro, html body .c_hpps_thumb img, html body .sbd-why-item { transition: none !important; }
  html body img[src^="data:image/svg"] { animation: none; }
  .sbd-ripple { display: none; }
}

/* ── News ticker ─────────────────────────────────────────────── */
/* The label is a flex sibling of the moving track, so the scrolling text used to
   slide across it. Lift it above the track and make it opaque. */
html body .ticker-label { position: relative; z-index: 2; background: #7C1447; }
html body .ticker-item { padding-right: 60px; }

/* ── Stray mobile category list ──────────────────────────────── */
/* .top_fixed_menu_sb is a sticky strip that style.css parks off-screen at top:-40px,
   but style.css is not loaded on mobile — mobile.css only carries display:block, so the
   strip rendered as a plain vertical list above everything else on every mobile page.
   The quicklinks bar already covers the same ground. */
@media (max-width: 767.98px) {
  html body .top_fixed_menu_sb { display: none !important; }
}
