
:root {
    --shopee-orange: #ee4d2d;
    --shopee-orange-hover: #d33c1d;
    --shopee-light-orange: #ffebd6;
    --text-primary: #212121;
    --text-secondary: #757575;
    --bg-light: #f5f5f5;
    --white: #ffffff;
    --border-color: #e8e8e8;
    --success: #26a69a;
    --shadow-sm: 0 1px 1px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 15px rgba(0,0,0,0.06);
    --radius-sm: 4px;
    --radius-md: 8px;
    --font-main: 'Inter', 'Kanit', sans-serif;
    --header-height: 120px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

body {
    background-color: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    outline: none;
    font-family: inherit;
    transition: all 0.2s ease-in-out;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
header {
    background: linear-gradient(-180deg, #f53d2d, #f63);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 10px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top bar utility navigation */
.header-top {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding-bottom: 10px;
}

.header-top-left, .header-top-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

.header-top a:hover {
    opacity: 0.8;
}

/* Main Header Area */
.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-top: 10px;
}

.logo {
    font-size: 32px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    text-decoration: none;
}

.logo i {
    font-size: 36px;
}

/* Logo image — transparent PNG on gradient header */
#shop-logo-img {
    height: var(--logo-img-height, 38px);
    max-width: 320px;
    object-fit: contain;
    vertical-align: middle;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    outline: none !important;
    border-radius: 0 !important;
    /* mix-blend-mode not needed — gradient is now baked into the uploaded image */
}

/* Search bar */
.search-container {
    flex: 1;
    display: flex;
    background-color: var(--white);
    padding: 3px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.search-input {
    flex: 1;
    border: none;
    padding: 10px 15px;
    font-size: 14px;
    outline: none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.search-btn {
    background-color: var(--shopee-orange);
    color: var(--white);
    padding: 0 24px;
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.search-btn:hover {
    background-color: var(--shopee-orange-hover);
}

/* Cart & Action buttons */
.header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.cart-icon-wrapper {
    position: relative;
    font-size: 26px;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--white);
    color: var(--shopee-orange);
    font-size: 11px;
    font-weight: 700;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--shopee-orange);
}

.admin-toggle-btn {
    background-color: rgba(255,255,255,0.2);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
    border: 1px solid rgba(255,255,255,0.3);
}

.admin-toggle-btn:hover {
    background-color: var(--white);
    color: var(--shopee-orange);
}

/* ==========================================================================
   Storefront Layout (Main View)
   ========================================================================== */
.view-section {
    display: block;
    padding: 30px 0;
    width: 100%;
    margin: 0 auto;
}

.hidden {
    display: none !important;
}

/* Banner section */
.promo-banner {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10px;
    margin-bottom: 25px;
}

.main-slider {
    background: linear-gradient(135deg, #ffe2e2 0%, #ffc0a3 100%);
    border-radius: var(--radius-sm);
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.slider-content h2 {
    font-size: 32px;
    color: var(--shopee-orange);
    margin-bottom: 10px;
    font-weight: 700;
}

.slider-content p {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.slider-btn {
    background-color: var(--shopee-orange);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.slider-image {
    width: 180px;
    height: 180px;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
}

.sub-banners {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sub-banner-card {
    height: 115px;
    border-radius: var(--radius-sm);
    background: var(--white);
    display: flex;
    align-items: center;
    padding: 15px;
    gap: 15px;
    box-shadow: var(--shadow-sm);
}

.sub-banner-card h4 {
    color: #4a4a4a;
    font-size: 15px;
    margin-bottom: 5px;
}

.sub-banner-card p {
    color: var(--shopee-orange);
    font-size: 13px;
    font-weight: 600;
}

.sub-banner-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

/* Category Slider */
.section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.categories-container {
    background-color: var(--white);
    border-radius: var(--radius-sm);
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
    min-height: 130px;
}

.categories-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #f0f0f0;
    border-radius: var(--radius-sm);
    background-color: #fff;
    padding: 10px 45px;
}

.categories-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-behavior: smooth;
    width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.categories-grid::-webkit-scrollbar {
    display: none;
}

.category-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    border: none;
    background: transparent;
    border-right: 1px solid #f0f0f0;
    border-radius: 0;
    flex-shrink: 0;
    cursor: pointer;
    color: var(--text-primary);
    transition: color 0.2s;
    justify-content: center;
    min-width: max-content;
}

.category-card:last-child {
    border-right: none;
}

.category-card:hover {
    transform: none;
    box-shadow: none;
    color: var(--shopee-orange);
}

.category-card.active {
    background-color: transparent;
    border: none;
    border-right: 1px solid #f0f0f0;
    color: var(--shopee-orange);
    font-weight: bold;
}

.category-card.active:last-child {
    border-right: none;
}

.category-icon {
    width: auto;
    height: auto;
    background-color: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: inherit;
}

.category-card.active .category-icon {
    background-color: transparent;
}

.category-name {
    font-size: 14px;
    font-weight: 500;
    color: inherit;
}

/* Slider buttons styling */
.categories-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #ebebeb;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #555;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.2s;
    z-index: 10;
}

.categories-slider-btn.prev {
    left: 10px;
}

.categories-slider-btn.next {
    right: 10px;
}

.categories-slider-btn:hover {
    background-color: #f6f6f6;
    color: var(--shopee-orange);
}

.categories-slider-btn.disabled {
    opacity: 0.3;
    pointer-events: none;
}

/* ==========================================================================
   MOBILE & TABLET CATEGORY DROPDOWN
   Beautiful styled select dropdown for screens <= 992px
   ========================================================================== */

/* Mobile Category Bar — hidden on desktop */
.mobile-category-bar {
    display: none;
}

@media (max-width: 992px) {
    /* Hide desktop horizontal slider on mobile */
    .categories-container {
        display: none;
    }

    /* Show mobile dropdown bar */
    .mobile-category-bar {
        display: block;
        padding: 10px 14px 12px;
        background: var(--white);
        border-bottom: 1px solid #f0f0f0;
        box-shadow: 0 1px 4px rgba(0,0,0,0.06);
        margin-bottom: 4px;
    }

    /* Wrapper with relative for arrow icon */
    .mobile-cat-dropdown-wrap {
        position: relative;
        display: flex;
        align-items: center;
        background: #fff8f5;
        border: 1.5px solid #ffd6c8;
        border-radius: 10px;
        overflow: hidden;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .mobile-cat-dropdown-wrap:focus-within {
        border-color: var(--shopee-orange);
        box-shadow: 0 0 0 3px rgba(238, 77, 45, 0.12);
    }

    /* Icon on the left */
    .mobile-cat-dropdown-icon {
        position: absolute;
        left: 13px;
        color: var(--shopee-orange);
        font-size: 14px;
        pointer-events: none;
        z-index: 2;
    }

    /* The select element — full width, no system arrow */
    .mobile-cat-select {
        width: 100%;
        padding: 11px 40px 11px 38px;
        border: none;
        background: transparent;
        font-size: 14px;
        font-weight: 600;
        color: var(--text-primary);
        font-family: var(--font-main);
        cursor: pointer;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        outline: none;
        z-index: 1;
    }

    /* Custom chevron arrow on the right */
    .mobile-cat-dropdown-arrow {
        position: absolute;
        right: 13px;
        color: var(--shopee-orange);
        font-size: 12px;
        pointer-events: none;
        z-index: 2;
        transition: transform 0.2s ease;
    }

    .mobile-cat-dropdown-wrap:focus-within .mobile-cat-dropdown-arrow {
        transform: rotate(180deg);
    }
}

/* Tablet: slightly more spacious */
@media (min-width: 577px) and (max-width: 992px) {
    .mobile-category-bar {
        padding: 12px 20px 14px;
    }

    .mobile-cat-select {
        font-size: 15px;
        padding: 13px 44px 13px 42px;
    }
}


/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

/* Product Card */
.product-card {
    background-color: var(--white);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    transition: all 0.2s ease-in-out;
    box-shadow: var(--shadow-sm);
    border: 1px solid transparent;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-color: var(--shopee-orange);
    z-index: 2;
}

.product-img-wrapper {
    width: 100%;
    padding-top: 100%;
    position: relative;
    background-color: #fafafa;
}

.product-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.discount-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: rgba(255, 216, 57, 0.95);
    color: var(--shopee-orange);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
}

.discount-badge span {
    color: var(--text-primary);
    font-size: 9px;
    font-weight: 400;
}

.mall-badge {
    position: absolute;
    top: 10px;
    left: 0;
    background-color: #d0011b;
    color: var(--white);
    font-size: 9px;
    font-weight: 700;
    padding: 2px 4px;
    border-radius: 0 2px 2px 0;
}

.product-info {
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-title {
    font-size: 13px;
    height: 38px;
    overflow: hidden;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: var(--text-primary);
    line-height: 1.4;
}

.product-price-row {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-top: 4px;
}

.original-price {
    font-size: 11px;
    text-decoration: line-through;
    color: var(--text-secondary);
}

.sale-price {
    font-size: 16px;
    font-weight: 600;
    color: var(--shopee-orange);
}

.sale-price-symbol {
    font-size: 12px;
    font-weight: 600;
}

.product-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.product-rating {
    color: #ffcc00;
    display: flex;
    align-items: center;
    gap: 2px;
}

.product-location {
    font-size: 11px;
    color: var(--text-secondary);
    text-align: right;
    border-top: 1px solid var(--border-color);
    padding-top: 4px;
    margin-top: 4px;
}

/* ==========================================================================
   Admin Dashboard Layout
   ========================================================================== */
#view-admin.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    padding: 30px 20px;
}

.admin-container {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 30px;
    width: 100%;
    align-items: start;
}

.admin-sidebar {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 20px;
    height: fit-content;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.admin-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 8px;
    transition: all 0.2s;
    width: 100%;
    text-align: left;
}

.admin-menu-item:hover, .admin-menu-item.active {
    background-color: var(--shopee-light-orange);
    color: var(--shopee-orange);
}

.admin-main {
    display: flex;
    flex-direction: column;
    gap: 25px;
    min-width: 0; /* Important context: allows sub-grid/flex items to wrap instead of forcing container stretch */
    overflow: hidden; /* Avoid visual layout overflow */
}

/* Statistics row */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.stat-icon.stat-gold {
    background-color: #fff9db;
    color: #f59f00;
}

.stat-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-info h3 {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 5px;
}

.stat-info p {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.stat-orange {
    background-color: var(--shopee-light-orange);
    color: var(--shopee-orange);
}

.stat-blue {
    background-color: #e3f2fd;
    color: #1e88e5;
}

.stat-green {
    background-color: #e8f5e9;
    color: var(--success);
}

.stat-purple {
    background-color: #f3e5f5;
    color: #8e24aa;
}

/* Admin content block */
.admin-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 25px;
    box-shadow: var(--shadow-sm);
}

.admin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.admin-card-header h2 {
    font-size: 18px;
    font-weight: 600;
}

.btn-primary {
    background-color: var(--shopee-orange);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background-color: var(--shopee-orange-hover);
}

.btn-outline {
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
}

.btn-outline:hover {
    background-color: #f5f5f5;
    color: var(--text-primary);
}

/* Admin table styling */
.table-responsive {
    overflow-x: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

/* Premium horizontal scrollbar style for tables */
.table-responsive::-webkit-scrollbar {
    height: 6px;
}
.table-responsive::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.03);
    border-radius: 10px;
}
.table-responsive::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    transition: background 0.2s ease;
}
.table-responsive::-webkit-scrollbar-thumb:hover {
    background: var(--shopee-orange);
}

.admin-table {
    width: 100%;
    min-width: 800px; /* Ensure table column contents don't squeeze too much and overflow-x triggers correctly */
    border-collapse: collapse;
    text-align: left;
}

.admin-table th, .admin-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.admin-table th {
    background-color: #fafafa;
    font-weight: 600;
    color: var(--text-secondary);
}

.admin-table tr:hover {
    background-color: #fafafa;
}

.admin-table tr.dragging {
    opacity: 0.4;
    background-color: #f1f1f1;
}

.admin-table tr.drag-over {
    border-top: 2px solid var(--shopee-orange);
    background-color: #fff8f5;
}

.table-product-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.table-product-img {
    width: 45px;
    height: 45px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.action-buttons {
    display: flex;
    gap: 8px;
}

.btn-action-edit {
    color: #1e88e5;
    font-size: 16px;
}

.btn-action-edit:hover {
    transform: scale(1.1);
}

.btn-action-delete {
    color: #d0011b;
    font-size: 16px;
}

.btn-action-delete:hover {
    transform: scale(1.1);
}

/* ==========================================================================
   Modals
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 150;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: var(--white);
    border-radius: var(--radius-md);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transform: translateY(30px);
    transition: transform 0.3s ease;
    position: relative;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
}

.modal-close-btn {
    font-size: 20px;
    color: var(--text-secondary);
}

.modal-close-btn:hover {
    color: var(--text-primary);
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 15px 20px;
    border-top: 1px solid var(--border-color);
    background-color: #fafafa;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

/* Forms styling */
.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.form-control:focus {
    border-color: var(--shopee-orange);
}

/* Password eye toggle wrapper */
.password-input-wrapper {
    position: relative;
    width: 100%;
}
.password-input-wrapper .form-control {
    padding-right: 40px; /* Make space for eye icon */
}
.password-toggle-eye {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 16px;
    z-index: 10;
    transition: color 0.2s;
}
.password-toggle-eye:hover {
    color: var(--shopee-orange);
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Image preview in form */
.img-preview-container {
    width: 100%;
    height: 150px;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-sm);
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.img-preview {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.img-preview-placeholder {
    color: var(--text-secondary);
    font-size: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

/* ==========================================================================
   Product Detail Modal Specifics
   ========================================================================== */
.modal-product-detail {
    max-width: 800px;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 25px;
}

.detail-img-container {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: #fafafa;
}

.detail-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.detail-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.detail-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.detail-rating-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 14px;
}

.detail-rating-row .rating-val {
    color: #ee4d2d;
    font-weight: 700;
    text-decoration: underline;
    font-size: 16px;
}

.detail-rating-row .rating-stars {
    color: #ee4d2d;
    display: flex;
    gap: 2px;
    font-size: 14px;
}

.detail-rating-row .divider {
    color: #ccc;
}

.detail-rating-row .reviews-count {
    color: #222;
}

.detail-rating-row .reviews-count u {
    font-weight: 600;
    color: #222;
    text-decoration: underline;
}

.detail-rating-row .sold-count {
    color: #222;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.detail-price-box {
    background-color: #fafafa;
    padding: 15px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.detail-price {
    font-size: 26px;
    font-weight: 600;
    color: var(--shopee-orange);
}

.detail-original-price {
    font-size: 14px;
    text-decoration: line-through;
    color: var(--text-secondary);
}

.detail-desc-title {
    font-weight: 600;
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
    margin-top: 10px;
}

.detail-desc {
    font-size: 13px;
    color: var(--text-secondary);
    max-height: 150px;
    overflow-y: auto;
    line-height: 1.6;
}

.detail-meta-item {
    font-size: 13px;
    display: flex;
    gap: 10px;
}

.detail-meta-label {
    font-weight: 500;
    color: var(--text-secondary);
    min-width: 80px;
}

/* ==========================================================================
   Shopping Cart UI
   ========================================================================== */
.cart-modal {
    max-width: 500px;
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 350px;
    overflow-y: auto;
    padding-right: 5px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-size: 13px;
    font-weight: 500;
    height: 36px;
    overflow: hidden;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.cart-item-price {
    font-size: 14px;
    color: var(--shopee-orange);
    font-weight: 600;
    margin-top: 4px;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
}

.qty-btn {
    border: 1px solid var(--border-color);
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.qty-btn:hover {
    background-color: #eee;
}

.cart-summary {
    margin-top: 20px;
    border-top: 2px solid var(--border-color);
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 600;
}

.cart-total-price {
    color: var(--shopee-orange);
}

.empty-cart-message {
    text-align: center;
    color: var(--text-secondary);
    padding: 30px 0;
    font-size: 14px;
}

/* Footer Section */
footer {
    background-color: var(--white);
    border-top: 4px solid var(--shopee-orange);
    padding: 40px 0;
    margin-top: 50px;
    font-size: 13px;
    color: var(--text-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-column h3 {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 8px;
}

.footer-column li a:hover {
    color: var(--shopee-orange);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--border-color);
    margin-top: 30px;
    padding-top: 20px;
    font-size: 12px;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* User Management Panel Styles */
.user-badge {
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
}
.user-badge.admin {
    background-color: #ffe8ec;
    color: #ff3f6c;
}
.user-badge.seller {
    background-color: #e3fcef;
    color: #00875a;
}

.btn-logout {
    color: #fff;
    background-color: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    cursor: pointer;
    font-weight: 500;
}
.btn-logout:hover {
    background-color: var(--white);
    color: var(--shopee-orange);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgba(33, 33, 33, 0.9);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 200;
    font-size: 14px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* ==========================================================================
   Responsive adjustments
   ========================================================================== */
@media (max-width: 1100px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .admin-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .admin-sidebar {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        white-space: nowrap;
        gap: 10px;
        padding: 12px;
        background-color: var(--white);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-sm);
        scrollbar-width: none; /* Firefox */
        -webkit-overflow-scrolling: touch;
        margin-bottom: 5px;
        width: 100%;
    }
    .admin-sidebar::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    .admin-menu-item {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 16px;
        margin-bottom: 0;
        width: auto;
        flex-shrink: 0;
        font-size: 13px;
        border-radius: var(--radius-sm);
    }
    .promo-banner {
        grid-template-columns: 1fr;
    }
    .main-slider {
        height: 200px;
        padding: 20px;
    }
    .slider-image {
        width: 140px;
        height: 140px;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    header {
        position: static; /* Disable sticky header on mobile/tablet */
    }
    .header-top {
        flex-direction: column;
        align-items: center;
        gap: 5px;
        text-align: center;
    }
    .header-top-left {
        display: none; /* Hide left links on mobile to save vertical space */
    }
    .header-main {
        flex-direction: column;
        gap: 15px;
        padding-bottom: 15px;
    }
    .search-container {
        width: 100%;
    }
    .header-actions {
        width: 100%;
        justify-content: center;
        gap: 20px;
    }
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    /* Responsive Stats for mobile - turns into a premium swipeable strip */
    .stats-grid {
        display: flex;
        overflow-x: auto;
        gap: 12px;
        padding-bottom: 10px;
        scrollbar-width: none; /* Firefox */
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }
    .stats-grid::-webkit-scrollbar {
        display: none; /* Hide scrollbars for app-like look */
    }
    .stats-grid .stat-card {
        flex: 0 0 180px;
        padding: 15px;
        box-shadow: var(--shadow-sm);
        border: 1px solid rgba(0, 0, 0, 0.03);
    }
    .stats-grid .stat-info p {
        font-size: 20px;
    }
    .stats-grid .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    /* Admin Card Header stack */
    .admin-card-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 15px;
    }
    .admin-card-header > div {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        width: 100%;
    }
    .admin-card-header button, 
    .admin-card-header .btn-primary,
    .admin-card-header .btn-outline {
        flex: 1 1 auto;
        padding: 10px 14px;
        font-size: 13px;
        justify-content: center;
    }

    /* Admin filters stack */
    .admin-filters-row {
        flex-direction: column;
        align-items: stretch !important;
        gap: 10px !important;
    }
    .admin-filters-row .filter-group {
        width: 100% !important;
        min-width: 0 !important;
    }
    .admin-filters-row .filter-group input,
    .admin-filters-row .filter-group select {
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    /* Admin table responsive cell optimizations */
    .admin-table th, .admin-table td {
        padding: 10px 12px;
        font-size: 13px;
    }
    .table-product-img {
        width: 35px;
        height: 35px;
    }
    
    /* Touch targets and headers padding optimization */
    .admin-card-header {
        padding: 15px !important;
    }
}

@media (max-width: 576px) {
    .header-top {
        padding: 5px 0;
    }
    .header-main {
        gap: 10px;
    }
    .logo {
        font-size: 26px;
    }
    .logo i {
        font-size: 30px;
    }
    .search-input {
        padding: 8px 12px;
        font-size: 13px;
    }
    .search-btn {
        padding: 0 16px;
        font-size: 13px;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr); /* Two columns on mobile */
        gap: 15px;
    }
    .categories-slider-wrapper {
        padding: 10px 15px;
    }
    .categories-slider-btn {
        display: none !important; /* Swipe navigation is native on mobile */
    }
    .main-slider {
        flex-direction: column;
        height: auto;
        padding: 20px 15px;
        text-align: center;
        gap: 15px;
    }
    .slider-content h2 {
        font-size: 24px;
    }
    .slider-content p {
        font-size: 14px;
        margin-bottom: 15px;
    }
    .slider-image {
        width: 120px;
        height: 120px;
    }
}

/* ==========================================================================
   ICON PICKER
   ========================================================================== */

.icon-picker-container {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--white);
    margin-top: 4px;
}

.icon-picker-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-light);
    position: sticky;
    top: 0;
    z-index: 2;
}

.icon-picker-search input {
    border: none;
    background: transparent;
    font-size: 13px;
    color: var(--text-primary);
    outline: none;
    width: 100%;
    font-family: var(--font-main);
}

.icon-picker-search input::placeholder {
    color: var(--text-secondary);
}

.icon-picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
    gap: 4px;
    padding: 10px;
    max-height: 260px;
    overflow-y: auto;
}

.icon-picker-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 4px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.15s ease;
    background: transparent;
    color: var(--text-secondary);
    font-size: 11px;
    text-align: center;
    word-break: break-all;
    min-height: 58px;
}

.icon-picker-item i {
    font-size: 20px;
    line-height: 1;
    color: var(--text-primary);
    transition: color 0.15s;
}

.icon-picker-item:hover {
    background: var(--shopee-light-orange);
    border-color: var(--shopee-orange);
    color: var(--shopee-orange);
}

.icon-picker-item:hover i {
    color: var(--shopee-orange);
}

.icon-picker-item.selected {
    background: var(--shopee-light-orange);
    border-color: var(--shopee-orange);
    color: var(--shopee-orange);
}

.icon-picker-item.selected i {
    color: var(--shopee-orange);
}

.icon-picker-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 24px;
    color: var(--text-secondary);
    font-size: 13px;
}

/* Scrollbar inside icon picker */
.icon-picker-grid::-webkit-scrollbar {
    width: 5px;
}
.icon-picker-grid::-webkit-scrollbar-track {
    background: var(--bg-light);
}
.icon-picker-grid::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

/* ==========================================================================
   POPUP PROMOTION — Storefront Display Overlay
   ========================================================================== */

.promo-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: promoFadeIn 0.35s ease;
}

.promo-popup-overlay.visible {
    display: flex;
}

.promo-popup-overlay.hiding {
    animation: promoFadeOut 0.3s ease forwards;
}

@keyframes promoFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes promoFadeOut {
    from { opacity: 1; }
    to   { opacity: 0; }
}

.promo-popup-box {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 25px 80px rgba(0,0,0,0.35);
    position: relative;
    animation: promoSlideUp 0.4s cubic-bezier(0.34,1.56,0.64,1);
}

@keyframes promoSlideUp {
    from { transform: translateY(60px) scale(0.9); opacity: 0; }
    to   { transform: translateY(0)    scale(1);   opacity: 1; }
}

.promo-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
    color: #333;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}
.promo-popup-close:hover {
    background: #fff;
    transform: rotate(90deg) scale(1.1);
    color: var(--shopee-orange);
}

/* Image area */
.promo-popup-img-wrap {
    width: 100%;
    max-height: 220px;
    overflow: hidden;
    display: none;
}
.promo-popup-img-wrap.has-img {
    display: block;
}
.promo-popup-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* Body area with gradient */
.promo-popup-body {
    padding: 28px 30px 30px;
    text-align: center;
    position: relative;
}

.promo-popup-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--shopee-light-orange);
    color: var(--shopee-orange);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 14px;
    border-radius: 100px;
    margin-bottom: 14px;
}

.promo-popup-title {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.promo-popup-message {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    white-space: pre-wrap;
}

/* When bg is applied (via gradient theme), invert text */
.promo-popup-box.themed .promo-popup-body {
    color: #fff;
}
.promo-popup-box.themed .promo-popup-badge {
    background: rgba(255,255,255,0.25);
    color: #fff;
}
.promo-popup-box.themed .promo-popup-title,
.promo-popup-box.themed .promo-popup-message {
    color: #fff;
}

.promo-popup-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.promo-popup-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--shopee-orange);
    color: #fff;
    text-decoration: none;
    padding: 13px 36px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.25s;
    box-shadow: 0 6px 20px rgba(238,77,45,0.4);
    min-width: 200px;
    justify-content: center;
}
.promo-popup-action-btn:hover {
    background: var(--shopee-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(238,77,45,0.5);
}

.promo-popup-dismiss-btn {
    font-size: 13px;
    color: var(--text-secondary);
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    padding: 4px 8px;
    transition: color 0.2s;
}
.promo-popup-dismiss-btn:hover {
    color: var(--shopee-orange);
}

/* Decorative confetti dots */
.promo-popup-box::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(238,77,45,0.15) 0%, transparent 70%);
    pointer-events: none;
}
.promo-popup-box::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(238,77,45,0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* ==========================================================================
   POPUP PROMOTION — Admin Panel Cards
   ========================================================================== */

.popup-admin-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: box-shadow 0.2s;
}
.popup-admin-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.popup-admin-card-preview {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    flex-shrink: 0;
    object-fit: cover;
    border: 2px solid var(--border-color);
}
.popup-admin-card-preview.no-img {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    background: linear-gradient(135deg,#ee4d2d,#ff7043);
}
.popup-admin-card-info {
    flex: 1;
    min-width: 0;
}
.popup-admin-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.popup-admin-card-meta {
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
    align-items: center;
}
.popup-admin-card-meta .meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--bg-light);
    padding: 2px 10px;
    border-radius: 100px;
    font-size: 11px;
}
.popup-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
}
.popup-status-badge.active {
    background: #e3fcef;
    color: #00875a;
}
.popup-status-badge.inactive {
    background: #f5f5f5;
    color: #999;
}
.popup-admin-card-actions {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-shrink: 0;
}

