/* =====================================================================
   AMARI MALL — inner page layouts (listing, PDP, cart, checkout, static,
   auth, account). Loaded after layout.css.
   ===================================================================== */

.breadcrumb-nav { padding: 1rem 0 .4rem; }
.breadcrumb-list { background: #fff; display: inline-flex; padding: .45rem 1.1rem; border-radius: 999px; border: 1px solid var(--border); box-shadow: 0 4px 14px rgba(176,48,106,.06); }
.section-padding { padding: 1.5rem 0 3rem; }
.product-img-wrap img, .tp-card-img img { background: linear-gradient(135deg, #fde1ec, #ffe3d6); }

/* Listing: gradient banner header, pills, soft filter card */
.collection-banner { max-width: 1320px; margin: 1rem auto 0; border-radius: 32px; overflow: hidden; }
.listing-header.am-list-banner { background: linear-gradient(120deg, #b0306a 0%, #d4558a 55%, #ff8a65 130%); border-radius: 28px; padding: 1.4rem 1.8rem; margin-bottom: 1rem; box-shadow: var(--am-shadow); }
.am-list-banner h1 { color: #fff !important; margin: 0; font-size: clamp(1.4rem, 2.6vw, 2.1rem); }
.am-list-banner .result-count { background: rgba(255,255,255,.2); color: #fff; padding: .35rem .9rem; border-radius: 999px; font-weight: 600; }
.am-list-banner .inline-filter-btn { background: #fff; color: var(--am-rose); border: 0; border-radius: 999px; }
.am-list-banner .sort-select { border-radius: 999px !important; border: 0; background-color: #fff; padding: .5rem 1rem; color: var(--am-ink); font-weight: 600; }
.am-list-pills { overflow-x: auto; flex-wrap: nowrap; padding-bottom: .3rem; scrollbar-width: none; }
.am-list-pills .ap-pill { white-space: nowrap; }
.filter-sidebar { position: sticky; top: 100px; border-radius: 28px; overflow: hidden; }
.filter-sidebar-head { background: #fdf1ee; }
.filter-acc-header { border-radius: 14px; }
.product-grid.am-grid-list { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .product-grid.am-grid-list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .product-grid.am-grid-list { grid-template-columns: repeat(4, 1fr); } }
.listing-empty { grid-column: 1 / -1; text-align: center; padding: 3rem 1rem; background: #fff; border-radius: 28px; border: 1px dashed var(--border-md); }
.load-more-btn { background: var(--am-grad); color: #fff; border: 0; border-radius: 999px; padding: .85rem 2.6rem; letter-spacing: .04em; text-transform: none; font-size: .95rem; box-shadow: 0 10px 24px rgba(176,48,106,.28); }
.load-more-btn:hover { background: var(--am-grad); color: #fff; filter: brightness(1.06); }
.filter-sidebar-mobile { border-radius: 28px 0 0 28px; }

/* Stepper */
.am-stepper { display: flex; align-items: center; justify-content: center; gap: .6rem; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: .7rem 1.2rem; box-shadow: var(--am-shadow); margin: 1.2rem auto 1.5rem; max-width: 640px; }
.am-step { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .86rem; color: var(--text-muted); white-space: nowrap; }
.am-step b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #f3e3ea; color: var(--text-muted); font-size: .8rem; }
.am-step.active { color: var(--am-rose); }
.am-step.active b, .am-step.done b { background: var(--am-grad); color: #fff; }
.am-step.done { color: var(--am-ink); }
.am-step-line { flex: 1; height: 3px; border-radius: 3px; background: #f3e3ea; min-width: 14px; }
@media (max-width: 575px) { .am-step { font-size: .7rem; gap: .3rem; } .am-step b { width: 22px; height: 22px; font-size: .68rem; } .am-stepper { padding: .6rem .7rem; gap: .35rem; } }

/* Cart + checkout cards */
.cart-page, .checkout-page { padding-bottom: 3rem; }
.cart-delivery-bar { background: linear-gradient(90deg, #e9f8ef, #fff); border: 1px solid #bfe8cf; border-radius: 999px; color: #1c6b3d; }
.cart-item-row { border-radius: 24px; padding: 1rem; margin-bottom: .9rem; }
.cart-item-img { border-radius: 18px; }
.cart-item-price { color: var(--am-rose); font-weight: 800; }
.cart-qty-ctrl { border-radius: 999px; background: #fdf1ee; border: 0; }
.cart-summary-box { border-radius: 28px; position: sticky; top: 110px; padding: 1.5rem; }
.cart-summary-title { font-family: var(--font-display); }
.cart-checkout-btn, .place-order-btn { width: 100%; border: 0; font-weight: 700; padding: .95rem 1.4rem; }
.checkout-block { padding: 1.4rem; margin-bottom: 1rem; }
.checkout-section-title { font-family: var(--font-display); font-weight: 600; }
.checkout-page-title, .cart-page-heading h1 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
.coupon-apply-btn { border-radius: 999px; background: var(--am-grad); color: #fff; border: 0; }
.payment-option { border-radius: 20px; }

/* Product detail: thumbnails left, rounded info card right */
.pd-gallery { display: flex; gap: .9rem; align-items: flex-start; }
.pd-gallery .pd-thumbnails { flex-direction: column; margin: 0; width: 82px; flex: 0 0 82px; max-height: 560px; overflow-y: auto; overflow-x: hidden; }
.pd-gallery .pd-thumbnails .thumb { width: 72px; height: 72px; border-radius: 18px; }
.pd-gallery .pd-main-image { flex: 1; min-width: 0; border-radius: 32px; aspect-ratio: 4/5; box-shadow: var(--am-shadow); background: linear-gradient(135deg, #fde1ec, #ffe3d6); }
@media (max-width: 575px) { .pd-gallery { flex-direction: column-reverse; } .pd-gallery .pd-thumbnails { flex-direction: row; width: 100%; flex-basis: auto; max-height: none; overflow-x: auto; overflow-y: hidden; } .pd-gallery .pd-main-image { width: 100%; aspect-ratio: 1; border-radius: 26px; } }
.pd-info { background: #fff; border: 1px solid var(--border); border-radius: 32px; padding: 1.8rem; box-shadow: var(--am-shadow); }
@media (min-width: 992px) { .pd-info { margin-left: .5rem; } }
.pd-name { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 700; line-height: 1.2; }
.pd-size-btn, .pd-color-btn, .pd-spec-btn, .pd-group-chip, .pd-freq-opt, .pd-qty-btn { border-radius: 999px !important; }
.pd-size-btn.active, .pd-size-btn.selected, .pd-spec-btn.active, .pd-spec-btn.selected, .pd-group-chip.active { background: var(--am-grad); color: #fff; border-color: transparent; }
.pd-offer-card, .pd-delivery, .pd-specs, .pd-expandable, .pd-subscribe-box { border-radius: 22px; }
.btn-add-cart { background: var(--am-grad); border-radius: 999px; box-shadow: 0 12px 26px rgba(176,48,106,.32); text-transform: none; font-size: 1rem; letter-spacing: .01em; }
.btn-add-wishlist { border-radius: 50%; }
.reviews-section { background: #fff; border-radius: 32px; border: 1px solid var(--border); box-shadow: var(--am-shadow); padding: 1.5rem; margin-top: 2rem; }
@media (max-width: 991px) {
    .pd-actions { position: fixed; left: 0; right: 0; bottom: 62px; z-index: 900; margin: 0; padding: .7rem 1rem; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-radius: 24px 24px 0 0; box-shadow: 0 -10px 28px rgba(176,48,106,.18); }
    .pd-info { padding: 1.2rem; border-radius: 26px; margin-bottom: 5rem; }
}

/* Static / policy pages */
.page-banner { max-width: 1320px; margin: 1rem auto 0; border-radius: 32px; overflow: hidden; background: var(--am-grad) !important; min-height: 0; padding: 2.4rem 1rem; }
.page-banner-overlay { display: none; }
.page-banner-title, .page-banner-subtitle, .page-banner-breadcrumb, .page-banner-breadcrumb a { color: #fff !important; }
.static-page-content { background: #fff; border-radius: 32px; padding: 2rem clamp(1.2rem, 4vw, 3rem); border: 1px solid var(--border); box-shadow: var(--am-shadow); max-width: 980px; margin: 0 auto; }
.static-page-title { font-size: clamp(1.5rem, 3vw, 2.2rem); }

/* About / FAQ / Blog heroes */
.about-hero, .faq-hero, .blog-hero { border-radius: 36px; overflow: hidden; max-width: 1320px; margin: 1rem auto 0; background: linear-gradient(135deg, #fde1ec, #ffe3d6); }
.faq-hero, .blog-hero { background: var(--am-grad); }
.faq-hero h1, .faq-hero p, .faq-hero a, .blog-hero h1, .blog-hero p { color: #fff; }
.about-stat, .about-why-card, .about-pillar, .about-cta { border-radius: 28px; }
.about-stats-grid .about-stat { background: #fff; border: 1px solid var(--border); box-shadow: var(--am-shadow); padding: 1.4rem; text-align: center; }
.about-cta { background: var(--am-grad); max-width: 1320px; margin: 2rem auto; }
.about-cta h2, .about-cta p { color: #fff; }
.faq-item { border-radius: 22px; background: #fff; border: 1px solid var(--border); margin-bottom: .7rem; overflow: hidden; }
.faq-cat-link { border-radius: 999px; }
.faq-cat-link.is-active { background: var(--am-grad); color: #fff; }
.faq-help-card { border-radius: 28px; }

/* Contact */
.contact-info-card { background: var(--am-grad); border-radius: 32px; padding: 2rem; box-shadow: var(--am-shadow); }
.contact-info-card, .contact-info-card * { color: #fff; }
.contact-form-card { background: #fff; border-radius: 32px; padding: 2rem; border: 1px solid var(--border); box-shadow: var(--am-shadow); }
.btn-send-message { background: var(--am-grad); color: #fff; border: 0; border-radius: 999px; padding: .85rem 2rem; font-weight: 700; }

/* Blog */
.blog-card { border-radius: 26px; background: #fff; border: 1px solid var(--border); box-shadow: 0 8px 24px rgba(176,48,106,.07); overflow: hidden; }
.blog-category-pills a { border-radius: 999px; }
.blog-category-pills a.active { background: var(--am-grad); color: #fff; }
.blog-card-category { background: #fff; color: var(--am-rose); border-radius: 999px; }
.blog-card-readmore { color: var(--am-rose); font-weight: 700; }
.blog-detail-featured, .blog-detail-featured img { border-radius: 28px; }

/* Auth + account */
.auth-page { background: radial-gradient(800px 400px at 80% 0%, #ffe3d6, transparent 60%), radial-gradient(700px 400px at 0% 100%, #fde1ec, transparent 60%); }
.auth-card { border-radius: 36px; border: 1px solid var(--border); box-shadow: var(--shadow-lg); background: #fff; padding: 2.2rem; }
.btn-auth { background: var(--am-grad); color: #fff; border: 0; border-radius: 999px; font-weight: 700; padding: .85rem; width: 100%; box-shadow: 0 10px 24px rgba(176,48,106,.28); }
.btn-google { border-radius: 999px; }
.account-sidebar { border-radius: 28px; background: #fff; border: 1px solid var(--border); box-shadow: var(--am-shadow); overflow: hidden; }
.sidebar-header { background: var(--am-grad); }
.sidebar-header, .sidebar-header * { color: #fff; }
.sidebar-nav a { border-radius: 999px; margin: .15rem .6rem; }
.sidebar-nav a.active, .sidebar-nav a:hover { background: rgba(176,48,106,.10); color: var(--am-rose); }
.account-content-card, .acc-order-row, .account-profile-header { border-radius: 26px; background: #fff; border: 1px solid var(--border); box-shadow: var(--am-shadow); }
.acc-status-pill { border-radius: 999px; }
.btn-shop, .btn-save-profile, .btn-edit-profile { border-radius: 999px; }
#btn-send-otp, #btn-verify-otp { border-radius: 999px; background: var(--am-grad); color: #fff; border: 0; }

/* Search sidebar */
.search-sidebar { border-radius: 0 0 0 32px; }
.search-input-wrap { border-radius: 999px; border: 2px solid rgba(176,48,106,.2); background: #fff; padding: .2rem 1rem; }
.search-keyword-tags > * { border-radius: 999px; }

.login-modal-left .logo-text, .mobile-menu-sidebar .logo-text { color: #fff; font-style: normal; }
.auth-logo { text-align: center; margin-bottom: .8rem; }

/* ---------------- Account sub-pages ---------------- */
.acc-wrap .account-content-card:has(.acc-order-row), .acc-wrap .account-content-card:has(.address-grid) { background: transparent; border: 0; box-shadow: none; padding: 0; }
.acc-wrap .acc-order-row { background: #fff; border: 1px solid var(--border) !important; border-radius: 24px; padding: 1.1rem 1.4rem; margin-bottom: .85rem; box-shadow: 0 8px 22px rgba(176,48,106,.07); }
.acc-wrap .acc-view-btn { background: linear-gradient(135deg, #b0306a, #ff8a65); color: #fff; border: 0; border-radius: 999px; }
.st-pending { background: #fff3d6 !important; color: #a0680b !important; }
.st-confirmed { background: #e8f0ff !important; color: #2f5fc4 !important; }
.st-shipped { background: #efe8ff !important; color: #6a42c2 !important; }
.st-delivered { background: #e3f6ec !important; color: #1c7a4a !important; }
.st-cancelled { background: #fde8ec !important; color: #c42b4d !important; }
.od-card { border-radius: 28px !important; border: 1px solid var(--border) !important; box-shadow: 0 10px 30px rgba(176,48,106,.08) !important; background: #fff !important; }
.od-header { background: linear-gradient(135deg, #fff 0%, #fff3f0 100%) !important; }
.od-step-circle { box-shadow: 0 6px 14px rgba(176,48,106,.2); }
.od-back { background: #fff; padding: .4rem 1rem; border-radius: 999px; border: 1px solid var(--border); }
.od-item { border-radius: 20px; }
.od-item-img { border-radius: 16px !important; }
.od-wrap { background: transparent !important; padding-top: 10px !important; }
.address-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.address-grid > * { background: #fff; border-radius: 26px; border: 1px solid var(--border); box-shadow: 0 8px 22px rgba(176,48,106,.07); padding: 1.3rem; }
.address-form-card { border-radius: 28px; }
.addr-default-tag { background: linear-gradient(135deg, #b0306a, #ff8a65); color: #fff; border-radius: 999px; }
.wishlist-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 768px) { .wishlist-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .wishlist-grid { grid-template-columns: repeat(4, 1fr); } }
.wishlist-item-wrap { position: relative; }
.wallet-balance-card { background: linear-gradient(135deg, #b0306a 0%, #d4558a 60%, #ff8a65 130%) !important; border-radius: 32px !important; color: #fff; box-shadow: 0 18px 40px rgba(176,48,106,.28) !important; }
.transactions-card { border-radius: 28px !important; background: #fff; border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(176,48,106,.08); overflow: hidden; }
.cust-cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.cust-cert-card, .sub-list-card { border-radius: 26px !important; background: #fff; border: 1px solid var(--border); box-shadow: 0 8px 22px rgba(176,48,106,.07); overflow: hidden; }
.sub-list-icon { border-radius: 18px !important; }
.sub-list-next-chip, .cust-cert-badge-chip { border-radius: 999px; }
.cust-cert-btn { border-radius: 999px !important; }
.password-security-note { border-radius: 20px; }
.eco-ring-progress { stroke: #ff8a65; }
