/* ═══════════════════════════════════════════════════════
   MARKETPLACE UI — Flipkart / Amazon / Myntra Style
   Override layer on top of site.css
   ═══════════════════════════════════════════════════════ */

:root {
    --heading-font: "Inter", sans-serif;
    --ink: #212121;
    --muted: #878787;
    --gold: #B72CDB;
    --gold-dark: #741B8E;
    --gold-light: #F3DCFB;
    --neon: #FF7A45;
    --neon-deep: #FF6B35;
    --surface: #F1F3F6;
    --line: rgba(0,0,0,0.08);
    --primary: #B72CDB;
    --accent: #FF7A45;
    --accent-deep: #FF6B35;
    --success: #388E3C;
    --danger: #FF6161;
}

/* ─── GLOBAL ─── */
body {
    background: #F1F3F6 !important;
    color: #212121;
}

h1,h2,h3,h4,h5,h6 {
    font-family: "Inter", sans-serif !important;
    letter-spacing: -0.01em;
}

::selection {
    background: rgba(183,44,219,0.2);
    color: #212121;
}

/* ─── ANNOUNCEMENT BAR ─── */
.mp-announce-bar {
    background: linear-gradient(90deg, #F6D7F9 0%, #FFF8FF 50%, #F6D7F9 100%);
    color: #7A1C54;
    text-align: center;
    padding: 0.45rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.mp-announce-bar i { margin-right: 0.4rem; }

/* ─── HEADER ─── */
.site-header {
    background: linear-gradient(180deg, #B72CDB 0%, #5B166F 100%) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: none !important;
    box-shadow: 0 2px 10px rgba(183,44,219,0.15) !important;
}

.site-header.nav-glass {
    background: linear-gradient(180deg, #B72CDB 0%, #5B166F 100%) !important;
    box-shadow: 0 2px 10px rgba(183,44,219,0.25) !important;
}

.brand-mark-header {
    background: rgba(255,255,255,0.15) !important;
    box-shadow: none !important;
    border-radius: 0.5rem;
}

.brand-mark-header i { color: #fff !important; }

.brand-accent { color: #F6C9FF !important; }
.brand-text { color: #fff !important; }
.brand-lockup {
    font-family: "Inter", sans-serif !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-weight: 700 !important;
}

/* Nav links */
.premium-nav-links .nav-link {
    color: rgba(255,255,255,0.9) !important;
    text-transform: none !important;
    font-size: 0.88rem !important;
    letter-spacing: 0 !important;
    font-weight: 500 !important;
}

.premium-nav-links .nav-link:hover,
.premium-nav-links .nav-link:focus {
    color: #F6C9FF !important;
}

.premium-nav-links .nav-item + .nav-item::before {
    display: none !important;
}

/* Search bar */
.header-global-search {
    background: #fff !important;
    border: none !important;
    border-radius: 0.375rem !important;
    min-width: 320px;
    padding: 0 !important;
    box-shadow: none !important;
}

.header-global-search i {
    color: #B72CDB !important;
    padding-left: 0.85rem;
}

.header-global-search input {
    color: #212121 !important;
    font-size: 0.9rem !important;
    padding: 0.6rem 0.5rem !important;
}

.header-global-search input::placeholder {
    color: #878787 !important;
}

.header-global-search-btn {
    background: #B72CDB !important;
    color: #fff !important;
    border-radius: 0 0.375rem 0.375rem 0 !important;
    padding: 0.6rem 1rem !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.02em !important;
    text-transform: none !important;
}

.header-global-search-btn:hover {
    background: #741B8E !important;
}

/* Header icons */
.header-icon-btn {
    border: 1px solid rgba(255,255,255,0.25) !important;
    border-radius: 0.5rem !important;
}

.header-icon-btn:hover,
.header-icon-btn:focus {
    background: rgba(255,255,255,0.15) !important;
    border-color: rgba(255,255,255,0.4) !important;
}

.header-badge {
    background: #FF6B35 !important;
}

/* Account buttons */
.header-account-link,
.header-account-logout {
    border-color: rgba(255,255,255,0.25) !important;
    border-radius: 0.5rem !important;
}

.header-account-link:hover,
.header-account-logout:hover {
    background: rgba(255,255,255,0.1) !important;
}

.header-account-link.admin-link {
    border-color: rgba(255,200,0,0.5) !important;
    background: rgba(255,200,0,0.12) !important;
    color: #F6C9FF !important;
}

.header-auth-trigger {
    background: #fff !important;
    color: #B72CDB !important;
    border: none !important;
    border-radius: 0.375rem !important;
    font-weight: 600 !important;
    padding: 0.55rem 1.1rem !important;
}

.header-auth-trigger:hover,
.header-auth-trigger:focus {
    background: #f5f5f5 !important;
    color: #741B8E !important;
    box-shadow: none !important;
    transform: none !important;
}

/* ─── SECONDARY NAV ─── */
.mp-subnav {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.mp-subnav-inner {
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0 1rem;
}

.mp-subnav-inner::-webkit-scrollbar { display: none; }

.mp-subnav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.65rem 1.1rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #212121;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
}

.mp-subnav-link:hover,
.mp-subnav-link.active {
    color: #B72CDB;
    border-bottom-color: #B72CDB;
}

.mp-subnav-link i {
    font-size: 1.15rem;
    color: #B72CDB;
}

/* ─── BUTTONS ─── */
.btn-gold {
    background: #FF6B35 !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(255,107,53,0.3) !important;
    border-radius: 0.375rem !important;
    font-weight: 600 !important;
}

.btn-gold:hover, .btn-gold:focus {
    background: #E65A2F !important;
    color: #fff !important;
}

.btn-neon {
    background: #FF7A45 !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(255,122,69,0.3) !important;
    border-radius: 0.375rem !important;
}

.btn-neon:hover, .btn-neon:focus {
    background: #E85E34 !important;
    color: #fff !important;
}

.btn-dark {
    background: #212121 !important;
    border-color: #212121 !important;
    border-radius: 0.375rem !important;
}

.btn-outline-dark {
    border-radius: 0.375rem !important;
}

.btn {
    border-radius: 0.375rem !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.btn:hover, .btn:focus {
    transform: none !important;
}

/* ─── HERO / LANDING ─── */
.landing-hero {
    min-height: 420px !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

.landing-hero .container {
    max-width: 100% !important;
    padding: 0 !important;
}

.hero-content {
    max-width: 600px;
}

/* Home hero contained banner */
section.landing-hero {
    min-height: 380px !important;
    max-height: 420px !important;
}

.eyebrow {
    color: #B72CDB !important;
    letter-spacing: 0.08em !important;
    font-weight: 700 !important;
}

.text-gold { color: #B72CDB !important; }

/* ─── CATEGORY ICON STRIP ─── */
.mp-category-strip {
    background: #fff;
    padding: 1.5rem 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.mp-category-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.mp-category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #212121;
    transition: transform 0.2s ease;
    min-width: 80px;
}

.mp-category-item:hover {
    transform: translateY(-4px);
    color: #B72CDB;
}

.mp-category-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F3DCFB, #FBF2FE);
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    color: #B72CDB;
    border: 2px solid #E9D5F2;
    transition: all 0.3s ease;
}

.mp-category-item:hover .mp-category-icon {
    background: #B72CDB;
    color: #fff;
    border-color: #B72CDB;
    box-shadow: 0 4px 14px rgba(183,44,219,0.3);
}

.mp-category-label {
    font-size: 0.78rem;
    font-weight: 600;
    text-align: center;
}

/* ─── DEAL SECTION ─── */
.mp-deal-section {
    background: #fff;
    padding: 1.25rem 0;
    margin-top: 0.75rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.mp-deal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    margin-bottom: 1rem;
}

.mp-deal-header h2 {
    font-size: 1.4rem !important;
    font-weight: 700;
    margin: 0;
}

.mp-deal-timer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #212121;
}

.mp-deal-timer-block {
    background: #212121;
    color: #fff;
    padding: 0.25rem 0.55rem;
    border-radius: 0.25rem;
    font-weight: 700;
    font-size: 0.9rem;
    min-width: 2rem;
    text-align: center;
}

.mp-deal-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0 1.5rem 0.5rem;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

.mp-deal-scroll::-webkit-scrollbar { display: none; }

/* ─── PRODUCT CARDS (Marketplace Style) ─── */
.shop-product-card,
.landing-product-card {
    border-radius: 0.375rem !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08) !important;
    border: none !important;
    transition: box-shadow 0.2s ease !important;
}

.shop-product-card:hover,
.landing-product-card:hover {
    transform: none !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12) !important;
}

.shop-product-media {
    background: #fff !important;
}

.shop-product-body {
    padding: 0.85rem 1rem !important;
}

.shop-product-body h3 {
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    color: #212121;
    margin: 0 0 0.35rem !important;
}

.shop-badge {
    border-radius: 0.2rem !important;
    font-size: 0.72rem !important;
    padding: 0.2rem 0.5rem !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.shop-badge.sale {
    background: #388E3C !important;
    color: #fff !important;
}

.shop-badge.dark {
    background: #212121 !important;
}

.price {
    font-weight: 700 !important;
    font-size: 1.1rem !important;
}

.compare-price {
    color: #878787 !important;
    font-size: 0.85rem !important;
}

.stock-tag.in, .stock-line.in {
    background: rgba(56,142,60,0.1) !important;
    color: #388E3C !important;
    border-radius: 0.25rem !important;
}

.stock-tag.out, .stock-line.out {
    background: rgba(255,97,97,0.1) !important;
    color: #FF6161 !important;
    border-radius: 0.25rem !important;
}

/* Shop card actions */
.shop-card-actions .btn {
    border-radius: 0.375rem !important;
    text-transform: none !important;
    font-weight: 600 !important;
}

/* ─── RATING STARS ─── */
.premium-rating-stars {
    color: #FF7A45 !important;
}

.review-stars {
    color: #FF7A45 !important;
}

/* Discount percentage badge */
.mp-discount-badge {
    color: #388E3C;
    font-size: 0.82rem;
    font-weight: 600;
}

/* ─── CATALOG / FILTER ─── */
.catalog-hero {
    background: linear-gradient(135deg, #B72CDB, #741B8E) !important;
    padding: 2.5rem 0 2rem !important;
}

.shop-filter-card {
    border-radius: 0.375rem !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06) !important;
}

.shop-filter-accordion .accordion-item {
    border-radius: 0 !important;
    border: none !important;
    border-bottom: 1px solid #e0e0e0 !important;
    background: #fff !important;
}

.shop-filter-accordion .accordion-button {
    background: #fff !important;
    font-family: "Inter", sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.02em !important;
    color: #212121 !important;
}

.shop-filter-accordion .accordion-button:not(.collapsed) {
    background: #fff !important;
    color: #B72CDB !important;
}

.filter-option, .filter-chip {
    border-radius: 0.25rem !important;
    padding: 0.55rem 0.65rem !important;
    background: #fff !important;
    border: 1px solid #e0e0e0 !important;
    font-size: 0.85rem !important;
}

.filter-chip.active {
    background: #B72CDB !important;
    color: #fff !important;
    border-color: #B72CDB !important;
}

.catalog-toolbar {
    border-radius: 0.375rem !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06) !important;
}

/* ─── PRODUCT DETAIL ─── */
.product-detail-card,
.product-gallery-card,
.detail-content-card {
    border-radius: 0.375rem !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06) !important;
}

.product-main-image {
    border-radius: 0.375rem !important;
}

.product-thumb {
    border-radius: 0.375rem !important;
}

.product-thumb.active {
    border-color: #B72CDB !important;
    box-shadow: 0 0 0 2px rgba(183,44,219,0.2) !important;
}

.detail-price-row strong {
    color: #212121 !important;
}

.variant-pill span {
    border-radius: 0.375rem !important;
}

.variant-pill input:checked + span {
    background: #B72CDB !important;
    border-color: #B72CDB !important;
    color: #fff !important;
}

/* Offers section on product page */
.mp-offers-section {
    margin: 1rem 0;
    padding: 0.85rem;
    border: 1px solid #e0e0e0;
    border-radius: 0.375rem;
    background: #fff;
}

.mp-offers-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #212121;
    margin-bottom: 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.mp-offers-title i { color: #388E3C; }

.mp-offer-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.4rem 0;
    font-size: 0.82rem;
    color: #212121;
}

.mp-offer-item .mp-offer-tag {
    background: #388E3C;
    color: #fff;
    padding: 0.1rem 0.4rem;
    border-radius: 0.2rem;
    font-size: 0.72rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* ─── CART ─── */
.commerce-hero {
    background: #fff !important;
    border: none !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06) !important;
    border-radius: 0.375rem !important;
}

.cart-line-card,
.coupon-panel,
.cart-totals-card,
.empty-commerce-state {
    border-radius: 0.375rem !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06) !important;
    border: none !important;
}

.cart-line-media { border-radius: 0.375rem !important; }

.cart-remove-btn {
    border-radius: 0.375rem !important;
}

.detail-quantity-box {
    border-radius: 0.375rem !important;
    background: #f5f5f5 !important;
}

.quantity-btn {
    border-radius: 0.25rem !important;
}

/* ─── CHECKOUT ─── */
.checkout-panel,
.checkout-summary-card,
.checkout-guest-card,
.checkout-submit-bar {
    border-radius: 0.375rem !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06) !important;
}

.checkout-hero, .orders-hero, .order-detail-hero {
    background: #fff !important;
    border-radius: 0.375rem !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06) !important;
    border: none !important;
}

/* ─── FOOTER ─── */
.site-footer {
    background: #26112F !important;
    color: rgba(255,255,255,0.7);
    padding: 2.5rem 0 1rem !important;
}

.site-footer h5, .site-footer h6 {
    color: #fff !important;
    text-transform: uppercase !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.06em !important;
    margin-bottom: 0.85rem !important;
}

.footer-links a {
    color: rgba(255,255,255,0.65) !important;
    font-size: 0.85rem !important;
}

.footer-links a:hover { color: #fff !important; }

.footer-bottom {
    border-top-color: rgba(255,255,255,0.1) !important;
    font-size: 0.78rem;
}

.brand-mark {
    background: #B72CDB !important;
    color: #fff !important;
    box-shadow: none !important;
    border-radius: 0.375rem !important;
}

/* ─── HOME PAGE SECTIONS ─── */
.home-category-card {
    border-radius: 0.375rem !important;
}

.home-category-bg {
    border-radius: 0.375rem !important;
}

.bg-black-true {
    background: #26112F !important;
}

/* ─── AUTH MODAL ─── */
.auth-modal-content {
    border-radius: 0.5rem !important;
}

.auth-modal-aside {
    background: #B72CDB !important;
}

.auth-kicker {
    background: rgba(255,255,255,0.15) !important;
    color: #F6C9FF !important;
}

.auth-primary-btn {
    background: #FF6B35 !important;
    border-radius: 0.375rem !important;
}

.auth-primary-btn:hover {
    background: #E65A2F !important;
}

.auth-field .form-control:focus {
    border-color: rgba(183,44,219,0.5) !important;
    box-shadow: 0 0 0 0.2rem rgba(183,44,219,0.1) !important;
}

/* ─── FORM FOCUS ─── */
.form-control:focus {
    border-color: rgba(183,44,219,0.5) !important;
    box-shadow: 0 0 0 0.2rem rgba(183,44,219,0.1) !important;
}

/* ─── TOAST ─── */
.premium-toast::before {
    background: #B72CDB !important;
}

.premium-toast.success::before {
    background: #388E3C !important;
}

.premium-toast.error::before {
    background: #FF6161 !important;
}

/* ─── PAGINATION ─── */
.premium-pagination .page-link.active,
.premium-pagination .page-link:hover {
    background: #B72CDB !important;
    border-color: #B72CDB !important;
}

/* ─── ACCOUNT ─── */
.account-overview-hero, .orders-hero {
    background: #fff !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06) !important;
    border-radius: 0.375rem !important;
}

.account-nav-link:hover,
.account-nav-link.is-active {
    border-color: rgba(183,44,219,0.3) !important;
    background: linear-gradient(135deg, rgba(183,44,219,0.06), #fff) !important;
}

.status-pill, .mobile-order-pill {
    background: rgba(183,44,219,0.1) !important;
    color: #B72CDB !important;
}

/* ─── WISHLIST CARD ─── */
.wishlist-card {
    border-radius: 0.375rem !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06) !important;
    border: none !important;
}

/* ─── TRUST BADGES ─── */
.mp-trust-strip {
    background: #fff;
    padding: 1.5rem 0;
    margin-top: 0.75rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.mp-trust-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.mp-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    text-align: center;
}

.mp-trust-icon {
    font-size: 1.8rem;
    color: #B72CDB;
}

.mp-trust-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #878787;
}

/* ─── SHIPPING BAR ─── */
.shipping-progress .progress-bar {
    background: linear-gradient(135deg, #B72CDB, #5b9cf5) !important;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 767.98px) {
    .mp-category-grid { gap: 1rem; }
    .mp-category-icon { width: 48px; height: 48px; font-size: 1.1rem; }
    .mp-category-label { font-size: 0.7rem; }
    .mp-deal-header h2 { font-size: 1.1rem !important; }
    .mp-subnav-link { padding: 0.5rem 0.8rem; font-size: 0.72rem; }
    .mp-trust-grid { gap: 1.5rem; }
    .header-global-search { min-width: 0 !important; }
}

@media (max-width: 575.98px) {
    .mp-category-grid { gap: 0.75rem; }
    .mp-category-icon { width: 44px; height: 44px; font-size: 1rem; }
    .mp-announce-bar { font-size: 0.72rem; padding: 0.35rem 0.5rem; }
}

/* ═══════════════════════════════════════════
   AI CHATBOT WIDGET
   ═══════════════════════════════════════════ */
.ai-chat-widget { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9998; font-family: "Inter", sans-serif; }

.ai-chat-fab {
    width: 56px; height: 56px; border-radius: 50%; border: none;
    background: linear-gradient(135deg, #B72CDB, #741B8E);
    color: #fff; font-size: 1.4rem; cursor: pointer;
    box-shadow: 0 4px 20px rgba(183,44,219,0.4);
    display: grid; place-items: center; position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ai-chat-fab:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(183,44,219,0.5); }
.ai-chat-fab.is-hidden { transform: scale(0); pointer-events: none; }

.ai-fab-pulse {
    position: absolute; inset: -4px; border-radius: 50%;
    border: 2px solid #B72CDB; opacity: 0;
    animation: fabPulse 2s ease-out infinite;
}
@keyframes fabPulse { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.5); opacity: 0; } }

.ai-chat-panel {
    position: fixed; bottom: 1.5rem; right: 1.5rem;
    width: 380px; max-width: calc(100vw - 2rem); height: 520px; max-height: calc(100vh - 6rem);
    background: #fff; border-radius: 1rem;
    box-shadow: 0 10px 50px rgba(0,0,0,0.18);
    display: flex; flex-direction: column;
    transform: scale(0.8) translateY(20px); opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), opacity 0.25s ease;
    overflow: hidden;
}
.ai-chat-panel.is-open { transform: scale(1) translateY(0); opacity: 1; pointer-events: all; }

.ai-chat-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, #B72CDB, #741B8E);
    color: #fff;
}
.ai-chat-header-info { display: flex; align-items: center; gap: 0.65rem; }
.ai-chat-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,0.2); display: grid; place-items: center;
    font-size: 1.1rem;
}
.ai-chat-header-info strong { font-size: 0.92rem; }
.ai-chat-status { display: flex; align-items: center; gap: 0.3rem; font-size: 0.72rem; opacity: 0.85; }
.ai-status-dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; }
.ai-chat-close { border: none; background: rgba(255,255,255,0.15); color: #fff; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.ai-chat-close:hover { background: rgba(255,255,255,0.25); }

.ai-chat-body {
    flex: 1; overflow-y: auto; padding: 1rem;
    display: flex; flex-direction: column; gap: 0.75rem;
    scroll-behavior: smooth;
}
.ai-chat-body::-webkit-scrollbar { width: 4px; }
.ai-chat-body::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }

