@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
:root {
    --primary: #db2777;
    --primary-hover: #be185d;
    --bg: #fdfcfb;
    --surface: #ffffff;
    --text: #334155;
    --text-light: #777;
    --border: #eaeaec;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: var(--bg); color: var(--text); line-height: 1.65; font-size: 16px; }
a { text-decoration: none; color: inherit; }

/* Navbar */
.navbar {
    background: rgba(255,255,255,0.95);
    padding: 0.85rem 4%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    max-width: 100%;
    box-sizing: border-box;
    gap: 1rem;
}
.logo { font-size: 1.5rem; font-weight: 700; color: #1e293b; white-space: nowrap; flex-shrink: 0; }
.navbar .logo img { max-height: 48px; width: auto; object-fit: contain; display: inline-block; vertical-align: middle; background: #ffffff; padding: 4px 10px; border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,0.12); }
.mobile-menu-btn { display: none; }
.menu-overlay { display: none; }
.mobile-drawer-header { display: none; }
.nav-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.4rem 1.1rem;
}
.nav-links a { margin: 0; font-weight: 500; color: #1e293b; transition: color 0.3s; font-size: .95rem; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.cart-link { position: relative; color: var(--primary) !important; font-weight: 600 !important; }
.cart-badge { background: #ef4444; color: #fff; border-radius: 50%; padding: 2px 6px; font-size: .75rem; position: absolute; top: -8px; right: -12px; }
.user-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.88rem;
    background: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #ffffff !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25) !important;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.user-pill-badge, .user-pill-badge * {
    color: #000000 !important;
}
.user-pill-badge:hover {
    background: #ffffff !important;
    color: #000000 !important;
    border-color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35) !important;
    filter: brightness(0.97);
}

/* Hero */
.hero { width: 100%; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; }
.hero-content { position: relative; z-index: 1; padding: 2rem; max-width: 900px; width: 100%; }
.hero h1 { font-size: 3rem; margin-bottom: 1rem; font-weight: 600; }
.hero p { font-size: 1.25rem; opacity: .9; margin-bottom: 2rem; }

/* Buttons */
.btn { display: inline-block; padding: 14px 28px; background-color: var(--primary); color: #fff; border-radius: 6px; font-weight: 500; font-size: 1rem; transition: background-color 0.3s; border: none; cursor: pointer; text-align: center; }
.btn:hover { background-color: var(--primary-hover); color: #fff; }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-cta { background-color: #ef4444; color: #fff; border: none; }
.btn-cta:hover { background-color: #dc2626; color: #fff; }
.wish-btn { background: #fff; border: none; width: 40px; height: 40px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; box-shadow: 0 2px 5px rgba(0,0,0,.1); display: flex; align-items: center; justify-content: center; transition: .2s; }
.wish-btn:hover { transform: scale(1.1); }

/* Layout */
.container { max-width: 1200px; margin: 4rem auto; padding: 0 2rem; }
.section-title { font-size: 2rem; font-weight: 600; color: #1e293b; margin-bottom: 2rem; text-align: center; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; }
.card { background: var(--surface); border: 1px solid var(--border); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; position: relative; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.05); }
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 25px rgba(0,0,0,.08); }
.card > a, .card a:has(.card-img) { display: block; line-height: 0; text-decoration: none; }
.card-img { width: 100%; height: 230px; object-fit: cover; display: block; vertical-align: middle; }
.card-body { padding: 0.55rem 0.75rem 0.65rem; text-align: center; display: flex; flex-direction: column; flex-grow: 1; gap: 0.12rem; }
.card-title { font-size: 0.98rem; font-weight: 600; margin-bottom: 0.1rem; color: #1e293b; line-height: 1.25; }
.card-price { color: var(--primary); font-weight: 700; font-size: 0.95rem; margin-bottom: 0.15rem; line-height: 1.2; }
.card-actions { display: flex; align-items: center; gap: 0.45rem; margin-top: auto; padding-top: 0.1rem; }
.card-body .btn { width: 100%; padding: 8px 12px; font-size: 0.88rem; }

/* Cart & forms */
table.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 2rem; }
table.cart-table th, table.cart-table td { padding: 1rem; text-align: left; border-bottom: 1px solid var(--border); }
table.cart-table th { background: #f8fafc; font-weight: 600; }
/* Form Styles */
.form-group { margin-bottom: 0.75rem; text-align: left; }
.form-group label { display: block; margin-bottom: .25rem; font-weight: 500; color: #1e293b; font-size: .85rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 8px 12px; border: 1px solid var(--border); border-radius: 4px; font-family: inherit; font-size: 0.9rem; color: #475569; outline: none; box-shadow: 0 1px 2px rgba(0,0,0,.05); transition: border-color .2s; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--primary); }

/* ---- Admin Panel Theme ---- */
:root {
    --admin-bg: #f8fafc;
    --admin-surface: #ffffff;
    --admin-primary: #6366f1;
    --admin-primary-light: #e0e7ff;
    --admin-text-main: #0f172a;
    --admin-text-muted: #64748b;
    --admin-border: #e2e8f0;
    --admin-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --admin-radius: 16px;
}

.admin-layout {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
    background: var(--admin-bg);
    font-family: 'Inter', sans-serif;
    color: var(--admin-text-main);
}

/* Beautiful Left Sidebar */
.admin-sidebar {
    width: 260px;
    background: var(--admin-surface);
    border-right: 1px solid var(--admin-border);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 50;
    padding: 0;
    flex-shrink: 0;
    box-shadow: 4px 0 15px -5px rgba(0,0,0,0.05);
}
.admin-sidebar::-webkit-scrollbar { width: 4px; }
.admin-sidebar::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
.admin-sidebar::-webkit-scrollbar-track { background: transparent; }
.admin-logo {
    padding: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--admin-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--admin-border);
}

.admin-nav {
    flex: 1;
    padding: 0.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
}

.admin-nav a {
    padding: 6px 1.25rem;
    color: var(--admin-text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    margin: 0 1rem;
    border-radius: var(--admin-radius);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-nav a:hover {
    color: var(--admin-text-main);
    background: var(--admin-primary-light);
}

.admin-nav a.active {
    background: var(--admin-primary-light);
    color: var(--admin-primary);
    border-left-color: var(--admin-primary);
}

/* Main Area */
.admin-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* Topbar */
.admin-topbar {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    background: var(--admin-bg);
}

.admin-page-title { font-size: 1.5rem; font-weight: 700; color: var(--admin-text-main); margin: 0; }
.admin-top-right { display: flex; align-items: center; gap: 20px; }

/* Content Area */
.admin-content { padding: 0 2rem 2rem 2rem; width: 100%; }

/* Metric Cards */
.metrics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0.75rem; margin-bottom: 1.5rem; }
.metric-card { background: var(--admin-surface); border-radius: var(--admin-radius); padding: 1rem; box-shadow: var(--admin-shadow); display: flex; justify-content: space-between; align-items: flex-start; transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1); border: 1px solid rgba(255,255,255,0.8); }
.metric-card:hover { transform: translateY(-5px); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.metric-info h4 { color: var(--admin-text-muted); font-size: 0.8rem; font-weight: 600; margin-bottom: 0.25rem; text-transform: uppercase; letter-spacing: 0.5px; }
.metric-info h2 { color: var(--admin-text-main); font-size: 1.25rem; font-weight: 700; margin: 0; }
.metric-info .trend { font-size: 0.75rem; font-weight: 600; margin-top: 0.25rem; display: block; }
.trend.up { color: #16a34a; }
.trend.down { color: #ef4444; }
.metric-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--admin-primary-light); color: var(--admin-primary); display: flex; align-items: center; justify-content: center; font-size: 1rem; }

/* Dashboard Cards & Tables */
.dash-card { background: var(--admin-surface); border-radius: var(--admin-radius); padding: 1.25rem; margin-bottom: 1.5rem; box-shadow: var(--admin-shadow); border: 1px solid rgba(255,255,255,0.8); }
.dash-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--admin-text-main); margin-bottom: 1rem; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--admin-bg); padding-bottom: 0.75rem; }
/* Excel-Style Admin Panel Tables */
.dash-table { 
    width: 100%; 
    border-collapse: collapse; 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; 
    font-size: 0.82rem; 
    font-variant-numeric: tabular-nums; 
    background: #ffffff;
    border: 1px solid #cbd5e1;
}
.dash-table th, .dash-table td { 
    border: 1px solid #cbd5e1 !important; 
    padding: 5px 8px; 
    vertical-align: middle; 
    line-height: 1.35; 
}
.dash-table th { 
    text-align: left; 
    background: #e2e8f0; 
    color: #0f172a; 
    font-weight: 700; 
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap; 
    border-bottom: 2px solid #94a3b8 !important;
    position: sticky;
    top: 0;
    z-index: 2;
}
.dash-table td { 
    color: #1e293b; 
    background: #ffffff; 
}
.dash-table tr:nth-child(even) td { 
    background: #f8fafc; 
}
.dash-table tr:hover td { 
    background: #eff6ff !important; 
}
.dash-table .btn, .dash-table button, .dash-table select {
    padding: 3px 7px !important;
    font-size: 0.78rem !important;
    border-radius: 4px !important;
    line-height: 1.2 !important;
}
.dash-table .badge {
    padding: 2px 6px !important;
    font-size: 0.74rem !important;
    border-radius: 4px !important;
}

/* Badges */
.badge { padding: 0.35rem 0.85rem; border-radius: 20px; font-size: 0.75rem; font-weight: 700; display: inline-block; }
.badge-success { background: #dcfce7; color: #166534; }
.badge-warning { background: #fef9c3; color: #854d0e; }
.badge-gray { background: var(--admin-bg); color: var(--admin-text-muted); }

/* Modals */
.modal { display: none; position: fixed; inset: 0; background: rgba(15, 23, 42, 0.4); backdrop-filter: blur(4px); z-index: 1000; align-items: center; justify-content: center; }
.modal.active { display: flex; }
.modal-content { background: white; padding: 2.5rem; border-radius: 16px; width: 90%; max-width: 650px; max-height: 90vh; overflow-y: auto; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--admin-border); }
.close-modal { background: var(--admin-bg); border: none; font-size: 1.25rem; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; color: var(--admin-text-muted); }

/* Responsive Utilities */
.hide-desktop { display: none !important; }
.show-desktop { display: block !important; }
.hide-mobile { display: block !important; }
.show-mobile { display: none !important; }
.table-responsive { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 1rem; }
.mobile-card-grid { display: none; }

.admin-mobile-header, .admin-overlay, .menu-overlay, .close-menu-btn, .admin-bottom-nav { display: none; }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.75rem; cursor: pointer; color: var(--header-text, var(--text, #1e293b)); padding: 6px 10px; border-radius: 6px; line-height: 1; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

@keyframes slideUpBottom {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@media (max-width: 1024px) {
    .hide-desktop { display: flex !important; }
    .show-desktop { display: none !important; }
    .hide-mobile { display: none !important; }
    .show-mobile { display: block !important; }
    .mobile-card-grid { display: flex; flex-direction: column; gap: 12px; margin-bottom: 1.5rem; }

    /* Mobile Drawer for Storefront */
    .navbar {
        z-index: 99990 !important;
        padding: 0.5rem 4% !important;
    }
    .navbar .logo img {
        max-height: 40px !important;
    }
    
    .mobile-menu-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important; /* REQUIRED: Activates z-index */
        z-index: 100000 !important; /* REQUIRED: Forces button above the invisible drawer */
        font-size: 1.6rem !important;
        font-weight: 700 !important;
        cursor: pointer !important;
        background: #ffffff !important;
        border: 1px solid #cbd5e1 !important;
        border-radius: 8px !important;
        color: #0f172a !important;
        width: 40px !important;
        height: 40px !important;
        padding: 0 !important;
        line-height: 1 !important;
        box-shadow: 0 1px 4px rgba(0,0,0,0.08) !important;
        -webkit-tap-highlight-color: transparent !important;
    }
    
    .mobile-drawer-header {
        display: flex !important;
    }
    
    .menu-overlay {
        display: none;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: rgba(15, 23, 42, 0.6) !important;
        backdrop-filter: blur(4px) !important;
        -webkit-backdrop-filter: blur(4px) !important;
        z-index: 99995 !important;
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.22s ease !important;
    }
    .menu-overlay.active {
        display: block !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .nav-links {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        width: 280px !important;
        max-width: 85vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: #ffffff !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
        flex-wrap: nowrap !important;
        padding: 0.6rem 0.75rem 2rem 0.75rem !important;
        box-shadow: -10px 0 35px rgba(0, 0, 0, 0.25) !important;
        z-index: 99999 !important;
        transform: translateX(100%) !important;
        -webkit-transform: translateX(100%) !important;
        transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
        display: flex !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        box-sizing: border-box !important;
        pointer-events: none !important;
        gap: 0 !important;
    }
    .nav-links.active {
        transform: translateX(0) !important;
        -webkit-transform: translateX(0) !important;
        pointer-events: auto !important;
        visibility: visible !important;
    }

    /* Links inside mobile drawer - compact single-column scrolling */
    .navbar .nav-links a,
    .nav-links a {
        margin: 0 !important;
        text-align: left !important;
        padding: 8px 10px !important;
        border-bottom: 1px solid #f1f5f9 !important;
        width: 100% !important;
        font-size: 0.92rem !important;
        font-weight: 600 !important;
        color: #1e293b !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        background: #ffffff !important;
        box-sizing: border-box !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        transition: all 0.15s ease !important;
        line-height: 1.25 !important;
    }
    .navbar .nav-links a:last-child,
    .nav-links a:last-child {
        border-bottom: none !important;
    }
    .navbar .nav-links a:hover,
    .navbar .nav-links a.active,
    .nav-links a:hover,
    .nav-links a.active {
        color: var(--primary, #db2777) !important;
        background: #fdf2f8 !important;
        border-radius: 6px !important;
        padding-left: 12px !important;
    }

    /* Hero adjustments on mobile */
    .hero { min-height: 55vh !important; height: 62vh !important; }
    .hero-top-left { top: 0.5rem !important; left: 1rem !important; }
    .hero-bottom-left { bottom: 0.75rem !important; left: 1rem !important; }
    .hero h1 { font-size: clamp(1.6rem, 5.5vw, 2.2rem) !important; margin-bottom: 0.25rem !important; }
    .hero p { font-size: 0.92rem !important; }

    /* Category Strip - smooth single-row horizontal scrolling */
    .category-strip { 
        display: flex !important;
        flex-direction: row !important;
        justify-content: flex-start !important; 
        overflow-x: auto !important; 
        overflow-y: hidden !important;
        flex-wrap: nowrap !important; 
        scrollbar-width: none !important; 
        -ms-overflow-style: none !important; 
        scroll-snap-type: x mandatory !important; 
        -webkit-overflow-scrolling: touch !important;
        gap: 6px !important;
        padding: 0.4rem 0 !important;
    }
    .category-strip::-webkit-scrollbar { display: none !important; }
    .category-strip a { 
        flex: 0 0 auto !important; 
        scroll-snap-align: start !important; 
        padding: 0.45rem 0.85rem !important; 
        font-size: 0.82rem !important; 
        white-space: nowrap !important;
    }

    /* Storefront Cart Tables as Cards */
    .cart-table, .cart-table tbody { display: block; width: 100%; }
    .cart-table thead, .cart-table tr:first-child th { display: none; }
    .cart-table tr { display: block; margin-bottom: 1rem; border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.02); padding: 10px; background: var(--surface); }
    .cart-table td { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); padding: 10px 5px; text-align: right; }
    .cart-table td:last-child { border-bottom: none; }
    .cart-table td::before { content: attr(data-label); font-weight: 600; color: var(--text-light); text-align: left; flex: 1; margin-right: 10px; font-size: 0.9rem; }
    
    .dash-card { padding: 1rem; border-radius: 12px; }
    .form-group input, .form-group select, .form-group textarea { width: 100%; font-size: 0.95rem; }

    /* Admin Mobile Layout & Header */
    .admin-layout { flex-direction: column !important; width: 100% !important; min-width: 0 !important; }
    .admin-main { width: 100% !important; min-width: 0 !important; flex: 1 1 auto !important; display: flex !important; flex-direction: column !important; }
    .admin-mobile-header { display: flex !important; width: 100% !important; box-sizing: border-box; justify-content: space-between; align-items: center; padding: 0.85rem 1.25rem; background: var(--admin-surface); border-bottom: 1px solid var(--admin-border); position: sticky; top: 0; z-index: 80; box-shadow: 0 2px 10px rgba(0,0,0,0.03); }
    .admin-hamburger { font-size: 1.5rem; background: none; border: none; cursor: pointer; color: var(--admin-text-main); display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 6px; position: relative; z-index: 100000; }
    .admin-overlay { position: fixed; inset: 0; background: rgba(15,23,42,0.6); backdrop-filter: blur(3px); z-index: 105; display: none; }
    .admin-overlay.open { display: block; }

    /* Admin Off-Canvas Sidebar Drawer */
    .admin-sidebar { position: fixed; top: 0; left: -310px; width: 285px; height: 100vh; flex-direction: column; z-index: 110; padding: 0; box-shadow: 6px 0 25px rgba(0,0,0,0.15); overflow-y: auto; transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1); background: var(--admin-surface); }
    .admin-sidebar.open { left: 0; }
    .admin-logo { padding: 1.25rem; border-bottom: 1px solid var(--admin-border); width: 100%; justify-content: space-between; font-size: 1.2rem; }
    .admin-nav { flex-direction: column; width: 100%; padding-bottom: 4rem; }
    .admin-nav a { border-bottom: 1px solid var(--admin-border); border-radius: 0; padding: 0.85rem 1.25rem; font-size: 0.95rem; }
    .admin-nav a.active { border-left: 4px solid var(--admin-primary); background: var(--admin-primary-light); }
    .admin-topbar { display: none; }
    
    /* Content Padding with Bottom Navigation Bar Offset */
    .admin-content { padding: 1rem 1rem 5.5rem 1rem; width: 100% !important; min-width: 0 !important; box-sizing: border-box !important; }
    .metrics-grid { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
    .metric-card { padding: 0.85rem; }
    .metric-info h2 { font-size: 1.1rem; }

    /* Mobile Bottom Quick-Action Bar */
    .admin-bottom-nav { position: fixed; bottom: 0; left: 0; width: 100%; height: 58px; background: var(--admin-surface); border-top: 1px solid var(--admin-border); z-index: 90; display: flex !important; justify-content: space-around; align-items: center; box-shadow: 0 -4px 15px rgba(0,0,0,0.06); padding: 0 4px; box-sizing: border-box; }
    .admin-bottom-tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 0.7rem; font-weight: 600; color: var(--admin-text-muted); text-decoration: none; flex: 1; height: 100%; transition: color 0.15s; }
    .admin-bottom-tab.active { color: var(--admin-primary); font-weight: 700; }
    .admin-bottom-tab .tab-icon { font-size: 1.2rem; line-height: 1; }

    /* Mobile Bottom-Sheet Modals */
    .modal { align-items: flex-end; padding: 0; }
    .modal-content { width: 100% !important; max-width: 100% !important; border-radius: 20px 20px 0 0 !important; margin: 0 !important; max-height: 85vh !important; padding: 1.25rem !important; box-shadow: 0 -10px 40px rgba(0,0,0,0.2) !important; animation: slideUpBottom 0.28s cubic-bezier(0.4, 0, 0.2, 1); }
    .modal-header { margin-bottom: 1rem; padding-bottom: 0.75rem; }

    /* Storefront Mobile Product Grid (2 Columns) */
    .container { padding: 0 1rem; margin: 1.5rem auto; }
    .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .card { border-radius: 12px; }
    .card-img { height: 175px; display: block; }
    .card-body { padding: 0.4rem 0.5rem 0.5rem; gap: 0.08rem; }
    .card-title { font-size: 0.85rem; line-height: 1.2; margin-bottom: 0.05rem; }
    .card-price { font-size: 0.85rem; margin-bottom: 0.1rem; }
    .card-actions { gap: 0.3rem; padding-top: 0.08rem; }
    .card-body .btn { padding: 6px 8px; font-size: 0.8rem; }
}

@media (max-width: 480px) {
    .metrics-grid { grid-template-columns: 1fr 1fr; }
    .grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .card-img { height: 155px; }
    .card-body { padding: 0.35rem 0.45rem 0.45rem; gap: 0.05rem; }
    .card-title { font-size: 0.8rem; line-height: 1.18; margin-bottom: 0.04rem; }
    .card-price { font-size: 0.8rem; margin-bottom: 0.08rem; }
}

@media print {
    @page { size: A4 landscape; margin: 15mm; }
    .navbar, .hide-on-print, .mobile-menu-btn, .admin-mobile-header, .admin-sidebar, .admin-topbar { display: none !important; }
    .admin-layout { display: block; }
    .admin-content, .container { padding: 0 !important; margin: 0 !important; width: 100% !important; background: white !important; }
    table { width: 100% !important; border: 1px solid #ddd; }
    th, td { border: 1px solid #ddd !important; }
    body { background: white !important; color: black !important; }
    * { box-shadow: none !important; text-shadow: none !important; }
}
/* Color Strip Menu */
.category-strip { display: flex; justify-content: center; align-items: center; background: var(--primary); padding: 0; margin: 4px 0 0 0; width: 100%; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.category-strip a { padding: 0.85rem 2rem; font-size: 0.9rem; font-weight: 600; color: #fff; text-transform: uppercase; letter-spacing: 0.5px; text-decoration: none; transition: background 0.2s ease; border-right: 1px solid rgba(255,255,255,0.15); }
.category-strip a:last-child { border-right: none; }
.category-strip a:hover, .category-strip a.active { background: rgba(0,0,0,0.2); }

/* Featured Slider */
.featured-slider-container { width: 100%; overflow: hidden; padding: 0; }
.featured-slider {
    display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
    padding-bottom: 0.5rem; scrollbar-width: none; -ms-overflow-style: none;
}
.featured-slider::-webkit-scrollbar { display: none; }
.featured-slider .card {
    width: 280px; max-width: 75vw; flex: 0 0 auto; scroll-snap-align: start;
}

/* ==========================================================================
   Bulk Upload Ingestion Studio & Dropzone Component
   ========================================================================== */

.bulk-upload-studio {
    width: 100%;
}

.bulk-upload-dropzone {
    background: #f8fafc;
    border: 2px dashed #94a3b8;
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    position: relative;
    user-select: none;
    margin-bottom: 1.5rem;
}

.bulk-upload-dropzone:hover,
.bulk-upload-dropzone:focus-visible {
    border-color: var(--admin-primary, #6366f1);
    background: #f0f4ff;
    transform: translateY(-1px);
}

.bulk-upload-dropzone.is-dragover {
    border-color: #10b981;
    background: #ecfdf5;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
    transform: scale(1.01);
}

.dropzone-inner {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.dropzone-icon-wrap {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 4px;
}

.dropzone-icon {
    font-size: 2rem;
    line-height: 1;
}

.dropzone-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--admin-text-main, #0f172a);
    margin: 0;
}

.dropzone-subtitle {
    font-size: 0.9rem;
    color: var(--admin-text-muted, #64748b);
    margin: 0;
}

.btn-link {
    background: none;
    border: none;
    color: var(--admin-primary, #6366f1);
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
}

.dropzone-specs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
}

.spec-pill {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 0.74rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 12px;
}

/* ---------------- Upload HUD (Heads-Up Display) ---------------- */
.upload-hud-panel {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.hud-metrics-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 1rem;
}

.hud-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
}

.stat-total     { background: #f1f5f9; color: #334155; }
.stat-uploading { background: #e0e7ff; color: #4338ca; }
.stat-success   { background: #dcfce7; color: #15803d; }
.stat-failed    { background: #fee2e2; color: #b91c1c; }

.stat-value {
    font-weight: 800;
    font-size: 0.95rem;
}

.hud-controls-group {
    margin-left: auto;
    display: flex;
    gap: 6px;
    align-items: center;
}

.btn-hud {
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 6px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-hud-secondary { background: #f1f5f9; border-color: #cbd5e1; color: #334155; }
.btn-hud-warning   { background: #fef08a; border-color: #eab308; color: #854d0e; }
.btn-hud-outline   { background: #ffffff; border-color: #cbd5e1; color: #64748b; }
.btn-hud:hover { opacity: 0.88; transform: translateY(-1px); }

.hud-progress-container {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hud-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.84rem;
    font-weight: 600;
    color: #334155;
}

.hud-progress-track {
    width: 100%;
    height: 10px;
    background: #e2e8f0;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.hud-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1 0%, #10b981 100%);
    border-radius: 5px;
    transition: width 0.2s ease-out;
}

/* ---------------- Live Interactive Thumbnail Gallery ---------------- */
.thumbnail-gallery,
.thumbnail-gallery-wrap {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--admin-border, #e2e8f0);
}

.gallery-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 1.25rem;
}

.gallery-toolbar-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gallery-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--admin-text-main, #0f172a);
    display: flex;
    align-items: center;
    gap: 8px;
}

.gallery-counter-pill {
    background: var(--admin-primary-light, #e0e7ff);
    color: var(--admin-primary, #6366f1);
    font-size: 0.8rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 12px;
}

.gallery-subtitle {
    font-size: 0.84rem;
    color: var(--admin-text-muted, #64748b);
}

.gallery-toolbar-right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.gallery-sort-group {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.84rem;
    color: var(--admin-text-muted, #64748b);
    font-weight: 600;
}

.gallery-select-input {
    padding: 6px 10px;
    font-size: 0.82rem;
    font-weight: 600;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    color: #1e293b;
    cursor: pointer;
    outline: none;
    transition: border-color 0.15s ease;
}

.gallery-select-input:focus {
    border-color: var(--admin-primary, #6366f1);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.15);
}

.gallery-btn-group {
    display: flex;
    gap: 6px;
}

.btn-gallery-tool {
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-gallery-tool:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
}

.btn-tool-danger {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #b91c1c;
}

.btn-tool-danger:hover {
    background: #fecaca;
    border-color: #f87171;
    color: #991b1b;
}

.btn-tool-outline {
    border-color: #e2e8f0;
    color: #64748b;
}

.gallery-selection-bar {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 8px 14px;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: #166534;
}

.btn-compact {
    padding: 4px 10px;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 4px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    cursor: pointer;
}

.btn-compact.btn-primary {
    background: var(--admin-primary, #6366f1);
    color: #ffffff;
    border-color: var(--admin-primary, #6366f1);
}

.gallery-grid,
.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
    gap: 14px;
    min-height: 80px;
    position: relative;
    transition: all 0.2s ease;
}

/* ---------------- Card Components (thumb-card / upload-card / gallery-card) ---------------- */
.thumb-card,
.upload-card,
.gallery-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1), 
                border-color 0.15s ease,
                opacity 0.2s ease;
    user-select: none;
}

.thumb-card:hover,
.upload-card:hover,
.gallery-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px -2px rgba(0, 0, 0, 0.08);
    border-color: #94a3b8;
}

.gallery-card:focus-within,
.thumb-card:focus-within {
    border-color: var(--admin-primary, #6366f1);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.gallery-card.status-uploading,
.upload-card.status-uploading {
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.25);
}

.gallery-card.status-ready,
.gallery-card.status-success,
.upload-card.status-success {
    border-color: #10b981;
}

.gallery-card.status-failed,
.upload-card.status-failed {
    border-color: #ef4444;
    background: #fff5f5;
}

.gallery-card.is-selected {
    border-color: var(--admin-primary, #6366f1);
    background: #f5f3ff;
    box-shadow: 0 0 0 2px var(--admin-primary, #6366f1);
}

.gallery-card.is-dragging,
.upload-card.is-dragging {
    opacity: 0.35 !important;
    transform: scale(0.96) !important;
    border: 2px dashed var(--admin-primary, #6366f1) !important;
    box-shadow: none !important;
}

.card-top-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 8px;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
}

.card-seq-badge {
    background: #e2e8f0;
    color: #0f172a;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 4px;
    font-family: monospace;
    letter-spacing: -0.5px;
}

.gallery-card.status-ready .card-seq-badge,
.gallery-card.status-success .card-seq-badge {
    background: var(--admin-primary-light, #e0e7ff);
    color: var(--admin-primary, #6366f1);
}

.card-chk-label {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    margin: 0;
}

.card-select-chk {
    cursor: pointer;
    accent-color: var(--admin-primary, #6366f1);
    width: 14px;
    height: 14px;
}

.card-btn-delete,
.card-item-remove-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 3px;
    border-radius: 4px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.card-btn-delete:hover,
.card-item-remove-btn:hover {
    background: #fee2e2;
    color: #ef4444;
}

.card-media-box,
.card-media-wrap {
    position: relative;
    width: 100%;
    height: 140px;
    background: #f1f5f9;
    overflow: hidden;
}

.card-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.gallery-card:hover .card-thumb-img,
.thumb-card:hover .card-thumb-img {
    transform: scale(1.03);
}

.card-status-badge {
    position: absolute;
    bottom: 6px;
    left: 6px;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2;
}

.card-status-badge.badge-pending   { background: rgba(15, 23, 42, 0.75); color: #ffffff; }
.card-status-badge.badge-uploading { background: rgba(99, 102, 241, 0.85); color: #ffffff; }
.card-status-badge.badge-success,
.card-status-badge.badge-ready     { background: rgba(16, 185, 129, 0.9); color: #ffffff; }
.card-status-badge.badge-failed    { background: rgba(239, 68, 68, 0.9); color: #ffffff; }

.card-zoom-trigger {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.7);
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.85);
    transition: all 0.15s ease;
    z-index: 3;
}

.gallery-card:hover .card-zoom-trigger,
.gallery-card:focus-within .card-zoom-trigger {
    opacity: 1;
    transform: scale(1);
}

.card-zoom-trigger:hover {
    background: var(--admin-primary, #6366f1);
    transform: scale(1.1);
}

.card-drag-grip {
    position: absolute;
    top: 6px;
    left: 6px;
    background: rgba(15, 23, 42, 0.6);
    color: #ffffff;
    border-radius: 4px;
    padding: 2px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    opacity: 0;
    transition: opacity 0.15s ease;
    z-index: 3;
}

.gallery-card:hover .card-drag-grip {
    opacity: 1;
}

.card-drag-grip:active {
    cursor: grabbing;
}

.card-mini-progress,
.card-progress-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(0, 0, 0, 0.25);
    z-index: 4;
}

.card-mini-progress-fill,
.card-progress-fill {
    height: 100%;
    background: #10b981;
    transition: width 0.1s linear;
}

.card-meta-pane,
.card-meta-wrap {
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    background: #ffffff;
}

.card-filename {
    font-size: 0.78rem;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
}

.card-specs-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
}

.meta-chip,
.spec-chip {
    font-size: 0.68rem;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

.spec-chip.chip-dimensions svg,
.meta-chip.dimensions svg {
    color: #8b5cf6;
}

.spec-chip.chip-filesize,
.meta-chip.filesize {
    color: #475569;
}

.card-error-notice,
.card-error-text {
    font-size: 0.7rem;
    color: #ef4444;
    font-weight: 600;
    margin-top: 2px;
    line-height: 1.2;
}

.btn-card-retry,
.card-retry-btn {
    margin-top: 4px;
    padding: 3px 6px;
    font-size: 0.72rem;
    background: #ef4444;
    color: #ffffff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
}

.card-reorder-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid #f1f5f9;
    background: #f8fafc;
}

.btn-card-nav {
    padding: 5px 8px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #475569;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: background 0.15s ease, color 0.15s ease;
}

.btn-card-nav:first-child {
    border-right: 1px solid #f1f5f9;
}

.btn-card-nav:hover:not(:disabled) {
    background: #e2e8f0;
    color: #0f172a;
}

.btn-card-nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.studio-footer {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-cta-success {
    background: #10b981;
    color: #ffffff;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
    transition: all 0.2s ease;
}

.btn-cta-success:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

/* ============================================================
   Stock Status & Out-of-Stock Indicators
   ============================================================ */
.badge-out-of-stock {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ef4444;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    z-index: 5;
    pointer-events: none;
}

.badge-low-stock-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #f59e0b;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
    z-index: 5;
    pointer-events: none;
}

.stock-status {
    font-size: 0.8rem;
    font-weight: 600;
    margin: 2px 0 4px 0;
    line-height: 1.2;
}

.stock-status.in-stock {
    color: #16a34a;
}

.stock-status.low-stock {
    color: #d97706;
}

.stock-status.out-of-stock {
    color: #dc2626;
}

.btn-out-of-stock {
    background: #f1f5f9 !important;
    color: #94a3b8 !important;
    border: 1px solid #cbd5e1 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    font-weight: 600 !important;
}

.btn-out-of-stock:hover {
    background: #f1f5f9 !important;
    color: #94a3b8 !important;
    transform: none !important;
}

.card-out-of-stock .card-img {
    filter: grayscale(25%) opacity(0.85);
}

.badge-stock-in {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    font-weight: 600;
    font-size: 0.78rem;
    padding: 3px 8px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge-stock-low {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
    font-weight: 600;
    font-size: 0.78rem;
    padding: 3px 8px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge-stock-out {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 3px 8px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ============================================================
   Order Status Dropdown with Live Color Band
   ============================================================ */
.order-status-dropdown {
    padding: 6px 10px;
    font-size: 0.84rem;
    font-weight: 700;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    border-left: 5px solid #64748b !important;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    background-color: #ffffff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.order-status-dropdown:focus {
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.order-status-dropdown.status-dropdown-pending {
    background-color: #fef3c7 !important;
    color: #92400e !important;
    border-left-color: #f59e0b !important;
    border-color: #fde68a !important;
}

.order-status-dropdown.status-dropdown-processing {
    background-color: #dbeafe !important;
    color: #1e40af !important;
    border-left-color: #3b82f6 !important;
    border-color: #bfdbfe !important;
}

.order-status-dropdown.status-dropdown-shipped {
    background-color: #ede9fe !important;
    color: #6b21a8 !important;
    border-left-color: #8b5cf6 !important;
    border-color: #ddd6fe !important;
}

.order-status-dropdown.status-dropdown-delivered,
.order-status-dropdown.status-dropdown-completed {
    background-color: #dcfce7 !important;
    color: #166534 !important;
    border-left-color: #10b981 !important;
    border-color: #bbf7d0 !important;
}

.order-status-dropdown.status-dropdown-cancelled {
    background-color: #fee2e2 !important;
    color: #991b1b !important;
    border-left-color: #ef4444 !important;
    border-color: #fecaca !important;
}

/* ============================================================
   Garment Size Chart & Pattern Sketch Trigger Buttons
   ============================================================ */
.btn-size-sketch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: #f8fafc;
    color: #334155;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    margin-bottom: 8px;
    width: 100%;
    box-sizing: border-box;
    text-decoration: none;
}

.btn-size-sketch:hover {
    background: #f0fdf4;
    color: #166534;
    border-color: #86efac;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(22, 101, 52, 0.12);
}

.card-size-badge-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 9;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 0.74rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.card-size-badge-btn:hover {
    background: var(--primary, #0284c7);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

/* ---------------- Size Selector Pills ---------------- */
.size-selector-row {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 6px 0 8px 0;
    align-items: center;
}
.size-selector-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    margin-right: 4px;
    text-transform: uppercase;
}
.size-pill-btn {
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s ease;
    line-height: 1.2;
}
.size-pill-btn:hover {
    border-color: var(--primary, #db2777);
    color: var(--primary, #db2777);
    background: #fdf2f8;
}
.size-pill-btn.active {
    background: var(--primary, #db2777);
    color: #ffffff;
    border-color: var(--primary, #db2777);
    box-shadow: 0 2px 6px rgba(219, 39, 119, 0.35);
}

/* ---------------- Pre-Order & Birthday Badges ---------------- */
.badge-preorder {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fdf2f8;
    color: #be185d;
    border: 1px solid #fbcfe8;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
}
.badge-gift-order {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fef08a;
    color: #854d0e;
    border: 1px solid #fde047;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* ---------------- 1-Click WhatsApp & Call Action Buttons ---------------- */
.whatsapp-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #25d366;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 6px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: 0 1px 3px rgba(37, 211, 102, 0.25);
}
.whatsapp-action-btn:hover {
    background: #1eb853;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(37, 211, 102, 0.4);
}
.phone-call-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #0284c7;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 6px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.15s ease;
}
.phone-call-btn:hover {
    background: #0369a1;
}

/* ==========================================================================
   Full-Sized Garment Pattern Sketch Studio & Dynamic Sizing Visualizer
   ========================================================================== */
.sketch-studio-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.88);
    z-index: 999999;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px;
    box-sizing: border-box;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.sketch-studio-dialog {
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 1140px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
    border: 1px solid #334155;
    position: relative;
    margin: auto;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sketch-studio-dialog.studio-fullscreen {
    max-width: 100vw;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    inset: 0;
}

.sketch-studio-header {
    padding: 0.85rem 1.25rem;
    background: #0f172a !important;
    color: #ffffff !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #1e293b !important;
    flex-shrink: 0;
    gap: 12px;
}

.sketch-studio-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.01em;
}

.sketch-studio-close-btn {
    background: #334155;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 22px;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.sketch-studio-close-btn:hover {
    background: #ef4444;
    color: #ffffff;
    transform: scale(1.08);
}

.sketch-studio-sub {
    color: #cbd5e1 !important;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}

#sizeSketchModalSub {
    color: #cbd5e1 !important;
}

.studio-hdr-btn {
    background: #1e293b !important;
    color: #ffffff !important;
    border: 1px solid #475569 !important;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    transition: all 0.15s ease;
    line-height: 1.2;
}

.studio-hdr-btn:hover {
    background: #334155 !important;
    color: #ffffff !important;
    border-color: #64748b !important;
    transform: translateY(-1px);
}

.sketch-studio-body {
    display: grid;
    grid-template-columns: minmax(380px, 1.15fr) minmax(360px, 1fr);
    flex: 1;
    overflow: hidden;
    background: #f8fafc;
}

/* --- Left Column: Interactive Pattern Viewport --- */
.sketch-viewport-col {
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    background: #ffffff;
    border-right: 1px solid #e2e8f0;
    overflow: hidden;
    position: relative;
}

.sketch-viewport {
    flex: 1;
    min-height: 320px;
    background-color: #f8fafc;
    background-image: radial-gradient(#cbd5e1 1.2px, transparent 1.2px);
    background-size: 20px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.04);
}

.sketch-scale-canvas {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform-origin: center center;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform;
    padding: 8px;
    width: 100%;
    height: 100%;
}

.sketch-scale-canvas svg {
    max-width: 100%;
    max-height: 54vh;
    border-radius: 10px;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.15);
    background: #ffffff;
    display: block;
}

.sketch-scale-canvas svg path,
.sketch-scale-canvas svg line,
.sketch-scale-canvas svg polygon,
.sketch-scale-canvas svg circle,
.sketch-scale-canvas svg rect,
.sketch-scale-canvas svg text {
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sketch-scale-canvas img {
    max-width: 90%;
    max-height: 50vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.12);
    background: #ffffff;
    border: 1px solid #e2e8f0;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

/* Floating Zoom & Tool Controls */
.sketch-zoom-toolbar {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 4px 6px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.sketch-zoom-btn {
    background: transparent;
    border: none;
    color: #f8fafc;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.sketch-zoom-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: scale(1.1);
}

/* Floating Live Dimension Badges */
.sketch-dim-badges-overlay {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    z-index: 15;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    pointer-events: none;
}

.sketch-dim-badge {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.76rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 1.5px solid #cbd5e1;
    transition: all 0.25s ease;
}

.sketch-dim-badge.dim-bust {
    color: #b91c1c;
    border-color: #fca5a5;
    background: #fef2f2;
}
.sketch-dim-badge.dim-waist {
    color: #1d4ed8;
    border-color: #93c5fd;
    background: #eff6ff;
}
.sketch-dim-badge.dim-hips {
    color: #4338ca;
    border-color: #a5b4fc;
    background: #eef2ff;
}
.sketch-dim-badge.dim-length {
    color: #047857;
    border-color: #6ee7b7;
    background: #ecfdf5;
}

.sketch-dim-badge.pulse-update {
    animation: dimPulse 0.45s ease;
}

@keyframes dimPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.12); box-shadow: 0 0 12px rgba(219, 39, 119, 0.5); }
    100% { transform: scale(1); }
}

/* Scale Gauge Bar below Viewport */
.sketch-scale-gauge-wrap {
    margin-top: 10px;
    padding: 8px 12px;
    background: #f1f5f9;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.78rem;
    color: #0f172a !important;
    font-weight: 700;
}

.sketch-scale-gauge-bar-outer {
    flex: 1;
    height: 6px;
    background: #cbd5e1;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.sketch-scale-gauge-bar-inner {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #ec4899);
    border-radius: 4px;
    transition: width 0.35s ease;
    width: 50%;
}

/* --- Right Column: Controls, Stepper & Specifications --- */
.sketch-controls-col {
    padding: 1.25rem 1.4rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Dynamic Size Stepper Box */
.sketch-stepper-box {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.sketch-stepper-title {
    font-size: 0.82rem;
    font-weight: 800;
    color: #0f172a !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sketch-stepper-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sketch-stepper-btn {
    background: #0f172a;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.18s ease;
    flex: 1;
    justify-content: center;
}

.sketch-stepper-btn:hover:not(:disabled) {
    background: var(--primary, #db2777);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(219, 39, 119, 0.25);
}

.sketch-stepper-btn:disabled {
    background: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.sketch-stepper-active-pill {
    background: #fdf2f8;
    border: 2px solid var(--primary, #db2777);
    color: var(--primary, #db2777);
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 1.1rem;
    font-weight: 800;
    min-width: 90px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(219, 39, 119, 0.15);
}

/* Quick Size Pills */
.studio-size-pills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.studio-size-pill {
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.studio-size-pill:hover {
    border-color: var(--primary, #db2777);
    color: var(--primary, #db2777);
    background: #fdf2f8;
}

.studio-size-pill.active {
    background: var(--primary, #db2777);
    color: #ffffff;
    border-color: var(--primary, #db2777);
    box-shadow: 0 3px 10px rgba(219, 39, 119, 0.3);
}

/* Metrics Grid */
.sketch-metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.sketch-metric-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
}

.sketch-metric-label {
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #475569 !important;
    display: flex;
    align-items: center;
    gap: 4px;
}

.sketch-metric-val {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a !important;
    margin-top: 2px;
}

/* Sizing Specification Table */
.sketch-spec-table-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.sketch-spec-table {
    width: 100%;
    font-size: 0.82rem;
    border-collapse: collapse;
    text-align: center;
}

.sketch-spec-table thead {
    background: #0f172a !important;
    color: #ffffff !important;
}

.sketch-spec-table th {
    padding: 8px 8px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #ffffff !important;
}

.card-active-size-tag {
    font-weight: 800;
    color: var(--primary, #db2777);
    margin-left: 4px;
    background: rgba(219, 39, 119, 0.1);
    padding: 1px 6px;
    border-radius: 4px;
    display: inline-block;
}

.sketch-spec-table td {
    padding: 7px 8px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s ease;
}

.sketch-spec-table tr:hover td {
    background: #f8fafc;
}

.sketch-spec-table tr.active-size-row td {
    background: #fdf2f8 !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    border-bottom: 1.5px solid #fbcfe8 !important;
}

.sketch-spec-table tr.active-size-row td:first-child {
    border-left: 3px solid var(--primary, #db2777);
    color: var(--primary, #db2777) !important;
}

/* Main Studio CTA Button */
.btn-studio-apply {
    background: var(--primary, #db2777);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(219, 39, 119, 0.35);
    width: 100%;
}

.btn-studio-apply:hover {
    background: #be185d;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(219, 39, 119, 0.45);
}

/* Studio Footer */
.sketch-studio-footer {
    padding: 0.8rem 1.4rem;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    flex-shrink: 0;
}

/* Responsive Media Queries for Size & Sketch Studio Modal */
@media (max-width: 960px) {
    .sketch-studio-modal {
        padding: 8px;
    }
    .sketch-studio-dialog {
        width: 100%;
        max-width: 580px;
        height: 96vh;
        height: 96dvh;
        max-height: 96vh;
        max-height: 96dvh;
        border-radius: 14px;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
    }
    .sketch-studio-header {
        padding: 0.75rem 1rem;
    }
    .sketch-studio-body {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        flex: 1 1 auto !important;
        min-height: 0 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        background: #f8fafc;
    }
    .sketch-viewport-col {
        border-right: none !important;
        border-bottom: 1px solid #e2e8f0 !important;
        padding: 0.6rem !important;
        min-height: auto !important;
        flex: 0 0 auto !important;
        background: #ffffff;
    }
    .sketch-viewport {
        min-height: 200px !important;
        max-height: 230px !important;
        height: 215px !important;
        border-radius: 10px !important;
    }
    .sketch-scale-canvas {
        padding: 4px !important;
        width: 100% !important;
        height: 100% !important;
    }
    .sketch-scale-canvas svg {
        max-height: 205px !important;
        max-width: 100% !important;
        width: auto !important;
    }
    .sketch-scale-canvas img {
        max-height: 200px !important;
        max-width: 100% !important;
    }
    .sketch-controls-col {
        padding: 0.75rem 1rem 1.5rem 1rem !important;
        gap: 0.75rem !important;
        flex: 1 0 auto !important;
    }
}

@media (max-width: 640px) {
    .sketch-studio-modal {
        padding: 4px !important;
    }
    .sketch-studio-dialog {
        width: 100% !important;
        height: 98vh !important;
        height: 98dvh !important;
        max-height: 98vh !important;
        max-height: 98dvh !important;
        border-radius: 10px !important;
    }
    .sketch-studio-header {
        padding: 0.55rem 0.75rem !important;
    }
    .sketch-studio-title {
        font-size: 0.95rem !important;
    }
    .sketch-studio-close-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 20px !important;
    }
    .sketch-viewport-col {
        padding: 0.45rem !important;
    }
    .sketch-viewport {
        min-height: 175px !important;
        max-height: 200px !important;
        height: 190px !important;
        border-radius: 8px !important;
    }
    .sketch-zoom-toolbar {
        top: 6px !important;
        right: 6px !important;
        padding: 2px 4px !important;
        gap: 2px !important;
    }
    .sketch-zoom-btn {
        width: 22px !important;
        height: 22px !important;
        font-size: 0.72rem !important;
    }
    .sketch-scale-canvas svg {
        max-height: 180px !important;
    }
    .sketch-scale-canvas img {
        max-height: 175px !important;
    }
    .sketch-controls-col {
        padding: 0.55rem 0.65rem 1.25rem 0.65rem !important;
        gap: 0.6rem !important;
    }
    .sketch-stepper-box {
        padding: 8px 8px !important;
        border-radius: 10px !important;
    }
    .sketch-stepper-title {
        font-size: 0.75rem !important;
        margin-bottom: 5px !important;
    }
    .sketch-stepper-controls {
        gap: 4px !important;
    }
    .sketch-stepper-btn {
        padding: 7px 6px !important;
        font-size: 0.78rem !important;
        border-radius: 6px !important;
        white-space: nowrap !important;
    }
    .sketch-stepper-active-pill {
        padding: 5px 8px !important;
        font-size: 0.92rem !important;
        min-width: 44px !important;
        border-radius: 6px !important;
    }
    .studio-size-pills-row {
        gap: 4px !important;
        margin-top: 6px !important;
        justify-content: center !important;
    }
    .studio-size-pill {
        padding: 4px 7px !important;
        font-size: 0.76rem !important;
        border-radius: 5px !important;
    }
    .sketch-metrics-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 5px !important;
    }
    .sketch-metric-card {
        padding: 5px 7px !important;
        border-radius: 6px !important;
    }
    .sketch-metric-label {
        font-size: 0.68rem !important;
    }
    .sketch-metric-val {
        font-size: 0.88rem !important;
        margin-top: 1px !important;
    }
    .sketch-spec-table-box {
        border-radius: 8px !important;
    }
    .sketch-spec-table-box > div:first-child {
        padding: 5px 8px !important;
    }
    .sketch-spec-table th {
        padding: 5px 3px !important;
        font-size: 0.68rem !important;
    }
    .sketch-spec-table td {
        padding: 5px 3px !important;
        font-size: 0.72rem !important;
    }
    .btn-studio-apply {
        padding: 9px 14px !important;
        font-size: 0.88rem !important;
        border-radius: 8px !important;
    }
}

