/* ========================================================
   assets/css/ui.css — Luminellic Master UI & System Design
   High-Performance, Zero-Redundancy Core Architecture
   ======================================================== */

/* --------------------------------------------------------
   1. GLOBAL DESIGN SYSTEM TOKENS & ROOTS
   -------------------------------------------------------- */
:root {
    --brand-primary: #f4a6c1;        
    --brand-dark: #d1648a;
    --brand-accent: #dca3d0;        
    --brand-glow: rgba(244, 166, 193, 0.22);
    --border-soft: rgba(244, 166, 193, 0.28);
    --border-card: rgba(244, 166, 193, 0.35);
    --text-main: #2d2629;            
    --text-light: #8c7b84;          
    --bg-main: #fffafc;             
    --surface: #ffffff;             
    --icon-bg: #fdf5f7;             
    --radius-pill: 9999px;
    --radius-card: 22px;
    --radius-bubble: 28px;
    --header-h-desktop: 72px;
    --header-h-mobile: 62px;
    --toast-bottom-offset: 24px;

    /* Layering Hierarchy */
    --z-header: 10000;
    --z-tray: 10050;
    --z-modal-backdrop: 10100;
    --z-modal-content: 10101;
    --z-toast: 10200;
    --z-progress: 10300;
}

body.has-sticky-bottom-bar {
    --toast-bottom-offset: 96px;
}

/* --------------------------------------------------------
   2. VIEWPORT BASE RESETS & HIGH-DPI TYPOGRAPHY
   -------------------------------------------------------- */
html {
    font-size: 15px;
    background-color: var(--bg-main);
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

@media (max-width: 1024px) { html { font-size: 14.5px; } }
@media (max-width: 768px)  { html { font-size: 14px; } }
@media (max-width: 480px)  { html { font-size: 13.5px; } }
@media (max-width: 360px)  { html { font-size: 12.5px; } }

*, *::before, *::after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
    scrollbar-width: none !important;
}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: clip !important;
    touch-action: pan-x pan-y;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
}

/* Interactive Elements Tap Highlight & Callout Elimination */
a, button, [role="button"], input, textarea, select, label, summary, svg, img {
    -webkit-tap-highlight-color: transparent !important;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
}

a, button, [role="button"], .btn, .card, .product-card, .nav-item, .pill-badge {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

/* Remove default ugly browser rectangular focus outlines on mouse/touch clicks */
a:focus, button:focus, input:focus, select:focus, textarea:focus, [tabindex]:focus {
    outline: none !important;
}

/* Keep accessibility focus indicator only for keyboard navigation, respecting element border-radius */
a:focus-visible, button:focus-visible, [role="button"]:focus-visible {
    outline: 2px solid rgba(244, 166, 193, 0.7) !important;
    outline-offset: 2px !important;
    border-radius: inherit !important;
}

main.main-content {
    display: block;
    width: 100%;
    position: relative;
    box-sizing: border-box;
    min-height: calc(100vh - var(--header-h-mobile));
}

@media (min-width: 992px) {
    main.main-content {
        min-height: calc(100vh - var(--header-h-desktop));
    }
}

input, textarea, select, button {
    font-family: inherit;
    -webkit-tap-highlight-color: transparent !important;
}

input, textarea, select {
    user-select: text !important;
    -webkit-user-select: text !important;
    -webkit-touch-callout: default;
}

img, picture, svg, a {
    user-drag: none;
    -webkit-user-drag: none;
}

::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* --------------------------------------------------------
   3. HARDWARE-ACCELERATED SPA PROGRESS BAR & TRANSITION VEIL
   -------------------------------------------------------- */
#lumin-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #f6b4cb 0%, #d1648a 50%, #f4a6c1 100%);
    box-shadow: 0 0 12px rgba(209, 100, 138, 0.6), 0 0 4px #d1648a;
    z-index: var(--z-progress);
    pointer-events: none;
    transition: width 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    opacity: 0;
    transform: translateZ(0);
}

#lumin-progress-bar.is-loading {
    opacity: 1;
}

#luminellic-magic-veil {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(255, 250, 252, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2147483647;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity;
}

#luminellic-magic-veil.active {
    opacity: 1;
    pointer-events: auto;
}

.veil-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.veil-logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
    display: block;
    filter: drop-shadow(0 6px 16px rgba(244, 166, 193, 0.45));
    animation: veilLogoPulse 1.4s ease-in-out infinite alternate;
}

@keyframes veilLogoPulse {
    0% { transform: scale(0.96); }
    100% { transform: scale(1.04); }
}

.veil-particle {
    position: absolute;
    color: #f4a6c1;
    pointer-events: none;
    user-select: none;
    animation: floatVeilParticle 1.8s ease-in-out infinite alternate;
}