/* Gradient color swatches in admin form */
.popup-gradient-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}
.popup-gradient-opt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}
.popup-gradient-opt input[type="radio"] {
    display: none;
}
.popup-gradient-opt span {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: block;
    border: 3px solid transparent;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.popup-gradient-opt input[type="radio"]:checked + span {
    border-color: var(--text-primary);
    transform: scale(1.12);
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.popup-gradient-opt small {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Toggle switch (active/inactive) */
.popup-toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
    cursor: pointer;
}
.popup-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.popup-toggle-slider {
    position: absolute;
    inset: 0;
    background: #ccc;
    border-radius: 100px;
    transition: 0.3s;
}
.popup-toggle-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.popup-toggle-switch input:checked + .popup-toggle-slider {
    background: var(--shopee-orange);
}
.popup-toggle-switch input:checked + .popup-toggle-slider::before {
    transform: translateX(20px);
}

/* Popup empty state */
.popup-empty-state {
    text-align: center;
    padding: 50px 20px;
    color: var(--text-secondary);
}
.popup-empty-state i {
    font-size: 48px;
    color: var(--border-color);
    margin-bottom: 12px;
    display: block;
}
.popup-empty-state p {
    font-size: 15px;
}

/* ==========================================================================
   CUSTOM STORE HEADER STYLES (BKK MARKET LAYOUT)
   ========================================================================== */
.header-custom-container {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 15px;
    margin-bottom: 25px;
    align-items: stretch;
}

.custom-category-sidebar {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.custom-category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: none;
    border: none;
    border-left: 3px solid transparent;
    text-align: left;
    font-size: 14px;
    color: var(--text-primary);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.custom-category-item:hover, .custom-category-item.active {
    background-color: var(--bg-light);
    color: var(--shopee-orange);
    border-left-color: var(--shopee-orange);
}

.custom-category-item i.chevron {
    font-size: 10px;
    color: var(--text-secondary);
    transition: transform 0.2s;
}

.custom-category-item:hover i.chevron {
    transform: translateX(3px);
    color: var(--shopee-orange);
}

.custom-banner-area {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.custom-main-banner {
    width: 100%;
    height: 350px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.custom-main-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.custom-main-banner img:hover {
    transform: scale(1.01);
}

.custom-sub-banners-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

.custom-sub-banner {
    height: 160px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.custom-sub-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.custom-sub-banner img:hover {
    transform: scale(1.02);
}

@media (max-width: 992px) {
    .header-custom-container {
        grid-template-columns: 1fr;
    }
    .custom-category-sidebar {
        display: none;
    }
    .custom-sub-banners-row {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 8px;
    }
    .custom-main-banner {
        height: 180px;
        border-radius: var(--radius-sm);
    }
    .custom-sub-banner {
        height: 75px;
        border-radius: var(--radius-sm);
    }
}

/* ==========================================================================
   AISEO ARTICLES STYLE SHEET
   ========================================================================== */

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 15px;
}

@media (max-width: 992px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .article-card-img-wrapper {
        height: 120px;
    }
    .article-card-body {
        padding: 12px;
        min-height: auto;
    }
    .article-card-badge {
        top: 8px;
        left: 8px;
        font-size: 9px;
        padding: 2px 6px;
    }
    .article-card-title {
        font-size: 13px;
        height: 36px;
        margin-bottom: 6px;
    }
    .article-card-desc {
        display: none; /* Hide description on mobile to keep 2-column cards clean */
    }
    .article-card-footer {
        padding-top: 8px;
        font-size: 11px;
    }
}

.article-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(238, 77, 45, 0.3);
}

.article-card-img-wrapper {
    position: relative;
    height: 210px;
    width: 100%;
    overflow: hidden;
}

.article-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-card-img {
    transform: scale(1.06);
}

.article-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--shopee-orange);
    color: var(--white);
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 3px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.article-card-body {
    padding: 20px 20px 24px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-height: 200px;
}

.article-card-date {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.article-card-title {
    font-size: 16px;
    font-weight: 650;
    color: var(--text-primary);
    line-height: 1.4;
    margin: 0 0 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 44px;
}

.article-card-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 15px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.article-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    padding-top: 14px;
    margin-top: auto;
    font-size: 13px;
    font-weight: 600;
    color: var(--shopee-orange);
}

.article-card-footer i {
    transition: transform 0.2s ease;
}

.article-card:hover .article-card-footer i {
    transform: translateX(4px);
}

/* SEO keyword tags inside detail modal */
.article-seo-tag {
    background: var(--bg-light);
    color: var(--text-secondary);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: all 0.2s;
}

.article-seo-tag:hover {
    background: #fff2f0;
    color: var(--shopee-orange);
    border-color: var(--shopee-orange);
}

/* Spinner Keyframe Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.article-body-content h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 25px;
    margin-bottom: 12px;
    border-left: 4px solid var(--shopee-orange);
    padding-left: 10px;
}

.article-body-content h3 {
    font-size: 16px;
    font-weight: 650;
    color: var(--text-primary);
    margin-top: 20px;
    margin-bottom: 10px;
}

.article-body-content p {
    margin-bottom: 15px;
    text-indent: 20px;
    text-align: justify;
}

.article-body-content ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.article-body-content li {
    margin-bottom: 6px;
}

/* Related products box inside articles overrides (to make them larger and clearer for all articles) */
.article-related-products-box {
    margin-top: 25px !important;
}
.article-related-products-box h5 {
    font-size: 14px !important;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    font-weight: 700 !important;
}
.article-related-products-box a {
    min-width: 180px !important;
    padding: 12px !important;
    gap: 12px !important;
    border-radius: 8px !important;
    border-color: #f0f0f0 !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02) !important;
    transition: all 0.2s ease !important;
}
.article-related-products-box a:hover {
    border-color: var(--shopee-orange) !important;
    box-shadow: 0 4px 10px rgba(238,77,45,0.08) !important;
}
.article-related-products-box a img {
    width: 50px !important;
    height: 50px !important;
    border-radius: 6px !important;
    border: 1px solid #f0f0f0 !important;
}
.article-related-products-box a > div {
    flex: 1 !important;
    overflow: hidden !important;
}
.article-related-products-box a div div:first-child {
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    color: #333 !important;
    white-space: normal !important;
    max-height: 36px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
.article-related-products-box a div div:last-child {
    font-size: 13px !important;
    font-weight: bold !important;
    color: #ee4d2d !important;
    margin-top: 4px !important;
}



/* =====================================================
   VIDEO SYSTEM STYLES
   ===================================================== */

/* Keyframe: bouncing arrow */
@keyframes bounceX {
    0%, 100% { transform: translateX(0); }
    50%       { transform: translateX(6px); }
}
@keyframes shimmer {
    0%   { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}
@keyframes videoFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---- Video Strip (Storefront) ---- */
.video-strip-wrapper {
    overflow: hidden;
    position: relative;
}
.video-strip-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.video-strip-track::-webkit-scrollbar { display: none; }

.video-strip-nav-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid var(--border-color);
    background: var(--white);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
}
.video-strip-nav-btn:hover {
    border-color: var(--shopee-orange);
    color: var(--shopee-orange);
    box-shadow: 0 2px 8px rgba(238,77,45,0.2);
}

/* Skeleton loaders */
.video-strip-skeleton {
    flex: 0 0 180px;
    height: 300px;
    border-radius: var(--radius-md);
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 400px 100%;
    animation: shimmer 1.4s infinite linear;
    scroll-snap-align: start;
}

/* ---- Video Card (Storefront) ---- */
.video-strip-card {
    flex: 0 0 180px;
    height: 300px;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    scroll-snap-align: start;
    background: #111;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transition: transform 0.25s, box-shadow 0.25s;
    animation: videoFadeIn 0.4s ease both;
}
.video-strip-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 28px rgba(0,0,0,0.25);
}
.video-strip-card .vc-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: opacity 0.2s;
}
.video-strip-card:hover .vc-thumbnail {
    opacity: 0.75;
}
.video-strip-card .vc-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0);
    transition: background 0.2s;
}
.video-strip-card:hover .vc-play-overlay {
    background: rgba(0,0,0,0.28);
}
.video-strip-card .vc-play-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--shopee-orange);
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.2s;
}
.video-strip-card:hover .vc-play-btn {
    opacity: 1;
    transform: scale(1);
}
.video-strip-card .vc-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 10px 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
}
.video-strip-card .vc-title {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
}
.video-strip-card .vc-user {
    font-size: 11px;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 4px;
}
.video-strip-card .vc-cart-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--shopee-orange);
    color: #fff;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    display: flex;
    align-items: center;
    gap: 3px;
}
.video-strip-card .vc-type-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border-radius: 8px;
    font-size: 10px;
    padding: 3px 7px;
    display: flex;
    align-items: center;
    gap: 3px;
}

