/* =====================================================
   TOKO ONLINE - Responsive Style
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --brand-50: #eff6ff;
    --brand-100: #dbeafe;
    --brand-200: #bfdbfe;
    --brand-300: #93c5fd;
    --brand-400: #60a5fa;
    --brand-500: #3b82f6;
    --brand-600: #2563eb;
    --brand-700: #1d4ed8;
    --navy-50: #f0f4ff;
    --navy-200: #c7d2fe;
    --navy-500: #4338ca;
    --navy-600: #3730a3;
    --navy-700: #312e81;
    --navy-950: #0f172a;
    --ink-50: #f8fafc;
    --ink-100: #f1f5f9;
    --ink-200: #e2e8f0;
    --ink-300: #cbd5e1;
    --ink-400: #94a3b8;
    --ink-500: #64748b;
    --ink-600: #475569;
    --ink-700: #334155;
    --ink-800: #1e293b;
    --ink-900: #0f172a;
    --ink-950: #020617;
    --emerald-100: #d1fae5;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --gold-200: #fde68a;
    --gold-400: #fbbf24;
    --rose-100: #ffe4e6;
    --rose-400: #fb7185;
    --rose-500: #f43f5e;

    /* Fix Bootstrap 5.3.0-alpha1 color bugs */
    --bs-red: #dc3545;
    --bs-danger: #dc3545;
    --bs-danger-rgb: 220, 53, 69;
    --bs-form-invalid-color: #dc3545;
    --bs-danger-text-emphasis: #a71d2a;
    --bs-danger-bg-subtle: #f8d7da;
    --bs-danger-border-subtle: #f1aeb5;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    color: var(--ink-900);
    background: #fff;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { text-decoration: none; transition: all 0.2s; }
img { max-width: 100%; height: auto; }

/* =====================================================
   NAVIGATION
   ===================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}
.navbar.scrolled {
    border-bottom-color: var(--ink-200);
    background: rgba(255,255,255,0.95);
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 24px;
    max-width: 1152px;
    margin: 0 auto;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 800;
    color: var(--ink-900);
    letter-spacing: -0.5px;
}
.nav-brand .brand-icon {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 900;
    font-size: 18px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}
.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-600);
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink-900); }
.nav-links a.active { color: var(--brand-700); font-weight: 600; }
.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}
.nav-actions .btn-login {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-700);
}
.nav-actions .btn-login:hover { color: var(--brand-600); }

/* Custom buttons (non-Bootstrap, for landing page only) */
.btn-outline {
    background: white;
    color: var(--ink-800);
    border: 1.5px solid var(--ink-200);
}
.btn-outline:hover {
    border-color: var(--ink-300);
    transform: translateY(-1px);
    color: var(--ink-900);
}
.btn-white {
    background: white;
    color: var(--navy-700);
}
.btn-white:hover { transform: translateY(-2px); color: var(--navy-950); }
.btn-ghost {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-ghost:hover { background: rgba(255,255,255,0.2); color: white; }

/* =====================================================
   BOOTSTRAP COMPONENT OVERRIDES (for main site, no Bootstrap loaded)
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--brand-600), var(--navy-600));
    color: white;
    box-shadow: 0 4px 15px rgba(37,99,235,0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37,99,235,0.4);
    color: white;
}
.btn-sm { padding: 10px 18px; font-size: 13px; border-radius: 10px; }

/* Container */
.container { max-width: 1152px; margin: 0 auto; padding: 0 24px; }

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--brand-200);
    background: var(--brand-50);
    color: var(--brand-700);
}
.badge-gold {
    border-color: rgba(251,191,36,0.3);
    background: rgba(251,191,36,0.1);
    color: var(--gold-200);
}

/* =====================================================
   LAYOUT
   ===================================================== */
.section { padding: 80px 0; }
.section-sm { padding: 60px 0; }
.badge-gold {
    border-color: rgba(251,191,36,0.3);
    background: rgba(251,191,36,0.1);
    color: var(--gold-200);
}

/* Section Header */
.section-header { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.section-header h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: var(--ink-900);
    margin-bottom: 16px;
}
.section-header p {
    font-size: 16px;
    color: var(--ink-500);
    line-height: 1.7;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--brand-500), var(--brand-600), var(--navy-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card */
.card {
    border-radius: 16px;
    border: 1px solid var(--ink-200);
    background: white;
    transition: all 0.3s;
}

/* Icon Box */
.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: white;
    font-size: 22px;
    flex-shrink: 0;
}

/* Check/Cross */
.check { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-size: 11px; }
.check-green { background: var(--emerald-100); color: var(--emerald-600); }
.check-red { background: var(--rose-100); color: var(--rose-500); }

/* =====================================================
   HERO
   ===================================================== */
.hero {
    padding-top: 120px;
    padding-bottom: 80px;
    background: linear-gradient(180deg, rgba(239,246,255,0.7) 0%, white 100%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, currentColor 0.8px, transparent 0.8px);
    background-size: 22px 22px;
    color: var(--ink-300);
    opacity: 0.12;
}
.hero .blob1 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--brand-200);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    top: -100px;
    right: -100px;
}
.hero .blob2 {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--navy-200);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    bottom: -50px;
    left: -50px;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}