.veil-heart-1 { top: -8px; right: 20px; font-size: 14px; color: #f4a6c1; }
.veil-heart-2 { bottom: -4px; left: 16px; font-size: 12px; color: #dca3d0; animation-delay: 0.5s; }
.veil-spark-1 { top: -12px; left: 32%; font-size: 14px; color: #f4a6c1; animation-delay: 0.3s; }
.veil-spark-2 { bottom: -10px; right: 24%; font-size: 11px; color: #dca3d0; animation-delay: 0.8s; }

@keyframes floatVeilParticle {
    0% { transform: translate(0, 0) scale(0.85); opacity: 0.4; }
    100% { transform: translate(4px, -6px) scale(1.15); opacity: 1; }
}

/* --------------------------------------------------------
   4. STICKY ATELIER HEADER & DESKTOP NAVIGATION
   -------------------------------------------------------- */
.site-header {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    left: 0;
    right: 0;
    width: 100%;
    z-index: var(--z-header);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-soft);
    transition: box-shadow 0.24s cubic-bezier(0.16, 1, 0.3, 1), 
                background-color 0.24s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.24s ease;
    box-sizing: border-box;
    transform: translate3d(0, 0, 0);
    will-change: transform, box-shadow, background-color;
}

.site-header.scrolled {
    box-shadow: 0 10px 30px rgba(220, 163, 208, 0.18);
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: rgba(244, 166, 193, 0.42);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4%;
    height: var(--header-h-mobile);
    box-sizing: border-box;
}

@media (min-width: 992px) {
    .header-inner {
        height: var(--header-h-desktop);
    }
}

.header-logo-container {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-logo img {
    height: 30px;
    width: auto;
    object-fit: contain;
    display: block;
}

@media (min-width: 992px) {
    .site-logo img {
        height: 34px;
    }
}

.site-logo:hover { 
    transform: scale(1.02); 
}

.desktop-nav {
    display: none;
    align-items: center;
    gap: 0.4rem;
}

.nav-link-item {
    text-decoration: none;
    color: #5c4953;
    font-weight: 500;
    font-size: 0.84rem;
    letter-spacing: 0.2px;
    padding: 0.42rem 0.85rem;
    border-radius: var(--radius-pill);
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    position: relative !important;
    overflow: visible !important;
}

.nav-link-item:hover {
    color: var(--brand-dark);
    background: #fff5f8;
    transform: translateY(-1px);
}

/* Active navigation state with bubbly bouncy coquette pink bow */
.nav-link-item.active {
    color: var(--brand-dark) !important;
    font-weight: 600 !important;
    background: linear-gradient(135deg, #fff0f5 0%, #fae6ed 100%) !important;
    border: 1px solid rgba(244, 166, 193, 0.45) !important;
    box-shadow: 0 4px 12px rgba(244, 166, 193, 0.15) !important;
}

.nav-link-item.active::after {
    content: '';
    position: absolute;
    top: -10px;
    right: -5px;
    width: 22px;
    height: 22px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    pointer-events: none;
    z-index: 5;
    transform-origin: 20% 80%;
    animation: navBowJiggleIn 0.65s cubic-bezier(0.25, 1.25, 0.5, 1) forwards;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3ClinearGradient id='pinkRibbon' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23ffd4e5'/%3E%3Cstop offset='50%25' stop-color='%23f4a6c1'/%3E%3Cstop offset='100%25' stop-color='%23d1648a'/%3E%3C/linearGradient%3E%3Cfilter id='softShadow' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeDropShadow dx='0' dy='1.5' stdDeviation='1.5' flood-color='%23b8456f' flood-opacity='0.3'/%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23softShadow)'%3E%3Cpath d='M44 54 C34 68 22 84 15 90 C26 84 35 77 46 60 Z' fill='url(%23pinkRibbon)' stroke='%23ffffff' stroke-width='1.5'/%3E%3Cpath d='M56 54 C66 68 78 84 85 90 C74 84 65 77 54 60 Z' fill='url(%23pinkRibbon)' stroke='%23ffffff' stroke-width='1.5'/%3E%3Cpath d='M48 48 C36 30 14 18 10 32 C6 46 28 58 48 50 Z' fill='url(%23pinkRibbon)' stroke='%23ffffff' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M52 48 C64 30 86 18 90 32 C94 46 72 58 52 50 Z' fill='url(%23pinkRibbon)' stroke='%23ffffff' stroke-width='2' stroke-linejoin='round'/%3E%3Cellipse cx='50' cy='49' rx='6' ry='5.5' fill='%23ffffff' stroke='%23f4a6c1' stroke-width='2.5'/%3E%3Ccircle cx='50' cy='49' r='2' fill='%23f4a6c1'/%3E%3C/g%3E%3C/svg%3E");
    filter: drop-shadow(0 3px 6px rgba(209, 100, 138, 0.35));
}

@keyframes navBowJiggleIn {
    0% {
        transform: scale(0) rotate(-20deg);
        opacity: 0;
    }
    45% {
        transform: scale(1.35) rotate(22deg);
        opacity: 1;
    }
    65% {
        transform: scale(0.88) rotate(4deg);
    }
    82% {
        transform: scale(1.12) rotate(16deg);
    }
    100% {
        transform: scale(1) rotate(12deg);
        opacity: 1;
    }
}

.nav-chevron {
    width: 12px;
    height: 12px;
    stroke-width: 2.2;
    transition: transform 0.25s ease;
}

.nav-dropdown-wrap {
    position: relative;
    display: inline-block;
}

.nav-dropdown-wrap:hover .nav-chevron {
    transform: rotate(180deg);
}

.nav-dropdown-wrap::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -20px;
    right: -20px;
    height: 20px;
}

.nav-orbs-shelf {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(16px) scale(0.94);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1.5px solid rgba(244, 166, 193, 0.42);
    border-radius: 36px;
    box-shadow: 0 24px 55px rgba(220, 163, 208, 0.32);
    padding: 1.25rem 1.6rem 1.05rem;
    width: max-content;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.25s ease;
    z-index: 99999;
}

.nav-dropdown-wrap:hover .nav-orbs-shelf {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
}

.orbs-row {
    display: flex;
    align-items: center;
    gap: 1.45rem;
}

/* BOUNCY STAGGERED ENTRANCE ANIMATION FOR ORB ITEMS */
.orb-card-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    opacity: 0;
    transform: translateY(-18px) scale(0.65);
    transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.28s ease;
}

.nav-dropdown-wrap:hover .orb-card-item {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.nav-dropdown-wrap:hover .orb-card-item:nth-child(1) { transition-delay: 0.04s; }
.nav-dropdown-wrap:hover .orb-card-item:nth-child(2) { transition-delay: 0.08s; }
.nav-dropdown-wrap:hover .orb-card-item:nth-child(3) { transition-delay: 0.12s; }
.nav-dropdown-wrap:hover .orb-card-item:nth-child(4) { transition-delay: 0.16s; }
.nav-dropdown-wrap:hover .orb-card-item:nth-child(5) { transition-delay: 0.20s; }
.nav-dropdown-wrap:hover .orb-card-item:nth-child(6) { transition-delay: 0.24s; }
.nav-dropdown-wrap:hover .orb-card-item:nth-child(7) { transition-delay: 0.28s; }
.nav-dropdown-wrap:hover .orb-card-item:nth-child(8) { transition-delay: 0.32s; }

.orb-visual-sphere {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 2px solid rgba(244, 166, 193, 0.55);
    background: #fff0f5;
    position: relative;
    overflow: hidden;
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 14px rgba(244, 166, 193, 0.25);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.orb-card-item:hover .orb-visual-sphere {
    transform: translateY(-5px) scale(1.1);
    border-color: #d1648a;
    box-shadow: 0 10px 24px rgba(209, 100, 138, 0.38);
}

.orb-visual-sphere .orb-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform 0.4s ease;
}

.orb-visual-sphere .orb-layer-back {
    z-index: 1;
    opacity: 1 !important;
}

.orb-visual-sphere .orb-layer-front {
    z-index: 2;
    opacity: 1 !important;
    transition: opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1), transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.orb-visual-sphere .orb-layer-front.is-fading {
    opacity: 0 !important;
    transform: scale(1.08);
}

.orb-card-item:hover .orb-visual-sphere .orb-img {
    transform: scale(1.12);
}

.orb-placeholder {
    font-size: 1.5rem;
    color: var(--brand-dark);
}

.orb-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #2d2629;
    text-align: center;
    letter-spacing: 0.2px;
    transition: color 0.2s ease;
}

.orb-card-item:hover .orb-label {
    color: #d1648a;
}

.header-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.55rem;
    flex-shrink: 0;
}

.icon-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--icon-bg, #fdf5f7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main, #2d2629);
    text-decoration: none;
    border: 1px solid rgba(244, 166, 193, 0.25);
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    position: relative;
    flex-shrink: 0;
    padding: 0;
    box-sizing: border-box;
}

.icon-circle:hover {
    transform: scale(1.06);
    background: #fff0f5;
    color: var(--brand-dark);
    border-color: var(--brand-primary);
}

.icon-circle.active {
    background: linear-gradient(135deg, #fff0f5 0%, #fae6ed 100%);
    color: var(--brand-dark);
    border-color: var(--brand-primary);
}

.icon-circle svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.8;
    stroke: currentColor;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: linear-gradient(135deg, #f4a6c1 0%, #d1648a 100%) !important;
    color: #ffffff !important;
    font-family: 'Poppins', -apple-system, sans-serif !important;
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    height: 18px;
    min-width: 18px;
    border-radius: var(--radius-pill);
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 4.5px;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(209, 100, 138, 0.38);
    transform: scale(0);
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.2s ease;
    pointer-events: none;
    box-sizing: border-box;
    z-index: 5;
}

.badge.has-items { 
    transform: scale(1) !important; 
}

@media (min-width: 992px) {
    .desktop-nav { 
        display: flex !important; 
    }
    .header-logo-container { 
        margin-right: 1.2rem; 
    }
    .icon-circle { 
        width: 40px; 
        height: 40px; 
    }
    .icon-circle svg { 
        width: 19px; 
        height: 19px; 
    }
    .mobile-only-btn { 
        display: none !important; 
    }
}

/* --------------------------------------------------------
   5. EDITORIAL ACCENTS & DYNAMIC SPARKLE ENGINE
   -------------------------------------------------------- */
.hero-overline {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.35rem;
    width: 100%;
}

.hero-overline.is-left {
    justify-content: flex-start !important;
    width: auto !important;
}

.hero-overline .text {
    font-size: 0.65rem;
    font-weight: 700;
    color: #ad8f9b;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    text-align: center;
}

.hero-overline.is-left .text {
    text-align: left !important;
}

.dream-italic,
h1 .dream-italic,
h2 .dream-italic,
h3 .dream-italic,
h4 .dream-italic,
p .dream-italic,
span.dream-italic,
.dream-word.dream-italic {
    position: relative !important;
    display: inline-block !important;
    font-style: italic !important;
    font-weight: 500 !important;
    color: #d1648a !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
    padding: 0 2px !important;
    vertical-align: baseline;
}

.dream-italic::after,
h1 .dream-italic::after,
h2 .dream-italic::after,
h3 .dream-italic::after,
h4 .dream-italic::after,
p .dream-italic::after,
span.dream-italic::after,
.dream-word.dream-italic::after {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    bottom: -2px !important;
    width: 100% !important;
    height: 2px !important;
    border-radius: 2px !important;
    background: linear-gradient(90deg, #d1648a 0%, #f4a6c1 50%, rgba(220, 163, 208, 0) 100%) !important;
    pointer-events: none !important;
    opacity: 0.95 !important;
    display: block !important;
}

.theme-magic-spark {
    position: absolute;
    pointer-events: none;
    z-index: 9999;
    font-size: 12px;
    color: #f4a6c1;
    opacity: 0;
    user-select: none;
    animation: silkyDreamFloat 2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    filter: drop-shadow(0 0 4px rgba(244, 166, 193, 0.45));
}

@keyframes silkyDreamFloat {
    0% {
        transform: translate3d(0, 0, 0) scale(0.3) rotate(0deg);
        opacity: 0;
    }
    20% {
        opacity: 1;
        transform: translate3d(calc(var(--tx, 0px) * 0.35), calc(var(--ty, -15px) * 0.35), 0) scale(var(--scale, 1)) rotate(45deg);
    }
    75% {
        opacity: 0.8;
    }
    100% {
        transform: translate3d(var(--tx, 0px), var(--ty, -15px), 0) scale(calc(var(--scale, 1) * 0.25)) rotate(180deg);
        opacity: 0;
    }
}

/* --------------------------------------------------------
   6. MOBILE NAVIGATION DRAWER & COMPONENT ARCHITECTURE
   -------------------------------------------------------- */
.mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(35, 25, 30, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 999999;
    display: flex;
    justify-content: flex-start;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer-overlay.active,
.mobile-drawer-overlay.is-active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-drawer {
    width: 86vw;
    max-width: 360px;
    height: 100%;
    background: #ffffff;
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1.4rem 1.3rem 2.5rem;
    box-sizing: border-box;
    transform: translateX(-100%);
    transition: transform 0.34s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-overflow-scrolling: touch;
}

.mobile-drawer-overlay.active .mobile-drawer,
.mobile-drawer-overlay.is-active .mobile-drawer {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(244, 166, 193, 0.25);
    margin-bottom: 1rem;
}

.drawer-logo img {
    height: 28px;
    width: auto;
    object-fit: contain;
    display: block;
}

.drawer-close-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(244, 166, 193, 0.35);
    background: #fff5f8;
    color: #8c7b84;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.drawer-close-btn:hover {
    background: var(--brand-primary, #f4a6c1);
    color: #ffffff;
    border-color: transparent;
}

.drawer-welcome-card {
    background: linear-gradient(135deg, #fff5f8 0%, #faedf3 100%);
    border: 1px solid rgba(244, 166, 193, 0.35);
    border-radius: 20px;
    padding: 1rem 1.1rem;
    margin-bottom: 1.2rem;
}

.welcome-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--brand-dark, #d1648a);
    margin-bottom: 4px;
}

.welcome-tagline {
    font-size: 0.74rem;
    color: #7d6b75;
    margin: 0 0 0.8rem 0;
    line-height: 1.4;
}

.drawer-quick-pills {
    display: flex;
    gap: 8px;
}

.quick-pill {
    flex: 1;
    background: #ffffff;
    border: 1px solid rgba(244, 166, 193, 0.35);
    border-radius: 9999px;
    padding: 0.4rem 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #2d2629;
    font-size: 0.76rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.quick-pill:hover {
    border-color: var(--brand-primary, #f4a6c1);
    transform: translateY(-1px);
}

.quick-pill .pill-label {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #5c4953;
}

.quick-pill strong {
    background: #fdf2f6;
    color: var(--brand-dark, #d1648a);
    padding: 0.1rem 0.45rem;
    border-radius: 9999px;
    font-size: 0.68rem;
}

/* NEW LAUNCH / SPOTLIGHT CARD (Streamlined Minimal Editorial View) */
.drawer-featured-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 82px;
    display: flex;
    align-items: flex-end;
    padding: 0.9rem 1.1rem;
    text-decoration: none;
    margin-bottom: 1.4rem;
    box-shadow: 0 6px 18px rgba(244, 166, 193, 0.2);
    border: 1px solid rgba(244, 166, 193, 0.35);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.drawer-featured-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(244, 166, 193, 0.32);
}

.featured-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.drawer-featured-card:hover .featured-card-bg {
    transform: scale(1.06);
}

.featured-card-sheer {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(45, 38, 41, 0.12) 0%, rgba(45, 38, 41, 0.78) 100%);
}

.featured-card-content {
    position: relative;
    z-index: 2;
    text-align: left;
    width: 100%;
}

.featured-top-row {
    margin-bottom: 0.2rem;
}

.featured-tag {
    font-family: 'Poppins', -apple-system, sans-serif;
    color: #ffd4e5;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
    display: inline-flex;
    align-items: center;
}

.featured-title {
    font-family: 'Playfair Display', Georgia, serif;
    color: #ffffff;
    font-size: 1.12rem;
    font-weight: 500;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

/* Category orbs & double-buffer crossfade layer */
.drawer-section-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: #ad8f9b;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.75rem;
    text-align: left;
}

.drawer-categories-preview {
    margin-bottom: 1.4rem;
}

.drawer-cat-bubbles {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.drawer-cat-bubbles::-webkit-scrollbar {
    display: none;
}

.cat-bubble {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    flex-shrink: 0;
}

.bubble-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background: #fdf2f6;
    border: 1.5px solid rgba(244, 166, 193, 0.45);
    box-shadow: 0 4px 14px rgba(244, 166, 193, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative !important;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.2s ease;
}

.cat-bubble:hover .bubble-circle {
    transform: scale(1.08);
    border-color: var(--brand-dark, #d1648a);
}

.bubble-static-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bubble-crossfade-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.bubble-crossfade-layer.layer-back {
    z-index: 1;
    opacity: 1;
}

.bubble-crossfade-layer.layer-front {
    z-index: 2;
    opacity: 1;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity;
}

.cat-bubble span {
    font-size: 0.72rem;
    font-weight: 500;
    color: #5c4953;
}

/* Mobile Drawer Nav List */
.drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 1.5rem;
}

.drawer-nav-item {
    position: relative !important;
    overflow: visible !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.72rem 0.95rem;
    border-radius: 14px;
    text-decoration: none;
    color: #5c4953;
    font-size: 0.84rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.drawer-nav-item:hover {
    background: #fff5f8;
    color: var(--brand-dark, #d1648a);
    transform: translateX(3px);
}

.nav-left-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-left-group svg {
    color: #9f8e97;
    transition: color 0.2s ease;
}

.drawer-nav-item:hover .nav-left-group svg {
    color: var(--brand-dark, #d1648a);
}

.nav-arrow {
    color: #c4b5bc;
    font-size: 0.88rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.drawer-nav-item:hover .nav-arrow {
    transform: translateX(2px);
    color: var(--brand-dark, #d1648a);
}

/* ACTIVE STATE & JIGGLY BUBBLY BOW ON TOP-LEFT */
.drawer-nav-item.active {
    background: linear-gradient(135deg, #fff0f5 0%, #faedf3 100%) !important;
    color: var(--brand-dark, #d1648a) !important;
    font-weight: 600 !important;
    border: 1px solid rgba(244, 166, 193, 0.5) !important;
    box-shadow: 0 4px 14px rgba(244, 166, 193, 0.18) !important;
}

.drawer-nav-item.active .nav-left-group svg,
.drawer-nav-item.active .nav-arrow {
    color: var(--brand-dark, #d1648a) !important;
}

.drawer-nav-item.active::before {
    content: '';
    position: absolute;
    top: -9px;
    left: -6px;
    width: 22px;
    height: 22px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    pointer-events: none;
    z-index: 10;
    transform-origin: 50% 50%;
    animation: drawerBowBouncyIn 0.65s cubic-bezier(0.25, 1.25, 0.5, 1) forwards;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3ClinearGradient id='pinkRibbon' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23ffd4e5'/%3E%3Cstop offset='50%25' stop-color='%23f4a6c1'/%3E%3Cstop offset='100%25' stop-color='%23d1648a'/%3E%3C/linearGradient%3E%3Cfilter id='softShadow' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeDropShadow dx='0' dy='1.5' stdDeviation='1.5' flood-color='%23b8456f' flood-opacity='0.3'/%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23softShadow)'%3E%3Cpath d='M44 54 C34 68 22 84 15 90 C26 84 35 77 46 60 Z' fill='url(%23pinkRibbon)' stroke='%23ffffff' stroke-width='1.5'/%3E%3Cpath d='M56 54 C66 68 78 84 85 90 C74 84 65 77 54 60 Z' fill='url(%23pinkRibbon)' stroke='%23ffffff' stroke-width='1.5'/%3E%3Cpath d='M48 48 C36 30 14 18 10 32 C6 46 28 58 48 50 Z' fill='url(%23pinkRibbon)' stroke='%23ffffff' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M52 48 C64 30 86 18 90 32 C94 46 72 58 52 50 Z' fill='url(%23pinkRibbon)' stroke='%23ffffff' stroke-width='2' stroke-linejoin='round'/%3E%3Cellipse cx='50' cy='49' rx='6' ry='5.5' fill='%23ffffff' stroke='%23f4a6c1' stroke-width='2.5'/%3E%3Ccircle cx='50' cy='49' r='2' fill='%23f4a6c1'/%3E%3C/g%3E%3C/svg%3E");
    filter: drop-shadow(0 2px 6px rgba(209, 100, 138, 0.35));
}

@keyframes drawerBowBouncyIn {
    0% {
        transform: scale(0) rotate(-22deg);
        opacity: 0;
    }
    45% {
        transform: scale(1.35) rotate(16deg);
        opacity: 1;
    }
    65% {
        transform: scale(0.88) rotate(-4deg);
    }
    82% {
        transform: scale(1.12) rotate(8deg);
    }
    100% {
        transform: scale(1) rotate(-8deg);
        opacity: 1;
    }
}

/* Policies and trust footer */
.drawer-footer-links-grid {
    margin-bottom: 1.2rem;
}

.drawer-pills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.drawer-pills-row a {
    background: #fff5f8;
    border: 1px solid rgba(244, 166, 193, 0.3);
    color: #7d6b75;
    font-size: 0.72rem;
    font-weight: 500;
    padding: 0.32rem 0.75rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.drawer-pills-row a:hover {
    background: var(--brand-primary, #f4a6c1);
    color: #ffffff;
    border-color: transparent;
}

.drawer-trust-card {
    background: #fffcfd;
    border: 1px solid rgba(244, 166, 193, 0.25);
    border-radius: 18px;
    padding: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.trust-row {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.trust-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff0f5;
    color: var(--brand-dark, #d1648a);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-info strong {
    font-size: 0.76rem;
    color: #2d2629;
    display: block;
}

.trust-info p {
    font-size: 0.68rem;
    color: #8c7b84;
    margin: 0;
}
/* --------------------------------------------------------
   6. GLOBAL BUTTONS & WISHLIST ACTIVE STATES
   -------------------------------------------------------- */
.btn-primary {
    background: linear-gradient(90deg, #f6b4cb 0%, #dfaec5 100%);
    color: #ffffff !important;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.74rem 1.6rem;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    box-shadow: 0 4px 14px rgba(246, 180, 203, 0.28);
    border: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
    will-change: transform;
    white-space: nowrap;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px var(--brand-glow);
    color: #ffffff;
}

.btn-primary:active {
    transform: translateY(1px) scale(0.98);
}

.btn-primary.btn-locked,
.btn-primary:disabled {
    background: #e2d3da !important;
    color: #7d6b75 !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    transform: none !important;
}

/* --------------------------------------------------------
   7. STANDARDIZED FLOATING WISHLIST BUTTON (ALL CARDS)
   -------------------------------------------------------- */
.floating-wish-btn,
.wishlist-float-btn,
.trending-wishlist-btn,
.card-wishlist-btn,
.showcase-wish-btn {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.95) !important;
    color: #9a8c93 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 10 !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06) !important;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.25s ease, color 0.25s ease !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    font-size: 0 !important;
}

.floating-wish-btn svg,
.wishlist-float-btn svg,
.trending-wishlist-btn svg,
.card-wishlist-btn svg,
.showcase-wish-btn svg,
.heart-icon-svg {
    width: 13px !important;
    height: 13px !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    fill: none !important;
    transition: transform 0.25s ease, fill 0.25s ease, stroke 0.25s ease !important;
    display: block !important;
}

.floating-wish-btn:hover,
.wishlist-float-btn:hover,
.trending-wishlist-btn:hover,
.card-wishlist-btn:hover,
.showcase-wish-btn:hover {
    transform: scale(1.1) !important;
    background: #ffffff !important;
    color: var(--brand-primary, #f4a6c1) !important;
}

.floating-wish-btn.active,
.wishlist-float-btn.active,
.trending-wishlist-btn.active,
.card-wishlist-btn.active,
.showcase-wish-btn.active,
[data-wishlist-btn].active {
    color: var(--brand-primary, #f4a6c1) !important;
    background: #fff0f5 !important;
    border-color: #f4a6c1 !important;
}

.floating-wish-btn.active svg,
.wishlist-float-btn.active svg,
.trending-wishlist-btn.active svg,
.card-wishlist-btn.active svg,
.showcase-wish-btn.active svg,
[data-wishlist-btn].active svg,
.floating-wish-btn.active svg path,
.wishlist-float-btn.active svg path,
.trending-wishlist-btn.active svg path,
.card-wishlist-btn.active svg path,
.showcase-wish-btn.active svg path {
    fill: var(--brand-primary, #f4a6c1) !important;
    stroke: var(--brand-primary, #f4a6c1) !important;
}

@media (max-width: 768px) {
    .btn-primary {
        padding: 0.68rem 1.3rem;
        font-size: 0.76rem;
        letter-spacing: 0.3px;
    }
    .hero-overline .text {
        font-size: 0.6rem;
        letter-spacing: 1.4px;
    }
    .floating-wish-btn,
    .wishlist-float-btn,
    .trending-wishlist-btn,
    .card-wishlist-btn,
    .showcase-wish-btn {
        width: 26px !important;
        height: 26px !important;
        min-width: 26px !important;
        min-height: 26px !important;
        top: 6px !important;
        right: 6px !important;
    }
    .floating-wish-btn svg,
    .wishlist-float-btn svg,
    .trending-wishlist-btn svg,
    .card-wishlist-btn svg,
    .showcase-wish-btn svg {
        width: 12px !important;
        height: 12px !important;
    }
}

/* --------------------------------------------------------
   8. UNIVERSAL AUTOMATIC COQUETTE SALE BOW (ALL CARDS)
   -------------------------------------------------------- */
.fairy-product-card,
.lookbook-card,
.atelier-product-card,
.wish-card,
.trending-card-inner,
.showcase-card {
    position: relative !important;
}

.fairy-product-card:has(.stage-sale-badge)::after,
.lookbook-card:has(.product-status-pill.sale)::after,
.lookbook-card:has(.lookbook-price.sale)::after,
.atelier-product-card:has(.product-status-pill.sale)::after,
.atelier-product-card:has(.sale-active)::after,
.wish-card:has(.wish-sale-badge)::after,
.trending-card-inner:has(.product-status-pill.sale)::after,
.trending-card-inner:has(.trending-price.sale)::after,
.showcase-card:has(#showcaseSaleBadge:not([style*="display: none"]))::after {
    content: '';
    position: absolute;
    top: -7px;
    left: -5px;
    width: 26px;
    height: 26px;
    z-index: 25;
    pointer-events: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transform: rotate(-14deg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3ClinearGradient id='pinkRibbon' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23ffd4e5'/%3E%3Cstop offset='50%25' stop-color='%23f4a6c1'/%3E%3Cstop offset='100%25' stop-color='%23d1648a'/%3E%3C/linearGradient%3E%3Cfilter id='softShadow' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeDropShadow dx='0' dy='2' stdDeviation='2' flood-color='%23b8456f' flood-opacity='0.35'/%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23softShadow)'%3E%3Cpath d='M44 54 C34 68 22 84 15 90 C26 84 35 77 46 60 Z' fill='url(%23pinkRibbon)' stroke='%23ffffff' stroke-width='1.5'/%3E%3Cpath d='M56 54 C66 68 78 84 85 90 C74 84 65 77 54 60 Z' fill='url(%23pinkRibbon)' stroke='%23ffffff' stroke-width='1.5'/%3E%3Cpath d='M48 48 C36 30 14 18 10 32 C6 46 28 58 48 50 Z' fill='url(%23pinkRibbon)' stroke='%23ffffff' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M52 48 C64 30 86 18 90 32 C94 46 72 58 52 50 Z' fill='url(%23pinkRibbon)' stroke='%23ffffff' stroke-width='2' stroke-linejoin='round'/%3E%3Cellipse cx='50' cy='49' rx='6' ry='5.5' fill='%23ffffff' stroke='%23f4a6c1' stroke-width='2.5'/%3E%3Ccircle cx='50' cy='49' r='2' fill='%23f4a6c1'/%3E%3C/g%3E%3C/svg%3E");
    filter: drop-shadow(0 3px 6px rgba(209, 100, 138, 0.35));
}

.fairy-product-card:has(.stage-sale-badge) .stage-sale-badge,
.lookbook-card:has(.product-status-pill.sale) .card-badges-stack,
.atelier-product-card:has(.product-status-pill.sale) .card-badges-stack,
.wish-card:has(.wish-sale-badge) .wish-sale-badge {
    left: 18px !important;
}

@media (max-width: 768px) {
    .fairy-product-card:has(.stage-sale-badge)::after,
    .lookbook-card:has(.product-status-pill.sale)::after,
    .lookbook-card:has(.lookbook-price.sale)::after,
    .atelier-product-card:has(.product-status-pill.sale)::after,
    .atelier-product-card:has(.sale-active)::after,
    .wish-card:has(.wish-sale-badge)::after,
    .trending-card-inner:has(.trending-price.sale)::after,
    .showcase-card:has(#showcaseSaleBadge:not([style*="display: none"]))::after {
        top: -6px;
        left: -4px;
        width: 22px;
        height: 22px;
    }
    .fairy-product-card:has(.stage-sale-badge) .stage-sale-badge,
    .lookbook-card:has(.product-status-pill.sale) .card-badges-stack,
    .atelier-product-card:has(.product-status-pill.sale) .card-badges-stack {
        left: 15px !important;
    }
}

/* --------------------------------------------------------
   9. MODAL OVERLAYS & MOBILE BOTTOM SHEETS
   -------------------------------------------------------- */
.notif-portal-overlay,
.sanctuary-modal-overlay,
.spotlight-overlay,
.admin-modal-backdrop,
.modal-overlay,
#notifPortalOverlay,
#accountSettingsModal,
#fairySearchModal {
    display: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: var(--z-modal-backdrop);
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(45, 38, 41, 0.48);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
}

.notif-portal-overlay.active,
.notif-portal-overlay.is-active,
.notif-portal-overlay.is-open,
.sanctuary-modal-overlay.active,
.sanctuary-modal-overlay.is-active,
.spotlight-overlay.active,
.spotlight-overlay.is-active,
.admin-modal-backdrop.active,
.modal-overlay.active,
#notifPortalOverlay.is-active,
#accountSettingsModal.active,
#fairySearchModal.active,
#fairySearchModal.is-active {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: var(--z-modal-content) !important;
}

.sanctuary-modal-box,
.sanctuary-notif-sheet,
.sanctuary-settings-sheet,
.notif-sheet-card,
.spotlight-dialog,
.modal-content {
    background: #ffffff;
    border: 1px solid rgba(244, 166, 193, 0.36);
    border-radius: var(--radius-card);
    width: 100%;
    max-width: 480px;
    max-height: 84vh;
    box-shadow: 0 16px 40px rgba(220, 163, 208, 0.18);
    overflow-y: auto;
    position: relative;
    padding: 1.8rem;
    transform: translate3d(0, 14px, 0) scale(0.98);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    will-change: transform;
}

.sanctuary-modal-overlay.active .sanctuary-modal-box,
.sanctuary-modal-overlay.active .sanctuary-settings-sheet,
.notif-portal-overlay.active .notif-sheet-card,
.notif-portal-overlay.is-active .notif-sheet-card,
.spotlight-overlay.active .spotlight-dialog,
.spotlight-overlay.is-active .spotlight-dialog,
.modal-overlay.active .modal-content {
    transform: translate3d(0, 0, 0) scale(1);
}

.close-modal,
.close-sheet-btn,
.spotlight-close {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    background: #fff5f8;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #8a7c83;
    border: 1px solid rgba(244, 166, 193, 0.35);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
    font-size: 0.85rem;
    padding: 0;
    z-index: 10;
}

.close-modal:hover,
.close-sheet-btn:hover,
.spotlight-close:hover {
    color: #ffffff;
    background: var(--brand-primary);
    border-color: transparent;
    transform: rotate(90deg);
}

@media (max-width: 650px) {
    .sanctuary-modal-overlay,
    .notif-portal-overlay,
    .spotlight-overlay,
    .modal-overlay,
    .admin-modal-backdrop {
        padding: 0 !important;
        align-items: flex-end !important;
    }

    .sanctuary-modal-box,
    .sanctuary-settings-sheet,
    .notif-sheet-card,
    .spotlight-dialog,
    .modal-content {
        max-width: 100% !important;
        width: 100% !important;
        border-radius: 24px 24px 0 0 !important;
        max-height: 86vh !important;
        margin: 0 !important;
        padding: 1.5rem 1.2rem calc(1.5rem + env(safe-area-inset-bottom, 14px)) !important;
        transform: translate3d(0, 100%, 0) !important;
        transition: transform 0.34s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    .sanctuary-modal-overlay.active .sanctuary-modal-box,
    .sanctuary-modal-overlay.active .sanctuary-settings-sheet,
    .notif-portal-overlay.is-active .notif-sheet-card,
    .spotlight-overlay.active .spotlight-dialog,
    .spotlight-overlay.is-active .spotlight-dialog,
    .modal-overlay.active .modal-content {
        transform: translate3d(0, 0, 0) !important;
    }
}

/* --------------------------------------------------------
   10. FLUID MOBILE NAVIGATION DRAWER
   -------------------------------------------------------- */
.mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(45, 38, 41, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: var(--z-modal-backdrop);
    display: block !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.34s cubic-bezier(0.16, 1, 0.3, 1), 
                visibility 0.34s cubic-bezier(0.16, 1, 0.3, 1);
    overscroll-behavior: contain;
    touch-action: none;
}

.mobile-drawer-overlay.is-active,
.mobile-drawer-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 86%;
    max-width: 350px;
    height: 100%;
    background: #ffffff;
    box-shadow: -15px 0 50px rgba(45, 38, 41, 0.2);
    z-index: var(--z-modal-content);
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1.2rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
    transform: translate3d(100%, 0, 0); 
    will-change: transform;
    transition: transform 0.36s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    font-family: 'Poppins', sans-serif;
}

.mobile-drawer-overlay.is-active .mobile-drawer,
.mobile-drawer-overlay.active .mobile-drawer {
    transform: translate3d(0, 0, 0) !important;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid rgba(244, 166, 193, 0.22);
}

.drawer-logo img {
    height: 27px;
    width: auto;
    object-fit: contain;
}

.drawer-close-btn {
    background: #fdf5f8;
    border: 1px solid rgba(244, 166, 193, 0.3);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8a7c83;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease, color 0.2s ease;
    padding: 0;
}

.drawer-close-btn:hover { 
    background: #fff0f5; 
    color: var(--brand-dark); 
    transform: rotate(90deg) scale(1.05); 
}

.drawer-welcome-card {
    background: linear-gradient(135deg, #fff7fa 0%, #faedf3 100%);
    border: 1px solid rgba(244, 166, 193, 0.3);
    border-radius: 20px;
    padding: 1rem 1.05rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 16px rgba(244, 166, 193, 0.08);
}

.welcome-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0.2rem;
}

.sparkle-icon {
    color: #d1648a;
    font-size: 0.85rem;
}

.welcome-time {
    font-family: 'Poppins', sans-serif;
    font-size: 0.92rem;
    color: #2d2629;
    font-weight: 600;
    letter-spacing: -0.2px;
}

.welcome-tagline {
    margin: 0 0 0.8rem 0;
    font-size: 0.74rem;
    color: #8a7982;
    line-height: 1.4;
}

.drawer-quick-pills {
    display: flex;
    gap: 0.5rem;
}

.quick-pill {
    flex: 1;
    background: #ffffff;
    border: 1px solid rgba(244, 166, 193, 0.3);
    border-radius: 12px;
    padding: 0.5rem 0.7rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: #2d2629;
    box-shadow: 0 2px 6px rgba(244, 166, 193, 0.06);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.quick-pill:hover {
    transform: translateY(-1px);
    border-color: #f4a6c1;
}

.pill-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.74rem;
    font-weight: 600;
    color: #4a3c42;
}

.pill-label svg {
    color: #dca3d0;
}

.quick-pill strong {
    background: #fdf2f6;
    color: #d1648a;
    padding: 1px 6px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
}

.drawer-featured-card {
    position: relative;
    width: 100%;
    min-height: 96px;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 0.9rem 1rem;
    box-sizing: border-box;
    text-decoration: none;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(244, 166, 193, 0.4);
    box-shadow: 0 6px 20px rgba(220, 163, 208, 0.14);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.drawer-featured-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(220, 163, 208, 0.22);
}

.featured-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 36%;
    filter: brightness(0.92);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.drawer-featured-card:hover .featured-card-bg {
    transform: scale(1.04);
}

.featured-card-sheer {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(30, 20, 26, 0.1) 0%, rgba(30, 20, 26, 0.82) 100%);
    z-index: 2;
}

.featured-card-content {
    position: relative;
    z-index: 3;
    width: 100%;
    text-align: left;
}

.featured-top-row {
    margin-bottom: 0.15rem;
}

.featured-tag {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    color: #fce7ef;
    text-transform: uppercase;
}

.featured-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 500;
    color: #ffffff;
    margin: 0;
    line-height: 1.15;
}

.drawer-categories-preview {
    margin-bottom: 1.2rem;
}

.drawer-section-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: #ad8f9b;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.65rem;
    padding-left: 0.2rem;
}

.drawer-cat-bubbles {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.3rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.drawer-cat-bubbles::-webkit-scrollbar { 
    display: none; 
}

.cat-bubble {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    gap: 4px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.cat-bubble:hover {
    transform: translateY(-2px);
}

.bubble-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-color: #fdf2f6;
    border: 1.5px solid rgba(244, 166, 193, 0.35);
    box-shadow: 0 4px 10px rgba(244, 166, 193, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.bubble-icon {
    font-size: 1.1rem;
    color: #d1648a;
}

.cat-bubble:hover .bubble-circle {
    border-color: #f4a6c1;
    transform: scale(1.05);
}

.cat-bubble span {
    font-size: 0.68rem;
    font-weight: 500;
    color: #63525b;
    text-align: center;
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1.2rem;
}

.drawer-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0.85rem;
    border-radius: 12px;
    text-decoration: none;
    color: #2d2629;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.drawer-nav-item:hover {
    background: #fdf5f7;
    color: #d1648a;
    transform: translateX(2px);
}

.nav-left-group {
    display: flex;
    align-items: center;
    gap: 9px;
}

.nav-left-group svg {
    color: #ad8f9b;
    flex-shrink: 0;
}

.drawer-nav-item:hover .nav-left-group svg {
    color: var(--brand-dark, #d1648a);
}

.nav-label {
    font-size: 0.88rem;
    font-weight: 500;
}

.nav-arrow {
    font-size: 0.82rem;
    color: #dca3d0;
}

.highlight-shop-item {
    background: linear-gradient(135deg, #fff4f8 0%, #faedf3 100%);
    border: 1px solid rgba(244, 166, 193, 0.45);
}

.highlight-shop-item .nav-label,
.highlight-shop-item .nav-left-group svg {
    font-weight: 600;
    color: var(--brand-dark, #d1648a);
}

.shop-badge-cluster {
    display: flex;
    align-items: center;
}

.shop-discount-pill {
    font-size: 0.6rem;
    font-weight: 700;
    background: linear-gradient(90deg, #f6b4cb 0%, #dfaec5 100%);
    color: #ffffff;
    padding: 2px 7px;
    border-radius: 8px;
    letter-spacing: 0.4px;
    box-shadow: 0 2px 6px rgba(246, 180, 203, 0.35);
}

.drawer-footer-links-grid {
    margin-bottom: 1.2rem;
}

.drawer-pills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.drawer-pills-row a {
    background: #ffffff;
    border: 1px solid rgba(244, 166, 193, 0.28);
    border-radius: 20px;
    padding: 0.3rem 0.7rem;
    font-size: 0.72rem;
    font-weight: 500;
    color: #63525b;
    text-decoration: none;
    transition: all 0.2s ease;
}

.drawer-pills-row a:hover {
    background: #fdf2f6;
    border-color: #f4a6c1;
    color: var(--brand-dark, #d1648a);
}

.drawer-trust-card {
    margin-top: auto;
    background: #ffffff;
    border: 1px solid #f2e9ec;
    border-radius: 16px;
    padding: 0.85rem 0.95rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.trust-row {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.trust-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff5f8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #d1648a;
}

.trust-info strong {
    display: block;
    font-size: 0.76rem;
    color: #2d2629;
    font-weight: 600;
}

.trust-info p {
    margin: 0;
    font-size: 0.68rem;
    color: #9a8c93;
    font-weight: 400;
}

/* --------------------------------------------------------
/* --------------------------------------------------------
   11. GLOBAL INTERACTIVE TRAY (LUXURY BOTTOM CART DRAWER)
   -------------------------------------------------------- */
.bottom-cart-tray {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
    font-family: 'Poppins', sans-serif;
    opacity: 0;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.bottom-cart-tray.is-active,
.bottom-cart-tray.active {
    display: flex !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.bottom-cart-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(35, 25, 30, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.bottom-cart-tray.is-active .bottom-cart-backdrop,
.bottom-cart-tray.active .bottom-cart-backdrop {
    opacity: 1;
}

.bottom-cart-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 530px;
    background: #ffffff;
    border: 1.5px solid rgba(244, 166, 193, 0.5);
    border-radius: 28px 28px 0 0;
    box-shadow: 0 -16px 50px rgba(220, 163, 208, 0.32), 0 -2px 10px rgba(244, 166, 193, 0.15);
    padding: 1.4rem 1.6rem calc(1.4rem + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    transform: translate3d(0, 115%, 0);
    opacity: 0;
    transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    will-change: transform, opacity;
}

.bottom-cart-tray.is-active .bottom-cart-card,
.bottom-cart-tray.active .bottom-cart-card {
    transform: translate3d(0, 0, 0) !important;
    opacity: 1 !important;
}

/* 🎀 Signature Coquette Pink Bow Accent */
.tray-bow-seal {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 38px;
    height: 38px;
    z-index: 10;
    pointer-events: none;
    transition: transform 0.3s ease;
    animation: trayBowPopIn 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.coquette-bow-svg {
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 3px 6px rgba(209, 100, 138, 0.35));
}

@keyframes trayBowPopIn {
    0% { transform: scale(0) rotate(-30deg); opacity: 0; }
    60% { transform: scale(1.2) rotate(6deg); opacity: 1; }
    80% { transform: scale(0.95) rotate(-14deg); }
    100% { transform: scale(1) rotate(-10deg); opacity: 1; }
}

/* Header / Status Pill (Signature Blush Palette) */
.tray-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.9rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px dashed rgba(244, 166, 193, 0.4);
}

.tray-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #d1648a;
    background: #fff0f5;
    padding: 0.28rem 0.85rem;
    border-radius: 20px;
    border: 1px solid rgba(244, 166, 193, 0.65);
}

.tray-badge-pill .sparkle {
    color: #d1648a;
    font-size: 0.75rem;
}

.tray-close-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff5f8;
    border: 1px solid rgba(244, 166, 193, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8c7b84;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
}

.tray-close-btn:hover {
    background: #fae4ee;
    color: #d1648a;
    border-color: #d1648a;
    transform: rotate(90deg);
}

/* 1. Just Added Item Hero Card */
.tray-just-added-box {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0.75rem 0.95rem;
    background: linear-gradient(135deg, #fffafd 0%, #fff2f6 100%);
    border: 1px solid rgba(244, 166, 193, 0.4);
    border-radius: 18px;
    margin-bottom: 0.85rem;
    box-shadow: 0 2px 10px rgba(244, 166, 193, 0.08);
}

.tray-item-thumb-box {
    width: 62px;
    height: 62px;
    border-radius: 14px;
    background: #ffffff;
    border: 1.5px solid rgba(244, 166, 193, 0.45);
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(220, 163, 208, 0.22);
}

.tray-item-thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tray-item-thumb-box .placeholder {
    font-size: 1.3rem;
    color: #f4a6c1;
}

.tray-item-details {
    flex: 1;
    min-width: 0;
}

.tray-item-details .tray-item-title {
    margin: 0 0 4px 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #2d2629;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: 'Poppins', sans-serif;
}

.tray-item-meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tray-item-meta-row .tray-item-price {
    font-size: 0.92rem;
    font-weight: 700;
    color: #d1648a;
}

.qty-badge-pill {
    background: #ffffff;
    color: #8c7b84;
    border: 1px solid rgba(244, 166, 193, 0.45);
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.72rem;
    display: inline-block;
}

/* 1.5. Unlocked Achievements, Free Gifts & Coupons Feed */
.tray-perks-feed {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 0.85rem;
}

.tray-perk-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #fff5f9 0%, #ffedf4 100%);
    border: 1.2px dashed #f4a6c1;
    border-radius: 14px;
    padding: 0.55rem 0.85rem;
    box-shadow: 0 2px 8px rgba(244, 166, 193, 0.12);
}

.perk-icon-wrap {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(244, 166, 193, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #d1648a;
}

.perk-svg {
    width: 16px;
    height: 16px;
    display: block;
}

.perk-content-wrap {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.perk-title {
    font-size: 0.78rem;
    color: #d1648a;
    font-weight: 700;
}

.perk-desc {
    font-size: 0.7rem;
    color: #8c7b84;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Free Shipping Milestone Tracker */
.tray-shipping-progress {
    background: #fffafc;
    border: 1px solid rgba(244, 166, 193, 0.4);
    border-radius: 14px;
    padding: 0.55rem 0.85rem;
}

.shipping-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.74rem;
    color: #635259;
    margin-bottom: 5px;
}

.shipping-msg strong {
    color: #d1648a;
}

.shipping-unlocked-text {
    color: #d1648a;
    font-weight: 700;
}

.shipping-icon-wrap {
    color: #d1648a;
    display: flex;
    align-items: center;
}

.delivery-truck-svg {
    width: 17px;
    height: 17px;
    display: block;
}

.shipping-progress-track {
    width: 100%;
    height: 6px;
    background: #f8eaf0;
    border-radius: 10px;
    overflow: hidden;
}

.shipping-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ffd4e5 0%, #f4a6c1 50%, #d1648a 100%);
    border-radius: 10px;
    transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.shipping-progress-bar.is-completed {
    background: linear-gradient(90deg, #f4a6c1 0%, #d1648a 100%);
    box-shadow: 0 0 10px rgba(244, 166, 193, 0.8);
}

/* Active Store Coupon Recommendation Card */
.tray-coupon-perk-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: linear-gradient(135deg, #fffafd 0%, #fff0f6 100%);
    border: 1.2px solid rgba(244, 166, 193, 0.55);
    border-radius: 14px;
    padding: 0.52rem 0.85rem;
    box-shadow: 0 2px 8px rgba(244, 166, 193, 0.12);
}

.coupon-icon-wrap {
    color: #d1648a;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.coupon-tag-svg {
    width: 17px;
    height: 17px;
    display: block;
}

.coupon-text-col {
    flex: 1;
    min-width: 0;
}

.coupon-heading {
    font-size: 0.72rem;
    font-weight: 700;
    color: #d1648a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.coupon-sub {
    font-size: 0.7rem;
    color: #635259;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.coupon-pill {
    background: #d1648a;
    color: #ffffff;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 6px;
    font-size: 0.68rem;
    letter-spacing: 0.5px;
    display: inline-block;
}

.coupon-btns-group {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.btn-auto-apply-code {
    background: linear-gradient(135deg, #f7adc5 0%, #d1648a 100%);
    border: none;
    color: #ffffff !important;
    border-radius: 20px;
    padding: 4px 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(209, 100, 138, 0.28);
}

.btn-auto-apply-code:hover {
    background: linear-gradient(135deg, #f9b8cd 0%, #b8456f 100%);
    transform: translateY(-1px);
}

.btn-auto-apply-code.is-applied {
    background: #fff5f8;
    color: #d1648a !important;
    border: 1.2px solid #d1648a;
    box-shadow: none;
}

.btn-copy-code {
    background: #ffffff;
    border: 1.2px solid rgba(209, 100, 138, 0.45);
    color: #d1648a;
    border-radius: 20px;
    padding: 4px 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-copy-code:hover {
    border-color: #d1648a;
    background: #fff5f8;
}

.btn-copy-code.is-copied {
    background: #d1648a;
    color: #ffffff;
    border-color: #d1648a;
}

/* 2. Modern Bag Snapshot & Overlapping Avatar Stack */
.tray-bag-snapshot-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0.65rem 0.95rem;
    background: #fffdfd;
    border-radius: 16px;
    margin-bottom: 0.85rem;
    border: 1px solid rgba(244, 166, 193, 0.3);
}

.tray-stack-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.stack-header-line {
    display: flex;
    align-items: center;
    gap: 6px;
}

.stack-label {
    font-size: 0.68rem;
    color: #9f8892;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.tray-avatar-stack {
    display: flex;
    align-items: center;
    padding-left: 2px;
    min-height: 34px;
}

.avatar-node {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2.2px solid #ffffff;
    box-shadow: 0 3px 8px rgba(209, 100, 138, 0.2);
    overflow: visible;
    margin-left: -10px;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: default;
}

.avatar-node:first-child {
    margin-left: 0;
}

.avatar-node:hover {
    transform: scale(1.18) translateY(-3px);
    z-index: 20 !important;
    box-shadow: 0 6px 14px rgba(209, 100, 138, 0.35);
}

.avatar-node.is-gift-node {
    border: 2px dashed #f4a6c1;
    background: #fff8fb;
    box-shadow: 0 3px 8px rgba(209, 100, 138, 0.25);
}

.avatar-node img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.avatar-gift-svg {
    width: 22px;
    height: 22px;
    display: block;
}

.avatar-gift-ribbon-tag {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #d1648a;
    color: #ffffff;
    font-size: 0.58rem;
    font-weight: 700;
    line-height: 1;
    padding: 1px 3px;
    border-radius: 8px;
    border: 1px solid #ffffff;
}

.avatar-fallback-spark {
    font-size: 0.8rem;
    color: #d1648a;
}

.avatar-placeholder {
    font-size: 0.75rem;
    color: #d1648a;
    background: #fff5f8;
}

.avatar-qty-tag {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #d1648a;
    color: #ffffff;
    font-size: 0.56rem;
    font-weight: 700;
    line-height: 1;
    padding: 2px 4px;
    border-radius: 8px;
    border: 1px solid #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.avatar-more {
    font-size: 0.7rem;
    font-weight: 700;
    color: #d1648a;
    background: #fce7f1;
    border-color: #ffffff;
}

.empty-stack-note {
    font-size: 0.75rem;
    color: #9f8892;
    font-style: italic;
}

.tray-total-col {
    text-align: right;
    flex-shrink: 0;
}

.tray-total-col .total-label {
    display: block;
    font-size: 0.68rem;
    color: #9f8892;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.tray-total-col .total-price-val {
    font-size: 1.08rem;
    color: #2d2629;
    font-weight: 700;
}

/* 4. Action Buttons (Keep Browsing, View Bag, Direct Checkout) */
.tray-actions-dock {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-tray-secondary {
    flex: 1;
    padding: 0.82rem 0.6rem;
    background: #fff5f8;
    border: 1.2px solid rgba(244, 166, 193, 0.5);
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: #d1648a;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    white-space: nowrap;
}

.btn-tray-secondary:hover {
    background: #fae4ee;
    border-color: #d1648a;
    transform: translateY(-1px);
}

.btn-tray-outline {
    flex: 1;
    padding: 0.82rem 0.6rem;
    background: #ffffff;
    border: 1.2px solid rgba(244, 166, 193, 0.6);
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: #2d2629;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-tray-outline:hover {
    background: #fff5f8;
    border-color: #d1648a;
    color: #d1648a;
    transform: translateY(-1px);
}

.btn-tray-primary {
    flex: 1.25;
    padding: 0.82rem 1rem;
    background: linear-gradient(135deg, #f7adc5 0%, #e285a7 100%);
    border: none;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffffff !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 6px 18px rgba(226, 133, 167, 0.4);
    transition: all 0.22s ease;
    white-space: nowrap;
}

.btn-tray-primary:hover {
    background: linear-gradient(135deg, #f9b8cd 0%, #d1648a 100%);
    box-shadow: 0 8px 22px rgba(209, 100, 138, 0.45);
    transform: translateY(-1.5px);
}

.btn-tray-primary .arrow-spark {
    font-size: 0.95rem;
    transition: transform 0.2s ease;
}

.btn-tray-primary:hover .arrow-spark {
    transform: translateX(3px);
}

/* 📱 Responsive Adjustments for Desktop vs Mobile */
@media (min-width: 769px) {
    .bottom-cart-tray {
        padding-bottom: 2rem;
    }
    
    .bottom-cart-card {
        border-radius: 28px;
        border: 1.5px solid rgba(244, 166, 193, 0.55);
    }

    /* Desktop Bow Icon Position: Top-Left Corner with -10deg tilt */
    .tray-bow-seal {
        left: 24px;
        transform: none;
        top: -18px;
    }
}

@media (max-width: 768px) {
    .bottom-cart-card {
        border-radius: 26px 26px 0 0;
        padding: 1.3rem 1.15rem calc(1.2rem + env(safe-area-inset-bottom, 0px));
    }

    /* Mobile Bow Icon Position: Center of Top Border */
    .tray-bow-seal {
        left: 50%;
        transform: translateX(-50%);
        top: -18px;
    }

    .tray-actions-dock {
        flex-direction: row;
        gap: 6px;
    }

    .btn-tray-secondary {
        padding: 0.76rem 0.5rem;
        font-size: 0.74rem;
    }

    .btn-tray-outline {
        padding: 0.76rem 0.5rem;
        font-size: 0.74rem;
    }

    .btn-tray-primary {
        padding: 0.76rem 0.75rem;
        font-size: 0.75rem;
    }
}

/* --------------------------------------------------------
   12. FAIRY SEARCH SPOTLIGHT & DISCOVERY MODAL
   -------------------------------------------------------- */
.spotlight-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(35, 25, 30, 0.48);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 1.5rem;
    box-sizing: border-box;
}

.spotlight-overlay.is-active,
.spotlight-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.spotlight-dialog {
    width: 100%;
    max-width: 760px;
    max-height: 86vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1.5px solid rgba(244, 166, 193, 0.45);
    border-radius: 28px;
    box-shadow: 0 28px 70px rgba(220, 163, 208, 0.32), 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    overflow: visible !important;
    position: relative !important;
    transform: scale(0.94) translateY(14px);
    transition: transform 0.34s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-sizing: border-box;
}

.spotlight-overlay.is-active .spotlight-dialog,
.spotlight-overlay.active .spotlight-dialog {
    transform: scale(1) translateY(0);
}

/* ENLARGED, REALISTIC TILTED COQUETTE BOW */
.spotlight-dialog::before {
    content: '';
    position: absolute;
    top: -16px;
    left: -14px;
    width: 36px;
    height: 36px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    pointer-events: none;
    z-index: 100;
    transform-origin: 50% 50%;
    animation: spotlightBowDesktopIn 0.65s cubic-bezier(0.25, 1.35, 0.5, 1) forwards;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3ClinearGradient id='satinLight' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23fff0f5'/%3E%3Cstop offset='30%25' stop-color='%23fbcfe8'/%3E%3Cstop offset='70%25' stop-color='%23f472b6'/%3E%3Cstop offset='100%25' stop-color='%23db2777'/%3E%3C/linearGradient%3E%3ClinearGradient id='tailShade' x1='0%25' y1='0%25' x2='0%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23f472b6'/%3E%3Cstop offset='100%25' stop-color='%23be185d'/%3E%3C/linearGradient%3E%3Cfilter id='realisticGlow' x='-25%25' y='-25%25' width='150%25' height='150%25'%3E%3CfeDropShadow dx='0' dy='2.5' stdDeviation='2' flood-color='%239d174d' flood-opacity='0.35'/%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23realisticGlow)'%3E%3Cpath d='M44 54 C34 70 20 86 12 92 C25 86 36 78 46 60 Z' fill='url(%23tailShade)' stroke='%23ffffff' stroke-width='1.2'/%3E%3Cpath d='M56 54 C66 70 80 86 88 92 C75 86 64 78 54 60 Z' fill='url(%23tailShade)' stroke='%23ffffff' stroke-width='1.2'/%3E%3Cpath d='M48 48 C34 26 10 14 6 30 C2 46 26 58 48 50 Z' fill='url(%23satinLight)' stroke='%23ffffff' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M52 48 C66 26 90 14 94 30 C98 46 74 58 52 50 Z' fill='url(%23satinLight)' stroke='%23ffffff' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cellipse cx='50' cy='49' rx='6.5' ry='6' fill='%23ffffff' stroke='%23ec4899' stroke-width='2'/%3E%3Ccircle cx='50' cy='49' r='2.2' fill='%23db2777'/%3E%3C/g%3E%3C/svg%3E");
    filter: drop-shadow(0 4px 10px rgba(219, 39, 119, 0.38));
}

@keyframes spotlightBowDesktopIn {
    0% { transform: scale(0) rotate(-35deg); opacity: 0; }
    50% { transform: scale(1.28) rotate(6deg); opacity: 1; }
    75% { transform: scale(0.92) rotate(-18deg); }
    100% { transform: scale(1) rotate(-14deg); opacity: 1; }
}

.spotlight-drag-handle {
    display: none;
    width: 42px;
    height: 4.5px;
    background: rgba(244, 166, 193, 0.55);
    border-radius: 9999px;
    margin: 1.1rem auto 0.35rem;
    cursor: pointer;
}

/* SEARCH INPUT CONTAINER */
.spotlight-input-card {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(244, 166, 193, 0.3);
    background: linear-gradient(180deg, #ffffff 0%, #fffcfd 100%);
    gap: 10px;
    border-radius: 28px 28px 0 0;
    box-sizing: border-box;
}

.spotlight-search-icon {
    color: var(--brand-dark, #d1648a);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.spotlight-input {
    flex: 1;
    border: none;
    outline: none;
    font-family: 'Poppins', -apple-system, sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-dark, #2d2629);
    background: transparent;
    padding: 0;
    min-width: 0;
}

.spotlight-input::placeholder {
    color: #b5a4ad;
    font-weight: 400;
}

.spotlight-clear-btn,
.spotlight-close-modal-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(244, 166, 193, 0.35);
    background: #fff5f8;
    color: #8c7b84;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    padding: 0;
}

.spotlight-clear-btn {
    display: none;
}

.spotlight-clear-btn:hover,
.spotlight-close-modal-btn:hover {
    background: var(--brand-primary, #f4a6c1);
    color: #ffffff;
    border-color: transparent;
    transform: scale(1.06);
}

.spotlight-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.2rem 1.35rem 1.6rem;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    border-radius: 0 0 28px 28px;
}

.spotlight-section {
    text-align: left;
}

.section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.spotlight-label {
    font-size: 0.66rem;
    font-weight: 700;
    color: #ad8f9b;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: block;
}

.section-view-all {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--brand-dark, #d1648a);
    text-decoration: none;
    transition: transform 0.2s ease;
}

.section-view-all:hover {
    transform: translateX(2px);
}

/* POPULAR SEARCH TAGS */
.trending-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 0.65rem;
}

.tag-pill {
    background: #fff5f8;
    border: 1px solid rgba(244, 166, 193, 0.4);
    color: #5c4953;
    font-family: 'Poppins', sans-serif;
    font-size: 0.74rem;
    font-weight: 600;
    padding: 0.38rem 0.82rem;
    border-radius: var(--radius-pill, 9999px);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.tag-pill .tag-spark {
    color: var(--brand-primary, #f4a6c1);
    font-size: 0.75rem;
}

.tag-pill:hover {
    background: linear-gradient(90deg, #f6b4cb 0%, #dfaec5 100%);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 166, 193, 0.3);
}

.tag-pill:hover .tag-spark {
    color: #ffffff;
}

/* SALE & SPECIAL DEALS SHELF */
.spotlight-sale-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.sale-mini-card {
    background: #fffafc;
    border: 1px solid rgba(244, 166, 193, 0.35);
    border-radius: 14px;
    padding: 0.55rem;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.sale-mini-card:hover {
    background: #ffffff;
    border-color: var(--brand-primary, #f4a6c1);
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(244, 166, 193, 0.2);
}

.sale-thumb-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    overflow: hidden;
    background: #fdf2f6;
    position: relative;
    flex-shrink: 0;
}

.sale-thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sale-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--brand-primary, #f4a6c1);
    font-size: 0.9rem;
}

.mini-discount-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: linear-gradient(135deg, #f6b4cb 0%, #dfaec5 100%);
    color: #ffffff;
    font-size: 0.52rem;
    font-weight: 700;
    padding: 0.04rem 0.25rem;
    border-radius: 4px;
}

.sale-info-box {
    min-width: 0;
    flex: 1;
}

.sale-item-title {
    font-family: 'Poppins', sans-serif;
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--text-dark, #2d2629);
    margin: 0 0 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sale-item-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.sale-price-current {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--brand-dark, #d1648a);
}

.sale-price-original {
    font-size: 0.64rem;
    color: #a89aa1;
    text-decoration: line-through;
}

/* CATEGORY STORY BUBBLES */
.spotlight-cat-row {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 0.65rem 0 0.35rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.spotlight-cat-row::-webkit-scrollbar {
    display: none;
}

.spotlight-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    flex-shrink: 0;
    cursor: pointer;
}

.cat-circle-wrap {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    overflow: hidden;
    background: #fdf2f6;
    border: 1.5px solid rgba(244, 166, 193, 0.45);
    box-shadow: 0 3px 10px rgba(244, 166, 193, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.spotlight-cat-item:hover .cat-circle-wrap {
    transform: scale(1.08);
    border-color: var(--brand-dark, #d1648a);
}

.cat-circle-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-fallback-circle {
    color: var(--brand-dark, #d1648a);
    font-size: 0.9rem;
}

.spotlight-cat-item span {
    font-size: 0.7rem;
    font-weight: 500;
    color: #5c4a54;
}

/* ========================================================
   MODERN BENTO SEARCH RESULTS (3 COLUMNS DESKTOP)
   ======================================================== */
.results-meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.9rem;
    font-size: 0.72rem;
    color: #8c7b84;
    font-weight: 600;
    border-bottom: 1px solid rgba(244, 166, 193, 0.18);
    padding-bottom: 0.55rem;
    gap: 6px;
    flex-wrap: wrap;
}

.results-filter-pills {
    display: flex;
    align-items: center;
    gap: 5px;
}

.rf-pill {
    background: #fff5f8;
    border: 1px solid rgba(244, 166, 193, 0.35);
    border-radius: 9999px;
    padding: 0.2rem 0.55rem;
    font-size: 0.65rem;
    font-weight: 600;
    color: #7d6b75;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rf-pill:hover,
.rf-pill.active {
    background: var(--brand-primary, #f4a6c1);
    color: #ffffff;
    border-color: transparent;
}

/* DESKTOP 3-COLUMN COMPACT GRID */
.results-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
}

.search-bento-card {
    background: #ffffff;
    border: 1px solid rgba(244, 166, 193, 0.32);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 14px rgba(244, 166, 193, 0.1);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    animation: bentoCardPopIn 0.24s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes bentoCardPopIn {
    from { opacity: 0; transform: translateY(6px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.search-bento-card:hover {
    border-color: var(--brand-primary, #f4a6c1);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(244, 166, 193, 0.22);
}

.card-hero-link {
    text-decoration: none;
    display: block;
}

.card-media-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #fffafc;
    overflow: hidden;
}

.card-media-stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.search-bento-card:hover .card-media-stage img {
    transform: scale(1.06);
}

.card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-primary, #f4a6c1);
    font-size: 1.2rem;
}

.card-tag-pill {
    position: absolute;
    border-radius: 9999px;
    font-size: 0.55rem;
    font-weight: 700;
    padding: 0.12rem 0.42rem;
    letter-spacing: 0.4px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.card-tag-pill.cat-pill {
    top: 6px;
    left: 6px;
    background: rgba(255, 255, 255, 0.9);
    color: #5c4953;
    border: 1px solid rgba(244, 166, 193, 0.35);
    text-transform: uppercase;
}

.card-tag-pill.discount-pill {
    top: 6px;
    right: 6px;
    background: linear-gradient(135deg, #f6b4cb 0%, #dfaec5 100%);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(246, 180, 203, 0.35);
}

.card-details-stage {
    padding: 0.65rem 0.75rem 0.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    gap: 6px;
    text-align: left;
}

.card-title-link {
    text-decoration: none;
}

.bento-product-title {
    font-family: 'Poppins', -apple-system, sans-serif;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--text-dark, #2d2629);
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-action-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 4px;
    border-top: 1px dashed rgba(244, 166, 193, 0.25);
}

.card-current-price {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--text-dark, #2d2629);
}

.card-current-price.sale-accent {
    color: var(--brand-dark, #d1648a);
}

.card-price-stack {
    display: flex;
    flex-direction: column;
}

.card-orig-price {
    font-size: 0.62rem;
    color: #a89aa1;
    text-decoration: line-through;
}

.btn-quick-bag-add {
    background: #fff5f8;
    border: 1px solid rgba(244, 166, 193, 0.45);
    color: var(--brand-dark, #d1648a);
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 9999px;
    padding: 0.24rem 0.55rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-quick-bag-add:hover {
    background: var(--brand-primary, #f4a6c1);
    color: #ffffff;
    border-color: transparent;
    transform: scale(1.05);
}

.no-filter-match-box {
    grid-column: span 3;
    padding: 1.8rem 1rem;
    text-align: center;
    color: #8c7b84;
    font-size: 0.8rem;
}

/* =========================================================================
   LUXURY SEARCH EMPTY STATE & BESPOKE ARTISAN CARD (DESKTOP & MOBILE)
   ========================================================================= */
.spotlight-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.2rem 1.2rem 1.8rem;
    box-sizing: border-box;
    width: 100%;
}

.empty-artisan-hero {
    max-width: 480px;
    margin: 0 auto 1.4rem;
}

.empty-spark-orb {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff0f5 0%, #ffe3ee 100%);
    border: 1.5px solid #f4a6c1;
    margin: 0 auto 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(244, 166, 193, 0.28);
}

.sad-face-glyph {
    font-size: 1.15rem;
    color: #d1648a;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.empty-hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.45rem;
    color: #2d2629;
    font-weight: 500;
    margin: 0 0 0.35rem;
    line-height: 1.25;
}

.empty-hero-subtitle {
    font-size: 0.82rem;
    color: #7d6b75;
    margin: 0;
    line-height: 1.5;
}

.searched-pill-echo {
    display: inline-block;
    background: #fff0f5;
    color: #d1648a;
    font-weight: 600;
    padding: 0.15rem 0.6rem;
    border-radius: 9999px;
    border: 1px solid rgba(244, 166, 193, 0.5);
    margin-left: 3px;
}

/* BESPOKE CONCIERGE CARD (HORIZONTAL FLEX ON DESKTOP) */
.bespoke-concierge-card {
    background: linear-gradient(135deg, #ffffff 0%, #fff6fa 100%);
    border: 1.5px solid rgba(244, 166, 193, 0.45);
    border-radius: 20px;
    padding: 1.1rem 1.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    text-align: left;
    width: 100%;
    max-width: 580px;
    box-shadow: 0 6px 22px rgba(220, 163, 208, 0.15);
    box-sizing: border-box;
    transition: all 0.22s ease;
}

.bespoke-concierge-card:hover {
    border-color: #d1648a;
    box-shadow: 0 10px 28px rgba(209, 100, 138, 0.22);
}

.bespoke-card-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.bespoke-icon-gem {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff0f5;
    border: 1px solid #f4a6c1;
    color: #d1648a;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bespoke-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.bespoke-copy strong {
    font-size: 0.84rem;
    color: #2d2629;
    font-weight: 600;
    line-height: 1.25;
}

.bespoke-copy span {
    font-size: 0.73rem;
    color: #8c7b84;
    line-height: 1.4;
}

.bespoke-action-btn {
    background: linear-gradient(135deg, #f6b4cb 0%, #dfaec5 100%);
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 600;
    padding: 0.55rem 1.15rem;
    border-radius: 9999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(246, 180, 203, 0.38);
    transition: all 0.2s ease;
    cursor: pointer;
}

.bespoke-action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(246, 180, 203, 0.5);
    color: #ffffff;
}

/* SUGGESTIONS TRAY */
.empty-suggestions-tray {
    margin-top: 1.5rem;
    width: 100%;
    max-width: 580px;
    text-align: center;
}

.suggestions-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #a5959e;
    margin-bottom: 0.6rem;
}

.suggestions-pills-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
}

.sug-pill {
    background: #ffffff;
    border: 1px solid rgba(244, 166, 193, 0.4);
    color: #5c4953;
    font-size: 0.74rem;
    font-weight: 500;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.18s ease;
}

.sug-pill:hover {
    background: #fff0f5;
    border-color: #d1648a;
    color: #d1648a;
    transform: translateY(-1px);
}

@media (max-width: 600px) {
    .bespoke-concierge-card {
        flex-direction: column;
        text-align: center;
        gap: 0.9rem;
    }
    .bespoke-card-left {
        flex-direction: column;
        text-align: center;
    }
    .bespoke-action-btn {
        width: 100%;
        justify-content: center;
    }
}

/* --------------------------------------------------------
   RESPONSIVE MOBILE BOTTOM SHEET (2 COLUMNS MOBILE)
   -------------------------------------------------------- */
@media (max-width: 680px) {
    .spotlight-overlay {
        align-items: flex-end;
        padding: 0;
    }

    .spotlight-dialog {
        max-width: 100%;
        max-height: 90vh;
        border-radius: 28px 28px 0 0;
        transform: translateY(100%);
        transition: transform 0.34s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .spotlight-overlay.is-active .spotlight-dialog,
    .spotlight-overlay.active .spotlight-dialog {
        transform: translateY(0);
    }

    /* ENLARGED TOP-CENTER MOBILE COQUETTE BOW */
    .spotlight-dialog::before {
        top: -16px;
        left: 50%;
        right: auto;
        width: 34px;
        height: 34px;
        transform: translateX(-50%) rotate(0deg);
        transform-origin: 50% 50%;
        animation: spotlightBowMobileIn 0.65s cubic-bezier(0.25, 1.25, 0.5, 1) forwards;
        filter: drop-shadow(0 4px 10px rgba(209, 100, 138, 0.45));
    }

    @keyframes spotlightBowMobileIn {
        0% { transform: translateX(-50%) scale(0) rotate(-18deg); opacity: 0; }
        45% { transform: translateX(-50%) scale(1.32) rotate(8deg); opacity: 1; }
        65% { transform: translateX(-50%) scale(0.92) rotate(-3deg); }
        82% { transform: translateX(-50%) scale(1.08) rotate(2deg); }
        100% { transform: translateX(-50%) scale(1) rotate(0deg); opacity: 1; }
    }

    .spotlight-drag-handle {
        display: block;
        margin-top: 1.3rem;
    }

    .spotlight-input-card {
        padding: 0.8rem 1rem;
        border-radius: 0;
    }

    .spotlight-body {
        padding: 1rem 1rem 2.2rem;
        border-radius: 0;
    }

    /* MOBILE STRICT 2 ITEMS PER LINE */
    .results-bento-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .spotlight-sale-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .sale-mini-card {
        padding: 0.45rem;
        gap: 6px;
    }

    .sale-thumb-box {
        width: 34px;
        height: 34px;
        border-radius: 8px;
    }

    .cat-circle-wrap {
        width: 42px;
        height: 42px;
    }

    .no-filter-match-box {
        grid-column: span 2;
    }
}

/* --------------------------------------------------------
   13. CENTERED FLOATING TOAST SYSTEM
   -------------------------------------------------------- */
.sanctuary-toast-container {
    position: fixed;
    bottom: var(--toast-bottom-offset, 24px);
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: var(--z-toast);
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    pointer-events: none;
    max-width: 440px;
    width: calc(100% - 32px);
    box-sizing: border-box;
    align-items: center;
    transition: bottom 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sanctuary-toast-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid rgba(244, 166, 193, 0.55);
    border-radius: var(--radius-pill) !important;
    padding: 0.45rem 1.15rem 0.45rem 0.48rem;
    box-shadow: 0 16px 40px rgba(220, 163, 208, 0.28);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(18px) scale(0.94);
    animation: centerToastIn 0.32s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    box-sizing: border-box;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    max-width: 100%;
    position: relative;
}

.sanctuary-toast-card.type-wishlist {
    border-color: rgba(220, 163, 208, 0.7);
}

.sanctuary-toast-card.type-removed,
.sanctuary-toast-card.type-deleted {
    border-color: rgba(239, 107, 107, 0.45);
    background: rgba(255, 252, 252, 0.98);
}

.sanctuary-toast-card.type-updated,
.sanctuary-toast-card.type-quantity,
.sanctuary-toast-card.type-qty,
.sanctuary-toast-card.type-info {
    border-color: rgba(144, 164, 237, 0.5);
}

.sanctuary-toast-card.type-coupon,
.sanctuary-toast-card.type-success {
    border-color: rgba(72, 187, 120, 0.5);
}

.sanctuary-toast-card.hiding {
    animation: centerToastOut 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes centerToastIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.94);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes centerToastOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(12px) scale(0.94);
    }
}

.toast-thumb-box {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    position: relative !important;
    display: block !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fdf2f6;
    border: 1.5px solid rgba(244, 166, 193, 0.45);
    box-shadow: 0 4px 12px rgba(244, 166, 193, 0.2);
}

.toast-thumb-box img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    border-radius: 50% !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.toast-thumb-box.thumb-icon-only {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--brand-primary, #f4a6c1);
}

.sanctuary-toast-card.type-wishlist .toast-thumb-box.thumb-icon-only {
    color: var(--brand-accent, #dca3d0);
    background: #faf2f8;
    border-color: rgba(220, 163, 208, 0.4);
}

.sanctuary-toast-card.type-removed .toast-thumb-box.thumb-icon-only,
.sanctuary-toast-card.type-deleted .toast-thumb-box.thumb-icon-only {
    color: #e53e3e;
    background: #fff5f5;
    border-color: rgba(239, 107, 107, 0.35);
}

.sanctuary-toast-card.type-updated .toast-thumb-box.thumb-icon-only,
.sanctuary-toast-card.type-quantity .toast-thumb-box.thumb-icon-only,
.sanctuary-toast-card.type-qty .toast-thumb-box.thumb-icon-only,
.sanctuary-toast-card.type-info .toast-thumb-box.thumb-icon-only {
    color: #5a67d8;
    background: #f0f4ff;
    border-color: rgba(144, 164, 237, 0.4);
}

.sanctuary-toast-card.type-coupon .toast-thumb-box.thumb-icon-only,
.sanctuary-toast-card.type-success .toast-thumb-box.thumb-icon-only {
    color: #276749;
    background: #f0fff4;
    border-color: rgba(72, 187, 120, 0.35);
}

.toast-content-wrap {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
    text-align: left;
    padding-right: 4px;
}

.toast-title {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--text-dark, #2d2629);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    line-height: 1.2;
}

.toast-title-sparkle {
    color: var(--brand-primary, #f4a6c1);
    font-size: 0.72rem;
}

.sanctuary-toast-card.type-removed .toast-title-sparkle,
.sanctuary-toast-card.type-deleted .toast-title-sparkle {
    color: #e53e3e;
}

.sanctuary-toast-card.type-updated .toast-title-sparkle,
.sanctuary-toast-card.type-quantity .toast-title-sparkle,
.sanctuary-toast-card.type-qty .toast-title-sparkle {
    color: #5a67d8;
}

.toast-desc {
    font-size: 0.76rem;
    color: #7d6b75;
    margin: 0;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.toast-desc strong,
.toast-desc b {
    color: var(--text-dark, #2d2629);
    font-weight: 600;
}

.toast-close-btn {
    background: transparent;
    border: none;
    color: #b5a2ab;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.toast-close-btn:hover {
    color: var(--text-dark, #2d2629);
    background: #fdf2f6;
    transform: scale(1.1);
}

@media (max-width: 600px) {
    .sanctuary-toast-container {
        width: calc(100% - 24px);
    }
    .sanctuary-toast-card {
        padding: 0.42rem 1rem 0.42rem 0.45rem;
    }
    .toast-thumb-box {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        max-width: 40px !important;
        min-height: 40px !important;
        max-height: 40px !important;
    }
}

/* --------------------------------------------------------
   14. GLOBAL FOOTER SYSTEM
   -------------------------------------------------------- */
.dream-footer {
    background: linear-gradient(180deg, #fffafc 0%, #faedf3 100%);
    padding: 4.5rem 4% 2.2rem;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    border-radius: 36px 36px 0 0; 
    margin-top: -1px;
    box-shadow: 0 -10px 30px rgba(244, 166, 193, 0.05);
    border-top: 1px solid rgba(244, 166, 193, 0.25);
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.dream-footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
}

.footer-main-grid {
    display: flex;
    flex-direction: column;
    gap: 2.6rem;
    margin-bottom: 3rem;
    width: 100%;
    box-sizing: border-box;
}

.brand-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    height: 36px;
    width: auto;
    margin-bottom: 1rem;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    object-fit: contain;
    display: block;
}

.footer-logo-link:hover .footer-logo {
    transform: scale(1.03);
}

.brand-desc {
    font-size: 0.88rem;
    color: #8c7b84;
    line-height: 1.55;
    margin: 0 0 1.4rem 0;
    max-width: 360px;
}

.footer-socials {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
}

.social-pill {
    background: #ffffff;
    color: #63525b;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-decoration: none;
    padding: 0.6rem 0.95rem;
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(244, 166, 193, 0.35);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.social-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 166, 193, 0.25);
    color: var(--brand-primary, #f4a6c1);
    border-color: var(--brand-primary, #f4a6c1);
}

.footer-nav-group {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.8rem;
    width: 100%;
    box-sizing: border-box;
}

.link-col {
    text-align: left;
    min-width: 0;
}

.link-col h4 {
    font-size: 0.72rem;
    color: #ad8f9b;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0 0 0.85rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.link-col nav {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.link-col a {
    color: #63525b;
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.link-col a:hover {
    color: var(--brand-primary, #f4a6c1);
    transform: translateX(2px);
}

.link-col a.highlight-link {
    color: #d1648a;
    font-weight: 600;
}

.cta-col {
    display: flex;
    justify-content: center;
    width: 100%;
}

.footer-cta-card {
    background: #ffffff;
    border-radius: 26px;
    padding: 1.8rem 1.6rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.04);
    border: 1px solid rgba(244, 166, 193, 0.35);
    text-align: center;
    width: 100%;
    max-width: 420px;
    box-sizing: border-box;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.footer-cta-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 45px rgba(244, 166, 193, 0.16);
}

.footer-circles-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-circle-node {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fdf5f7;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 12px rgba(244, 166, 193, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-left: -10px;
    position: relative;
    text-decoration: none;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), z-index 0.25s ease;
    flex-shrink: 0;
}

.footer-circle-node:first-child {
    margin-left: 0;
}

.footer-circle-node img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.footer-circle-node span {
    font-size: 1rem;
    color: var(--brand-primary, #f4a6c1);
}

.footer-circle-node:hover {
    transform: scale(1.15) translateY(-2px);
    z-index: 10;
    border-color: var(--brand-primary, #f4a6c1);
}

.footer-cta-card h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-dark, #2d2629);
    line-height: 1.25;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.3px;
}

.footer-cta-card p {
    font-size: 0.8rem;
    line-height: 1.5;
    color: #8c7b84;
    margin: 0 0 1.2rem 0;
}

.cta-explore-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #d1648a;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-decoration: none;
    text-transform: uppercase;
    transition: opacity 0.2s ease;
}

.cta-explore-link:hover { 
    opacity: 0.85; 
}

.arrow-circle {
    background: #fdf5f7;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(244, 166, 193, 0.3);
    transition: transform 0.25s ease, background 0.25s ease;
}

.cta-explore-link:hover .arrow-circle {
    transform: translateX(4px);
    background: #fae8ef;
}

.footer-copyright {
    text-align: center;
    border-top: 1px solid rgba(244, 166, 193, 0.22);
    padding-top: 1.6rem;
}

.footer-copyright p {
    margin: 0 0 0.3rem 0;
    font-size: 0.8rem;
    color: #9a8c93;
    font-weight: 500;
}

@media (min-width: 768px) {
    .footer-nav-group {
        gap: 1.8rem;
    }
    .link-col a {
        font-size: 0.86rem;
    }
}

@media (min-width: 992px) {
    .dream-footer {
        padding: 5.5rem 5% 2.5rem;
        border-radius: 56px 56px 0 0; 
    }
    
    .footer-main-grid {
        display: grid;
        grid-template-columns: 1.4fr 0.8fr 0.8fr 0.8fr 1.3fr;
        gap: 2.2rem;
        align-items: flex-start;
    }

    .brand-col { 
        text-align: left; 
        align-items: flex-start; 
    }

    .footer-socials { 
        justify-content: flex-start; 
    }
    
    .footer-nav-group {
        display: contents;
    }
}


/* ==========================================================================
   SITEWIDE COMPLIMENTARY GIFTS, PERKS & REWARD BADGES SUITE
   Reusable across Cart, Checkout, Receipts, Tracking, Account & Invoices
   ========================================================================== */

/* 1. Global Gift Highlight Tiles & Containers */
.gift-perk-tile,
.is-gift-item,
.tile-free-gift {
    background: linear-gradient(135deg, #fffcfd 0%, #faedf3 100%) !important;
    border: 1.5px dashed rgba(244, 166, 193, 0.55) !important;
    box-shadow: 0 4px 14px rgba(244, 166, 193, 0.12) !important;
    position: relative;
}

/* 2. Reusable Gift Icon Box / Thumbnails */
.gift-box-icon,
.gift-thumb-box,
.receipt-gift-icon,
.account-gift-node {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-dark, #d1648a) !important;
    background: linear-gradient(135deg, #fff0f5 0%, #fae6ed 100%) !important;
    border: 1px solid rgba(244, 166, 193, 0.35);
    box-sizing: border-box;
    border-radius: inherit;
}

.gift-box-icon svg,
.gift-thumb-box svg,
.receipt-gift-icon svg,
.account-gift-node svg {
    color: var(--brand-dark, #d1648a) !important;
    stroke: var(--brand-dark, #d1648a) !important;
    filter: drop-shadow(0 2px 5px rgba(209, 100, 138, 0.25));
}

/* 3. Sitewide Complimentary Badges, Pills & Price Tags */
.gift-pill-badge,
.free-gift-pill,
.badge-complimentary,
.item-price-cluster .gift-tag-text,
.item-price-cluster span[style*="color:#276749"],
.item-price-cluster span[style*="color: #276749"] {
    background: #fff0f5 !important;
    color: var(--brand-dark, #d1648a) !important;
    font-family: 'Poppins', -apple-system, sans-serif !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    padding: 0.15rem 0.6rem !important;
    border-radius: 9999px !important;
    border: 1px solid rgba(244, 166, 193, 0.45) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    letter-spacing: 0.3px !important;
    box-shadow: 0 2px 8px rgba(244, 166, 193, 0.16) !important;
    text-transform: none !important;
    line-height: 1.25 !important;
}

/* 4. Sitewide "FREE" & Complimentary Text Labels */
.free-text-accent,
.item-total-col.free,
.amount-val.free,
.receipt-val-free {
    color: var(--brand-dark, #d1648a) !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
}

/* 5. Promotional & Savings Receipt Summary Rows */
.receipt-line.promo-line,
.receipt-line.discount-line,
.summary-savings-row {
    color: var(--brand-dark, #d1648a) !important;
    font-weight: 600 !important;
}

.receipt-line.promo-line .amount-val,
.receipt-line.discount-line .amount-val,
.summary-savings-row .amount-val {
    color: var(--brand-dark, #d1648a) !important;
    font-weight: 700 !important;
}

/* 6. Active Coupon & Reward Voucher Cards */
.active-coupon-pill,
.applied-voucher-card,
.account-reward-pill {
    background: linear-gradient(135deg, #fff5f8 0%, #faedf3 100%) !important;
    border: 1.5px solid rgba(244, 166, 193, 0.55) !important;
    box-shadow: 0 4px 14px rgba(244, 166, 193, 0.12) !important;
    border-radius: 14px;
}

.coupon-tag-info .sparkle,
.voucher-icon-accent {
    color: var(--brand-dark, #d1648a) !important;
}

.coupon-tag-info strong,
.voucher-code-title {
    color: var(--brand-dark, #d1648a) !important;
    font-weight: 700 !important;
}

.coupon-tag-info small,
.voucher-desc-sub {
    color: #7d6b75 !important;
}

/* 7. Unlocked Promo & Perks Notification Banners */
.cart-floating-banner.success-theme,
.checkout-floating-banner.success-theme,
.notification-banner-perk {
    background: linear-gradient(135deg, #ffffff 0%, #fff7fb 100%) !important;
    border: 1.5px solid rgba(244, 166, 193, 0.55) !important;
    box-shadow: 0 6px 20px rgba(244, 166, 193, 0.14) !important;
}

.cart-floating-banner.success-theme .banner-bubble,
.checkout-floating-banner.success-theme .banner-bubble,
.notification-banner-perk .banner-bubble {
    background: #fff0f5 !important;
    color: var(--brand-dark, #d1648a) !important;
    border: 1px solid rgba(244, 166, 193, 0.4) !important;
}

/* ==========================================================================
   GLOBAL SATIN COQUETTE BOW BADGE SUITE (TRUE OUTSIDE CORNER ANCHOR)
   Projects a clean, realistic satin ribbon bow resting directly on the
   top-left outer corner without clipping.
   ========================================================================== */

/* 1. Remove clipping and containment from all parent lists & cards */
.bag-items-flow,
.bag-items-shelf,
.confirm-items-scroll,
.receipt-items-container,
.receipt-items-list,
.summary-card-floating,
.confirm-main-shelf,
.bag-summary-dock,
.is-gift-item,
.gift-perk-tile,
.tile-free-gift,
.receipt-item-row.is-gift-item,
.bag-item-tile.is-gift-item {
    overflow: visible !important;
    contain: none !important;
    content-visibility: visible !important;
}

/* 2. Anchor the Gift Tile */
.is-gift-item,
.gift-perk-tile,
.tile-free-gift,
.receipt-item-row.is-gift-item,
.bag-item-tile.is-gift-item {
    position: relative !important;
    margin-top: 10px !important; /* Prevents overlap with the card above */
}

/* 3. Outer Corner Satin Ribbon Bow */
.is-gift-item::before,
.gift-perk-tile::before,
.tile-free-gift::before,
.receipt-item-row.is-gift-item::before,
.bag-item-tile.is-gift-item::before {
    content: '' !important;
    position: absolute !important;
    top: -14px !important;
    left: -14px !important;
    width: 36px !important;
    height: 36px !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    pointer-events: none !important;
    z-index: 999 !important;
    display: block !important;
    opacity: 1 !important;
    transform-origin: 50% 50% !important;
    transform: rotate(-16deg) !important;
    animation: coquetteBowOuterPop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3ClinearGradient id='satinPink' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23ffffff'/%3E%3Cstop offset='20%25' stop-color='%23ffd4e5'/%3E%3Cstop offset='60%25' stop-color='%23f4a6c1'/%3E%3Cstop offset='100%25' stop-color='%23d1648a'/%3E%3C/linearGradient%3E%3ClinearGradient id='tailShade' x1='0%25' y1='0%25' x2='0%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23f4a6c1'/%3E%3Cstop offset='100%25' stop-color='%239d174d'/%3E%3C/linearGradient%3E%3Cfilter id='outerDropShadow' x='-30%25' y='-30%25' width='160%25' height='160%25'%3E%3CfeDropShadow dx='0' dy='3' stdDeviation='2.5' flood-color='%23701a3c' flood-opacity='0.45'/%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23outerDropShadow)'%3E%3Cpath d='M44 54 C34 72 18 88 10 94 C24 88 36 78 46 60 Z' fill='url(%23tailShade)' stroke='%23ffffff' stroke-width='1.5'/%3E%3Cpath d='M56 54 C66 72 82 88 90 94 C76 88 64 78 54 60 Z' fill='url(%23tailShade)' stroke='%23ffffff' stroke-width='1.5'/%3E%3Cpath d='M48 48 C34 24 8 12 4 28 C0 44 26 58 48 50 Z' fill='url(%23satinPink)' stroke='%23ffffff' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M52 48 C66 24 92 12 96 28 C100 44 74 58 52 50 Z' fill='url(%23satinPink)' stroke='%23ffffff' stroke-width='2' stroke-linejoin='round'/%3E%3Cellipse cx='50' cy='49' rx='7' ry='6.5' fill='%23ffffff' stroke='%23ec4899' stroke-width='2.2'/%3E%3Ccircle cx='50' cy='49' r='2.5' fill='%23db2777'/%3E%3C/g%3E%3C/svg%3E") !important;
}

/* 4. Disable secondary conflicting thumbnails pseudo-elements */
.item-square-thumb.is-gift-thumb::after,
.item-visual-box.is-gift-box::after,
.item-square-thumb::after,
.item-visual-box::after {
    display: none !important;
    content: none !important;
}

/* 5. Smooth Entrance Animation */
@keyframes coquetteBowOuterPop {
    0% { transform: scale(0) rotate(-38deg); opacity: 0; }
    60% { transform: scale(1.22) rotate(4deg); opacity: 1; }
    80% { transform: scale(0.95) rotate(-18deg); }
    100% { transform: scale(1) rotate(-16deg); opacity: 1; }
}

/* 6. Mobile Viewport Support */
@media (max-width: 680px) {
    .is-gift-item::before,
    .gift-perk-tile::before,
    .tile-free-gift::before,
    .receipt-item-row.is-gift-item::before,
    .bag-item-tile.is-gift-item::before {
        top: -12px !important;
        left: -12px !important;
        width: 30px !important;
        height: 30px !important;
    }
}


/* BOUTIQUE COUPONS & PROMOTIONS IN SEARCH SPOTLIGHT */
.boutique-offers-section {
    margin-bottom: 0.6rem;
}

.spotlight-coupons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 8px;
    margin-top: 0.65rem;
}

.coupon-spotlight-pill {
    background: linear-gradient(135deg, #fffafc 0%, #fff0f5 100%);
    border: 1.2px dashed #f4a6c1;
    border-radius: 14px;
    padding: 0.55rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.coupon-spotlight-pill:hover {
    background: #ffffff;
    border-color: #d1648a;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(244, 166, 193, 0.28);
}

.cpn-badge-tag {
    background: linear-gradient(135deg, #f4a6c1 0%, #d1648a 100%);
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.18rem 0.55rem;
    border-radius: 6px;
    letter-spacing: 0.6px;
    box-shadow: 0 2px 6px rgba(209, 100, 138, 0.3);
}

.cpn-desc-col {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.cpn-desc-col strong {
    display: block;
    font-size: 0.74rem;
    color: var(--text-dark, #2d2629);
    font-weight: 600;
    line-height: 1.2;
}

.cpn-desc-col span {
    display: block;
    font-size: 0.64rem;
    color: #9d8892;
    margin-top: 1px;
}

.cpn-copy-action-btn {
    background: #ffffff;
    border: 1px solid rgba(244, 166, 193, 0.4);
    color: #d1648a;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.18s ease;
    flex-shrink: 0;
}

.coupon-spotlight-pill:hover .cpn-copy-action-btn {
    background: #d1648a;
    color: #ffffff;
    border-color: transparent;
    transform: scale(1.08);
}

.promo-spotlight-pill {
    background: linear-gradient(135deg, #fffcfd 0%, #fff5f8 100%);
    border: 1.2px solid rgba(244, 166, 193, 0.35);
    border-radius: 14px;
    padding: 0.55rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 9px;
}

.promo-sparkle-orb {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff0f5;
    color: #d1648a;
    border: 1px solid rgba(244, 166, 193, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    flex-shrink: 0;
}

.cat-main-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.25s ease, transform 0.28s ease;
}

.spotlight-cat-item:hover .cat-main-thumb {
    transform: scale(1.1);
}

.card-tag-pill.oos-pill {
    top: 6px;
    right: 6px;
    background: rgba(45, 38, 41, 0.75);
    color: #ffffff;
}


/* ========================================================
   11. UNIVERSAL COQUETTE LUXURY SHIMMER & SKELETON PLACEHOLDER ENGINE
   ======================================================== */

@keyframes luminShimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Universal Shimmer Background on All Image Containers & Placeholders */
.skeleton-shimmer,
.is-shimmering,
.img-shimmer-wrapper,
.product-card-thumb,
.product-stage-wrapper,
.card-media-stage,
.hero-visual-sphere,
.piece-thumb-wrap,
.bag-thumb-box,
.track-thumb-box,
.sale-thumb-box,
.cat-circle-wrap,
.cat-fallback-circle,
.avatar-node,
.hero-profile-avatar,
.header-logo-container .logo-img-box,
.visual-inner,
.garden-artwork-stage {
    background: linear-gradient(
        90deg, 
        #fdf5f8 0%, 
        #fae6ed 30%, 
        #fff0f5 50%, 
        #fae6ed 70%, 
        #fdf5f8 100%
    );
    background-size: 250% 100%;
    animation: luminShimmer 2s ease-in-out infinite;
    position: relative;
}

/* Smooth Progressive Image Fade-In over Skeleton */
img.smooth-reveal,
.product-card-thumb img,
.product-stage-img,
.card-media-stage img,
.hero-visual-sphere img,
.piece-thumb-wrap img,
.bag-thumb-box img,
.track-thumb-box img,
.sale-thumb-box img,
.cat-circle-wrap img,
.hero-avatar-img,
.hero-auto-img,
.garden-artwork-stage img {
    opacity: 0;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s ease;
    will-change: opacity, transform;
    image-rendering: -webkit-optimize-contrast;
}

img.smooth-reveal.is-loaded,
img.smooth-reveal:not([src=""]):not([src="#"]):not([data-src]),
.product-card-thumb img.is-loaded,
.product-stage-img.is-loaded,
.card-media-stage img.is-loaded,
.orb-visual-sphere img.is-loaded,
.hero-visual-sphere img.is-loaded,
.piece-thumb-wrap img.is-loaded,
.bag-thumb-box img.is-loaded,
.track-thumb-box img.is-loaded,
.sale-thumb-box img.is-loaded,
.cat-circle-wrap img.is-loaded,
.hero-avatar-img.is-loaded,
.hero-auto-img.is-loaded,
.garden-artwork-stage img.is-loaded,
.has-loaded img {
    opacity: 1 !important;
}

/* Immediate fallback for images with complete cache status */
img[src]:not([src=""]):not([src="#"]):not([data-src]) {
    animation: fadeInImg 0.25s ease forwards;
}

@keyframes fadeInImg {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Skeleton Wireframe Primitives for Instant Layout Pre-allocation */
.skeleton-box {
    display: block;
    background: linear-gradient(90deg, #fdf5f8 0%, #fae6ed 35%, #fff0f5 50%, #fae6ed 65%, #fdf5f8 100%);
    background-size: 250% 100%;
    animation: luminShimmer 1.8s ease-in-out infinite;
    border-radius: var(--radius-sm, 10px);
}

.skeleton-text {
    height: 12px;
    margin-bottom: 6px;
    border-radius: 6px;
    width: 100%;
    background: linear-gradient(90deg, #fdf5f8 0%, #fae6ed 35%, #fff0f5 50%, #fae6ed 65%, #fdf5f8 100%);
    background-size: 250% 100%;
    animation: luminShimmer 1.8s ease-in-out infinite;
}
.skeleton-text.short { width: 45%; }
.skeleton-text.medium { width: 70%; }
.skeleton-text.title { height: 18px; width: 80%; margin-bottom: 10px; border-radius: 8px; }

.skeleton-circle {
    border-radius: 50% !important;
    flex-shrink: 0;
    background: linear-gradient(90deg, #fdf5f8 0%, #fae6ed 35%, #fff0f5 50%, #fae6ed 65%, #fdf5f8 100%);
    background-size: 250% 100%;
    animation: luminShimmer 1.8s ease-in-out infinite;
}

.skeleton-btn {
    height: 40px;
    border-radius: 9999px;
    width: 100%;
    background: linear-gradient(90deg, #fdf5f8 0%, #fae6ed 35%, #fff0f5 50%, #fae6ed 65%, #fdf5f8 100%);
    background-size: 250% 100%;
    animation: luminShimmer 1.8s ease-in-out infinite;
}

.skeleton-product-card {
    background: #ffffff;
    border: 1px solid rgba(244, 166, 193, 0.3);
    border-radius: 20px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.skeleton-product-card .skeleton-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    background: linear-gradient(90deg, #fdf5f8 0%, #fae6ed 35%, #fff0f5 50%, #fae6ed 65%, #fdf5f8 100%);
    background-size: 250% 100%;
    animation: luminShimmer 1.8s ease-in-out infinite;
}

/* Offscreen Content Visibility & CWV Optimization */
.defer-render-offscreen,
.footer-wrapper,
.atelier-ticker-ribbon {
    content-visibility: auto;
    contain-intrinsic-size: 0 350px;
}

/* SITEWIDE CONTAINER BOUNDS & OVERFLOW SHIELD */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    max-width: 100vw;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: 100%;
}

img, picture, svg, video {
    max-width: 100%;
    height: auto;
}

.sanctuary-dashboard-viewport,
.support-page-wrapper,
.chat-banner-stage,
.cart-viewport-wrapper,
.shop-viewport-wrapper,
.product-details-viewport {
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* =========================================================================
   UNIVERSAL LUXURY CUSTOM DROPDOWN SUITE (SITEWIDE BOUTIQUE THEMED)
   ========================================================================= */
.custom-dropdown {
    position: relative;
    display: inline-block;
    box-sizing: border-box;
}

.custom-dropdown.form-dropdown-full {
    width: 100%;
    display: block;
}

.dropdown-trigger-btn {
    background: #ffffff;
    border: 1.5px solid rgba(244, 166, 193, 0.45);
    border-radius: 9999px;
    padding: 0.48rem 1.15rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-dark, #2d2629);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 3px 10px rgba(244, 166, 193, 0.12);
    width: 100%;
    box-sizing: border-box;
}

.custom-dropdown.form-dropdown-full .dropdown-trigger-btn {
    border-radius: 14px;
    padding: 0.78rem 1.1rem;
    font-size: 0.84rem;
    background: #fffcfd;
}

.dropdown-trigger-btn:hover {
    border-color: #d1648a;
    background: #fff8fb;
    box-shadow: 0 5px 16px rgba(244, 166, 193, 0.25);
}

.custom-dropdown.open .dropdown-trigger-btn {
    border-color: #d1648a;
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(209, 100, 138, 0.22);
}

.trigger-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #2d2629;
    font-weight: 500;
}

.trigger-icon {
    color: #ad8f9b;
    display: flex;
    align-items: center;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.custom-dropdown.open .trigger-icon {
    transform: rotate(180deg);
    color: #d1648a;
}

.dropdown-floating-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 100%;
    width: max-content;
    max-width: 320px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1.5px solid rgba(244, 166, 193, 0.45);
    border-radius: 20px;
    padding: 6px;
    box-shadow: 0 16px 40px rgba(45, 38, 41, 0.14);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px) scale(0.96);
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s ease;
    box-sizing: border-box;
}

.custom-dropdown.form-dropdown-full .dropdown-floating-menu {
    width: 100%;
    max-width: 100%;
    border-radius: 16px;
}

.custom-dropdown.open .dropdown-floating-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-menu-item {
    padding: 0.58rem 0.95rem;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    color: #2d2629;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    transition: all 0.16s ease;
    white-space: nowrap;
}

.dropdown-menu-item:hover {
    background: #fff0f5;
    color: #d1648a;
    padding-left: 1.15rem;
}

.dropdown-menu-item.selected {
    background: linear-gradient(135deg, #fff0f5 0%, #faedf3 100%);
    color: #d1648a;
    font-weight: 600;
}

.item-check {
    color: #d1648a;
    font-size: 0.75rem;
    font-weight: 700;
}

@media (max-width: 680px) {
    .custom-dropdown { width: 100%; }
    .dropdown-floating-menu {
        width: 100%;
        max-width: 100%;
    }
}

/* =========================================================================
   UNIVERSAL FLOATING CARD ACTION SET (QUICK VIEW & WISHLIST TWIN CLUSTER)
   ========================================================================= */
.quickview-icon-btn {
    position: absolute;
    top: 12px;
    right: 50px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(244, 166, 193, 0.45);
    color: #4a3840;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 1;
    pointer-events: auto;
    z-index: 8;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
    margin: 0;
}

.quickview-icon-btn:hover {
    background: linear-gradient(135deg, #f6b4cb 0%, #dfaec5 100%);
    border-color: #f4a6c1;
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(246, 180, 203, 0.55);
}

.quickview-icon-btn svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    transition: stroke 0.18s ease;
}

.quickview-icon-btn:hover svg {
    stroke: #ffffff;
}

/* Mobile Harmonious Scaling */
@media (max-width: 768px) {
    .quickview-icon-btn {
        width: 28px;
        height: 28px;
        top: 8px;
        right: 40px;
    }
    .quickview-icon-btn svg {
        width: 12px;
        height: 12px;
    }
    .floating-wish-btn {
        width: 28px !important;
        height: 28px !important;
        top: 8px !important;
        right: 8px !important;
    }
    .floating-wish-btn svg {
        width: 13px !important;
        height: 13px !important;
    }
}

/* Specific Home Lookbook & Trending Placements */
.lookbook-qv-btn,
.trending-qv-btn {
    bottom: 70px;
    right: 12px;
}

.showcase-qv-btn {
    bottom: 12px;
    right: 12px;
}

@media (max-width: 768px) {
    .quickview-icon-btn {
        width: 28px;
        height: 28px;
        bottom: 8px;
        right: 8px;
    }
    .lookbook-qv-btn,
    .trending-qv-btn {
        bottom: 60px;
        right: 8px;
    }
    .quickview-icon-btn svg {
        width: 12px;
        height: 12px;
    }
}

/* In Wishlist cards specifically, if bottom-right has +Bag, place quickview icon at bottom-left */


@media (max-width: 768px) {
    .quickview-icon-btn {
        width: 30px;
        height: 30px;
        bottom: 8px;
        right: 8px;
    }
    
    .quickview-icon-btn svg {
        width: 13px;
        height: 13px;
    }
}

/* =========================================================================
   PERMANENT FLOATING QUICK VIEW ICON BUTTON (EXACTLY IN-LINE WITH WISHLIST)
   ========================================================================= */
.quickview-icon-btn {
    position: absolute !important;
    top: 8px !important;
    right: 42px !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.95) !important;
    color: #9a8c93 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 10 !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06) !important;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.25s ease, color 0.25s ease !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    font-size: 0 !important;
    box-sizing: border-box !important;
}

.quickview-icon-btn:hover {
    transform: scale(1.1) !important;
    background: #ffffff !important;
    color: var(--brand-primary, #f4a6c1) !important;
}

.quickview-icon-btn svg {
    width: 13px !important;
    height: 13px !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    fill: none !important;
    transition: transform 0.25s ease, stroke 0.25s ease !important;
    display: block !important;
}

.quickview-icon-btn:hover svg {
    stroke: var(--brand-primary, #f4a6c1) !important;
}

@media (max-width: 768px) {
    .quickview-icon-btn {
        width: 26px !important;
        height: 26px !important;
        min-width: 26px !important;
        min-height: 26px !important;
        top: 6px !important;
        right: 36px !important;
    }
    .quickview-icon-btn svg {
        width: 12px !important;
        height: 12px !important;
    }
}
