/* ==========================================================================
   LumaJelly™ Luxury DTC E-Commerce Styling (100% UNIFIED MOBILE FUNNEL)
   ========================================================================== */

:root {
    --bg-body: #FAF7F2;
    --bg-cream: #F4ECE1;
    --bg-card: #FFFFFF;
    --text-dark: #231610;
    --text-sub: #5C3D2E;
    --border-color: #E5D5C5;
    --accent-terracotta: #965A3E;
    --accent-espresso: #442416;
    --accent-gold: #D97706;
    --accent-green: #2E7D32;
    --gradient-gold: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    --gradient-btn: linear-gradient(135deg, #965A3E 0%, #442416 100%);
    --shadow-subtle: 0 4px 20px rgba(35, 22, 16, 0.05);
    --shadow-card: 0 12px 35px rgba(35, 22, 16, 0.08);
    --shadow-glow: 0 14px 32px rgba(150, 90, 62, 0.28);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box !important;
    -webkit-tap-highlight-color: transparent;
    max-width: 100%;
}

html, body {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    background-color: var(--bg-body);
    color: var(--text-dark);
    font-family: 'Poppins', 'Plus Jakarta Sans', sans-serif;
    line-height: 1.65;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    position: relative;
    padding-bottom: 80px !important;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    letter-spacing: -0.3px;
}

/* Scroll Reading Progress Bar */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-gold);
    width: 0%;
    z-index: 10000;
    transition: width 0.1s ease;
}

/* Announcement Ticker Bar */
.ticker-bar {
    background: var(--accent-espresso);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.76rem;
    text-align: center;
    padding: 8px 12px;
    letter-spacing: 0.2px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    width: 100%;
}

.countdown-box {
    background: rgba(255, 255, 255, 0.18);
    padding: 2px 6px;
    border-radius: 6px;
    font-family: 'Space Grotesk', monospace;
    font-size: 0.78rem;
    color: #FCD34D;
}

/* Header Navigation (Centered Single Column Friendly) */
header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

.brand-logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo-symbol {
    width: 30px;
    height: 30px;
    background: var(--gradient-btn);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-symbol svg {
    width: 15px;
    height: 15px;
    fill: #fff;
}

.nav-btn {
    background: var(--gradient-btn);
    color: #fff;
    padding: 7px 14px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.75rem;
    text-decoration: none;
}

/* Product Stage Section (SINGLE COLUMN CENTERED EVERYWHERE) */
.product-stage {
    max-width: 520px;
    margin: 15px auto 40px;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
    width: 100%;
}

.product-gallery {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 10px;
    box-shadow: var(--shadow-subtle);
    width: 100%;
}

.main-img-box {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    aspect-ratio: 4/3;
    display: flex;
    justify-content: center;
    align-items: center;
}

.badge-live {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent-espresso);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
}

.thumbs-grid {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    width: 100%;
}

.thumbs-grid::-webkit-scrollbar {
    display: none;
}

.thumbs-grid img, .thumb-vid-wrap {
    flex: 0 0 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.8;
}

.thumbs-grid img.active, .thumb-vid-wrap.active {
    opacity: 1;
    border-color: var(--accent-terracotta);
}

.product-info {
    display: flex;
    flex-direction: column;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    margin: 0 auto;
}

.breadcrumb-trail {
    font-size: 0.78rem;
    color: var(--text-sub);
    margin-bottom: 6px;
    text-align: center;
    width: 100%;
}

.star-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 8px;
    flex-wrap: wrap;
    width: 100%;
}

.stars { color: var(--accent-gold); font-size: 1rem; }
.score-text { color: var(--text-sub); font-weight: 600; font-size: 0.8rem; }

.live-viewers-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(217, 119, 6, 0.12);
    color: var(--accent-gold);
    border: 1px solid rgba(217, 119, 6, 0.3);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 50%;
    animation: blinkDot 1.5s infinite;
}

@keyframes blinkDot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.product-info h1 {
    font-size: 1.45rem;
    line-height: 1.35;
    font-weight: 800;
    margin-bottom: 10px;
    text-align: center;
    width: 100%;
    word-wrap: break-word;
}

.stock-progress-wrap {
    width: 100%;
    background: rgba(150, 90, 62, 0.06);
    border: 1px solid rgba(150, 90, 62, 0.18);
    border-radius: 12px;
    padding: 12px;
    margin: 10px auto 14px;
}

.stock-bar-bg {
    width: 100%;
    height: 10px;
    background: #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 6px;
}