.ai-msg { display: flex; }
.ai-msg-user { justify-content: flex-end; }
.ai-msg-bubble {
    max-width: 85%; padding: 0.7rem 0.9rem; border-radius: 1rem;
    font-size: 0.85rem; line-height: 1.55;
}
.ai-msg-bot .ai-msg-bubble { background: #f0f2f5; color: #212121; border-bottom-left-radius: 0.25rem; }
.ai-msg-user .ai-msg-bubble { background: #B72CDB; color: #fff; border-bottom-right-radius: 0.25rem; }

.ai-typing .ai-msg-bubble { display: flex; gap: 4px; padding: 0.8rem 1rem; }
.ai-typing span {
    width: 7px; height: 7px; border-radius: 50%; background: #aaa;
    animation: typingDot 1.4s infinite;
}
.ai-typing span:nth-child(2) { animation-delay: 0.2s; }
.ai-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot { 0%,60%,100% { transform: translateY(0); } 30% { transform: translateY(-6px); } }

.ai-chat-quick {
    display: flex; gap: 0.4rem; flex-wrap: wrap;
    padding: 0.5rem 1rem; border-top: 1px solid #f0f0f0;
}
.ai-quick-btn {
    border: 1px solid #e0e0e0; background: #fff; color: #212121;
    padding: 0.35rem 0.7rem; border-radius: 999px; font-size: 0.72rem;
    font-weight: 600; cursor: pointer; white-space: nowrap;
    transition: all 0.2s ease;
}
.ai-quick-btn:hover { background: #B72CDB; color: #fff; border-color: #B72CDB; }

.ai-chat-input-wrap {
    display: flex; gap: 0.5rem; padding: 0.75rem 1rem;
    border-top: 1px solid #f0f0f0;
}
.ai-chat-input {
    flex: 1; border: 1px solid #e0e0e0; border-radius: 999px;
    padding: 0.55rem 0.9rem; font-size: 0.85rem; outline: none;
}
.ai-chat-input:focus { border-color: #B72CDB; }
.ai-chat-send {
    width: 38px; height: 38px; border-radius: 50%; border: none;
    background: #B72CDB; color: #fff; cursor: pointer;
    display: grid; place-items: center; font-size: 0.85rem;
    transition: background 0.2s ease;
}
.ai-chat-send:hover { background: #741B8E; }

/* ═══════════════════════════════════════════
   SMART SEARCH DROPDOWN
   ═══════════════════════════════════════════ */
.smart-search-dropdown {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-radius: 0 0 0.5rem 0.5rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    z-index: 9999; max-height: 400px; overflow-y: auto;
}
.ss-section { padding: 0.5rem 0; border-bottom: 1px solid #f0f0f0; }
.ss-section:last-of-type { border-bottom: none; }
.ss-section-head {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.4rem 1rem; font-size: 0.72rem; font-weight: 700;
    color: #878787; text-transform: uppercase; letter-spacing: 0.04em;
}
.ss-clear-btn {
    border: none; background: none; color: #B72CDB; font-size: 0.72rem;
    font-weight: 600; cursor: pointer; padding: 0;
}
.ss-item {
    display: flex; align-items: center; gap: 0.65rem;
    padding: 0.55rem 1rem; color: #212121; text-decoration: none;
    font-size: 0.88rem; cursor: pointer; transition: background 0.15s ease;
}
.ss-item:hover, .ss-item.is-selected { background: #f5f7fa; color: #B72CDB; }
.ss-item i { color: #878787; font-size: 0.85rem; width: 1.2rem; text-align: center; }
.ss-search-all { border-top: 1px solid #f0f0f0; font-weight: 600; color: #B72CDB !important; }
.ss-ai-badge {
    padding: 0.45rem 1rem; text-align: right; font-size: 0.68rem;
    color: #878787; background: #fafafa;
}
.ss-ai-badge i { color: #FF7A45; }

/* ═══════════════════════════════════════════
   BACK TO TOP BUTTON
   ═══════════════════════════════════════════ */
.btt-btn {
    position: fixed; bottom: 6rem; right: 1.5rem; z-index: 9990;
    width: 44px; height: 44px; border-radius: 50%; border: none;
    background: #fff; color: #B72CDB; cursor: pointer;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    display: grid; place-items: center;
    opacity: 0; transform: translateY(20px); pointer-events: none;
    transition: all 0.3s ease;
}
.btt-btn.is-visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.btt-btn:hover { box-shadow: 0 4px 20px rgba(183,44,219,0.25); }
.btt-btn i { font-size: 1rem; z-index: 1; }
.btt-ring {
    position: absolute; inset: 0; width: 100%; height: 100%;
    transform: rotate(-90deg);
}
.btt-ring-bg { fill: none; stroke: #e8e8e8; stroke-width: 2; }
.btt-ring-fill { fill: none; stroke: #B72CDB; stroke-width: 2.5; stroke-linecap: round; transition: stroke-dashoffset 0.15s ease; }

/* ═══════════════════════════════════════════
   RECENTLY VIEWED STRIP
   ═══════════════════════════════════════════ */
.rv-scroll {
    display: flex; gap: 1.25rem; overflow-x: auto;
    scrollbar-width: none; padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
}
.rv-scroll::-webkit-scrollbar { display: none; }
.rv-card {
    flex: 0 0 180px; text-decoration: none; color: #212121;
    background: #fff; border: 1px solid #e0e0e0; border-radius: 0.5rem;
    overflow: hidden; transition: all 0.3s ease;
    scroll-snap-align: start;
}
.rv-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: translateY(-4px); color: #212121; }
.rv-img { height: 180px; overflow: hidden; background: #f9f9f9; position: relative; }
.rv-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.rv-card:hover .rv-img img { transform: scale(1.05); }
.rv-info { padding: 0.85rem; }
.rv-name { display: block; font-size: 0.9rem; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 0.4rem; color: #212121; }
.rv-price { display: block; font-size: 1rem; font-weight: 700; color: #B72CDB; }

/* ═══════════════════════════════════════════
   IMAGE ZOOM
   ═══════════════════════════════════════════ */
.zoom-ready { position: relative; cursor: crosshair; }
.zoom-lens {
    display: none; position: absolute;
    width: 100px; height: 100px;
    border: 2px solid #B72CDB; border-radius: 50%;
    background: rgba(183,44,219,0.08);
    pointer-events: none; z-index: 5;
}
.zoom-result {
    display: none; position: absolute;
    top: 1rem; right: 1rem;
    width: min(350px, calc(100% - 2rem)); height: min(350px, calc(100% - 2rem));
    background-color: #fff; background-repeat: no-repeat;
    border: 1px solid #e0e0e0; border-radius: 0.5rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    z-index: 20; pointer-events: none;
}

/* ═══════════════════════════════════════════
   RIPPLE EFFECT
   ═══════════════════════════════════════════ */
.ripple-effect {
    position: absolute; border-radius: 50%;
    background: rgba(255,255,255,0.4);
    width: 0; height: 0;
    transform: translate(-50%,-50%);
    animation: rippleAnim 0.6s ease-out forwards;
    pointer-events: none;
}
@keyframes rippleAnim { to { width: 200px; height: 200px; opacity: 0; } }

/* ═══════════════════════════════════════════
   CART BADGE PULSE
   ═══════════════════════════════════════════ */
.header-badge.has-items { animation: badgeGlow 2s ease-in-out infinite; }
.header-badge.pulse-anim { animation: badgePop 0.4s ease-out; }
@keyframes badgeGlow {
    0%,100% { box-shadow: 0 0 0 0 rgba(255,107,53,0.4); }
    50% { box-shadow: 0 0 0 6px rgba(255,107,53,0); }
}
@keyframes badgePop { 0% { transform: scale(1); } 50% { transform: scale(1.6); } 100% { transform: scale(1); } }

/* ═══════════════════════════════════════════
   RESPONSIVE - AI Features
   ═══════════════════════════════════════════ */
@media (max-width: 767.98px) {
    .ai-chat-panel { width: calc(100vw - 1.5rem); height: calc(100vh - 5rem); bottom: 0.75rem; right: 0.75rem; }
    .ai-chat-fab { width: 48px; height: 48px; font-size: 1.2rem; bottom: 1rem; right: 1rem; }
    .btt-btn { bottom: 5rem; right: 1rem; width: 38px; height: 38px; }
    .zoom-result { display: none !important; }
    .zoom-lens { display: none !important; }
}

/* Velmore brand polish */
:root {
    --velmore-plum: #341140;
    --velmore-plum-2: #5b166f;
    --velmore-magenta: #b72cdb;
    --velmore-pink: #d64df0;
    --velmore-mist: #f7effa;
    --primary: var(--velmore-magenta);
    --gold: var(--velmore-magenta);
    --gold-dark: var(--velmore-plum-2);
    --gold-light: #f3dcfb;
    --accent: var(--velmore-pink);
    --accent-deep: #8b1caf;
    --surface: #f6f1f7;
}

body {
    background: #f6f1f7 !important;
}

::selection {
    background: rgba(183, 44, 219, 0.18);
}

.site-header,
.site-header.nav-glass {
    background: linear-gradient(90deg, #2c0d36 0%, #4d1260 48%, #741b8e 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 12px 30px rgba(52, 17, 64, 0.22) !important;
}

.brand-logo-img-header {
    height: 3.45rem;
    max-width: 10.5rem;
    padding: 0.34rem 0.5rem;
    border-radius: 0.55rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 10px 26px rgba(21, 3, 28, 0.22);
}

.premium-nav-links .nav-link {
    color: rgba(255, 255, 255, 0.86) !important;
}

.premium-nav-links .nav-link:hover,
.premium-nav-links .nav-link:focus {
    color: #f6c9ff !important;
}

.header-global-search {
    border-radius: 0.55rem !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    box-shadow: 0 12px 24px rgba(24, 3, 32, 0.18) !important;
}

.header-global-search i {
    color: var(--velmore-magenta) !important;
}

.header-global-search-btn,
.btn-neon,
.compare-bar-btn,
.compare-view-btn,
.ss-search-all {
    background: linear-gradient(135deg, var(--velmore-magenta), var(--velmore-plum-2)) !important;
    color: #fff !important;
    border-color: transparent !important;
}

.header-global-search-btn:hover,
.btn-neon:hover,
.btn-neon:focus {
    background: linear-gradient(135deg, #cf3bef, #741b8e) !important;
}

.header-icon-btn,
.dark-mode-toggle,
.header-account-link,
.header-account-logout {
    border-color: rgba(255, 255, 255, 0.26) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.header-icon-btn:hover,
.header-icon-btn:focus,
.dark-mode-toggle:hover,
.header-account-link:hover,
.header-account-logout:hover {
    background: rgba(255, 255, 255, 0.16) !important;
}

.header-auth-trigger {
    color: var(--velmore-plum-2) !important;
    box-shadow: 0 10px 22px rgba(24, 3, 32, 0.14) !important;
}

.header-auth-trigger:hover,
.header-auth-trigger:focus {
    color: var(--velmore-magenta) !important;
}

.header-badge {
    background: #ff6b35 !important;
}

.mp-subnav {
    background: rgba(255, 255, 255, 0.96);
    border-bottom-color: rgba(91, 22, 111, 0.12);
}

.mp-subnav-link:hover,
.mp-subnav-link.active {
    color: var(--velmore-plum-2);
    border-bottom-color: var(--velmore-magenta);
}

.mp-subnav-link i,
.eyebrow,
.text-gold,
.voice-search-btn:hover,
.qv-trust i,
.quiz-step-icon,
.mobile-nav-item.active {
    color: var(--velmore-magenta) !important;
}

.btn-gold {
    background: linear-gradient(135deg, #ff7b47, #c735dc) !important;
}

.btn-gold:hover,
.btn-gold:focus {
    background: linear-gradient(135deg, #ef6630, #a924c5) !important;
}

.page-loader,
.loader-logo,
.mobile-nav-fab {
    background: linear-gradient(135deg, var(--velmore-plum), var(--velmore-magenta)) !important;
}

@media (max-width: 767.98px) {
    .brand-logo-img-header {
        height: 2.85rem;
        max-width: 8.5rem;
        padding: 0.26rem 0.38rem;
    }
}