.hero-content h1 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}
.hero-content .desc {
    font-size: 13px;
    color: var(--ink-500);
    margin-bottom: 16px;
    max-width: 500px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--ink-600);
}
.hero-trust-item .check { width: 20px; height: 20px; }

/* Browser Mockup */
.browser-mockup {
    background: white;
    border-radius: 16px;
    border: 1px solid var(--ink-200);
    box-shadow: 0 25px 80px rgba(0,0,0,0.12);
    overflow: hidden;
}
.browser-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--ink-100);
    background: var(--ink-50);
}
.browser-dot { width: 10px; height: 10px; border-radius: 50%; }
.browser-url {
    flex: 1;
    background: white;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 12px;
    color: var(--ink-500);
    border: 1px solid var(--ink-200);
}
.browser-body { padding: 0; }

/* Store Mockup */
.store-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid var(--ink-100);
}
.store-avatar {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--brand-500), var(--navy-600));
    display: grid;
    place-items: center;
    color: white;
    font-weight: 700;
}
.store-info h4 { font-size: 14px; font-weight: 700; margin: 0; }
.store-info p { font-size: 12px; color: var(--ink-500); margin: 0; }
.store-banner {
    background: linear-gradient(135deg, var(--brand-500), var(--navy-600));
    color: white;
    padding: 16px;
    text-align: center;
}
.store-banner h3 { font-size: 18px; font-weight: 800; margin: 0 0 4px; }
.store-banner p { font-size: 13px; opacity: 0.9; margin: 0; }
.store-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 16px;
}
.store-product {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--ink-100);
}
.store-product-img {
    height: 70px;
    display: grid;
    place-items: center;
    color: white;
    font-weight: 700;
    font-size: 12px;
}
.store-product-info { padding: 8px; }
.store-product-info p { font-size: 11px; font-weight: 600; margin: 0 0 2px; }
.store-product-info span { font-size: 11px; color: var(--brand-600); font-weight: 700; }

/* Floating Notification */
.float-notif {
    position: absolute;
    bottom: 20px;
    right: -10px;
    background: white;
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: floatIn 0.5s ease-out;
    z-index: 5;
}
.float-notif .icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--emerald-100);
    display: grid;
    place-items: center;
    color: var(--emerald-600);
}
.float-notif .text { font-size: 13px; }
.float-notif .text strong { display: block; font-size: 12px; color: var(--emerald-600); }

@keyframes floatIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =====================================================
   DARK SECTION (Pro Features)
   ===================================================== */
.dark-section {
    background: linear-gradient(180deg, var(--ink-950), var(--navy-950), var(--ink-950));
    color: white;
    position: relative;
    overflow: hidden;
}
.dark-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--brand-500);
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    top: 10%;
    left: 10%;
}
.dark-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--navy-500);
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    bottom: 10%;
    right: 10%;
}
.dark-section .container { position: relative; z-index: 1; }
.dark-section .section-header h2 { color: white; }
.dark-section .section-header p { color: rgba(255,255,255,0.6); }
.dark-card {
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s;
}
.dark-card:hover {
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.08);
    transform: translateY(-2px);
}
.dark-card h4 { font-size: 17px; font-weight: 700; color: white; margin-bottom: 8px; }
.dark-card p { font-size: 14px; color: rgba(255,255,255,0.65); margin: 0; }
.dark-card .label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--brand-300); margin-bottom: 8px; }

/* =====================================================
   COMPARISON
   ===================================================== */
.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.compare-card {
    border-radius: 16px;
    padding: 32px;
}
.compare-card.marketplace { background: var(--ink-50); border: 1px solid var(--ink-200); }
.compare-card.ordero { border: 2px solid var(--brand-500); background: white; }
.compare-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 24px; }
.compare-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--ink-600);
}
.compare-item:last-child { margin-bottom: 0; }

/* =====================================================
   CALCULATOR
   ===================================================== */
.calc-card {
    background: white;
    border: 1px solid var(--ink-200);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.calc-value {
    font-size: 36px;
    font-weight: 900;
    color: var(--ink-900);
}
.calc-save {
    font-size: 24px;
    font-weight: 800;
    color: var(--emerald-500);
    padding: 12px 20px;
    border: 2px solid var(--emerald-100);
    border-radius: 12px;
    background: var(--emerald-100);
    display: inline-block;
}
.calc-bar {
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 700;
    color: white;
    transition: width 0.5s;
}
.calc-annual {
    font-size: 28px;
    font-weight: 900;
    padding: 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--brand-50), var(--navy-50));
    text-align: center;
}
input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--ink-200);
    outline: none;
    -webkit-appearance: none;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(37,99,235,0.3);
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonial-card {
    border-radius: 16px;
    border: 1px solid var(--ink-200);
    background: white;
    padding: 28px;
}
.testimonial-stars { color: var(--gold-400); margin-bottom: 16px; font-size: 16px; }
.testimonial-text { font-size: 15px; color: var(--ink-600); margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: white;
    font-weight: 700;
    font-size: 16px;
}
.testimonial-name { font-size: 14px; font-weight: 700; }
.testimonial-title { font-size: 12px; color: var(--ink-500); }