.stock-bar-fill {
    height: 100%;
    background: linear-gradient(
        45deg, 
        rgba(255, 255, 255, 0.3) 25%, 
        transparent 25%, 
        transparent 50%, 
        rgba(255, 255, 255, 0.3) 50%, 
        rgba(255, 255, 255, 0.3) 75%, 
        transparent 75%, 
        transparent
    ), linear-gradient(90deg, #f59e0b, #d97706, #ef4444);
    background-size: 24px 24px, 100% 100%;
    border-radius: 20px;
    animation: moveStripes 0.8s linear infinite;
}

@keyframes moveStripes {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 24px 0, 0 0; }
}

.stock-text-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    flex-wrap: wrap;
}

.price-hero-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
    width: 100%;
}

.price-main {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--accent-terracotta);
    font-family: 'Space Grotesk', sans-serif;
}

.price-was {
    font-size: 1rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.price-save-badge {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
}

.tagline-intro {
    font-size: 0.88rem;
    color: var(--text-sub);
    margin-bottom: 16px;
    line-height: 1.5;
    text-align: center;
    width: 100%;
}

.bullets-box {
    background: rgba(150, 90, 62, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 18px;
    text-align: left;
    width: 100%;
}

.bullets-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bullets-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
}

.check-dot {
    color: var(--accent-green);
    font-weight: 900;
}

.cta-btn-main {
    display: block;
    width: 100%;
    background: var(--gradient-btn);
    color: #ffffff !important;
    padding: 15px;
    border-radius: 30px;
    text-align: center;
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none !important;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-glow);
    margin-bottom: 14px;
}

.trust-strip {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--text-sub);
    text-align: center;
    width: 100%;
}

/* Sections & Banners (100% Full Width Stacked Single Column) */
section {
    max-width: 520px;
    margin: 0 auto 50px;
    padding: 0 16px;
    width: 100%;
    text-align: center;
}

.sec-head {
    text-align: center;
    margin-bottom: 24px;
    width: 100%;
}

.sec-head h2 {
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.sec-head p {
    color: var(--text-sub);
    font-size: 0.88rem;
}

.banner-grid-2col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.showcase-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
}

.showcase-row, .showcase-row.reverse {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    align-items: center;
}

.showcase-img-box {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
}

.showcase-img-box img {
    width: 100%;
    height: auto;
    display: block;
}

.showcase-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.chip-label {
    display: inline-block;
    background: rgba(150, 90, 62, 0.12);
    color: var(--accent-terracotta);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.showcase-info h3 {
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.showcase-info p {
    font-size: 0.88rem;
    color: var(--text-sub);
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.f-card {
    background: var(--bg-cream);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 18px 14px;
    text-align: center;
    width: 100%;
}

.feature-icon-img {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: cover;
    margin: 0 auto 12px;
    display: block;
}

.f-card h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.f-card p {
    color: var(--text-sub);
    font-size: 0.85rem;
}

/* Reviews Header & Grid */
.loox-header-summary {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px 14px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
    align-items: center;
    margin-bottom: 24px;
    width: 100%;
}

.loox-score-box {
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 14px;
    width: 100%;
}

.loox-big-num {
    font-size: 3rem;
    font-weight: 900;
    font-family: 'Space Grotesk', sans-serif;
}

.loox-stars-lg { color: var(--accent-gold); font-size: 1.1rem; margin: 6px 0; }
.loox-count-text { color: var(--text-sub); font-size: 0.82rem; font-weight: 600; }

.loox-filter-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
    width: 100%;
}

.loox-filter-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-sub);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
}

.loox-filter-btn.active {
    background: var(--accent-terracotta);
    border-color: var(--accent-terracotta);
    color: #ffffff;
}

.loox-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.fb-review-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    padding: 16px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
    width: 100%;
}

.fb-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fb-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.fb-user-info {
    flex: 1;
}

.fb-name-row {
    display: flex;
    align-items: center;
    gap: 4px;
}

.fb-name {
    font-weight: 700;
    font-size: 0.88rem;
    color: #050505;
}

.fb-v-badge {
    color: #1877f2;
    font-size: 0.8rem;
}

.fb-time {
    font-size: 0.72rem;
    color: #65676b;
}

.fb-text {
    font-size: 0.85rem;
    color: #050505;
    line-height: 1.45;
}

.fb-reactions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: #65676b;
    border-top: 1px solid #f0f2f5;
    padding-top: 8px;
}

.fb-actions-bar {
    display: flex;
    justify-content: space-around;
    border-top: 1px solid #f0f2f5;
    padding-top: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #65676b;
}

/* FAQ Section */
.faq-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

details.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px;
    text-align: left;
    width: 100%;
}

summary.faq-q {
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}

summary.faq-q::-webkit-details-marker {
    display: none;
}

.faq-a {
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--text-sub);
    line-height: 1.5;
}

/* Sticky Bottom Buy Bar (100% Unified Mobile Bar) */
.mobile-buy-bar {
    display: block !important;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(35, 22, 16, 0.96);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 12px;
    z-index: 9999;
}

.mobile-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 520px;
    margin: 0 auto;
    gap: 10px;
}

