/* =====================================================================
   AMARI MALL - WAVE 2: shared page hero + restructured pages
   ===================================================================== */
.am-page-hero { padding-bottom: 0; }
.am-page-hero .breadcrumb-nav { padding-left: 0; padding-right: 0; }
.am-page-hero-card { background: linear-gradient(120deg, #b0306a 0%, #d4558a 55%, #ff8a65 130%); border-radius: 36px; padding: clamp(1.6rem, 4vw, 2.8rem) clamp(1.4rem, 4vw, 3rem); color: #fff; box-shadow: 0 18px 44px rgba(176,48,106,.24); position: relative; overflow: hidden; }
.am-page-hero-card::after { content: ""; position: absolute; width: 280px; height: 280px; border-radius: 50%; right: -70px; top: -110px; background: rgba(255,255,255,.14); }
.am-page-hero-card h1 { color: #fff !important; margin: .2rem 0 .4rem; font-size: clamp(1.7rem, 3.4vw, 2.6rem); position: relative; z-index: 1; }
.am-page-hero-card p { margin: 0; max-width: 620px; opacity: .95; position: relative; z-index: 1; color: #fff; }
.am-page-hero-card .am-eyebrow { position: relative; z-index: 1; }
.am-sec-hero { background: linear-gradient(120deg, #b0306a 0%, #d4558a 55%, #ff8a65 130%); border-radius: 32px; padding: 2rem 1.6rem; text-align: center; box-shadow: 0 18px 44px rgba(176,48,106,.22); margin-bottom: 1.8rem; }
.am-sec-hero h2, .am-sec-hero p, .am-sec-hero i { color: #fff !important; }
.am-sec-hero h2::after { display: none; }

/* Contact */
.am-info-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; margin: 0 0 1.4rem; }
.am-info-card { display: flex; align-items: center; gap: .9rem; text-decoration: none; background: #fff; border: 1px solid var(--border); border-radius: 26px; padding: 1.1rem 1.3rem; box-shadow: 0 8px 22px rgba(176,48,106,.08); color: var(--am-ink); transition: transform .25s, box-shadow .25s; }
a.am-info-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(176,48,106,.18); }
.am-info-card > i { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--am-grad); color: #fff !important; font-size: 1.15rem; }
.am-info-card strong { display: block; font-size: .95rem; color: var(--am-ink) !important; }
.am-info-card p { margin: 0; font-size: .86rem; color: var(--text-muted) !important; word-break: break-word; }
.am-card-title { font-size: 1.4rem; margin-bottom: 1.2rem; }
.am-side-card h5 { color: #fff; font-family: var(--font-display); font-size: 1.4rem; }
.am-side-card p { color: #fff; }
.am-side-card .am-btn { margin-top: .4rem; color: var(--am-rose) !important; }
.am-contact .contact-form-card input, .am-contact .contact-form-card textarea { width: 100%; padding: .75rem 1rem; }
.am-contact .contact-form-card label { font-weight: 600; font-size: .85rem; margin-bottom: .3rem; display: block; }

/* Policy / static page with side nav */
.am-policy { display: grid; grid-template-columns: 270px 1fr; gap: 1.5rem; align-items: start; }
.am-policy-side { position: sticky; top: 110px; display: grid; gap: 1rem; }
.am-policy-card { background: #fff; border: 1px solid var(--border); border-radius: 28px; padding: .8rem; box-shadow: 0 10px 30px rgba(176,48,106,.08); }
.am-policy-head { font-family: var(--font-display); font-weight: 600; padding: .5rem .8rem; color: var(--am-ink); }
.am-policy-link { display: flex; align-items: center; gap: .6rem; padding: .6rem .9rem; border-radius: 999px; color: var(--am-ink); font-weight: 600; font-size: .88rem; text-decoration: none; }
.am-policy-link i { color: var(--am-rose); }
.am-policy-link:hover { background: rgba(176,48,106,.08); color: var(--am-rose); }
.am-policy-link.active { background: var(--am-grad); color: #fff; box-shadow: 0 6px 14px rgba(176,48,106,.25); }
.am-policy-link.active i { color: #fff; }
.am-policy-help { background: linear-gradient(135deg, #fff3f0, #fde1ec); padding: 1.1rem 1.2rem; display: grid; gap: .2rem; }
.am-policy-help b { color: var(--am-ink); }
.am-policy-help span { font-size: .82rem; color: var(--text-muted); word-break: break-word; }
.am-policy-main .static-page-content { max-width: none; margin: 0; }
.static-page-content h2, .static-page-content h3 { margin-top: 1.6rem; color: var(--am-rose-d); }
.static-page-content h2:first-child { margin-top: 0; }
.static-page-content ul { padding-left: 1.2rem; }
@media (max-width: 991px) {
    .am-policy { grid-template-columns: 1fr; }
    .am-policy-side { position: static; }
    .am-policy-card:not(.am-policy-help) { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: .3rem; scrollbar-width: none; }
    .am-policy-head { display: none; }
    .am-policy-link { white-space: nowrap; background: #fdf1ee; }
    .am-policy-help { display: none; }
}

/* About */
.about-hero { padding: 0; background: linear-gradient(135deg, #fde1ec, #ffe3d6); box-shadow: var(--am-shadow); }
.about-hero .container { padding-top: 2.4rem; padding-bottom: 2.4rem; }
.about-hero-media-frame { border-radius: 36px; overflow: hidden; }
.am-about-art { aspect-ratio: 4/5; display: flex; flex-direction: column; gap: .6rem; align-items: center; justify-content: center; background: var(--am-grad); color: #fff; }
.am-about-art i { font-size: 4.5rem; color: #fff; }
.am-about-art span { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; }
.about-hero-badge { border-radius: 22px; }
.about-hero-ctas a, .about-cta-ctas a { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.6rem; border-radius: 999px; font-weight: 700; text-decoration: none; background: var(--am-grad); color: #fff; box-shadow: 0 10px 24px rgba(176,48,106,.28); border: 0; }
.about-hero-ctas a + a { background: #fff; color: var(--am-rose); box-shadow: none; border: 1.5px solid rgba(176,48,106,.3); }
.about-cta-ctas a { background: #fff; color: var(--am-rose); }
.about-cta-ctas a + a { background: transparent; color: #fff; border: 1.5px solid #fff; box-shadow: none; }
.about-stats { margin-top: -1.5rem; position: relative; z-index: 2; padding: 0; background: transparent; }
.about-stats-grid { gap: 1rem; }
.about-stat-num { color: var(--am-rose); font-family: var(--font-display); }
.about-pillars, .about-why, .about-story { background: transparent; padding: 2.4rem 0; }
.about-pillar { position: relative; background: #fff; border: 1px solid var(--border); box-shadow: var(--am-shadow); padding: 1.8rem; text-align: left; }
.about-pillar-icon { width: 58px; height: 58px; border-radius: 20px; display: grid; place-items: center; background: var(--am-grad); color: #fff; margin: 0 0 1rem; }
.about-pillar-icon i { color: #fff; }
.about-pillar h3, .about-pillar p { text-align: left; }
.am-pillar-no { position: absolute; top: 1.2rem; right: 1.4rem; font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: rgba(176,48,106,.14); }
.about-why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.about-why-card { display: grid; grid-template-columns: 52px 1fr; column-gap: 1rem; background: #fff; border: 1px solid var(--border); padding: 1.4rem; box-shadow: var(--am-shadow); text-align: left; }
.about-why-card > i { grid-row: 1 / 3; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #fdf1ee; color: var(--am-rose); font-size: 1.3rem; }
.about-why-card h4, .about-why-card p { margin: 0; }
.about-why-card h4 { font-size: 1.05rem; }
.about-why-card p { color: var(--text-muted); font-size: .9rem; margin-top: .25rem; }
.about-story-grid { background: #fff; border: 1px solid var(--border); border-radius: 36px; padding: 2rem; box-shadow: var(--am-shadow); }
.about-cta { padding: 2.4rem 1rem; text-align: center; }

/* FAQ */
.faq-hero { padding: 2.2rem 0; text-align: center; box-shadow: var(--am-shadow); }
.faq-hero-breadcrumb, .faq-hero-breadcrumb a { color: rgba(255,255,255,.9); }
.am-faq-chips { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; margin-top: 1rem; }
.am-faq-chips span { background: rgba(255,255,255,.2); color: #fff; border-radius: 999px; padding: .35rem .95rem; font-size: .8rem; font-weight: 600; }
.faq-wrapper { padding: 1.5rem 0 3rem; background: transparent; }
.faq-shell { background: transparent; border: 0; box-shadow: none; padding: 0; }
.am-faq-pills { position: sticky; top: 92px; z-index: 5; display: flex; gap: .5rem; overflow-x: auto; padding: .6rem; background: rgba(255,255,255,.95); border-radius: 999px; border: 1px solid var(--border); box-shadow: 0 8px 22px rgba(176,48,106,.1); scrollbar-width: none; }
.am-faq-pills .faq-cat-link { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1.2rem; background: #fdf1ee; color: var(--am-ink); font-weight: 600; white-space: nowrap; }
.am-faq-pills .faq-cat-link i { color: var(--am-rose); }
.am-faq-pills .faq-cat-link.is-active, .am-faq-pills .faq-cat-link.is-active i { color: #fff; }
.am-faq-help { display: none; }
.faq-group-header { background: transparent; border: 0; padding: 1.4rem 0 .8rem; display: flex; align-items: center; gap: .8rem; }
.faq-group-icon { width: 48px; height: 48px; border-radius: 18px; background: var(--am-grad); color: #fff; display: grid; place-items: center; }
.faq-group-icon i { color: #fff; }
.faq-question { width: 100%; border-radius: 22px; padding: 1.05rem 1.3rem; font-weight: 600; background: transparent; color: var(--am-ink); display: flex; justify-content: space-between; align-items: center; gap: 1rem; text-align: left; border: 0; }
.faq-toggle { width: 32px; height: 32px; border-radius: 50%; background: #fdf1ee; color: var(--am-rose); display: grid; place-items: center; flex: 0 0 auto; transition: transform .3s; }
.faq-item.is-open .faq-toggle { transform: rotate(180deg); background: var(--am-grad); color: #fff; }
.faq-item.is-open { box-shadow: 0 12px 28px rgba(176,48,106,.14); }
.faq-cta { background: var(--am-grad); border-radius: 32px; color: #fff; padding: 1.8rem 2rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.faq-cta h3, .faq-cta p { color: #fff; margin: 0; }
.faq-cta .btn { background: #fff; color: var(--am-rose); box-shadow: 0 8px 20px rgba(0,0,0,.14); }

/* Blog */
.blog-hero { padding: 2.4rem 1rem; text-align: center; box-shadow: var(--am-shadow); background-size: cover; background-position: center; position: relative; }
.blog-hero .container { position: relative; z-index: 2; }
.blog-hero h1 { color: #fff; }
.blog-search-form { max-width: 480px; margin: 1.2rem auto 0; display: flex; background: #fff; padding: .3rem; border-radius: 999px; box-shadow: 0 10px 26px rgba(0,0,0,.16); }
.blog-search-form input { flex: 1; border: 0 !important; background: transparent; padding: .6rem 1.1rem; }
.blog-search-form button { border: 0; background: var(--am-grad); color: #fff; width: 44px; height: 44px; border-radius: 50%; }
.blog-category-pills { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .4rem; margin-bottom: 1.4rem; scrollbar-width: none; }
.blog-category-pills a { flex: 0 0 auto; background: #fff; border: 1px solid var(--border); padding: .5rem 1.15rem; font-weight: 600; font-size: .85rem; color: var(--am-ink); text-decoration: none; }
.blog-category-pills a.active { color: #fff; border-color: transparent; }
.am-blog-feature { margin-bottom: 1.4rem; }
.am-blog-feature .blog-card { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 320px; }
.am-blog-feature .blog-card-img-wrap { display: block; height: 100%; min-height: 260px; }
.am-blog-feature .blog-card-img, .am-blog-feature .blog-card-img-placeholder { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.am-blog-feature .blog-card-body { padding: 2rem; display: flex; flex-direction: column; justify-content: center; }
.am-blog-feature .blog-card-title { font-size: 1.7rem; }
.am-blog-grid-wrap { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; }
.blog-card-img-placeholder { background: linear-gradient(135deg, #fde1ec, #ffe3d6); display: grid; place-items: center; color: var(--am-rose); min-height: 180px; }
@media (max-width: 767px) { .am-blog-feature .blog-card { grid-template-columns: 1fr; } }
.am-pagination nav { display: flex; justify-content: center; }
.pagination .page-item .page-link { border-radius: 999px !important; margin: 0 .15rem; color: var(--am-rose); }
.pagination .active .page-link { background: var(--am-grad); border-color: transparent; color: #fff; }
.blog-detail-header { max-width: 1320px; margin: .4rem auto 0; background: linear-gradient(120deg, #b0306a, #d4558a 55%, #ff8a65 130%); border-radius: 36px; padding: 2.2rem 0; color: #fff; text-align: center; box-shadow: var(--am-shadow); }
.blog-detail-header .blog-detail-title, .blog-detail-header .blog-detail-meta, .blog-detail-header .blog-detail-meta span { color: #fff !important; }
.blog-detail-header .blog-detail-category { background: #fff; color: var(--am-rose); padding: .3rem 1rem; border-radius: 999px; font-weight: 700; display: inline-block; margin-bottom: .8rem; }
.blog-detail-content-col .blog-article-content { background: #fff; border: 1px solid var(--border); padding: 1.8rem; box-shadow: var(--am-shadow); }
.am-blog-aside { position: sticky; top: 110px; display: grid; gap: 1rem; }
.am-aside-card { background: #fff; border: 1px solid var(--border); border-radius: 26px; padding: 1.2rem; box-shadow: var(--am-shadow); }
.am-aside-author { display: flex; align-items: center; gap: .9rem; }
.am-aside-ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--am-grad); color: #fff; font-size: 1.3rem; }
.am-aside-author b { display: block; }
.am-aside-author small { color: var(--text-muted); }
.share-buttons { display: grid; gap: .5rem; }
.share-btn { border-radius: 999px !important; }
.related-section { padding: 2rem 0; }

/* Store locator / track order / videos */
.store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.1rem; }
.store-card { background: #fff; border: 1px solid var(--border); border-radius: 28px; box-shadow: var(--am-shadow); overflow: hidden; }
.store-card-header { background: #fdf1ee; padding: 1rem 1.3rem; display: flex; gap: .6rem; align-items: center; }
.store-card-header i { color: var(--am-rose); }
.btn-directions { display: inline-flex; gap: .4rem; background: var(--am-grad); color: #fff; padding: .55rem 1.2rem; border-radius: 999px; font-weight: 700; text-decoration: none; }
.track-order-wrap { max-width: 640px; margin: 0 auto; }
.track-order-form { display: flex; background: #fff; padding: .4rem; border-radius: 999px; border: 1px solid var(--border); box-shadow: var(--am-shadow); }
.track-order-form input { flex: 1; border: 0 !important; background: transparent; padding: .8rem 1.2rem; }
.track-order-form button { border: 0; background: var(--am-grad); color: #fff; padding: .8rem 1.8rem; border-radius: 999px; font-weight: 700; }
.video-grid .video-card { border-radius: 26px; background: #fff; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--am-shadow); }
.video-play-btn { background: var(--am-grad); color: #fff; }
.video-shop-link { background: #fdf1ee; color: var(--am-rose); padding: .3rem .9rem; border-radius: 999px; font-weight: 700; display: inline-flex; gap: .3rem; }

/* Plans / subscribe / calculators */
.plans-grid { gap: 1.2rem; }
.plan-card { border-radius: 32px !important; background: #fff; border: 1px solid var(--border); box-shadow: var(--am-shadow); }
.plan-card.is-popular { border: 2px solid var(--am-rose); box-shadow: 0 22px 50px rgba(176,48,106,.22); }
.plan-popular-badge { background: var(--am-grad); color: #fff; border-radius: 999px; }
.plan-icon { background: var(--am-grad); color: #fff; border-radius: 20px; }
.plan-amount { color: var(--am-rose); font-family: var(--font-display); }
.plan-cta { border-radius: 999px !important; background: var(--am-grad); color: #fff; border: 0; }
.plans-toggle { border-radius: 999px; background: #fff; border: 1px solid var(--border); padding: .3rem; display: inline-flex; box-shadow: var(--am-shadow); }
.plans-toggle-btn { border-radius: 999px; }
.plans-toggle-btn.active { background: var(--am-grad); color: #fff; }
.order-summary-card, .sub-summary, .sub-success-card, .calc-card, .calc-panel { border-radius: 28px !important; background: #fff; border: 1px solid var(--border); box-shadow: var(--am-shadow); }
.btn-checkout { border-radius: 999px !important; background: var(--am-grad); color: #fff; border: 0; }
.calc-tabs { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; }
.calc-tab { border-radius: 999px !important; background: #fdf1ee; color: var(--am-ink); }
.calc-tab.active { background: var(--am-grad); color: #fff; }
.calc-result-tile { border-radius: 22px !important; }

/* Design your own bag (restyle only) */
body .db-hero { border-radius: 36px; max-width: 1320px; margin: 1rem auto 0; background: var(--am-grad) !important; box-shadow: var(--am-shadow); overflow: hidden; }
body .db-hero h1, body .db-hero p, body .db-hero .db-crumb, body .db-hero .db-crumb a { color: #fff; }
body .db-hero h1 .accent { color: #ffe3d6; }
body .db-feat, body .db-pb, body .db-dpanel, body .db-cwrap, body .db-modal { border-radius: 28px; }
body .db-btn-p, body .db-hero-btns a { border-radius: 999px; }
body .db-step-dot { background: var(--am-grad); color: #fff; }

/* Mobile menu + search sidebar */
.mobile-menu-sidebar { border-radius: 0 32px 32px 0; }
.mobile-menu-list a, .mobile-menu-toggle { border-radius: 16px; }
.mobile-menu-list > li > a:hover { background: rgba(176,48,106,.08); color: var(--am-rose); }
.search-sidebar-header { background: #fff7f1; }
@media (max-width: 575px) { .am-page-hero-card { border-radius: 28px; } }

.am-side-card .contact-social strong, .am-side-card .contact-social { color: #fff !important; }
.am-side-card .footer-social a { background: rgba(255,255,255,.22); color: #fff; }

.faq-wrapper .faq-shell { margin-top: 0 !important; }
.am-faq-pills { flex-direction: row !important; align-items: center; border-radius: 999px !important; margin-bottom: .5rem; max-height: none !important; }
.am-faq-pills .faq-cat-link { width: auto !important; margin: 0 !important; }
.am-blog-feature .blog-card { min-height: 0; height: auto; }
.am-blog-feature .blog-card-img-wrap { min-height: 0; height: 100%; }
.am-blog-feature .blog-card-img, .am-blog-feature .blog-card-img-placeholder { aspect-ratio: auto; height: 100%; min-height: 0; }
.am-blog-feature .blog-card-body { justify-content: center; gap: .6rem; }
@media (min-width: 768px) { .am-blog-feature .blog-card { max-height: 400px; } }

.faq-wrapper { margin-top: 1rem !important; padding-bottom: 3rem; }
.faq-hero { padding: 2.2rem 0 !important; }

.am-faq-pills .faq-cat-link.is-active { background: var(--am-grad); box-shadow: 0 6px 14px rgba(176,48,106,.28); }

.section-heading, .section-title-inline { opacity: 1 !important; transform: none !important; }
.blog-detail-meta { justify-content: center; display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* ===== ONE shared gutter for every band (header, nav, pages, footer) ===== */
.container.section-padding, .container.cart-page, .container.checkout-page, .container.footer-body, .container.footer-bottom-inner, .container.am-contact, .container.plans-page, .container.subscribe-page, .container.calculators-page, .container.subscribe-success-page { padding-left: 2rem; padding-right: 2rem; }
@media (max-width: 767px) { .container.section-padding, .container.cart-page, .container.checkout-page, .container.footer-body, .container.footer-bottom-inner, .container.am-contact, .container.plans-page, .container.subscribe-page, .container.calculators-page, .container.subscribe-success-page { padding-left: 1.25rem; padding-right: 1.25rem; } }
.container { max-width: 1360px; }
.breadcrumb-nav { padding-left: 0; padding-right: 0; }
.breadcrumb-nav .container { padding-left: 2rem; padding-right: 2rem; }
@media (max-width: 767px) { .breadcrumb-nav .container { padding-left: 1.25rem; padding-right: 1.25rem; } }
.am-page-hero .breadcrumb-nav .container { padding-left: 0; padding-right: 0; }

/* header: single centre line, balanced groups */
.am-header-inner { align-items: center; }
.am-header-brand { min-width: 190px; }
.am-header-actions { min-width: 190px; justify-content: flex-end; align-items: center; }
.am-search-pill { margin-left: auto; margin-right: auto; }
.am-header-actions .icon-btn-label, .am-header-actions .icon-btn { align-self: center; }

/* footer: clean grid, no dead gaps */
.am-footer-body { align-items: start; }
.am-footer .footer-brand-col { max-width: 360px; }
.am-footer .footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.am-footer .footer-body, .am-footer-body { padding-top: 2.4rem; padding-bottom: 2.4rem; }

/* ===== Missing images: soft rose/peach tile + monogram, never black ===== */
.has-missing-img { position: relative; background: linear-gradient(135deg, #fde1ec 0%, #ffe3d6 100%) !important; }
.has-missing-img::after { content: "AM"; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 4vw, 2.6rem); color: rgba(176,48,106,.38); letter-spacing: .04em; pointer-events: none; }
.am-cat-avatar.has-missing-img::after { font-size: 1.6rem; }
.has-missing-img > a, .has-missing-img > picture { position: relative; z-index: 0; }
img.img-missing { opacity: 0 !important; visibility: hidden; }
.thumb.img-missing { display: none; }
.pd-thumbnails .thumb { background: linear-gradient(135deg, #fde1ec, #ffe3d6); }
.am-cat-avatar { position: relative; }
.pd-gallery .pd-main-image img.img-missing + * { display: none; }

a.has-missing-img { display: inline-block; min-width: 80px; min-height: 96px; border-radius: 18px; }
.checkout-item-img.img-missing, .cart-item-img.img-missing { display: block; }

/* policy: drop cap + TOC + auth split */
.am-dropcap::first-letter { float: left; font-family: var(--font-display); font-size: 3.4rem; line-height: .9; font-weight: 700; color: var(--am-rose); padding: .25rem .5rem 0 0; }
.am-toc .am-toc-list { display: grid; gap: .1rem; padding: 0 .3rem .5rem; max-height: 48vh; overflow-y: auto; }
.am-toc-link { display: block; padding: .45rem .8rem; border-radius: 14px; color: var(--text-muted); font-size: .84rem; font-weight: 500; text-decoration: none; border-left: 3px solid transparent; }
.am-toc-link.sub { padding-left: 1.5rem; font-size: .8rem; }
.am-toc-link:hover { background: rgba(176,48,106,.07); color: var(--am-rose); }
.am-toc-link.active { color: var(--am-rose); font-weight: 700; border-left-color: var(--am-rose); background: rgba(176,48,106,.08); }

.auth-page { padding: 1.5rem 1rem 3rem; display: flex; justify-content: center; }
.auth-card { display: grid; grid-template-columns: 1fr 1.1fr; max-width: 920px; width: 100%; padding: 0 !important; overflow: hidden; border-radius: 40px; }
.am-auth-art { background: linear-gradient(160deg, #3a1530 0%, #b0306a 65%, #ff8a65 130%); color: #fff; padding: 2.6rem 2.2rem; display: flex; flex-direction: column; justify-content: center; gap: 1rem; }
.am-auth-brand { font-family: var(--font-display); font-weight: 700; font-size: 1.8rem; }
.am-auth-art h2 { color: #fff; font-size: 1.7rem; line-height: 1.2; margin: 0; }
.am-auth-art ul { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; gap: .6rem; }
.am-auth-art li { display: flex; align-items: center; gap: .6rem; background: rgba(255,255,255,.14); padding: .55rem .95rem; border-radius: 999px; font-size: .88rem; font-weight: 500; }
.am-auth-form { padding: 2.4rem 2.4rem; }
@media (max-width: 767px) { .auth-card { grid-template-columns: 1fr; border-radius: 30px; } .am-auth-art { padding: 1.4rem; } .am-auth-art ul, .am-auth-art h2 { display: none; } .am-auth-form { padding: 1.6rem 1.3rem; } }

/* login modal / mobile menu / bottom nav / search */
.login-modal { border-radius: 36px; overflow: hidden; box-shadow: 0 30px 80px rgba(58,21,48,.35); }
.login-modal-left { background: linear-gradient(160deg, #3a1530 0%, #b0306a 65%, #ff8a65 130%); }
.login-modal-left .logo-text { color: #fff; }
.login-modal-title { font-family: var(--font-display); }
.otp-box { border-radius: 16px !important; }
.mm-btn, .mm-link { border-radius: 999px; }
.mobile-menu-sidebar { background: #fff7f1; border-radius: 0 32px 32px 0; }
.mobile-menu-header { background: linear-gradient(120deg, #b0306a, #ff8a65); border-radius: 0 32px 0 0; }
.mobile-menu-header .logo-text, .mobile-menu-logo, .mobile-menu-header .mobile-menu-close { color: #fff; }
.mobile-menu-header .logo-text { background: none; -webkit-text-fill-color: #fff; }
.mobile-menu-list > li > a, .mobile-menu-list > li > .mobile-menu-toggle { border-radius: 18px; margin: .15rem .6rem; }
.mobile-bottom-nav { left: 10px; right: 10px; bottom: 8px; border-radius: 28px; box-shadow: 0 10px 34px rgba(176,48,106,.25); }
.mobile-bottom-nav-item.active { color: var(--am-rose); }
.mobile-bottom-nav .cart-count-badge { background: var(--am-grad); color: #fff; }
.search-sidebar { border-radius: 32px 0 0 32px; background: #fff7f1; }
.search-sidebar-header { padding: 1rem; }
.search-keyword-tags a, .search-keyword-tags button, .search-keyword-tags span { border-radius: 999px; background: #fff; border: 1px solid var(--border); padding: .35rem .9rem; }
.search-section-title { font-family: var(--font-display); text-transform: none; font-size: 1rem; letter-spacing: 0; }
@media (max-width: 991px) { .wa-float { bottom: 90px; } main { padding-bottom: 76px; } }

/* product grids: centred flex rows so a partial last row never leaves holes */
.product-grid.am-grid, .product-grid.am-grid-list, .product-grid.am-grid-best { display: flex !important; flex-wrap: wrap; justify-content: center; gap: .85rem; --cols: 2; }
.product-grid.am-grid > *, .product-grid.am-grid-list > *, .product-grid.am-grid-best > * { flex: 0 0 calc((100% - (var(--cols) - 1) * .85rem) / var(--cols)); max-width: calc((100% - (var(--cols) - 1) * .85rem) / var(--cols)); min-width: 0; }
@media (min-width: 576px) { .product-grid.am-grid { --cols: 3; } }
@media (min-width: 768px) { .product-grid.am-grid-list, .product-grid.am-grid-best { --cols: 3; } }
@media (min-width: 992px) { .product-grid.am-grid { --cols: 4; gap: 1.1rem; } }
@media (min-width: 1200px) { .product-grid.am-grid-list { --cols: 4; } }
@media (min-width: 1280px) { .product-grid.am-grid { --cols: 5; } }
.product-grid.am-grid-list .listing-empty { flex: 1 1 100%; max-width: 100%; }
.am-cats .am-cat-scroller { justify-content: flex-start; }
@media (min-width: 768px) { .am-auth-form .auth-logo { display: none; } }
.auth-card a, .auth-footer a, .auth-card .forgot-link { color: var(--am-rose); }
.pd-info a.pd-save-link, .static-page-content a { color: var(--am-rose); }
.am-policy { align-items: stretch; }
.am-policy-side { position: static !important; align-content: start; }
.am-toc { position: sticky; top: 110px; }
@media (max-width: 991px) { .am-toc { position: static; display: none !important; } }
@media (max-width: 991px) { body:has(.pd-actions) .wa-float { bottom: 150px; } }

.mobile-bottom-nav .cart-count-badge { position: absolute; top: 4px; left: 54%; right: auto; min-width: 18px; height: 18px; }