/* =====================================================
   CTA FINAL
   ===================================================== */
.cta-final {
    border-radius: 24px;
    background: linear-gradient(135deg, var(--navy-700), var(--brand-700), var(--brand-600));
    color: white;
    text-align: center;
    padding: 64px 32px;
    position: relative;
    overflow: hidden;
}
.cta-final::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, currentColor 0.8px, transparent 0.8px);
    background-size: 22px 22px;
    color: white;
    opacity: 0.12;
    pointer-events: none;
}
.cta-final .container { position: relative; z-index: 1; }
.cta-final h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 900; margin-bottom: 16px; }
.cta-final p { font-size: 17px; opacity: 0.85; margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    border-top: 1px solid var(--ink-200);
    padding: 48px 0 24px;
    background: white;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand p { font-size: 14px; color: var(--ink-500); margin-top: 12px; max-width: 280px; }
.footer h6 { font-size: 14px; font-weight: 700; margin-bottom: 16px; color: var(--ink-900); }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { font-size: 14px; color: var(--ink-600); }
.footer ul a:hover { color: var(--brand-600); }
.footer-section { }
.footer-bottom {
    border-top: 1px solid var(--ink-100);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--ink-500);
}

/* =====================================================
   GRID HELPERS
   ===================================================== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.text-center { text-align: center; }
.text-emerald { color: var(--emerald-500); }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }

/* =====================================================
   MOBILE MENU
   ===================================================== */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: white;
    z-index: 200;
    padding: 80px 24px 24px;
    overflow-y: auto;
}
.mobile-menu.show { display: block; }
.mobile-menu a {
    display: block;
    padding: 16px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--ink-700);
    border-bottom: 1px solid var(--ink-100);
}
.mobile-menu .btn { width: 100%; justify-content: center; margin-top: 20px; }

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink-700);
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s;
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* =====================================================
   PAGE HEADER (for inner pages)
   ===================================================== */
