/* ============================================================
   IzzieShop Creative UI Theme (UI-only layer)
   Loaded AFTER the existing stylesheets on public pages, the
   admin/seller/agent dashboards and auth pages.

   This file only changes presentation: typography, colours,
   spacing, shadows, icon treatment and dashboard chrome.
   No PHP/JS/business logic is affected.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Sora:wght@500;600;700;800&family=Syne:wght@600;700;800&display=swap');

:root {
    --izzie-navy: #0e1f3a;
    --izzie-navy-2: #12284a;
    --izzie-green: #12a150;
    --izzie-green-2: #0f8a44;
    --izzie-gold: #e5b53c;
    --izzie-bg: #f5f7fb;
    --izzie-ink: #0f172a;
    --izzie-muted: #667085;
    --izzie-card: #ffffff;
    --izzie-line: #e8edf5;
    --izzie-radius: 18px;
    --izzie-radius-sm: 12px;
    --izzie-shadow: 0 12px 32px rgba(15, 31, 58, .08);
    --izzie-shadow-sm: 0 4px 14px rgba(15, 31, 58, .06);
    --izzie-font-body: 'Plus Jakarta Sans', 'Segoe UI', 'Helvetica Neue', Arial, system-ui, -apple-system, Roboto, sans-serif;
    --izzie-font-display: 'Sora', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --izzie-font-logo: 'Syne', var(--izzie-font-display);
    --izzie-gradient-primary: #12a150;
    --izzie-gradient-brand: #0e1f3a;
}

/* ------------------------------------------------------------
   1. TYPOGRAPHY
   ------------------------------------------------------------ */
body {
    font-family: var(--izzie-font-body) !important;
    color: var(--izzie-ink);
    background: var(--izzie-bg);
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: .002em;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "kern" 1, "liga" 1;
}

h1, h2, h3, h4, h5, h6,
.sidebar-brand,
.logo-modern,
.topbar-title,
.modern-card-title,
.section-title,
.footer-title {
    font-family: var(--izzie-font-display);
    letter-spacing: -.02em;
    line-height: 1.2;
    font-feature-settings: "kern" 1;
    text-wrap: balance;
}

h1 { font-weight: 800; }
h2, h3 { font-weight: 700; }
h4, h5, h6 { font-weight: 600; }

a { transition: color .2s ease; }
:focus-visible { outline: 2px solid var(--izzie-green); outline-offset: 2px; border-radius: 6px; }

/* ------------------------------------------------------------
   2. BUTTONS
   ------------------------------------------------------------ */