/* ---- Video Player Modal ---- */
.video-player-modal-content {
    max-width: 900px;
    width: 95vw;
    padding: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: row;
    background: #fff;
    max-height: 90vh;
    position: relative;
}
.video-player-video-wrap {
    flex: 0 0 58%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
}
.video-player-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.video-player-video-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
    min-height: 360px;
}
.video-player-info {
    flex: 1;
    padding: 48px 22px 22px;
    overflow-y: auto;
    max-height: 90vh;
}

/* Products strip in video player */
.vp-products-strip {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 280px;
    overflow-y: auto;
    padding-bottom: 30px;
}
.vp-product-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #fff8f5;
    border: 1px solid #ffd0c0;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
}
.vp-product-item:hover {
    background: #fff0e8;
    border-color: var(--shopee-orange);
    transform: translateX(3px);
}
.vp-product-item img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}
.vp-product-item .vpi-info {
    flex: 1;
    min-width: 0;
}
.vp-product-item .vpi-name {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--text-primary);
}
.vp-product-item .vpi-price {
    color: var(--shopee-orange);
    font-weight: 700;
    font-size: 13px;
    margin-top: 3px;
}
.vp-product-item .vpi-buy-btn {
    background: var(--shopee-orange);
    color: #fff;
    border-radius: var(--radius-sm);
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ---- Upload Video Modal ---- */
.video-type-tab {
    flex: 1;
    padding: 10px 12px;
    border: none;
    background: var(--bg-light);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.video-type-tab.active {
    background: var(--shopee-orange);
    color: #fff;
}
.video-type-tab:hover:not(.active) {
    background: #f0f0f0;
    color: var(--shopee-orange);
}

.video-dropzone {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px 20px;
    text-align: center;
    background: #fafafa;
    transition: all 0.2s;
    cursor: pointer;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.video-dropzone.drag-over {
    border-color: var(--shopee-orange);
    background: #fff8f5;
    transform: scale(1.01);
}
.video-dropzone #video-dropzone-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ---- Admin Video Grid ---- */
.video-admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}
.video-admin-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s, transform 0.2s;
    animation: videoFadeIn 0.3s ease both;
}
.video-admin-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}
.video-admin-card .vac-thumb-wrap {
    position: relative;
    width: 100%;
    height: 160px;
    background: #111;
    overflow: hidden;
    cursor: pointer;
}
.video-admin-card .vac-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: opacity 0.2s;
}
.video-admin-card .vac-thumb-wrap:hover img { opacity: 0.7; }
.video-admin-card .vac-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,#1a1a2e,#16213e);
    color: rgba(255,255,255,0.4);
    font-size: 40px;
}
.video-admin-card .vac-play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}
.video-admin-card .vac-thumb-wrap:hover .vac-play-icon { opacity: 1; }
.video-admin-card .vac-play-icon i {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--shopee-orange);
}
.video-admin-card .vac-status-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
}
.video-admin-card .vac-status-badge.active {
    background: rgba(40,167,69,0.9);
    color: #fff;
}
.video-admin-card .vac-status-badge.hidden {
    background: rgba(108,117,125,0.9);
    color: #fff;
}
.video-admin-card .vac-type-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    background: rgba(0,0,0,0.6);
    color: #fff;
}
.video-admin-card .vac-body {
    padding: 12px;
}
.video-admin-card .vac-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px;
    line-height: 1.4;
}
.video-admin-card .vac-meta {
    display: flex;
    gap: 10px;
    font-size: 11px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.video-admin-card .vac-user {
    font-size: 11px;
    color: var(--shopee-orange);
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.video-admin-card .vac-actions {
    display: flex;
    gap: 6px;
}
.video-admin-card .vac-btn {
    flex: 1;
    padding: 6px 0;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.video-admin-card .vac-btn-edit {
    background: #fff;
    border-color: var(--shopee-orange);
    color: var(--shopee-orange);
}
.video-admin-card .vac-btn-edit:hover {
    background: var(--shopee-orange);
    color: #fff;
}
.video-admin-card .vac-btn-delete {
    background: #fff;
    border-color: #d0011b;
    color: #d0011b;
}
.video-admin-card .vac-btn-delete:hover {
    background: #d0011b;
    color: #fff;
}

/* Cart selected product chips */
.video-cart-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1.5px solid var(--shopee-orange);
    border-radius: 20px;
    padding: 4px 10px 4px 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    max-width: 180px;
    animation: videoFadeIn 0.2s ease;
}
.video-cart-chip img {
    width: 24px;
    height: 24px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
}
.video-cart-chip .chip-name {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 100px;
}
.video-cart-chip .chip-remove {
    color: #d0011b;
    cursor: pointer;
    flex-shrink: 0;
    font-size: 13px;
    margin-left: 2px;
}

/* Product search result item in upload modal */
.video-product-result-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    cursor: pointer;
    transition: background 0.15s;
    border-bottom: 1px solid var(--border-color);
}
.video-product-result-item:last-child { border-bottom: none; }
.video-product-result-item:hover { background: #fff8f5; }
.video-product-result-item.selected { background: #ffebd6; }
.video-product-result-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}
.video-product-result-item .vpri-info { flex: 1; min-width: 0; }
.video-product-result-item .vpri-name {
    font-size: 13px;
    font-weight: 600;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.video-product-result-item .vpri-price {
    font-size: 12px;
    color: var(--shopee-orange);
    font-weight: 700;
}
.video-product-result-item .vpri-check {
    color: #28a745;
    font-size: 16px;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.15s;
}
.video-product-result-item.selected .vpri-check { opacity: 1; }

/* Admin video stats bar */
.video-stat-pill {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: var(--shadow-sm);
}
.video-stat-pill i { color: var(--shopee-orange); }

/* Empty state */
.video-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}
.video-empty-state i {
    font-size: 52px;
    color: #e0e0e0;
    margin-bottom: 14px;
    display: block;
}
.video-empty-state h4 {
    font-size: 16px;
    margin-bottom: 6px;
    color: var(--text-primary);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    /* Video Player Modal on Mobile */
    .video-player-modal-content {
        flex-direction: column;
        width: 100vw;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        margin: 0;
        box-shadow: none;
    }
    .video-player-video-wrap {
        flex: 0 0 45vh;
        min-height: 240px;
        max-height: 45vh;
    }
    .video-player-info {
        flex: 1;
        padding: 24px 18px 80px;
        max-height: 55vh;
        border-radius: 20px 20px 0 0;
        margin-top: -18px;
        background: #fff;
        position: relative;
        z-index: 2;
        box-shadow: 0 -8px 24px rgba(0,0,0,0.12);
    }
    .vp-products-strip {
        max-height: 200px;
    }
    
    /* Upload Video Modal on Mobile */
    #modal-upload-video .modal-content {
        width: 100vw !important;
        height: 100vh !important;
        max-height: 100vh !important;
        border-radius: 0 !important;
        margin: 0 !important;
        display: flex;
        flex-direction: column;
    }
    #modal-upload-video form {
        padding: 16px !important;
        flex: 1;
        overflow-y: auto;
    }
    #modal-upload-video div[style*="background:linear-gradient"] {
        padding: 16px 20px !important;
    }
    
    .video-admin-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
        padding: 10px;
    }
    .video-strip-card {
        flex: 0 0 140px;
        height: 240px;
    }
}

/* ---- Sticky Bottom Navigation for Mobile ---- */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    z-index: 999;
    align-items: center;
    justify-content: space-around;
}
.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #555;
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    width: 20%;
    height: 100%;
    gap: 3px;
    transition: color 0.15s;
    cursor: pointer;
}
.mobile-bottom-nav .nav-item i {
    font-size: 19px;
}
.mobile-bottom-nav .nav-item.active {
    color: var(--shopee-orange);
}
.mobile-bottom-nav .nav-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background: var(--shopee-orange);
    color: #fff;
    font-size: 9px;
    padding: 1px 4px;
    border-radius: 10px;
    font-weight: 700;
    line-height: 1;
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
    }
    body {
        padding-bottom: 60px;
    }
}