.m-urgency-tag {
    font-size: 0.68rem;
    color: #fbbf24;
    font-weight: 800;
    text-transform: uppercase;
}

.m-price {
    font-size: 1.15rem;
    font-weight: 900;
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
}

.m-old-price {
    font-size: 0.8rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.btn-m-buy {
    background: var(--gradient-btn);
    color: #ffffff !important;
    padding: 10px 16px;
    border-radius: 30px;
    text-align: center;
    font-weight: 800;
    font-size: 0.85rem;
    text-decoration: none !important;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.4);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.6); }
    70% { box-shadow: 0 0 0 12px rgba(217, 119, 6, 0); }
    100% { box-shadow: 0 0 0 0 rgba(217, 119, 6, 0); }
}

/* Footer Modal Overlay */
.policy-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 16px;
}

.policy-content {
    background: #ffffff;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 20px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 14px;
    right: 16px;
    font-size: 1.4rem;
    font-weight: bold;
    cursor: pointer;
    color: #64748b;
}


/* Footer Styling */
footer {
    background: var(--accent-espresso);
    color: #e2e8f0;
    padding: 30px 16px 90px 16px;
    text-align: center;
    font-size: 0.82rem;
    margin-top: 50px;
    border-top: 1px solid var(--border-color);
    width: 100%;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 14px;
}

.footer-links a {
    color: #fcd34d !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.82rem;
    cursor: pointer;
}

.footer-links a:hover {
    text-decoration: underline !important;
}

.footer-copy {
    color: #a1a1aa;
    font-size: 0.78rem;
}

/* Policy Modals (Hidden by default) */
.policy-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 16px;
}

.policy-modal.active {
    display: flex !important;
}

.policy-modal-content {
    background: #ffffff;
    border-radius: 16px;
    max-width: 480px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 24px;
    position: relative;
    text-align: left;
    color: var(--text-dark);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.policy-modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 1.6rem;
    font-weight: bold;
    cursor: pointer;
    color: #64748b;
}

/* Fullscreen Lightbox Modal (Hidden by default) */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(10px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 16px;
}

.lightbox-modal.active {
    display: flex !important;
}

.lightbox-img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 12px;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 2rem;
    color: #ffffff;
    cursor: pointer;
}

/* Cart Drawer & Overlay (Hidden by default) */
.cart-drawer-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

.cart-drawer-overlay.active {
    display: block !important;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 380px;
    height: 100%;
    background: #ffffff;
    z-index: 9999;
    box-shadow: -8px 0 30px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.active {
    right: 0 !important;
}

.drawer-header {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-close {
    font-size: 1.5rem;
    cursor: pointer;
    color: #64748b;
}

.drawer-body {
    padding: 16px;
    flex: 1;
    overflow-y: auto;
}

.drawer-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: center;
}

.drawer-thumb {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: cover;
}

.drawer-item-title {
    font-weight: 700;
    font-size: 0.88rem;
}

.drawer-item-price {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--accent-terracotta);
}

.drawer-footer {
    padding: 16px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-cream);
}

.btn-drawer-checkout {
    display: block;
    width: 100%;
    background: var(--gradient-btn);
    color: #ffffff !important;
    padding: 14px;
    border-radius: 30px;
    text-align: center;
    font-weight: 800;
    font-size: 0.9rem;
    text-decoration: none !important;
}

/* Compact Mobile Sticky Bottom Buy Bar */
.mobile-buy-bar {
    display: block !important;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(35, 22, 16, 0.96);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 12px !important;
    z-index: 9997;
}

.mobile-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
    gap: 8px;
}

.m-urgency-tag {
    font-size: 0.62rem !important;
    color: #fbbf24;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
}

.m-price {
    font-size: 1.05rem !important;
    font-weight: 900;
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
}

.m-old-price {
    font-size: 0.75rem !important;
    color: #94a3b8;
    text-decoration: line-through;
}

.btn-m-buy {
    background: var(--gradient-btn);
    color: #ffffff !important;
    padding: 8px 14px !important;
    border-radius: 24px !important;
    text-align: center;
    font-weight: 800;
    font-size: 0.78rem !important;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.4);
    white-space: nowrap;
}


