/* assets/css/style.css - Skeuomorphism Design System */
:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --purple: #8b5cf6;
    --purple-dark: #6d28d9;
    --accent-gold: #f59e0b;
    --accent-gold-hover: #d97706;
    --gradient-brand: linear-gradient(180deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
    --gradient-hero: linear-gradient(180deg, #1b2133 0%, #0d101d 100%);
    --secondary: #64748b;
    --bg-main: #111217;
    --card-bg: #1a1c23;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border: #2e323b;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --radius: 14px;
    --radius-btn: 10px;
    --radius-pill: 9999px;
    
    /* Skeuomorphism Bevel & Shadow System */
    --skeuo-card-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.4);
    --skeuo-card-bevel: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 2px rgba(0, 0, 0, 0.6);
    --skeuo-btn-shadow: 0 4px 10px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 -2px 3px rgba(0, 0, 0, 0.35);
    --skeuo-btn-active: inset 0 3px 6px rgba(0, 0, 0, 0.6), inset 0 -1px 1px rgba(255, 255, 255, 0.15);
    --skeuo-inset-socket: inset 2px 3px 6px rgba(0, 0, 0, 0.6), inset -1px -1px 2px rgba(255, 255, 255, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    caret-color: transparent;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Re-enable text cursor & selection only for actual form input controls */
input, textarea, [contenteditable="true"] {
    caret-color: var(--primary) !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

/* Ensure clean pointer cursor on all interactive elements */
.product-card, .btn, .cat-btn, .pill-btn, .modal-close-btn, .carousel-arrow-btn, .modal-thumb-item, .zoom-badge, .plan-interactive-card, a, button {
    cursor: pointer !important;
}

body {
    background-color: #0e0e11;
    color: var(--text-main);
    line-height: 1.5;
    padding-bottom: 80px;
}

/* Artist-Grade Bouncing Splash Screen Overlay */
#pwa-splash-screen {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: radial-gradient(circle at 50% 40%, #1e1b4b 0%, #0d0e15 75%, #050508 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    overflow: hidden;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

#pwa-splash-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* Ambient Backdrop Glow Orbs */
.splash-bg-glow {
    position: absolute;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.35) 0%, rgba(37, 99, 235, 0.15) 50%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: glowPulse 3s infinite alternate ease-in-out;
    pointer-events: none;
}

@keyframes glowPulse {
    0% { transform: scale(0.85); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 0.9; }
}

/* Glassmorphism Icon Badge Wrapper with Physics Bounce */
.splash-logo-card {
    position: relative;
    width: 140px;
    height: 140px;
    background: rgba(30, 32, 42, 0.65);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6),
                0 0 40px rgba(124, 58, 237, 0.35),
                inset 0 1px 1px rgba(255, 255, 255, 0.25);
    animation: artistBounce 1.1s cubic-bezier(0.28, 0.84, 0.42, 1) forwards,
               continuousFloat 3.5s ease-in-out infinite 1.1s;
    margin-bottom: 2rem;
    z-index: 2;
}

/* Multi-stage Spring Bounce Physics Animation */
@keyframes artistBounce {
    0% { transform: translateY(-160px) scaleY(1.25) scaleX(0.75); opacity: 0; }
    38% { transform: translateY(0) scaleY(0.82) scaleX(1.18); opacity: 1; }
    55% { transform: translateY(-32px) scaleY(1.08) scaleX(0.92); }
    70% { transform: translateY(0) scaleY(0.93) scaleX(1.07); }
    84% { transform: translateY(-10px) scaleY(1.03) scaleX(0.97); }
    100% { transform: translateY(0) scaleY(1) scaleX(1); }
}

@keyframes continuousFloat {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* Pulsing Ripple Rings */
.splash-ripple {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 36px;
    border: 2px solid rgba(139, 92, 246, 0.6);
    animation: rippleRing 2s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
    pointer-events: none;
}

@keyframes rippleRing {
    0% { transform: scale(0.9); opacity: 0.8; }
    100% { transform: scale(1.65); opacity: 0; }
}

.splash-img {
    width: 85px;
    height: 85px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

/* Shimmer Progress Bar */
.splash-progress-track {
    width: 220px;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.splash-progress-bar {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #2563eb 0%, #7c3aed 50%, #f59e0b 100%);
    border-radius: 9999px;
    animation: shimmerSlide 1.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
    transform-origin: left;
}

@keyframes shimmerSlide {
    0% { transform: translateX(-100%) scaleX(0.2); }
    50% { transform: translateX(0%) scaleX(0.7); }
    100% { transform: translateX(100%) scaleX(0.2); }
}

/* Elegant Text Styling */
.splash-title-text {
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 3px;
    background: linear-gradient(135deg, #38bdf8 0%, #a855f7 50%, #f43f5e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 1.5rem;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    z-index: 2;
}

.splash-subtitle-text {
    font-size: 0.78rem;
    color: #94a3b8;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.85;
    z-index: 2;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Brand Navbar */
.brand-nav {
    background: #141418;
    border-bottom: 1px solid #28282e;
    padding: 0.85rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.brand-nav .nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo-img {
    height: 46px;
    object-fit: contain;
    display: block;
}

.badge-qr-header {
    background: var(--primary);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Store Catalog Hero Card */
.store-hero-card {
    background: #18181c;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 1.5rem;
    border: 1px solid #28282e;
    box-shadow: var(--shadow-lg);
}

.store-banner-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.store-hero-body {
    padding: 1.5rem;
    text-align: center;
    position: relative;
    margin-top: -55px;
}

.store-avatar {
    width: 95px;
    height: 95px;
    border-radius: 50%;
    border: 4px solid #18181c;
    object-fit: cover;
    background: #25252b;
    margin: 0 auto 0.75rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    box-shadow: var(--shadow);
}

.store-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.store-subtitle {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 1.25rem;
}

.store-pills {
    display: flex;
    justify-content: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-btn, 10px);
    font-size: 0.82rem;
    font-weight: 800;
    border: 1px solid rgba(0, 0, 0, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    border-bottom: 2.5px solid rgba(0, 0, 0, 0.7);
    cursor: pointer;
    text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.8);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 -2px 3px rgba(0, 0, 0, 0.35);
    transition: all 0.15s ease-in-out;
}

.pill-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.pill-btn:active {
    transform: translateY(2px);
    border-bottom-width: 1px;
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.6);
}

.pill-address { background: linear-gradient(180deg, #3a3e4c 0%, #292c36 50%, #1e2028 100%); color: #e2e8f0; }
.pill-maps { background: linear-gradient(180deg, #10b981 0%, #059669 50%, #047857 100%); color: #ffffff; border-top-color: rgba(255, 255, 255, 0.45); }
.pill-phone { background: linear-gradient(180deg, #ea580c 0%, #c2410c 50%, #9a3412 100%); color: #ffffff; border-top-color: rgba(255, 255, 255, 0.45); }
.pill-whatsapp { background: linear-gradient(180deg, #22c55e 0%, #16a34a 50%, #15803d 100%); color: #ffffff; border-top-color: rgba(255, 255, 255, 0.45); }

/* Categories Bar */
.category-nav {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 1.25rem 0;
    scrollbar-width: none;
}

.category-nav::-webkit-scrollbar {
    display: none;
}

/* Claymorphic Categories Navigation Bar */
.category-nav {
    display: flex;
    gap: 0.85rem;
    overflow-x: auto;
    padding: 1.25rem 0.25rem;
    scrollbar-width: none;
}

.category-nav::-webkit-scrollbar {
    display: none;
}

.cat-btn {
    white-space: nowrap;
    padding: 0.7rem 1.3rem;
    border-radius: var(--radius-btn, 10px);
    background: linear-gradient(180deg, #2b2e38 0%, #20222a 50%, #17181e 100%);
    border: 1px solid rgba(0, 0, 0, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 2.5px solid rgba(0, 0, 0, 0.7);
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--accent-gold);
    text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.9);
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 -2px 3px rgba(0, 0, 0, 0.4);
    transition: all 0.15s ease-in-out;
}

.cat-btn.active, .cat-btn:hover {
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
    color: #ffffff;
    border-top-color: rgba(255, 255, 255, 0.5);
    border-bottom-color: rgba(0, 0, 0, 0.8);
    text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.7);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -2px 3px rgba(0, 0, 0, 0.4);
}

.cat-btn:active {
    transform: translateY(2px);
    border-bottom-width: 1px;
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.6), inset 0 -1px 1px rgba(255, 255, 255, 0.15);
}

/* Skeuomorphic Product Card Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1.5rem;
    margin-top: 0.75rem;
}

@media (min-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.product-card {
    background: linear-gradient(180deg, #22252e 0%, #181a21 100%);
    border: 1px solid rgba(0, 0, 0, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius, 14px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65), 0 4px 10px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    border-top-color: rgba(37, 99, 235, 0.6);
}

.product-img-wrapper {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 28px 28px 0 0;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #25252b;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-card:hover .product-img {
    transform: scale(1.08);
}

.zoom-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.75);
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: transform 0.2s ease, background 0.2s ease;
}

.product-card:hover .zoom-badge {
    transform: scale(1.15);
    background: var(--primary);
}

.product-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.product-title {
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.75rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--accent-gold);
    text-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.btn-add {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 0.55rem 1.1rem;
    border-radius: var(--radius-btn, 12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-bottom: 2.5px solid rgba(0, 0, 0, 0.35);
    cursor: pointer;
    box-shadow: 3px 6px 12px rgba(0, 0, 0, 0.25),
                inset 2.5px 2.5px 5px rgba(255, 255, 255, 0.5),
                inset -2.5px -3px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-add:hover {
    transform: translateY(-2px);
    box-shadow: 5px 9px 16px rgba(0, 0, 0, 0.3),
                inset 3px 3px 6px rgba(255, 255, 255, 0.6),
                inset -3px -3px 6px rgba(0, 0, 0, 0.3);
}

.btn-add:active {
    transform: translateY(2px) scale(0.96);
    border-bottom-width: 1px;
    box-shadow: inset 3px 3px 6px rgba(0, 0, 0, 0.45),
                inset -2px -2px 4px rgba(255, 255, 255, 0.2);
}

/* Skeuomorphic Product Modal Box (Vertically Centered 6:5 Responsive Modal) */
.product-modal-box {
    background: linear-gradient(180deg, #22252e 0%, #181a21 100%);
    border-radius: 24px;
    width: 92vw !important;
    max-width: 480px;
    padding: 1.5rem 1.25rem;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.6);
    border-top: 2px solid rgba(255, 255, 255, 0.25);
    border-bottom: 4px solid rgba(0, 0, 0, 0.8);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    max-height: 90vh;
    overflow-y: auto;
}

@media (min-width: 768px) {
    .product-modal-box {
        max-width: 760px;
        padding: 2rem;
    }
    .product-modal-body-grid {
        grid-template-columns: 1.1fr 1fr !important;
        gap: 1.75rem !important;
        align-items: center !important;
    }
    .modal-product-info {
        align-items: flex-start !important;
        text-align: left !important;
    }
    .modal-product-info .btn-block {
        width: 100% !important;
    }
}

.product-modal-body-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: center;
    justify-content: center;
}

.modal-media-col {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#modal-media-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 6 / 5 !important;
    overflow: hidden;
    background: #000;
    border-radius: 16px;
    border: 2.5px solid #334155;
    border-top: 2.5px solid #64748b;
    border-bottom: 2.5px solid #1e293b;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), inset 0 2px 4px rgba(0, 0, 0, 0.6);
}

.modal-product-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    width: 100%;
}

.modal-close-btn {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    left: auto !important;
    background: linear-gradient(180deg, #3a3e4c 0%, #292c36 50%, #1e2028 100%) !important;
    color: #fff !important;
    border: 1px solid rgba(0, 0, 0, 0.6) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-bottom: 2.5px solid rgba(0, 0, 0, 0.7) !important;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.8);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-close-btn:hover {
    background: linear-gradient(180deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%) !important;
    transform: scale(1.12);
}

.modal-close-btn:active {
    transform: translateY(2px);
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.6);
}

.carousel-arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(180deg, rgba(40, 44, 56, 0.9) 0%, rgba(20, 22, 28, 0.95) 100%);
    color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    border-bottom: 2.5px solid rgba(0, 0, 0, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 8;
    backdrop-filter: blur(6px);
    text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.8);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: all 0.15s ease;
}

.carousel-arrow-btn:hover {
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow-btn:active {
    transform: translateY(-50%) translateY(2px);
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.6);
}

.carousel-counter-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(180deg, rgba(30, 32, 42, 0.9) 0%, rgba(15, 17, 23, 0.95) 100%);
    color: #ffffff;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 800;
    backdrop-filter: blur(6px);
    z-index: 8;
    border: 1px solid rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.modal-thumbnails-strip {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem 0.25rem 0.25rem 0.25rem;
    overflow-x: auto;
    width: 100%;
}

.modal-thumb-item {
    width: 48px;
    height: 40px;
    aspect-ratio: 6 / 5;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-product-title {
    font-size: 1.35rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.25;
    margin: 0;
    text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.8);
}

.modal-product-price {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent-gold);
    letter-spacing: -0.5px;
    text-shadow: 0 2px 12px rgba(245, 158, 11, 0.4);
    margin: 0;
}

.modal-product-desc {
    font-size: 0.92rem;
    color: #cbd5e1;
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
}

.badge-status {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 800;
    background: rgba(16, 185, 129, 0.18);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Skeuomorphic Floating Cart Bar */
.cart-floating-bar {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2.5rem);
    max-width: 520px;
    background: linear-gradient(180deg, #262933 0%, #1a1c24 50%, #121319 100%);
    color: #ffffff;
    padding: 0.85rem 1.35rem;
    border-radius: var(--radius, 14px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 -2px 3px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.6);
    border-top: 1.5px solid rgba(255, 255, 255, 0.3);
    border-bottom: 3.5px solid rgba(0, 0, 0, 0.8);
    z-index: 999;
}

/* Claymorphic General Utilities */
.badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 800;
    border-radius: var(--radius-pill);
    box-shadow: 4px 6px 12px rgba(0, 0, 0, 0.08),
                inset 2px 2px 4px rgba(255, 255, 255, 0.3),
                inset -2px -2px 4px rgba(0, 0, 0, 0.1);
}
.badge-purple { background: rgba(139, 92, 246, 0.2); color: #c084fc; }
.badge-secondary { background: rgba(255,255,255,0.1); color: #cbd5e1; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.4rem;
    border-radius: var(--radius-btn, 10px);
    font-weight: 800;
    font-size: 0.95rem;
    background: linear-gradient(180deg, #3a3e4c 0%, #292c36 50%, #1e2028 100%);
    color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    border-bottom: 2.5px solid rgba(0, 0, 0, 0.7);
    cursor: pointer;
    text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.8);
    box-shadow: var(--skeuo-btn-shadow);
    transition: all 0.15s ease-in-out;
}

.btn:hover {
    background: linear-gradient(180deg, #444a5b 0%, #313542 50%, #232630 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45), 0 2px 4px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -2px 3px rgba(0, 0, 0, 0.35);
}

.btn:active {
    transform: translateY(2px);
    border-top-color: rgba(0, 0, 0, 0.5);
    border-bottom-width: 1px;
    box-shadow: var(--skeuo-btn-active);
}

.btn-primary {
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
    color: #ffffff;
    border-top-color: rgba(255, 255, 255, 0.45);
    text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.6);
}
.btn-primary:hover {
    background: linear-gradient(180deg, #60a5fa 0%, #3b82f6 50%, #1d4ed8 100%);
}
.btn-secondary {
    background: linear-gradient(180deg, #333742 0%, #242730 100%);
    color: #ffffff;
    border-top-color: rgba(255, 255, 255, 0.2);
}
.btn-sm { padding: 0.45rem 0.95rem; font-size: 0.82rem; }
.btn-block { width: 100%; }

/* Skeuomorphic Card Plaque */
.card {
    background: linear-gradient(180deg, #22252e 0%, #181a21 100%);
    border: 1px solid rgba(0, 0, 0, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius, 14px);
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--skeuo-card-shadow), var(--skeuo-card-bevel);
}

/* Skeuomorphic Form Controls (Debossed Input Sockets) */
.plan-interactive-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    border-top: 2px solid rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08), 0 2px 5px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

.plan-interactive-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12), 0 4px 10px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    border-color: var(--primary) !important;
}

.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 700; margin-bottom: 0.45rem; color: #cbd5e1; text-shadow: 0 -1px 1px rgba(0,0,0,0.8); }
.form-control {
    width: 100%;
    padding: 0.75rem 1.1rem;
    border-radius: var(--radius-btn, 10px);
    border: 1px solid rgba(0, 0, 0, 0.6);
    border-top: 1.5px solid rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.95rem;
    background: #101115;
    color: #fff;
    box-shadow: var(--skeuo-inset-socket);
    transition: all 0.2s;
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: var(--skeuo-inset-socket), 0 0 8px rgba(37, 99, 235, 0.5);
}

/* Modal Overlay (Hidden by default, centered full-screen dialog when active) */
.modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10000 !important;
    padding: 1rem;
    margin: 0 !important;
}

.modal-overlay.active {
    display: flex !important;
}