.btn {
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: .01em;
    transition: transform .18s ease, box-shadow .18s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn i, .btn .bi { margin-right: .35em; }
.btn i:last-child { margin-right: 0; }

.btn-success, .btn-primary {
    background: var(--izzie-gradient-primary);
    border: 0;
    box-shadow: 0 8px 18px rgba(18, 161, 80, .25);
}
.btn-success:hover, .btn-primary:hover {
    box-shadow: 0 10px 24px rgba(18, 161, 80, .32);
    filter: brightness(1.03);
}
.btn-outline-success { color: var(--izzie-green); border-color: var(--izzie-green); }
.btn-outline-success:hover { background: var(--izzie-green); border-color: var(--izzie-green); }
.btn-light { border: 1px solid var(--izzie-line); }
.btn-sm { border-radius: 10px; }
.btn-lg { border-radius: 14px; padding: .75rem 1.5rem; }

/* ------------------------------------------------------------
   3. CARDS
   ------------------------------------------------------------ */
.card, .modern-card {
    background: var(--izzie-card);
    border: 1px solid var(--izzie-line);
    border-radius: var(--izzie-radius);
    box-shadow: var(--izzie-shadow-sm);
}
.card:hover { box-shadow: var(--izzie-shadow); }

.card-header, .modern-card-header {
    border-bottom: 1px solid var(--izzie-line);
    background: transparent;
    border-radius: var(--izzie-radius) var(--izzie-radius) 0 0 !important;
    padding: 1rem 1.25rem;
    font-family: var(--izzie-font-display);
}
.modern-card-title { font-weight: 700; }
.modern-card-header i, .card-header i { color: var(--izzie-green); }

/* ------------------------------------------------------------
   4. FORMS
   ------------------------------------------------------------ */
.form-control, .form-select {
    border-radius: 12px;
    border: 1.5px solid var(--izzie-line);
    padding: .6rem .85rem;
    font-size: .95rem;
    transition: border-color .2s, box-shadow .2s;
}
.form-control:focus, .form-select:focus {
    border-color: var(--izzie-green);
    box-shadow: 0 0 0 4px rgba(18, 161, 80, .12);
}
.form-label {
    font-weight: 600;
    font-size: .86rem;
    color: var(--izzie-muted);
    letter-spacing: .01em;
}
.input-group-text {
    border-radius: 12px;
    background: #f2f5fa;
    border: 1.5px solid var(--izzie-line);
    color: var(--izzie-navy);
}

/* ------------------------------------------------------------
   5. BADGES / TABLES / ALERTS
   ------------------------------------------------------------ */
.badge { border-radius: 999px; font-weight: 600; padding: .4em .8em; }

.modern-table thead th {
    text-transform: uppercase;
    font-size: .72rem;
    letter-spacing: .08em;
    color: var(--izzie-muted);
    border-bottom: 1px solid var(--izzie-line);
    font-family: var(--izzie-font-body);
}
.modern-table tbody td { border-color: #f1f4f9; vertical-align: middle; }
.modern-table tbody tr:hover { background: #f8fafc; }

.modern-alert {
    border-radius: 14px;
    border: 1px solid var(--izzie-line);
    background: #fff;
    box-shadow: var(--izzie-shadow-sm);
}
.alert { border-radius: 14px; border: 0; }

/* ------------------------------------------------------------
   6. DASHBOARD — SIDEBAR
   ------------------------------------------------------------ */
.sidebar {
    background: var(--izzie-gradient-brand) !important;
    box-shadow: 12px 0 30px rgba(14, 31, 58, .18) !important;
}
.sidebar-brand { font-family: var(--izzie-font-display); letter-spacing: -.02em; }
.sidebar-brand i {
    color: var(--izzie-gold) !important;
    filter: drop-shadow(0 2px 6px rgba(229, 181, 60, .35));
}
.sidebar-header { border-bottom: 1px solid rgba(255, 255, 255, .12) !important; padding: 22px 20px !important; }
.sidebar-nav .nav-link {
    border-radius: 12px !important;
    font-weight: 600 !important;
    font-size: .9rem !important;
    padding: 11px 14px !important;
    color: rgba(255, 255, 255, .78) !important;
}
.sidebar-nav .nav-link i { width: 20px; text-align: center; font-size: 1.05rem; opacity: .95; }
.sidebar-nav .nav-link:hover { background: rgba(255, 255, 255, .10) !important; transform: translateX(4px); }
.sidebar-nav .nav-link.active {
    background: #e5b53c !important;
    color: #0e1f3a !important;
    box-shadow: 0 8px 18px rgba(229, 181, 60, .28);
}
.sidebar-nav .nav-link.active i { color: #0e1f3a; }
.sidebar-user-name { font-family: var(--izzie-font-display); }
.sidebar-user-role { color: var(--izzie-gold) !important; }

/* Agent portal uses a simpler sidebar markup */
.sidebar .nav-link {
    border-radius: 12px;
    font-weight: 600;
    transition: all .2s ease;
}
.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background: rgba(255, 255, 255, .14) !important;
    color: #fff !important;
    transform: translateX(3px);
}
.brand-logo {
    font-family: var(--izzie-font-display) !important;
    letter-spacing: -.02em;
    color: #ffffff !important;
}
.sidebar i.bi { filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .25)); }

/* ------------------------------------------------------------
   7. DASHBOARD — TOPBAR / CONTENT / STATS
   ------------------------------------------------------------ */
.topbar {
    background: rgba(255, 255, 255, .82) !important;
    backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--izzie-line);
    box-shadow: 0 6px 24px rgba(15, 31, 58, .05);
}
.topbar-title { font-weight: 800; letter-spacing: -.02em; color: var(--izzie-navy) !important; }
.topbar-btn {
    border-radius: 12px !important;
    border: 1px solid var(--izzie-line) !important;
    color: var(--izzie-navy) !important;
    font-weight: 600;
    transition: all .2s;
}
.topbar-btn:hover { background: var(--izzie-navy) !important; color: #fff !important; border-color: var(--izzie-navy) !important; }
.main-content { background: var(--izzie-bg); }
.content-wrapper { padding: 28px; }

.stat-card {
    border-radius: 18px;
    border: 1px solid var(--izzie-line);
    box-shadow: var(--izzie-shadow-sm);
    position: relative;
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease;
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--izzie-shadow); }
.stat-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: none;
    pointer-events: none;
}
.stat-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}
.stat-card.primary .stat-card-icon { background: #0e1f3a; color: #fff; }
.stat-card.success .stat-card-icon { background: #12a150; color: #fff; }
.stat-card.warning .stat-card-icon { background: #e5b53c; color: #0e1f3a; }
.stat-card.info .stat-card-icon { background: #0284c7; color: #fff; }
.stat-card.danger .stat-card-icon { background: #e5533d; color: #fff; }
.stat-card-info h6 {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--izzie-muted);
}
.stat-card-info h2 { font-family: var(--izzie-font-display); font-weight: 800; }

/* ------------------------------------------------------------
   8. PUBLIC HEADER / NAV
   ------------------------------------------------------------ */
.modern-header {
    background: rgba(255, 255, 255, .86) !important;
    backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid rgba(232, 237, 245, .9);
    box-shadow: 0 10px 30px rgba(15, 31, 58, .06) !important;
}
.logo-modern { font-family: var(--izzie-font-display) !important; letter-spacing: -.03em; font-weight: 800; }
.main-nav { background: transparent; }
.category-nav {
    border-top: 1px solid rgba(232, 237, 245, .8);
    border-bottom: 1px solid rgba(232, 237, 245, .8);
    background: rgba(255, 255, 255, .7);
}
.category-nav .nav-link {
    border-radius: 999px;
    padding: .35rem .85rem !important;
    font-weight: 600;
    font-size: .86rem;
    color: #31425c !important;
}
.category-nav .nav-link:hover { background: #eef6f1; color: var(--izzie-green) !important; }
.nav-icons .nav-icon-btn { border-radius: 14px; transition: transform .18s ease, background .18s; }
.nav-icons .nav-icon-btn:hover { background: #f1f6f3; transform: translateY(-1px); }

/* ------------------------------------------------------------
   9. CREATIVE ICON TREATMENT
   ------------------------------------------------------------ */
.izzie-icon-chip {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef7f2;
    color: var(--izzie-green);
    font-size: 1.15rem;
}
.trust-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef7f2;
    color: var(--izzie-green);
    font-size: 1.35rem;
    margin: 0 auto .75rem;
}
.trust-icon i, .section-label i, .seller-icon-placeholder i {
    filter: drop-shadow(0 3px 8px rgba(18, 161, 80, .2));
}

/* ------------------------------------------------------------
   10. FOOTER
   ------------------------------------------------------------ */
.footer-modern {
    background: #0e1f3a !important;
}
.footer-title { letter-spacing: .01em; font-weight: 700; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-modern .footer-links a { display: inline-block; transition: color .2s, transform .2s; }
.footer-modern .footer-links a:hover { color: var(--izzie-gold) !important; transform: translateX(2px); }

/* ------------------------------------------------------------
   11. PRODUCT CARDS
   ------------------------------------------------------------ */
.product-card-modern {
    border-radius: 20px;
    border: 1px solid var(--izzie-line);
    box-shadow: var(--izzie-shadow-sm);
    transition: transform .22s ease, box-shadow .22s ease;
    overflow: hidden;
}
.product-card-modern:hover { transform: translateY(-4px); box-shadow: var(--izzie-shadow); }
.product-title { font-family: var(--izzie-font-display); font-weight: 700; letter-spacing: -.01em; }
.product-price { color: var(--izzie-navy); font-weight: 800; }
.add-to-cart-btn, .product-action-btn {
    border-radius: 12px;
    transition: transform .18s ease, background .18s, color .18s;
}
.add-to-cart-btn:hover, .product-action-btn:hover { transform: translateY(-1px); }

/* ------------------------------------------------------------
   12. PAGINATION / DROPDOWNS / MODALS
   ------------------------------------------------------------ */
.pagination .page-link {
    border-radius: 10px !important;
    margin: 0 3px;
    border: 1px solid var(--izzie-line);
    color: var(--izzie-navy);
    font-weight: 600;
}
.pagination .page-item.active .page-link {
    background: var(--izzie-gradient-primary);
    border-color: transparent;
}
.modal-content { border-radius: 20px; border: 0; box-shadow: 0 30px 80px rgba(15, 31, 58, .25); }
.dropdown-menu { border-radius: 14px; border: 1px solid var(--izzie-line); box-shadow: var(--izzie-shadow); }
.dropdown-item { border-radius: 9px; font-weight: 500; }

/* ------------------------------------------------------------
   13. FLOATING WIDGETS / SCROLLBARS
   ------------------------------------------------------------ */
.izzie-ai-btn { box-shadow: 0 12px 28px rgba(14, 31, 58, .3) !important; }
.whatsapp-float { box-shadow: 0 12px 28px rgba(37, 211, 102, .35) !important; }

* { scrollbar-width: thin; scrollbar-color: #c9d4e3 transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb {
    background: #c9d4e3;
    border-radius: 8px;
    border: 2px solid transparent;
    background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background: #aebdd2; }

/* ------------------------------------------------------------
   14. RESPONSIVE POLISH
   ------------------------------------------------------------ */
@media (max-width: 991.98px) {
    .content-wrapper { padding: 18px; }
    .topbar-title { font-size: 1.05rem; }
}
@media (max-width: 575.98px) {
    .stat-card-icon { width: 44px; height: 44px; font-size: 1.1rem; }
    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.35rem; }
}

/* ------------------------------------------------------------
   15. SIGNATURE CREATIVE ACCENTS
   ------------------------------------------------------------ */
.logo-modern,
.sidebar-brand,
.brand-logo {
    font-family: var(--izzie-font-logo) !important;
    letter-spacing: -.03em;
    font-weight: 700;
}

/* Dashboard cards get a thin gradient crown + softer hover */
.main-content .card,
.main-content .modern-card {
    border-top: 3px solid #12a150;
    background: #ffffff;
    transition: transform .22s ease, box-shadow .22s ease;
}
.main-content .card:hover,
.main-content .modern-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--izzie-shadow);
}

/* Page titles: short gradient underline */
.topbar-title {
    position: relative;
    padding-bottom: 7px;
}
.topbar-title::after {
    content: "";
    display: block;
    width: 46px;
    height: 3px;
    border-radius: 99px;
    background: var(--izzie-gradient-primary);
    margin-top: 5px;
}

/* Big numbers use a brand gradient */
.stat-card-info h2 {
    color: #0e1f3a;
}

/* Table header tint */
.modern-table thead th { background: #f7fafc; }

/* Section eyebrows become pill labels */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .28rem .75rem;
    border-radius: 999px;
    background: #eef7f2;
    color: #0b6b3a;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: .72rem;
}

/* Category tiles + badges */
.category-item { transition: transform .2s ease; }
.category-item:hover { transform: translateY(-3px); }
.product-badge.new { background: #12a150; }
.product-badge.hot { background: #e8590c; }

/* Sidebar active dot + icon motion */
.sidebar-nav .nav-link.active { position: relative; }
.sidebar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    right: 12px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0e1f3a;
    opacity: .55;
}
.sidebar-nav .nav-link i { transition: transform .2s ease; }
.sidebar-nav .nav-link:hover i { transform: scale(1.12); }

/* Dashboard canvas: subtle aurora behind the content */
.main-content {
    background: var(--izzie-bg);
}

/* ------------------------------------------------------------
   16. CLEAN BROWSE UI (Jumia-style listing)
   ------------------------------------------------------------ */
.browse-hero {
    background: #f7faf9;
    border-bottom: 1px solid var(--izzie-line);
    padding: 22px 0 20px;
}
.browse-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: .8rem;
    color: var(--izzie-muted);
    margin-bottom: 10px;
}
.browse-breadcrumb a { color: var(--izzie-muted); text-decoration: none; }
.browse-breadcrumb a:hover { color: var(--izzie-green); }
.browse-breadcrumb .sep { opacity: .5; }
.browse-breadcrumb .current { color: var(--izzie-navy); font-weight: 600; }

.browse-hero h1 {
    font-family: var(--izzie-font-display);
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--izzie-navy);
}
.browse-hero p { color: var(--izzie-muted); }

.browse-filters { row-gap: .6rem; }
.browse-filters .form-select {
    background-color: #fff;
    border: 1.5px solid var(--izzie-line);
    border-radius: 12px;
    font-weight: 600;
    color: var(--izzie-navy);
    box-shadow: 0 1px 2px rgba(16, 24, 40, .03);
}
.browse-filters .form-select:focus {
    border-color: var(--izzie-green);
    box-shadow: 0 0 0 4px rgba(18, 161, 80, .12);
}

.section-modern { padding: 28px 0 60px; }
.products-grid { --bs-gutter-y: 1.75rem; }

/* Clean product tile */
.product-card-modern {
    border-radius: 16px;
    border: 1px solid #eef1f6;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
    background: #fff;
}
.product-card-modern:hover {
    box-shadow: 0 14px 30px rgba(16, 24, 40, .10);
    transform: translateY(-3px);
}
.product-image-wrapper {
    background: #fff;
    border-bottom: 1px solid #f4f6fa;
}
.product-card-modern .product-image-wrapper img {
    padding: 12px;
    object-fit: contain;
    transition: transform .25s ease;
}
.product-card-modern:hover .product-image-wrapper img { transform: scale(1.03); }
.product-image-indicators { display: none; }

.product-badge {
    background: #e5533d;
    border-radius: 8px;
    font-size: 11px;
    letter-spacing: .02em;
    padding: 4px 9px;
}
.product-badge.new { background: #12a150; }
.product-badge.hot { background: #e8590c; }

.product-actions { top: 8px; right: 8px; gap: 6px; }
.product-action-btn {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(16, 24, 40, .12);
    color: #475467;
}
.product-action-btn:hover { background: var(--izzie-navy); color: #fff; transform: none; }

.product-info { padding: 14px 14px 16px; }
.product-category {
    font-size: 10px;
    letter-spacing: .09em;
    color: #98a2b3;
    font-weight: 700;
    margin-bottom: 4px;
}
.product-seller {
    font-size: 11px;
    color: #98a2b3;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product-seller i { font-size: 10px; }
.product-title {
    font-size: .95rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.4;
    min-height: 2.8em;
    margin-bottom: 6px;
}
.product-rating { margin-bottom: 8px; gap: 4px; }
.stars { font-size: 12px; }
.rating-count { font-size: 11px; color: #98a2b3; }
.product-price-section { gap: 8px; margin-bottom: 10px; }
.product-price { font-size: 1.18rem; font-weight: 800; color: var(--izzie-navy); }
.product-price-old { font-size: .8rem; color: #98a2b3; }
.product-discount {
    background: #e8f7ee;
    color: #0b7a3d;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
}

.product-card-modern .add-to-cart-btn {
    background: var(--izzie-gradient-primary);
    border-radius: 10px;
    padding: 9px;
    font-size: .85rem;
}
.product-card-modern .add-to-cart-btn:hover { transform: translateY(-1px); filter: brightness(1.04); }
.product-card-modern .whatsapp-order-btn {
    background: #25d366;
    border-radius: 10px;
    padding: 9px 12px;
}
.product-card-modern .whatsapp-order-btn:hover { background: #1ebe5d; }
.product-action-buttons { margin-top: 10px; gap: 7px; }

/* ------------------------------------------------------------
   17. HOMEPAGE — JUMIA-STYLE LAYOUT
   ------------------------------------------------------------ */
.home-announce {
    background: #0e1f3a;
    color: #fff;
    font-size: .84rem;
    padding: .55rem 0;
}
.home-announce .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
}
.home-announce i { color: #e5b53c; }
.home-announce-link {
    color: #e5b53c;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.home-announce-link:hover { color: #fff; }

.home-promo-strip { padding: 18px 0 0; }
.promo-tile {
    display: flex;
    align-items: center;
    gap: .85rem;
    height: 100%;
    background: #fff;
    border: 1px solid var(--izzie-line);
    border-radius: 16px;
    padding: 14px 16px;
    color: var(--izzie-navy);
    text-decoration: none;
    box-shadow: var(--izzie-shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}
.promo-tile:hover {
    transform: translateY(-2px);
    box-shadow: var(--izzie-shadow);
    color: var(--izzie-navy);
}
.promo-tile > i:first-child {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef7f2;
    color: #12a150;
    font-size: 1.25rem;
}
.promo-copy { display: flex; flex-direction: column; min-width: 0; }
.promo-copy strong { font-family: var(--izzie-font-display); font-size: .95rem; line-height: 1.2; }
.promo-copy span { color: var(--izzie-muted); font-size: .8rem; }
.promo-arrow { margin-left: auto; color: #98a2b3; }
.promo-flash > i:first-child { background: #fff4e5; color: #e8590c; }
.promo-seller > i:first-child { background: #eef2ff; color: #3730a3; }
.promo-wa > i:first-child { background: #e9f9ef; color: #12a150; }

.flash-countdown {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: 8px;
    padding: 4px 12px;
    border-radius: 999px;
    background: #fff4e5;
    color: #b45309;
    font-size: .8rem;
    font-weight: 600;
}
.flash-countdown strong { font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.promo-verified > i:first-child { background: #eef7f2; color: #12a150; }

/* ------------------------------------------------------------
   18. SHOP OWNER / SELLER WORKSPACE
   ------------------------------------------------------------ */
.stat-card.seller-primary .stat-card-icon { background: #0e1f3a; color: #fff; }

.content-wrapper .table { --bs-table-bg: transparent; margin-bottom: 0; }
.content-wrapper .table thead th {
    background: #f7fafc;
    color: var(--izzie-muted);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    border-bottom: 1px solid var(--izzie-line);
    white-space: nowrap;
}
.content-wrapper .table tbody td {
    border-color: #f1f4f9;
    vertical-align: middle;
    padding: .85rem .75rem;
}
.content-wrapper .table-hover tbody tr:hover { background: #f8fafc; }
.content-wrapper .table-responsive { border-radius: 14px; }
.content-wrapper .card-body.p-0 { overflow: hidden; }

/* Harmonise Bootstrap utility buttons with the brand palette */
.btn-info { background: #0ea5e9; border: 0; color: #fff; }
.btn-info:hover { background: #0284c7; color: #fff; }
.btn-warning { background: #e5b53c; border: 0; color: #0e1f3a; }
.btn-warning:hover { background: #d9a520; color: #0e1f3a; }
.btn-danger { background: #e5533d; border: 0; }
.btn-danger:hover { background: #c9412d; }
.btn-outline-secondary { border-color: var(--izzie-line); color: var(--izzie-muted); }
.btn-outline-secondary:hover { background: var(--izzie-navy); border-color: var(--izzie-navy); color: #fff; }

/* ------------------------------------------------------------
   19. LEAFLET / OPENSTREETMAP POPUPS
   ------------------------------------------------------------ */
.izzie-map-popup {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', Arial, sans-serif;
    color: #1f2f46;
    line-height: 1.45;
    min-width: 210px;
    max-width: 280px;
}
.izzie-map-popup strong {
    display: block;
    font-size: .95rem;
    color: #192f59;
    margin-bottom: 4px;
}
.izzie-map-list {
    margin: 8px 0;
    padding-left: 18px;
}
.izzie-map-list li { margin-bottom: 4px; }
.izzie-map-popup a {
    color: #0f7a3d;
    font-weight: 700;
    text-decoration: none;
}
.izzie-map-popup a:hover { text-decoration: underline; }
.map-service-meta {
    display: block;
    color: #6b7a8d;
    font-size: .78rem;
    font-weight: 500;
}
.map-status-ok { color: #0f7a3d; font-weight: 700; }
.map-status-pending { color: #b07a00; font-weight: 700; }
.leaflet-container {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', Arial, sans-serif;
}
.leaflet-popup-content { margin: 14px 16px; }

/* ------------------------------------------------------------
   20. ADVERTISEMENT SLOTS
   ------------------------------------------------------------ */
.izzie-ad-container {
    margin-top: 18px;
    margin-bottom: 18px;
}
.izzie-ad-slot {
    position: relative;
    background: #fff;
    border: 1px solid var(--izzie-line);
    border-radius: 16px;
    padding: 18px 16px 14px;
    min-height: 110px;
    overflow: hidden;
}
.izzie-ad-label {
    display: inline-block;
    margin-bottom: 8px;
    color: #8290a3;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.izzie-ad-slot .adsbygoogle {
    display: block;
    width: 100%;
    min-height: 90px;
}

/* ------------------------------------------------------------
   21. PRODUCT REVIEWS + SELLER RATINGS
   ------------------------------------------------------------ */
.izzie-reviews-section {
    background: #f8fafc;
    border-top: 1px solid var(--izzie-line);
    padding: 56px 0;
}
.izzie-reviews-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.izzie-reviews-head h2 {
    color: var(--izzie-navy);
    font-weight: 800;
    margin: 8px 0;
}
.izzie-reviews-head p { color: var(--izzie-muted); max-width: 690px; }
.izzie-reviews-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #e9f8ef;
    border: 1px solid #c9eed8;
    color: #0f7a3d;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.izzie-review-score {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    color: var(--izzie-muted);
    font-size: .85rem;
}
.izzie-review-score strong {
    font-size: 1.8rem;
    line-height: 1;
    color: var(--izzie-navy);
}
.izzie-stars { color: #e5b53c; letter-spacing: .08em; white-space: nowrap; }
.izzie-stars-sm { font-size: .82rem; }
.izzie-review-card,
.izzie-review-breakdown,
.izzie-review-item,
.izzie-review-empty-state {
    background: #fff;
    border: 1px solid var(--izzie-line);
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(14, 31, 58, .05);
}
.izzie-review-card { padding: 22px; }
.izzie-review-breakdown { margin-top: 16px; padding: 16px 18px; }
.izzie-rating-row {
    display: grid;
    grid-template-columns: 38px 1fr 28px;
    align-items: center;
    gap: 10px;
    margin: 6px 0;
    color: var(--izzie-muted);
    font-size: .82rem;
}
.izzie-rating-track {
    height: 7px;
    background: #edf1f6;
    border-radius: 999px;
    overflow: hidden;
}
.izzie-rating-track span {
    display: block;
    height: 100%;
    background: #e5b53c;
    border-radius: inherit;
}
.izzie-review-list {
    display: grid;
    gap: 12px;
}
.izzie-review-item { padding: 20px; }
.izzie-review-item-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.izzie-reviewer { display: flex; align-items: center; gap: 10px; }
.izzie-reviewer-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0e1f3a;
    color: #fff;
    font-weight: 800;
}
.izzie-reviewer strong { display: block; color: var(--izzie-navy); font-size: .92rem; }
.izzie-review-date { display: block; color: var(--izzie-muted); font-size: .76rem; }
.izzie-review-item h4 { font-size: 1rem; color: var(--izzie-navy); font-weight: 800; margin: 8px 0 4px; }
.izzie-review-item p { color: #3e4d61; margin-bottom: 8px; }
.izzie-verified-review { color: #0f7a3d; font-size: .78rem; font-weight: 700; }
.izzie-review-empty-state {
    padding: 42px 24px;
    text-align: center;
    color: var(--izzie-muted);
}
.izzie-review-empty-state i { font-size: 2.2rem; color: #b8c4d4; }
.izzie-review-empty-state h3 { color: var(--izzie-navy); font-size: 1.1rem; margin: 10px 0 4px; }
.izzie-review-empty { color: var(--izzie-muted); }
.izzie-star-input {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
    font-size: 1.7rem;
}
.izzie-star-input input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.izzie-star-input label {
    color: #d5dde8;
    cursor: pointer;
    transition: color .15s, transform .15s;
}
.izzie-star-input label:hover,
.izzie-star-input label:hover ~ label,
.izzie-star-input input:checked ~ label {
    color: #e5b53c;
}
.izzie-star-input label:hover { transform: translateY(-2px); }
.izzie-review-flash { border: 0; border-radius: 12px; }
@media (max-width: 767px) {
    .izzie-reviews-section { padding: 38px 0; }
    .izzie-reviews-head { align-items: flex-start; }
    .izzie-review-score { align-items: flex-start; }
}