/* Sales Notification Toast (Real-time Buyer Social Proof Popup on Mobile & Desktop) */
.sales-toast {
    position: fixed;
    bottom: 58px;
    left: 12px;
    background: #231610;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    padding: 8px 12px;
    display: flex !important;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 9998;
    max-width: 320px;
    animation: slideUpToast 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-img {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    object-fit: cover;
}

.toast-text {
    font-size: 0.78rem;
    line-height: 1.25;
    color: #f1f5f9;
}

.toast-text b {
    color: #ffffff;
}

.toast-time {
    font-size: 0.68rem;
    color: #94a3b8;
    margin-top: 2px;
}

@keyframes slideUpToast {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}


/* Luxury Footer & .foot-nav Styling */
footer {
    background: var(--accent-espresso) !important;
    color: #e2e8f0 !important;
    padding: 36px 16px 95px 16px !important;
    text-align: center !important;
    font-size: 0.82rem !important;
    margin-top: 50px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    width: 100% !important;
}

footer .foot-nav {
    list-style: none !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 18px !important;
    margin: 0 auto 16px auto !important;
    padding: 0 !important;
    width: 100% !important;
}

footer .foot-nav li {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
}

footer .foot-nav a {
    color: #fcd34d !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    cursor: pointer !important;
    transition: color 0.2s ease !important;
}

footer .foot-nav a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

footer p {
    color: #94a3b8 !important;
    font-size: 0.78rem !important;
    margin-top: 8px !important;
    line-height: 1.5 !important;
}

footer p a {
    color: #cbd5e1 !important;
    text-decoration: underline !important;
}

/* CUSTOM IN-HOUSE CHECKOUT MODAL STYLES */
.custom-checkout-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.custom-checkout-modal.active {
    opacity: 1 !important;
    visibility: visible !important;
}

.checkout-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.checkout-modal-card {
    position: relative;
    z-index: 100000;
    width: 94%;
    max-width: 960px;
    max-height: 90vh;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 2.25rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow-y: auto;
    color: #0f172a;
}

.close-modal-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 2rem;
    line-height: 1;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
}

.checkout-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.checkout-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 800;
    font-size: 1.15rem;
    color: #0f172a;
}

.checkout-security-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: #10B981;
    font-weight: 600;
    background: #ECFDF5;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
}

.checkout-section-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1.25rem;
}

.order-item-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    margin-bottom: 1.25rem;
}

.order-item-img {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
}

.order-item-details {
    flex: 1;
}

.order-item-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
    color: #0f172a;
}

.order-item-spec {
    font-size: 0.78rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.quantity-control {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 2px 8px;
}

.qty-btn {
    width: 24px;
    height: 24px;
    font-weight: 700;
    color: #0f172a;
    background: none;
    border: none;
    cursor: pointer;
}

.qty-num {
    font-size: 0.85rem;
    font-weight: 700;
}

.order-item-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: #2563EB;
}

.order-price-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    background: #f8fafc;
    padding: 1.25rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    margin-bottom: 1.25rem;
}

.breakdown-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.92rem;
    color: #64748b;
}

.free-shipping {
    color: #10B981;
    font-weight: 700;
    font-size: 0.82rem;
}

.breakdown-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 0.25rem 0;
}

.total-row {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
}

.guarantee-box {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    background: #ECFDF5;
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 16px;
}

.guarantee-box strong {
    font-size: 0.88rem;
    color: #065F46;
    display: block;
}

.guarantee-box p {
    font-size: 0.78rem;
    color: #047857;
}

/* Form inputs & Payment selectors */
.checkout-form-fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f172a;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 0.75rem 0.9rem;
    font-family: inherit;
    font-size: 0.92rem;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #ffffff;
    color: #0f172a;
    transition: border-color 0.2s ease;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: #2563eb;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.form-row.three-col {
    grid-template-columns: 1fr 1fr 1fr;
}

.payment-method-selector {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin: 0.5rem 0 1rem 0;
}

.pay-method-tab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.pay-method-tab:hover, .pay-method-tab.active {
    border-color: #2563eb;
    background-color: #eff6ff;
}

.pay-tab-content {
    display: flex;
    flex-direction: column;
    margin-left: 0.5rem;
    flex: 1;
}

.pay-tab-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
}

.pay-tab-sub {
    font-size: 0.75rem;
    color: #64748b;
}

.paypal-logo-img {
    height: 22px;
}

.paypal-container-box {
    margin-top: 0.5rem;
    min-height: 120px;
}

.card-payment-box {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.card-payment-box.hidden {
    display: none !important;
}

/* SUCCESS MODAL STYLES */
.success-card-modal {
    position: relative;
    z-index: 100000;
    width: 90%;
    max-width: 480px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
    color: #0f172a;
}

.success-icon-badge {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #ECFDF5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem auto;
}

.success-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.success-subtitle {
    font-size: 0.92rem;
    color: #64748b;
    margin-bottom: 1.5rem;
}

.order-receipt-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
    text-align: left;
}

.receipt-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.88rem;
    color: #0f172a;
}

.badge-success-tag {
    font-size: 0.78rem;
    font-weight: 700;
    color: #10B981;
}

.license-code {
    font-family: monospace;
    background: #eff6ff;
    color: #2563eb;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .checkout-modal-card {
        padding: 1.5rem 1.25rem;
    }

    .form-row, .form-row.three-col {
        grid-template-columns: 1fr;
    }
}