.page-header {
    background: linear-gradient(135deg, #2563eb, #3730a3);
    color: white;
    padding: 20px 0;
    margin-top: 75px;
}
.page-header h3 {
    margin-bottom: 6px;
}
.page-header p {
    margin-top: 4px;
    opacity: 0.85;
}

/* =====================================================
   PRODUCT CARD
   ===================================================== */
.product-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: all 0.3s;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.product-card .card-img-top {
    transition: transform 0.3s;
}
.product-card:hover .card-img-top {
    transform: scale(1.05);
}
.product-card .card-body small {
    display: block;
    margin-bottom: 4px;
    line-height: 1.4;
}
.product-card .card-body h6 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.card-hover:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.card-hover .card-body small {
    display: block;
    margin-bottom: 4px;
    line-height: 1.4;
}
.card-hover .card-body h6 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* =====================================================
   QUANTITY BUTTON
   ===================================================== */
.qty-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid #e9ecef;
    background: #fff;
    font-weight: 600;
    transition: all 0.2s;
}
.qty-btn:hover {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

/* =====================================================
   PAYMENT OPTION
   ===================================================== */
.payment-option {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 14px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}
.payment-option:hover {
    border-color: #4361ee;
    background: #f8f9ff;
}
.payment-option:has(input:checked) {
    border-color: #4361ee;
    background: #f0f4ff;
    box-shadow: 0 4px 15px rgba(67,97,238,0.15);
}

/* =====================================================
   RESPONSIVE - TABLET (768px - 1024px)
   ===================================================== */
@media (min-width: 768px) {
    .hero-grid { grid-template-columns: 1fr 1fr; }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* =====================================================
   RESPONSIVE - MOBILE (< 768px)
   ===================================================== */
@media (max-width: 767px) {
    /* Navigation */
    .nav-links { display: none; }
    .nav-actions .btn-login { display: none; }
    .navbar .container { padding: 8px 16px; }
    .hamburger { display: block; }
    
    /* Mobile nav layout */
    .navbar .container {
        flex-wrap: nowrap;
    }
    
    /* Hero */
    .hero { padding-top: 100px; padding-bottom: 60px; }
    .hero-content h1 { font-size: 32px; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; justify-content: center; }
    .hero-trust { flex-direction: column; gap: 12px; }
    
    /* Sections */
    .section { padding: 60px 0; }
    .section-sm { padding: 40px 0; }
    .section-header h2 { font-size: 24px; }
    .section-header p { font-size: 14px; }
    
    /* Grids */
    .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-2 { grid-template-columns: 1fr; }
    
    /* Cards */
    .card { padding: 16px; }
    
    /* Comparison */
    .compare-grid { grid-template-columns: 1fr; }
    
    /* Calculator */
    .calc-card { padding: 20px; }
    .calc-value { font-size: 28px; }
    .calc-save { font-size: 20px; padding: 10px 16px; }
    .calc-annual { font-size: 22px; padding: 16px; }
    
    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 16px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .footer-brand { margin-bottom: 8px; }
    
    .footer-section {
        background: white;
        border-radius: 12px;
        padding: 16px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.08);
        border: 1px solid var(--ink-100);
    }
    .footer-section h6 { 
        margin-bottom: 12px; 
        font-size: 15px; 
        padding-bottom: 10px;
        border-bottom: 2px solid var(--brand-500);
        display: inline-block;
    }
    .footer-section ul { padding: 0; margin: 0; }
    .footer-section ul li { margin-bottom: 0; }
    .footer-section ul li a { 
        display: flex;
        align-items: center;
        padding: 12px 0; 
        font-size: 14px;
        color: var(--ink-700);
        border-bottom: 1px solid var(--ink-100);
        transition: all 0.2s;
    }
    .footer-section ul li a:hover {
        color: var(--brand-600);
        padding-left: 8px;
    }
    .footer-section ul li:last-child a { border-bottom: none; }
    
    /* Store Mockup */
    .store-products { grid-template-columns: repeat(2, 1fr); }
    
    /* Float notification */
    .float-notif { display: none; }
    
    /* Page Header */
    .page-header { margin-top: 60px; padding: 16px 0; }
    .page-header h3 { font-size: 18px; margin-bottom: 8px; }
    .page-header p { font-size: 13px; }
    
    /* Product grid */
    .product-card .card-img-top { height: 140px; }
    
    /* Checkout table */
    .table { font-size: 13px; }
    .table td { padding: 8px; }
    
    /* Profile sidebar */
    .profile-sidebar { order: 2; }
    .profile-content { order: 1; }
}

/* =====================================================
   RESPONSIVE - SMALL MOBILE (< 480px)
   ===================================================== */
@media (max-width: 479px) {
    /* Container */
    .container { padding: 0 12px; }
    
    /* Hero */
    .hero { padding-top: 80px; padding-bottom: 40px; }
    .hero-content h1 { font-size: 24px; }
    .hero-content .desc { font-size: 12px; }
    
    /* Sections */
    .section { padding: 40px 0; }
    .section-header { margin-bottom: 32px; }
    .section-header h2 { font-size: 22px; }
    
    /* Grids */
    .grid-4 { grid-template-columns: 1fr; }
    
    /* Cards */
    .card { padding: 12px; border-radius: 12px; }
    .dark-card { padding: 16px; }
    
    /* Buttons */
    .btn { padding: 10px 16px; font-size: 13px; }
    .btn-sm { padding: 8px 12px; font-size: 12px; }
    
    /* Calculator */
    .calc-card { padding: 16px; }
    .calc-value { font-size: 24px; }
    .calc-save { font-size: 18px; }
    .calc-annual { font-size: 20px; }
    
    /* Testimonials */
    .testimonial-card { padding: 20px; }
    .testimonial-text { font-size: 14px; }
    
    /* CTA Final */
    .cta-final { padding: 40px 20px; border-radius: 16px; }
    .cta-final h2 { font-size: 22px; }
    .cta-final p { font-size: 14px; }
    
    /* Page Header */
    .page-header { padding: 14px 0; }
    .page-header h3 { font-size: 16px; }
    .page-header p { font-size: 12px; }
    
    /* Footer */
    .footer { padding: 24px 0 16px; }
    .footer-section { padding: 14px; }
    .footer-section h6 { font-size: 14px; margin-bottom: 10px; }
    .footer-section ul li a { padding: 10px 0; font-size: 13px; }
    
    /* Payment options */
    .payment-option { padding: 10px; }
    .payment-option .h4 { font-size: 20px; }
    .payment-option .small { font-size: 11px; }
    
    /* Cart items */
    .cart-item-img { width: 60px; height: 60px; }
    
    /* Product detail */
    .product-detail-img { max-height: 300px; }
    
    /* Order cards */
    .order-card .card-header { flex-direction: column; gap: 8px; }
}

/* =====================================================
   RESPONSIVE - EXTRA SMALL (< 360px)
   ===================================================== */
@media (max-width: 359px) {
    .hero-content h1 { font-size: 20px; }
    .section-header h2 { font-size: 20px; }
    .cta-final h2 { font-size: 20px; }
    .btn { padding: 8px 14px; font-size: 12px; }
}

/* =====================================================
   UTILITY CLASSES
   ===================================================== */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-inline-flex { display: inline-flex !important; }

/* Responsive display utilities */
@media (min-width: 576px) {
    .d-sm-none { display: none !important; }
    .d-sm-block { display: block !important; }
    .d-sm-flex { display: flex !important; }
}
@media (min-width: 768px) {
    .d-md-none { display: none !important; }
    .d-md-block { display: block !important; }
    .d-md-flex { display: flex !important; }
    .d-md-inline-flex { display: inline-flex !important; }
}
@media (min-width: 992px) {
    .d-lg-none { display: none !important; }
    .d-lg-block { display: block !important; }
    .d-lg-flex { display: flex !important; }
}
@media (min-width: 1200px) {
    .d-xl-none { display: none !important; }
    .d-xl-block { display: block !important; }
    .d-xl-flex { display: flex !important; }
}
.flex-column { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-grow-1 { flex-grow: 1 !important; }
.align-items-center { align-items: center !important; }
.align-items-start { align-items: flex-start !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.gap-1 { gap: 4px !important; }
.gap-2 { gap: 8px !important; }
.gap-3 { gap: 12px !important; }
.gap-4 { gap: 16px !important; }
.text-center { text-align: center !important; }
.text-end { text-align: right !important; }
.text-start { text-align: left !important; }
.fw-bold { font-weight: 700 !important; }
.fw-semibold { font-weight: 600 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 4px !important; }
.mb-2 { margin-bottom: 8px !important; }
.mb-3 { margin-bottom: 12px !important; }
.mb-4 { margin-bottom: 16px !important; }
.mb-5 { margin-bottom: 24px !important; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 4px !important; }
.mt-2 { margin-top: 8px !important; }
.mt-3 { margin-top: 12px !important; }
.mt-4 { margin-top: 16px !important; }
.mt-5 { margin-top: 24px !important; }
.ms-1 { margin-left: 4px !important; }
.ms-2 { margin-left: 8px !important; }
.me-1 { margin-right: 4px !important; }
.me-2 { margin-right: 8px !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.p-0 { padding: 0 !important; }
.p-2 { padding: 8px !important; }
.p-3 { padding: 12px !important; }
.p-4 { padding: 16px !important; }
.p-5 { padding: 24px !important; }
.py-2 { padding-top: 8px !important; padding-bottom: 8px !important; }
.py-3 { padding-top: 12px !important; padding-bottom: 12px !important; }
.py-4 { padding-top: 16px !important; padding-bottom: 16px !important; }
.py-5 { padding-top: 24px !important; padding-bottom: 24px !important; }
.px-2 { padding-left: 8px !important; padding-right: 8px !important; }
.px-4 { padding-left: 16px !important; padding-right: 16px !important; }
.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }
.border-0 { border: 0 !important; }
.border-bottom { border-bottom: 1px solid #dee2e6 !important; }
.border-top { border-top: 1px solid #dee2e6 !important; }
.border { border: 1px solid #dee2e6 !important; }
.shadow-sm { box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important; }
.rounded { border-radius: 8px !important; }
.rounded-circle { border-radius: 50% !important; }
.rounded-4 { border-radius: 16px !important; }
.overflow-hidden { overflow: hidden !important; }
.min-width-0 { min-width: 0 !important; }
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.sticky-top { position: sticky !important; top: 0 !important; }
.top-0 { top: 0 !important; }
.end-0 { right: 0 !important; }
.start-0 { left: 0 !important; }
.translate-middle { transform: translate(-50%, -50%) !important; }
.cursor-pointer { cursor: pointer !important; }
.text-decoration-none { text-decoration: none !important; }
.text-decoration-line-through { text-decoration: line-through !important; }
.opacity-75 { opacity: 0.75 !important; }
.small { font-size: 13px !important; }
.fs-5 { font-size: 1.25rem !important; }
.fs-6 { font-size: 1rem !important; }
.text-primary { color: #0d6efd !important; }
.text-danger { color: #dc3545 !important; }
.text-success { color: #198754 !important; }
.text-warning { color: #ffc107 !important; }
.text-muted { color: #6c757d !important; }
.text-white { color: #fff !important; }
.bg-white { background-color: #fff !important; }
.bg-light { background-color: #f8f9fa !important; }
.bg-primary { background-color: #0d6efd !important; }
.bg-danger { background-color: #dc3545 !important; }
.border-primary { border-color: #0d6efd !important; }
.border-danger { border-color: #dc3545 !important; }
.border-success { border-color: #198754 !important; }
.border-warning { border-color: #ffc107 !important; }
.border-bottom { border-bottom: 1px solid #dee2e6 !important; }
.border-top { border-top: 1px solid #dee2e6 !important; }

/* Form controls */
.form-control {
    display: block;
    width: 100%;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 8px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.form-control:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13,110,253,.25);
}
.form-label {
    display: inline-block;
    margin-bottom: 4px;
    font-weight: 500;
}
.form-select {
    display: block;
    width: 100%;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 8px;
}

/* Alert */
.alert {
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 16px;
    font-size: 14px;
}
.alert-success { background: #d1e7dd; color: #0f5132; border: 1px solid #badbcc; }
.alert-danger { background: #f8d7da; color: #842029; border: 1px solid #f5c2c7; }
.alert-warning { background: #fff3cd; color: #664d03; border: 1px solid #ffecb5; }
.alert-info { background: #cff4fc; color: #055160; border: 1px solid #b6effb; }

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 6px;
    line-height: 1;
}
.badge.bg-primary { background: #0d6efd !important; color: #fff; }
.badge.bg-success { background: #198754 !important; color: #fff; }
.badge.bg-warning { background: #ffc107 !important; color: #000; }
.badge.bg-danger { background: #dc3545 !important; color: #fff; }
.badge.bg-info { background: #0dcaf0 !important; color: #000; }
.badge.bg-secondary { background: #6c757d !important; color: #fff; }
.badge.bg-light { background: #f8f9fa !important; color: #212529; }
.badge.bg-dark { background: #212529 !important; color: #fff; }
.badge.rounded-pill { border-radius: 50px !important; }

/* Table */
.table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    border-collapse: collapse;
}
.table th,
.table td {
    padding: 8px 12px;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}
.table thead th {
    vertical-align: bottom;
    font-weight: 600;
}
.table-hover > tbody > tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Input group */
.input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}
.input-group > .form-control {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}
.input-group > .btn {
    position: relative;
    z-index: 2;
}
.input-group > .btn:not(:first-child) {
    margin-left: -1px;
}
.input-group > .btn:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.input-group > .btn:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}
.input-group > .btn:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}
.input-group-text {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    white-space: nowrap;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: 8px;
}
.input-group > .input-group-text:first-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.input-group > .form-control:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* List group */
.list-group {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    border-radius: 16px;
}
.list-group-flush {
    border-radius: 0;
}
.list-group-flush > .list-group-item {
    border-width: 0 0 1px;
    border-radius: 0;
}
.list-group-item {
    position: relative;
    display: block;
    padding: 12px 16px;
    color: var(--ink-800);
    text-decoration: none;
    background-color: #fff;
    border: 1px solid var(--ink-200);
}
.list-group-item:first-child {
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}
.list-group-item:last-child {
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
    border-bottom-width: 0;
}
.list-group-item-action {
    width: 100%;
    color: var(--ink-700);
    text-align: inherit;
    transition: background-color 0.15s;
}
.list-group-item-action:hover {
    background-color: var(--ink-50);
}
.list-group-item.bg-light {
    background-color: var(--ink-50) !important;
}

/* Progress */
.progress {
    display: flex;
    height: 8px;
    overflow: hidden;
    font-size: 12px;
    background-color: var(--ink-100);
    border-radius: 4px;
}
.progress-bar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    background-color: var(--brand-500);
    transition: width 0.6s ease;
}
.progress-bar.bg-warning {
    background-color: #ffc107 !important;
}

/* Button group */
.btn-group {
    position: relative;
    display: inline-flex;
    vertical-align: middle;
}
.btn-group > .btn {
    position: relative;
    flex: 1 1 auto;
    border-radius: 0;
}
.btn-group > .btn:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}
.btn-group > .btn:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}
.btn-group > .btn + .btn {
    margin-left: -1px;
}
.btn-group-sm > .btn {
    padding: 4px 8px;
    font-size: 12px;
}

/* Modal */
.modal-content {
    border: none;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.modal-header {
    border-bottom: 1px solid var(--ink-100);
    padding: 16px 20px;
}
.modal-body {
    padding: 20px;
}
.modal-footer {
    border-top: 1px solid var(--ink-100);
    padding: 12px 20px;
}
.btn-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
}
.btn-close:hover { opacity: 1; }

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1000;
    display: none;
    min-width: 180px;
    padding: 8px 0;
    margin: 4px 0 0;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.dropdown-menu.show { display: block; }
.dropdown-item {
    display: block;
    width: 100%;
    padding: 8px 16px;
    font-size: 14px;
    color: #212529;
    text-decoration: none;
    transition: background .15s;
}
.dropdown-item:hover { background: #f8f9fa; }
.dropdown-divider { height: 0; margin: 4px 0; border-top: 1px solid #dee2e6; }
.dropdown-header { padding: 8px 16px; font-size: 12px; font-weight: 600; color: #6c757d; }

/* Pagination */
.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    margin: 0;
}
.page-item {
    margin: 0 2px;
}
.page-link {
    position: relative;
    display: block;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--brand-600);
    text-decoration: none;
    background-color: #fff;
    border: 1px solid var(--ink-200);
    border-radius: 8px;
    transition: all 0.2s;
}
.page-link:hover {
    color: var(--brand-700);
    background-color: var(--brand-50);
    border-color: var(--brand-200);
}
.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: var(--brand-600);
    border-color: var(--brand-600);
}
.page-item.disabled .page-link {
    color: var(--ink-400);
    pointer-events: none;
    background-color: #fff;
    border-color: var(--ink-200);
}

/* Grid system */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: calc(var(--bs-gutter-x, 1.5rem) * -.5);
    margin-left: calc(var(--bs-gutter-x, 1.5rem) * -.5);
}
.row > * {
    box-sizing: border-box;
    flex-shrink: 0;
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x, 1.5rem) * .5);
    padding-left: calc(var(--bs-gutter-x, 1.5rem) * .5);
    margin-top: var(--bs-gutter-y, 0);
}
.row.g-0 { --bs-gutter-x: 0; --bs-gutter-y: 0; }
.row.g-1 { --bs-gutter-x: 0.25rem; --bs-gutter-y: 0.25rem; }
.row.g-2 { --bs-gutter-x: 0.5rem; --bs-gutter-y: 0.5rem; }
.row.g-3 { --bs-gutter-x: 1rem; --bs-gutter-y: 1rem; }
.row.g-4 { --bs-gutter-x: 1.5rem; --bs-gutter-y: 1.5rem; }
.col-4, .col-6, .col-12,
.col-sm-6,
.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9,
.col-lg-4, .col-lg-5, .col-lg-7, .col-lg-8 {
    flex: 0 0 auto;
    width: 100%;
}
.col-4 { width: 33.33333333%; }
.col-6 { width: 50%; }
.col-12 { width: 100%; }
@media (min-width: 576px) {
    .col-sm-6 { width: 50%; }
}
@media (min-width: 768px) {
    .col-md-1 { width: 8.33333333%; }
    .col-md-2 { width: 16.66666667%; }
    .col-md-3 { width: 25%; }
    .col-md-4 { width: 33.33333333%; }
    .col-md-5 { width: 41.66666667%; }
    .col-md-6 { width: 50%; }
    .col-md-7 { width: 58.33333333%; }
    .col-md-8 { width: 66.66666667%; }
    .col-md-9 { width: 75%; }
}
@media (min-width: 992px) {
    .col-lg-4 { width: 33.33333333%; }
    .col-lg-5 { width: 41.66666667%; }
    .col-lg-7 { width: 58.33333333%; }
    .col-lg-8 { width: 66.66666667%; }
}

/* =====================================================
   CARD TABLE STYLING (custom, not in Bootstrap)
   ===================================================== */
.card .table {
    margin-bottom: 0;
}
.card .table th {
    background-color: var(--ink-50);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ink-600);
    padding: 10px 12px;
    border-bottom: 2px solid var(--ink-200);
}
.card .table td {
    padding: 10px 12px;
    vertical-align: middle;
    font-size: 13px;
}
.card .table tbody tr:hover {
    background-color: var(--ink-50);
}

/* Stat cards - no hover effect */
.stat-card {
    transition: none !important;
}
.stat-card:hover {
    transform: none !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
}

/* Badge status */
.badge-status {
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

/* Quick actions */
.quick-actions .btn {
    margin-bottom: 4px;
}

/* =====================================================
   CUSTOM OVERRIDES (non-Bootstrap)
   ===================================================== */

/* Custom list-group rounded */
.list-group { border-radius: 16px; }
.list-group-item { color: var(--ink-800); border-color: var(--ink-200); }
.list-group-item-action:hover { background-color: var(--ink-50); }
.list-group-item.bg-light { background-color: var(--ink-50) !important; }

/* Additional utilities */
.rounded { border-radius: 8px !important; }
.text-dark { color: var(--ink-900) !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }
.align-items-end { align-items: flex-end !important; }
.justify-content-center { justify-content: center !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.d-inline-block { display: inline-block !important; }
.d-inline { display: inline !important; }
.overflow-auto { overflow: auto !important; }
.overflow-scroll { overflow: scroll !important; }

/* =====================================================
   SELLER DASHBOARD - COMPREHENSIVE RESPONSIVE
   ===================================================== */

/* Page header - wrap on mobile */
.page-header .d-flex {
    flex-wrap: wrap;
    gap: 8px;
}

/* Seller navigation wrapper */
.seller-nav-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin: 0 -0.25rem;
    padding: 0 0.25rem;
}
.seller-nav-wrapper::-webkit-scrollbar { display: none; }
.seller-nav-scroll {
    display: flex;
    gap: 6px;
    padding: 4px 0;
    min-width: max-content;
}
.seller-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-600);
    background: var(--ink-50);
    border: 1px solid transparent;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s;
    flex-shrink: 0;
}
.seller-nav-btn:hover {
    background: var(--brand-50);
    color: var(--brand-600);
    border-color: var(--brand-200);
}
.seller-nav-btn.active {
    font-weight: 600;
}
.seller-nav-btn.active.primary {
    background: var(--brand-600);
    color: #fff;
    border-color: var(--brand-600);
}
.seller-nav-btn.active.primary:hover {
    background: var(--brand-700);
    color: #fff;
}
.seller-nav-btn.active.warning {
    background: #f59e0b;
    color: #fff;
    border-color: #f59e0b;
}
.seller-nav-btn.active.info {
    background: #3b82f6;
    color: #fff;
    border-color: #3b82f6;
}
.seller-nav-btn.active.secondary {
    background: var(--ink-600);
    color: #fff;
    border-color: var(--ink-600);
}
.seller-nav-btn i {
    font-size: 12px;
    flex-shrink: 0;
}

/* Stat cards grid */
.stat-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

/* Quick actions */
.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.quick-actions .btn {
    flex: 0 0 auto;
}

/* Filter form */
.filter-form .form-control,
.filter-form .form-select {
    font-size: 14px;
}

/* Seller table improvements */
.seller-table {
    font-size: 13px;
}
.seller-table th {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    color: var(--ink-600);
    background: var(--ink-50);
    padding: 10px 12px;
    border-bottom: 2px solid var(--ink-200);
    white-space: nowrap;
}
.seller-table td {
    padding: 10px 12px;
    vertical-align: middle;
}

/* Message list item */
.msg-item {
    padding: 14px 16px;
    border-bottom: 1px solid var(--ink-100);
    transition: background 0.15s;
    cursor: pointer;
}
.msg-item:hover {
    background: var(--ink-50);
}
.msg-item:last-child {
    border-bottom: none;
}
.msg-item.unread {
    background: var(--brand-50);
}

/* Review card (mobile alternative to table) */
.review-card {
    border-bottom: 1px solid var(--ink-100);
    padding: 14px 0;
}
.review-card:last-child {
    border-bottom: none;
}

/* Order card (mobile alternative to table) */
.order-card {
    border: 1px solid var(--ink-200);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 10px;
    background: white;
}
.order-card:last-child {
    margin-bottom: 0;
}

/* Product list item (mobile) */
.produk-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--ink-100);
}
.produk-item:last-child {
    border-bottom: none;
}
.produk-item-img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--ink-50);
}
.produk-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.produk-item-info {
    flex: 1;
    min-width: 0;
}
.produk-item-info .nama {
    font-weight: 600;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.produk-item-info .meta {
    font-size: 12px;
    color: var(--ink-500);
}

/* Kategori list item (mobile) */
.kategori-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--ink-100);
}
.kategori-item:last-child {
    border-bottom: none;
}

/* Detail view card */
.detail-card {
    border: 1px solid var(--ink-200);
    border-radius: 16px;
    overflow: hidden;
    background: white;
}
.detail-card-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--ink-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.detail-card-body {
    padding: 20px;
}

/* Rating stars */
.rating-stars {
    display: inline-flex;
    gap: 2px;
}
.rating-stars i {
    font-size: 12px;
    color: var(--gold-400);
}

/* Seller responsive - Tablet */
@media (max-width: 991px) {
    .stat-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Seller responsive - Mobile */
@media (max-width: 767px) {
    /* Stat cards */
    .stat-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .stat-card .card-body { padding: 12px; }
    .stat-card h4 { font-size: 18px; }
    .stat-card small { font-size: 11px; }
    .stat-card [style*="font-size:24px"] { font-size: 18px !important; }

    /* Quick actions */
    .quick-actions {
        gap: 6px;
    }
    .quick-actions .btn {
        font-size: 12px;
        padding: 6px 10px;
    }

    /* Page header */
    .page-header .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
    }
    .page-header .d-flex > a.btn {
        width: 100%;
        justify-content: center;
    }

    /* Filter form */
    .filter-form .col-md-2,
    .filter-form .col-md-3,
    .filter-form .col-md-4,
    .filter-form .col-md-5 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    .filter-form .btn {
        width: 100%;
        justify-content: center;
    }

    /* Tables */
    .card .table td,
    .card .table th {
        padding: 8px;
        font-size: 12px;
    }

    /* Button groups in tables */
    .btn-group-sm .btn { padding: 3px 6px; font-size: 11px; }

    /* Review stats */
    .card .progress { height: 6px; }

    /* Pesan masuk detail */
    .card .d-flex.align-items-start { flex-wrap: wrap; }

    /* Kategori form sidebar */
    .card form .d-flex.gap-2 { flex-direction: column; }
    .card form .d-flex.gap-2 .btn { width: 100%; justify-content: center; }

    /* Pagination mobile */
    .pagination { flex-wrap: wrap; }
    .page-link { padding: 4px 8px; font-size: 12px; }

    /* Card padding on mobile */
    .card-body { padding: 0.75rem; }
    .card-header { padding: 0.5rem 0.75rem; }

    /* Table responsive */
    .table-responsive { margin: 0 -0.75rem; width: calc(100% + 1.5rem); }

    /* Seller nav */
    .seller-nav-btn {
        padding: 6px 10px;
        font-size: 12px;
        gap: 4px;
    }
    .seller-nav-btn i { font-size: 11px; }
    .seller-nav-btn span { display: none; }

    /* Detail card */
    .detail-card-body { padding: 14px; }
    .detail-card-header { padding: 12px 14px; flex-direction: column; align-items: flex-start; }

    /* Form rows on mobile */
    .row.g-3 > [class*="col-md-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Modal responsive */
    .modal-dialog {
        margin: 10px;
    }
    .modal-footer {
        flex-direction: column;
        gap: 8px;
    }
    .modal-footer .btn {
        width: 100%;
        justify-content: center;
    }

    /* Rating distribution */
    .rating-dist-bar {
        height: 6px;
    }
}

/* Seller responsive - Small mobile */
@media (max-width: 479px) {
    .stat-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    .stat-card .card-body { padding: 10px 8px; }
    .stat-card h4 { font-size: 16px; }
    .stat-card small { font-size: 10px; }
    .stat-card [style*="font-size:24px"] { font-size: 16px !important; }
    .stat-card [style*="font-size:22px"] { font-size: 16px !important; }

    .quick-actions .btn {
        font-size: 11px;
        padding: 5px 8px;
    }

    .produk-item-img {
        width: 40px;
        height: 40px;
    }
}


/* Stat cards - no hover effect */
.stat-card {
    transition: none !important;
}
.stat-card:hover {
    transform: none !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
}

/* Badge status */
.badge-status {
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

/* Dropdown (custom for landing page navbar) */
.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1000;
    display: none;
    min-width: 180px;
    padding: 8px 0;
    margin: 4px 0 0;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.dropdown-menu.show { display: block; }
.dropdown-item {
    display: block;
    width: 100%;
    padding: 8px 16px;
    font-size: 14px;
    color: #212529;
    text-decoration: none;
    transition: background .15s;
}
.dropdown-item:hover { background: #f8f9fa; }
.dropdown-divider { height: 0; margin: 4px 0; border-top: 1px solid #dee2e6; }
