/* AO Beauty Shop – storefront theme (Bootstrap 5 overrides) */
:root {
  --ao-pink: #EC028C;
  --ao-pink-dark: #b8006c;
  --ao-pink-soft: #ffe3f2;
  --ao-blush: #fff4fa;
  --ao-purple: #7b2cbf;
  --ao-peach: #ff8f6b;
  --ao-gold: #ffb703;
  --ao-ink: #1b1320; --ao-dark: #1b1320; --ao-surface: #fff; --ao-line: #f6dcea;
  --ao-radius: 18px;
  --bs-primary: #EC028C;
  --bs-primary-rgb: 236, 2, 140;
  --bs-link-color: #EC028C;
  --bs-link-color-rgb: 236, 2, 140;
  --bs-link-hover-color: #b8006c;
  --bs-body-font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --bs-body-color: #2b2230;
  --bs-heading-color: inherit;
}
body { background: #fff; padding-bottom: env(safe-area-inset-bottom); }
h1, h2, h3, h4, h5, .display-font, .brand-text { font-family: 'Fredoka', 'Nunito', sans-serif; font-weight: 700; letter-spacing: -.01em; }
a { text-decoration: none; }
::selection { background: var(--ao-pink); color: #fff; }

/* Buttons */
.btn-primary, .btn-pink { background-image: none; --bs-btn-bg: var(--ao-pink); --bs-btn-border-color: var(--ao-pink); --bs-btn-hover-bg: var(--ao-pink-dark); --bs-btn-hover-border-color: var(--ao-pink-dark); --bs-btn-active-bg: var(--ao-pink-dark); --bs-btn-disabled-bg: #f38cc6; --bs-btn-disabled-border-color: #f38cc6; --bs-btn-color: #fff; --bs-btn-hover-color: #fff; font-weight: 800; }
.btn-outline-primary { --bs-btn-color: var(--ao-pink); --bs-btn-border-color: var(--ao-pink); --bs-btn-hover-bg: var(--ao-pink); --bs-btn-hover-border-color: var(--ao-pink); --bs-btn-active-bg: var(--ao-pink); font-weight: 800; }
.btn-dark { font-weight: 800; }
.btn-glow { box-shadow: 0 10px 25px -8px rgba(236, 2, 140, .7); }
.btn-icon { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 1.35rem; color: var(--ao-ink); }
.btn-icon:hover { background: var(--ao-pink-soft); color: var(--ao-pink); }
.form-control:focus, .form-select:focus, .form-check-input:focus { border-color: #f77fc3; box-shadow: 0 0 0 .25rem rgba(236, 2, 140, .15); }
.form-check-input:checked { background-color: var(--ao-pink); border-color: var(--ao-pink); }
.text-pink { color: var(--ao-pink) !important; }
.bg-pink { background: var(--ao-pink) !important; }
.bg-blush { background: var(--ao-blush) !important; }

/* Promo bar */
.promo-bar { background: linear-gradient(90deg, var(--ao-dark), #3a1340, var(--ao-dark)); color: #fff; font-size: .88rem; font-weight: 700; padding: .45rem 0; }

/* Header */
.site-header { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid #f6d6e8; z-index: 1030; }
.brand-logo { border-radius: 50%; transition: transform .4s; }
.navbar-brand:hover .brand-logo { transform: rotate(-12deg) scale(1.05); }
.brand-text { font-size: 1.45rem; color: var(--ao-ink); }
.brand-text span { color: var(--ao-pink); }
.header-search { position: relative; max-width: 520px; }
.header-search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #b3809e; }
.header-search .form-control { border-radius: 50px; padding: .65rem 1rem .65rem 2.6rem; background: var(--ao-blush); border: 1.5px solid #f8d2e7; }
.main-nav .nav-link { font-weight: 800; color: var(--ao-ink); padding: .5rem 1rem !important; border-radius: 50px; }
.main-nav .nav-link:hover, .main-nav .nav-link.active { color: var(--ao-pink); background: var(--ao-pink-soft); }
.cart-count { position: absolute; top: 2px; right: 0; background: var(--ao-pink); color: #fff; font-size: .65rem; min-width: 18px; }
.cart-count:empty, .cart-count[data-zero] { display: none; }
@media (max-width: 991.98px) { .offcanvas .main-nav .nav-link { font-size: 1.15rem; } }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(circle at 15% 20%, #ff6cbf 0, transparent 40%), radial-gradient(circle at 85% 80%, #9b4dff 0, transparent 40%), linear-gradient(135deg, #EC028C 0%, #d1007c 45%, #7b2cbf 100%); color: #fff; }
.hero::before { content: ""; position: absolute; width: 560px; height: 560px; right: -160px; top: -200px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.hero::after { content: ""; position: absolute; width: 300px; height: 300px; left: -120px; bottom: -150px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.hero .container { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.3rem, 5.5vw, 4.2rem); line-height: 1.02; }
.hero h1 em { font-style: normal; color: #ffe066; }
.hero .lead { color: rgba(255, 255, 255, .9); max-width: 540px; }
.hero-badge { display: inline-flex; align-items: center; gap: .4rem; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .35); padding: .35rem .9rem; border-radius: 50px; font-weight: 800; font-size: .85rem; }
.hero-visual { position: relative; max-width: 440px; margin: auto; }
.hero-visual .logo-ring { border-radius: 50%; background: #fff; padding: 14px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); animation: float 6s ease-in-out infinite; }
.hero-visual .logo-ring img { width: 100%; border-radius: 50%; display: block; }
.float-chip { position: absolute; background: #fff; color: var(--ao-ink); border-radius: 16px; padding: .6rem .9rem; font-weight: 800; font-size: .9rem; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .35); display: flex; align-items: center; gap: .5rem; animation: float 5s ease-in-out infinite; }
.float-chip i { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.chip-1 { top: 8%; left: -6%; } .chip-1 i { background: var(--ao-peach); }
.chip-2 { bottom: 14%; right: -8%; animation-delay: -2s; } .chip-2 i { background: var(--ao-purple); }
.chip-3 { bottom: -2%; left: 4%; animation-delay: -3.5s; } .chip-3 i { background: var(--ao-gold); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* Features strip */
.features { margin-top: -38px; position: relative; z-index: 5; }
.feature { background: #fff; border-radius: var(--ao-radius); padding: 1.1rem; display: flex; gap: .85rem; align-items: center; box-shadow: 0 12px 30px -16px rgba(123, 44, 191, .35); height: 100%; }
.feature i { font-size: 1.5rem; width: 50px; height: 50px; flex: 0 0 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #fff; }
.feature h6 { margin: 0; font-weight: 800; font-family: 'Nunito'; }
.feature small { color: #7d6c78; }
.f1 i { background: linear-gradient(135deg, #EC028C, #ff5fb8); } .f2 i { background: linear-gradient(135deg, #7b2cbf, #b57bff); }
.f3 i { background: linear-gradient(135deg, #ff8f6b, #ffb199); } .f4 i { background: linear-gradient(135deg, #f7a400, #ffd166); }

/* Sections */
.section { padding: 4rem 0; }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; }
.section-title h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-title .eyebrow { color: var(--ao-pink); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; }
.squiggle { display: inline-block; position: relative; }
.squiggle::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 8px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 8'%3E%3Cpath d='M0 4 Q5 0 10 4 T20 4 T30 4 T40 4' fill='none' stroke='%23EC028C' stroke-width='2.5'/%3E%3C/svg%3E") repeat-x; background-size: 40px 8px; }

/* Category tiles */
.cat-tile { display: flex; flex-direction: column; justify-content: space-between; border-radius: 22px; padding: 1.25rem; min-height: 150px; color: #fff; position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.cat-tile:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 18px 35px -15px rgba(0, 0, 0, .4); color: #fff; }
.cat-tile h3 { font-size: 1.25rem; margin: 0; position: relative; z-index: 2; }
.cat-tile small { opacity: .9; position: relative; z-index: 2; font-weight: 700; }
.cat-tile i.big { position: absolute; right: -10px; bottom: -18px; font-size: 6rem; opacity: .22; }
.cat-0 { background: linear-gradient(135deg, #EC028C, #ff6cbf); } .cat-1 { background: linear-gradient(135deg, #7b2cbf, #b57bff); }
.cat-2 { background: linear-gradient(135deg, #e63946, #ff8f6b); } .cat-3 { background: linear-gradient(135deg, #06a77d, #4cd4a8); }
.cat-4 { background: linear-gradient(135deg, #f7a400, #ffd166); } .cat-5 { background: linear-gradient(135deg, #3a86ff, #7fb2ff); }
.cat-6 { background: linear-gradient(135deg, #1b1320, #5b3a68); } .cat-7 { background: linear-gradient(135deg, #c9184a, #ff4d6d); }

/* Product card */
.product-card { background: #fff; border-radius: var(--ao-radius); border: 1px solid #f6dcea; overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px -22px rgba(236, 2, 140, .55); border-color: #f7b4d8; }
.pimg { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--ao-blush); overflow: hidden; }
.pimg img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .pimg img { transform: scale(1.06); }
.pbadges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.pbadge { font-size: .7rem; font-weight: 800; padding: .2rem .55rem; border-radius: 50px; color: #fff; }
.pbadge-sale { background: var(--ao-pink); } .pbadge-out { background: #555; } .pbadge-low { background: var(--ao-peach); } .pbadge-ws { background: var(--ao-purple); }
.pbody { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; flex: 1; }
.pbrand { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: #a3879a; font-weight: 800; }
.pname { color: var(--ao-ink); font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.pname:hover { color: var(--ao-pink); }
.price { font-weight: 800; color: var(--ao-pink); font-size: 1.05rem; }
.price-old { color: #a79aa3; font-size: .85rem; }
.btn-add { width: 42px; height: 42px; border-radius: 14px; background: var(--ao-dark); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; flex: 0 0 42px; }
.btn-add:hover { background: var(--ao-pink); color: #fff; transform: scale(1.08); }
.btn-add.added { background: #06a77d; }
@media (max-width: 575.98px) { .pbody { padding: .7rem; } .price { font-size: .95rem; } .btn-add { width: 36px; height: 36px; flex-basis: 36px; border-radius: 11px; } }

/* Promo / about blocks */
.promo-card { border-radius: 26px; padding: 2.2rem; color: #fff; position: relative; overflow: hidden; min-height: 220px; }
.promo-card.p1 { background: linear-gradient(135deg, #1b1320, #5b3a68); } .promo-card.p2 { background: linear-gradient(135deg, #ff8f6b, #EC028C); }
.promo-card .code { display: inline-block; border: 2px dashed rgba(255, 255, 255, .7); padding: .3rem .9rem; border-radius: 10px; font-weight: 800; letter-spacing: .12em; }
.about-block { background: var(--ao-blush); border-radius: 30px; padding: 2.5rem; position: relative; overflow: hidden; }
.about-block::before { content: "✨"; position: absolute; font-size: 9rem; right: 10px; top: -30px; opacity: .15; }
.social-cta { background: linear-gradient(120deg, #7b2cbf, #EC028C 55%, #ff8f6b); color: #fff; border-radius: 30px; padding: 2.5rem; }
.social-cta .btn-light { font-weight: 800; color: var(--ao-ink); }

/* Shop */
.page-hero { background: linear-gradient(135deg, var(--ao-blush), #f4e8ff); padding: 2.2rem 0; border-bottom: 1px solid #f6dcea; }
.page-hero h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin: 0; }
.breadcrumb { --bs-breadcrumb-divider-color: #c48fb0; font-size: .88rem; margin: 0 0 .3rem; }
.filter-box { background: #fff; border: 1px solid #f6dcea; border-radius: var(--ao-radius); padding: 1.2rem; }
.filter-box h6 { font-weight: 800; }
.filter-list a { display: flex; justify-content: space-between; padding: .4rem .6rem; border-radius: 10px; color: var(--ao-ink); font-weight: 600; }
.filter-list a:hover, .filter-list a.active { background: var(--ao-pink-soft); color: var(--ao-pink); }
.chip-scroll { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .4rem; scrollbar-width: none; }
.chip-scroll::-webkit-scrollbar { display: none; }
.chip { white-space: nowrap; border: 1.5px solid #f3c8e0; border-radius: 50px; padding: .4rem 1rem; font-weight: 700; color: var(--ao-ink); background: #fff; }
.chip.active, .chip:hover { background: var(--ao-pink); color: #fff; border-color: var(--ao-pink); }

/* Product page */
.gallery-main { border-radius: 26px; overflow: hidden; background: var(--ao-blush); aspect-ratio: 1/1; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: .6rem; margin-top: .8rem; overflow-x: auto; }
.thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: 14px; cursor: pointer; border: 2px solid transparent; }
.thumbs img.active { border-color: var(--ao-pink); }
.pd-price .price { font-size: 2rem; }
.ws-note { background: linear-gradient(90deg, #f1e4ff, #ffe3f2); border-radius: 14px; padding: .8rem 1rem; font-weight: 700; color: #4d1f78; }
.qty-input { display: inline-flex; align-items: center; border: 1.5px solid #f3c8e0; border-radius: 50px; overflow: hidden; }
.qty-input button { border: 0; background: transparent; width: 44px; height: 46px; font-size: 1.2rem; font-weight: 800; color: var(--ao-pink); }
.qty-input input { width: 56px; text-align: center; border: 0; font-weight: 800; -moz-appearance: textfield; }
.qty-input input::-webkit-inner-spin-button { -webkit-appearance: none; }
.trust-list li { padding: .3rem 0; font-weight: 600; }
.trust-list i { color: var(--ao-pink); margin-right: .45rem; }

/* Cart & checkout */
.cart-line { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px dashed #f1cbe0; align-items: center; }
.cart-line img { width: 84px; height: 84px; object-fit: cover; border-radius: 16px; background: var(--ao-blush); flex: 0 0 84px; }
.cart-line .name { font-weight: 800; color: var(--ao-ink); }
.summary-card { background: #fff; border: 1px solid #f6dcea; border-radius: 22px; padding: 1.5rem; position: sticky; top: 100px; box-shadow: 0 20px 40px -30px rgba(236, 2, 140, .6); }
.summary-row { display: flex; justify-content: space-between; padding: .35rem 0; }
.summary-total { font-size: 1.35rem; font-weight: 800; border-top: 2px solid #f6dcea; margin-top: .6rem; padding-top: .8rem; }
.free-ship { background: var(--ao-blush); border-radius: 12px; padding: .6rem .8rem; font-size: .88rem; font-weight: 700; }
.free-ship .progress { height: 8px; margin-top: .4rem; background: #f8d2e7; } .free-ship .progress-bar { background: var(--ao-pink); }
.checkout-card { background: #fff; border: 1px solid #f6dcea; border-radius: 22px; padding: 1.5rem; }
.checkout-card h5 { display: flex; align-items: center; gap: .6rem; }
.checkout-card h5 .num { width: 30px; height: 30px; border-radius: 50%; background: var(--ao-pink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .95rem; }
.pay-option { border: 2px solid #f3c8e0; border-radius: 16px; padding: 1rem; cursor: pointer; display: flex; gap: .8rem; align-items: center; transition: .2s; height: 100%; }
.pay-option:has(input:checked) { border-color: var(--ao-pink); background: var(--ao-blush); box-shadow: 0 0 0 4px rgba(236, 2, 140, .1); }
.pay-option i { font-size: 1.7rem; color: var(--ao-pink); }
.empty-state { text-align: center; padding: 4rem 1rem; }
.empty-state i { font-size: 4.5rem; color: #f3a5d0; }

/* Static pages */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.35rem; margin-top: 2rem; color: var(--ao-ink); }
.contact-card { border-radius: 22px; padding: 1.4rem; background: #fff; border: 1px solid #f6dcea; display: flex; gap: 1rem; align-items: center; height: 100%; color: var(--ao-ink); }
.contact-card:hover { border-color: var(--ao-pink); color: var(--ao-ink); }
.contact-card i { width: 54px; height: 54px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; color: #fff; flex: 0 0 54px; }

/* Order tracking */
.track-steps { display: flex; justify-content: space-between; position: relative; margin: 2rem 0; }
.track-steps::before { content: ""; position: absolute; top: 20px; left: 8%; right: 8%; height: 4px; background: #f3d3e5; }
.track-step { text-align: center; position: relative; z-index: 2; flex: 1; font-size: .82rem; font-weight: 700; color: #a3879a; }
.track-step .dot { width: 44px; height: 44px; border-radius: 50%; margin: 0 auto .4rem; background: #f3d3e5; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.1rem; }
.track-step.done { color: var(--ao-ink); } .track-step.done .dot { background: var(--ao-pink); }

/* Footer */
.site-footer { background: var(--ao-dark); color: #e9dbe4; position: relative; margin-top: 4rem; }
.footer-wave { position: absolute; top: -38px; left: 0; right: 0; height: 40px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40 C300 0 900 0 1200 40Z' fill='%231b1320'/%3E%3C/svg%3E") no-repeat; background-size: 100% 100%; }
.site-footer h6 { color: #fff; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; margin-bottom: 1rem; }
.site-footer a { color: #e9dbe4; } .site-footer a:hover { color: #ff6cbf; }
.site-footer li { padding: .2rem 0; }
.social a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .08); display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; }
.social a:hover { background: var(--ao-pink); color: #fff; }
.pay-badges { display: flex; flex-wrap: wrap; gap: .4rem; } .pay-badges span { background: rgba(255, 255, 255, .08); padding: .3rem .7rem; border-radius: 8px; font-size: .8rem; font-weight: 700; }

/* Mobile bottom nav */
.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1040; background: #fff; display: flex; justify-content: space-around; border-top: 1px solid #f3d3e5; padding: .35rem 0 calc(.35rem + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px -12px rgba(236, 2, 140, .35); }
.bottom-nav a { color: #7d6c78; display: flex; flex-direction: column; align-items: center; font-size: .68rem; font-weight: 800; padding: .2rem .6rem; position: relative; }
.bottom-nav a i { font-size: 1.3rem; }
.bottom-nav a.active, .bottom-nav a:hover { color: var(--ao-pink); }
.bottom-nav .cart-count { position: absolute; top: -2px; right: 4px; font-size: .62rem; padding: 0 5px; border-radius: 20px; }
@media (max-width: 991.98px) { body { padding-bottom: 70px; } .site-footer { padding-bottom: 20px; } }
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; align-items: center; justify-content: center; font-size: 1.8rem; z-index: 1040; box-shadow: 0 12px 25px -8px rgba(37, 211, 102, .7); }
.whatsapp-float:hover { color: #fff; transform: scale(1.08); }

/* Toast + alerts */
#aoToast { background: var(--ao-dark); color: #fff; border-radius: 14px; }
.alert { border-radius: 14px; position: relative; }
.alert-error { --bs-alert-color: #842029; --bs-alert-bg: #f8d7da; --bs-alert-border-color: #f5c2c7; }
.alert-x { position: absolute; right: 10px; top: 6px; border: 0; background: none; font-size: 1.3rem; opacity: .5; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }

/* Nested categories */
.mega-menu { padding: 1rem; border-radius: 18px; min-width: 260px; }
.mega-grid { display: grid; grid-template-columns: repeat(3, minmax(160px, 1fr)); gap: .25rem 1.25rem; }
@media (max-width: 991.98px) { .mega-menu { box-shadow: none !important; padding: .25rem 0 .5rem 1rem; } .mega-grid { grid-template-columns: 1fr 1fr; } }
.mega-col { padding: .25rem 0 .6rem; }
.mega-parent { display: block; font-weight: 800; color: var(--ao-ink); padding: .3rem .5rem; border-radius: 10px; }
.mega-child { display: block; color: #6b5a66; font-weight: 600; font-size: .92rem; padding: .2rem .5rem .2rem 1rem; border-radius: 10px; }
.mega-parent:hover, .mega-child:hover { background: var(--ao-pink-soft); color: var(--ao-pink); }
.mega-all { display: block; border-top: 1px solid #f6dcea; margin-top: .4rem; padding: .6rem .5rem 0; font-weight: 800; }
.filter-list a.depth-1 { padding-left: 1.3rem; font-weight: 600; font-size: .93rem; }
.filter-list a.depth-2, .filter-list a.depth-3 { padding-left: 2.1rem; font-weight: 600; font-size: .9rem; }
.chip-sm { padding: .3rem .8rem; font-size: .88rem; border-color: #ead7ff; }
.chip-sm.active, .chip-sm:hover { background: var(--ao-purple); border-color: var(--ao-purple); }
.cat-subs { position: relative; z-index: 2; font-size: .78rem; font-weight: 700; opacity: .9; margin-top: .15rem; }
@media (min-width: 992px) and (max-width: 1199.98px) { .mega-grid { grid-template-columns: repeat(2, minmax(160px, 1fr)); } }

/* v3: variants, wishlist, reviews, accounts, newsletter, banners */
.product-card { position: relative; }
.pwish { position: absolute; top: 10px; right: 10px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ao-ink); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px -4px rgba(0,0,0,.25); }
.pwish:hover, .pwish.on, .btn-wish.on { color: var(--ao-pink); }
.btn-wish { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid #f3c8e0; font-size: 1.3rem; display: inline-flex; align-items: center; justify-content: center; }
.pswatches { display: flex; align-items: center; gap: 3px; margin-top: .35rem; }
.pswatches i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #e7cbdb; display: inline-block; }
.pswatches span { font-size: .72rem; color: #8a7a85; font-weight: 700; margin-left: 4px; }
.prating { font-size: .78rem; margin-top: .2rem; } .prating small { color: #8a7a85; }
.stars { color: #ffb703; letter-spacing: 1px; white-space: nowrap; }
.variant-picker { display: flex; flex-wrap: wrap; gap: .5rem; }
.vopt { border: 2px solid #f1d0e2; background: #fff; border-radius: 50px; font-weight: 700; position: relative; }
.vopt.pill { padding: .4rem .95rem; }
.vopt.swatch { width: 40px; height: 40px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 3px #fff; }
.vopt.active { border-color: var(--ao-pink); box-shadow: inset 0 0 0 3px #fff, 0 0 0 3px rgba(236,2,140,.2); }
.vopt.pill.active { background: var(--ao-pink-soft); color: var(--ao-pink); box-shadow: none; }
.vopt.oos { opacity: .5; } .vopt.oos::after { content: ""; position: absolute; left: 50%; top: -4px; bottom: -4px; width: 2px; background: #999; transform: rotate(45deg); }
.notify-box { background: #f6f1ff; border: 1px dashed #c9a7ff; border-radius: 16px; padding: 1rem; }
.review-item { border-bottom: 1px dashed #f1cbe0; padding: 1rem 0; }
.review-photo { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; margin-bottom: .5rem; }
.star-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: .2rem; font-size: 1.7rem; }
.star-input input { display: none; } .star-input label { color: #e3d2dc; cursor: pointer; display: inline-block; min-width: 1.6rem; text-align: center; line-height: 1; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #ffb703; }
.newsletter-box { background: linear-gradient(120deg, #EC028C, #7b2cbf); border-radius: 24px; padding: 1.6rem 1.8rem; display: flex; gap: 1.2rem; align-items: center; justify-content: space-between; flex-wrap: wrap; color: #fff; }
.newsletter-box form { min-width: min(100%, 420px); } .newsletter-box h4 { color: #fff; }
.account-nav a { display: flex; align-items: center; gap: .6rem; padding: .6rem .8rem; border-radius: 12px; color: var(--ao-ink); font-weight: 700; }
.account-nav a.active, .account-nav a:hover { background: var(--ao-pink-soft); color: var(--ao-pink); }
.points-hero { background: linear-gradient(135deg, #1b1320, #5b3a68); color: #fff; border-radius: 22px; padding: 1.4rem; height: 100%; }
.points-hero small { opacity: .8; }
.points-box { background: var(--ao-blush); border-radius: 14px; padding: .8rem; }
.create-acct { background: #f6f1ff; border-radius: 14px; padding: .8rem; }
.btn-icon.is-in { color: var(--ao-pink); }
.hero-banners .carousel-item { background: radial-gradient(circle at 15% 20%, rgba(255,255,255,.18) 0, transparent 40%), linear-gradient(135deg, var(--bn) 0%, color-mix(in srgb, var(--bn) 70%, #1b1320) 100%); }
.hero-slide.has-img { background-size: cover; background-position: center; position: relative; }
.hero-slide.has-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27,19,32,.75), rgba(27,19,32,.15)); }
.hero-slide { position: relative; } .hero-slide .container { position: relative; z-index: 2; }
.hero-banners .carousel-indicators { margin-bottom: 3.2rem; }
/* backdrop-filter would trap the fixed mobile menu inside the header and widen the page on phones */
@media (max-width: 991.98px) { .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; } }
.branch-card { background: var(--ao-surface, #fff); border-radius: 14px; padding: .75rem 1rem; margin-bottom: .6rem; }

/* Share buttons */
.share-box { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.share-btn { width: 38px; height: 38px; border-radius: 50%; border: 0; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem; transition: transform .15s; }
.share-btn:hover { transform: translateY(-2px) scale(1.06); }
.sh-wa { background: #25d366; } .sh-fb { background: #1877f2; } .sh-x { background: #111; } .sh-tg { background: #229ed9; } .sh-pin { background: #e60023; }
.sh-mail { background: #7b2cbf; } .sh-copy { background: #6c757d; } .sh-native { background: var(--ao-pink); }

/* ===================== Dark mode ===================== */
[data-bs-theme=dark] {
  color-scheme: dark;
  --ao-ink: #f3e9f0; --ao-blush: #241a28; --ao-pink-soft: rgba(236, 2, 140, .2); --ao-surface: #1c1520; --ao-line: #3a2b41;
  --bs-body-bg: #130e17; --bs-body-color: #e9dde6; --bs-heading-color: inherit; --bs-secondary-color: #b5a3b0; --bs-border-color: #3a2b41;
  --bs-tertiary-bg: #1c1520; --bs-secondary-bg: #241a28; --bs-link-color: #ff5fb8; --bs-link-color-rgb: 255, 95, 184; --bs-link-hover-color: #ff8fcd;
}
[data-bs-theme=dark] body { background: var(--bs-body-bg); color: var(--bs-body-color); }
[data-bs-theme=dark] .site-header { background: rgba(19, 14, 23, .94); border-color: var(--ao-line); }
@media (max-width: 991.98px) { [data-bs-theme=dark] .site-header { background: #130e17; } }
[data-bs-theme=dark] .header-search .form-control { background: var(--ao-surface); border-color: var(--ao-line); color: var(--bs-body-color); }
[data-bs-theme=dark] .product-card, [data-bs-theme=dark] .feature, [data-bs-theme=dark] .filter-box, [data-bs-theme=dark] .chip, [data-bs-theme=dark] .checkout-card,
[data-bs-theme=dark] .summary-card, [data-bs-theme=dark] .contact-card, [data-bs-theme=dark] .pager a, [data-bs-theme=dark] .bottom-nav, [data-bs-theme=dark] .qty-input,
[data-bs-theme=dark] .pay-option, [data-bs-theme=dark] .pwish, [data-bs-theme=dark] .vopt.pill, [data-bs-theme=dark] .btn-wish, [data-bs-theme=dark] .offcanvas,
[data-bs-theme=dark] .branch-card { background-color: var(--ao-surface); border-color: var(--ao-line); }
[data-bs-theme=dark] .product-card:hover { border-color: #6b3657; }
[data-bs-theme=dark] .vopt { border-color: var(--ao-line); }
[data-bs-theme=dark] .vopt.swatch { box-shadow: inset 0 0 0 3px var(--ao-surface); }
[data-bs-theme=dark] .vopt.swatch.active { box-shadow: inset 0 0 0 3px var(--ao-surface), 0 0 0 3px rgba(236, 2, 140, .45); }
[data-bs-theme=dark] .chip.active, [data-bs-theme=dark] .chip:hover, [data-bs-theme=dark] .pager a.active { background: var(--ao-pink); color: #fff; }
[data-bs-theme=dark] .page-hero { background: linear-gradient(135deg, #21142a, #1a1230); border-color: var(--ao-line); }
[data-bs-theme=dark] .about-block { background: #1f1624; }
[data-bs-theme=dark] .pbrand, [data-bs-theme=dark] .price-old, [data-bs-theme=dark] .pswatches span, [data-bs-theme=dark] .feature small { color: #b39aab; }
[data-bs-theme=dark] .pswatches i { border-color: var(--ao-surface); box-shadow: 0 0 0 1px #5a4352; }
[data-bs-theme=dark] .btn-add { background: #3a2b41; }
[data-bs-theme=dark] .btn-add:hover { background: var(--ao-pink); }
[data-bs-theme=dark] .free-ship .progress { background: #3a2b41; }
[data-bs-theme=dark] .ws-note { background: linear-gradient(90deg, #2b1d3d, #3a1830); color: #e8d5ff; }
[data-bs-theme=dark] .notify-box, [data-bs-theme=dark] .create-acct { background: #21182b; border-color: #5b3a8a; }
[data-bs-theme=dark] .star-input label { color: #4a3a45; }
[data-bs-theme=dark] .track-steps::before, [data-bs-theme=dark] .track-step .dot { background: #3a2b41; }
[data-bs-theme=dark] .track-step.done .dot { background: var(--ao-pink); }
[data-bs-theme=dark] .cart-line, [data-bs-theme=dark] .review-item { border-color: var(--ao-line); }
[data-bs-theme=dark] .summary-total { border-color: var(--ao-line); }
[data-bs-theme=dark] .text-dark { color: var(--bs-body-color) !important; }
[data-bs-theme=dark] .bg-white { background-color: var(--ao-surface) !important; }
[data-bs-theme=dark] .text-bg-light { background-color: #2a2030 !important; color: #e9dde6 !important; }
[data-bs-theme=dark] .btn-light { background-image: none; --bs-btn-bg: #2a2030; --bs-btn-color: #e9dde6; --bs-btn-border-color: #3a2b41; --bs-btn-hover-bg: #352840; --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: #4a3753; --bs-btn-active-bg: #3d2f48; --bs-btn-active-color: #fff; }
[data-bs-theme=dark] .btn-dark { --bs-btn-bg: #f3e9f0; --bs-btn-color: #1b1320; --bs-btn-border-color: #f3e9f0; --bs-btn-hover-bg: #fff; --bs-btn-hover-color: #1b1320; }
[data-bs-theme=dark] .alert-error { --bs-alert-color: #f5b5bf; --bs-alert-bg: #3b1219; --bs-alert-border-color: #5c1d27; }
[data-bs-theme=dark] #aoToast { background: #2a2030; }
[data-bs-theme=dark] .brand-logo, [data-bs-theme=dark] .logo-ring { background: #fff; }
[data-bs-theme=dark] .site-footer { background: #0c080f; }
[data-bs-theme=dark] .footer-wave { filter: brightness(.5); }
[data-bs-theme=dark] .sh-x { background: #3b3b3b; } [data-bs-theme=dark] .sh-copy { background: #555; }

/* Invoices */
.invoice-doc { background: #fff; color: #1b1320; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px -18px rgba(27,19,32,.4); }
.inv-head { background: #EC028C; color: #fff; padding: 1.4rem 1.6rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.inv-logo { width: 74px; height: 74px; object-fit: contain; background: #fff; border-radius: 12px; padding: 3px; }
.inv-store { font-family: 'Fredoka', sans-serif; font-size: 1.4rem; font-weight: 700; }
.inv-title { font-family: 'Fredoka', sans-serif; font-size: 2rem; font-weight: 700; letter-spacing: .05em; }
.inv-body { padding: 1.5rem 1.6rem; }
.inv-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: #8a7a85; font-weight: 800; margin-bottom: .2rem; }
.inv-stamp { margin-top: .6rem; text-align: center; color: #fff; font-weight: 800; border-radius: 8px; padding: .25rem; font-size: .85rem; background: #EC028C; }
.inv-paid { background: #06a77d; } .inv-overdue { background: #d62839; } .inv-partial { background: #f7a400; } .inv-cancelled, .inv-draft { background: #888; }
.inv-table thead th { background: #1b1320 !important; color: #fff !important; }
.inv-table td { color: #1b1320; background: transparent; }
.inv-totals { background: #fdf2f8; border-radius: 14px; padding: 1rem; }
.inv-totals > div { padding: .15rem 0; }
.inv-total { font-weight: 800; font-size: 1.1rem; border-top: 1px solid #f1cbe0; margin-top: .3rem; padding-top: .4rem !important; color: #EC028C; }
.inv-due { font-weight: 800; font-size: 1.2rem; }
.inv-line td { vertical-align: middle; }

.pay-card { background: linear-gradient(120deg, #EC028C, #7b2cbf); color: #fff; border-radius: 22px; padding: 1.3rem 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }

/* developer credit */
.dev-credit { color: rgba(255,255,255,.55); letter-spacing: .06em; font-size: .75rem; }
.dev-credit a { color: #fff; font-weight: 700; text-decoration: none; }
.dev-credit a:hover { color: var(--ao-pink, #EC028C); text-decoration: underline; }

/* categories page */
.cat-search { position: relative; flex: 1 1 260px; max-width: 380px; }
.cat-search i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); opacity: .5; }
.cat-search input { padding-left: 2.5rem; }
#catGrid .cat-tile { min-height: 140px; }
#catGrid .cat-tile h3 { font-size: 1.1rem; line-height: 1.15; word-break: break-word; }
.cat-empty { filter: saturate(.55); opacity: .8; }
.cat-chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .5rem; }
.cat-chips a { font-size: .78rem; font-weight: 700; padding: .2rem .6rem; border-radius: 30px; background: var(--ao-surface, #fff0f8); border: 1px solid var(--ao-line, #f6dcea); color: inherit; text-decoration: none; }
.cat-chips a:hover { border-color: var(--ao-pink, #EC028C); color: var(--ao-pink, #EC028C); }
.cat-chips span { opacity: .55; margin-left: .15rem; }

/* ---------- Pagination ---------- */
.pager { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; justify-content: center; margin: 1.5rem 0 .5rem; }
.pager a, .pager .dots, .pager .pg-step { min-width: 42px; height: 42px; padding: 0 .7rem; display: inline-flex; align-items: center; justify-content: center; gap: .3rem; border-radius: 12px; border: 1.5px solid var(--pg-line); background: var(--pg-bg); color: inherit; font-weight: 800; text-decoration: none; line-height: 1; transition: background .15s, border-color .15s, color .15s; }
.pager a:hover { border-color: var(--ao-pink, #EC028C); color: var(--ao-pink, #EC028C); }
.pager a.active { background: var(--ao-pink, #EC028C); border-color: var(--ao-pink, #EC028C); color: #fff; box-shadow: 0 4px 12px rgba(236,2,140,.25); }
.pager .dots { border: 0; background: transparent; min-width: 24px; padding: 0; opacity: .6; }
.pager .pg-step.disabled { opacity: .4; pointer-events: none; }
.pager .pg-info { flex-basis: 100%; text-align: center; font-size: .85rem; opacity: .65; margin-top: .25rem; }
@media (max-width: 575px) { .pager .pg-step span { display: none; } .pager a, .pager .dots, .pager .pg-step { min-width: 38px; height: 38px; padding: 0 .5rem; } }
.pager { --pg-line: #f3c8e0; --pg-bg: #fff; color: var(--ao-ink); margin-top: 2rem; }
[data-bs-theme=dark] .pager { --pg-line: var(--ao-line, #3a2a35); --pg-bg: var(--ao-surface, #1d1720); color: inherit; }
