:root {
    --fb-bg: #f8fafc;
    --fb-white: #ffffff;
    --fb-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --header-bg: var(--fb-white);
    --sidebar-bg: var(--fb-white);
    --theme-font: "Montserrat", sans-serif;
    --theme-font-sub: "Montserrat", sans-serif;
    --theme-font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --fb-text: var(--theme-font);
    --fb-text-sub: var(--theme-font-sub);
    --theme-primary: #0c4c29;
    --theme-primary-dark: #2563eb;
    --theme-primary-soft: rgba(59, 130, 246, 0.1);
    --theme-primary-rgb: 59, 130, 246;
    --theme-primary-contrast: #ffffff;
    --brand-accent: var(--theme-primary);
    --bs-primary: var(--theme-primary);
    --bs-primary-rgb: var(--theme-primary-rgb);
    --bs-body-color: var(--theme-font);
    --bs-secondary-color: var(--theme-font-sub);
    --bs-body-bg: var(--fb-bg);
    --bs-link-color: var(--theme-primary);
    --bs-link-hover-color: var(--theme-primary-dark);
    --bs-border-color: var(--order-border);
    --bs-heading-color: var(--theme-font);
    --bs-card-bg: var(--fb-white);
    --bs-card-border-color: var(--order-border);
    --gradient-primary: linear-gradient(135deg, #ffffff 0%, #c3c3c4 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-neutral: linear-gradient(135deg, #e3e8f0 0%, #f5f7fa 100%);
    --fb-bg-dark: #111827;
    --fb-white-dark: #1f2937;
    --fb-text-dark: #f9fafb;
    --fb-text-sub-dark: #d1d5db;
    --order-border: #e5e7eb;
    --order-muted: #6b7280;
    --order-dark: #111827;
    --order-bg: #f8fafc;
    --order-primary: #2563eb;
    --order-success: #059669;
    --order-warning: #d97706;
    --order-danger: #dc2626;
    --order-radius: 14px;
    --order-gap: 10px;
    --order-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
    --fb-header-red: #ef4444;
    --fb-header-dark: #111827;
    --fb-header-muted: #6b7280;
    --fb-header-shell-bg: #ffffff;
    --fb-header-height: 0px;
    --checkout-primary: var(--theme-primary);
    --checkout-primary-contrast: var(--theme-primary-contrast);
    --checkout-primary-soft: rgba(var(--theme-primary-rgb), 0.08);
    --checkout-primary-soft-strong: rgba(var(--theme-primary-rgb), 0.15);
    --checkout-primary-border: rgba(var(--theme-primary-rgb), 0.35);
    --cart-sticky-offset: 56px;
}

@media (min-width: 768px) {
    .border-start-md {
        border-left: 1px solid var(--bs-border-color) !important;
    }
}

/* COLORS */
.bg-blue {
    background: linear-gradient(135deg, #1877f2, #0866ff);
}

.bg-green {
    background: linear-gradient(135deg, #42b72a, #36a420);
}

.bg-red {
    background: linear-gradient(135deg, #f02849, #e02445);
}

.bg-yellow {
    background: linear-gradient(135deg, #f7b928, #e5a81d);
}

.bg-purple {
    background: linear-gradient(135deg, #a033ff, #8c1eff);
}

.bg-gray {
    background: linear-gradient(135deg, #606770, #4b4f56);
}

body {
    background-color: var(--fb-bg);
    font-family: var(--theme-font-family);
    color: var(--fb-text);
    padding-top: var(--fb-header-height);
    padding-bottom: 0px;
}

/* Bootstrap button + utility overrides to use custom theme */
.btn-primary {
    background-color: var(--theme-primary);
    border-color: var(--theme-primary);
}

.btn-primary:hover {
    background-color: var(--theme-primary-dark);
    border-color: var(--theme-primary-dark);
}

.btn-outline-primary {
    color: var(--theme-primary);
    border-color: var(--theme-primary);
}

.btn-outline-primary:hover {
    background-color: var(--theme-primary);
    border-color: var(--theme-primary);
    color: var(--theme-primary-contrast);
}

.btn-secondary {
    background-color: #e5e7eb;
    border-color: #e5e7eb;
    color: var(--fb-text);
}

.btn-secondary:hover {
    background-color: #d1d5db;
    border-color: #d1d5db;
    color: var(--fb-text);
}

.btn-outline-secondary {
    color: var(--fb-text-sub);
    border-color: #cbd5e1;
}

.btn-outline-secondary:hover {
    background-color: #e5e7eb;
    border-color: #cbd5e1;
    color: var(--fb-text);
}

.btn-success {
    background-color: #16a34a;
    border-color: #16a34a;
}

.btn-success:hover {
    background-color: #15803d;
    border-color: #15803d;
}

.btn-danger {
    background-color: #ef4444;
    border-color: #ef4444;
}

.btn-danger:hover {
    background-color: #dc2626;
    border-color: #dc2626;
}

.text-primary {
    color: var(--theme-primary) !important;
}

.bg-primary {
    background-color: var(--theme-primary) !important;
}

.border-primary {
    border-color: var(--theme-primary) !important;
}

/* Bootstrap alerts themed with custom palette */
.alert {
    border-radius: 10px;
    border-color: var(--order-border);
    color: var(--fb-text);
}

.alert-primary {
    background-color: var(--theme-primary-soft);
    border-color: rgba(var(--theme-primary-rgb), 0.3);
    color: var(--theme-primary);
}

.alert-secondary {
    background-color: #f1f5f9;
    border-color: #e2e8f0;
    color: var(--fb-text-sub);
}

.alert-success {
    background-color: #dcfce7;
    border-color: #bbf7d0;
    color: #166534;
}

.alert-danger {
    background-color: #fee2e2;
    border-color: #fecaca;
    color: #991b1b;
}

.alert-warning {
    background-color: #fef9c3;
    border-color: #fef08a;
    color: #92400e;
}

.alert-info {
    background-color: #e0f2fe;
    border-color: #bae6fd;
    color: #075985;
}

/* Bootstrap badges using theme */
.badge.bg-primary,
.badge.text-bg-primary {
    background-color: var(--theme-primary) !important;
    color: var(--theme-primary-contrast) !important;
}

.badge.bg-secondary,
.badge.text-bg-secondary {
    background-color: #e5e7eb !important;
    color: var(--fb-text) !important;
}

/* Cards & tables aligned to dashboard look */
.card {
    background-color: var(--fb-white);
    border-color: var(--order-border);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    margin-bottom: 10px;
}

.card-header {
    background-color: #f9fafb;
    border-bottom-color: var(--order-border);
    color: var(--fb-text);
}

.card-footer {
    background-color: #f9fafb;
    border-top-color: var(--order-border);
}

.table {
    --bs-table-bg: #fff;
    --bs-table-border-color: var(--order-border);
}

/* Pagination & navs  */
.page-link {
    color: var(--fb-text-sub);
    border-color: var(--order-border);
}

.page-link:hover {
    color: var(--theme-primary-dark);
    background-color: #f8fafc;
    border-color: var(--order-border);
}

.page-item.active .page-link {
    background-color: var(--theme-primary);
    border-color: var(--theme-primary);
    color: var(--theme-primary-contrast);
}

/* Button styles for format/preview */
.btn-group .btn {
    border-radius: 0.25rem !important;
}

.btn-group .btn:not(:last-child) {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.btn-group .btn:not(:first-child) {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

/* Preview modal styles */
#add-preview-content,
#edit-preview-content {
    min-height: 200px;
    max-height: 400px;
    overflow-y: auto;
}

/* Validation indicator */
.validation-indicator {
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Bootstrap 4 -> 5 compatibility helpers (keep HTML cÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â¦ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â© hoÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡t ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¾ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¹Ãƒâ€¦Ã¢â‚¬Å“ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¾ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ng trÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Âªn BS5) 
        .form-group {
            margin-bottom: 1rem;
        }

        .form-row {
            display: flex;
            flex-wrap: wrap;
            margin-right: -0.5rem;
            margin-left: -0.5rem;
        }
        .form-row > .col,
        .form-row > [class^="col-"] {
            padding-right: 0.5rem;
            padding-left: 0.5rem;
        }*/

.text-right {
    text-align: right !important;
}

.text-left {
    text-align: left !important;
}

/* Old custom-control switch map sang form-switch */
.custom-control.custom-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.custom-control-input {
    width: 2.5rem;
    height: 1.2rem;
    margin: 0;
}

.custom-control-label {
    margin-bottom: 0;
}

/* ===== Dark Mode ===== */
body.dark-mode {
    --fb-bg: #0f172a;
    --fb-white: #1e293b;
    --fb-text: #f1f5f9;
    --fb-text-sub: #94a3b8;
    --fb-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --header-bg: #1e293b;
    --sidebar-bg: #1e293b;
    --order-border: #334155;
    --order-muted: #94a3b8;
    --order-dark: #f1f5f9;
    --order-bg: #0f172a;
    --order-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
    --bs-body-bg: #0f172a;
    --bs-body-color: #f1f5f9;
    --bs-heading-color: #f8fafc;
    --bs-card-bg: #1e293b;
    --bs-card-border-color: #334155;
    --bs-border-color: #334155;
    background-color: #0f172a;
    color: #f1f5f9;
}

/* Cards, panels */
body.dark-mode .card,
body.dark-mode .fb-table-card {
    background: #1e293b;
    border-color: #334155;
    color: #f1f5f9;
}

body.dark-mode .card-body,
body.dark-mode .card-header,
body.dark-mode .card-footer {
    background: transparent;
    color: #f1f5f9;
    border-color: #334155;
}

/* Text overrides */
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6 {
    color: #f8fafc;
}

body.dark-mode .text-dark {
    color: #e2e8f0 !important;
}

body.dark-mode .text-muted {
    color: #94a3b8 !important;
}

body.dark-mode p,
body.dark-mode span,
body.dark-mode label,
body.dark-mode li {
    color: inherit;
}

/* Tables */
body.dark-mode .table {
    --bs-table-bg: #1e293b;
    --bs-table-color: #f1f5f9;
    --bs-table-border-color: #334155;
    --bs-table-striped-bg: #243348;
    --bs-table-hover-bg: #2a3a52;
}

body.dark-mode .table thead {
    background: #162032;
    color: #cbd5e1;
}

body.dark-mode .table-light {
    --bs-table-bg: #162032;
    --bs-table-color: #cbd5e1;
}

/* Forms */
body.dark-mode .form-control,
body.dark-mode .form-select {
    background-color: #0f172a;
    border-color: #334155;
    color: #f1f5f9;
}

body.dark-mode .form-control:focus,
body.dark-mode .form-select:focus {
    background-color: #0f172a;
    border-color: var(--theme-primary);
    color: #f1f5f9;
}

body.dark-mode .form-control::placeholder {
    color: #64748b;
}

body.dark-mode .form-check-input {
    background-color: #334155;
    border-color: #475569;
}

/* Buttons - keep primary/accent as-is, fix outlines & secondary */
body.dark-mode .btn-outline-secondary {
    color: #94a3b8;
    border-color: #475569;
}

body.dark-mode .btn-outline-secondary:hover {
    background: #334155;
    color: #f1f5f9;
}

body.dark-mode .btn-light {
    background: #334155;
    border-color: #475569;
    color: #f1f5f9;
}

/* Dropdown & popover */
body.dark-mode .dropdown-menu {
    background: #1e293b;
    border-color: #334155;
    color: #f1f5f9;
}

body.dark-mode .dropdown-item {
    color: #e2e8f0;
}

body.dark-mode .dropdown-item:hover,
body.dark-mode .dropdown-item:focus {
    background: #334155;
    color: #f8fafc;
}

/* Modal */
body.dark-mode .modal-content {
    background: #1e293b;
    border-color: #334155;
}

body.dark-mode .modal-header {
    background: linear-gradient(to right, #162032, #1e293b);
    border-bottom-color: #334155;
}

body.dark-mode .modal-footer {
    border-top-color: #334155;
}

body.dark-mode .modal-title {
    color: #f8fafc;
}

body.dark-mode .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Header */
body.dark-mode .fb-header-body {
    background: #0f172a;
    border-bottom-color: #1e293b;
}

body.dark-mode .fb-header-action,
body.dark-mode .fb-header-icon-btn {
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
    border-color: #334155;
}

body.dark-mode .fb-header-action__text span,
body.dark-mode .fb-header-action__text strong {
    color: #e2e8f0;
}

body.dark-mode .header-menu-row {
    background: #0f172a;
    border-color: #1e293b;
}

body.dark-mode .header-menu-item {
    color: #cbd5e1;
}

body.dark-mode .header-menu-item:hover {
    color: #f8fafc;
}

/* Footer */
body.dark-mode .site-footer {
    background: #0c1524 !important;
    color: #cbd5e1;
}

body.dark-mode .site-footer::before {
    background: linear-gradient(135deg, #0f172a 0%, #162032 100%);
}

body.dark-mode .site-footer a {
    color: #94a3b8;
}

body.dark-mode .site-footer a:hover {
    color: #f8fafc;
}

body.dark-mode .site-footer .footer-title,
body.dark-mode .site-footer .footer-pay-title,
body.dark-mode .site-footer .footer-seo-title {
    color: #f1f5f9;
}

body.dark-mode .site-footer .store-tab-btn {
    background: #1e293b;
    border-color: #334155;
    color: #cbd5e1;
}

body.dark-mode .site-footer .store-tab-btn.active {
    background: var(--theme-primary);
    border-color: var(--theme-primary);
    color: #fff;
}

body.dark-mode .site-footer .store-list__item {
    border-color: #334155;
}

body.dark-mode .site-footer .store-list__item:hover {
    background: #1e293b;
}

/* Layout settings panel */
body.dark-mode .layout-panel {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

body.dark-mode .layout-panel .form-label {
    color: #e2e8f0;
}

body.dark-mode .layout-segment .layout-seg-btn {
    background: #0f172a;
    border-color: #334155;
    color: #cbd5e1;
}

body.dark-mode .layout-segment .layout-seg-btn.active {
    border-color: var(--theme-primary);
    background: var(--theme-primary-soft);
    color: var(--theme-primary-contrast);
}

body.dark-mode .layout-panel .theme-swatch,
body.dark-mode .layout-panel .font-swatch {
    border-color: #334155;
    box-shadow: 0 0 0 1px #475569;
}

/* Breadcrumb, badge */
body.dark-mode .breadcrumb {
    background: #1e293b;
}

body.dark-mode .breadcrumb-item a {
    color: #94a3b8;
}

body.dark-mode .breadcrumb-item.active {
    color: #cbd5e1;
}

body.dark-mode .badge.bg-light {
    background: #334155 !important;
    color: #e2e8f0 !important;
}

/* Product cards (.pcard) */
body.dark-mode .pcard {
    background: #1e293b;
    border-color: #334155;
}

body.dark-mode .pcard:hover {
    box-shadow: 0 28px 50px rgba(0, 0, 0, 0.35);
}

body.dark-mode .pcard .pcard-name,
body.dark-mode .pcard .pcard-price {
    color: #f1f5f9;
}

/* Misc surfaces */
body.dark-mode .bg-white {
    background: #1e293b !important;
}

body.dark-mode .bg-light {
    background: #162032 !important;
}

body.dark-mode .border {
    border-color: #334155 !important;
}

body.dark-mode hr {
    border-color: #334155;
    opacity: 0.5;
}

body.dark-mode .shadow-sm,
body.dark-mode .shadow {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2) !important;
}

/* Scroll to top & FAB in dark mode */
body.dark-mode #btnScrollTop {
    background: #1e293b;
    border-color: #475569;
    color: #e2e8f0;
}

body.dark-mode #btnScrollTop:hover {
    background: var(--theme-primary);
    border-color: var(--theme-primary);
    color: #fff;
}

/* Dark mode toggle animation helper */
.dark-mode-icon-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.dark-mode-icon-wrap i {
    font-size: 1rem;
    transition: opacity 0.25s ease, transform 0.3s ease;
}

.dark-mode-icon-wrap .bi-moon-stars-fill {
    color: #facc15;
}

.dark-mode-icon-wrap .bi-sun-fill {
    color: #f59e0b;
}

body:not(.dark-mode) .dark-mode-icon-wrap .bi-sun-fill {
    opacity: 0;
    position: absolute;
    transform: rotate(180deg);
}

body.dark-mode .dark-mode-icon-wrap .bi-moon-stars-fill {
    opacity: 0;
    position: absolute;
    transform: rotate(-180deg);
}

/* Smooth transition when toggling */
body.dark-mode-transition,
body.dark-mode-transition *,
body.dark-mode-transition *::before,
body.dark-mode-transition *::after {
    transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease !important;
}
/* FB Table Standard */
.fb-table-card {
    background: var(--fb-white);
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: var(--fb-shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

.fb-table-card:hover {
    box-shadow:
        0 10px 25px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.fb-table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.fb-table {
    margin: 0 !important;
    width: 100% !important;
    border-collapse: separate;
    border-spacing: 0;
}

.fb-table thead th {
    background: #f9fafb;
    color: var(--fb-text);
    font-weight: 600;
    font-size: 0.8rem;
    border-bottom: 1px solid #e5e7eb;
    padding: 10px 10px;
    vertical-align: middle;
    white-space: nowrap;
}

.fb-table tbody td {
    padding: 16px 12px;
    border-top: 1px solid #f3f4f6;
    vertical-align: middle;
    transition: background-color 0.2s ease;
}

.fb-table.table-hover tbody tr:hover {
    background: var(--theme-primary-soft);
    transform: translateY(-1px);
}

.fb-table-card .product-name {
    color: #333;
}

.fb-sidebar-left,
.fb-sidebar-right {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    color: var(--fb-text);
    box-shadow: var(--fb-shadow);
}

.fb-sidebar-left .nav-link,
.fb-sidebar-right .nav-link {
    color: var(--fb-text);
}

.fb-sidebar-left .nav-link:hover,
.fb-sidebar-right .nav-link:hover {
    background: #f2f3f5;
}

.fb-sidebar-left .nav-header,
.fb-sidebar-right .nav-header {
    color: var(--fb-text-sub);
}

.fb-sidebar-right .section-title {
    color: var(--fb-text);
}

.fb-sidebar-right .message-item {
    background: var(--fb-bg);
    border: 1px solid var(--fb-bg);
}

.fb-sidebar-right .sender-name {
    color: var(--fb-text);
}

.fb-sidebar-right .message-time {
    color: var(--fb-text-sub);
}

.fb-sidebar-right .message-content {
    color: var(--fb-text);
}

.fb-sidebar-right .text-muted {
    color: var(--fb-text-sub) !important;
}

.fb-layout {
    display: flex;
}

.fb-sidebar-left {
    display: none;
    left: 0;
    top: auto;
    width: 80px;
    border-right: 1px solid var(--fb-bg);
    position: fixed;
    height: calc(150vh - 100px);
    overflow-y: auto;
    z-index: 1050;
    transition: left 0.3s ease-in-out;
    overflow-y: auto;
}

.sidebar-content {
    padding: 16px;
}

.sidebar-brand {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e4e6ea;
}

.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--theme-primary);
    font-weight: 600;
    font-size: 18px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.brand-link:hover {
    background-color: #f2f3f5;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-header {
    font-size: 12px;
    font-weight: 600;
    color: #65676b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 16px 0 8px 0;
    padding: 0 12px;
}

.nav-item {
    margin-bottom: 2px;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--fb-text);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 15px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--theme-primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    border-radius: 0 2px 2px 0;
}

.nav-link:hover {
    background: #f8fafc;
    border-color: #e6ebf2;
    color: var(--theme-primary-dark);
}

.nav-link.active {
    background: var(--theme-primary-soft);
    color: var(--theme-primary);
    font-weight: 600;
}

.nav-link.active::before {
    transform: scaleY(1);
}

.nav-link i {
    margin-right: 12px;
    width: auto;
    text-align: center;
}

.fb-main {
    padding: 20px;
    /*
    margin-left: 280px;
    width: calc(100% - 580px);
    min-height: calc(100vh - 60px);
    */
}

body.hide-left .fb-sidebar-left {
    display: none;
}

body.hide-left .fb-sidebar-left.show {
    display: block;
    left: 0;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    /* height: 100vh; */
}

body.hide-left .fb-main {
    margin-left: 0;
    width: calc(100% - 320px);
}

body.hide-right .fb-sidebar-right {
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1050;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
}

body.hide-right .fb-sidebar-right.open {
    transform: translateX(0);
}

body.hide-right .fb-main {
    width: calc(100% - 280px);
}

body.hide-left.hide-right .fb-main {
    width: 100%;
    margin-left: 0;
}

body.hide-left .sidebar-overlay,
body.hide-right .sidebar-overlay-right {
    position: fixed;
    width: 100%;
    height: calc(100vh - 0px);
    background: rgba(0, 0, 0, 0.45);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: block;
}

body.hide-left .sidebar-overlay.show {
    opacity: 1;
    visibility: visible;
}

body.hide-right .sidebar-overlay-right.active {
    opacity: 1;
    visibility: visible;
}

body.autohide-left .fb-sidebar-left {
    transform: translateX(-240px);
    transition: transform 0.25s ease;
}

body.autohide-left .fb-sidebar-left:hover {
    transform: translateX(0);
}

body.autohide-left .fb-main {
    margin-left: 60px;
    width: calc(100% - 380px);
}

body.autohide-left.hide-right .fb-main {
    width: 100%;
    margin-left: 0;
}

body.skin-default {
    background: var(--fb-bg);
}

body.skin-soft {
    background: linear-gradient(180deg, #f7f8fb 0%, #eef2f7 100%);
}

body.skin-warm {
    background: linear-gradient(180deg, #fff7ed 0%, #fde7d3 100%);
}

body.skin-cool {
    background: linear-gradient(180deg, #ecf5ff 0%, #e5f4f5 100%);
}

body.style-rounded .card {
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

body.style-flat .card {
    border-radius: 8px;
    box-shadow: none;
    border: 1px solid #e5e7eb;
}

body.style-glass .card {
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.dashboard-container {
    max-width: none;
    margin: 0;
}

.message-log {
    max-height: 300px;
    overflow-y: auto;
    padding: 0 4px;
}

.message-item {
    padding: 8px 16px;
    border-bottom: 1px solid #e4e6ea;
}

.message-item:last-child {
    border-bottom: none;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.sender-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--fb-text);
}

.message-time {
    font-size: 10px;
    color: var(--fb-text-sub);
}

.message-content {
    font-size: 11px;
    color: var(--fb-text-sub);
    line-height: 1.3;
    word-wrap: break-word;
}

.message-content i {
    font-size: 10px;
    margin-right: 2px;
}

.stats-mini {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e4e6ea;
}

.stat-label {
    font-size: 11px;
    color: var(--fb-text-sub);
    font-weight: 500;
    margin-bottom: 2px;
}

.stat-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--fb-text);
}

.stat-new {
    font-size: 10px;
    color: #42b883;
    font-weight: 600;
    margin-top: 2px;
}

.fb-sidebar-right {
    right: 0;
    top: auto;
    width: 380px;
    border-right: 1px solid var(--fb-bg);
    position: fixed;
    height: calc(150vh - 100px);
    overflow-y: auto;
    z-index: 1050;
    transition: left 0.3s ease-in-out;
    overflow-y: auto;
}

@media (max-width: 1199px) {
    .fb-layout {
        margin-top: -20px;
    }

    .fb-sidebar-right {
        top: 72px;
        right: -250px;
        width: 250px;
        height: calc(150vh - 110px);
        display: none !important;
    }

    .fb-sidebar-right.open {
        right: 0 !important;
        display: block !important;
    }

    .sidebar-content {
        padding: 20px;
    }

    .sidebar-overlay-right {
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        height: calc(100vh - 110px);
        background: rgba(0, 0, 0, 0.5);
        z-index: 1040;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        display: block !important;
    }

    .sidebar-overlay-right.active {
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 768px) {
    .fb-sidebar-right {
        width: 200px;
        right: -200px;
    }

    .sidebar-toggle-btn {
        top: 75px;
        right: 10px;
        width: 40px;
        height: 40px;
    }

    .sidebar-toggle-btn i {
        font-size: 16px;
    }

    .sidebar-content {
        padding: 15px;
    }

    .right-section {
        margin-bottom: 20px;
    }

    .section-title {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .message-log {
        max-height: 250px;
    }

    .stats-mini {
        gap: 6px;
    }

    .stat-label {
        font-size: 11px;
        color: var(--fb-text-sub);
        font-weight: 500;
        margin-bottom: 2px;
    }

    .stat-value {
        font-size: 16px;
        font-weight: 700;
        color: var(--fb-text);
    }

    .right-section {
        padding: 16px;
        border-bottom: 1px solid #e4e6ea;
    }

    .right-section:last-child {
        border-bottom: none;
    }

    .section-title {
        font-size: 16px;
        font-weight: 600;
        color: #050505;
        margin-bottom: 12px;
        display: flex;
        align-items: center;
    }

    .notification-item {
        padding: 8px 0;
    }

    .stats-mini .stat-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
        border-bottom: 1px solid #f0f2f5;
    }

    .stats-mini .stat-item:last-child {
        border-bottom: none;
    }

    .fb-sidebar-right .stat-label {
        font-size: 14px;
        color: #65676b;
    }

    .fb-sidebar-right .stat-value {
        font-size: 14px;
        font-weight: 600;
        color: #050505;
    }

    .quick-links .quick-link {
        display: flex;
        align-items: center;
        padding: 8px 0;
        text-decoration: none;
        color: var(--theme-primary);
        font-size: 14px;
        transition: color 0.2s;
    }

    .quick-links .quick-link:hover {
        color: var(--theme-primary-dark);
    }

    .quick-links .quick-link i {
        margin-right: 8px;
    }

    .quick-link {
        padding: 8px 12px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .fb-sidebar-right {
        width: 100vw;
        right: -100vw;
    }

    .sidebar-toggle-btn {
        top: 70px;
        right: 8px;
        width: 36px;
        height: 36px;
    }

    .sidebar-toggle-btn i {
        font-size: 14px;
    }

    .sidebar-content {
        padding: 12px;
    }

    .right-section {
        margin-bottom: 15px;
    }

    .section-title {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .message-log {
        max-height: 200px;
    }

    .message-item {
        padding: 6px 12px;
    }

    .sender-name {
        font-size: 11px;
    }

    .message-time {
        font-size: 9px;
    }

    .message-content {
        font-size: 10px;
    }

    .stats-mini {
        gap: 4px;
    }

    .stat-item {
        padding: 5px 8px;
    }

    .stat-label {
        font-size: 10px;
    }

    .stat-value {
        font-size: 13px;
    }

    .stat-new {
        font-size: 9px;
    }

    .quick-link {
        padding: 6px 10px;
        font-size: 12px;
    }
}

/* HEADER */
.fb-header {
    background: var(--header-bg);
    box-shadow: var(--fb-shadow);
    padding: 0;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
}

.fb-header-body {
    background: var(--fb-header-shell-bg);
}

/* Desktop-only running text banner under header */
.fb-header-ticker {
    display: none;
}

@media (min-width: 992px) {
    .fb-header-ticker {
        display: block;
        background-color: #0c4c29;
        color: #ffffff;
        font-size: 18px;
        font-weight: 900;
        overflow: hidden;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .fb-header-ticker-inner {
        /* max-width: 1320px; */
        margin: 0 auto;
        padding: 4px 20px 6px;
        position: relative;
        overflow: hidden;
    }

    .fb-header-ticker-track {
        display: inline-flex;
        /* white-space: nowrap; */
        gap: 80px;
        will-change: transform;
        animation: fbHeaderTickerMove 24s linear infinite;
    }

    .fb-header-ticker-item {
        flex: 0 0 auto;
    }

    .fb-header-ticker-item span {
        text-transform: uppercase;
        letter-spacing: 0.06em;
    }

    @keyframes fbHeaderTickerMove {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-50%);
        }
    }
}

.fb-header-body .fb-header-shell {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fb-header-top {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
}

.fb-header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    min-width: 0;
}

.fb-header-logo {
    display: inline-flex;
    align-items: center;
}

.fb-header-logo img {
    height: 90px;
    width: auto;
    border-radius: 0px;
    object-fit: cover;
}

.fb-header-search-cart {
    flex: 1 1 auto;
    min-width: 340px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fb-header-search-cart.is-hidden {
    display: none;
}

.fb-header-search-cart.is-open {
    display: flex;
}

@media (min-width: 769px) {
    .fb-header-search-cart.is-hidden {
        display: flex;
    }
}

.fb-header-search-wrap {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 220px;
}

.fb-header-search {
    display: flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid var(--order-border);
    background: #f8fafc;
    padding-left: 18px;
    height: 50px;
    position: relative;
}

.fb-header-search input {
    border: none;
    background: transparent;
    flex: 1;
    height: 100%;
    font-size: 14px;
    font-weight: 600;
    color: var(--fb-text);
    outline: none;
}

.fb-header-search-btn {
    width: 52px;
    height: 36px;
    border: none;
    border-radius: 18px;
    margin-right: 6px;
    background: transparent;
    color: var(--theme-primary);
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.fb-header-search-btn:hover {
    background: rgba(var(--theme-primary-rgb), 0.15);
}

.fb-header-search .search-suggest {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    z-index: 120;
}

.fb-header-search-hints {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.fb-header-search-hints .search-hint-item {
    border-radius: 999px;
    border: 1px solid rgba(var(--theme-primary-rgb), 0.22);
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    color: var(--theme-primary);
    background: rgba(var(--theme-primary-rgb), 0.08);
}

.fb-header-search-cart .fb-header-cart-btn {
    flex: 0 0 auto;
}

.fb-header-utility {
    display: flex;
    align-items: stretch;
    gap: 10px;
    flex: 0 1 auto;
    margin-left: auto;
}

.fb-header-action,
.fb-header-action:visited {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 14px;
    border: 1px solid var(--order-border);
    padding: 6px 12px;
    background: #fff;
    min-width: 150px;
    color: var(--fb-text);
    text-decoration: none;
    transition:
        border-color 0.2s ease,
        transform 0.2s ease;
    cursor: pointer;
    font: inherit;
    text-align: left;
    height: 60px;
}

.fb-header-action--hotline {
    border-color: rgba(var(--theme-primary-rgb), 0.1);
    background: rgba(var(--theme-primary-rgb), 0.08);
    position: relative;
    overflow: visible;
    animation: hotlinePulse 2.4s ease-in-out infinite;
}

.fb-header-action--hotline .fb-header-action__icon {
    background: rgba(var(--theme-primary-rgb), 0.14);
    color: var(--theme-primary);
    animation: hotlineShake 1.2s ease-in-out infinite;
    transform-origin: 50% 50%;
    position: relative;
}

.fb-header-action--hotline .fb-header-action__icon::before,
.fb-header-action--hotline .fb-header-action__icon::after {
    content: "";
    position: absolute;
    inset: -12px;
    border-radius: 999px;
    border: 2px solid rgba(var(--theme-primary-rgb), 0.45);
    opacity: 0;
    pointer-events: none;
}

.fb-header-action--hotline .fb-header-action__icon::before {
    animation: hotlineWave 1.6s ease-out infinite;
}

.fb-header-action--hotline .fb-header-action__icon::after {
    animation: hotlineWave 1.6s ease-out infinite 0.5s;
}

.fb-header-action--hotline:hover {
    animation-play-state: paused;
}

.fb-header-action--hotline:hover .fb-header-action__icon {
    animation-play-state: paused;
}

.fb-header-action--hotline:hover .fb-header-action__icon::before,
.fb-header-action--hotline:hover .fb-header-action__icon::after {
    opacity: 0;
    animation-play-state: paused;
}

@keyframes hotlinePulse {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-1px);
    }
}

@keyframes hotlineWave {
    0% {
        transform: scale(0.7);
        opacity: 0.55;
    }

    70% {
        transform: scale(1.9);
        opacity: 0;
    }

    100% {
        transform: scale(1.9);
        opacity: 0;
    }
}

@keyframes hotlineShake {

    0%,
    100% {
        transform: rotate(0deg);
    }

    10% {
        transform: rotate(-12deg);
    }

    20% {
        transform: rotate(12deg);
    }

    30% {
        transform: rotate(-10deg);
    }

    40% {
        transform: rotate(10deg);
    }

    50% {
        transform: rotate(-6deg);
    }

    60% {
        transform: rotate(6deg);
    }

    70% {
        transform: rotate(-3deg);
    }

    80% {
        transform: rotate(3deg);
    }

    90% {
        transform: rotate(0deg);
    }
}

.fb-header-action:hover {
    border-color: var(--theme-primary);
    transform: translateY(-1px);
}

.fb-header-action__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(var(--theme-primary-rgb), 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--theme-primary);
    font-size: 18px;
}

.fb-header-action__text {
    line-height: 1.2;
}

.fb-header-action__text span {
    display: block;
    font-size: 12px;
    color: var(--fb-text-sub);
    font-weight: 500;
}

.fb-header-action__text strong {
    display: block;
    font-size: 13px;
    color: var(--fb-text);
    font-weight: 700;
}

.fb-header-action--location {
    background: rgba(var(--theme-primary-rgb), 0.08);
    border-color: rgba(var(--theme-primary-rgb), 0.1);
}

.fb-header-action--location .fb-header-action__text strong {
    color: var(--theme-primary);
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fb-header-action--hotline .fb-header-action__text strong {
    color: var(--theme-primary);
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fb-header-icon-btn,
.fb-header-icon-btn:focus {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--order-border);
    background: #fff;
    color: var(--theme-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition:
        border-color 0.2s ease,
        transform 0.2s ease;
}

.fb-header-icon-btn:hover {
    border-color: var(--theme-primary);
    transform: translateY(-1px);
}

#headerSearchToggle {
    display: inline-flex;
}

@media (min-width: 769px) {
    #headerSearchToggle {
        display: none;
    }
}

.fb-header-profile {
    position: relative;
}

.fb-header-profile .fb-header-action {
    min-width: 190px;
}

.fb-header-action__chevron {
    margin-left: auto;
    color: var(--fb-header-muted);
    font-size: 12px;
}

.fb-header-profile .dropdown-menu {
    border-radius: 12px;
    border: 1px solid var(--order-border);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.fb-header-account {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fb-header-account .fb-header-action {
    min-width: 0;
}

.fb-header-cart-btn {
    position: relative;
}

.fb-header-cart-btn .fb-header-cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    background: var(--theme-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.fb-header-notify-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 0 0 2px #fff;
}

.fb-header-body .header-menu-row {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0px 12px;
    margin-top: -10px;
}

.fb-region-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fb-region-form .form-label {
    margin-bottom: 4px;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--fb-text-sub);
}

.fb-region-note {
    font-size: 0.82rem;
    color: var(--fb-text-sub);
    background: rgba(var(--theme-primary-rgb), 0.08);
    border: 1px solid rgba(var(--theme-primary-rgb), 0.16);
    border-radius: 10px;
    padding: 8px 10px;
}

.fb-branch-list,
.fb-saved-addresses {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fb-branch-item,
.fb-saved-item {
    border: 1px solid var(--order-border);
    border-radius: 12px;
    background: #fff;
    padding: 8px 10px;
    text-align: left;
    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.fb-branch-item.active,
.fb-saved-item.active {
    border-color: var(--theme-primary);
    background: rgba(var(--theme-primary-rgb), 0.1);
}

.fb-branch-list {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    padding-bottom: 2px;
}

.fb-branch-list::-webkit-scrollbar {
    height: 6px;
}

.fb-branch-list::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.45);
    border-radius: 999px;
}

.fb-branch-item {
    cursor: pointer;
    flex: 0 0 auto;
    min-width: 260px;
    max-width: 320px;
    white-space: normal;
    overflow: hidden;
}

.fb-branch-name,
.fb-saved-main {
    font-weight: 700;
    color: var(--fb-text);
    font-size: 0.9rem;
    white-space: normal;
    overflow-wrap: anywhere;
}

.fb-branch-meta,
.fb-saved-meta {
    font-size: 0.8rem;
    color: var(--fb-text-sub);
    white-space: normal;
    overflow-wrap: anywhere;
}

.fb-saved-actions {
    display: flex;
    gap: 6px;
    margin-top: 6px;
}

.fb-limit-note {
    font-size: 0.78rem;
    color: var(--fb-text-sub);
}

@media (max-width: 1280px) {
    .fb-header-action {
        min-width: 138px;
    }

    .fb-header-profile .fb-header-action {
        min-width: 170px;
    }
}

@media (max-width: 1200px) {
    .fb-header-action {
        min-width: 132px;
    }

    .fb-header-action__text strong {
        font-size: 12px;
    }
}

@media (max-width: 1024px) {
    .fb-header-top {
        flex-wrap: wrap;
        row-gap: 10px;
    }

    .fb-header-brand {
        order: 1;
    }

    .fb-header-utility {
        order: 2;
        margin-left: auto;
    }

    .fb-header-search-cart {
        order: 3;
        flex: 1 1 auto;
        min-width: 0;
    }

    .fb-header-account {
        order: 4;
        margin-left: auto;
    }
}

@media (max-width: 992px) {
    .fb-header-body .fb-header-shell {
        /* padding: 10px 14px; */
        /* gap: 6px; */
    }

    .fb-header-top {
        justify-content: space-between;
    }

    .fb-header-brand {
        order: 1;
        flex: 1 1 auto;
    }

    .fb-header-search-wrap {
        order: 3;
        width: auto;
    }

    .fb-header-search-cart {
        order: 3;
        flex: 1 1 64%;
        min-width: 0;
    }

    .fb-header-utility {
        order: 2;
        width: auto;
        margin-left: auto;
        gap: 8px;
        display: grid;
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }

    .fb-header-utility .fb-header-action {
        min-width: 0;
        padding: 6px 10px;
    }

    .fb-header-utility .fb-header-action--hotline {
        order: 1;
    }

    .fb-header-utility .fb-header-action--location {
        order: 2;
    }

    .fb-header-account {
        order: 4;
        width: auto;
        margin-left: auto;
    }

    .fb-header-search-hints {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --fb-header-height: 110px;
    }

    .fb-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100vw;
    }

    .fb-header-action,
    .fb-header-action:visited {
        min-width: 44px;
        width: 44px;
        height: 44px;
        padding: 0;
        justify-content: center;
        gap: 0;
    }

    .fb-header-action--location {
        display: none !important;
    }

    .fb-header-action__text,
    .fb-header-action__chevron {
        display: none !important;
    }

    .fb-header-action__icon {
        margin: 0;
    }

    .fb-header-utility {
        display: flex;
        grid-template-columns: none;
        gap: 8px;
    }
}

@media (max-width: 640px) {
    .fb-header-brand {
        flex: 0 1 auto;
    }

    .fb-header-utility {
        flex: 0 0 auto;
    }

    .fb-header-utility .fb-header-action {
        min-width: 100px;
    }

    .fb-header-utility .fb-header-action--hotline {
        order: 1;
    }

    .fb-header-utility .fb-header-action--location {
        order: 2;
    }

    .fb-header-utility .fb-header-action__text span {
        display: none;
    }

    .fb-header-search-cart {
        flex: 1 1 calc(100% - 130px);
        min-width: 0;
    }

    .fb-header-account {
        flex: 0 0 auto;
        margin-left: 0;
    }

    .fb-header-profile .fb-header-action {
        min-width: 130px;
        padding: 6px 10px;
    }

    .fb-header-profile .fb-header-action__text span {
        display: none;
    }
}

@media (max-width: 480px) {
    .fb-header-logo img {
        height: 46px;
    }

    .fb-header-search {
        height: 44px;
        padding-left: 12px;
    }

    .fb-header-search-btn {
        width: 44px;
        height: 32px;
    }

    .fb-header-action__icon {
        width: 34px;
        height: 34px;
    }

    .fb-header-utility .fb-header-action {
        min-width: 50px;
        padding: 5px 8px;
    }

    .fb-header-utility .fb-header-action__text strong {
        font-size: 11px;
    }

    .fb-header-account {
        gap: 8px;
    }

    .fb-header-account .sidebar-notify-toggle {
        display: none;
    }

    .fb-header-profile .fb-header-action {
        min-width: 46px;
        width: 46px;
        padding: 0;
        justify-content: center;
    }

    .fb-header-profile .fb-header-action__text,
    .fb-header-profile .fb-header-action__chevron {
        display: none;
    }
}

.fb-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--brand-accent);
    letter-spacing: -0.5px;
}

.header-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    min-width: 0;
    grid-row: 1;
    align-self: center;
}

.header-search-wrap {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 6px;
    gap: 10px;
    grid-row: 1;
    align-self: center;
    min-width: 0;
    max-width: 100%;
}

.header-search {
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 0;
    min-width: 0;
}

.search-form {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f0f2f5;
    border: 1px solid #e4e6ea;
    border-radius: 999px;
    padding: 3px 10px;
    position: relative;
    margin-bottom: 0;
    min-height: var(--header-control-height);
}

.search-form input {
    border: 0;
    background: transparent;
    flex: 1;
    outline: none;
    font-weight: 600;
    color: var(--fb-text);
    min-width: 0;
    padding: 2px 0;
}

.search-btn {
    border: 0;
    background: transparent;
    color: var(--fb-text);
    border-radius: 0 999px 999px 0;
    padding: 0 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 100%;
}

.search-btn:hover {
    color: var(--theme-primary-dark);
}

.cart-btn {
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 999px;
    padding: 6px 12px 6px 8px;
    font-weight: 700;
    color: var(--fb-text);
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    text-decoration: none;
    align-self: stretch;
    min-height: var(--header-control-height);
    height: var(--header-control-height);
    flex: 0 0 auto;
}

.cart-btn i {
    font-size: 18px;
    line-height: 1;
}

.search-suggest {
    position: absolute;
    top: 110%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e4e6ea;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    max-height: 320px;
    overflow-y: auto;
    z-index: 105;
}

.suggest-section-title {
    padding: 8px 12px;
    font-weight: 800;
    font-size: 0.78rem;
    color: var(--fb-text-sub);
    background: #f8fafc;
    border-bottom: 1px solid #f0f2f5;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.suggest-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    text-decoration: none;
    color: var(--fb-text);
    border-bottom: 1px solid #f0f2f5;
}

.suggest-item:last-child {
    border-bottom: none;
}

.suggest-item.history {
    justify-content: space-between;
}

.suggest-remove {
    border: 0;
    background: transparent;
    color: #94a3b8;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.suggest-remove:hover {
    background: #f1f5f9;
    color: #64748b;
}

.search-hints {
    display: none;
}

.search-hint-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--theme-primary-soft);
    border: 1px solid rgba(var(--theme-primary-rgb), 0.25);
    color: var(--fb-text);
    font-weight: 600;
    font-size: 11px;
    text-decoration: none;
}

.search-hint-item i {
    color: var(--theme-primary);
}

.search-hint-item:hover {
    color: var(--theme-primary);
    border-color: rgba(var(--theme-primary-rgb), 0.5);
}

.suggest-thumb {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    object-fit: cover;
    background: #f8fafc;
    border: 1px solid #e4e6ea;
}

.suggest-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.suggest-name {
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.2;
}

.suggest-price {
    font-weight: 800;
    color: #ef3c2d;
    font-size: 0.9rem;
}

.suggest-price.text-muted {
    color: var(--fb-text-sub) !important;
    font-weight: 500 !important;
    font-size: 0.75rem !important;
    margin-top: 3px;
    line-height: 1.2;
}

.brand-name {
    color: var(--brand-accent);
}

.header-nav-row {
    grid-column: 1 / -1;
    display: none;
    justify-content: center;
}

body.hide-left .header-nav-row {
    display: flex;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    grid-row: 1;
    align-self: center;
    padding-top: 0;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--header-bg);
    padding: 0 6px;
    border-radius: 999px;
}

.header-nav-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 44px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--fb-text-sub);
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.header-nav-btn i {
    font-size: 20px;
}

.header-nav-btn span {
    display: none;
}

.header-nav-btn:hover {
    background: #f0f2f5;
    color: var(--theme-primary);
}

.header-nav-btn.active {
    color: var(--theme-primary);
}

.header-nav-btn.active::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: -10px;
    height: 3px;
    background: var(--theme-primary);
    border-radius: 999px;
}

.header-menu-row {
    grid-column: 1 / -1;
    grid-row: 2;
    display: none;
    justify-content: center;
    margin-top: 0px;
}

body.hide-left .header-menu-row,
body.hide-right .header-menu-row {
    display: flex;
}

.header-menu {
    width: 100%;
    font-weight: 600;
    background: #fff;
    border-radius: 0;
    padding: 6px 0px;
    border: 0;
    overflow: visible;

    margin-top: 0px !important;
}

.header-menu .nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.header-menu .nav-item {
    position: relative;
}

.header-menu .nav-item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 10px;
}

.header-menu .nav-header {
    margin: 0 4px;
    padding: 4px 10px;
    border-radius: 10px;
    background: #f7f8fb;
    border: 1px solid #eef2f7;
    font-size: 0.68rem;
    color: #94a3b8;
    letter-spacing: 0.08em;
}

.header-menu .nav-link {
    padding: 8px 12px;
    font-size: 0.85rem;
    border-radius: 12px;
    background: transparent;
    border: 1px solid transparent;
    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}

.header-menu .nav-link:hover {
    background: #f8fafc;
    border-color: #e6ebf2;
    color: var(--theme-primary-dark);
}

.header-menu .nav-link.active {
    background: var(--theme-primary-soft);
    border-color: rgba(var(--theme-primary-rgb), 0.25);
    color: var(--theme-primary-dark);
}

.header-menu .nav-sublist {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 230px;
    background: #fff;
    border: 1px solid #e6ebf2;
    border-radius: 14px;
    padding: 8px;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
    display: none;
    z-index: 200;
}

.nav-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.nav-toggle-label {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.nav-sublist {
    list-style: none;
    margin: 6px 0 0;
    padding: 0 0 0 18px;
    display: none;
}

.nav-toggle:checked+.nav-toggle-label+.nav-sublist {
    display: block;
}

.nav-chevron {
    margin-left: auto;
    transition: transform 0.2s ease;
}

.nav-toggle:checked+.nav-toggle-label .nav-chevron {
    transform: rotate(180deg);
}

.header-menu .nav-item:hover>.nav-sublist,
.header-menu .nav-sublist:hover {
    display: block;
}

/* PANEL HEADER + FILTERS */
.panel-header {
    position: unset;
    display: flex;
    background: var(--fb-white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
    top: 0;
    z-index: 0;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px 10px 0 0;
}

.panel-header .page-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--fb-text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.panel-body {
    background: var(--fb-white);
    padding: 15px 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 10px 10px;
}

.panel-footer {
    background: #f8fafc;
    padding: 10px 20px;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 10px 10px;
}

.filter-bar {
    background: var(--fb-white);
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin: 15px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (min-width: 768px) {
    .filter-bar {
        flex-direction: row;
        align-items: center;
    }
}

.search-wrapper {
    flex: 1;
    min-width: 200px;
    position: relative;
}

.search-input {
    width: 100%;
    border-radius: 20px;
    background: var(--fb-bg);
    border: none;
    padding: 8px 15px 8px 35px;
    font-size: 14px;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--fb-text-sub);
}

.filter-btn {
    background: var(--fb-bg);
    border: none;
    border-radius: 20px;
    padding: 6px 15px;
    font-weight: 600;
    font-size: 13px;
    color: var(--fb-text);
    cursor: pointer;
    white-space: nowrap;
    min-width: fit-content;
}

.filter-btn:hover {
    background: rgba(var(--theme-primary-rgb), 0.12);
}

#advancedFilters {
    display: none;
    background: var(--fb-white);
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
    border: 1px solid var(--fb-bg);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dataTables_info {
    font-size: 0.875rem;
    color: var(--fb-text-sub);
}

@media (max-width: 767px) {
    .dataTables_info {
        display: none;
    }
}

.badge-user {
    background-color: var(--theme-primary-soft);
    color: var(--theme-primary);
}

.badge-page {
    background-color: #f0fdf4;
    color: #14532d;
}

.badge-type {
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 4px;
    background: var(--fb-bg);
    color: var(--fb-text-sub);
    font-weight: 600;
    text-transform: uppercase;
}

.header-swatch,
.sidebar-swatch {
    width: 100%;
    height: 32px;
    border-radius: 8px;
    border: 2px solid transparent;
    background: var(--swatch);
    cursor: pointer;
    position: relative;
}

.bg-swatch.active,
.header-swatch.active,
.sidebar-swatch.active {
    border-color: #111827;
}

.font-swatch {
    width: 100%;
    height: 32px;
    border-radius: 8px;
    border: 2px solid transparent;
    background: var(--swatch);
    cursor: pointer;
    position: relative;
}

.font-swatch.active {
    border-color: #111827;
}

.page-loader {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at top,
            #e5f0ff 0,
            #f8fafc 40%,
            #ffffff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition:
        opacity 0.4s ease,
        visibility 0.4s ease;
}

.page-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-shell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.loader-logo {
    width: 135px;
    height: 135px;
    border-radius: 16px;
    box-shadow: none;
    /*0 10px 30px rgba(15, 23, 42, 0.12); */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.loader-orbit {
    position: absolute;
    inset: -10px;
    border-radius: inherit;
    animation: loader-orbit-spin 1.4s linear infinite;
    opacity: 0.9;
}

.loader-logo-inner {
    position: relative;
    z-index: 1;
    width: 135px;
    height: 135px;
    background: cover;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f9fafb;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.03em;
}

.loader-progress-track {
    width: 120px;
    height: 4px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.35);
    overflow: hidden;
}

.loader-progress-bar {
    width: 40%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0b4b28, #465f3e);
    animation: loader-progress 1.2s ease-in-out infinite;
}

.loader-text {
    font-size: 13px;
    color: #333;
}

@keyframes loader-orbit-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes loader-progress {
    0% {
        transform: translateX(-60%);
    }

    50% {
        transform: translateX(10%);
    }

    100% {
        transform: translateX(120%);
    }
}

/* GROUP SECTION */
.group-container {
    background: var(--fb-white);
    border-radius: 10px;
    box-shadow: var(--fb-shadow);
    padding: 20px;
    margin-bottom: 24px;
}

.group-title {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--fb-text-sub);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f2f5;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
}

/* GRID */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

/* CARD STYLE */
.fb-card {
    background: #f7f8fa;
    border-radius: 10px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: var(--fb-text);
    border: 1px solid transparent;
}

.fb-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    /* Bo gÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â³c vuÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â´ng mÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Âm thay vÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ trÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â²n hÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â³n */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 10px;
    color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.fb-stat-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--fb-text);
    margin-bottom: 2px;
}

.fb-stat-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--fb-text-sub);
}

/* Responsive Header */
@media (max-width: 768px) {
    .fb-header {
        padding: 13px 0;
    }

    .header-shell {
        display: grid;
        grid-template-columns: auto auto 1fr auto auto;
        grid-template-rows: auto auto;
        align-items: center;
        gap: 6px 6px;
        padding: 0 10px;
    }

    .header-left {
        grid-column: 1 / 3;
        grid-row: 1;
        align-items: center;
        gap: 6px;
    }

    .header-brand {
        display: inline-flex !important;
        margin-left: 0;
    }

    .header-actions {
        display: flex !important;
        grid-column: 4 / 6;
        grid-row: 1;
        gap: 6px;
        align-items: center;
        justify-content: flex-end;
    }

    .fb-logo {
        font-size: 20px;
    }

    .header-search-wrap {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        padding: 0;
        min-width: 0;
        display: none;
    }

    .header-search-wrap.is-open {
        display: block;
    }

    .header-search {
        width: 100%;
        display: flex;
        flex-direction: row;
        gap: 6px;
        align-items: center;
        min-width: 0;
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 14px;
        padding: 4px;
        box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
    }

    .search-hints {
        display: none;
    }

    .search-form {
        border-radius: 10px;
        min-height: 36px;
        width: 100%;
        border: 0;
        background: transparent;
        flex: 1 1 0;
        min-width: 0;
        padding: 2px 8px;
    }

    .search-btn {
        padding: 6px 10px;
        height: 28px;
        font-size: 12px;
        border-radius: 10px;
    }

    .cart-btn {
        padding: 0;
        min-height: 36px;
        width: 36px;
        justify-content: center;
        flex: 0 0 auto;
        box-shadow: none;
        border: 1px solid #e5e7eb;
        background: #fff;
    }

    .cart-btn .cart-label {
        display: none;
    }

    .search-form input {
        font-size: 15px;
    }

    .header-menu-row {
        display: none !important;
    }
}

@media (max-width: 575px) {
    .header-search {
        max-width: 100%;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .header-search {
        max-width: 520px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .header-search {
        max-width: 620px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .header-search {
        max-width: 740px;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .header-search {
        max-width: 860px;
    }
}

@media (min-width: 1400px) {
    .header-search {
        max-width: 980px;
    }
}

@media (min-width: 992px) {
    body.hide-left .mobile-menu-toggle {
        display: none !important;
    }

    body.hide-right .sidebar-notify-toggle {
        display: inline-flex !important;
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.fb-header .mobile-menu-toggle,
.header-actions .sidebar-notify-toggle,
.header-actions .mobile-search-toggle,
.header-actions .header-user-btn {
    border: 1px solid #e5e7eb;
    background: #fff;
    color: var(--fb-text);
    border-radius: 10px;
    height: 38px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.06);
}

.header-actions .sidebar-notify-toggle,
.header-actions .mobile-search-toggle {
    width: 38px;
    padding: 0;
    border-radius: 10px !important;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.06) !important;
    background: #fff !important;
}

.header-actions .header-user-btn {
    padding: 4px 10px;
    gap: 8px;
    margin-top: 0 !important;
    height: 38px;
}

.header-actions .sidebar-notify-toggle:hover,
.header-actions .mobile-search-toggle:hover,
.header-actions .header-user-btn:hover {
    border-color: rgba(var(--theme-primary-rgb), 0.4);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    transform: translateY(-1px);
}

.header-actions .sidebar-notify-toggle i,
.header-actions .mobile-search-toggle i {
    font-size: 18px !important;
}

body.hide-left .fb-header .sidebar-notify-toggle,
body.hide-right .fb-header .sidebar-notify-toggle {
    display: inline-flex;
}

.fb-header .mobile-menu-toggle i,
.fb-header .sidebar-notify-toggle i {
    font-size: 18px;
}

.header-user-btn {
    border-radius: 10px;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        border-color 0.15s ease;
}

@media (min-width: 992px) {

    .header-search .search-form,
    .cart-btn,
    .header-actions .sidebar-notify-toggle,
    .header-actions .header-user-btn {
        height: 38px;
        min-height: 38px;
        border-radius: 10px;
        background: #fff;
        border: 1px solid #e5e7eb;
        box-shadow: 0 6px 14px rgba(15, 23, 42, 0.06);
    }

    .header-search .search-form {
        padding: 0 10px;
        gap: 8px;
    }

    .header-search .search-btn {
        height: 100%;
        min-height: 100%;
        border: 0;
        box-shadow: none;
        background: transparent;
        color: var(--fb-text);
    }

    .header-search .search-form input {
        height: 100%;
        padding: 0;
    }

    .cart-btn {
        padding: 0 12px;
    }
}

.header-user-btn .user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--theme-primary-soft);
    color: var(--theme-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.header-user-meta {
    line-height: 1.1;
}

.header-user-name {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--fb-text);
}

.header-user-sub {
    font-size: 0.7rem;
    color: var(--fb-text-sub);
}

.header-user-menu {
    border-radius: 12px;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
    border: 1px solid #e5e7eb;
}

.header-user-menu .dropdown-item {
    font-weight: 600;
    font-size: 0.9rem;
}

.header-user-menu .dropdown-item:active {
    background-color: var(--theme-primary) !important;
    color: var(--theme-primary-contrast) !important;
}

/*
        .btn,
        a.btn {
            text-decoration: none !important;
            align-content: center;
            text-align: center;
            align-items: center;
            justify-content: center;
        }

        a {
            text-decoration: none !important;
        }*/

@media (max-width: 1024px) {
    .fb-sidebar-right {
        display: none;
    }

    .fb-main {
        margin-right: 0;
    }

    .fb-main::after {
        content: "";
        display: block;
        height: 1px;
        background: #e4e6ea;
        margin: 20px 0;
    }
}

@media (min-width: 1200px) {
    body.hide-right .sidebar-overlay-right {
        display: block !important;
    }
}

@media (max-width: 991px) {
    .fb-sidebar-left {
        top: 72px;
        height: calc(100vh - 72px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        display: none;
    }

    .fb-sidebar-left.show {
        display: block !important;
        left: 0 !important;
        z-index: 1050;
    }

    .sidebar-overlay {
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        height: calc(100vh - 100px);
        background: rgba(0, 0, 0, 0.5);
        z-index: 1045;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .sidebar-overlay.show {
        opacity: 1;
        visibility: visible;
    }

    .fb-main {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    .dashboard-container {
        padding: 0;
    }

    .group-container {
        margin-bottom: 20px;
        padding: 15px;
        border-radius: 12px;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
    }

    .fb-card {
        padding: 12px;
        border-radius: 8px;
    }

    .fb-icon-circle {
        width: 36px;
        height: 36px;
        font-size: 18px;
        margin-bottom: 8px;
    }

    .fb-stat-value {
        font-size: 18px;
    }

    .fb-stat-label {
        font-size: 12px;
    }

    .fb-sidebar-left {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1050;
    }

    .fb-sidebar-left.show {
        transform: translateX(0);
    }

    .fb-main {
        margin-left: 0;
        padding: 15px;
        overflow-x: hidden;
    }

    .mobile-menu-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        position: static;
        z-index: 1;
        background: #ffffff;
        border: none;
        border-radius: 8px;
        padding: 8px;
        color: #050505;
        font-size: 18px;
    }

    .sidebar-overlay {
        display: none;
        position: fixed;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1040;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .sidebar-overlay.show {
        display: block;
        opacity: 1;
    }

    .fb-header {
        padding-left: 0;
    }

    .fb-sidebar-left {
        width: 280px;
    }
}

@media (max-width: 576px) {
    .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }

    .card {
        margin-bottom: 15px;
        border-radius: 8px;
    }

    .card-header,
    .card-body,
    .card-footer {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .fb-card {
        padding: 10px;
        text-align: center;
    }

    .fb-icon-circle {
        width: 32px;
        height: 32px;
        font-size: 16px;
        margin-bottom: 6px;
    }

    .fb-stat-value {
        font-size: 16px;
    }

    .fb-stat-label {
        font-size: 11px;
    }

    .group-title {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .fb-main {
        padding: 4px;
        margin-top: -15px;
    }
}

.voucher-table-wrap {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.voucher-table-toolbar {
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.voucher-table-title {
    font-weight: 700;
    color: #0f172a;
}

.voucher-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

/*
.summary-card {
    border: 1px solid #d9e2ee;
    border-radius: 12px;
    padding: 10px;
    background: #fff;
    cursor: pointer;
    min-height: 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all .15s;
}

.summary-card strong {
    display: block;
    font-size: 1.05rem;
    color: #0f172a;
    line-height: 1.2;
}

.summary-card span {
    font-size: .72rem;
    color: #64748b;
    font-weight: 700;
}

.summary-card:hover {
    border-color: #c1d2eb;
}

.summary-card.active {
    border-color: #2563eb;
    background: #eff6ff;
}

.summary-card.active[data-voucher-tab="all"] {
    border-color: #4b5563;
    background: #f3f4f6;
}

.summary-card.active[data-voucher-tab="order_discount"] {
    border-color: #2563eb;
    background: #eff6ff;
}

.summary-card.active[data-voucher-tab="shipping_discount"] {
    border-color: #0d9488;
    background: #ecfeff;
}

.summary-card.active[data-voucher-tab="only_category_discount"] {
    border-color: #ea580c;
    background: #fff7ed;
}

.summary-card.active[data-voucher-tab="category_discount"] {
    border-color: #7c3aed;
    background: #f5f3ff;
}

.summary-card.active[data-voucher-tab="payment_discount"] {
    border-color: #16a34a;
    background: #ecfdf3;
}
*/

/*.voucher-table { width: 100%; border-collapse: separate; border-spacing: 0; }
    .voucher-table thead th { background: #f8fafc; font-weight: 700; text-transform: uppercase; font-size: 0.72rem; color: #64748b; letter-spacing: .05em; padding: 12px 10px; border-bottom: 1px solid #e2e8f0; white-space: nowrap; }
    .voucher-table tbody td { padding: 12px 10px; border-bottom: 1px solid #eef2f7; vertical-align: middle; font-size: 0.9rem; color: #0f172a; }
    .voucher-table tbody tr:hover { background: #f8fafc; }
    .voucher-table .badge { font-weight: 600; }
    
*/
.voucher-benefit-chip {
    border-radius: 10px;
    border: 1px dashed #e5e7eb;
    background: #f9fafb;
    padding: 6px 10px;
    display: grid;
    gap: 2px;
}

.voucher-benefit-value {
    font-weight: 800;
    font-size: 0.9rem;
    color: #0f172a;
}

.voucher-benefit-hint {
    font-size: 0.72rem;
    color: #6b7280;
}

.voucher-type-chip {
    display: flex;
    align-items: center;
    gap: 8px;
}

.voucher-type-icon {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    background: #e5e7eb;
    color: #111827;
}

.voucher-type-title {
    font-weight: 600;
    font-size: 0.8rem;
    color: #111827;
}

.voucher-type-meta {
    font-size: 0.72rem;
    color: #6b7280;
}

.voucher-actions {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
}

.product-picker {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    padding: 10px;
}

.product-picker-toolbar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.product-picker-list {
    max-height: 220px;
    overflow: auto;
    border: 1px solid #eef2f7;
    border-radius: 8px;
    padding: 8px;
    background: #f8fafc;
    display: grid;
    gap: 6px;
}

.product-picker-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.product-picker-item .meta {
    color: #64748b;
    font-size: 0.78rem;
}

.product-picker-empty {
    color: #64748b;
    font-size: 0.84rem;
    text-align: center;
    padding: 8px;
}

.product-picker-child {
    margin-left: 24px;
    border-left: 1px dashed #e2e8f0;
    padding-left: 8px;
    margin-top: 4px;
    display: grid;
    gap: 4px;
}

.product-picker-group {
    background: #f1f5f9;
    border-radius: 6px;
    padding: 4px 8px;
    border: 1px solid #e2e8f0;
    margin-bottom: 2px;
}

.product-picker-variant {
    background: #fff;
    border-radius: 4px;
    padding: 3px 8px;
    border: 1px solid #f1f5f9;
}

.voucher-stepper {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.step-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    gap: 10px;
    align-items: center;
    background: #f8fafc;
}

.step-item.active {
    border-color: #2563eb;
    background: #eff6ff;
    box-shadow: inset 0 0 0 1px #bfdbfe;
}

.step-index {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #1e293b;
    background: #e2e8f0;
}

.step-item.active .step-index {
    background: #2563eb;
    color: #fff;
}

.step-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: #0f172a;
}

.step-sub {
    font-size: 0.76rem;
    color: #64748b;
}

.tpl-grid {
    margin: 0;
}

.tpl-grid>[class*="col-"] {
    padding: 0 6px;
}

.tpl-card {
    text-align: left;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px;
    background: #fff;
    cursor: pointer;
    transition: 0.15s;
    position: relative;
    overflow: hidden;
}

.tpl-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: 14px;
}

.tpl-card.active::after {
    border-color: currentColor;
}

.tpl-title {
    font-weight: 800;
    margin-bottom: 4px;
}

.tpl-desc {
    font-size: 0.82rem;
    color: #64748b;
}

.tpl-voux-card {
    position: relative;
    background: #fff;
    border: 1px solid #ffd8cf;
    border-radius: 10px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 6px 64px 1fr auto;
    align-items: stretch;
    margin-top: 10px;
}

.tpl-voux-card::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(6px + 64px);
    width: 1px;
    border-left: 1px dashed #e5e7eb;
}

.tpl-voux-qty {
    position: absolute;
    top: 6px;
    right: 8px;
    font-size: 0.62rem;
    font-weight: 700;
    color: #0f172a;
    background: rgba(15, 23, 42, 0.08);
    padding: 2px 6px;
    border-radius: 999px;
}

.tpl-voux-accent {
    background: #ee4d2d;
}

.tpl-voux-brand {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 6px;
    padding: 8px 6px;
}

.tpl-voux-logo-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ee4d2d;
    color: #fff;
    font-size: 0.85rem;
}

.tpl-voux-brand-name {
    font-size: 0.6rem;
    font-weight: 800;
    color: #4b5563;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.1;
}

.tpl-voux-main {
    padding: 8px 10px;
    display: grid;
    gap: 4px;
}

.tpl-voux-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.6rem;
    font-weight: 700;
    color: #ee4d2d;
    background: #fff1ee;
    border: 1px solid #ffd8cf;
    border-radius: 999px;
    padding: 2px 6px;
    width: fit-content;
}

.tpl-voux-main-title {
    font-size: 0.8rem;
    font-weight: 800;
    color: #111827;
    line-height: 1.25;
}

.tpl-voux-sub {
    font-size: 0.68rem;
    color: #6b7280;
}

.tpl-voux-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-top: 2px;
    flex-wrap: wrap;
}

.tpl-voux-time {
    font-size: 0.66rem;
    color: #ef4444;
}

.tpl-voux-side {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 6px;
    padding: 8px 8px;
    min-width: 84px;
}

.tpl-voux-btn {
    border: 1px solid #ee4d2d;
    border-radius: 6px;
    background: #fff;
    color: #ee4d2d;
    font-size: 0.66rem;
    font-weight: 700;
    padding: 4px 8px;
}

.tpl-voux-tag {
    font-size: 0.6rem;
    color: #6b7280;
}

.tpl-voux-card.tpl-voux-ship {
    border-color: #b7ece6;
}

.tpl-voux-card.tpl-voux-ship .tpl-voux-accent {
    background: #26aa99;
}

.tpl-voux-card.tpl-voux-ship .tpl-voux-logo-icon {
    background: #26aa99;
}

.tpl-voux-card.tpl-voux-ship .tpl-voux-badge {
    color: #26aa99;
    border-color: #b7ece6;
    background: #ecfdfb;
}

.tpl-voux-card.tpl-voux-ship .tpl-voux-btn {
    color: #26aa99;
    border-color: #26aa99;
}

.tpl-voux-card.tpl-voux-order {
    border-color: #ffd8cf;
}

.tpl-voux-card.tpl-voux-order .tpl-voux-accent {
    background: #ee4d2d;
}

.tpl-voux-card.tpl-voux-order .tpl-voux-logo-icon {
    background: #ee4d2d;
}

.tpl-voux-card.tpl-voux-order .tpl-voux-badge {
    color: #ee4d2d;
    border-color: #ffd8cf;
    background: #fff1ee;
}

.tpl-voux-card.tpl-voux-order .tpl-voux-btn {
    color: #ee4d2d;
    border-color: #ee4d2d;
}

.tpl-voux-card.tpl-voux-category {
    border-color: #fed7aa;
}

.tpl-voux-card.tpl-voux-category .tpl-voux-accent {
    background: #ea580c;
}

.tpl-voux-card.tpl-voux-category .tpl-voux-logo-icon {
    background: #ea580c;
}

.tpl-voux-card.tpl-voux-category .tpl-voux-badge {
    color: #ea580c;
    border-color: #fed7aa;
    background: #fff7ed;
}

.tpl-voux-card.tpl-voux-category .tpl-voux-btn {
    color: #ea580c;
    border-color: #ea580c;
}

.tpl-voux-card.tpl-voux-all {
    border-color: #ddd6fe;
}

.tpl-voux-card.tpl-voux-all .tpl-voux-accent {
    background: #7c3aed;
}

.tpl-voux-card.tpl-voux-all .tpl-voux-logo-icon {
    background: #7c3aed;
}

.tpl-voux-card.tpl-voux-all .tpl-voux-badge {
    color: #7c3aed;
    border-color: #ddd6fe;
    background: #f5f3ff;
}

.tpl-voux-card.tpl-voux-all .tpl-voux-btn {
    color: #7c3aed;
    border-color: #7c3aed;
}

.tpl-voux-card.tpl-voux-payment {
    border-color: #bbf7d0;
}

.tpl-voux-card.tpl-voux-payment .tpl-voux-accent {
    background: #16a34a;
}

.tpl-voux-card.tpl-voux-payment .tpl-voux-logo-icon {
    background: #16a34a;
}

.tpl-voux-card.tpl-voux-payment .tpl-voux-badge {
    color: #16a34a;
    border-color: #bbf7d0;
    background: #ecfdf5;
}

.tpl-voux-card.tpl-voux-payment .tpl-voux-btn {
    color: #16a34a;
    border-color: #16a34a;
}

.tpl-default {
    color: #2563eb;
    background: #eff6ff;
}

.tpl-category {
    color: #ea580c;
    background: #fff7ed;
}

.tpl-all {
    color: #7c3aed;
    background: #f5f3ff;
}

.tpl-payment {
    color: #059669;
    background: #ecfdf5;
}

.tpl-ship {
    color: #0d9488;
    background: #ecfeff;
}

.type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.type-card {
    text-align: left;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
    background: #fff;
    cursor: pointer;
    transition: 0.15s;
}

.type-card.active {
    border-color: #ffffff;
    background: #f8fafc;
}

.type-title {
    font-weight: 700;
    margin-bottom: 4px;
}

.type-desc {
    font-size: 0.8rem;
    color: #fff;
}

.main-container-ad-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
}

.ad-banner-rail {
    flex: 0 0 150px;
    width: 150px;
    min-width: 150px;
    height: auto;
    top: 300px;
    right: 100px;
    left: 100px;
    background: #fff;
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #94a3b8;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 2;
    position: sticky;
}

.main-container-slot {
    flex: 0 1 1400px;
    width: min(100%, 1400px);
    max-width: 1400px;
    min-width: 0;
}

.main-container {
    width: 100%;
}

.main-fluid {
    max-width: none;
}

.main-boxed {
    max-width: 1300px;
    margin: 0 auto;
    padding: 4px;
}

/* ===== NÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Âºt cÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â i ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¾ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¹Ãƒâ€¦Ã¢â‚¬Å“ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â·t bÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¹Ãƒâ€¦Ã¢â‚¬Å“ cÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¥c (FAB) - gÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â³c dÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â°ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Âºi-trÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡i ===== */
.layout-fab {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 1055;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.22);
}

.layout-fab i {
    transition: transform 0.3s ease;
}

.layout-fab:hover i {
    transform: rotate(45deg);
}

/* Panel cÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â i ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¾ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¹Ãƒâ€¦Ã¢â‚¬Å“ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â·t - mÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¸ lÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Âªn trÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Âªn FAB, neo gÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â³c dÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â°ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Âºi-trÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡i */
.layout-panel {
    position: fixed;
    left: 20px;
    bottom: 80px;
    z-index: 1056;
    width: 300px;
    max-width: calc(100vw - 40px);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    background: #fff;
    border: 1px solid var(--order-border);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    padding: 16px;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.layout-panel.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.layout-panel .theme-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.layout-panel .theme-swatch,
.layout-panel .font-swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: var(--swatch, #ccc);
    box-shadow: 0 0 0 1px var(--order-border);
    cursor: pointer;
    padding: 0;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.layout-panel .theme-swatch:hover,
.layout-panel .font-swatch:hover {
    transform: scale(1.12);
}

.layout-panel .theme-swatch.active,
.layout-panel .font-swatch.active {
    box-shadow: 0 0 0 2px var(--theme-primary), 0 0 0 4px rgba(var(--theme-primary-rgb), 0.25);
}

.layout-segment {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.layout-segment .layout-seg-btn {
    flex: 1 1 auto;
    min-width: 64px;
    padding: 6px 8px;
    font-size: 0.78rem;
    border-radius: 10px;
    border: 1px solid var(--order-border);
    background: #fff;
    color: var(--fb-text);
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.layout-segment .layout-seg-btn.active {
    border-color: var(--theme-primary);
    background: var(--theme-primary-soft);
    color: var(--theme-primary-dark);
}

/* ===== CÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡c biÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¿n thÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ bÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¹Ãƒâ€¦Ã¢â‚¬Å“ cÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¥c header ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¾ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¹Ãƒâ€¦Ã¢â‚¬Å“iÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Âu khiÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢n bÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¸i panel ===== */
/* ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¨n thanh menu ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¾ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¹Ãƒâ€¦Ã¢â‚¬Å“iÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Âu hÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â°ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Âºng */
body.header-menu-hidden .header-menu-row {
    display: none !important;
}

/* Header khÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â´ng dÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â­nh (cuÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¾ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢n theo trang) */
body.header-static .fb-header {
    position: relative;
}

/* CÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¾ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢n lÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â logo/menu */
body.header-logo-center .fb-header-brand {
    margin-left: auto;
    margin-right: auto;
}

/* MÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â u nÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Ân header */
body.header-bg-dark .fb-header-body {
    background: #0b1f16;
}

body.header-bg-dark .fb-header-action,
body.header-bg-dark .fb-header-icon-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #e8f5ee;
    border-color: rgba(255, 255, 255, 0.15);
}

body.header-bg-dark .fb-header-action__text span,
body.header-bg-dark .fb-header-action__text strong {
    color: #e8f5ee;
}

body.header-bg-transparent .fb-header-body {
    background: transparent;
    border-bottom-color: transparent;
}

@media (max-width: 768px) {
    .layout-fab {
        left: 14px;
        bottom: 14px;
    }

    .layout-panel {
        left: 14px;
        bottom: 70px;
    }
}

.ad-banner-rail img {
    width: auto;
    height: auto;
    max-width: 150px !important;
    object-fit: contain;
    display: block;
}

@media (max-width: 1400px) {
    .ad-banner-rail {
        display: none;
    }
}

@media (max-width: 768px) {
    .main-container-ad-wrap {
        justify-content: center;
    }

    .main-container-slot {
        flex: 1 1 auto;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
}

.home-popup-banner {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2100;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
    padding: 16px;
}

.home-popup-banner.show {
    opacity: 1;
    visibility: visible;
}

.home-popup-banner-inner {
    max-width: 420px;
    width: 100%;
    background: none;
    border-radius: 18px;
    box-shadow: 0 rgba(15, 23, 42, 0.45);
    overflow: hidden;
    position: relative;
}

.home-popup-banner-img-wrap {
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-popup-banner-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.home-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: none;
    background: rgba(15, 23, 42, 0.7);
    color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
}

.home-popup-close:hover {
    background: rgba(15, 23, 42, 0.95);
}

body.home-popup-open {
    overflow: hidden;
}

/* 
   Global Modal & Overlay Customization
   Applying the premium blur effect to all Bootstrap modals
*/
.modal-backdrop {
    background-color: rgba(15, 23, 42, 0.4) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: opacity 0.3s ease !important;
}

.modal-backdrop.show {
    opacity: 1 !important;
}

/* Standardizing modal content with the premium look */
.modal-content {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    /* Default for large modals, adjusted in media queries if needed */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    border: none;
}

/* Smooth Entrance Animation for Bootstrap Modals */
.modal.fade .modal-dialog {
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal.show .modal-dialog {
    transform: scale(1) translateY(0);
}

.modal-header {
    border-bottom: 1px solid #f1f5f9;
    padding: 20px 24px;
    background: linear-gradient(to right, #f8fafc, #fff);
}

.modal-footer {
    border-top: 1px solid #f1f5f9;
    padding: 16px 24px;
}

.modal-title {
    font-weight: 800;
    font-size: 1.1rem;
    color: #1e293b;
}

.btn-close:focus {
    box-shadow: none !important;
}

/* KhuyÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¿n mÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â£i banner tÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡i home */
/* 3-Column Promotion Banner Styles */
.promotion-banner-section {
    position: relative;
    overflow: hidden;
    padding: 8px 0;
    margin: 10px 0;
    user-select: none;
}

.promotion-banner-track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    padding: 4px;
}

.promotion-banner-track::-webkit-scrollbar {
    display: none;
}

.promotion-banner-track.active {
    cursor: grabbing;
    scroll-behavior: auto;
}

.promotion-banner-item {
    flex: 0 0 calc(33.333% - 7px);
    aspect-ratio: 2.4 / 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
    background: #f1f5f9;
}

.promotion-banner-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.promotion-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

@media (max-width: 768px) {
    .promotion-banner-item {
        flex: 0 0 calc(50% - 5px);
        aspect-ratio: 2 / 1;
    }
}

@media (max-width: 480px) {
    .promotion-banner-item {
        flex: 0 0 85%;
    }
}

.home-promos-wrapper {
    background: #f8fafc;
    padding: 0;
    overflow: hidden;
}

.hpromo-section-title {
    font-size: 1.04rem;
    font-weight: 700;
    color: #0f172a;
}

.hpromo-nav-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
    line-height: 1;
}

.hpromo-nav-btn:hover {
    background: var(--theme-primary);
    border-color: var(--theme-primary);
    color: #fff;
}

.hpromo-btn-view-all {
    font-weight: 600;
    color: var(--theme-primary);
    text-decoration: none;
    font-size: 0.8rem;
    padding: 4px 10px;
    background: var(--theme-primary-soft);
    border-radius: 99px;
    transition: all 0.2s;
    white-space: nowrap;
}

.hpromo-btn-view-all:hover {
    background: var(--theme-primary);
    color: #fff;
}

.hpromo-scroll-container {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.hpromo-scroll-container.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

/* NgÃ„Æ’n Ã¡ÂºÂ£nh + text bÃ¡Â»â€¹ select trong lÃƒÂºc Ã„â€˜ang kÃƒÂ©o, nhÃ†Â°ng vÃ¡ÂºÂ«n cho phÃƒÂ©p click bÃƒÂ¬nh thÃ†Â°Ã¡Â»Âng khi khÃƒÂ´ng drag */
.hpromo-scroll-container.is-dragging img {
    -webkit-user-drag: none;
}

.hpromo-scroll-container::-webkit-scrollbar {
    display: none;
}

.hpromo-item-wrapper {
    flex: 0 0 360px;
    scroll-snap-align: start;
}

@media (max-width: 992px) {
    .hpromo-item-wrapper {
        flex: 0 0 320px;
    }
}

@media (max-width: 768px) {
    .hpromo-item-wrapper {
        flex: 0 0 280px;
    }
}

@media (max-width: 480px) {
    .hpromo-item-wrapper {
        flex: 0 0 88vw;
    }
}

.hpromo-item-card {
    background: #ffffff;
    border: 1px solid #e8edf2;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.hpromo-item-card:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.09);
    border-color: var(--theme-primary);
}

.hpromo-item-img {
    height: 140px;
    background-size: cover;
    background-position: center;
    background-color: #f1f5f9;
    position: relative;
    flex-shrink: 0;
}

.hpromo-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.6rem;
    font-weight: 800;
    color: var(--theme-primary);
    text-transform: uppercase;
    z-index: 2;
}

.hpromo-content {
    padding: 10px 12px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
}

.hpromo-item-title {
    color: #0f172a;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hpromo-item-desc {
    color: #64748b;
    font-size: 0.75rem;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hpromo-time {
    font-size: 0.68rem;
    color: #94a3b8;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 3px;
    margin-top: auto;
    padding-top: 4px;
}

.hpromo-footer {
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px dashed #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hpromo-product-tag {
    font-size: 0.75rem;
    color: #059669;
    background: #ecfdf5;
    padding: 3px 8px;
    border-radius: 5px;
    font-weight: 700;
}

.hpromo-action {
    color: var(--theme-primary);
    font-weight: 700;
    font-size: 0.78rem;
}

/* Skeleton Loading System */
.skeleton-line {
    background: linear-gradient(90deg, #f0f0f0 25%, #f8f8f8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite linear;
    border-radius: 4px;
    display: inline-block;
    width: 100%;
    height: 14px;
    vertical-align: middle;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.skeleton-rect {
    height: 100%;
    width: 100%;
    min-height: 20px;
}

.skeleton-title {
    height: 28px;
    width: 80%;
    margin-bottom: 12px;
}

.skeleton-price {
    height: 32px;
    width: 40%;
    margin-bottom: 15px;
}

.skeleton-badge {
    height: 24px;
    width: 60px;
    border-radius: 12px;
    margin-right: 5px;
}

.skeleton-gallery-main {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    margin-bottom: 10px;
    background: #f1f5f9 !important;
    animation: none !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.skeleton-gallery-main::before {
    content: "";
    display: block;
    width: 72px;
    height: 72px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cbd5e1' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2' ry='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpolyline points='21 15 16 10 5 21'/%3E%3C/svg%3E") center/contain no-repeat;
    opacity: 0.55;
}

/* Tá»± áº©n skeleton khi gallery Ä‘Ã£ cÃ³ áº£nh/video tháº­t Ä‘Æ°á»£c set (cÃ³ thuá»™c tÃ­nh src) */
.gallery-main:has(#galleryMainImage[src]:not([src=""])) .skeleton-gallery-main,
.gallery-main:has(#galleryMainVideo[src]:not([src=""])) .skeleton-gallery-main {
    display: none !important;
}

.skeleton-gallery-thumb {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    margin-bottom: 10px;
    display: block;
}

.skeleton-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
}

.skeleton-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
}

.btnCopyProductLink {
    position: absolute;
    top: 60px;
    right: 10px;
    z-index: 5;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 6px 10px;
    font-weight: 700;
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

/* === VARIANT GROUP TABS === */
.vg-tabs-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    gap: 4px;
}

.vg-tabs {
    flex-grow: 1;
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    padding: 2px 0 6px 0;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.vg-tabs::-webkit-scrollbar {
    display: none;
}

.vg-nav-btn {
    width: 28px;
    height: 28px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    color: #64748b;
    transition: all 0.2s ease;
    flex-shrink: 0;
    font-size: 12px;
}

.vg-nav-btn:hover {
    background: #f8fafc;
    color: var(--theme-primary);
    border-color: var(--theme-primary);
}

.vg-nav-btn i {
    line-height: 1;
}

.vg-tab {
    flex: 0 0 auto;
    padding: 5px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 100px;
    background: #f8fafc;
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    user-select: none;
}

.vg-tab:hover {
    border-color: var(--theme-primary);
    color: var(--theme-primary);
    background: #fff;
}

.vg-tab.active {
    background: var(--theme-primary);
    border-color: var(--theme-primary);
    color: #fff;
}

.variant-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.variant-grid {
    display: none;
    /* replaced by variant-row */
}

.variant-card {
    border: 1.5px solid #e2e8f0;
    border-radius: 6px;
    padding: 4px 6px;
    background: #fff;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    min-width: 0;
    flex: 0 0 calc(30% - 4px);
    /* 5 items per row */
}

@media (max-width: 992px) {
    .variant-card {
        flex: 0 0 calc(33.33% - 4px);
    }
}

@media (max-width: 576px) {
    .variant-card {
        flex: 0 0 calc(50% - 3px);
    }
}

.variant-card:hover {
    border-color: var(--theme-primary);
}

.variant-card.active {
    border-color: var(--theme-primary);
    background: rgba(var(--theme-primary-rgb), 0.05);
}

.variant-card.active::after {
    content: "\F26B";
    font-family: "bootstrap-icons";
    position: absolute;
    top: -6px;
    right: -6px;
    width: 16px;
    height: 16px;
    background: var(--theme-primary);
    color: #fff;
    font-size: 9px;
    line-height: 16px;
    text-align: center;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.variant-img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    border-radius: 4px;
    background: #f8fafc;
    flex-shrink: 0;
}

.variant-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: #334155;
    line-height: 1.2;
    /*display: -webkit-box;*/
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    flex-grow: 1;
}

.variant-card.active .variant-title {
    color: var(--theme-primary);
    font-weight: 700;
}

.variant-card.out-of-stock {
    opacity: 0.45;
    cursor: not-allowed;
    filter: grayscale(0.7);
}

.variant-show-more {
    border: 1.5px dashed #cbd5e1;
    border-radius: 6px;
    padding: 4px 12px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 0 0 auto;
}

.variant-show-more:hover {
    border-color: var(--theme-primary);
    color: var(--theme-primary);
    background: #fff;
}

/* === PRODUCT GALLERY REDESIGN === */
.gallery-thumb-section {
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-thumb-label {
    display: none;
}

.gallery-thumb-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    scrollbar-width: none;
}

.gallery-thumb-row::-webkit-scrollbar {
    display: none;
}

@media (min-width: 768px) {
    .gallery-thumb-row {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }
}

@media (max-width: 767px) {
    .gallery-thumb-row {
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        margin-bottom: 10px;
    }
}

.gallery-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    padding: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .gallery-thumb {
        width: 60px;
        height: 60px;
    }
}

.gallery-thumb:hover {
    border-color: var(--theme-primary);
}

.gallery-thumb.active {
    border-color: var(--theme-primary);
    background: rgba(var(--theme-primary-rgb), 0.05);
    box-shadow: 0 0 0 2px rgba(var(--theme-primary-rgb), 0.1);
}

.gallery-thumb img,
.gallery-thumb video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 5px;
}

.thumb-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 1.2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.gallery-main {
    position: relative;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.gallery-main img,
.gallery-main video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-main:hover img {
    transform: scale(1.02);
}

.gallery-zoom-btn:hover {
    background: #fff;
    transform: scale(1.1);
    color: var(--theme-primary);
}

.gallery-main-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0;
    visibility: hidden;
}

.gallery-main:hover .gallery-main-arrow {
    opacity: 1;
    visibility: visible;
}

.gallery-main-prev {
    left: 15px;
}

.gallery-main-next {
    right: 15px;
}

.gallery-main-arrow:hover {
    background: #fff;
    color: var(--theme-primary);
}

/* === RELATED PRODUCTS REDESIGN === */
.related-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.2s ease;
    text-decoration: none !important;
}

.related-item:last-child {
    border-bottom: none;
}

.related-item:hover {
    background: #f8fafc;
}

.related-thumb {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.related-info {
    min-width: 0;
    flex-grow: 1;
}

.related-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 2px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-meta {
    font-size: 0.72rem;
    color: #64748b;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-price-box {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.related-price {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--theme-primary);
}

.related-price-old {
    font-size: 0.75rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.sticky-column {
    position: sticky;
    top: 150px;
    height: fit-content;
    align-self: flex-start;
    z-index: 10;
}

.product-info-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
}

.product-info-label {
    font-size: 0.82rem;
    font-weight: 500;
    color: #64748b;
    min-width: 100px;
    text-transform: uppercase;
}

.product-info-value {
    font-size: 0.85rem;
    font-weight: 800;
    color: #0f172a;
}

@media (max-width: 991px) {
    .sticky-column {
        position: static;
        height: auto;
    }
}

/* === COMPACT PRODUCT TABS === */
.product-tabs-container {
    position: relative;
    margin-bottom: 0;
}

#productInfoTabsNav {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    padding: 4px;
    background: #f1f5f9;
    border-radius: 12px;
    margin-bottom: 0;
    border-bottom: none !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#productInfoTabsNav::-webkit-scrollbar {
    display: none;
}

#productInfoTabsNav .nav-item {
    flex: 1 0 auto;
}

#productInfoTabsNav .nav-link {
    border: none !important;
    border-radius: 9px !important;
    padding: 8px 12px;
    font-size: 0.8rem;
    color: #64748b;
    background: transparent;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 700;
    height: 100%;
}

#productInfoTabsNav .nav-link i {
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

#productInfoTabsNav .nav-link:hover:not(.active) {
    color: #1e293b;
    background: rgba(255, 255, 255, 0.4);
}

#productInfoTabsNav .nav-link.active {
    background: #fff !important;
    color: var(--theme-primary) !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

#productInfoTabsNav .nav-link.active i {
    transform: scale(1.1);
}

@media (max-width: 576px) {
    #productInfoTabsNav {
        padding: 3px;
        gap: 4px;
    }

    #productInfoTabsNav .nav-link {
        padding: 7px 10px;
        font-size: 0.75rem;
    }

    #productInfoTabsNav .nav-link i {
        font-size: 1rem;
    }
}

/* === OVERVIEW CONTENT RESPONSIVE === */
.overview-content {
    overflow-wrap: break-word;
    word-wrap: break-word;
    font-size: 0.95rem;
    line-height: 1.6;
}

.overview-content img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px;
    margin: 8px 0;
}

.overview-content iframe,
.overview-content video,
.overview-content embed {
    max-width: 100% !important;
    width: 100% !important;
    aspect-ratio: 16 / 9;
    height: auto !important;
    border-radius: 12px;
    margin: 12px 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.overview-content table {
    width: 100% !important;
    max-width: 100%;
    overflow-x: auto;
    display: block;
}

/* === MERGED FROM ecommerce.css === */

/* =========================
    Home: flash voucher strip
    ========================= */
.flash-voucher-wrap {
    border-radius: 12px;
    border: 1px solid #f36f36;
    background: #fff;
    padding: 12px 16px;
    margin-top: 8px;
    margin-bottom: 12px;
    box-shadow: 0 4px 16px rgba(243, 111, 54, 0.12);
}

.flash-voucher-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.flash-voucher-title {
    font-size: 1rem;
    font-weight: 900;
    color: #f36f36;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.flash-voucher-title i {
    color: #f36f36;
    font-size: 1.2em;
}

.flash-voucher-more {
    font-size: 0.82rem;
    color: #f36f36;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.flash-voucher-list {
    display: flex;
    align-items: stretch;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-behavior: smooth;
}

.flash-voucher-list::-webkit-scrollbar {
    height: 6px;
}

.flash-voucher-list::-webkit-scrollbar-thumb {
    background: #f36f36;
    border-radius: 999px;
}

.flash-voucher-item {
    flex: 0 0 auto;
    min-width: 220px;
    max-width: 260px;
    transition:
        transform 0.18s,
        box-shadow 0.18s;
}

.flash-voucher-empty {
    font-size: 0.82rem;
    color: #bdbdbd;
}

/* =========================
    Shared: standard voucher card
    Used in multiple voucher lists (home, popup, etc.)
    ========================= */
.voucher-card {
    position: relative;
    background: #fff;
    border: 1px solid #ffd8cf;
    border-radius: 10px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 6px 64px 1fr auto;
    align-items: stretch;
}

.voucher-card::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(6px + 64px);
    width: 1px;
    border-left: 1px dashed #e5e7eb;
}

.voucher-qty {
    position: absolute;
    top: 6px;
    right: 8px;
    font-size: 0.62rem;
    font-weight: 700;
    color: #0f172a;
    background: rgba(15, 23, 42, 0.08);
    padding: 2px 6px;
    border-radius: 999px;
}

.voucher-accent {
    background: #ee4d2d;
}

.voucher-brand {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 6px;
    padding: 8px 6px;
}

.voucher-logo-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ee4d2d;
    color: #fff;
    font-size: 0.85rem;
}

.voucher-brand-name {
    font-size: 0.6rem;
    font-weight: 800;
    color: #4b5563;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.1;
}

.voucher-main {
    padding: 8px 10px;
    display: grid;
    gap: 4px;
}

.voucher-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.6rem;
    font-weight: 700;
    color: #ee4d2d;
    background: #fff1ee;
    border: 1px solid #ffd8cf;
    border-radius: 999px;
    padding: 2px 6px;
    width: fit-content;
}

.voucher-main-title {
    font-size: 0.8rem;
    font-weight: 800;
    color: #111827;
    line-height: 1.25;
}

.voucher-sub {
    font-size: 0.68rem;
    color: #6b7280;
    font-weight: 500;
}

.voucher-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-top: 2px;
    flex-wrap: wrap;
}

.voucher-time {
    font-size: 0.66rem;
    color: #ef4444;
}

.voucher-side {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 6px;
    padding: 8px 8px;
    min-width: 84px;
}

.voucher-btn {
    border: 1px solid #ee4d2d;
    border-radius: 6px;
    background: #fff;
    color: #ee4d2d;
    font-size: 0.66rem;
    font-weight: 700;
    padding: 4px 8px;
}

.voucher-tag {
    font-size: 0.6rem;
    color: #6b7280;
}

.voucher-card.voucher-ship {
    border-color: #b7ece6;
}

.voucher-card.voucher-ship .voucher-accent {
    background: #26aa99;
}

.voucher-card.voucher-ship .voucher-logo-icon {
    background: #26aa99;
}

.voucher-card.voucher-ship .voucher-badge {
    color: #26aa99;
    border-color: #b7ece6;
    background: #ecfdfb;
}

.voucher-card.voucher-ship .voucher-btn {
    color: #26aa99;
    border-color: #26aa99;
}

.voucher-card.voucher-order {
    border-color: #ffd8cf;
}

.voucher-card.voucher-order .voucher-accent {
    background: #ee4d2d;
}

.voucher-card.voucher-order .voucher-logo-icon {
    background: #ee4d2d;
}

.voucher-card.voucher-order .voucher-badge {
    color: #ee4d2d;
    border-color: #ffd8cf;
    background: #fff1ee;
}

.voucher-card.voucher-order .voucher-btn {
    color: #ee4d2d;
    border-color: #ee4d2d;
}

.voucher-card.voucher-category {
    border-color: #fed7aa;
}

.voucher-card.voucher-category .voucher-accent {
    background: #ea580c;
}

.voucher-card.voucher-category .voucher-logo-icon {
    background: #ea580c;
}

.voucher-card.voucher-category .voucher-badge {
    color: #ea580c;
    border-color: #fed7aa;
    background: #fff7ed;
}

.voucher-card.voucher-category .voucher-btn {
    color: #ea580c;
    border-color: #ea580c;
}

.voucher-card.voucher-all {
    border-color: #ddd6fe;
}

.voucher-card.voucher-all .voucher-accent {
    background: #7c3aed;
}

.voucher-card.voucher-all .voucher-logo-icon {
    background: #7c3aed;
}

.voucher-card.voucher-all .voucher-badge {
    color: #7c3aed;
    border-color: #ddd6fe;
    background: #f5f3ff;
}

.voucher-card.voucher-all .voucher-btn {
    color: #7c3aed;
    border-color: #7c3aed;
}

.voucher-card.voucher-payment {
    border-color: #bbf7d0;
}

.voucher-card.voucher-payment .voucher-accent {
    background: #16a34a;
}

.voucher-card.voucher-payment .voucher-logo-icon {
    background: #16a34a;
}

.voucher-card.voucher-payment .voucher-badge {
    color: #16a34a;
    border-color: #bbf7d0;
    background: #ecfdf5;
}

.voucher-card.voucher-payment .voucher-btn {
    color: #16a34a;
    border-color: #16a34a;
}

/* =========================
    Product page: inline voucher badges
    ========================= */
.voucher-select {
    border-radius: 12px;
    font-size: 0.9rem;
}

/* Voucher ticket styles: định nghĩa tập trung ở cụm cuối file (#voucherSection). */

/* =========================
    Customer order list + product grid
    (filters, product cards, search)
    ========================= */
.order-layout {
    display: grid;
    grid-template-columns: 2fr 9fr;
    gap: 18px;
    align-items: start;
}

.filter-panel {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
    position: sticky;
    top: 150px;
    max-height: calc(100vh - 84px);
    overflow: visible;
}

.filter-panel {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.filter-panel::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.filter-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 0.95rem;
    color: #0f172a;
    margin-bottom: 10px;
}

.filter-head i {
    color: var(--theme-primary);
}

.filter-tabs {
    display: none;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding-bottom: 4px;
    margin-bottom: 10px;
}

.filter-tabs::-webkit-scrollbar {
    height: 6px;
}

.filter-tabs::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, 0.15);
    border-radius: 999px;
}

.filter-tab {
    flex: 0 0 auto;
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f172a;
    cursor: pointer;
    white-space: nowrap;
}

.filter-tab.is-active {
    border-color: var(--theme-primary);
    color: var(--theme-primary);
    background: var(--theme-primary-soft);
}

.filter-section {
    display: block;
}

.filter-group {
    border-top: 1px solid #eef2f7;
    padding-top: 10px;
    margin-top: 10px;
}

.filter-group:first-of-type {
    border-top: 0;
    padding-top: 0;
    margin-top: 0;
}

.filter-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #0f172a;
    margin-bottom: 6px;
}

.filter-option input {
    accent-color: var(--theme-primary);
}

.filter-stars {
    display: inline-flex;
    gap: 2px;
    color: #f59e0b;
    font-size: 0.8rem;
}

.filter-actions {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-btn.primary,
.filter-btn.primary:hover {
    background: var(--theme-primary);
    border-color: var(--theme-primary);
    color: var(--theme-primary-contrast);
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px;
}

.pcard {
    border-radius: 0;
    background: #fff;
    border: 1px solid transparent;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
    text-decoration: none;
    color: inherit;
}

.pcard:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 50px rgba(15, 23, 42, 0.15);
}

.pcard:hover {
    border-color: var(--theme-primary);
}

.pcard-media {
    position: relative;
}

.pcard-discount {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #ef3c2d;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 999px;
    letter-spacing: 0.01em;
}

.pimg {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
    background: #f8fafc;
}

.pcard-body {
    padding: 12px;
}

.pname {
    font-weight: 700;
    font-size: 0.94rem;
    min-height: 42px;
    color: #0f172a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pprice-line {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 6px;
}

.pprice {
    font-size: 0.92rem;
    font-weight: 800;
    color: #ef3c2d;
}

.pprice-old {
    font-size: 0.78rem;
    color: #94a3b8;
    text-decoration: line-through;
    margin-right: 4px;
}

.pcategory-tag {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(var(--theme-primary-rgb), 0.25);
    background: rgba(var(--theme-primary-rgb), 0.08);
    color: var(--theme-primary);
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    margin-top: 8px;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pcard-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 8px;
}

.box-rating {
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.box-rating>span {
    display: inline-flex !important;
    align-items: center;
    line-height: 1;
}

.box-rating>span>span {
    display: inline-flex !important;
    align-items: center;
}

.rating-score {
    font-size: 0.86rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1;
    margin-top: 0 !important;
    display: inline-flex;
    align-items: center;
}

.pcard-sold {
    font-size: 0.78rem;
    color: #64748b;
    white-space: nowrap;
}

.product-panel {
    height: auto;
    overflow: visible;
}

.product-panel {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.product-panel::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

/* =========================
   Product page: custom color onboarding spotlight
   ========================= */
.km-color-onboard-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.72);
    z-index: 2050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.km-color-onboard-backdrop[data-hidden="true"] {
    display: none;
}

.km-color-onboard-highlight {
    position: fixed;
    border-radius: 999px;
    box-shadow:
        0 0 0 3px #f97316,
        0 0 0 9px rgba(249, 115, 22, 0.4);
    background: transparent;
    pointer-events: none;
    transition: all 0.2s ease-out;
}

.km-color-onboard-card {
    position: fixed;
    max-width: 320px;
    background: #fff;
    border-radius: 16px;
    padding: 14px 16px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.35);
    color: #0f172a;
    font-size: 0.9rem;
}

.km-color-onboard-title {
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.km-color-onboard-title i {
    color: #f97316;
}

.km-color-onboard-text {
    font-size: 0.82rem;
    color: #333;
    margin-bottom: 10px;
}

.km-color-onboard-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.km-color-onboard-btn {
    border-radius: 999px;
    border: none;
    background: #f97316;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 14px;
    cursor: pointer;
}

.km-color-onboard-btn:hover {
    background: #ea580c;
}

.product-panel::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.product-panel .scard-body {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.active-filter-note {
    display: none;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    padding: 8px 12px;
    border: 1px solid rgba(var(--theme-primary-rgb), 0.25);
    background: rgba(var(--theme-primary-rgb), 0.08);
    color: var(--theme-primary);
    border-radius: 10px;
    font-size: 0.83rem;
    font-weight: 700;
    line-height: 1.35;
}

.active-filter-note i {
    font-size: 0.9rem;
}

.skeleton-line {
    position: relative;
    overflow: hidden;
    background: #e2e8f0;
    border-radius: 8px;
}

.skeleton-line::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.7),
            transparent);
    animation: skeletonShimmer 1.2s ease-in-out infinite;
}

@keyframes skeletonShimmer {
    100% {
        transform: translateX(100%);
    }
}

.pcard.is-skeleton {
    pointer-events: none;
    border-color: #eef2f7;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.pcard.is-skeleton .pimg {
    background: #f1f5f9;
}

.pcard.is-skeleton .pname {
    min-height: 42px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Order page: search box styles */
.product-panel .search-wrapper {
    width: 100%;
    position: relative;
    margin-bottom: 4px;
}

.product-panel .search-input {
    width: 100%;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 8px 40px 8px 36px;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
}

.product-panel .search-input:focus {
    outline: none;
    border-color: var(--theme-primary);
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.25);
}

.product-panel .search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.9rem;
}

/* DataTables (Bootstrap 5) footer bar: info + pagination in one flex row */
.dataTables_wrapper .dataTables_info {
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 0;
}

.dataTables_wrapper .dataTables_paginate {
    margin: 0;
}

.dataTables_wrapper .pagination {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .dataTables_wrapper .dataTables_paginate {
        white-space: nowrap;
        font-size: 0.8rem;
    }
}

/* =========================
   Customer order list: action dropdown
   ========================= */
/*
.order-actions {
    position: relative;
    z-index: 0;
}*/

.order-actions .dropdown-toggle.btn-outline-secondary {
    border-radius: 999px;
    border-color: #e2e8f0;
    background: #f8fafc;
    color: #0f172a;
    font-weight: 600;
    padding: 4px 14px;
    font-size: 0.82rem;
}

.order-actions .dropdown-toggle.btn-outline-secondary:hover,
.order-actions .dropdown-toggle.btn-outline-secondary:focus {
    border-color: var(--theme-primary, #2563eb);
    background: rgba(var(--theme-primary-rgb, 37, 99, 235), 0.06);
    color: var(--theme-primary, #2563eb);
    box-shadow: 0 0 0 1px rgba(var(--theme-primary-rgb, 37, 99, 235), 0.18);
}

.order-actions .dropdown-menu {
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
    padding: 6px 0;
    font-size: 0.86rem;
    min-width: 210px;
    z-index: 1110;
    position: sticky;
    margin-top: 4px;
}

.order-actions .dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    color: #0f172a;
}

.order-actions .dropdown-menu .dropdown-item i {
    font-size: 0.95rem;
    color: var(--theme-primary, #2563eb);
}

.order-actions .dropdown-menu .dropdown-item:hover,
.order-actions .dropdown-menu .dropdown-item:focus {
    background: rgba(var(--theme-primary-rgb, 37, 99, 235), 0.05);
    color: #0f172a;
}

.order-actions .dropdown-menu .dropdown-item.text-danger {
    color: #ef4444;
}

.order-actions .dropdown-menu .dropdown-item.text-danger i {
    color: #ef4444;
}

.order-actions .dropdown-menu .dropdown-divider {
    margin: 4px 0;
}

@media (max-width: 1200px) {
    .order-layout {
        grid-template-columns: 1fr;
        height: auto;
        overflow: auto;
    }

    .filter-panel {
        position: relative;
        top: auto;
        max-height: none;
        overflow: auto;
    }

    .product-panel {
        height: auto;
        overflow: auto;
    }

    /*
    .shop-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }*/
}

@media (max-width: 992px) {
    .order-layout {
        grid-template-columns: 1fr;
    }

    .shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .order-layout {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .filter-panel,
    .product-panel {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .filter-tabs {
        display: flex;
    }

    .filter-section {
        display: none;
    }

    .filter-section.is-active {
        display: block;
    }
}

@media (max-width: 576px) {
    .shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

#loadMoreBtn {
    border-radius: 999px;
    padding: 8px 32px;
    font-weight: 700;
}

/* =========================
    Customer order detail page
    (header, sections, timeline, review, ship modal)
    ========================= */

copy-btn:hover {
    border-color: #cbd5f5;
}

.order-shell {
    background: #fff;
    border: 1px solid var(--order-border);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--order-shadow);
    margin-top: 8px;
}

.order-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    align-items: center;
}

.order-head h1 {
    font-size: 1.28rem;
    font-weight: 700;
    margin: 0;
    color: var(--order-dark);
    letter-spacing: 0.2px;
}

.order-head p {
    margin: 4px 0 0;
    color: var(--order-muted);
    max-width: 480px;
    font-size: 0.9rem;
}

.order-section {
    border: 1px solid var(--order-border);
    border-radius: var(--order-radius);
    padding: 12px;
    background: #fff;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.04);
}

.order-section+.order-section {
    margin-top: 12px;
}

.order-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--order-dark);
    margin-bottom: 8px;
    font-size: 0.92rem;
}

.order-kv {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.88rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.order-kv span {
    color: var(--order-muted);
}

.order-kv strong {
    color: var(--order-dark);
    font-weight: 600;
}

.order-note {
    font-size: 0.8rem;
    color: var(--order-muted);
    margin-top: 4px;
}

.order-row-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.order-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--order-primary);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: transparent;
    padding: 0;
}

.order-link:hover {
    text-decoration: underline;
}

.detail-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-products .detail-items {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 4px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--order-border);
    border-radius: 12px;
    padding: 8px 10px;
    background: var(--order-bg);
}

.detail-item .text-muted {
    display: block;
}

.detail-thumb {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    object-fit: cover;
    background: var(--order-bg);
    border: 1px solid var(--order-border);
}

.product-line {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.product-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.product-name__ {
    font-weight: 600;
    color: var(--order-dark);
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-variant {
    font-size: 0.78rem;
    color: var(--order-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-qty {
    font-size: 0.8rem;
    color: var(--order-muted);
}

.product-price {
    font-weight: 600;
    color: var(--order-dark);
    font-size: 0.88rem;
    white-space: nowrap;
}

.order-total-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    padding: 8px 10px;
    border-radius: 12px;
    border: 1px dashed var(--order-border);
    background: #fff;
}

.order-total-toggle {
    border: 0;
    background: transparent;
    color: var(--order-primary);
    font-weight: 600;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.order-total-breakdown {
    display: none;
    margin-top: 8px;
    border-top: 1px dashed var(--order-border);
    padding-top: 8px;
}

.order-total-breakdown.show {
    display: block;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.detail-card {
    border: 1px solid var(--order-border);
    border-radius: 12px;
    padding: 12px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.detail-card-head {
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--order-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.86rem;
    margin-bottom: 6px;
}

.detail-row span {
    color: var(--order-muted);
}

.detail-row strong {
    color: var(--order-dark);
    text-align: right;
    flex: 1;
}

.detail-row strong.small-text {
    font-size: 0.85rem;
    font-weight: 500;
}

.detail-status-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.detail-steps {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 16px;
}

.track-step {
    position: relative;
    padding: 4px 6px 4px 10px;
    border-left: 2px solid var(--order-border);
    background: transparent;
    min-height: 24px;
}

.track-step::before {
    content: "";
    position: absolute;
    left: -9px;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--order-border);
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px var(--order-border);
}

.track-step::after {
    content: "";
    position: absolute;
    left: -2px;
    top: 18px;
    bottom: -10px;
    width: 2px;
    background: var(--order-border);
}

.track-step:last-child::after {
    display: none;
}

.track-step.active {
    border-left-color: var(--order-primary);
}

.track-step.active::before {
    background: var(--order-primary);
    box-shadow: 0 0 0 2px #e0e7ff;
}

.track-step.done {
    border-left-color: var(--order-success);
}

.track-step.done::before {
    background: var(--order-success);
    box-shadow: 0 0 0 2px #d1fae5;
}

.track-step .track-label {
    font-weight: 600;
    color: var(--order-dark);
    font-size: 0.9rem;
}

.track-step small {
    color: var(--order-muted);
    display: block;
    margin-top: 2px;
    font-size: 0.8rem;
}

.review-section {
    border: 1px solid var(--order-border);
    border-radius: 12px;
    padding: 12px;
    background: #fff;
    margin-top: 12px;
}

.review-existing {
    background: var(--order-bg);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
}

.rating-stars {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.rating-star {
    /*background: linear-gradient(180deg, #ffffff, #f8fafc);
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 6px 12px;
    min-width: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(15, 23, 42, .06);
    */
    gap: 8px;
    color: #64748b;
    font-weight: 700;
    letter-spacing: 0.2px;

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease;
}

.rating-star i {
    color: inherit;
    font-size: 17px;
    transition: inherit;
}

.rating-star::after {
    content: attr(data-rating);
    font-size: 0.8rem;
    line-height: 1;
}

.rating-star.active {
    color: #f59e0b;
    /*border-color: #fbbf24;
    background: linear-gradient(180deg, #fff7ed, #fffbeb);
    box-shadow: 0 8px 18px rgba(245, 158, 11, .2);*/
}

.rating-star:hover {
    transform: translateY(-2px);
    /*border-color: #f59e0b;
    box-shadow: 0 8px 16px rgba(245, 158, 11, .18);*/
}

/* ship-meta-chip badge rewrite for clarity */
.ship-meta-chip {
    display: inline-flex;
    align-items: center;
    background: #f0f4fa;
    color: #2563eb;
    border-radius: 16px;
    font-size: 0.95em;
    font-weight: 500;
    padding: 0.15em 0.75em 0.15em 0.5em;
    margin-right: 0.5em;
    margin-bottom: 0.25em;
    border: 1px solid #dbeafe;
    box-shadow: 0 1px 2px rgba(37, 99, 235, 0.04);
    transition:
        background 0.2s,
        color 0.2s;
}

.ship-meta-chip i {
    margin-right: 0.4em;
    font-size: 1.1em;
    color: #3b82f6;
}

.ship-meta-chip.method {
    background: #e0f2fe;
    color: #0369a1;
    border-color: #bae6fd;
}

.ship-meta-chip.carrier {
    background: #f1f5f9;
    color: #334155;
    border-color: #cbd5e1;
}

.ship-meta-chip.eta {
    background: #fef9c3;
    color: #b45309;
    border-color: #fde68a;
}

.ship-meta-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25em;
}

.review-form textarea {
    border: 1px solid var(--order-border);
    border-radius: 10px;
    min-height: 90px;
    resize: vertical;
}

.review-focus {
    box-shadow:
        0 0 0 2px #bfdbfe,
        0 10px 24px rgba(37, 99, 235, 0.15);
    transition:
        box-shadow 0.3s ease,
        transform 0.3s ease;
    transform: translateY(-2px);
}

.timeline {
    list-style: none;
    margin: 0;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.timeline li {
    font-size: 0.86rem;
    color: var(--order-muted);
    padding-left: 18px;
    position: relative;
}

.timeline li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--order-primary);
    position: absolute;
    left: 2px;
    top: 8px;
}

.timeline strong {
    color: var(--order-dark);
    display: block;
}

.ship-modal .modal-content {
    border-radius: 14px;
}

.ship-modal .modal-header {
    border-bottom: 1px solid var(--order-border);
}

.ship-modal .modal-body {
    max-height: 62vh;
    overflow: auto;
}

.ship-timeline {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ship-timeline-item {
    border: 1px solid var(--order-border);
    border-radius: 12px;
    padding: 8px 10px;
    background: #fff;
}

.ship-timeline-title {
    font-weight: 600;
    color: var(--order-dark);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
}

.ship-timeline-time {
    font-size: 0.8rem;
    color: var(--order-muted);
    margin-top: 4px;
}

.ship-timeline-note {
    font-size: 0.8rem;
    color: var(--order-muted);
    margin-top: 6px;
}

.order-overview-list {
    display: grid;
    gap: 8px;
}

.order-overview-item {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.86rem;
}

.order-overview-item span {
    color: var(--order-muted);
}

.order-overview-item strong {
    color: var(--order-dark);
    font-weight: 600;
    text-align: right;
}

.copy-btn {
    border: 1px solid var(--order-border);
    background: #fff;
    color: var(--order-dark);
    font-size: 0.74rem;
    font-weight: 600;
    border-radius: 999px;
    padding: 4px 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .order-shell {
        padding: 14px;
        border-radius: 16px;
    }

    .order-head {
        gap: 10px;
        margin-bottom: 10px;
    }

    .order-head h1 {
        font-size: 1.12rem;
    }

    .order-section {
        padding: 10px;
        border-radius: 12px;
    }

    .detail-item {
        flex-direction: none;
        align-items: flex-start;
    }

    .product-price {
        align-self: flex-end;
    }

    .order-total-summary {
        flex-direction: column;
        align-items: flex-start;
    }
}

.copy-btn:hover {
    border-color: #cbd5f5;
}

/* =========================
    Admin: order manager list + filters
    ========================= */


.order-page {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.order-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.order-title {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.order-title h1 {
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0;
    color: var(--order-dark);
}

.order-title p {
    margin: 0;
    color: var(--order-muted);
    font-size: 0.86rem;
}

.order-panel {
    background: #fff;
    border: 1px solid var(--order-border);
    border-radius: 14px;
    padding: 12px;
    overflow: visible;
}

.order-filters {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1fr auto;
    gap: 10px;
    align-items: end;
}

.order-filters .control {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.order-filters label {
    font-size: 0.7rem;
    color: var(--order-muted);
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.order-filters input,
.order-filters select {
    border: 1px solid #d6deea;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 0.84rem;
    background: #fff;
}

.order-filters input:focus,
.order-filters select:focus {
    border-color: var(--order-primary);
    box-shadow: 0 0 0 2px rgba(var(--theme-primary-rgb), 0.16);
    outline: none;
}

.control-search {
    position: relative;
}

.control-search i {
    position: absolute;
    left: 10px;
    bottom: 10px;
    color: var(--order-muted);
    line-height: 1;
    font-size: 0.88rem;
    pointer-events: none;
}

.control-search input {
    padding-left: 30px;
}

.filter-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-actions .btn {
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.82rem;
    padding: 6px 10px;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

/* (Legacy .summary-card block removed Ã¢â‚¬â€ see canonical definition near "Order List Page" section.
   It conflicted with the standardized rules with !important, causing inconsistent flex-direction
   and padding across pages. Sources of truth now: lines ~16797 (admin), ~17364 (.cart-body scope).) */

/*
.order-table-card {
    margin-top: 12px;
    border: 1px solid var(--order-border);
    border-radius: 14px;
	overflow: visible;
    background: #fff;
	position: relative;
	z-index: 0;
}

.order-table-head {
    padding: 10px 12px;
    border-bottom: 1px solid var(--order-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    background: #fff;
}

.order-table-head h4 {
    margin: 0;
    font-size: .95rem;
    font-weight: 700;
    color: var(--order-dark);
}

.order-table-scroll {
    max-height: none;
    overflow: visible;
}

.order-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.order-table th,
.order-table td {
    padding: 10px 10px;
    border-bottom: 1px solid var(--order-border);
    vertical-align: top;
    font-size: .84rem;
}

.order-table th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--order-bg);
    font-weight: 700;
    color: var(--order-muted);
}

.order-table tbody tr:nth-child(even) {
    background: #fafcff;
}

.order-items {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: .8rem;
    color: var(--order-dark);
}

.order-items .text-muted {
    color: var(--order-muted) !important;
}
*/
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #475569;
    line-height: 1.2;
}

.status-pill::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.status-pending {
    border-color: #fde68a;
    background: #fffbeb;
    color: #b45309;
}

.status-processing {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
}

.status-shipping {
    border-color: #ddd6fe;
    background: #f5f3ff;
    color: #6d28d9;
}

.status-delivered {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.status-return_requested,
.status-returned {
    border-color: #fdba74;
    background: #fff7ed;
    color: #c2410c;
}

.status-canceled {
    border-color: #fecaca;
    background: #fef2f2;
    color: #b91c1c;
}

.order-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}

/* Dropdown actions: luÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â´n nÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢i lÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Âªn trÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Âªn table/card */
.order-actions .dropdown,
.order-actions .dropup,
.order-actions .dropstart,
.order-actions .dropend {
    position: relative;
    z-index: 10;
}

.order-actions .btn {
    border-radius: 8px;
    font-size: 0.76rem;
    padding: 3px 8px;
}

.order-empty {
    padding: 16px 10px;
    text-align: center;
    color: var(--order-muted);
    font-size: 0.84rem;
}

#loadMoreOrders {
    width: 100%;
    border: 1px dashed var(--order-primary);
    color: var(--order-primary);
    background: #fff;
    border-radius: 0 0 12px 12px;
    padding: 9px;
    font-weight: 600;
    display: none;
    font-size: 0.84rem;
}

#loadMoreOrders.show {
    display: block;
}

@media (max-width: 1200px) {
    .summary-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .order-filters {
        grid-template-columns: 1fr 1fr;
    }

    .filter-actions {
        justify-content: flex-start;
    }

    .summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .order-filters {
        grid-template-columns: 1fr;
    }

    .order-table th:nth-child(2),
    .order-table td:nth-child(2) {
        display: none;
    }

    .summary-grid {
        grid-template-columns: unset;
        grid-auto-flow: column;
        grid-auto-columns: minmax(140px, 1fr);
        overflow-x: auto;
        padding-bottom: 6px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .summary-card {
        scroll-snap-align: start;
        min-height: 60px;
    }
}

/* =========================
    Cart / checkout: voucher overlay + quick list
    ========================= */
.voucher-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    z-index: 1201;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

.voucher-backdrop.show {
    opacity: 1;
    visibility: visible;
}

.voucher-panel {
    position: fixed;
    left: 50%;
    top: 46%;
    z-index: 1202;
    background: transparent;
    border-radius: 16px;
    transform: translate(-50%, -50%) scale(0.98);
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
    max-height: 80vh;
    max-width: 700px;
    width: 92%;
    opacity: 0;
    visibility: hidden;
    overflow: auto;
    padding: 12px;
}

.voucher-panel.show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
}

.voucher-shell {
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    box-shadow: none;
    overflow: hidden;
    padding: 12px;
    display: grid;
    gap: 10px;
}

.voucher-head {
    padding: 10px 4px 2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.voucher-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.voucher-meta {
    font-size: 0.8rem;
    color: #6b7280;
}

.voux-codebar {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 10px;
    padding: 12px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: center;
}

.voux-code-label {
    font-weight: 700;
    color: #374151;
    font-size: 0.9rem;
    white-space: nowrap;
}

.voux-code-input {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 9px 11px;
    font-size: 0.88rem;
}

.voux-save-btn {
    border: 1px solid #ee4d2d;
    background: #ee4d2d;
    color: #fff;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.84rem;
    font-weight: 700;
}

.voux-save-btn:disabled {
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
}

.voux-tabs-wrap {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 10px;
    overflow: hidden;
}

.voux-tabs {
    display: flex;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.voux-tabs::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.voux-tab {
    border: none;
    border-right: 1px solid #f1f1f1;
    background: #fff;
    color: #4b5563;
    font-size: 0.86rem;
    font-weight: 700;
    padding: 12px 14px;
    white-space: nowrap;
}

.voux-tab:last-child {
    border-right: none;
}

.voux-tab.active {
    color: #ee4d2d;
    box-shadow: inset 0 -2px 0 #ee4d2d;
}

.voucher-grid {
    padding: 0;
    background: transparent;
}

.voucher-panel-body {
    display: none;
}

.voucher-panel-body.active {
    display: block;
}

.voux-list {
    display: grid;
    gap: 10px;
    max-height: 54vh;
    overflow: auto;
    padding: 4px;
}

.voux-card {
    position: relative;
    background: #fff;
    border: 1px solid #ffd8cf;
    border-radius: 10px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 8px 82px 1fr auto;
    align-items: stretch;
}

.voux-card::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(8px + 82px);
    width: 1px;
    border-left: 1px dashed #e5e7eb;
}

.voux-accent {
    background: #ee4d2d;
}

.voux-brand {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 6px;
    padding: 10px 8px;
}

.voux-logo-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ee4d2d;
    color: #fff;
    font-size: 1rem;
}

.voux-brand-name {
    font-size: 0.68rem;
    font-weight: 800;
    color: #4b5563;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.15;
}

.voux-main {
    padding: 10px 14px;
    display: grid;
    gap: 4px;
}

.voux-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.68rem;
    font-weight: 700;
    color: #ee4d2d;
    background: #fff1ee;
    border: 1px solid #ffd8cf;
    border-radius: 999px;
    padding: 2px 8px;
    width: fit-content;
}

.voux-main-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: #111827;
    line-height: 1.3;
}

.voux-sub {
    font-size: 0.8rem;
    color: #6b7280;
}

.voux-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 2px;
    flex-wrap: wrap;
}

.voux-time {
    font-size: 0.75rem;
    color: #ef4444;
}

.voux-side {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 8px;
    padding: 10px 12px;
    min-width: 108px;
}

.voux-btn {
    border: 1px solid #ee4d2d;
    border-radius: 8px;
    background: #fff;
    color: #ee4d2d;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 10px;
}

.voux-btn.active {
    background: #ee4d2d;
    color: #fff;
}

.voux-tag {
    font-size: 0.72rem;
    color: #6b7280;
}

.voux-empty {
    border: 1px dashed #d1d5db;
    border-radius: 10px;
    padding: 20px 12px;
    text-align: center;
    color: #6b7280;
    font-size: 0.88rem;
    background: #fff;
}

.voux-card.voux-ship {
    border-color: #b7ece6;
}

.voux-card.voux-ship .voux-accent {
    background: #26aa99;
}

.voux-card.voux-ship .voux-logo-icon {
    background: #26aa99;
}

.voux-card.voux-ship .voux-badge {
    color: #26aa99;
    border-color: #b7ece6;
    background: #ecfdfb;
}

.voux-card.voux-ship .voux-btn {
    color: #26aa99;
    border-color: #26aa99;
}

.voux-card.voux-ship .voux-btn.active {
    background: #26aa99;
    color: #fff;
}

.voux-card.voux-payment {
    border-color: #bbf7d0;
}

.voux-card.voux-payment .voux-accent {
    background: #16a34a;
}

.voux-card.voux-payment .voux-logo-icon {
    background: #16a34a;
}

.voux-card.voux-payment .voux-badge {
    color: #16a34a;
    border-color: #bbf7d0;
    background: #ecfdf5;
}

.voux-card.voux-payment .voux-btn {
    color: #16a34a;
    border-color: #16a34a;
}

.voux-card.voux-payment .voux-btn.active {
    background: #16a34a;
    color: #fff;
}

.coupon-code {
    font-family:
        ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        "Liberation Mono", "Courier New", monospace;
    letter-spacing: 0.4px;
}

.voucher-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1196;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -6px 18px rgba(15, 23, 42, 0.08);
    transition: bottom 0.2s ease;
}

.voucher-sticky-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vs-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 4px;
}

.vs-left,
.vs-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vs-row-voucher .vs-left {
    gap: 6px;
}

.vs-icon-vip {
    color: var(--checkout-primary, #ee4d2d);
    font-weight: 700;
    font-size: 0.7rem;
    border: 1px solid var(--checkout-primary, #ee4d2d);
    padding: 1px 5px;
    border-radius: 2px;
    letter-spacing: 0.4px;
}

.vs-voucher-summary {
    font-size: 0.78rem;
    font-weight: 700;
    color: #0f172a;
    border: 1px dashed rgba(var(--theme-primary-rgb, 24, 119, 242), 0.35);
    border-radius: 999px;
    padding: 3px 10px;
    background: var(--checkout-primary-soft, #fff7f5);
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vs-arrow-btn {
    border: 0;
    background: transparent;
    padding: 0 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    cursor: pointer;
}

.vs-arrow-btn .vs-arrow {
    font-size: 0.8rem;
}

.vs-row-coin .vs-text-main {
    font-size: 0.8rem;
    color: #334155;
}

.vs-icon-coin {
    color: #f6a700;
    border: 1px solid #f6a700;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    background: #fffbeb;
}

.vs-icon-help {
    color: #cbd5e1;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
}

.vs-switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
}

.vs-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.vs-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e2e8f0;
    transition: 0.3s;
    border-radius: 20px;
}

.vs-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: #fff;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.25);
}

.vs-switch input:checked+.vs-slider {
    background-color: #22c55e;
}

.vs-switch input:checked+.vs-slider:before {
    transform: translateX(16px);
}

@media (max-width: 768px) {
    .voucher-sticky-inner {
        padding: 8px 10px;
    }

    .vs-row {
        padding: 4px 0;
    }

    .vs-voucher-summary {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .voux-codebar {
        grid-template-columns: 1fr;
    }

    .voux-save-btn {
        width: 100%;
    }

    .voucher-quick-row {
        grid-template-columns: 1fr;
    }

    .voux-card {
        grid-template-columns: 8px 66px minmax(0, 1fr) auto;
    }

    .voux-card::before {
        left: calc(8px + 66px);
    }

    .voux-side {
        min-width: 92px;
        padding: 10px 8px;
    }

    .voux-btn,
    .voux-tag {
        white-space: nowrap;
    }

    .voucher-quick-card-slot .voux-card {
        grid-template-columns: 6px 58px minmax(0, 1fr) auto;
        min-height: 76px;
    }

    .voucher-quick-card-slot .tpl-voux-card {
        grid-template-columns: 6px 58px minmax(0, 1fr) auto;
        min-height: 76px;
    }

    .voucher-quick-card-slot .voux-card::before {
        left: calc(6px + 58px);
    }

    .voucher-quick-card-slot .tpl-voux-card::before {
        left: calc(6px + 58px);
    }

    .voucher-quick-card-slot .voux-brand {
        padding: 8px 6px;
        gap: 4px;
    }

    .voucher-quick-card-slot .tpl-voux-brand {
        padding: 8px 6px;
        gap: 4px;
    }

    .voucher-quick-card-slot .voux-logo-icon {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }

    .voucher-quick-card-slot .tpl-voux-logo-icon {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }

    .voucher-quick-card-slot .voux-main {
        padding: 8px 10px;
    }

    .voucher-quick-card-slot .tpl-voux-main {
        padding: 8px 10px;
    }

    .voucher-quick-card-slot .voux-side {
        min-width: 76px;
        padding: 6px 4px;
    }

    .voucher-quick-card-slot .tpl-voux-side {
        min-width: 76px;
        padding: 6px 4px;
    }

    .voucher-quick-card-slot .voux-btn {
        font-size: 0.68rem;
        padding: 3px 6px;
    }

    .voucher-quick-card-slot .tpl-voux-btn {
        font-size: 0.68rem;
        padding: 3px 6px;
    }

    .voucher-quick-card-slot .voux-tag {
        font-size: 0.66rem;
    }

    .voucher-quick-card-slot .tpl-voux-tag {
        font-size: 0.66rem;
    }
}

/* =========================
    Checkout page layout + totals
    ========================= */


.checkout-shell {
    max-width: 760px;
    margin: 0 auto;
    padding: 3px;
    background: none;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checkout-card {
    border: 0;
    border-radius: 10px;
    background: #fff;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

/*
.card-title {
    font-size: .94rem;
    font-weight: 800;
    color: #222;
    display: flex;
    align-items: center;
    gap: 0;
}

.card-sub {
    font-size: .76rem;
    color: #777;
}
*/
.line-sep {
    height: 1px;
    background: #f0f0f0;
}

.mini-link {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--checkout-primary);
    text-decoration: none;
}

.mini-link:hover {
    text-decoration: underline;
}

.label-sm {
    font-size: 0.78rem;
    color: #666;
    font-weight: 600;
}

/*
.form-control,
.form-select {
    border-radius: 8px;
    border-color: #e5e7eb;
    font-size: .88rem;
}
*/
.checkout-card .btn-outline-primary {
    border-color: var(--checkout-primary-border);
    color: var(--checkout-primary);
    background: var(--checkout-primary-soft);
}

.checkout-card .btn-outline-primary:hover {
    border-color: var(--checkout-primary);
    background: var(--checkout-primary);
    color: var(--checkout-primary-contrast);
}

.checkout-card .btn-outline-secondary {
    border-color: #e5e7eb;
    color: #666;
    background: #fff;
}

.checkout-card .btn-outline-secondary:hover {
    border-color: #d1d5db;
    color: #333;
    background: #f9fafb;
}

.checkout-card .btn-light.border {
    border-color: #e5e7eb !important;
    color: #666;
    background: #fff;
}

.product-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-row {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f4f4f4;
    background: #fff;
}

.product-row:last-child {
    border-bottom: 0;
}

.product-thumb {
    width: 62px;
    height: 62px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    object-fit: contain;
}

.product-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #222;
    line-height: 1.25;
    word-break: break-word;
}

.product-variant {
    font-size: 0.76rem;
    color: #888;
}

.product-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.price-old {
    font-size: 0.72rem;
    color: #bbb;
    text-decoration: line-through;
}

.price-old:empty {
    display: none;
}

.price-new {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--checkout-primary);
}

.inline-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.shipping-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.shipping-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.shipping-chip {
    border: 1px solid #ececec;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    transition: 0.15s;
    background: #fff;
    box-shadow: none;
    text-align: left;
}

.shipping-chip:hover {
    border-color: var(--checkout-primary-border);
}

.shipping-chip.active {
    border-color: var(--checkout-primary);
    background: var(--checkout-primary-soft);
    box-shadow: inset 0 0 0 1px var(--checkout-primary-soft-strong);
}

.shipping-chip-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.shipping-chip-name {
    font-weight: 700;
    color: #222;
    line-height: 1.2;
    font-size: 0.88rem;
}

.shipping-chip-fee {
    font-weight: 800;
    color: var(--checkout-primary);
    white-space: nowrap;
    font-size: 0.88rem;
}

.shipping-chip-meta {
    font-size: 0.75rem;
    color: #888;
    line-height: 1.35;
}

.payment-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.payment-chip {
    position: relative;
    border: 1px solid #ececec;
    border-radius: 8px;
    padding: 10px 30px 10px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.15s;
    background: #fff;
    box-shadow: none;
    min-height: 44px;
    font-size: 0.88rem;
}

.payment-chip input {
    margin: 0;
    accent-color: var(--theme-primary);
}

.payment-chip .payment-logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
    display: inline-block;
}

.payment-chip:hover {
    border-color: var(--checkout-primary-border);
}

.payment-chip::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 1.5px solid #ddd;
    transform: translateY(-50%);
    background: #fff;
}

.payment-chip.active {
    border-color: var(--checkout-primary);
    background: var(--checkout-primary-soft);
    color: var(--checkout-primary);
    box-shadow: inset 0 0 0 1px var(--checkout-primary-soft-strong);
}

.payment-chip.active::after {
    border-color: var(--checkout-primary);
    background: var(--checkout-primary);
}

.payment-chip.disabled {
    opacity: 0.55;
    cursor: not-allowed;
    background: #f8fafc;
    color: #94a3b8;
    border-style: dashed;
    box-shadow: none;
    transform: none;
}

.payment-chip.disabled::after {
    border-color: #cbd5e1;
    background: #f1f5f9;
}

.payment-chip.disabled input {
    pointer-events: none;
}

.summary-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.84rem;
    color: #555;
    gap: 10px;
}

.summary-line strong {
    font-weight: 800;
    color: #222;
}

.summary-line.discount strong {
    color: var(--checkout-primary);
}

.xu-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.xu-balance {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.xu-balance i {
    font-size: 0.95rem;
    color: var(--checkout-primary);
    line-height: 1;
}

.xu-switch {
    position: relative;
    width: 46px;
    height: 26px;
    display: inline-block;
}

.xu-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.xu-slider {
    position: absolute;
    inset: 0;
    background: #cbd5e1;
    border-radius: 999px;
    transition: 0.2s;
}

.xu-slider:before {
    content: "";
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.xu-switch input:checked+.xu-slider {
    background: var(--theme-primary);
}

.xu-switch input:checked+.xu-slider:before {
    transform: translateX(20px);
}

.checkout-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    background: #fff;
    border-top: 1px solid #eee;
    padding: 8px 10px;
}

.checkout-footer-inner {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.footer-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.footer-total {
    font-size: 0.9rem;
    font-weight: 800;
    color: #111;
}

.footer-save {
    font-size: 0.76rem;
    color: var(--checkout-primary);
}

.btn-submit {
    border: none;
    border-radius: 8px;
    padding: 11px 18px;
    font-size: 0.9rem;
    font-weight: 800;
    background: var(--checkout-primary);
    color: var(--checkout-primary-contrast);
    white-space: nowrap;
}

.btn-submit:disabled {
    opacity: 0.7;
}

.cart-empty {
    border: 1px dashed #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    color: #8b8b8b;
    background: #fafafa;
    font-size: 0.82rem;
}

.voucher-hint {
    font-size: 0.76rem;
    color: #94a3b8;
}

.voucher-quick-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.voucher-quick-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.voucher-quick-btn {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    padding: 8px 10px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 2px;
    cursor: pointer;
    transition: 0.15s;
}

.voucher-quick-btn:hover {
    border-color: var(--checkout-primary-border);
    background: var(--checkout-primary-soft);
}

.voucher-quick-btn .k-label {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
}

.voucher-quick-btn .k-value {
    font-size: 0.82rem;
    color: #111827;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.voucher-quick-btn.active {
    border-color: var(--checkout-primary);
    background: var(--checkout-primary-soft);
}

.voucher-quick-card-slot {
    position: relative;
    cursor: pointer;
}

.voucher-quick-card-slot .voux-card {
    min-height: 84px;
}

.voucher-quick-card-slot .tpl-voux-card {
    min-height: 84px;
}

.voucher-quick-card-slot .voux-main-title {
    font-size: 0.84rem;
}

.voucher-quick-card-slot .tpl-voux-main-title {
    font-size: 0.84rem;
}

.voucher-quick-card-slot .voux-sub {
    font-size: 0.74rem;
}

.voucher-quick-card-slot .tpl-voux-sub {
    font-size: 0.74rem;
}

.voucher-quick-card-slot .voux-badge {
    font-size: 0.62rem;
}

.voucher-quick-card-slot .voux-brand-name {
    font-size: 0.62rem;
}

.voucher-quick-card-slot .tpl-voux-brand-name {
    font-size: 0.62rem;
}

.voucher-quick-card-slot .voux-side {
    min-width: 90px;
    padding: 8px 6px;
}

.voucher-quick-card-slot .tpl-voux-side {
    min-width: 90px;
    padding: 8px 6px;
}

.voucher-quick-card-slot .voux-btn {
    font-size: 0.72rem;
    padding: 4px 8px;
}

.voucher-quick-card-slot .tpl-voux-btn {
    font-size: 0.72rem;
    padding: 4px 8px;
}

.voucher-remove-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: none;
    background: rgba(15, 23, 42, 0.55);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    cursor: pointer;
    z-index: 2;
}

.voucher-remove-btn:hover {
    background: rgba(15, 23, 42, 0.8);
}

@media (max-width: 768px) {
    .product-row {
        grid-template-columns: 56px 1fr;
        grid-template-areas:
            "thumb main"
            "thumb price";
        align-items: flex-start;
    }

    .product-row .product-thumb {
        grid-area: thumb;
    }

    .product-row>div:nth-of-type(1) {
        grid-area: main;
        min-width: 0;
    }

    .product-row .product-price {
        grid-area: price;
    }
}

@media (max-width: 576px) {
    .voucher-quick-row {
        grid-template-columns: 1fr;
    }
}

.checkout-top-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 2px;
}

.top-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 26px;
    background: #fff;
    color: #475569;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    line-height: 1;
}

.top-link-btn:hover {
    border-color: var(--checkout-primary);
    color: var(--checkout-primary);
    background: var(--checkout-primary-soft);
}

.address-view {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.address-card-pick {
    cursor: pointer;
}

.address-selected-option {
    border: 1px solid var(--checkout-primary);
    border-radius: 8px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: var(--checkout-primary-soft);
}

.address-selected-left {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.address-line-main {
    font-size: 0.88rem;
    font-weight: 700;
    color: #222;
    line-height: 1.2;
}

.address-line-detail {
    font-size: 0.75rem;
    color: #888;
    line-height: 1.35;
    text-transform: none;
}

.address-selected-right {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.address-picker-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #ececec;
    border-radius: 999px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.address-picker-btn:hover {
    border-color: var(--checkout-primary);
    color: var(--checkout-primary);
    background: var(--checkout-primary-soft);
}

.address-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 1210;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
}

.address-backdrop.show {
    opacity: 1;
    visibility: visible;
}

.address-panel {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.98);
    width: min(680px, 92vw);
    background: #fff;
    border-radius: 12px;
    z-index: 1211;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
    max-height: 78vh;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
}

.address-panel.show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
}

.address-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    border-bottom: 1px solid #f1f1f1;
}

.address-panel-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: #222;
}

.address-panel-body {
    padding: 10px;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.address-item {
    border: 1px solid #ececec;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    background: #fff;
}

.address-item.active {
    border-color: var(--checkout-primary);
    background: var(--checkout-primary-soft);
}

.address-item-left {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.address-item-main {
    font-size: 0.88rem;
    font-weight: 700;
    color: #222;
    line-height: 1.2;
}

.address-item-detail {
    font-size: 0.75rem;
    color: #888;
    line-height: 1.35;
    text-transform: none;
}

.address-item-right {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.address-panel-foot {
    padding: 10px;
    border-top: 1px solid #f1f1f1;
}

.ship-select-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #ececec;
    border-radius: 999px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.ship-select-btn:hover {
    border-color: var(--checkout-primary);
    color: var(--checkout-primary);
    background: var(--checkout-primary-soft);
}

.shipping-picker-box {
    cursor: pointer;
}

.shipping-selected-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ship-method-option {
    border: 1px solid #ececec;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    background: #fff;
}

.ship-method-option.active {
    border-color: var(--checkout-primary);
    background: var(--checkout-primary-soft);
}

.ship-method-left {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.ship-method-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #222;
    line-height: 1.2;
}

.ship-method-meta {
    font-size: 0.75rem;
    color: #888;
    line-height: 1.35;
}

.ship-method-right {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.ship-method-price {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--checkout-primary);
}

.ship-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 1212;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
}

.ship-backdrop.show {
    opacity: 1;
    visibility: visible;
}

.ship-panel {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.98);
    width: min(680px, 92vw);
    background: #fff;
    border-radius: 12px;
    z-index: 1213;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
    max-height: 78vh;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
}

.ship-panel.show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
}

.ship-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    border-bottom: 1px solid #f1f1f1;
}

.ship-panel-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: #222;
}

.ship-panel-body {
    padding: 10px;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* =========================
    Cart page: layout + sticky summary
    ========================= */
.cart-body {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-bottom: 110px;
}

.cart-body.has-cart-sticky {
    padding-bottom: 150px;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 22px;
}

@media (max-width: 1100px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
}

.items-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.items-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
}

.items-meta {
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 4px;
}

.items-pill {
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--theme-primary-soft);
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--theme-primary);
}

.cart-items-list {
    border: 1px dashed #e2e8f0;
    border-radius: 18px;
    padding: 6px;
    max-height: 60vh;
    overflow: auto;
    background: #fbfcff;
    margin-left: auto;
}

.cart-item {
    display: grid;
    /* grid-template-columns: 28px 1fr 140px; */
    gap: 14px;
    background: #fff;
    border-radius: 14px;
    margin: 0;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-select {
    width: 18px;
    height: 18px;
}

.cart-info {
    display: flex;
    gap: 12px;
    align-items: center;
}

.cart-thumb {
    width: 78px;
    height: 78px;
    object-fit: contain;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    box-shadow: inset 0 4px 12px rgba(15, 23, 42, 0.06);
}

.cart-title {
    font-weight: 700;
    color: #0f172a;
    font-size: 1rem;
}

.cart-variant {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 4px;
}

.cart-price {
    font-weight: 800;
    color: #ef3c2d;
    font-size: 1rem;
}

.cart-controls {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
    margin-top: 0;
    font-weight: 600;
    color: #475569;
}

.cart-controls input {
    max-width: 90px;
    border-radius: 12px;
}

.cart-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    min-width: 130px;
}

.cart-side .cart-price-total {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
}

.cart-delete {
    padding: 6px 12px;
    border-radius: 12px;
}

.cart-body .cart-empty {
    border: 1px dashed #d9deea;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    color: #6b7280;
    background: #f8fafc;
    margin: 8px;
}

.cart-body .summary-card {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: sticky;
    top: 140px;
    align-self: flex-start;
    max-height: calc(100vh - 160px);
    overflow: auto;
}

.cart-body .summary-head {
    display: contents;
}

.cart-body .summary-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    justify-content: flex-end;
    align-items: center;
}

.cart-body .summary-actions .btn {
    border-radius: 16px;
    font-weight: 600;
    padding: 8px 16px;
}

.cart-body .summary-divider {
    border-top: 1px dashed #e2e8f0;
    margin: 4px 0;
}

.cart-body .summary-row {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    color: #475569;
}

.cart-body .summary-row span:last-child {
    color: #0f172a;
}

.cart-body .summary-row.discount span:last-child {
    color: var(--theme-primary);
    font-weight: 800;
}

.cart-body .summary-voucher {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #475569;
    font-weight: 600;
}

.cart-body .summary-voucher-item {
    display: flex;
    justify-content: space-between;
    padding-left: 12px;
    font-size: 0.92rem;
}

.cart-body .summary-voucher-item span:last-child {
    color: var(--theme-primary);
    font-weight: 800;
}

.cart-body .summary-saved {
    font-size: 0.9rem;
    color: var(--theme-primary);
    font-weight: 700;
}

.cart-body .summary-total {
    font-size: 1.4rem;
    font-weight: 900;
    color: #ef3c2d;
}

.btn-rounded {
    border-radius: 16px;
    font-weight: 700;
}



.has-cart-sticky .voucher-sticky {
    bottom: var(--cart-sticky-offset);
}

.cart-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1195;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -10px 28px rgba(15, 23, 42, 0.12);
    transform: translateY(0);
    opacity: 1;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.cart-sticky.is-hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.cart-sticky-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.vs-checkbox-container {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #334155;
}

.vs-checkbox {
    width: 18px;
    height: 18px;
    border-radius: 3px;
    border: 1px solid #cbd5e1;
    cursor: pointer;
}

.vs-selected-count {
    font-size: 0.8rem;
    color: #64748b;
}

.vs-price-section {
    text-align: right;
    margin-right: 10px;
}

.vs-price-top {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.vs-icon-truck {
    color: #0ea5e9;
    font-size: 0.9rem;
}

.vs-total-price {
    color: #ef3c2d;
    font-size: 0.95rem;
    font-weight: 600;
}

.vs-price-arrow {
    color: #94a3b8;
    font-size: 0.6rem;
}

.vs-savings-text {
    color: #16a34a;
    font-size: 0.75rem;
    margin-top: 1px;
}

.vs-btn-buy {
    background: var(--theme-primary);
    color: #fff;
    border: none;
    padding: 8px 18px;
    font-size: 0.86rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
}

.vs-btn-buy:hover {
    background: var(--theme-primary);
}

@media (max-width: 768px) {
    .cart-sticky-inner {
        padding: 8px 10px;
        gap: 8px;
    }

    .cart-sticky-inner .vs-right {
        flex: 1;
        justify-content: flex-end;
        gap: 8px;
    }

    .vs-price-section {
        margin-right: 6px;
    }

    .vs-btn-buy {
        padding: 8px 12px;
        font-size: 0.82rem;
    }
}

@media (max-width: 768px) {
    .cart-item {
        grid-template-columns: 20px 1fr 96px;
        /* padding: 10px; */
        /* margin: 6px; */
    }

    .cart-items-list {
        max-height: none;
    }

    .cart-info {
        align-items: flex-start;
    }

    .cart-controls {
        flex-direction: row;
        align-items: center;
        gap: 6px;
    }

    .cart-controls input {
        max-width: 72px;
    }

    .cart-side {
        align-items: flex-end;
    }

    .cart-thumb {
        width: 64px;
        height: 64px;
    }

    .cart-title {
        font-size: 0.95rem;
    }

    .cart-variant {
        font-size: 0.8rem;
    }

    :root {
        --cart-sticky-offset: 96px;
    }
}

/* =========================
    Order confirmation page
    ========================= */
.confirm-shell {
    max-width: 760px;
    margin: 0 auto;
}

.confirm-card {
    background: var(--fb-white, #fff);
    border: 1px solid var(--order-border, #e5e7eb);
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.confirm-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--order-border, #e5e7eb);
}

.confirm-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(var(--theme-primary-rgb, 24, 119, 242), 0.12);
    color: var(--theme-primary, #1877f2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex: 0 0 auto;
}

.confirm-title {
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--fb-text, #111827);
    margin: 0;
}

.confirm-sub {
    font-size: 0.88rem;
    color: var(--fb-text-sub, #6b7280);
    margin-top: 2px;
}

.confirm-body {
    padding: 18px 20px;
    display: grid;
    gap: 14px;
}

.confirm-row {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px dashed #e5e7eb;
    align-items: center;
}

.confirm-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.confirm-label {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--fb-text-sub, #6b7280);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.confirm-value {
    font-size: 0.95rem;
    color: var(--fb-text, #111827);
    font-weight: 600;
    word-break: break-word;
}

.confirm-order {
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--theme-primary, #1877f2);
}

.confirm-status {
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    border: 1px solid transparent;
}

.confirm-status.success {
    color: #166534;
    background: #ecfdf3;
    border-color: #bbf7d0;
}

.confirm-status.fail,
.confirm-status.invalid {
    color: #991b1b;
    background: #fef2f2;
    border-color: #fecaca;
}

.confirm-note {
    font-size: 0.84rem;
    color: var(--fb-text-sub, #6b7280);
    line-height: 1.5;
}

.confirm-note strong {
    color: #0f172a;
}

.confirm-change {
    border: 1px dashed #e5e7eb;
    border-radius: 12px;
    padding: 12px;
    background: #f8fafc;
    display: grid;
    gap: 10px;
}

.confirm-focus {
    box-shadow:
        0 0 0 2px #bfdbfe,
        0 10px 24px rgba(37, 99, 235, 0.12);
    transition:
        box-shadow 0.3s ease,
        transform 0.3s ease;
    transform: translateY(-2px);
}

.confirm-change-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.confirm-change-actions .btn {
    border-radius: 10px;
    font-weight: 700;
    padding: 7px 14px;
}

.confirm-cta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding: 16px 20px;
    border-top: 1px solid var(--order-border, #e5e7eb);
    background: #fafafa;
}

.confirm-cta .btn {
    border-radius: 10px;
    font-weight: 700;
    padding: 9px 16px;
}

.confirm-items {
    display: grid;
    gap: 8px;
    max-height: 240px;
    overflow: auto;
    padding-right: 4px;
}

.confirm-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 8px 10px;
    background: #f8fafc;
}

.confirm-item .name {
    font-weight: 700;
    color: #0f172a;
}

.confirm-item .meta {
    font-size: 0.82rem;
    color: #64748b;
}

.confirm-bank-box .confirm-value {
    display: block;
}

.bank-info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-start;
}

.bank-info-left {
    flex: 1 1 220px;
}

.bank-info-right {
    flex: 0 0 auto;
    text-align: center;
}

.bank-info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.bank-info-table td {
    padding: 3px 4px;
}

.bank-info-label {
    white-space: nowrap;
    color: #6b7280;
    font-weight: 500;
    width: 110px;
}

.bank-info-value {
    color: #111827;
}

.bank-qr-wrap {
    text-align: center;
}

.bank-qr-img {
    max-width: 140px;
    height: auto;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #fff;
}

@media (max-width: 576px) {
    .bank-info-grid {
        flex-direction: column;
    }

    .bank-info-right {
        margin-top: 6px;
    }
}

.confirm-bank-card {
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #fff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    padding: 0;
    overflow: hidden;
}

.confirm-bank-card .confirm-body {
    padding: 0;
}

.confirm-bank-card .confirm-row {
    display: table;
    width: 100%;
    border: none;
    padding: 0;
    margin: 0;
    background: none;
    box-shadow: none;
}

.confirm-bank-card .confirm-label {
    display: none;
}

.confirm-bank-box {
    display: table-row;
}

.confirm-bank-box .confirm-value {
    display: table-cell;
    padding: 18px 20px;
    vertical-align: middle;
    width: 100%;
}

.confirm-bank-card .bank-info-grid {
    gap: 24px;
}

@media (max-width: 576px) {

    .confirm-head,
    .confirm-body,
    .confirm-cta {
        padding: 14px;
    }

    .confirm-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}

/* Home User UI Library
   TÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ch tÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â« main/home_user.php ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¾ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¹ÃƒÆ’Ã¢â‚¬Â¦ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢ tÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡i sÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â­ dÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¥ng nhÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â° Bootstrap */

/* Dashboard layout + headings */
.dash-shell {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Hero carousel */
.carousel-placeholder {
    height: 350px;
    border-radius: 14px;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.04em;
    position: relative;
    overflow: hidden;
}

.carousel-caption-box {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 14px 16px;
    background: linear-gradient(180deg,
            rgba(2, 6, 23, 0) 0%,
            rgba(2, 6, 23, 0.84) 100%);
    text-align: left;
}

.carousel-caption-title {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
    color: #fff;
    margin: 0;
}

.carousel-caption-content {
    font-size: 0.86rem;
    line-height: 1.45;
    color: #e2e8f0;
    margin: 4px 0 0;
}

/* Section headers */
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    gap: 12px;
}

.section-sub {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
}

/* Shopee-style flash voucher block */
.flash-voucher-wrap {
    border-radius: 12px;
    border: 1px solid #f36f36;
    background: #fff;
    padding: 12px 16px;
    margin-top: 8px;
    margin-bottom: 12px;
    box-shadow: 0 4px 16px rgba(243, 111, 54, 0.12);
}

.flash-voucher-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.flash-voucher-title {
    font-size: 1rem;
    font-weight: 900;
    color: #f36f36;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.flash-voucher-title i {
    color: #f36f36;
    font-size: 1.2em;
}

.flash-voucher-more {
    font-size: 0.82rem;
    color: #f36f36;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/*.flash-voucher-more:hover{text-decoration:underline;color:#d32f2f;}*/
.flash-voucher-list {
    display: flex;
    align-items: stretch;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-behavior: smooth;
}

.flash-voucher-list::-webkit-scrollbar {
    height: 6px;
}

.flash-voucher-list::-webkit-scrollbar-thumb {
    background: #f36f36;
    border-radius: 999px;
}

.flash-voucher-item {
    flex: 0 0 auto;
    min-width: 280px;
    max-width: 310px;
    transition:
        transform 0.18s,
        box-shadow 0.18s;
}

/*.flash-voucher-item:hover{transform:translateY(-2px) scale(1.03);box-shadow:0 6px 18px rgba(243,111,54,.18);}*/
.flash-voucher-empty {
    font-size: 0.82rem;
    color: #bdbdbd;
}

/* Top hero 3-column grid */
.hero-combo {
    display: grid;
    grid-template-columns: 3fr 8fr 3fr;
    gap: 16px;
    align-items: stretch;
}

.hero-middle {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

/* Left category panel */
.cat-panel {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    height: 440px;
}

.cat-panel h5 {
    margin: 0 0 12px;
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0.01em;
}

/* Right promo panel - Sidebar style inspired by new_noti.php */
.promo-panel {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    height: 440px;
    overflow: hidden;
}

/* Custom Tabs Navigation */
.promo-tabs {
    border-bottom: 1px solid #eaeaea;
    padding-top: 10px;
    padding-left: 10px;
    background-color: #f9f9f9;
    margin-bottom: 0;
}

.promo-tabs .nav-link {
    color: #555;
    font-weight: 500;
    border: none;
    border-radius: 10px 10px 0 0;
    padding: 10px 20px;
    position: relative;
    background-color: transparent;
    margin-bottom: -1px;
    font-size: 0.9rem;
}

.promo-tabs .nav-link:hover {
    color: #0b5e3a;
}

.promo-tabs .nav-link.active {
    color: #111;
    font-weight: 600;
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    border-bottom-color: #ffffff;
}

/* VÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ch xanh lÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ bÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Âªn trÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡i tab active */
.promo-tabs .nav-link.active::before {
    content: "";
    position: absolute;
    left: -1px;
    top: 20%;
    bottom: 20%;
    width: 4px;
    background-color: #0b5e3a;
    border-radius: 0 4px 4px 0;
}

.promo-tab-content {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
}

.promo-tab-content .tab-pane {
    flex: 1 1 auto;
    min-height: 0;
}

/* Scrollable content with custom scrollbar */
.promo-list {
    max-height: 100%;
    overflow-y: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.promo-list::-webkit-scrollbar {
    width: 6px;
}

.promo-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
    margin: 10px 0;
}

.promo-list::-webkit-scrollbar-thumb {
    background: #c5c5c5;
    border-radius: 10px;
}

.promo-list::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* News/Promo Item - styled like new_noti.php */
.promo-item {
    display: flex;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.promo-item:hover {
    opacity: 0.8;
}

.promo-media {
    width: 85px;
    height: 65px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background-color: #eee;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.promo-media i {
    font-size: 1.8rem;
    color: #999;
}

.promo-text {
    margin-left: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.promo-code {
    color: #002d58;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.promo-desc {
    font-size: 0.75rem;
    color: #475569;
    font-weight: 500;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.promo-meta {
    color: #888;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.promo-meta i {
    margin-right: 4px;
    font-size: 0.75rem;
}

.promo-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: #ef4444;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 2px 6px;
    letter-spacing: 0.05em;
    z-index: 1;
}

/* Category toggle list (left panel) */
.cat-toggle-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: auto;
    padding-right: 4px;
    max-height: calc(420px - 46px);
}

.cat-toggle-item {
    border: 1px solid #e5e7eb;
    background: #f8fafc;
    border-radius: 10px;
    padding: 10px 12px;
    color: #0f172a;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.18s ease;
}

.cat-toggle-item:hover,
.cat-toggle-item.active {
    border-color: var(--theme-primary);
    background: var(--theme-primary-soft);
    color: var(--theme-primary);
}

.cat-toggle-label {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.cat-toggle-icon {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    background: rgba(var(--theme-primary-rgb), 0.12);
    color: var(--theme-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    flex: 0 0 auto;
}

.cat-toggle-thumb {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    overflow: hidden;
    /* border: 1px solid #dbe3ef; */
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.cat-toggle-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cat-toggle-name {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Category hover suggestion overlay */
.hero-wrap {
    position: relative;
    height: 320px;
    overflow: hidden;
    border-radius: 14px;
}

#homeCarousel {
    transition:
        opacity 0.2s ease,
        visibility 0.2s ease;
}

.hero-wrap.suggest-open #homeCarousel {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Overlap & Fade (LÃƒÂ m mÃ¡Â»Â / Che lÃ¡ÂºÂ¥p) transition for #homeCarousel */
#homeCarousel.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 1.0s cubic-bezier(0.25, 1, 0.5, 1);
}

#homeCarousel.carousel-fade .carousel-item.active {
    opacity: 1;
    z-index: 2;
}

#homeCarousel.carousel-fade .carousel-item-next.carousel-item-start,
#homeCarousel.carousel-fade .carousel-item-prev.carousel-item-end {
    opacity: 1;
    z-index: 2;
}

#homeCarousel.carousel-fade .active.carousel-item-start,
#homeCarousel.carousel-fade .active.carousel-item-end {
    opacity: 0;
    z-index: 1;
    transition: opacity 1.0s cubic-bezier(0.25, 1, 0.5, 1);
}

.cat-suggest-card {
    position: absolute;
    inset: 0;
    background: #fff;
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.16);
    padding: 14px;
    z-index: 3;
    display: none;
    overflow: auto;
}

.cat-suggest-card.show {
    display: block;
}

.cat-suggest-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.cat-suggest-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.cat-suggest-item {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 10px;
    background: #f8fafc;
    text-decoration: none;
    color: #0f172a;
    transition: 0.15s ease;
    min-height: 64px;
}

.cat-suggest-thumb {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    flex: 0 0 44px;
    border: 1px solid #dbe3ef;
    background: #fff;
}

.cat-suggest-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 3px;
}

.cat-suggest-name {
    display: block;
    font-size: 0.84rem;
    line-height: 1.35;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #0f172a;
}

.cat-suggest-price {
    display: block;
    font-size: 0.76rem;
    line-height: 1.3;
    font-weight: 700;
    color: #ef3c2d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cat-suggest-item:hover {
    border-color: var(--theme-primary);
    background: var(--theme-primary-soft);
    color: var(--theme-primary);
}

@keyframes skeleton-shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.skeleton-line {
    background: linear-gradient(90deg, #f0f2f5 25%, #e1e4e8 50%, #f0f2f5 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite linear;
    border-radius: 4px;
    display: block;
    width: 100%;
}

.cat-suggest-skeleton {
    height: 68px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 12px;
    display: flex;
    align-items: center;
}

.cat-suggest-skeleton .skeleton-line.w-90 {
    width: 90%;
    height: 10px;
}

.cat-suggest-skeleton .skeleton-line.w-75 {
    width: 75%;
    height: 10px;
}

.skeleton-line.w-25 {
    width: 25% !important;
}

.skeleton-line.w-50 {
    width: 50% !important;
}

.skeleton-line.w-75 {
    width: 75% !important;
}

.skeleton-line.w-100 {
    width: 100% !important;
}

.cat-suggest-skeleton .skeleton-line.w-60 {
    width: 60%;
}

.cat-suggest-skeleton .skeleton-line.w-82 {
    width: 82%;
}

.cat-suggest-product {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--theme-primary);
    text-decoration: none;
    border: 1px solid rgba(var(--theme-primary-rgb), 0.25);
    background: rgba(var(--theme-primary-rgb), 0.08);
    padding: 3px 8px;
    border-radius: 999px;
    line-height: 1.3;
}

.cat-suggest-product:hover {
    background: rgba(var(--theme-primary-rgb), 0.16);
    color: var(--theme-primary);
}

/* Product card grid */
.shop-grid {}

/* Product card grid - trang shopping */
.shopping,
.product-list-container {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 1199.98px) {

    .shop-grid.shopping,
    .product-list-container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {

    .shop-grid.shopping,
    .product-list-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}





.pcard-badges {
    display: none;
}

/* GiÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ + button giÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â trong card */
.pprice-lines {
    margin-top: 6px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.pprice-main {
    flex: 1 1 auto;
    min-width: 0;
}

.pprice-main .pprice-old {
    margin-left: 4px;
}

.pcard-add-cart {
    flex: 0 0 auto;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    color: #0f172a;
    padding: 4px 10px;
    font-size: 0.78rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, transform 0.1s;
}

.pcard-add-cart i {
    font-size: 1rem;
}

.pcard-add-cart:hover {
    background: var(--theme-primary-soft);
    border-color: var(--theme-primary);
    color: var(--theme-primary);
    transform: translateY(-1px);
}

.pcard-add-cart:active {
    transform: translateY(0);
}

.pprice-discount {
    width: auto;
    height: auto;
    position: sticky;
    align-items: center;
    justify-content: center;

    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1;
    padding: 3px 10px;
}

.pprice-discount.order {
    background-color: #ff0000;
    position: sticky;
    align-items: center;
    justify-content: center;
    left: 10px;
    top: 10px;
    color: #ffffff;
    -webkit-mask-image:
        radial-gradient(circle at 0 center, transparent 4px, black 5px),
        radial-gradient(circle at 100% center, transparent 4px, black 5px);
    -webkit-mask-size: 51% 100%;
    -webkit-mask-position:
        left center,
        right center;
    -webkit-mask-repeat: no-repeat;
}

.pprice-discount.ship {
    margin-left: 1px;
    color: #00d9ff;
    background: none;
    padding: 0;
    border-radius: 6px;
    align-items: start;
    text-align: start;
    /* text-decoration-line: underline; */
    line-height: 1.5;
    font-size: 0.65rem;
    font-weight: 700;
}

.pimg {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
    background: #f8fafc;
}

.pcard-body {
    padding: 12px;
}

.pname {
    font-weight: 700;
    font-size: 0.94rem;
    min-height: 42px;
    color: #0f172a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pcategory-tag {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(var(--theme-primary-rgb), 0.25);
    background: rgba(var(--theme-primary-rgb), 0.08);
    color: var(--theme-primary);
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    margin-top: 8px;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pcard-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 8px;
}

.pcard-promo {
    margin: 0 0 4px;
}

.pcard-promo-card {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    border-radius: 8px;
    background: #ebebeb82;
    border: 1px solid #fff;
    padding: 4px 4px;
}

.pcard-promo-lines {
    flex: 1;
    min-width: 0;
}

.pcard-promo-lines p {
    margin: 0;
    font-size: 0.65rem;
    line-height: 1.25;
    color: red;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pcard-promo-lines p+p {
    margin-top: 2px;
    font-size: 0.65rem;
    color: red;
}

.box-rating {
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.box-rating>span {
    display: inline-flex !important;
    align-items: center;
    line-height: 1;
}

.box-rating>span>span {
    display: inline-flex !important;
    align-items: center;
}

.rating-score {
    font-size: 0.86rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1;
    margin-top: 0 !important;
    display: inline-flex;
    align-items: center;
}

.pcard-sold {
    font-size: 0.78rem;
    color: #64748b;
    white-space: nowrap;
}

/* ================= NEW PRODUCT CARD LAYOUT FOR SHOPPING (productGrid) ================= */

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    text-decoration: none;
    color: inherit;
    transition:
        transform 0.18s,
        box-shadow 0.18s,
        border-color 0.18s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 50px rgba(15, 23, 42, 0.15);
    border-color: var(--theme-primary);
}

.product-card .discount-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #ef3c2d;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 999px;
    letter-spacing: 0.01em;
}

.product-card .brand-logo {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
    color: #333;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 999px;
    letter-spacing: 0.01em;
    display: flex;
    height: 20px;
    align-content: center;
    text-align: center;
    align-items: center;
    justify-content: center;
}

/*
.product-card .brand-logo {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 4px 10px rgba(15, 23, 42, .15);
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #0f172a;
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}*/

.product-card .brand-logo img {
    max-height: 16px;
    width: auto;
    display: block;
}

.product-visual-section {
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin-top: 22px;
}

.product-image {
    flex: 1 1 auto;
}

.product-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 10px;
    background: #f8fafc;
}

.product-specs {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 0 0 92px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.75rem;
    color: #4b5563;
}

.product-specs:empty {
    display: none;
}

.product-specs .spec-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 6px 8px;
    border-radius: 10px;
    background: #f3f4f6;
}

.product-specs .spec-item i {
    font-size: 0.9rem;
    color: #111827;
}

.product-specs .spec-item span {
    line-height: 1.25;
}

.color-options {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}

.color-options:empty {
    display: none;
}

.color-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
}

.color-dot.black {
    background: #000;
}

.color-dot.white {
    background: #fff;
}

.color-dot.purple {
    background: #7c3aed;
}

.warranty-info {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    font-size: 0.78rem;
    color: #16a34a;
}

.warranty-info .icon-shield-green {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: #d1fae5;
}

.product-title {
    margin: 4px 0 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
    margin: 0;
    padding: 0;
}

.product-title.shopping {
    margin: 4px 0 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: #0f172a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
    margin: 0;
    padding: 0;
}

@media (max-width: 768px) {
    .product-title.shopping {
        display: block !important;
        -webkit-line-clamp: none !important;
        overflow: visible !important;
        height: auto !important;
        font-size: 1.35rem !important;
        line-height: 1.35 !important;
    }
}

.price-section {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 4px;
}

.price-section .current-price {
    font-size: 1rem;
    font-weight: 700;
    color: #dc2626;
}

.price-section .original-price {
    font-size: 0.72rem;
    color: #9ca3af;
}

.member-discount {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    font-size: 0.78rem;
}

.member-discount .member-text {
    margin: 0;
    color: #6b7280;
}

.member-discount .member-price {
    color: #dc2626;
    font-weight: 700;
}

.product-card-actions {
    /*margin-top: 4px;*/
}

.product-card-add-cart {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 999px;
    color: #ffffff;
    padding: 4px 10px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, transform 0.1s, color 0.15s;
}

.product-card-add-cart i {
    font-size: 1rem;
}

.product-card-add-cart:hover {
    background: rgb(255 255 255 / 90%);
    border-color: var(--theme-primary);
    color: var(--theme-primary);
    transform: translateY(-1px);
}

.product-card-add-cart:active {
    transform: translateY(0);
}

.payment-promotion {
    margin-top: 4px;
    padding: 6px 8px;
    border-radius: 10px;
    background: #f3f4ff;
    font-size: 0.72rem;
    color: #4b5563;
}

.payment-promotion p {
    margin: 0;
}

.ship-badge {
    margin-top: 4px;
    font-size: 0.75rem;
    color: #0ea5e9;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ship-badge i {
    font-size: 0.9rem;
}

.rating-section {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    font-size: 0.8rem;
}

.rating-section .star-icon {
    color: #f59e0b;
}

.rating-section .rating-score {
    font-weight: 700;
    color: #0f172a;
}

.rating-section .review-count {
    color: #6b7280;
}

.product-card.is-skeleton {
    pointer-events: none;
    border-color: #e5e7eb;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

/* Segment blocks (product sections) */
.segment-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.segment-section {
    display: flex;
    flex-direction: column;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    padding: 12px 14px;
    gap: 10px;
}

.segment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.segment-title {
    margin: 0;
    font-size: 1.04rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
}

.segment-title a {
    color: inherit;
    text-decoration: none;
}

.segment-title a:hover {
    color: var(--theme-primary);
}

.segment-brands {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.segment-brand-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(var(--theme-primary-rgb), 0.25);
    background: rgba(var(--theme-primary-rgb), 0.08);
    color: var(--theme-primary);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.segment-empty {
    font-size: 0.86rem;
    color: #64748b;
    padding: 8px 0;
}

/* Partner marquee (hero-middle) */
.hero-middle .partner-home-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-middle .partner-home-line {
    font-size: 0.98rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    line-height: 1.2;
}

.hero-middle .partner-marquee {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.hero-middle .partner-track {
    display: flex;
    align-items: center;
    gap: 18px;
    white-space: nowrap;
    animation: partner-marquee 26s linear infinite;
    width: max-content;
}

.hero-middle .partner-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    height: 50px;
    padding: 0 4px;
}

.hero-middle .partner-home-logo {
    max-width: 120px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Random product strip */
.random-product-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 10px;
}

.random-product-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #0f172a;
}

.random-product-thumb {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 6px;
}

.random-product-name {
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.32;
    text-align: center;
    color: #0f172a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 32px;
}

/* Skeleton loading states */
.page-loading {
    display: grid;
    gap: 12px;
}

.skeleton-block {
    position: relative;
    overflow: hidden;
    background: #eef2f7;
    border-radius: 14px;
}

.skeleton-block::after {
    content: "";
    position: absolute;
    top: 0;
    left: -40%;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.7),
            transparent);
    animation: loading-sweep 1.2s ease-in-out infinite;
}

.skeleton-hero {
    height: 360px;
}

.skeleton-title {
    height: 18px;
    width: 240px;
    border-radius: 999px;
}

.skeleton-sub {
    height: 12px;
    width: 180px;
    border-radius: 999px;
}

.skeleton-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.skeleton-card {
    height: 180px;
    border-radius: 12px;
}

.load-more-skeleton {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.load-more-skeleton-card {
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    min-height: 170px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.load-more-thumb {
    height: 88px;
    border-radius: 10px;
    background: #f3f6fb;
    position: relative;
    overflow: hidden;
}

.load-more-lines {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.load-more-lines .skeleton-line {
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, #eef2f7 0%, #f8fafc 40%, #eef2f7 80%);
    background-size: 200% 100%;
    animation: feedShimmer 1.4s ease-in-out infinite;
}

.load-more-lines .w-92 {
    width: 92%;
}

.load-more-lines .w-75 {
    width: 75%;
}

.load-more-lines .w-58 {
    width: 58%;
}

.load-more-lines .w-66 {
    width: 66%;
}

.shop-load-sentinel {
    height: 1px;
    width: 100%;
}

.shop-load-end {
    font-size: 0.85rem;
    color: #64748b;
    text-align: center;
    padding: 6px 0 0;
}

/* Home content reveal */
.home-content {
    opacity: 0;
    transform: translateY(6px);
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.home-content.show {
    opacity: 1;
    transform: none;
}

/* Review short (video sÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â£n phÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â©m) */
.review-short-section {
    margin-top: 24px;
    margin-bottom: 18px;
    position: relative;
}

.review-short-list {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.review-short-card {
    flex: 0 0 260px;
    max-width: 320px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e5e7eb;
    /*box-shadow: 0 16px 40px rgba(15, 23, 42, .12);*/
    overflow: hidden;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
}

.review-short-video {
    position: relative;
    background: #000;
    aspect-ratio: 9/16;
    overflow: hidden;
}

.review-short-video iframe,
.review-short-video video {
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
    display: block;
}

.review-short-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.review-short-play-inner {
    width: 60px;
    height: 60px;
    border-radius: 999px;
    background: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.6);
}

.review-short-play-inner i {
    color: #fff;
    font-size: 1.8rem;
    margin-left: 2px;
}

.review-short-meta {
    padding: 10px 12px 12px;
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 10px;
    align-items: center;
    background: #f9fafb;
}

.review-short-product-thumb {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: #fff;
    object-fit: contain;
}

.review-short-info-title {
    font-size: 0.66rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 2px;
}

.review-short-info-creator {
    font-size: 0.56rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 2px;
}

.review-short-info-price-main {
    font-size: 0.8rem;
    font-weight: 500;
    color: #ef3c2d;
}

.review-short-info-price-old {
    font-size: 0.78rem;
    color: #94a3b8;
    text-decoration: line-through;
    margin-left: 4px;
}

.review-short-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    padding: 0 4px;
}

.review-short-nav .btn {
    pointer-events: auto;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
}

.review-short-nav .btn i {
    font-size: 1.1rem;
}

.review-short-list::-webkit-scrollbar {
    display: none;
}

/* Home blog (latest posts) */
.home-blog-section {
    margin: 18px 0 10px;
    position: relative;
}

.home-blog-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.home-blog-grid::-webkit-scrollbar {
    display: none;
}

.home-blog-card {
    flex: 0 0 260px;
    max-width: 320px;
    scroll-snap-align: start;
}

.home-blog-card {
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.home-blog-thumb-wrap {
    display: block;
    position: relative;
    overflow: hidden;
}

.home-blog-thumb {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.home-blog-body {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.home-blog-cat {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--theme-primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.home-blog-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.35;
}

.home-blog-title a {
    text-decoration: none;
    color: #0f172a;
}

.home-blog-title a:hover {
    color: var(--theme-primary);
}

.home-blog-excerpt {
    margin: 0;
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-blog-meta {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 2px;
}

@media (max-width: 576px) {
    .home-blog-thumb {
        height: 170px;
    }
}

/* Animations */
@keyframes loading-sweep {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(250%);
    }
}

@keyframes feedShimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@keyframes partner-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Responsive: <= 768px */
@media (max-width: 768px) {
    .hero-middle .partner-item {
        min-width: 100px;
        height: 48px;
    }

    .skeleton-hero {
        height: 260px;
    }

    .hero-combo {
        grid-template-columns: 1fr;
    }

    .cat-panel {
        display: none;
    }

    .hero-middle .partner-item {
        min-width: 86px;
        height: 44px;
    }

    .hero-wrap {
        height: auto;
    }

    .cat-suggest-card {
        display: none !important;
    }

    .cat-suggest-grid {
        grid-template-columns: 1fr;
    }

    .cat-suggest-loading {
        grid-template-columns: 1fr;
    }

    /*
    .shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shop-grid.shopping {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }*/

    .skeleton-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .load-more-skeleton {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Responsive: <= 576px (small phones) */
@media (max-width: 576px) {
    .carousel-placeholder {
        height: 100%;
    }

    .skeleton-hero {
        height: 220px;
    }

    .cat-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .random-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Responsive: <= 1200px */
@media (max-width: 1200px) {
    .shop-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .skeleton-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .load-more-skeleton {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Responsive: <= 992px */
@media (max-width: 992px) {
    .shop-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .skeleton-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .load-more-skeleton {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .partner-home-card {
        width: 110px;
    }

    .segment-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .segment-brands {
        justify-content: flex-start;
    }
}

/* Responsive: <= 576px (grid tweaks) */
@media (max-width: 576px) {
    /*.shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }*/

    .skeleton-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .load-more-skeleton {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .partner-home-card {
        width: 92px;
    }
}

/* Mini cart popup (top-right) */
.mini-cart-popup {
    position: fixed;
    top: 80px;
    right: 16px;
    z-index: 1050;
    width: 320px;
    max-width: 92vw;
    max-height: 70vh;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    display: none;
    overflow: hidden;
    font-size: 0.85rem;
}

.mini-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
    font-weight: 700;
    color: #0f172a;
}

.mini-cart-close {
    border: none;
    background: transparent;
    font-size: 1.1rem;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    padding: 0 4px;
}

.mini-cart-body {
    padding: 8px 0 10px;
    display: flex;
    flex-direction: column;
    max-height: calc(70vh - 42px);
}

.mini-cart-items {
    padding: 0 10px;
    overflow: auto;
    flex: 1 1 auto;
}

.mini-cart-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px dashed #e5e7eb;
}

.mini-cart-item:last-child {
    border-bottom: none;
}

.mini-cart-item-thumb {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    object-fit: contain;
    flex: 0 0 auto;
}

.mini-cart-item-main {
    flex: 1 1 auto;
    min-width: 0;
}

.mini-cart-item-name {
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.82rem;
}

.mini-cart-item-meta {
    font-size: 0.78rem;
    color: #64748b;
}

.mini-cart-actions {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    font-size: 0.78rem;
}

.mini-cart-qty {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.mini-cart-qty-btn {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    cursor: pointer;
    font-size: 0.7rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.mini-cart-qty-btn:hover {
    background: #e5e7eb;
}

.mini-cart-qty-input {
    width: 32px;
    text-align: center;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.75rem;
    padding: 1px 2px;
    background: #fff;
}

.mini-cart-remove {
    border: none;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1;
    padding: 0 2px;
}

.mini-cart-remove:hover {
    color: #ef4444;
}

.mini-cart-footer {
    border-top: 1px solid #e5e7eb;
    padding: 8px 12px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.mini-cart-count {
    font-size: 0.8rem;
    color: #64748b;
}

.mini-cart-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--theme-primary, #0f172a);
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.mini-cart-view:hover {
    opacity: 0.9;
    color: #fff;
}

/* Style riÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Âªng cho trang chi tiÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¿t sÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â£n phÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â©m */
.gallery-wrap {
    border-radius: 14px;
    background: #f8fafc;
    padding: 12px;
}

.media-gallery {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: sticky;
    top: 80px;
}

.gallery-main {
    position: relative;
    border-radius: 14px;
    /*background: #fff;
    border: 1px solid #e2e8f0;
    */
    margin-top: 10px;
    margin-bottom: 10px;
    min-height: 340px;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-main-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
    z-index: 6;
}

.gallery-main-arrow.gallery-main-prev {
    left: 8px;
}

.gallery-main-arrow.gallery-main-next {
    right: 8px;
}

.gallery-main-arrow:hover {
    background: #f1f5f9;
    color: #111827;
}

.gallery-main img,
.gallery-main video {
    width: 100%;
    max-height: 100%;
    object-fit: contain;
    background: #fff;
}

.gallery-main video#galleryMainVideo::-webkit-media-controls-enclosure {
    display: none !important;
}

.gallery-main video#galleryMainVideo::-webkit-media-controls {
    display: none !important;
}

.gallery-main video {
    background: #000;
}

.feed-skeleton {
    background: linear-gradient(90deg, #eef2f7 0%, #f8fafc 40%, #eef2f7 80%);
    background-size: 200% 100%;
    animation: feedShimmer 1.4s ease-in-out infinite;
}

@keyframes feedShimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.gallery-main img.feed-skeleton {
    min-height: 420px;
}

.gallery-thumb img.feed-skeleton {
    background: linear-gradient(90deg, #eef2f7 0%, #f8fafc 40%, #eef2f7 80%);
    background-size: 200% 100%;
    animation: feedShimmer 1.4s ease-in-out infinite;
}

.slide-in-right {
    animation: slideInRight 0.35s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(16px);
        opacity: 0.2;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.gallery-zoom-btn {
    position: absolute;
    top: 10px;
    right: 8px;
    z-index: 5;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 6px 10px;
    font-weight: 700;
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.gallery-zoom-btn i {
    color: #0f172a;
}

.gallery-thumb-row {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    flex: 1;
}

.gallery-thumb {
    width: 72px;
    height: 72px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1/1;
    flex: 0 0 72px;
    min-width: 72px;
}

.gallery-thumb img,
.gallery-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1/1;
    display: block;
}

.gallery-thumb .thumb-badge {
    position: absolute;
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    border-radius: 999px;
    font-size: 1rem;
    padding: 1px 4px;
}

.gallery-thumb.active {
    border-color: var(--theme-primary);
    box-shadow: 0 0 0 2px rgba(var(--theme-primary-rgb), 0.2);
}

.gallery-thumb-row::-webkit-scrollbar {
    height: 4px;
}

.gallery-thumb-row::-webkit-scrollbar-track {
    background: transparent;
}

.gallery-thumb-row::-webkit-scrollbar-thumb {
    background: #cbd5f5;
    border-radius: 999px;
}

.gallery-thumb-section {
    margin-top: 8px;
}

.gallery-thumb-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.gallery-thumb-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.gallery-thumb-arrow {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    font-size: 0.8rem;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gallery-thumb-arrow:hover {
    background: #f1f5f9;
    color: #111827;
}

.badge-sku {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 3px 10px;
    font-size: 0.75rem;
    margin-top: 10px;
    color: #475569;
}

.product-titled {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin: 0;
    padding: 0;
}

.rating-group {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    margin: 0;
    padding: 0 0 2px 0;
}

.rating-group::-webkit-scrollbar {
    display: none;
}

.rating-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 5px 10px;
    font-weight: 600;
    font-size: 0.8rem;
    color: #0f172a;
    flex-shrink: 0;
    white-space: nowrap;
}

@media (max-width: 576px) {
    .rating-group {
        gap: 6px;
    }

    .rating-chip {
        padding: 4px 8px;
        font-size: 0.76rem;
        border-radius: 8px;
    }
}

.rating-chip-favorite {
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    user-select: none;
}

.rating-chip-favorite:hover {
    background: #ffe4e6;
    color: #e11d48;
    transform: translateY(-1px);
}

.rating-chip-favorite.active {
    background: #ffe4e6;
    color: #e11d48;
    border-color: #fda4af;
}

/* Pulse animation for live heart icon */
@keyframes heartBeat {
    0% {
        transform: scale(1);
    }

    14% {
        transform: scale(1.25);
    }

    28% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.25);
    }

    70% {
        transform: scale(1);
    }
}

.rating-chip-favorite:hover .fav-heart-icon,
.rating-chip-favorite.active .fav-heart-icon {
    display: inline-block;
    animation: heartBeat 1.2s infinite;
    color: #e11d48;
}

.rating-chip-stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    line-height: 1;
}

.rating-chip-star {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
}

.rating-chip-star-base,
.rating-chip-star-fill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.rating-chip-star-fill {
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    white-space: nowrap;
    height: 14px;
}

.rating-chip-text {
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
    white-space: nowrap;
}

.product-ship-box {
    padding: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.product-ship-eta-row {
    display: flex;
    align-items: center;
    justify-content: none;
    gap: 8px;
}

.product-ship-eta {
    font-size: 0.85rem;
    color: #111827;
    line-height: 1.3;
}

.product-ship-arrow {
    font-size: 0.9rem;
    color: #6b7280;
}

.product-ship-fee-line {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--theme-primary);
    line-height: 1.3;
}

.ship-destination {
    font-size: 0.88rem;
    color: #334155;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 12px;
}

.ship-method-list {
    display: grid;
    gap: 8px;
}

.ship-method-item {
    padding: 2px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    cursor: pointer;
}

.ship-method-item.active .ship-method-name {
    color: var(--theme-primary);
}

.ship-method-main {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.ship-method-name {
    font-size: 0.86rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
}

.ship-method-meta {
    font-size: 0.76rem;
    color: #6b7280;
    line-height: 1.3;
}

.ship-method-fee {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--theme-primary);
}

.price-box {
    background: transparent;
    border-radius: 0;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 8px;
    justify-content: flex-start;
    box-shadow: none;
    border: none;
}

.price-current {
    font-size: 1.75rem;
    font-weight: 900;
    color: #ef3c2d;
}

.price-original {
    font-size: 0.95rem;
    font-weight: 600;
    color: #94a3b8;
    text-decoration: line-through;
    display: none;
}

.price-save {
    font-size: 0.8rem;
    font-weight: 700;
    color: #16a34a;
    display: none;
}

.voucher-select {
    border-radius: 12px;
    font-size: 0.9rem;
}

/* =========================================================
   VOUCHER TICKET — vé ưu đãi mini kiểu RĂNG CƯA MÉP
   Vé liền khối, mép trái/phải răng cưa (zigzag) như tem phiếu.
   Dùng cho #voucherSection: .voucher-badge.order / .ship / .category / .payment
   ========================================================= */
.voucher-note {
    font-size: 0.78rem;
    color: #64748b;
    /* margin-top: 8px; */
}

.voucher-badge-list {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
    /* padding-bottom: 2px; */
}

/* Thân vé: nền đặc theo loại, răng cưa 2 mép bằng clip-path polygon (răng tam giác nhọn).
   --vc-depth = độ sâu răng khoét vào (px). 8 răng mỗi mép, chia đều theo chiều cao (%). */
.voucher-badge {
    --vc-color: #6b7280;
    --vc-bg: #fef2f2;
    --vc-depth: 4px;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
    border: 0;
    background: var(--vc-bg);
    color: var(--vc-color);
    transition: transform 0.12s ease, filter 0.15s ease, background 0.15s ease, color 0.15s ease;
    /* Răng cưa nhọn 2 mép: mép phải đi xuống (răng lõm tại các mốc 12.5%..87.5%),
       mép trái đi lên. Polygon co giãn theo chiều cao thực tế của vé. */
    clip-path: polygon(0 0, 100% 0,
            calc(100% - var(--vc-depth)) 12.5%, 100% 25%,
            calc(100% - var(--vc-depth)) 37.5%, 100% 50%,
            calc(100% - var(--vc-depth)) 62.5%, 100% 75%,
            calc(100% - var(--vc-depth)) 87.5%, 100% 100%,
            0 100%,
            var(--vc-depth) 87.5%, 0 75%,
            var(--vc-depth) 62.5%, 0 50%,
            var(--vc-depth) 37.5%, 0 25%,
            var(--vc-depth) 12.5%, 0 0);
}

/* Icon vé ở đầu */
.voucher-badge .vc-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    line-height: 1;
    flex: 0 0 auto;
}

/* Phần giá trị, ngăn với icon bằng đường gạch đứt mảnh */
.voucher-badge .vc-val {
    position: relative;
    padding-left: 7px;
}

.voucher-badge .vc-val::before {
    content: "";
    position: absolute;
    left: 0;
    top: -2px;
    bottom: -2px;
    border-left: 1px dashed color-mix(in srgb, var(--vc-color) 50%, transparent);
}

.voucher-badge:hover {
    transform: translateY(-1px);
    filter: brightness(0.98);
}

/* Loại vé phân biệt bằng màu: đơn hàng (đỏ), vận chuyển (xanh),
   danh mục (tím), thanh toán (cam/vàng).
   Trạng thái thường: nền nhạt + chữ đậm cùng tông. */
.voucher-badge.order {
    --vc-color: #dc2626;
    --vc-bg: #fee2e2;
}

.voucher-badge.ship {
    --vc-color: #0e7490;
    --vc-bg: #cffafe;
}

.voucher-badge.category {
    --vc-color: #6d28d9;
    --vc-bg: #ede9fe;
}

.voucher-badge.payment {
    --vc-color: #3eb719;
    --vc-bg: #fef3c7;
}

/* Trạng thái đang chọn: nền đậm theo loại, chữ trắng */
.voucher-badge.active {
    background: #0b4b28;
    color: #fff;
    transform: translateY(-1px);
}

.voucher-badge.active .vc-val::before {
    border-left-color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .voucher-badge {
        font-size: 0.7rem;
        padding: 5px 11px;
    }

    .voucher-badge .vc-ic {
        font-size: 0.78rem;
    }
}


/* Section gộp: tiêu đề + 1 hàng vé xếp sát trái, tự xuống dòng */
#voucherSection {
    gap: 6px;
}

.voucher-badge-list {
    justify-content: flex-start;
}

.voucher-group-title {
    font-size: 0.7rem;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}


.variant-chip {
    border: 1px solid #e1e6f2;
    border-radius: 14px;
    padding: 10px 14px;
    cursor: pointer;
    font-weight: 600;
    color: #0f172a;
    transition: 0.15s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.variant-chip.active {
    border-color: var(--theme-primary);
    background: var(--theme-primary-soft);
}

.section-label {
    font-weight: 700;
    color: #475569;
    font-size: 0.85rem;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.section-label i {
    color: #0f172a;
    font-size: 0.95rem;
}

.detail-label {
    font-weight: 700;
    color: #475569;
    font-size: 0.85rem;
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.detail-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.detail-helper {
    font-size: 0.78rem;
    color: #94a3b8;
}

.product-info-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
    margin: 0;
}

.qty-box {
    display: flex;
    gap: 10px;
    align-items: center;
}

.qty-box input {
    width: 110px;
    border-radius: 12px;
}

.qty-row input {
    width: 120px;
    border-radius: 12px;
}

.stock-status {
    font-weight: 600;
    font-size: 0.85rem;
}

.action-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 0;
}

.btn-primary,
.btn-danger,
.btn-success,
.btn-warning,
.btn-secondary,
.btn-light,
.btn-info,
.btn-dark,
.btn-outline-primary,
.btn-outline-danger,
.btn-outline-success,
.btn-outline-warning,
.btn-outline-secondary,
.btn-outline-light,
.btn-outline-info,
.btn-outline-dark {
    border-radius: 14px;
    font-weight: 700;
    padding: 4px 10px;
}

.assurance-box {
    background: #f8fafc;
    border-radius: 14px;
    padding: 12px;
    margin-top: 12px;
    font-size: 0.85rem;
    color: #475569;
    display: flex;
    gap: 12px;
}

.assurance-box i {
    color: #0ea5e9;
}

/* CÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡c style chung cho cÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â£ trang chi tiÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¿t sÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â£n phÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â©m vÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â  trang khÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ch vÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â£ng lai (product_guest.php) */
.meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #eef2ff;
    background: #fff;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    color: #475569;
}

/* Cho phÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â©p thanh tab thÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â´ng tin sÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â£n phÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â©m trÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â°ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â£t ngang trÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Âªn mobile */
@media (max-width: 575.98px) {
    #productInfoTabsNav {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    #productInfoTabsNav::-webkit-scrollbar {
        display: none;
    }

    #productInfoTabsNav .nav-item {
        flex: 0 0 auto;
    }
}

.color-palette-header {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: space-between;
}

.color-palette-header .section-label {
    margin-top: 0;
}

.color-swatch-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 0;
    padding: 2px;
    max-height: 190px;
    /* ~3 hÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â ng mÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â u, phÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â§n cÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â²n lÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡i cuÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¾ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢n dÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Âc */
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

#colorPaletteWrap {
    gap: 4px;
    flex: 1;
}

.color-swatch {
    width: 35px;
    height: 35px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: transparent;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    flex: 0 0 96px;
    /* cÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¹ÃƒÆ’Ã¢â‚¬Â¦ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œ ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¾ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¹ÃƒÆ’Ã¢â‚¬Â¦ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¹nh width, khÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â´ng bÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¹ bÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â³p lÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡i */
    cursor: pointer;
    position: relative;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        transform 0.12s ease;
    padding: 0;
    overflow: hidden;
}

/* ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¾ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â£m bÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â£o phÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â§n fill mÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â u chiÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¿m toÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â n bÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¾ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ diÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡n tÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â­ch bÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Âªn trong swatch, vÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â  label nÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â±m ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â¦ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¸ dÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â°ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Âºi cÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¹ng */
/* Color palette swatches (chi tiÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¿t sÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â£n phÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â©m) */
.color-swatch-grid {
    display: grid;
    grid-template-columns: repeat(10, 35px);
    grid-auto-rows: 35px;
    gap: 4px;
    max-height: calc(35px * 5 + 4px * 4);
    /* 5 hÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â ng, 4 khoÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â£ng cÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ch */
    overflow-y: auto;
}

.color-swatch {
    border: none;
    padding: 0;
    margin: 0;
    background: transparent;
    cursor: pointer;
    box-sizing: border-box;
    width: 35px;
    height: 35px;
}

.color-swatch:focus {
    outline: none;
}

.color-swatch .swatch-fill {
    width: 100%;
    height: 100%;
    display: block;
}

.color-swatch-custom .swatch-fill {
    position: relative;
    animation: customColorPulse 1.8s ease-in-out infinite;
    border: 3px solid #333;
    color: #fff;
    background: #747070;
}

@keyframes customColorPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.35);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
        transform: scale(1.04);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
        transform: scale(1);
    }
}

.swatch-fill {
    flex: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 6px;
    box-sizing: border-box;
}

.swatch-label {
    font-size: 0.7rem;
    font-weight: 400;
    color: #0f172a;
    text-align: center;
    line-height: 1.2;
    width: 100%;
    word-break: break-word;
}

.swatch-icon {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #475569;
}

.color-swatch-grid::-webkit-scrollbar {
    width: 4px;
}

.color-swatch-grid::-webkit-scrollbar-track {
    background: transparent;
}

.color-swatch-grid::-webkit-scrollbar-thumb {
    background: #cbd5f5;
    border-radius: 999px;
}

.color-swatch.active {
    border-color: var(--theme-primary);
    box-shadow: 0 0 0 1px rgba(var(--theme-primary-rgb), 0.6);
    transform: translateY(-1px);
}

.color-empty {
    border: 1px dashed #cbd5f5;
    border-radius: 14px;
    padding: 16px;
    text-align: center;
    color: #64748b;
}

.tint-note-panel {
    border: 1px dashed #cbd5f5;
    border-radius: 14px;
    padding: 12px;
    background: #fff;
    margin-top: 10px;
}

.tint-note-input {
    border-radius: 10px;
    font-size: 0.95rem;
    padding: 10px 14px;
}

.inline-panel {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
    background: #f8fafc;
    height: 100%;
}

.inline-panel .detail-label {
    margin-top: 0;
}

.inline-panel .color-swatch-grid {
    margin-top: 6px;
}

.color-search-input {
    max-width: 190px;
    font-size: 0.8rem;
    height: 32px;
    border-radius: 999px;
}

.color-tone-filter {
    max-width: 150px;
    font-size: 0.8rem;
    height: 32px;
    border-radius: 999px;
}

.inline-panel .qty-row input {
    max-width: 140px;
}

.payment-badge {
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #0f172a;
    background: #fff;
    margin-right: 6px;
    margin-bottom: 6px;
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

.payment-badge i {
    color: #16a34a;
}

.payment-block-note {
    font-size: 0.72rem;
    color: #64748b;
    margin-top: 4px;
}

.product-meta-compact {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.detail-panels {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
    margin-top: 16px;
    align-items: flex-start;
}

.collapsible-card {
    position: relative;
}

.collapsible-trigger {
    display: flex;
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    padding: 0;
    gap: 12px;
    align-items: flex-start;
    cursor: pointer;
}

.collapsible-trigger:focus-visible {
    outline: 2px solid rgba(var(--theme-primary-rgb, 37, 99, 235), 0.4);
    outline-offset: 4px;
    border-radius: 12px;
}

.collapsible-body {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition:
        max-height 0.35s ease,
        opacity 0.3s ease,
        margin-top 0.3s ease,
        padding-top 0.3s ease;
    padding-top: 0;
}

.collapsible-card.is-expanded .collapsible-body {
    max-height: 1600px;
    opacity: 1;
    margin-top: 12px;
    padding-top: 4px;
}

.collapsible-card.is-collapsed .collapsible-body {
    margin-top: 0;
}

.collapsible-chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #0f172a;
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.collapsible-card.is-expanded .collapsible-chevron {
    transform: rotate(180deg);
}

.detail-card {
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: #fff;
    padding: 20px;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
    position: relative;
    overflow: hidden;
}

.detail-card:before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at top right,
            rgba(37, 99, 235, 0.15),
            transparent 60%);
    opacity: 0.5;
    pointer-events: none;
}

.detail-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    background: transparent;
    border: 0;
    padding: 0;
    width: 100%;
}

.detail-card-head>div:first-child {
    flex: 1;
}

.detail-card-meta {
    flex-shrink: 0;
}

.detail-card-eyebrow {
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: #64748b;
}

.detail-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.detail-card-meta {
    font-size: 0.82rem;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.detail-card-body {
    position: relative;
    z-index: 1;
}

.description-body {
    font-size: 1rem;
    line-height: 1.85;
    color: #0f172a;
    white-space: pre-line;
}

.detail-chip-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-chip {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px;
    background: #f8fafc;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.chip-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 6px;
}

.chip-value {
    font-size: 0.95rem;
    color: #0f172a;
    white-space: pre-line;
}

.detail-assurance-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-assurance-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: #1f2937;
    font-weight: 600;
}

.detail-assurance-list i {
    font-size: 1rem;
    color: #16a34a;
    margin-top: 2px;
}

.spec-panel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.spec-panel {
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
    padding: 0;
    display: flex;
    flex-direction: column;
}

.spec-panel-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: transparent;
    border: 0;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.spec-panel-heading {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.spec-panel-summary {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.spec-panel-body {
    padding: 0 16px 16px;
}

.spec-panel-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(var(--theme-primary-rgb, 37, 99, 235), 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--theme-primary, #2563eb);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.spec-panel-title {
    font-weight: 800;
    color: #0f172a;
    font-size: 0.95rem;
}

.spec-panel-text {
    font-size: 0.92rem;
    color: #334155;
    white-space: pre-line;
}

/*
.variant-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.variant-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 5px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
    transition: all .15s ease;
    cursor: pointer;
    min-width: 110px;
}

.variant-card:hover {
    border-color: #94a3b8;
    box-shadow: 0 6px 16px rgba(15, 23, 42, .08);
}

.variant-card.active {
    border-color: var(--theme-primary);
    box-shadow: 0 0px 20px rgba(var(--theme-primary-rgb), .2);
}

.variant-card.variant-disabled {
    opacity: .55;
    cursor: not-allowed;
}

.variant-title {
    font-weight: 700;
    color: #0f172a;
    font-size: .9rem;
}

.variant-meta {
    display: flex;
    justify-content: space-between;
    font-size: .75rem;
    color: #475569;
}

.variant-thumb {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.variant-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
*/
.product-card-header {
    margin-bottom: 10px;
    margin-left: 10px;
}

.product-breadcrumb {
    font-size: 1.5rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.product-breadcrumb a {
    color: #4b5563;
    text-decoration: none;
    font-weight: 600;
}

.product-breadcrumb a:hover {
    color: var(--theme-primary);
    text-decoration: underline;
}

.product-breadcrumb span {
    display: inline-flex;
    align-items: center;
}

.header-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.header-links .btn {
    border-radius: 12px;
    font-weight: 600;
}

.color-modal-preview {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    border: 3px solid rgba(15, 23, 42, 0.1);
    box-shadow: inset 0 0 12px rgba(15, 23, 42, 0.25);
}

.color-modal-meta {
    font-size: 0.9rem;
    color: #475569;
}

/* Modal chÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Ân mÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â u sÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¯c */
.km-picker-modal-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.km-picker-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    justify-content: space-between;
}

.km-picker-search {
    flex: 1 1 180px;
}

.km-color-grid {
    max-height: 420px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 8px;
    margin-top: 4px;
}

.km-color-item {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 6px 8px;
    background: #fff;
    cursor: pointer;
    transition: 0.15s;
}

.km-color-item:hover {
    border-color: var(--theme-primary);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
}

.km-color-swatch {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 2px solid rgba(15, 23, 42, 0.08);
    box-shadow: inset 0 0 6px rgba(15, 23, 42, 0.2);
}

.km-color-label {
    font-size: 0.85rem;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Modal zoom hÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬nh ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â£nh/video */
.zoom-modal .modal-dialog {
    max-width: 720px;
}

.zoom-modal .modal-content {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
    border-radius: 16px;
    overflow: hidden;
}

.zoom-modal .modal-body {
    padding: 12px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-frame {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 60vh;
    background: #f8fafc;
    border-radius: 12px;
    padding: 12px;
}

.zoom-frame img,
.zoom-frame video {
    max-width: 100%;
    max-height: 68vh;
    border-radius: 10px;
    background: #fff;
}

.zoom-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    background: #fff;
    border-radius: 999px;
}

.zoom-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.zoom-nav.prev {
    left: 10px;
}

.zoom-nav.next {
    right: 10px;
}

.zoom-nav:disabled {
    opacity: 0.4;
    box-shadow: none;
}

/* PhÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â§n ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¾ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¹ÃƒÆ’Ã¢â‚¬Â¦ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡nh giÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ vÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â  bÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬nh luÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â­n */
.review-section {
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 16px;
    margin-top: 18px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.review-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.review-title {
    font-weight: 800;
    font-size: 1.05rem;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.review-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    background: #f8fafc;
}

.review-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.review-name {
    font-weight: 700;
    color: #0f172a;
}

.review-time {
    font-size: 0.78rem;
    color: #64748b;
}

.review-stars {
    display: flex;
    align-items: center;
    gap: 2px;
    color: #f59e0b;
    font-size: 0.85rem;
}

.review-comment {
    color: #0f172a;
    font-size: 0.95rem;
    line-height: 1.6;
    white-space: pre-line;
}

.review-empty {
    color: #64748b;
    font-size: 0.9rem;
    text-align: center;
    padding: 12px;
}

.product-comment {
    margin-top: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    padding: 16px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.comments__title {
    font-weight: 800;
    font-size: 1.05rem;
    color: #0f172a;
    margin-bottom: 14px;
}

.block-rate {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
    background: #f8fafc;
}

.block-rate__star {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
}

.block-rate__star .avg {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.55rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1;
}

.block-rate__star .avg i {
    color: #ffca3f;
    font-size: 1.5rem;
}

.block-rate__star .count {
    font-size: 0.86rem;
    color: #64748b;
}

.button__review {
    border: 1px solid var(--theme-primary);
    background: var(--theme-primary-soft);
    color: var(--theme-primary);
    font-weight: 700;
    border-radius: 999px;
    padding: 7px 12px;
    width: max-content;
}

.chart {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.chart .item {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 10px;
    align-items: center;
}

.chart .left {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
}

.chart .left i {
    color: #ffca3f;
    font-size: 0.82rem;
}

.chart .right {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
}

.chart .progress {
    display: block;
    height: 8px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.chart .progress-bar {
    display: block;
    height: 100%;
    background: var(--theme-primary);
    border-radius: 999px;
    transition: width 0.2s ease;
}

.chart .number {
    font-size: 0.78rem;
    color: #64748b;
    white-space: nowrap;
}

.comments-add {
    margin-top: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    padding: 12px;
    display: none;
}

.comments-add.show {
    display: block;
}

.comments-add__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.comments-add__top .notes-rep {
    font-size: 0.84rem;
    color: #0f172a;
    margin: 0;
    font-weight: 600;
}

.comments-add__top .close {
    font-size: 0.82rem;
    color: #64748b;
    cursor: pointer;
    font-weight: 700;
}

.comments-add__rate {
    margin-bottom: 10px;
}

.comments-rate {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.comments-rate-star {
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.78rem;
    color: #0f172a;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.comments-rate-star i {
    color: #fbbf24;
}

.comments-rate-star.active {
    border-color: var(--theme-primary);
    background: var(--theme-primary-soft);
    color: var(--theme-primary);
}

.comments-add__form-field {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 12px;
    min-height: 100px;
    resize: vertical;
}

.comments-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 8px;
}

.comments-form-grid input {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 0.84rem;
}

.button__cmt-send {
    border: 0;
    background: var(--theme-primary);
    color: var(--theme-primary-contrast);
    font-weight: 700;
    border-radius: 999px;
    padding: 8px 18px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.review-media-tools {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.review-media-trigger {
    border: 1px dashed #cbd5f5;
    background: #fff;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.review-media-hint {
    font-size: 0.76rem;
    color: #64748b;
}

.review-media-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.review-media-item {
    position: relative;
    width: 74px;
    height: 74px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    overflow: hidden;
}

.review-media-item img,
.review-media-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.review-media-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    border: 0;
    background: rgba(15, 23, 42, 0.7);
    color: #fff;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.review-attach-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.review-attach-item {
    width: 88px;
    height: 88px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    background: #f8fafc;
}

.review-attach-item img,
.review-attach-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.faq-action-btn {
    border: 1px solid #dbe3ef;
    background: #fff;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.faq-action-btn.is-loading {
    opacity: 0.7;
    pointer-events: none;
}

.faq-status {
    font-size: 0.78rem;
    color: #64748b;
}

.comments-content {
    margin-top: 14px;
}

.comments-list {
    display: grid;
    gap: 12px;
}

.comments-list .item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    padding: 12px;
}

.item-author {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.item-author__avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #eef2f7;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    text-transform: uppercase;
    flex-shrink: 0;
}

.item-author__main {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.item-author__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.item-author__name {
    font-weight: 700;
    color: #0f172a;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    flex: 1;
    min-width: 0;
}

.item-author__phone {
    font-size: 0.76rem;
    color: #64748b;
    font-weight: 500;
}

.item-author .rating-star {
    display: flex;
    gap: 2px;
    color: #f59e0b;
    font-size: 0.82rem;
}

.item-content {
    margin-top: 8px;
    font-size: 0.92rem;
    line-height: 1.6;
    color: #0f172a;
    white-space: pre-line;
}

.item-action {
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.item-action__reply {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--theme-primary);
    cursor: pointer;
}

.item-action-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
}

.item-action-toggle {
    border: 0;
    background: transparent;
    border-radius: 999px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    cursor: pointer;
}

.item-action-toggle:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.item-action-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    min-width: 160px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
    padding: 4px;
    display: none;
    z-index: 20;
}

.item-action-tools.is-open .item-action-menu {
    display: block;
}

.item-action-btn {
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.item-action .item-action-btn {
    border-color: transparent;
    background: transparent;
    padding-left: 0;
    padding-right: 0;
    font-size: 0.8rem;
    color: #64748b;
}

.item-action .item-action-btn.active {
    color: #ef4444;
}

.item-action-menu .item-action-btn {
    width: 100%;
    justify-content: flex-start;
    border-radius: 999px;
    border-color: transparent;
}

.item-action-menu .item-action-btn:hover {
    background: #f1f5f9;
}

.item-action-btn.active {
    border-color: var(--theme-primary);
    color: var(--theme-primary);
    background: var(--theme-primary-soft);
}

.item-action-btn.is-danger {
    border-color: #fecaca;
    color: #ef4444;
    background: #fff5f5;
}

.item-action-btn.is-muted {
    color: #94a3b8;
    border-color: #e2e8f0;
    cursor: default;
}

.item-action-btn[data-like-id] i {
    color: #9ca3af;
    font-size: 1.1em;
}

.item-action-btn[data-like-id].active {
    border-color: #fecaca;
    background: #fee2e2;
    color: #b91c1c;
}

.item-action-btn[data-like-id].active i {
    color: #ef4444;
}

.item-action .item-action-btn[data-like-id].active {
    background: transparent;
    border-color: transparent;
}

.item-action__time {
    font-size: 0.76rem;
    color: #64748b;
}

.item-child {
    margin-top: 10px;
    padding-left: 16px;
    border-left: 2px solid #e2e8f0;
    display: grid;
    gap: 8px;
}

.overview-card {}

.faq-card,
.spec-table-card {
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
    padding: 16px;
}

.overview-head,
.faq-head,
.spec-table-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.overview-title,
.faq-title,
.spec-table-title {
    font-size: 1.02rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.overview-toggle {
    border: 1px solid #dbe3ef;
    background: #fff;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f172a;
}

.overview-toggle:hover {
    border-color: var(--theme-primary);
    color: var(--theme-primary);
}

/* MÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â·c ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¾ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¹ÃƒÆ’Ã¢â‚¬Â¦ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¹nh thu gÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Ân mÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â´ tÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â£, bÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¥m Xem thÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Âªm ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¾ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¹ÃƒÆ’Ã¢â‚¬Â¦ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢ mÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â¦ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¸ rÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¾ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ng */
.overview-body {
    position: relative;
    max-height: 220px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.overview-card.is-expanded .overview-body {
    max-height: 1800px;
}

.overview-body::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 56px;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0),
            rgba(255, 255, 255, 0.95));
    pointer-events: none;
}

.overview-card.is-expanded .overview-body::after {
    display: none;
}

.overview-toggle-wrap {
    display: flex;
    justify-content: center;
    margin-top: 14px;
}

.overview-toggle {
    min-width: 160px;
    padding: 8px 18px;
    font-size: 0.88rem;
}

.overview-content {
    font-size: 0.98rem;
    line-height: 1.85;
    color: #0f172a;
    white-space: normal;
}

.overview-content h1,
.overview-content h2,
.overview-content h3,
.overview-content h4 {
    margin: 0 0 12px;
    font-weight: 800;
    line-height: 1.35;
    color: #0f172a;
}

.overview-content p {
    margin: 0 0 12px;
}

.overview-content ul,
.overview-content ol {
    margin: 0 0 12px;
    padding-left: 22px;
}

.overview-content blockquote {
    margin: 0 0 14px;
    padding: 12px 16px;
    border-left: 4px solid var(--theme-primary);
    background: #f8fafc;
    border-radius: 10px;
    color: #334155;
}

/* PROMO DEAL AREA: Shopee-like layout (ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¾ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¹ÃƒÆ’Ã¢â‚¬Â¦ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡n giÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â£n, dÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ng list ngang) */
.promo-deal-block {
    position: relative;
    border-radius: 16px;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.promo-deal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.promo-deal-header-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.86rem;
    font-weight: 800;
    color: #9a3412;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.promo-deal-header-title::before {
    content: "";
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f97316, #fb7185);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9);
}

.promo-deal-header-link {
    border: none;
    background: transparent;
    padding: 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: #b91c1c;
    display: flex;
    align-items: center;
    gap: 2px;
}

.promo-deal-header-link i {
    font-size: 0.85rem;
}

.promo-deal-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.promo-deal-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ff0000;
}

.promo-deal-grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow: visible;
}

.promo-deal-card {
    position: relative;
    display: flex;
    gap: 6px;
    padding: 7px 8px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid var(--bs-form-valid-color);
    align-items: flex-start;
    flex: 1 1 auto;
    width: 100%;
    transition:
        transform 0.14s ease,
        box-shadow 0.14s ease,
        border-color 0.14s ease,
        background 0.14s ease;
}

.promo-deal-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgb(117 116 116 / 20%);
    border-color: var(--bs-green);
    background: #f6fff9;
}

.promo-deal-thumb {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.promo-deal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-deal-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.promo-deal-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.promo-deal-meta {
    font-size: 0.74rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.promo-deal-prices {
    font-size: 0.78rem;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
    margin-top: 1px;
}

.promo-deal-price-original {
    text-decoration: line-through;
    color: #94a3b8;
}

.promo-deal-price-deal {
    color: #b91c1c;
    font-weight: 800;
}

.promo-deal-action {
    margin-top: 4px;
}

.promo-deal-action .btn {
    width: 100%;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 6px 14px;
    box-shadow: 0 4px 10px rgba(248, 113, 113, 0.28);
    border-width: 1px;
}

.promo-deal-action .btn-outline-primary {
    border-color: #fb7185;
    color: #9a3412;
    background: #fff7ed;
}

.promo-deal-action .btn-outline-primary:hover {
    background: #fed7aa;
    color: #7c2d12;
}

/* BxGy gift selector on product detail: hide radio and show green tick on selected card */
.promo-bxgy-gift-option {
    display: block;
}

.promo-bxgy-gift-option input.promo-choice-input-bxgy {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.promo-bxgy-gift-card {
    position: relative;
}

.promo-bxgy-gift-option.is-selected .promo-bxgy-gift-card::after {
    content: "\2713";
    position: absolute;
    top: 6px;
    right: 8px;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #22c55e;
    color: #ffffff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 2px #ffffff;
}

.promo-deal-action .btn-primary {
    background: linear-gradient(135deg, #f97316, #ef4444);
    border-color: transparent;
}

.promo-deal-action .btn-primary:hover {
    background: linear-gradient(135deg, #ea580c, #dc2626);
}

/* NhÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â³m quÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â  tÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â·ng theo tÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â«ng mÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â©c hoÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¾ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¹ÃƒÆ’Ã¢â‚¬Â¦ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡n (list ngang mÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Âi mÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â©c) */
.promo-gift-tier {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 4px;
}

.promo-gift-tier-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: #292827d6;
    opacity: 0.9;
}

.promo-gift-tier-grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow: visible;
}

@media (max-width: 576px) {
    #promoSection.promo-deal-block {
        gap: 6px;
    }

    .promo-deal-name {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .promo-deal-meta {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }
}

/* PRODUCT FOOTER SUMMARY CARD */
.product-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    background: transparent;
    border-top: none;
    padding: 8px 0;
    display: none;
}

.product-footer.show {
    display: block;
}

.product-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 0 auto 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(var(--theme-primary-rgb), 0.08);
    padding: 12px 24px;
    max-width: 1200px;
    box-sizing: border-box;
}

.product-footer-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
    margin-left: 0;
}

.product-footer-thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    flex-shrink: 0;
}

.product-footer-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-footer-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.product-footer-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-footer-meta-line {
    font-size: 0.78rem;
    color: #64748b;
    display: flex;
    align-items: center;
    width: 100%;
}

.pf-meta-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 0 1 auto;
}

.pf-meta-specs {
    white-space: nowrap;
    flex: 0 0 auto;
}

.product-footer-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.product-footer-price-box {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.2;
}

.product-footer-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--theme-primary);
}

.product-footer-price-original {
    font-size: 0.8rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.product-footer-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
}

/* 1. Mua Ngay button (solid brand primary green) */
.product-footer-buttons .btn-buy-now {
    background: var(--theme-primary);
    color: var(--theme-primary-contrast, #ffffff);
    border: none;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 9px 24px;
    border-radius: 10px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(var(--theme-primary-rgb), 0.15);
    cursor: pointer;
}

.product-footer-buttons .btn-buy-now:hover {
    filter: brightness(0.9);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(var(--theme-primary-rgb), 0.25);
}

/* 2. Add to Cart button (outline brand primary green with icon) */
.product-footer-buttons .btn-add-cart {
    background: #ffffff;
    color: var(--theme-primary);
    border: 1px solid var(--theme-primary);
    font-size: 1.1rem;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 0;
    transition: all 0.2s ease;
    cursor: pointer;
}

.product-footer-buttons .btn-add-cart:hover {
    background: rgba(var(--theme-primary-rgb), 0.05);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .product-footer-inner {
        margin: 0 auto 5px;
        width: calc(100% - 20px);
        padding: 10px 15px;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        border-radius: 14px;
    }

    .product-footer-meta {
        flex: none;
        width: 100%;
        margin-left: 0;
    }

    .product-footer-right {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }

    .product-footer-price-box {
        align-items: flex-start;
    }

    .product-footer-price {
        font-size: 1rem;
    }

    .product-footer-buttons {
        gap: 6px;
    }

    .product-footer-buttons .btn-buy-now {
        padding: 8px 16px;
        font-size: 0.78rem;
    }

    .product-footer-buttons .btn-add-cart {
        width: 34px;
        height: 34px;
        font-size: 0.95rem;
    }
}

.overview-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.overview-content a {
    color: var(--theme-primary);
    font-weight: 600;
    text-decoration: underline;
}

.search-highlight {
    background: rgba(var(--theme-primary-rgb), 0.2);
    color: #0f172a;
    padding: 0 0.12em;
    border-radius: 4px;
}

.overview-sub {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed #e2e8f0;
}

.overview-sub h6 {
    margin: 0 0 6px;
    font-size: 0.86rem;
    font-weight: 800;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    padding: 10px 12px;
}

.faq-q {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.faq-a {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.6;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table th,
.spec-table td {
    padding: 10px 8px;
    border-top: 1px solid #e2e8f0;
    vertical-align: top;
    font-size: 0.86rem;
}

.spec-table th {
    width: 42%;
    color: #333;
    font-weight: 700;
    background: #f8fafc;
}

.spec-table td {
    color: #0f172a;
    white-space: pre-line;
}

.spec-table tr:first-child th,
.spec-table tr:first-child td {
    border-top: none;
}

@media (max-width: 768px) {
    .product-card-header {
        margin-left: 10px;
        margin-right: 10px;
    }

    .detail-panels {
        grid-template-columns: 1fr;
    }

    .detail-card {
        padding: 16px;
    }

    .block-rate {
        grid-template-columns: 1fr;
    }

    .comments-form-grid {
        grid-template-columns: 1fr;
    }

    .media-gallery {
        position: static;
        top: auto;
    }

    .gallery-thumb {
        width: 86px;
        height: 86px;
        min-width: 86px;
        min-height: 86px;
        aspect-ratio: 1/1;
    }
}

/* Layout giÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â hÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â ng dÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ng thÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â», tÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¹ÃƒÆ’Ã¢â‚¬Â¦ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œi ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â°u cho mobile */
.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
    gap: 12px;
    align-items: flex-start;
}

@media (max-width: 992px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
}

.cart-items-list {
    flex-direction: column;
    gap: 10px;
}

.cart-item.product-card-cart {
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .06);
    margin-bottom: 10px;
}

.checkbox-container {
    flex-shrink: 0;
    padding-top: 8px;
}

.product-img {
    width: 102px;
    height: 102px;
    border-radius: 10px;
    object-fit: scale-down;
    flex-shrink: 0;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.cart-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    margin-bottom: 2px;
    word-break: break-word;
}

.variant-selector {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    padding: 4px 8px;
    font-size: 0.78rem;
    color: #475569;
    background: #f8fafc;
    width: max-content;
    max-width: 100%;
    margin-top: 2px;
    cursor: pointer;
    position: relative;
}

.variant-selector span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.variant-selector i {
    font-size: 0.8rem;
    color: #94a3b8;
    transition: transform 0.15s ease;
}

.variant-selector.is-open i {
    transform: rotate(180deg);
}

/* BXGY gift selector pill (chÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Ân quÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â ) */
.bxgy-selector {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px dashed #bbf7d0;
    background: #f0fdf4;
    cursor: pointer;
    width: 100%;
    margin-top: 6px;
    max-width: 100%;
    min-width: 100%;
}

.bxgy-selector-thumb {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    overflow: hidden;
    background: #dcfce7;
    border: 1px solid #bbf7d0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.bxgy-selector-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bxgy-selector-main {
    flex: 1;
    min-width: 0;
}

.bxgy-selector-title {
    font-size: 0.7rem;
    font-weight: 600;
    color: #16a34a;
    line-height: 1.2;
}

.bxgy-selector-current {
    font-size: 0.78rem;
    color: #0f172a;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bxgy-selector i {
    font-size: 0.8rem;
    color: #22c55e;
    transition: transform 0.15s ease;
}

.bxgy-selector.is-open i {
    transform: rotate(180deg);
}

.cart-color-text {
    font-size: 0.7rem;
    line-height: 1.2;
    color: #64748b;
    text-align: left;
}

.product-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 4px;
}

.cart-price {
    font-size: 0.8rem;
    font-weight: 800;
    color: #ef3c2d;
}

.cart-stepper {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    border-radius: 999px;
    padding: 3px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.cart-stepper:focus-within {
    background: #ffffff;
    border-color: var(--theme-primary);
    box-shadow: 0 0 0 3px rgba(var(--theme-primary-rgb), 0.1);
}

.cart-stepper .stepper-btn {
    border: none;
    background: #ffffff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.cart-stepper .stepper-btn:hover {
    background: var(--theme-primary);
    color: #ffffff;
}

.cart-stepper .stepper-btn:active {
    transform: scale(0.95);
}

.cart-stepper .stepper-input {
    width: 38px;
    height: 28px;
    border: none !important;
    background: transparent !important;
    text-align: center;
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    padding: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    -moz-appearance: textfield;
}

.cart-stepper .stepper-input::-webkit-outer-spin-button,
.cart-stepper .stepper-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-stepper .stepper-input:focus {
    outline: none;
    box-shadow: none;
}

.cart-item-gift {
    background: #f0fdf4;
    border-color: #bbf7d0;
    padding: 10px;
}

.cart-item-gift .variant-selector {
    opacity: 0.95;
    cursor: pointer;
    pointer-events: auto;
}

.variant-dropdown {
    position: absolute;
    z-index: 1050;
    min-width: 220px;
    max-width: 320px;
    max-height: 260px;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
    padding: 4px 0;
}

.variant-dropdown-body {
    padding: 2px 0;
}

.variant-dropdown .cart-variant-option {
    border: 0;
    background: transparent;
    width: 100%;
    text-align: left;
    padding: 6px 14px;
    font-size: 0.68rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.variant-dropdown .cart-variant-option:hover {
    background: #f1f5f9;
}

@media (max-width: 576px) {
    .cart-item.product-card {
        padding: 9px 10px;
    }

    .cart-title {
        font-size: 0.88rem;
    }

    .variant-selector span {
        max-width: 140px;
    }
}

.vs-voucher-line {
    display: inline-flex;
    align-items: center;
}

.vs-voucher-sep {
    opacity: 0.5;
    font-size: 0.8rem;
}

/* ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¾ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂiÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Âu chÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â°nh sticky cart action buttons cho mobile */
.cart-sticky .vs-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.cart-sticky .vs-left .vs-checkbox-container {
    margin-right: 4px;
}

@media (max-width: 576px) {
    .cart-sticky .cart-sticky-inner {
        flex-wrap: wrap;
        row-gap: 4px;
    }

    .cart-sticky .vs-left,
    .cart-sticky .vs-right {
        justify-content: space-between;
    }
}

.variant-dropdown .bxgy-option {
    border: 0;
    background: transparent;
    width: 100%;
    text-align: left;
    padding: 6px 14px;
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.variant-dropdown .bxgy-option:hover {
    background: #f1f5f9;
}

/* KM picker UI ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¾ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¹ÃƒÆ’Ã¢â‚¬Â¦ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â°ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â£c tÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡i sÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â­ dÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¥ng tÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â« admin product-edit */
.km-picker {
    border: 1px solid #e4e6ea;
    border-radius: 14px;
    padding: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.km-picker-header {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-start;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid #e4e6ea;
    border-radius: 12px;
    padding: 8px 10px;
}

.km-picker-note {
    font-size: 0.85rem;
    color: #64748b;
}

.km-filter-count {
    font-size: 0.8rem;
    color: #64748b;
}

.km-load-more {
    align-self: center;
    margin-top: 8px;
}

.km-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
    max-height: 360px;
    overflow: auto;
    padding: 6px;
}

.km-chip {
    border: 1px solid #e4e6ea;
    border-radius: 16px;
    padding: 10px 12px;
    /*display: flex;*/
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    cursor: pointer;
    transition: all 0.15s ease;
    background: #fff;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
    position: relative;
}

.km-chip:hover {
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
    transform: translateY(-1px);
}

.km-chip-selected {
    border-color: #2563eb;
    box-shadow:
        0 0 0 1px rgba(37, 99, 235, 0.6),
        0 10px 24px rgba(15, 23, 42, 0.18);
}

.km-chip .km-swatch {
    width: 100%;
    height: 72px;
    border-radius: 12px;
    border: 2px solid rgba(15, 23, 42, 0.08);
    box-shadow: inset 0 0 10px rgba(15, 23, 42, 0.18);
}

.km-chip .km-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    width: 100%;
}

.km-chip .km-name {
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.km-chip .km-code {
    font-size: 0.78rem;
    color: #6b7280;
}

.km-chip .km-tag {
    align-self: flex-end;
    font-size: 0.72rem;
    border: 1px solid #e4e6ea;
    padding: 3px 8px;
    border-radius: 999px;
    background: #fff;
    color: #6b7280;
    white-space: nowrap;
}

.km-chip .km-tag {
    align-self: flex-end;
    font-size: 0.72rem;
    border: 1px solid #e4e6ea;
    padding: 3px 8px;
    border-radius: 999px;
    background: #fff;
    color: #6b7280;
    white-space: nowrap;
}

.color-swatch {
    position: relative;
}

.swatch-check {
    position: absolute;
    top: 2px;
    right: 2px;
    z-index: 2;
    font-size: 1.2em;
    pointer-events: none;
}

a.product-card {
    position: relative;
    display: block;
    overflow: hidden;
}

.product-card-actions {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
}

.product-card-actions .product-card-add-cart {
    z-index: 1;
}

a.product-card:hover .product-card-actions {
    opacity: 1;
    visibility: visible;
}

.shopping-product-card {
    width: 100%;
    background: #fff;
    position: relative;
    border: 1px solid transparent;
    transition: all 0.1s ease-in-out;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.shopping-product-card:hover {
    border-color: var(--theme-primary);
    z-index: 10;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.shopping-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    background: var(--bs-body-bg);
}

.shopping-img-wrapper img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge-discount {
    position: absolute;
    top: 0;
    right: 0;
    background: #f5e9f2;
    color: #ff190bcf;
    border: 1px solid #f5e9f2;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 6px;
    z-index: 2;
    margin: 0;
    border-bottom-left-radius: 10px;
}

/* Pill freeship 1 dòng gọn, có icon — đặt góc dưới-trái ảnh sản phẩm.
   Nhãn ngắn (vd "Ship -10%") nên hiện trọn, không cắt cụt mất đơn vị. */
.badge-voucher {
    position: absolute;
    bottom: 6px;
    left: 6px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: #fffc37;
    color: var(--theme-primary);
    font-weight: 700;
    font-size: 10px;
    line-height: 1;
    padding: 3px 7px;
    z-index: 2;
    border-radius: 999px;
    max-width: calc(100% - 12px);
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.badge-voucher i {
    font-size: 11px;
    line-height: 1;
    flex: 0 0 auto;
}

.badge-voucher .bv-text {
    overflow: hidden;
    text-overflow: ellipsis;
}

.shopping-product-content {
    padding: 8px;
}

.shopping-product-title {
    font-size: 13px;
    line-height: 16px;
    height: 32px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    margin-bottom: 8px;
}

.shopping-product-category {
    background: var(--theme-primary);
    color: #fff;
    font-size: 10px;
    padding: 0 4px;
    border-radius: 2px;
    margin-right: 4px;
    display: inline-block;
    vertical-align: middle;
}

.badge-promo {
    border: 1px solid var(--theme-primary);
    color: var(--theme-primary);
    font-size: 10px;
    padding: 0 4px;
    display: inline-block;
    margin-bottom: 8px;
    border-radius: 2px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sp-price {
    color: red;
    font-size: 16px;
    font-weight: 500;
}

.sp-old-price {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.54);
    text-decoration: line-through;
    margin-left: 6px;
}

.sp-sold {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.54);
}

.sp-rating {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.54);
    display: flex;
    align-items: center;
    gap: 6px;
}

.sp-stars {
    display: inline-flex;
    gap: 1px;
    line-height: 1;
}

.sp-stars i {
    font-size: 11px;
}

.sp-stars .is-on {
    color: #f59e0b;
}

.sp-stars .is-off {
    color: rgba(0, 0, 0, 0.18);
}

.add-cart-btn {
    display: none;
    position: absolute;
    width: calc(100% + 2px);
    left: -1px;
    bottom: -34px;
    background: var(--theme-primary);
    color: #fff;
    text-align: center;
    padding: 6px 0;
    font-size: 14px;
    z-index: 11;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.shopping-product-card:hover .add-cart-btn {
    display: block;
}

/* skeleton */
.shopping-product-card.is-skeleton {
    cursor: default;
}

.shopping-product-card.is-skeleton:hover {
    border-color: transparent;
    box-shadow: none;
    transform: none;
}

.shopping-skeleton {
    background: linear-gradient(90deg, #eef2f7 25%, #f8fafc 37%, #eef2f7 63%);
    background-size: 400% 100%;
    animation: shopping-skeleton 1.2s ease-in-out infinite;
    border-radius: 8px;
}

@keyframes shopping-skeleton {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: 0 0;
    }
}

/* --- PRODUCT DETAIL LAYOUT --- */
.product-detail-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.layout-left {
    flex: 0 0 calc(58.333333% - 10px);
    max-width: calc(58.333333% - 10px);
}

.layout-right {
    flex: 0 0 calc(41.666667% - 10px);
    max-width: calc(41.666667% - 10px);
}

@media (min-width: 992px) {
    .layout-left {
        position: sticky;
        top: 80px;
        height: fit-content;
    }

    .gallery-thumb-section {
        height: 500px;
        overflow-y: auto;
        padding-right: 5px;
    }
}

@media (max-width: 991px) {
    .product-detail-layout {
        display: flex;
        flex-direction: column;
    }

    .layout-left,
    .layout-right {
        flex: 0 0 100%;
        max-width: 100%;
        display: contents;
    }

    .gallery-wraps {
        order: 1;
    }

    .product-info-stack {
        order: 2;
    }

    .spec-table-card {
        order: 3;
    }

    .tabs-card {
        order: 4;
    }

    .product-comment {
        order: 5;
    }

    .promo-sections-wrapper {
        order: 6;
    }

    .related-products-card-wrapper {
        order: 7;
    }

    .gallery-thumb-section {
        max-height: 100px;
        overflow-x: auto;
        overflow-y: hidden;
        margin-top: 10px;
    }

    .gallery-thumb-row {
        display: flex;
        flex-direction: row !important;
        gap: 10px;
    }
}

.gallery-thumb-section::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

.gallery-thumb-section::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

/* Refined 7:4 layout for product detail */
@media (min-width: 992px) {
    .product-detail-layout {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 0;
    }

    .layout-left {
        flex: 0 0 58.333333% !important;
        max-width: 58.333333% !important;
    }

    .layout-right {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
    }
}

/* Strict 7:4 layout refinement */
@media (min-width: 992px) {
    .product-detail-layout {
        display: flex !important;
        justify-content: space-between !important;
        gap: 0 !important;
    }

    .layout-left {
        flex: 0 0 58.333333% !important;
        max-width: 58.333333% !important;
    }

    .layout-right {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
    }
}

@media (max-width: 991px) {

    .layout-left,
    .layout-right {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Remove interleaving order */
    .gallery-wraps,
    .product-info-stack,
    .spec-table-card,
    .tabs-card,
    .product-comment,
    .promo-sections-wrapper,
    .related-products-card-wrapper {
        order: unset !important;
    }
}

/* Table of Contents (ToC) - Premium Redesign */
.toc-box {
    background: #fdfdfd;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    margin-bottom: 30px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
    max-width: 100%;
}

.toc-header {
    background: #f8f9fa;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    border-bottom: 1px solid #f1f3f5;
    transition: background 0.2s;
}

.toc-header:hover {
    background: #f1f3f5;
}

.toc-title {
    font-weight: 700;
    color: #212529;
    font-size: 1rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toc-title i {
    color: var(--theme-primary);
    font-size: 1.1rem;
}

.toc-toggle-icon {
    font-size: 0.9rem;
    color: #adb5bd;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toc-box.is-collapsed .toc-toggle-icon {
    transform: rotate(-180deg);
}

.toc-body {
    padding: 20px;
    background: #fff;
}

.toc-box.is-collapsed .toc-body {
    display: none;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: toc-counter;
}

.toc-item {
    margin-bottom: 12px;
    line-height: 1.5;
    position: relative;
}

.toc-item:last-child {
    margin-bottom: 0;
}

.toc-link {
    color: #495057;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline;
}

.toc-link:hover {
    color: var(--theme-primary);
    text-decoration: none;
    padding-left: 4px;
}

.toc-list-h2>.toc-item::before {
    counter-increment: toc-counter;
    content: counter(toc-counter) ".";
    font-weight: 800;
    color: var(--theme-primary);
    margin-right: 10px;
    font-family: var(--bs-font-sans-serif);
    display: inline-block;
    width: 18px;
}

.toc-list-h3 {
    margin-top: 10px;
    padding-left: 28px;
    counter-reset: toc-sub-counter;
    border-left: 2px solid #f1f3f5;
    margin-left: 8px;
}

.toc-list-h3>.toc-item {
    margin-bottom: 8px;
}

.toc-list-h3>.toc-item::before {
    counter-increment: toc-sub-counter;
    content: counter(toc-counter) "." counter(toc-sub-counter) ". ";
    font-size: 0.85rem;
    font-weight: 600;
    color: #adb5bd;
    margin-right: 8px;
}

.toc-item.is-h3 .toc-link {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 400;
}

.toc-item.is-h3 .toc-link:hover {
    color: var(--theme-primary);
}

/* FAVORITE BUTTON STYLES */
.btn-favorite-pro {
    background: #fff;
    border: 1px solid var(--order-border);
    border-radius: 12px;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    color: var(--order-muted);
    z-index: 5;
}

.btn-favorite-pro.floating-fav {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    height: auto;
    width: auto;
    min-width: 48px;
    border-radius: 100px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-favorite-pro.floating-fav:hover {
    background: #ffffff;
    transform: translateY(-1px) scale(1.05);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.2);
}

.btn-favorite-pro.active {
    background: #ffffff;
    border: 1px solid #fecaca;
    color: #ef4444;
}

.btn-favorite-pro i {
    font-size: 1rem;
    /* Thu nhÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â icon */
    color: #64748b;
    transition: all 0.3s ease;
}

.btn-favorite-pro.active i {
    color: #ef4444;
    animation: pulse-heart 0.5s ease-in-out;
}

.btn-favorite-pro.active i::before {
    content: "\F415";
    /* bi-heart-fill */
}

#idFavoriteCount {
    font-weight: 700;
    font-size: 0.8rem;
    /* Thu nhÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â text count */
    color: #334155;
    transition: color 0.3s ease;
}

.btn-favorite-pro.active #idFavoriteCount {
    color: #ef4444;
}

@keyframes pulse-heart {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

.btn-fav-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 4px 8px;
    border-radius: 6px;
    background: #f8fafc;
}

.btn-fav-item:hover {
    color: #ef4444;
    background: #fef2f2;
}

.btn-fav-item.active {
    color: #ef4444;
    background: #fef2f2;
}

.btn-fav-item.active i::before {
    content: "\F415";
    /* bi-heart-fill */
}

.btn-fav-item i {
    font-size: 0.95rem;
    line-height: 1;
}

.btn-fav-item .fav-text {
    white-space: nowrap;
}

/* FEATURE BADGES */
.feature-badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 5px;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: #f8fafc;
    color: #475569;
    border-radius: 0px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.feature-badge:hover {
    background: #ffffff;
    color: var(--theme-primary);
    border-color: var(--theme-primary-light, #cbd5e1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* SIMPLE FAQ */
.faq-simple-item {
    padding: 15px 0;
    border-bottom: 1px solid #f1f5f9;
}

.faq-simple-item:last-child {
    border-bottom: none;
}

.faq-q {
    font-size: 0.95rem;
    color: #1e293b;
    margin-bottom: 8px;
    display: flex;
    gap: 10px;
}

.faq-q i {
    color: var(--theme-primary);
    font-size: 1.1rem;
}

.faq-a {
    font-size: 0.9rem;
    color: #64748b;
    padding-left: 28px;
    line-height: 1.6;
}

/* PRODUCT VIEW UTILITIES */
.scroll-x-mobile {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 5px;
}

.scroll-x-mobile::-webkit-scrollbar {
    display: none;
}

.scroll-x-mobile .btn {
    flex-shrink: 0;
}

.w-15 {
    width: 15%;
}

.w-10 {
    width: 10%;
}

.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


.notify-fb-shell {
    display: grid;
    gap: 10px;
}

/* Cho phÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â©p nÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¾ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢i dung sidebar bÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Âªn phÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â£i cuÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¾ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢n khi dÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â i hÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡n mÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â n hÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬nh */
.fb-sidebar-right .sidebar-content {
    max-height: 80vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.notify-fb-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.notify-fb-tools {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.notify-fb-filter {
    display: inline-flex;
    gap: 6px;
}

.notify-fb-pill {
    border: 0;
    border-radius: 999px;
    padding: 6px 11px;
    font-size: .74rem;
    font-weight: 700;
    line-height: 1;
    color: #334155;
    background: #e2e8f0;
}

.notify-fb-pill.is-active {
    color: #fff;
    background: var(--theme-primary, #1877f2);
}

.notify-fb-list {
    display: grid;
    gap: 8px;
}

.notify-fb-card {
    border: 1px solid #dbe7f3;
    border-radius: 14px;
    background: #fff;
    padding: 10px;
    cursor: pointer;
    transition: background-color .16s ease, border-color .16s ease;
    display: grid;
    gap: 8px;
}

.notify-fb-card:hover {
    background: #f8fbff;
    border-color: rgba(var(--theme-primary-rgb), .3);
}

.notify-fb-card.is-unread {
    background: rgba(var(--theme-primary-rgb), .08);
    border-color: rgba(var(--theme-primary-rgb), .35);
}

.notify-fb-card.type-order {
    border-left: 4px solid #f97316;
}

.notify-fb-card.type-payment {
    border-left: 4px solid #0ea5e9;
}

.notify-fb-card.type-security {
    border-left: 4px solid #ef4444;
}

.notify-fb-card.type-account {
    border-left: 4px solid #6366f1;
}

.notify-fb-card.type-system {
    border-left: 4px solid #0f766e;
}

.notify-fb-card.type-promotion {
    border-left: 4px solid #ca8a04;
}

.notify-fb-card.type-complaint {
    border-left: 4px solid #7c3aed;
}

.notify-fb-card.type-info {
    border-left: 4px solid #2563eb;
}

.notify-fb-card.type-order .notify-fb-dot {
    background: #f97316;
}

.notify-fb-card.type-payment .notify-fb-dot {
    background: #0ea5e9;
}

.notify-fb-card.type-security .notify-fb-dot {
    background: #ef4444;
}

.notify-fb-card.type-account .notify-fb-dot {
    background: #6366f1;
}

.notify-fb-card.type-system .notify-fb-dot {
    background: #0f766e;
}

.notify-fb-card.type-promotion .notify-fb-dot {
    background: #ca8a04;
}

.notify-fb-card.type-complaint .notify-fb-dot {
    background: #7c3aed;
}

.notify-fb-card.type-info .notify-fb-dot {
    background: #2563eb;
}

.notify-fb-main {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 10px;
    align-items: start;
    min-width: 0;
}

.notify-fb-avatar {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid #dbe5f0;
    background: #f8fafc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-size: 1rem;
}

.notify-fb-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.notify-fb-body {
    min-width: 0;
}

.notify-fb-title {
    font-size: .83rem;
    font-weight: 800;
    line-height: 1.35;
    color: #0f172a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notify-fb-sub {
    margin-top: 2px;
    font-size: .76rem;
    color: #0ea5e9;
    font-weight: 600;
    line-height: 1.35;
}

.notify-fb-meta {
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.notify-fb-time {
    font-size: .74rem;
    color: #64748b;
    font-weight: 600;
}

.notify-fb-comments {
    font-size: .74rem;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.notify-fb-comments i {
    font-size: .8rem;
}

.notify-fb-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--theme-primary, #1877f2);
}

.notify-fb-card:not(.is-unread) .notify-fb-dot {
    opacity: 0;
}

.notify-fb-text {
    margin-top: 3px;
    font-size: .78rem;
    color: #475569;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notify-fb-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-left: 62px;
}

.notify-fb-gallery.is-cover {
    grid-template-columns: 1fr;
}

.notify-fb-gallery img {
    width: 100%;
    height: 66px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #dbe5f0;
    display: block;
}

.notify-fb-gallery.is-cover img {
    height: 86px;
}

.notify-fb-foot {
    margin-top: 2px;
    border-top: 1px solid #e6eef7;
    padding-top: 10px;
}

.notify-fb-viewall {
    width: 100%;
    border-radius: 10px;
    font-weight: 700;
}

.notify-fb-empty {
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    color: #64748b;
    font-size: .8rem;
    background: #fff;
}

/* skeleton-line */
.notify-fb-skeleton {
    display: grid;
    gap: 8px;
}

.notify-fb-skel-card {
    border: 1px solid #dbe7f3;
    border-radius: 14px;
    background: #fff;
    padding: 10px;
    display: grid;
    gap: 8px;
}

.notify-fb-skel-main {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 10px;
    align-items: start;
}

.notify-fb-skel-avatar {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

/*
.skeleton-line {
    height: 10px;
    border-radius: 8px;
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 37%, #e2e8f0 63%);
    background-size: 400% 100%;
    animation: notifyShimmer 1.2s ease-in-out infinite;
}
*/
.skeleton-line.w-80 {
    width: 80%;
}

.skeleton-line.w-60 {
    width: 60%;
}

.skeleton-line.w-40 {
    width: 40%;
}

@keyframes notifyShimmer {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: 0 0;
    }
}

/* VIEW ORDER DETAIL PAGE STYLES */
.view-order-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Custom order-card class removed, using Bootstrap native card system */

.order-thumb {
    width: 100%;
    max-width: 80px;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.order-thumb:hover {
    transform: scale(1.05);
}

.breadcrumb-wrapper {
    background: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--order-border, #e5e7eb);
    margin-bottom: 1.5rem;
}

.breadcrumb-wrapper .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.breadcrumb-wrapper .breadcrumb-item {
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.breadcrumb-wrapper .breadcrumb-item a {
    color: #64748b;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.breadcrumb-wrapper .breadcrumb-item a:hover {
    color: var(--theme-primary, #0c4c29);
}

.breadcrumb-wrapper .breadcrumb-item+.breadcrumb-item::before {
    float: left;
    padding-right: 0.5rem !important;
    padding-left: 0.25rem !important;
    color: #94a3b8 !important;
    content: "\F285" !important;
    font-family: "bootstrap-icons" !important;
    font-size: 0.7rem !important;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 50rem;
}

.status-pill.status-pending {
    background: #fef3c7;
    color: #d97706;
}

.status-pill.status-processing {
    background: #dbeafe;
    color: #2563eb;
}

.status-pill.status-shipping {
    background: #e0f2fe;
    color: #0369a1;
}

.status-pill.status-delivered {
    background: #dcfce7;
    color: #15803d;
}

.status-pill.status-canceled {
    background: #fee2e2;
    color: #b91c1c;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.65rem 0;
    font-size: 0.925rem;
    color: #475569;
    border-bottom: 1px dashed #f1f5f9;
}

.summary-row:last-of-type {
    border-bottom: none;
}

.summary-total {
    border-top: 2px solid #f1f5f9;
    margin-top: 0.75rem;
    padding-top: 1rem;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--order-danger, #dc2626);
}

.copy-btn {
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 8px;
    color: var(--order-primary, #2563eb);
    background: rgba(37, 99, 235, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.1);
    cursor: pointer;
    transition: all 0.2s;
}

.copy-btn:hover {
    background: var(--order-primary, #2563eb);
    color: #fff;
}

.timeline-node {
    position: relative;
    padding-left: 2rem;
    padding-bottom: 1.5rem;
}

.timeline-node:last-child {
    padding-bottom: 0;
}

.timeline-node::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 18px;
    bottom: -6px;
    width: 2px;
    background: #e2e8f0;
}

.timeline-node:last-child::before {
    display: none;
}

.timeline-node::after {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 12px;
    height: 12px;
    background: #cbd5e1;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(203, 213, 225, 0.2);
}

.timeline-node.active::after {
    background: var(--order-success, #059669);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

/* ===== Order Change Page (admin/order-change.php) ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¾ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¹Ãƒâ€¦Ã¢â‚¬Å“ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œng bÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¾ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ phong cÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ch view-order, dÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¹ng biÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¿n hÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ thÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¹Ãƒâ€¦Ã¢â‚¬Å“ng ===== */
.order-change-container {
    background-color: var(--order-bg, #f8fafc);
}

.oc-page-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--order-dark, #0f172a);
}

/* Icon trÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â²n trong header card */
.card-header .oc-head-icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: .9rem;
}

/* NhÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â£n field nhÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â */
.oc-label {
    display: block;
    font-size: .76rem;
    font-weight: 700;
    color: var(--order-muted, #64748b);
    margin-bottom: 4px;
}

/* HÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¾ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢p thÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â´ng tin (mÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â£ vÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â­n ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¾ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¹Ãƒâ€¦Ã¢â‚¬Å“ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡n, trÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ng thÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡i giao...) */
.oc-info-box {
    border: 1px solid var(--order-border, #e5e7eb);
    border-radius: 10px;
    padding: 10px 12px;
    background: var(--order-bg, #f8fafc);
    height: 100%;
}

/* Sidebar dÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â­nh khi cuÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¾ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢n */
.oc-sidebar-sticky {
    position: sticky;
    top: 16px;
}

/* Tabs (HÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â nh trÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬nh / HÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â³a ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¾ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¹Ãƒâ€¦Ã¢â‚¬Å“ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡n / ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¾ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡nh giÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ / LÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¹ch sÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â­) */
.oc-tabs.nav-tabs {
    border-bottom: 2px solid #e2e8f0;
    padding: 0 8px;
    gap: 0;
    background: transparent;
}

.oc-tabs.nav-tabs .nav-item {
    margin-bottom: -2px;
}

.oc-tabs.nav-tabs .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    color: var(--order-muted, #64748b);
    font-size: .8rem;
    font-weight: 600;
    padding: 10px 6px;
    margin-bottom: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.15s ease-in-out;
    background: transparent;
    width: 100%;
}

.oc-tabs.nav-tabs .nav-link:hover {
    color: var(--theme-primary, #0c4c29);
    border-bottom-color: #cbd5e1;
    background: transparent;
}

.oc-tabs.nav-tabs .nav-link.active {
    color: var(--theme-primary, #0c4c29);
    background: transparent;
    border: none !important;
    border-bottom: 2px solid var(--theme-primary, #0c4c29) !important;
    box-shadow: none;
}

.status-action {
    font-size: 0.85rem;
    border-radius: 10px !important;
}

@media (max-width: 991.98px) {
    .oc-sidebar-sticky {
        position: static;
    }

    .oc-page-title {
        font-size: 1.35rem;
    }
}

/* ===== Order List Page (order.php) ===== */
#orderListPage {
    background-color: var(--fb-bg, #f8fafc);
    min-height: 100vh;
    color: var(--fb-text, #0f172a);
    font-family: var(--theme-font, inherit);
}

.header-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-icon:hover {
    transform: scale(1.08) rotate(3deg);
    background-color: rgba(12, 76, 41, 0.12) !important;
    border-color: rgba(12, 76, 41, 0.25) !important;
}

/* Summary Cards Grid */
#summaryGrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 576px) {
    #summaryGrid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    #summaryGrid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.summary-card {
    border: 1px solid var(--order-border, #e2e8f0) !important;
    border-radius: 12px !important;
    padding: 10px 14px !important;
    background: #fff !important;
    cursor: pointer;
    min-height: 68px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.summary-card:hover {
    border-color: rgba(12, 76, 41, 0.3) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05) !important;
}

.summary-card strong {
    display: block !important;
    font-size: 1.25rem !important;
    color: #0f172a !important;
    line-height: 1.1 !important;
    font-weight: 700 !important;
}

.summary-card span {
    font-size: 0.8rem !important;
    color: #64748b !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.summary-card .summary-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.summary-card .summary-icon i {
    font-size: 0.95rem !important;
}

/* Active summary card */
.summary-card.active {
    border-color: var(--theme-primary, #0c4c29) !important;
    background-color: rgba(12, 76, 41, 0.04) !important;
    box-shadow: 0 4px 12px rgba(12, 76, 41, 0.08) !important;
}

.summary-card.active strong {
    color: var(--theme-primary, #0c4c29) !important;
}

.summary-card.active span {
    color: var(--theme-primary, #0c4c29) !important;
}

/* Summary card status colors */
.summary-card[data-status="all"] .summary-icon {
    background-color: #f1f5f9;
    color: #475569;
}

.summary-card.active[data-status="all"] .summary-icon {
    background-color: var(--theme-primary, #0c4c29) !important;
    color: #fff !important;
}

.summary-card[data-status="pending"] .summary-icon {
    background-color: #fff7ed;
    color: #ea580c;
}

.summary-card.active[data-status="pending"] .summary-icon {
    background-color: #ea580c !important;
    color: #fff !important;
}

.summary-card[data-status="processing"] .summary-icon {
    background-color: #eff6ff;
    color: #2563eb;
}

.summary-card.active[data-status="processing"] .summary-icon {
    background-color: #2563eb !important;
    color: #fff !important;
}

.summary-card[data-status="shipping"] .summary-icon {
    background-color: #faf5ff;
    color: #7e22ce;
}

.summary-card.active[data-status="shipping"] .summary-icon {
    background-color: #7e22ce !important;
    color: #fff !important;
}

.summary-card[data-status="delivered"] .summary-icon {
    background-color: #f0fdf4;
    color: #16a34a;
}

.summary-card.active[data-status="delivered"] .summary-icon {
    background-color: #16a34a !important;
    color: #fff !important;
}

.summary-card[data-status="return_requested"] .summary-icon {
    background-color: #fdf2f8;
    color: #db2777;
}

.summary-card.active[data-status="return_requested"] .summary-icon {
    background-color: #db2777 !important;
    color: #fff !important;
}

.summary-card[data-status="returned"] .summary-icon {
    background-color: #f1f5f9;
    color: #475569;
}

.summary-card.active[data-status="returned"] .summary-icon {
    background-color: #475569 !important;
    color: #fff !important;
}

.summary-card[data-status="canceled"] .summary-icon {
    background-color: #fef2f2;
    color: #dc2626;
}

.summary-card.active[data-status="canceled"] .summary-icon {
    background-color: #dc2626 !important;
    color: #fff !important;
}

/* Desktop/Mobile visibility */
@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }
}

@media (min-width: 769px) {
    .desktop-only {
        display: block !important;
    }

    .mobile-only {
        display: none !important;
    }
}

/* Overlapping Thumbnails */
.order-thumbnails-group {
    display: flex;
    align-items: center;
}

.order-thumbnail-item {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #fff;
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(15, 23, 42, 0.08);
    margin-left: -10px;
    background: #f8fafc;
    transition: transform 0.2s ease, z-index 0.2s ease;
}

.order-thumbnail-item:first-child {
    margin-left: 0;
}

.order-thumbnail-item:hover {
    transform: translateY(-2px) scale(1.05);
    z-index: 10;
}

.order-thumbnail-more {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: var(--theme-primary-soft, #e6f0eb);
    color: var(--theme-primary, #0c4c29);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(15, 23, 42, 0.08);
    margin-left: -10px;
    z-index: 1;
}

/* Table layout */
.fb-table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.fb-table {
    font-size: 0.875rem;
}

.fb-table thead th {
    background: #f8fafc;
    text-transform: uppercase;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #64748b;
    padding: 1rem 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.fb-table tbody td {
    padding: 1rem 0.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.fb-table tbody tr:hover {
    background-color: #f8fafc;
}

/* Status pills */
.status-pill {
    padding: 0.35rem 0.75rem;
    border-radius: 2rem;
    font-weight: 700;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.status-pending {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #ffedd5;
}

.status-processing {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #dbeafe;
}

.status-shipping {
    background: #faf5ff;
    color: #7e22ce;
    border: 1px solid #f3e8ff;
}

.status-delivered {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #dcfce7;
}

.status-canceled {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fee2e2;
}

.status-returned {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

/* Mobile card */
.order-mobile-card {
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.2s ease;
}

.order-mobile-card:last-child {
    border-bottom: none;
}

.order-mobile-card:hover {
    background-color: #f8fafc;
}

.order-id-link {
    color: var(--theme-primary, #0c4c29);
    font-weight: 700;
    text-decoration: none;
}

.order-id-link:hover {
    text-decoration: underline;
}

.btn-action-outline {
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 6px 12px;
    border: 1px solid #e2e8f0;
    color: #334155;
    background: white;
    transition: all 0.2s;
}

.btn-action-outline:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.btn-action-primary {
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 6px 12px;
    background: var(--theme-primary, #0c4c29);
    color: white;
    border: none;
    transition: all 0.2s;
}

.btn-action-primary:hover {
    background: var(--theme-primary-dark, #08331c);
    transform: translateY(-1px);
    color: white;
}


.variant-picker-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.variant-picker-overlay.is-visible {
    opacity: 1;
}

.variant-picker-content {
    background: #fff;
    width: 100%;
    max-width: 360px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.variant-picker-overlay.is-visible .variant-picker-content {
    transform: scale(1) translateY(0);
}

.variant-picker-header {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to right, #f8fafc, #fff);
}

.variant-picker-body {
    padding: 12px;
    max-height: 60vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.variant-picker-body::-webkit-scrollbar {
    width: 6px;
}

.variant-picker-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}

.picker-variant-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 16px;
    border: 2px solid transparent;
    background: #f8fafc;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: left;
    width: 100%;
}

.picker-variant-item:hover {
    background: #f1f5f9;
    transform: translateY(-1px);
}

.picker-variant-item.is-selected {
    background: #fff;
    border-color: var(--theme-primary, #3b82f6);
    box-shadow: 0 10px 20px -5px rgba(var(--theme-primary-rgb, 59, 130, 246), 0.2);
}

.picker-variant-img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    background: #fff;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.picker-variant-info {
    flex-grow: 1;
    min-width: 0;
}

.picker-variant-name {
    font-weight: 700;
    font-size: 0.88rem;
    color: #1e293b;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.picker-variant-price {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--theme-primary, #3b82f6);
}

.picker-variant-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--theme-primary, #3b82f6);
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.picker-variant-item.is-selected .picker-variant-check {
    display: flex;
}

@media (max-width: 576px) {
    .variant-picker-overlay {
        align-items: flex-end;
        padding: 0;
    }

    .variant-picker-content {
        border-radius: 32px 32px 0 0;
        transform: translateY(100%);
        max-width: 100%;
    }

    .variant-picker-overlay.is-visible .variant-picker-content {
        transform: translateY(0);
    }

    .picker-variant-check {
        width: 24px;
        height: 24px;
        font-size: 14px;
    }
}

.checkbox-container {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.checkbox-container {
    display: none !important;
}

.cart-product-img-wrap {
    position: relative;
    flex-shrink: 0;
}

.cart-item-check-icon {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 22px;
    height: 22px;
    background: var(--theme-primary, #3b82f6);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(var(--theme-primary-rgb, 59, 130, 246), 0.3);
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 5;
}

.cart-item.is-selected .cart-item-check-icon {
    opacity: 1;
    transform: scale(1);
}

.cart-item {
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 14px !important;
    position: relative;
}

.cart-item.is-selected {
    border-color: var(--theme-primary, #3b82f6) !important;
    background: rgba(var(--theme-primary-rgb, 59, 130, 246), 0.02);
    box-shadow: 0 4px 12px rgba(var(--theme-primary-rgb, 59, 130, 246), 0.08);
}

/* Fix .summary-card styling in cart.php */
.cart-body .summary-card {
    padding: 22px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
    position: sticky !important;
    top: 140px !important;
    align-self: flex-start !important;
    max-height: calc(100vh - 160px) !important;
    overflow: auto !important;
    background: #fff !important;
    border: 1px solid var(--order-border, #e2e8f0) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06) !important;
    cursor: default !important;
    min-height: auto !important;
    transform: none !important;
}

.cart-body .summary-card:hover {
    border-color: var(--order-border, #e2e8f0) !important;
    transform: none !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06) !important;
}

/* Fix text and span inside .summary-card in cart.php */
.cart-body .summary-card span {
    font-size: inherit !important;
    color: inherit !important;
    font-weight: inherit !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.cart-body .summary-card .summary-row {
    display: flex !important;
    justify-content: space-between !important;
    font-weight: 600 !important;
    color: #475569 !important;
}

.cart-body .summary-card .summary-row span {
    font-size: 0.92rem !important;
    color: #475569 !important;
    font-weight: 600 !important;
}

.cart-body .summary-card .summary-row span:last-child {
    color: #0f172a !important;
}

.cart-body .summary-card .summary-divider {
    border-top: 1px dashed #e2e8f0 !important;
    margin: 4px 0 !important;
}

/* Fix total row */
.cart-body .summary-card .summary-total {
    font-size: 1.4rem !important;
    font-weight: 900 !important;
    color: #ef3c2d !important;
    border-top: none !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.cart-body .summary-card .text-muted {
    color: #64748b !important;
}

.cart-body .summary-card span.text-muted {
    color: #64748b !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
}

/* Status Banner Styles in detail page */
.status-banner {
    border-width: 1px !important;
    border-style: solid !important;
    padding: 1rem 1.25rem !important;
    border-radius: 16px !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.status-banner.status-pending {
    background: #fff7ed !important;
    color: #c2410c !important;
    border-color: #ffedd5 !important;
}

.status-banner.status-processing {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    border-color: #dbeafe !important;
}

.status-banner.status-shipping {
    background: #faf5ff !important;
    color: #7e22ce !important;
    border-color: #f3e8ff !important;
}

.status-banner.status-delivered {
    background: #f0fdf4 !important;
    color: #15803d !important;
    border-color: #dcfce7 !important;
}

.status-banner.status-canceled {
    background: #fef2f2 !important;
    color: #b91c1c !important;
    border-color: #fee2e2 !important;
}

.status-banner.status-returned {
    background: #f1f5f9 !important;
    color: #475569 !important;
    border-color: #e2e8f0 !important;
}

.quick-action-btn {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #64748b;
    transition: all 0.2s;
}

.quick-action-btn:hover {
    background: #f8fafc;
    color: var(--theme-primary, #0c4c29);
    border-color: var(--theme-primary, #0c4c29);
}

/* --- Voucher Management Page Styles --- */
/* Wizard steps progress bar / Stepper */
.wizard-steps {
    display: flex;
    gap: 16px;
    margin-bottom: 1.5rem;
}

.wizard-step-node {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #ffffff;
    border: 1.5px solid #eef1f6;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.wizard-step-node:hover {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.wizard-step-node.active {
    background: #f5f9ff;
    border: 1.5px solid #2563eb;
}

.wizard-step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #eff1f5;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    flex-shrink: 0;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.wizard-step-node.active .wizard-step-circle {
    background: #2563eb;
    color: #ffffff;
}

.wizard-step-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.wizard-step-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.wizard-step-subtitle {
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 3px;
    font-weight: 400;
}

/* Modern Page Header Restyling */
.header-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-icon:hover {
    transform: scale(1.08) rotate(3deg);
    background-color: rgba(12, 76, 41, 0.12) !important;
    border-color: rgba(12, 76, 41, 0.25) !important;
}

#btnNew {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-radius: 10px !important;
    background-color: var(--theme-primary, #0c4c29) !important;
    border: none !important;
}

#btnNew:hover {
    background-color: #08341c !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(12, 76, 41, 0.25) !important;
}

#btnNew:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(12, 76, 41, 0.2) !important;
}

/* Colors and states for specific active cards */
.summary-card[data-voucher-tab="all"] .summary-icon {
    background-color: #f1f5f9;
    color: #475569;
}

.summary-card.active[data-voucher-tab="all"] .summary-icon {
    background-color: var(--theme-primary, #0c4c29) !important;
    color: #fff !important;
}

.summary-card[data-voucher-tab="order_discount"] .summary-icon {
    background-color: rgba(12, 76, 41, 0.08);
    color: var(--theme-primary, #0c4c29);
}

.summary-card.active[data-voucher-tab="order_discount"] .summary-icon {
    background-color: var(--theme-primary, #0c4c29) !important;
    color: #fff !important;
}

.summary-card[data-voucher-tab="shipping_discount"] .summary-icon {
    background-color: #fff7ed;
    color: #ea580c;
}

.summary-card.active[data-voucher-tab="shipping_discount"] .summary-icon {
    background-color: #ea580c !important;
    color: #fff !important;
}

.summary-card[data-voucher-tab="only_category_discount"] .summary-icon {
    background-color: #eff6ff;
    color: #2563eb;
}

.summary-card.active[data-voucher-tab="only_category_discount"] .summary-icon {
    background-color: #2563eb !important;
    color: #fff !important;
}

.summary-card[data-voucher-tab="category_discount"] .summary-icon {
    background-color: #f5f3ff;
    color: #8b5cf6;
}

.summary-card.active[data-voucher-tab="category_discount"] .summary-icon {
    background-color: #8b5cf6 !important;
    color: #fff !important;
}

.summary-card[data-voucher-tab="payment_discount"] .summary-icon {
    background-color: #fdf2f8;
    color: #db2777;
}

.summary-card.active[data-voucher-tab="payment_discount"] .summary-icon {
    background-color: #db2777 !important;
    color: #fff !important;
}

/* Grid configuration for 4-column summary grids (e.g. Promotions) */
#summaryGrid.grid-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 768px) {
    #summaryGrid.grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Colors and states for promotion tabs */
.summary-card[data-promo-tab="all"] .summary-icon {
    background-color: #f1f5f9;
    color: #475569;
}

.summary-card.active[data-promo-tab="all"] .summary-icon {
    background-color: var(--theme-primary, #0c4c29) !important;
    color: #fff !important;
}

.summary-card[data-promo-tab="gift"] .summary-icon {
    background-color: rgba(12, 76, 41, 0.08);
    color: var(--theme-primary, #0c4c29);
}

.summary-card.active[data-promo-tab="gift"] .summary-icon {
    background-color: var(--theme-primary, #0c4c29) !important;
    color: #fff !important;
}

.summary-card[data-promo-tab="combo"] .summary-icon {
    background-color: #fff7ed;
    color: #ea580c;
}

.summary-card.active[data-promo-tab="combo"] .summary-icon {
    background-color: #ea580c !important;
    color: #fff !important;
}

.summary-card[data-promo-tab="bxgy"] .summary-icon {
    background-color: #eff6ff;
    color: #2563eb;
}

.summary-card.active[data-promo-tab="bxgy"] .summary-icon {
    background-color: #2563eb !important;
    color: #fff !important;
}

/* Colors and states for review video (preview.php) tabs */
.summary-card[data-rs-tab="all"] .summary-icon {
    background-color: #f1f5f9;
    color: #475569;
}

.summary-card.active[data-rs-tab="all"] .summary-icon {
    background-color: var(--theme-primary, #0c4c29) !important;
    color: #fff !important;
}

.summary-card[data-rs-tab="active"] .summary-icon {
    background-color: rgba(12, 76, 41, 0.08);
    color: var(--theme-primary, #0c4c29);
}

.summary-card.active[data-rs-tab="active"] .summary-icon {
    background-color: var(--theme-primary, #0c4c29) !important;
    color: #fff !important;
}

.summary-card[data-rs-tab="youtube"] .summary-icon {
    background-color: #fef2f2;
    color: #dc2626;
}

.summary-card.active[data-rs-tab="youtube"] .summary-icon {
    background-color: #dc2626 !important;
    color: #fff !important;
}

.summary-card[data-rs-tab="mp4"] .summary-icon {
    background-color: #eff6ff;
    color: #2563eb;
}

.summary-card.active[data-rs-tab="mp4"] .summary-icon {
    background-color: #2563eb !important;
    color: #fff !important;
}

/* Colors and states for banner manager (banner.php) tabs */
.summary-card[data-bm-tab="all"] .summary-icon {
    background-color: #f1f5f9;
    color: #475569;
}

.summary-card.active[data-bm-tab="all"] .summary-icon {
    background-color: var(--theme-primary, #0c4c29) !important;
    color: #fff !important;
}

.summary-card[data-bm-tab="active"] .summary-icon {
    background-color: rgba(12, 76, 41, 0.08);
    color: var(--theme-primary, #0c4c29);
}

.summary-card.active[data-bm-tab="active"] .summary-icon {
    background-color: var(--theme-primary, #0c4c29) !important;
    color: #fff !important;
}

.summary-card[data-bm-tab="video"] .summary-icon {
    background-color: #eff6ff;
    color: #2563eb;
}

.summary-card.active[data-bm-tab="video"] .summary-icon {
    background-color: #2563eb !important;
    color: #fff !important;
}

.summary-card[data-bm-tab="ads"] .summary-icon {
    background-color: #fff7ed;
    color: #ea580c;
}

.summary-card.active[data-bm-tab="ads"] .summary-icon {
    background-color: #ea580c !important;
    color: #fff !important;
}

/* Colors and states for notification (notification.php) tabs */
.summary-card[data-nf-tab="all"] .summary-icon {
    background-color: #f1f5f9;
    color: #475569;
}

.summary-card.active[data-nf-tab="all"] .summary-icon {
    background-color: var(--theme-primary, #0c4c29) !important;
    color: #fff !important;
}

.summary-card[data-nf-tab="active"] .summary-icon {
    background-color: rgba(12, 76, 41, 0.08);
    color: var(--theme-primary, #0c4c29);
}

.summary-card.active[data-nf-tab="active"] .summary-icon {
    background-color: var(--theme-primary, #0c4c29) !important;
    color: #fff !important;
}

.summary-card[data-nf-tab="scheduled"] .summary-icon {
    background-color: #fff7ed;
    color: #ea580c;
}

.summary-card.active[data-nf-tab="scheduled"] .summary-icon {
    background-color: #ea580c !important;
    color: #fff !important;
}

.summary-card[data-nf-tab="targeted"] .summary-icon {
    background-color: #eff6ff;
    color: #2563eb;
}

.summary-card.active[data-nf-tab="targeted"] .summary-icon {
    background-color: #2563eb !important;
    color: #fff !important;
}

/* ===== Notice preview card (Ã„â€˜Ã¡Â»â€œng bÃ¡Â»â„¢ vÃ¡Â»â€ºi #notifyPreview Ã¡Â»Å¸ core_admin/notification.php) ===== */
.notice-preview-card {
    position: relative;
    display: block;
    border: 1px solid #e6edf7;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.notice-preview-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
    border-color: rgba(var(--theme-primary-rgb), .35);
    color: inherit;
}

.notice-preview-hero {
    width: 100%;
    height: 140px;
    background: #f8fafc;
    border-bottom: 1px solid #eef2f7;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notice-preview-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.notice-preview-hero i {
    font-size: 2rem;
    color: #dbe4f0;
}

.notice-preview-main {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 12px;
    padding: 12px;
}

.notice-preview-thumb {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.notice-preview-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.notice-preview-thumb i {
    font-size: 1.5rem;
    color: #334155;
}

.notice-preview-head {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.notice-preview-title {
    font-weight: 800;
    font-size: .98rem;
    color: #0f172a;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notice-preview-subtitle {
    font-size: .82rem;
    color: #64748b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notice-preview-cta {
    margin-top: 6px;
}

.notice-preview-footer {
    border-top: 1px solid #eef2f7;
    padding: 10px 12px;
    display: grid;
    gap: 6px;
    align-items: stretch;
}

.notice-preview-banners {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.notice-preview-banners img {
    width: 46px;
    height: 46px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.notice-preview-footer.is-cover-layout {
    display: grid;
    gap: 8px;
    align-items: stretch;
}

.notice-preview-footer.is-cover-layout .notice-preview-time {
    justify-self: end;
}

.notice-preview-time {
    font-size: .7rem;
    color: #64748b;
    font-weight: 600;
    justify-self: end;
    line-height: 1.2;
}

/* Variant cho carousel khuyÃ¡ÂºÂ¿n mÃƒÂ£i Ã¡Â»Å¸ home_user.php */
.hpromo-notice-card {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hpromo-notice-card .hpromo-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    font-size: .68rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .95);
    color: var(--theme-primary, #0c4c29);
    border: 1px solid rgba(12, 76, 41, .15);
    text-transform: uppercase;
    letter-spacing: .04em;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
}

.hpromo-notice-card .notice-preview-hero {
    height: 180px;
}

.hpromo-notice-card .notice-preview-main {
    grid-template-columns: 96px 1fr;
    gap: 14px;
    padding: 14px;
}

.hpromo-notice-card .notice-preview-thumb {
    width: 96px;
    height: 96px;
}

.hpromo-notice-card .notice-preview-title {
    font-size: 0.92rem;
}

.hpromo-notice-card .notice-preview-subtitle {
    font-size: .86rem;
}

.hpromo-notice-card .notice-preview-footer {
    padding: 12px 14px;
}

/* TÃ¡ÂºÂ¡m Ã¡ÂºÂ©n footer cÃ¡Â»Â§a card khuyÃ¡ÂºÂ¿n mÃƒÂ£i */
.hpromo-notice-card .notice-preview-footer {
    display: none !important;
}

.hpromo-notice-card .notice-preview-banners img {
    width: 54px;
    height: 54px;
}

.hpromo-notice-card .notice-preview-time {
    font-size: .74rem;
}

/* Ã¡ÂºÂ¨n placeholder "ChÃ†Â°a upload Ã¡ÂºÂ£nh" Ã„â€˜Ã¡Â»Æ’ khÃƒÂ´ng bÃ¡Â»â€¹ thÃ¡Â»Â«a text trÃƒÂªn card */
.hpromo-notice-card .notice-preview-banners .text-muted {
    display: none;
}

.hpromo-notice-card .notice-preview-banners:empty {
    display: none;
}


/* Sleek Actions */
.voucher-actions .btn {
    width: 28px !important;
    height: 28px !important;
    border-radius: 8px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.82rem !important;
    transition: all 0.2s ease !important;
    margin-right: 4px;
    border: 1px solid #e2e8f0 !important;
    background: #fff;
}

.voucher-actions .btn-outline-secondary {
    color: #64748b !important;
}

.voucher-actions .btn-outline-secondary:hover {
    background-color: #f1f5f9 !important;
    color: #334155 !important;
    border-color: #cbd5e1 !important;
}

.voucher-actions .btn-outline-primary {
    color: var(--order-primary, #2563eb) !important;
}

.voucher-actions .btn-outline-primary:hover {
    background-color: rgba(37, 99, 235, 0.05) !important;
    border-color: var(--order-primary, #2563eb) !important;
}

.voucher-actions .btn-outline-danger {
    color: #ef4444 !important;
}

.voucher-actions .btn-outline-danger:hover {
    background-color: rgba(239, 68, 68, 0.05) !important;
    border-color: #ef4444 !important;
}

/* Override standard voucher-stepper styling to use wizard-steps modern layout */
.voucher-stepper {
    display: flex !important;
    gap: 16px !important;
    margin-bottom: 1.5rem !important;
}

.step-item {
    flex: 1;
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    padding: 16px 20px !important;
    background: #ffffff !important;
    border: 1.5px solid #eef1f6 !important;
    border-radius: 16px !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-decoration: none !important;
}

.step-item:hover {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
}

.step-item.active {
    background: #f5f9ff !important;
    border: 1.5px solid #2563eb !important;
    box-shadow: none !important;
}

.step-index {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: #eff1f5 !important;
    color: #0f172a !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    flex-shrink: 0 !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.step-item.active .step-index {
    background: #2563eb !important;
    color: #ffffff !important;
}

/* Grid configuration for 3-column summary grids (e.g. Branches/Stores) */
#summaryGrid.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 768px) {
    #summaryGrid.grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Colors and states for branch/store filters */
.summary-card[data-filter=""] .summary-icon {
    background-color: #f1f5f9;
    color: #475569;
}

.summary-card.active[data-filter=""] .summary-icon {
    background-color: var(--theme-primary, #0c4c29) !important;
    color: #fff !important;
}

.summary-card[data-filter="active"] .summary-icon {
    background-color: rgba(12, 76, 41, 0.08);
    color: var(--theme-primary, #0c4c29);
}

.summary-card.active[data-filter="active"] .summary-icon {
    background-color: var(--theme-primary, #0c4c29) !important;
    color: #fff !important;
}

.summary-card[data-filter="paused"] .summary-icon {
    background-color: #f8fafc;
    color: #64748b;
}

.summary-card.active[data-filter="paused"] .summary-icon {
    background-color: #64748b !important;
    color: #fff !important;
}

/* Grid configuration for 4-column summary grids (e.g. Rating, Shipping) */
#summaryGrid.grid-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 768px) {
    #summaryGrid.grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Rating module ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â summary icon colors by data-status */
.summary-card[data-status="unreplied"] .summary-icon {
    background-color: rgba(249, 115, 22, 0.08);
    color: #f97316;
}

.summary-card.active[data-status="unreplied"] .summary-icon {
    background-color: #f97316 !important;
    color: #fff !important;
}

.summary-card[data-status="low"] .summary-icon {
    background-color: rgba(234, 179, 8, 0.08);
    color: #eab308;
}

.summary-card.active[data-status="low"] .summary-icon {
    background-color: #eab308 !important;
    color: #fff !important;
}

.summary-card[data-status="question"] .summary-icon {
    background-color: rgba(37, 99, 235, 0.08);
    color: #2563eb;
}

.summary-card.active[data-status="question"] .summary-icon {
    background-color: #2563eb !important;
    color: #fff !important;
}

/* Fix nested sublist in header-menu (accordion instead of popup) */
.header-menu .nav-sublist .nav-sublist {
    position: static;
    box-shadow: none;
    border: none;
    padding: 0 0 0 18px;
    margin: 6px 0 0;
    min-width: unset;
    border-radius: 0;
    background: transparent;
}

/* Fix nested sublist in header-menu (accordion instead of popup) */
.header-menu .nav-sublist .nav-sublist {
    position: static;
    box-shadow: none;
    border: none;
    padding: 0 0 0 18px;
    margin: 6px 0 0;
    min-width: unset;
    border-radius: 0;
    background: transparent;
}

/* Disable hover auto-show for nested sublists so click to toggle works */
.header-menu .nav-sublist .nav-item:hover>.nav-sublist {
    display: none;
}

.header-menu .nav-sublist .nav-toggle:checked+.nav-toggle-label+.nav-sublist {
    display: block !important;
}

/* Admin Product Change Layout Fixes */
.sticky-actions-card {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1040;
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid rgba(12, 76, 41, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 1px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 90%;
    width: max-content;
}

.sticky-actions-card:hover {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
    background: #ffffff;
    border-color: rgba(12, 76, 41, 0.3);
}

.sticky-actions-card .btn {
    border-radius: 30px !important;
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 38px;
    transition: all 0.2s ease;
}

.sticky-actions-card .btn:hover {
    transform: translateY(-1px);
}

/* Specific styling for back button (icon only) */
.sticky-actions-card .btn-light {
    width: 38px;
    height: 38px;
    padding: 0 !important;
    border-radius: 50% !important;
}

.sticky-actions-card .vr {
    width: 1px;
    height: 20px !important;
    background-color: #cbd5e1;
}

.sticky-actions-card .form-check-input {
    cursor: pointer;
    border-color: #cbd5e1;
}

.sticky-actions-card .form-check-input:checked {
    background-color: var(--theme-primary, #0c4c29);
    border-color: var(--theme-primary, #0c4c29);
}

.sticky-actions-card .form-check-input:focus {
    border-color: rgba(12, 76, 41, 0.4);
    box-shadow: 0 0 0 0.25rem rgba(12, 76, 41, 0.15);
}

@media (max-width: 576px) {
    .sticky-actions-card {
        bottom: 16px;
        padding: 5px 10px;
        gap: 6px;
    }

    .sticky-actions-card .sticky-btn-text {
        display: none;
    }

    .sticky-actions-card .btn {
        width: 36px !important;
        height: 36px !important;
        border-radius: 50% !important;
        padding: 0 !important;
    }

    .sticky-actions-card .btn-light {
        width: 36px !important;
        height: 36px !important;
    }

    .sticky-actions-card .vr {
        margin: 0 2px !important;
    }
}

/* Ensure container has enough padding at the bottom when fixed bottom card is present */
body:has(.sticky-actions-card) #mainContainer,
body:has(.sticky-actions-card) .main-container {
    padding-bottom: 90px !important;
}

@media print {
    .sticky-actions-card {
        display: none !important;
    }
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    background-color: #f8fafc;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    color: #94a3b8;
    border-radius: 8px;
    border: 2px dashed #cbd5e1;
    font-size: 0.85rem;
}

/* Admin Product Media Gallery Styles */
.media-strip-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    margin-top: 12px;
}

.media-strip {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-behavior: smooth;
    flex-grow: 1;
    padding: 4px;
}

.media-strip::-webkit-scrollbar {
    display: none;
}

.media-card {
    position: relative;
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    overflow: hidden;
    cursor: grab;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}

.media-card:active {
    cursor: grabbing;
}

.media-card:hover {
    border-color: var(--theme-primary, #0c4c29);
    box-shadow: 0 8px 20px rgba(12, 76, 41, 0.12);
    transform: translateY(-2px);
}

.media-card.dragging {
    opacity: 0.5;
    border-style: dashed;
    border-color: var(--theme-primary, #0c4c29);
}

.media-thumb {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #f1f5f9;
}

.media-thumb a {
    display: block;
    width: 100%;
    height: 100%;
}

.media-thumb img,
.media-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.media-thumb:hover img,
.media-thumb:hover video {
    transform: scale(1.08);
}

.media-type-pill {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(15, 23, 42, 0.75);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(2px);
    pointer-events: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.media-type-pill i {
    font-size: 0.75rem;
}

.media-delete-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: rgba(239, 68, 68, 0.9);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    padding: 0;
    z-index: 5;
}

.media-delete-btn:hover {
    background: #dc2626;
    transform: scale(1.1) rotate(90deg);
}

.media-scroll-btn {
    width: 36px;
    height: 36px;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #64748b !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    z-index: 2;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.media-scroll-btn:hover {
    background: #f8fafc !important;
    color: var(--theme-primary, #0c4c29) !important;
    border-color: var(--theme-primary, #0c4c29) !important;
    box-shadow: 0 4px 12px rgba(12, 76, 41, 0.15);
    transform: scale(1.05);
}

#mediaPrevBtn {
    margin-right: 12px;
}

#mediaNextBtn {
    margin-left: 12px;
}

.color-empty {
    padding: 32px 24px;
    text-align: center;
    color: #94a3b8;
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 600;
}

.ro-step-circle {
    border: 2px solid #dee2e6;
    background: #fff;
    color: #adb5bd;
    transition: all 0.25s;
}

.ro-step-item.active .ro-step-circle {
    background: var(--bs-primary, #0d6efd);
    border-color: var(--bs-primary, #0d6efd);
    color: #fff;
}

.ro-step-item.done .ro-step-circle {
    background: var(--bs-primary, #0d6efd);
    border-color: var(--bs-primary, #0d6efd);
    color: #fff;
}

.ro-step-item.active .ro-step-label {
    color: var(--bs-primary, #0d6efd);
}

.ro-step-item.done .ro-step-label {
    color: var(--bs-primary, #0d6efd);
}

.ro-step-label {
    color: #adb5bd;
    transition: color 0.25s;
    font-size: 12px;
}

.ro-step-line {
    background: #dee2e6;
    transition: background 0.25s;
}

.ro-step-line.done {
    background: var(--bs-primary, #0d6efd);
}

/* LÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â°u ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â½: dÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¹ng cÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡c biÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¿n --order-* / --theme-primary khai bÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡o ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¸ :root ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¾ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¹Ãƒâ€¦Ã¢â‚¬Å“ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â§u file (ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¾ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¹Ãƒâ€¦Ã¢â‚¬Å“ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œng bÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¾ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ hÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ thÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¹Ãƒâ€¦Ã¢â‚¬Å“ng). */
.view-order-container {
    background-color: var(--order-bg);
    min-height: 100vh;
}

/* Custom order-card system declarations removed */

.order-thumb {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: inherit;
    background: #f1f5f9;
}

#detailItems {
    max-height: 380px;
    overflow-y: auto;
}

#detailItems::-webkit-scrollbar {
    width: 6px;
}

#detailItems::-webkit-scrollbar-track {
    background: #f8fafc;
}

#detailItems::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 8px;
}

#detailItems::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.status-timeline {
    position: relative;
    padding-left: 2rem;
}

.status-timeline::before {
    content: "";
    position: absolute;
    left: 0.45rem;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 2px;
    background: #e2e8f0;
}

.timeline-node {
    position: relative;
    padding-bottom: 1.5rem;
}

.timeline-node:last-child {
    padding-bottom: 0;
}

.timeline-node::after {
    content: "";
    position: absolute;
    left: -1.85rem;
    top: 0.35rem;
    width: 10px;
    height: 10px;
    background: #cbd5e1;
    border-radius: 50%;
    border: 2px solid #fff;
    z-index: 1;
}

.timeline-node.active::after {
    background: var(--order-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.85rem;
}

.summary-row:last-of-type {
    border-bottom: none;
}

.summary-row>span:first-child {
    color: #64748b;
}

.summary-row>span:last-child {
    font-weight: 500;
    color: #1e293b;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 2px solid #e2e8f0;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    font-size: 0.9rem;
}

.summary-total>span:last-child {
    font-weight: 700;
    font-size: 1rem;
    color: var(--order-danger);
}

.copy-btn {
    padding: 2px 8px;
    font-size: 0.75rem;
    border-radius: 6px;
    color: var(--order-primary);
    background: rgba(37, 99, 235, 0.05);
    border: 1px solid rgba(37, 99, 235, 0.1);
    cursor: pointer;
    transition: all 0.2s;
}

.copy-btn:hover {
    background: var(--order-primary);
    color: #fff;
}

.order-header-actions .btn {
    border-radius: 10px;
    padding: 0.5rem 1.25rem;
    font-weight: 600;
}

.upload-box {
    background-color: var(--order-bg, #f8fafc);
    border: 2px dashed var(--order-border, #e5e7eb) !important;
    border-radius: 12px !important;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.upload-box:hover {
    border-color: var(--theme-primary, #0c4c29) !important;
    background-color: rgba(12, 76, 41, 0.04);
}

.upload-box:hover i {
    color: var(--theme-primary, #0c4c29) !important;
    transform: scale(1.1);
}

.upload-box i {
    transition: all 0.2s ease-in-out;
}

@media (max-width: 768px) {
    .order-header-actions {
        margin: 1rem 0 0 0 !important;
        display: flex !important;
        flex-wrap: wrap !important;
        flex-direction: row;
        gap: 8px !important;
        width: 100%;
    }

    .order-header-actions .btn,
    .order-header-actions a {
        margin: 0 !important;
        flex: none !important;
        font-size: 12px !important;
        padding: 8px 16px !important;
        justify-content: center !important;
        border-radius: 8px !important;
        white-space: nowrap !important;
    }

    #orderDetailPage,
    .order-change-container {
        margin-bottom: 0 !important;
    }

    /* Wrap the header containing the GHN action buttons on mobile */
    .card-body .d-flex.justify-content-between.align-items-center.mb-3 {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 10px;
    }

    .card-body .d-flex.justify-content-between.align-items-center.mb-3>h6 {
        margin-bottom: 0 !important;
    }

    #ghnActionBar {
        width: 100%;
        display: flex !important;
        flex-wrap: wrap;
        gap: 8px !important;
    }

    #ghnActionBar .btn,
    #ghnActionBar a.btn {
        flex: 1 1 auto;
        justify-content: center;
        text-align: center;
        padding: 6px 12px !important;
        font-size: 0.78rem !important;
    }

    /* Mobile adjustments for horizontal stepper */
    .step-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 1rem !important;
    }
}

#orderProgressBar {
    /* border: none !important; */
    /* border-radius: 16px !important; */
    /* box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04) !important; */
    /* background: #fff !important; */
    /* margin-bottom: 1.5rem !important; */
}

#orderProgressBar .card-body {
    /* padding: 1.5rem 1rem !important; */
}

.stepper-wrap {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    position: relative !important;
    width: 100% !important;
}

/* Underlying Progress Track Line */
.stepper-wrap::before {
    content: "" !important;
    position: absolute !important;
    top: 20px !important;
    /* Centered with the 40px icon circle */
    left: 10% !important;
    right: 10% !important;
    height: 4px !important;
    background: #f1f5f9 !important;
    border-radius: 2px !important;
    z-index: 1 !important;
    display: block !important;
    border: none !important;
    box-shadow: none !important;
}

#orderProgressLine {
    display: block !important;
    position: absolute !important;
    top: 20px !important;
    left: 10% !important;
    height: 4px !important;
    background: linear-gradient(90deg,
            var(--theme-primary, #0c4c29) 0%,
            var(--order-primary, #2563eb) 100%) !important;
    border-radius: 2px !important;
    z-index: 2 !important;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
    width: 0%;
    /* Updated dynamically by JS */
    border: none !important;
    box-shadow: none !important;
}

#orderProgressBar .step-item {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    position: relative !important;
    z-index: 3 !important;
    text-align: center !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    gap: 0 !important;
    cursor: default !important;
}

#orderProgressBar .step-item:hover {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Remove old vertical separator */
#orderProgressBar .step-item::after {
    display: none !important;
}

#orderProgressBar .step-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: #fff !important;
    border: 2px solid #e2e8f0 !important;
    color: #94a3b8 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.1rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin-bottom: 0.5rem !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;
    transform: none !important;
}

#orderProgressBar .step-label {
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    color: #94a3b8 !important;
    transition: all 0.3s ease !important;
    line-height: 1.3 !important;
    max-width: 120px !important;
    display: block !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

/* Completed state */
#orderProgressBar .step-item.completed .step-icon {
    background: var(--theme-primary, #0c4c29) !important;
    border-color: var(--theme-primary, #0c4c29) !important;
    color: transparent !important;
    position: relative !important;
    box-shadow: 0 0 0 4px rgba(12, 76, 41, 0.12) !important;
}

#orderProgressBar .step-item.completed .step-icon::after {
    content: "\F272" !important;
    /* bi-check-lg or bi-check2 */
    font-family: "bootstrap-icons" !important;
    font-size: 1.1rem !important;
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
}

#orderProgressBar .step-item.completed .step-label {
    color: var(--theme-primary, #0c4c29) !important;
}

/* Active state */
#orderProgressBar .step-item.active .step-icon {
    background: var(--order-primary, #2563eb) !important;
    border-color: var(--order-primary, #2563eb) !important;
    color: #fff !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15) !important;
    transform: scale(1.08) !important;
}

#orderProgressBar .step-item.active .step-label {
    color: var(--order-primary, #2563eb) !important;
    font-weight: 700 !important;
}

/* Responsive Mobile adjustments */
@media (max-width: 575px) {
    #orderProgressBar .card-body {
        padding: 0.75rem 0.75rem !important;
    }

    .stepper-wrap::before {
        top: 15px !important;
        left: 8% !important;
        right: 8% !important;
        height: 2px !important;
    }

    #orderProgressLine {
        top: 15px !important;
        left: 8% !important;
        height: 2px !important;
    }

    #orderProgressBar .step-item {
        gap: 0 !important;
    }

    #orderProgressBar .step-icon {
        width: 30px !important;
        height: 30px !important;
        font-size: 0.8rem !important;
        margin-bottom: 0 !important;
    }

    #orderProgressBar .step-label {
        display: block !important;
        font-size: 8.5px !important;
        font-weight: 600 !important;
        margin-top: 6px !important;
        line-height: 1.2 !important;
        max-width: 68px !important;
        word-break: break-word !important;
    }

    #orderProgressBar .step-item.completed .step-icon::after {
        font-size: 0.85rem !important;
    }
}

/* Custom Cancel Stepper Colors */
#orderProgressBar .step-item.active-danger .step-icon {
    background: var(--bs-danger, #dc3545) !important;
    border-color: var(--bs-danger, #dc3545) !important;
    color: #fff !important;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.15) !important;
}

#orderProgressBar .step-item.active-danger .step-label {
    color: var(--bs-danger, #dc3545) !important;
    font-weight: 700 !important;
}

#orderProgressBar .step-item.completed-danger .step-icon {
    background: var(--bs-danger, #dc3545) !important;
    border-color: var(--bs-danger, #dc3545) !important;
    color: transparent !important;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.12) !important;
}

#orderProgressBar .step-item.completed-danger .step-icon::after {
    content: "\F272" !important;
    font-family: "bootstrap-icons" !important;
    font-size: 1.1rem !important;
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
}

#orderProgressBar .step-item.completed-danger .step-label {
    color: var(--bs-danger, #dc3545) !important;
}

/* Custom Warning / Return Stepper Colors */
#orderProgressBar .step-item.active-warning .step-icon {
    background: var(--bs-warning, #ffc107) !important;
    border-color: var(--bs-warning, #ffc107) !important;
    color: #000 !important;
    box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.15) !important;
}

#orderProgressBar .step-item.active-warning .step-label {
    color: var(--bs-warning, #ffc107) !important;
    font-weight: 700 !important;
}

#orderProgressBar .step-item.completed-warning .step-icon {
    background: var(--bs-warning, #ffc107) !important;
    border-color: var(--bs-warning, #ffc107) !important;
    color: transparent !important;
    box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.12) !important;
}

#orderProgressBar .step-item.completed-warning .step-icon::after {
    content: "\F272" !important;
    font-family: "bootstrap-icons" !important;
    font-size: 1.1rem !important;
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #000 !important;
}

#orderProgressBar .step-item.completed-warning .step-label {
    color: var(--bs-warning, #ffc107) !important;
}

/* ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ Order Product Item Redesign ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ */
#detailItems {
    max-height: 480px;
    overflow-y: auto;
}

.order-item-row {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid #f1f5f9 !important;
    border-radius: 0 !important;
    margin-bottom: 0 !important;
    padding: 0.85rem 1rem !important;
    transition: background 0.15s ease;
}

.order-item-row:hover {
    background: #f8fafc !important;
}

.order-item-row:last-child {
    border-bottom: none !important;
}

.order-item-thumb-link {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e8edf4;
    background: #f8fafc;
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    transition: border-color 0.2s ease;
}

.order-item-thumb-link:hover {
    border-color: var(--theme-primary, #0c4c29);
}

.order-item-thumb-link img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease !important;
}

.order-item-thumb-link:hover img {
    transform: scale(1.08) !important;
}

.order-item-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: #1e293b;
    line-height: 1.4;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
}

.order-item-name:hover {
    color: var(--theme-primary, #0c4c29) !important;
}

.order-item-variant {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 500;
    padding: 2px 7px;
    border-radius: 4px;
    margin-top: 4px;
}

.order-item-price {
    font-weight: 700;
    font-size: 0.9rem;
    color: #0f172a;
    white-space: nowrap;
}

.order-item-qty {
    font-size: 0.72rem;
    font-weight: 500;
    color: #94a3b8;
    margin-top: 3px;
    display: block;
}

.gift-badge {
    display: inline-flex;
    align-items: center;
    background: #d1fae5;
    color: #065f46;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}

@media (max-width: 576px) {
    .order-item-row {
        padding: 0.75rem 0.75rem !important;
    }

    .order-item-thumb-link {
        width: 56px;
        height: 56px;
        border-radius: 8px;
    }

    .order-item-name {
        font-size: 0.8rem;
    }

    .order-item-price {
        font-size: 0.82rem;
    }
}

/* Shipping Method Selector Cards */
.ghn-service-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border: 2px solid var(--order-border, #e5e7eb);
    border-radius: 12px;
    background-color: var(--fb-white, #ffffff);
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    flex: 1 1 0;
    min-width: 140px;
    position: relative;
    user-select: none;
    box-shadow: var(--order-shadow, 0 4px 6px -1px rgba(0, 0, 0, 0.05));
    margin-bottom: 8px;
}

.ghn-service-card:hover {
    border-color: var(--theme-primary, #0c4c29);
    box-shadow: 0 6px 16px rgba(12, 76, 41, 0.08);
}

.ghn-service-card.active {
    border-color: var(--theme-primary, #0c4c29);
    background-color: rgba(12, 76, 41, 0.05);
    box-shadow: 0 8px 20px rgba(12, 76, 41, 0.12);
}

.ghn-service-card .ship-method-active {
    margin-top: 4px;
    cursor: pointer;
    flex-shrink: 0;
}

.ghn-service-card .ghn-service-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ghn-service-card .ghn-service-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--fb-text, #050505);
}

.ghn-service-card.active .ghn-service-name {
    color: var(--theme-primary, #0c4c29);
}

.ghn-service-card .ghn-service-note {
    font-size: 0.78rem;
    color: var(--order-muted, #65676b);
    line-height: 1.4;
}

/* QA Grid Layout Card */
.qa-grid-card {
    background-color: var(--fb-white, #ffffff);
    border: 1px solid var(--order-border, #e5e7eb);
    border-radius: 16px;
    box-shadow: var(--order-shadow, 0 8px 18px rgba(15, 23, 42, 0.06));
    transition: all 0.3s ease;
}

.qa-grid-mascot img {
    width: 120px;
    height: auto;
    object-fit: contain;
}

.qa-grid-input-bar {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 0.88rem;
    color: var(--order-muted, #65676b);
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.qa-grid-input-bar:hover {
    border-color: #cbd5e1;
    background-color: #f1f5f9;
}

.qa-grid-btn {
    border-radius: 8px !important;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    font-size: 0.9rem;
    background-color: var(--theme-primary, #0c4c29) !important;
    border-color: var(--theme-primary, #0c4c29) !important;
    color: var(--theme-primary-contrast, #ffffff) !important;
    transition: all 0.2s ease-in-out;
}

.qa-grid-btn:hover {
    background-color: var(--theme-primary-dark, #2563eb) !important;
    border-color: var(--theme-primary-dark, #2563eb) !important;
    transform: translateY(-1px);
}

/* Custom Homepage Tabbed Carousel Styles */
.hero-wrap {
    height: auto !important;
}

.carousel-indicators-custom {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    margin: 0 !important;
    display: flex !important;
    background-color: #f1f5f9 !important;
    border-radius: 12px 12px 0 0 !important;
    border: 1px solid #e2e8f0 !important;
    border-bottom: none !important;
    width: 100% !important;
    padding: 0 !important;
    z-index: 10 !important;
    list-style: none !important;
}

.carousel-indicators-custom .carousel-custom-tab {
    flex: 1 !important;
    text-align: center !important;
    padding: 6px 12px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    border-right: 1px solid #e2e8f0 !important;
    border-top: none !important;
    border-bottom: none !important;
    border-left: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    min-height: 52px !important;
    background: transparent !important;
    text-indent: 0 !important;
    /* Overrides default Bootstrap line */
    opacity: 0.65 !important;
    width: auto !important;
    height: auto !important;
    color: #4b5563 !important;
}

.carousel-indicators-custom .carousel-custom-tab:last-child {
    border-right: none !important;
}

.carousel-indicators-custom .carousel-custom-tab:hover {
    opacity: 0.9 !important;
    background-color: rgba(241, 245, 249, 0.5) !important;
}

.carousel-indicators-custom .carousel-custom-tab.active {
    background-color: #ffffff !important;
    border-radius: 12px 12px 0 0 !important;
    opacity: 1 !important;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.03) !important;
}

.carousel-indicators-custom .carousel-custom-tab .tab-title {
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #374151 !important;
    margin-bottom: 2px !important;
    transition: color 0.15s ease !important;
}

.carousel-indicators-custom .carousel-custom-tab.active .tab-title {
    color: var(--theme-primary, #0c4c29) !important;
}

.carousel-indicators-custom .carousel-custom-tab .tab-subtitle {
    font-size: 0.7rem !important;
    color: #6b7280 !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 150px !important;
}

.carousel-indicators-custom .carousel-custom-tab.active .tab-subtitle {
    color: #374151 !important;
}

/* Floating carousel control arrows */
#homeCarousel .carousel-control-prev,
#homeCarousel .carousel-control-next {
    width: 40px !important;
    height: 40px !important;
    background-color: rgba(15, 23, 42, 0.45) !important;
    border-radius: 50% !important;
    top: 50% !important;
    /* Adjust for tab header offset */
    transform: translateY(-50%) !important;
    opacity: 0 !important;
    transition: opacity 0.2s ease, background-color 0.2s ease !important;
}

#homeCarousel:hover .carousel-control-prev,
#homeCarousel:hover .carousel-control-next {
    opacity: 1 !important;
}

#homeCarousel .carousel-control-prev {
    left: 16px !important;
}

#homeCarousel .carousel-control-next {
    right: 16px !important;
}


.page-header {
    padding: 10px 0 0;
}

.breadcrumb-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    overflow: hidden;
}

.breadcrumb-wrapper a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.78rem;
    white-space: nowrap;
    transition: color 0.15s;
}

.breadcrumb-wrapper a:hover {
    color: var(--theme-primary);
}

.breadcrumb-wrapper .sep {
    color: #cbd5e1;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.breadcrumb-wrapper .current {
    color: #374151;
    font-size: 0.78rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.article-top {
    max-width: 1200px;
    margin: 32px auto 40px;
    padding: 3px;
}

.article-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #14532d;
    margin-bottom: 12px;
}

.article-intro {
    font-size: 1rem;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 18px;
}

.article-meta-line {
    font-size: .88rem;
    color: #6b7280;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.article-meta-line span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.article-meta-line .meta-category {
    padding: 2px 8px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #15803d;
}

.article-hero {
    margin: 18px 0 20px;
}

.article-hero img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

.article-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #111827;
}

.article-content p {
    margin-bottom: 14px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    margin: 18px auto;
}

.article-tags {
    margin-top: 18px;
}

.article-tags-label {
    font-size: .8rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 4px;
}

.article-tags .badge {
    margin: 0 4px 4px 0;
}

.related-section {
    background: #f9fafb;
    padding: 32px 0 40px;
}

.related-section .section-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #14532d;
    margin-bottom: 22px;
}

.post-grid {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.post-grid::-webkit-scrollbar {
    display: none;
}

.post-card {
    scroll-snap-align: start;
    flex: 0 0 260px;
    max-width: 320px;
}

.related-nav {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin: 10px 0 16px;
}

.post-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .1);
}

.post-card a {
    color: inherit;
    text-decoration: none;
    display: block;
    height: 100%;
}

.post-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}

.post-card-body {
    padding: 14px 16px 16px;
}

.post-meta {
    font-size: .82rem;
    margin-bottom: 6px;
}

.post-meta.highlight {
    color: #16a34a;
    font-weight: 600;
}

.post-meta.normal {
    color: #6b7280;
}

.post-card-title {
    font-size: .98rem;
    line-height: 1.5;
    margin: 0;
}

.post-card-title.green {
    color: #15803d;
    font-weight: 700;
}

.post-card-title.dark {
    color: #111827;
    font-weight: 600;
}

@media (max-width:768px) {
    .article-top {
        margin-top: 24px;
    }

    .page-title {
        font-size: 1.4rem;
    }
}

.vn-breadcrumb {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 0 0;
    font-size: 0.75rem;
    flex-wrap: nowrap;
    overflow: hidden;
}

.vn-breadcrumb a {
    color: #94a3b8;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s;
}

.vn-breadcrumb a:hover {
    color: var(--theme-primary);
}

.vn-breadcrumb .sep {
    color: #cbd5e1;
    flex-shrink: 0;
}

.vn-breadcrumb .current {
    color: #374151;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

/* Banner hero */
.vn-hero {
    position: relative;
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(135deg, #0c4c29 0%, #1a7a45 100%);
    margin: 12px 0 0;
    min-height: 220px;
}

.vn-hero-img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

.vn-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.08) 60%, transparent 100%);
}

.vn-hero-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 24px 22px;
}

.vn-hero-badge {
    display: inline-block;
    background: var(--theme-primary, #0c4c29);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 10px;
    border-radius: 6px;
    margin-bottom: 8px;
}

.vn-hero-title {
    color: #fff;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 6px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.vn-hero-meta {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 12px;
}

/* No-image hero */
.vn-hero-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    padding: 40px 20px;
}

.vn-hero-icon i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Article body */
.vn-article {
    max-width: 820px;
    margin: 28px auto 48px;
    padding: 0 4px;
}

.vn-subtitle {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 20px;
    font-weight: 500;
}

.vn-content {
    font-size: 1rem;
    line-height: 1.85;
    color: #1e293b;
}

.vn-content p {
    margin-bottom: 1.2rem;
}

.vn-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    margin: 20px auto;
}

/* Related */
.vn-related {
    background: #f8fafc;
    padding: 36px 0 52px;
    border-top: 1px solid #f1f5f9;
}

.vn-related-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.vn-related-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.vn-related-nav {
    display: flex;
    gap: 8px;
}

.vn-related-nav button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
}

.vn-related-nav button:hover {
    background: var(--theme-primary);
    border-color: var(--theme-primary);
    color: #fff;
}

/* ===== Spotlight related products (cuÃ¡Â»â€˜i bÃƒÂ i viÃ¡ÂºÂ¿t / thÃƒÂ´ng bÃƒÂ¡o) ===== */
.vn-related-spotlight {
    position: relative;
    padding: 56px 0 64px;
    background:
        radial-gradient(1200px 320px at 50% -60px, rgba(var(--theme-primary-rgb), .08), transparent 70%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-top: 1px solid #eef2f7;
}

.vn-spotlight-head {
    text-align: center;
    margin-bottom: 32px;
    position: relative;
}

.vn-spotlight-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--theme-primary);
    background: rgba(var(--theme-primary-rgb), 0.08);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.vn-spotlight-title {
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.01em;
    margin: 0 0 8px;
}

.vn-spotlight-sub {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0 auto;
    max-width: 520px;
    line-height: 1.55;
}

.vn-spotlight-head .vn-related-nav {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.vn-spotlight-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.vn-spotlight-grid.is-single {
    grid-template-columns: minmax(0, 420px);
    justify-content: center;
}

.vn-spotlight-grid.is-double {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
}

.vn-spot-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: transform .25s cubic-bezier(.4, 0, .2, 1), box-shadow .25s, border-color .25s;
}

.vn-spot-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    border-color: rgba(var(--theme-primary-rgb), 0.45);
    color: inherit;
}

.vn-spot-card:hover .vn-spot-cta {
    background: var(--theme-primary);
    color: #fff;
    gap: 10px;
}

.vn-spot-card:hover .vn-spot-cta i {
    transform: translateX(2px);
}

.vn-spot-card:hover .vn-spot-media img {
    transform: scale(1.05);
}

.vn-spot-media {
    position: relative;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, #f1f5f9 0%, #ffffff 100%);
    overflow: hidden;
}

.vn-spot-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 22px;
    transition: transform .4s ease;
    display: block;
}

.vn-spot-rank {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--theme-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    box-shadow: 0 4px 12px rgba(var(--theme-primary-rgb), 0.35);
}

.vn-spot-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.vn-spot-eyebrow {
    font-size: 0.68rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.vn-spot-eyebrow i {
    color: var(--theme-primary);
}

.vn-spot-name {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
}

.vn-spot-meta {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 2px;
}

.vn-spot-price {
    font-size: 1.18rem;
    font-weight: 900;
    color: #ef3c2d;
    line-height: 1;
}

.vn-spot-price--contact {
    color: var(--theme-primary);
    font-size: 1rem;
}

.vn-spot-unit {
    font-size: 0.78rem;
    color: #94a3b8;
    font-weight: 500;
}

.vn-spot-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(var(--theme-primary-rgb), 0.08);
    color: var(--theme-primary);
    padding: 9px 14px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.86rem;
    align-self: flex-start;
    transition: all .2s ease;
}

.vn-spot-cta i {
    font-size: 1.05rem;
    transition: transform .2s ease;
}

.vn-spot-card--banner .vn-spot-media {
    aspect-ratio: 16 / 10;
}

.vn-spot-card--banner .vn-spot-media img {
    object-fit: cover;
    padding: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .vn-spotlight-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .vn-spotlight-grid.is-triple {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: 0 auto;
    }

    .vn-spot-media img {
        padding: 16px;
    }

    .vn-spot-body {
        padding: 12px 14px 14px;
    }

    .vn-spot-name {
        font-size: 0.92rem;
        min-height: auto;
    }

    .vn-spot-price {
        font-size: 1.05rem;
    }

    .vn-related-spotlight {
        padding: 36px 0 44px;
    }
}

@media (max-width: 480px) {
    .vn-spotlight-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
    }
}

.post-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
}

.post-grid::-webkit-scrollbar {
    display: none;
}

.post-card {
    flex: 0 0 240px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e8edf2;
    scroll-snap-align: start;
    transition: box-shadow 0.2s;
}

.post-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.post-card a {
    color: inherit;
    text-decoration: none;
    display: block;
}

.post-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.post-card-body {
    padding: 12px 14px;
}

.post-card-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-price {
    font-size: 0.85rem;
    font-weight: 800;
    color: #ef4444;
}

.post-card-date {
    font-size: 0.72rem;
    color: #94a3b8;
    margin-top: 4px;
}

.transition-all {
    transition: all 0.3s ease;
}

#notice-detail-content.loaded {
    opacity: 1 !important;
}

@media (max-width: 768px) {
    .vn-hero-title {
        font-size: 1.1rem;
    }

    .vn-hero-body {
        padding: 16px;
    }

    .vn-article {
        margin-top: 20px;
    }

    .post-card {
        flex: 0 0 200px;
    }
}


/* CSS Grid Control via JS Variables */
.shopping.product-list-container {
    display: grid !important;
    grid-template-columns: repeat(var(--pc-cols, 6), minmax(0, 1fr)) !important;
    gap: 16px;
}

@media (max-width: 768px) {
    .shopping.product-list-container {
        grid-template-columns: repeat(var(--mobile-cols, 2), minmax(0, 1fr)) !important;
    }
}


/* HERO SECTION IN HOME USER */
.home-hero-section {
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    max-width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: -12px;
    margin-bottom: 24px;
    background: #0f172a;
    overflow: hidden
}

/* Prevent horizontal scrollbar caused by 100vw including the vertical scrollbar */
html,
body {
    overflow-x: clip;
}

.home-hero-carousel,
.home-hero-carousel .carousel-inner,
.home-hero-carousel .carousel-item {
    height: 62vh;
    min-height: 360px;
    max-height: 560px
}

.home-hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat
}

.home-hero-slide[data-slide-index="0"] {
    background-image: url('<?= h($baseUrl) ?>/image/bg-rust-oleum.jpg'), linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
    background-color: #0f172a
}

.home-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none
}

.home-hero-slide .home-hero-overlay {
    z-index: 1
}

.home-hero-slide .home-hero-content {
    z-index: 2
}

.home-hero-slide[data-slide-index="1"] {
    background-image: linear-gradient(135deg, #7c3aed 0%, #1e1b4b 100%)
}

.home-hero-slide[data-slide-index="2"] {
    background-image: linear-gradient(135deg, #0d9488 0%, #064e3b 100%)
}

.home-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .45) 100%);
    pointer-events: none
}

.home-hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    padding: 0 24px;
    text-align: center
}

.home-hero-eyebrow {
    display: inline-block;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .18em;
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    margin-bottom: 18px;
    opacity: .92
}

/* Premium typography and multi-layered gradient for home hero title */
.home-hero-title {
    font-size: clamp(2rem, 4.6vw, 3.8rem);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.home-hero-title .title-primary {
    background: linear-gradient(180deg, #ffffff 40%, #e2e8f0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
    display: block;
}

.home-hero-title .title-secondary {
    font-size: clamp(1.4rem, 3.3vw, 2.6rem);
    font-weight: 800;
    background: linear-gradient(120deg, #86efac 0%, #22c55e 30%, #fef08a 70%, #22c55e 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 20px rgba(34, 197, 94, 0.25));
    display: block;
    animation: heroTitleShine 6s ease infinite;
}

@keyframes heroTitleShine {
    0% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }

    100% {
        background-position: 0% center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero-title .title-secondary {
        animation: none;
    }
}

.home-hero-desc {
    font-size: clamp(.95rem, 1.4vw, 1.15rem);
    opacity: .92;
    margin: 0 0 26px;
    line-height: 1.6
}

.home-hero-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap
}

.home-hero-btn {
    padding: .7rem 1.6rem;
    font-weight: 600;
    border-radius: 999px
}

.home-hero-indicators {
    margin: 0 15% 72px;
    gap: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0
}

.home-hero-indicators [data-bs-target] {
    flex: 0 0 auto;
    width: 26px;
    height: 5px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .32);
    opacity: 1;
    transition: width .35s ease, background .35s ease, box-shadow .35s ease;
    cursor: pointer
}

.home-hero-indicators [data-bs-target]:hover {
    background: rgba(255, 255, 255, .6)
}

.home-hero-indicators .active {
    width: 44px;
    background: #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, .5)
}

@media (max-width: 575.98px) {
    .home-hero-indicators {
        margin-bottom: 48px;
        gap: 8px
    }

    .home-hero-indicators [data-bs-target] {
        width: 20px;
        height: 4px
    }

    .home-hero-indicators .active {
        width: 32px
    }
}

.home-hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 3;
    text-decoration: none;
    animation: heroBounce 2s infinite
}

.home-hero-scroll:hover {
    background: rgba(255, 255, 255, .3);
    color: #fff
}

@keyframes heroBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0)
    }

    50% {
        transform: translateX(-50%) translateY(6px)
    }
}

@media (max-width: 575.98px) {

    .home-hero-carousel,
    .home-hero-carousel .carousel-inner,
    .home-hero-carousel .carousel-item {
        height: 50vh;
        min-height: 300px
    }

    .home-hero-indicators {
        margin-bottom: 32px
    }
}

/* =================== WHY SON XIT =================== */
#why-son-xit {
    background: url('/page_home/img/why-son-xit.png') center center / cover no-repeat;
}

.why-son-xit-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.72);
    z-index: 1;
    pointer-events: none;
}

.why-son-xit-content {
    padding: 48px 16px;
}

.why-son-xit-points {
    padding-left: 1.1rem;
    color: #1f2937;
    font-size: 1rem;
    line-height: 1.7;
}

.why-son-xit-table-wrap {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
}

.why-son-xit-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.86rem;
    color: #1f2937;
}

.why-son-xit-table th,
.why-son-xit-table td {
    padding: 8px 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    text-align: left;
    vertical-align: middle;
}

.why-son-xit-table thead th {
    background: rgba(191, 167, 106, 0.18);
    color: #2d2a22;
    font-weight: 700;
    font-size: 0.82rem;
}

.why-son-xit-table tbody tr:last-child td {
    border-bottom: none;
}

.why-preview-wrapper {
    position: relative;
    padding-bottom: 30px;
    padding-right: 30px;
}

.why-desktop-preview {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 1;
}

.why-desktop-preview img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    display: block;
}

.why-mobile-preview {
    position: absolute;
    bottom: -40px;
    right: -20px;
    width: 32%;
    z-index: 5;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.35));
    animation: thumping 2s infinite ease-in-out;
}

.why-mobile-preview:hover {
    transform: scale(1.05) rotate(2deg) translateY(-10px);
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.45));
}

.why-mobile-preview img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 991px) {
    .why-preview-wrapper {
        padding: 0;
        margin-bottom: 0px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .why-desktop-preview {
        display: none;
    }

    .why-mobile-preview {
        position: relative;
        width: 55%;
        max-width: 260px;
        bottom: auto;
        right: auto;
        filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.25));
    }
}

@media (max-width: 768px) {
    .why-son-xit-content {
        padding: 28px 8px;
    }
}

/* Simple Elegant Section Divider */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 28px 0;
}

.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e2e8f0;
    /* clean light border grey */
}

.section-divider::before {
    margin-right: 16px;
}

.section-divider::after {
    margin-left: 16px;
}

.divider-icon {
    font-size: 8px;
    color: var(--theme-primary);
    opacity: 0.6;
    display: flex;
    align-items: center;
}

/* Wizard steps progress bar */
.wizard-steps {
    display: flex;
    gap: 16px;
    margin-bottom: 1.5rem;
}

.wizard-step-node {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #ffffff;
    border: 1.5px solid #eef1f6;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.wizard-step-node:hover {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.wizard-step-node.active {
    background: #f5f9ff;
    border: 1.5px solid #2563eb;
}

.wizard-step-node.completed {
    background: #ffffff;
    border-color: #eef1f6;
}

.wizard-step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #eff1f5;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    flex-shrink: 0;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.wizard-step-node.active .wizard-step-circle {
    background: #2563eb;
    color: #ffffff;
}

.wizard-step-node.completed .wizard-step-circle {
    background: #eff1f5;
    color: #0f172a;
}

.wizard-step-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.wizard-step-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.wizard-step-subtitle {
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 3px;
    font-weight: 400;
}

/* Product picker modern restyling */
.product-picker {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    padding: 12px;
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.02);
}

.product-picker-toolbar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
    align-items: center;
}

.product-picker-list {
    max-height: 380px;
    overflow-y: auto;
    border: 1px solid #eef2f7;
    border-radius: 10px;
    padding: 10px;
    background: #f8fafc;
}

/* Collapsible tree layout for products */
.tree-node-product {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    margin-bottom: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.tree-node-product:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.tree-header {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    gap: 8px;
    user-select: none;
}

.tree-toggle-btn {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.tree-toggle-btn.collapsed {
    transform: rotate(-90deg);
}

.tree-content {
    border-top: 1px solid #f1f5f9;
    background: #fafafa;
    padding: 8px 12px 12px 36px;
}

/* Variant groups & variants style */
.tree-group-section {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #e2e8f0;
}

.tree-group-section:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.tree-group-header {
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tree-variants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 8px;
    margin-top: 6px;
}

.tree-variant-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    transition: all 0.15s ease;
}

.tree-variant-card:hover {
    border-color: #94a3b8;
    background: #f8fafc;
}

.tree-variant-card .variant-info {
    flex-grow: 1;
    min-width: 0;
}

.tree-variant-card .variant-name {
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tree-variant-card .variant-meta {
    font-size: 0.72rem;
    color: #64748b;
}

/* Bulk price input in variants for Mua thÃƒÂªm deal sÃ¡Â»â€˜c */
.tree-variant-price-input {
    width: 100px;
    margin-left: auto;
}

/* Quick status indicators */
.promo-status-active {
    color: #198754;
    font-weight: 600;
}

.promo-status-inactive {
    color: #dc3545;
    font-weight: 600;
}

/* Modern Page Header Restyling */
.header-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-icon:hover {
    transform: scale(1.08) rotate(3deg);
    background-color: rgba(12, 76, 41, 0.12) !important;
    border-color: rgba(12, 76, 41, 0.25) !important;
}

#btnNewPromo {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-radius: 10px !important;
    background-color: var(--theme-primary, #0c4c29) !important;
    border: none !important;
}

#btnNewPromo:hover {
    background-color: #08341c !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(12, 76, 41, 0.25) !important;
}

#btnNewPromo:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(12, 76, 41, 0.2) !important;
}



/* Streamlined Table CSS Overrides */
#promoTable {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100% !important;
}

#promoTable thead th {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: #475569 !important;
    padding: 12px 16px !important;
    border-bottom: 2px solid var(--order-border, #e5e7eb) !important;
    background-color: #f8fafc !important;
}

#promoTable tbody td {
    padding: 10px 16px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    vertical-align: middle !important;
    font-size: 0.88rem !important;
}

#promoTable tbody tr {
    transition: background-color 0.15s ease !important;
}

#promoTable tbody tr:hover {
    background-color: rgba(12, 76, 41, 0.015) !important;
}

/* Sleek Actions */
.voucher-actions .btn {
    width: 28px !important;
    height: 28px !important;
    border-radius: 8px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.82rem !important;
    transition: all 0.2s ease !important;
    margin-right: 4px;
    border: 1px solid #e2e8f0 !important;
    background: #fff;
}

.voucher-actions .btn-outline-secondary {
    color: #64748b !important;
}

.voucher-actions .btn-outline-secondary:hover {
    background-color: #f1f5f9 !important;
    color: #334155 !important;
    border-color: #cbd5e1 !important;
}

.voucher-actions .btn-outline-primary {
    color: var(--order-primary, #2563eb) !important;
}

.voucher-actions .btn-outline-primary:hover {
    background-color: rgba(37, 99, 235, 0.05) !important;
    border-color: var(--order-primary, #2563eb) !important;
}

.voucher-actions .btn-outline-danger {
    color: #ef4444 !important;
}

.voucher-actions .btn-outline-danger:hover {
    background-color: rgba(239, 68, 68, 0.05) !important;
    border-color: #ef4444 !important;
}

/* Drag Handle Style */
.drag-handle {
    cursor: grab;
    color: #cbd5e1;
    transition: color 0.15s ease;
}

.drag-handle:hover {
    color: #64748b;
}

.drag-handle:active {
    cursor: grabbing;
}

.sortable-ghost {
    opacity: 0.4;
    background-color: #f8fafc !important;
}

/* Collapsible Product List in Campaign Detail Modal */
.promo-product-list-wrapper {
    position: relative;
    margin-top: 4px;
}

.promo-product-list {
    list-style-type: disc !important;
    padding-left: 20px !important;
}

.promo-product-list li {
    font-size: 0.86rem;
    color: #475569;
    margin-bottom: 4px;
    line-height: 1.4;
}

.promo-list-toggle-btn {
    font-size: 0.78rem !important;
    color: var(--theme-primary, #0c4c29) !important;
    transition: all 0.2s ease !important;
}

.promo-list-toggle-btn:hover {
    color: #08341c !important;
    text-decoration: underline !important;
}


.banner-preview {
    height: 160px;
    width: 100%;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.banner-preview:hover {
    border-color: var(--theme-primary, #0c4c29);
    background: #f1f5f9;
}

.banner-preview img,
.banner-preview video {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.carousel-thumb {
    width: 80px;
    height: 56px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    object-fit: cover;
    background: #fff;
}

.drag-handle {
    cursor: grab;
    color: #64748b;
}

.carousel-table tbody tr.dragging {
    opacity: 0.45;
    background: #f1f5f9;
}


.notice-shell {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 18px;
}

.notice-card {
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
    overflow: hidden;
}

.notice-card-header {
    padding: 14px 18px;
    border-bottom: 1px solid #edf2f7;
    background: #f8fafc;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notice-card-body {
    padding: 18px;
}

.notice-section {
    border: 1px solid #edf2f7;
    border-radius: 12px;
    padding: 12px;
    background: #fff;
    margin-bottom: 12px;
}

.notice-section-title {
    font-weight: 700;
    font-size: .95rem;
    margin-bottom: 8px;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notice-snippet {
    font-size: .85rem;
    color: #64748b;
}

.notice-preview {
    border: 1px dashed #d7deea;
    border-radius: 14px;
    padding: 14px;
    background: #fbfdff;
    height: 420px;
    overflow: auto;
}

.preview-title {
    font-weight: 800;
    font-size: 1rem;
    color: #0f172a;
}

.preview-meta {
    font-size: .8rem;
    color: #64748b;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.preview-body {
    font-size: .92rem;
    color: #0f172a;
    margin-top: 10px;
    line-height: 1.6;
}

.preview-badge {
    font-size: .7rem;
    padding: 2px 8px;
    border-radius: 999px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.badge-info {
    background: #e0f2fe;
    color: #0369a1;
}

.badge-success {
    background: #dcfce7;
    color: #166534;
}

.badge-warn {
    background: #fef3c7;
    color: #92400e;
}

.wp-editor-shell {
    border: 1px solid #d7deea;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .05);
}

.wp-editor-content {
    min-height: 220px;
    max-height: 520px;
    overflow: auto;
    padding: 14px;
    font-size: .96rem;
    line-height: 1.8;
    color: #0f172a;
    outline: none;
}

.wp-editor-content:empty:before {
    content: attr(data-placeholder);
    color: #94a3b8;
}

.wp-editor-content h2,
.wp-editor-content h3,
.wp-editor-content h4 {
    margin: 0 0 10px;
    font-weight: 800;
    line-height: 1.35;
    color: #0f172a;
}

.wp-editor-content p {
    margin: 0 0 10px;
}

.wp-editor-content ul,
.wp-editor-content ol {
    padding-left: 20px;
    margin: 0 0 10px;
}

.wp-editor-content blockquote {
    margin: 0 0 12px;
    padding: 10px 14px;
    border-left: 4px solid var(--theme-primary);
    background: #f8fafc;
    color: #334155;
    border-radius: 8px;
}

.wp-editor-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.wp-editor-content iframe {
    max-width: 100%;
    width: 100%;
    min-height: 280px;
    border: 0;
    border-radius: 12px;
    background: #000;
    margin: 8px 0;
}

.wp-editor-content a.btn {
    display: inline-block;
    margin: 6px 0;
}

.wp-editor-shell.is-mce .wp-editor-content {
    padding: 0;
    min-height: 0;
    max-height: none;
}

.wp-editor-shell--wide .wp-editor-content {
    min-height: 420px;
    max-height: 720px;
    font-size: .98rem;
}

.wp-editor-shell--wide.is-mce .tox-tinymce {
    min-height: 460px !important;
}

.notice-content-block {
    grid-column: 1 / -1;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 2px dashed #e2e8f0;
}

.notice-content-block>.d-flex {
    padding: 0 2px;
}

.notice-builder-grid {
    display: grid;
    gap: 10px;
}

.notice-thumb-preview {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 1px solid #dbe4f0;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.notice-thumb-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.notice-thumb-preview i {
    font-size: 1.2rem;
    color: #334155;
}

.notice-banner-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.notice-banner-grid .form-control {
    font-size: .82rem;
}

.notice-preview-card {
    border: 1px solid #e6edf7;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
}

.notice-preview-hero {
    width: 100%;
    height: 140px;
    background: #f8fafc;
    border-bottom: 1px solid #eef2f7;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notice-preview-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.notice-preview-hero i {
    font-size: 2rem;
    color: #dbe4f0;
}

.notice-preview-main {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 12px;
    padding: 12px;
}

.notice-preview-thumb {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.notice-preview-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.notice-preview-thumb i {
    font-size: 1.5rem;
    color: #334155;
}

.notice-preview-head {
    display: grid;
    gap: 4px;
}

.notice-preview-title {
    font-weight: 800;
    font-size: .98rem;
    color: #0f172a;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notice-preview-subtitle {
    font-size: .82rem;
    color: #64748b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notice-preview-content {
    font-size: .88rem;
    color: #334155;
    line-height: 1.5;
}

.notice-preview-content img,
.notice-preview-content video,
.notice-preview-content iframe {
    max-width: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: 10px;
}

.notice-preview-cta {
    margin-top: 6px;
}

.notice-preview-footer {
    border-top: 1px solid #eef2f7;
    padding: 10px 12px;
    display: grid;
    gap: 6px;
    align-items: stretch;
}

.notice-preview-banners {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.notice-preview-banners img {
    width: 46px;
    height: 46px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.notice-preview-footer.is-cover-layout {
    display: grid;
    gap: 8px;
    align-items: stretch;
}

.notice-preview-footer.is-cover-layout .notice-preview-time {
    justify-self: end;
}

.notice-preview-banners.is-cover {
    display: block;
    width: 100%;
}

.notice-preview-banners.is-cover img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    display: block;
}

.notice-preview-time {
    font-size: .7rem;
    color: #64748b;
    font-weight: 600;
    justify-self: end;
    line-height: 1.2;
}

.notice-hide {
    display: none !important;
}

.notice-product-preview {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 16px;
    border: 1px solid #dee2e6;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.notice-product-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.notice-product-preview i {
    font-size: 1.5rem;
    color: #adb5bd;
    transition: all 0.3s ease;
}

.notice-product-slot {
    position: relative;
    transition: all 0.3s ease;
}

.notice-product-slot:hover .notice-product-preview {
    border-color: var(--bs-primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.notice-product-slot:hover .notice-product-preview img {
    transform: scale(1.08);
}

.notice-product-slot:hover .notice-product-preview i {
    color: var(--bs-primary);
    transform: scale(1.1);
}

.notice-product-slot-tools {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
    display: flex;
    gap: 5px;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.25s ease-out;
}

.notice-product-slot:hover .notice-product-slot-tools {
    opacity: 1;
    transform: translateY(0);
}

.notice-product-slot-tools .btn {
    width: 30px;
    height: 30px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #dee2e6;
    color: #495057;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.notice-product-slot-tools .btn:hover {
    background: #fff;
    border-color: var(--bs-primary);
    color: var(--bs-primary);
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.notice-product-slot-tools .btn-light:hover {
    color: var(--bs-danger);
    border-color: var(--bs-danger-border-subtle);
}

.notice-template-picker {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #dbe4f0;
    border-radius: 10px;
    background: #f8fafc;
}

.notice-template-label {
    font-size: .84rem;
    font-weight: 700;
    color: #0f172a;
}

.notice-template-btn {
    font-size: .8rem;
    font-weight: 700;
}

.notice-template-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.notice-template-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px;
    background: #fff;
    cursor: pointer;
    display: grid;
    gap: 8px;
    transition: all .15s ease;
}

.notice-template-item:hover {
    border-color: var(--theme-primary);
    box-shadow: 0 8px 18px rgba(15, 23, 42, .08);
    transform: translateY(-1px);
}

.notice-template-item h6 {
    margin: 0;
    font-size: .86rem;
    font-weight: 800;
    color: #0f172a;
}

.notice-template-demo {
    border: 1px solid #e6edf7;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.notice-template-demo-main {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 8px;
    padding: 8px;
}

.notice-template-demo-thumb {
    width: 54px;
    height: 54px;
    border-radius: 10px;
    border: 1px solid #dbe4f0;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.notice-template-demo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.notice-template-demo-thumb i {
    font-size: 1rem;
    color: #64748b;
}

.notice-template-demo-lines {
    display: grid;
    gap: 4px;
    align-content: start;
}

.notice-template-demo-line {
    height: 6px;
    border-radius: 999px;
    background: #dbe4f0;
}

.notice-template-demo-line.w-85 {
    width: 85%;
}

.notice-template-demo-line.w-70 {
    width: 70%;
}

.notice-template-demo-line.w-55 {
    width: 55%;
}

.notice-product-slot:hover {
    z-index: 11;
}

.notice-product-slot .notice-product-preview:after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.02);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: inherit;
}

.notice-product-slot:hover .notice-product-preview:after {
    opacity: 1;
}

.notice-template-demo-footer {
    border-top: 1px solid #eef2f7;
    padding: 7px 8px;
    display: flex;
    gap: 6px;
    align-items: center;
    min-height: 38px;
}

.notice-template-demo-chip {
    display: block;
    height: 22px;
    border-radius: 7px;
    border: 1px solid #dbe4f0;
    background: #f8fafc;
}

.notice-template-demo-chip.full {
    width: 100%;
}

.notice-template-demo-chip.sm {
    width: 22px;
}

.notice-template-demo-chip.blue {
    background: #eff6ff;
}

.notice-template-demo-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.notice-template-demo-label {
    font-size: .75rem;
    color: #64748b;
}

.notice-thumb-upload-meta {
    font-size: .78rem;
    color: #64748b;
    min-height: 18px;
    display: flex;
    align-items: center;
}

.notice-product-meta {
    font-size: .72rem;
    font-weight: 600;
    color: #64748b;
    margin-top: 6px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.notice-picker-empty {
    font-size: .82rem;
    color: #64748b;
    padding: 10px;
    border: 1px dashed #dbe4f0;
    border-radius: 10px;
    background: #f8fafc;
}

.product-picker {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    padding: 10px;
}

.product-picker-toolbar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.product-picker-list {
    max-height: 220px;
    overflow: auto;
    border: 1px solid #eef2f7;
    border-radius: 8px;
    padding: 8px;
    background: #f8fafc;
    display: grid;
    gap: 6px;
}

.product-picker-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.product-picker-item .meta {
    color: #64748b;
    font-size: .78rem;
}

.product-picker-item.active {
    border-color: var(--bs-primary);
    background: rgba(13, 110, 253, 0.05);
    box-shadow: 0 0 0 1px var(--bs-primary);
}

.product-picker-item.jsNotifyUserPick {
    cursor: pointer;
    transition: all 0.2s ease;
}

.product-picker-item.jsNotifyUserPick:hover {
    border-color: var(--bs-primary);
    background: #fbfdff;
}

.thin-scroll::-webkit-scrollbar {
    width: 4px;
}

.thin-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.thin-scroll::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.thin-scroll::-webkit-scrollbar-thumb:hover {
    background: #999;
}

.product-picker-empty {
    color: #64748b;
    font-size: .84rem;
    text-align: center;
    padding: 8px;
}

.recent-filter-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 12px;
}

.recent-filter-bar .form-select {
    min-width: 150px;
    max-width: 220px;
}

.recent-table-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.recent-table-head,
.recent-table-row {
    display: grid;
    grid-template-columns: 72px 1.5fr 90px 110px 120px 120px 140px;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
}

.recent-table-head {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-size: .76rem;
    font-weight: 800;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.recent-table-body {
    display: grid;
    gap: 8px;
    padding: 8px;
}

.recent-table-row {
    border: 1px solid #edf2f7;
    border-radius: 10px;
    background: #fff;
}

.recent-table-row.recent-row-flash {
    animation: recentRowFlash 1.4s ease;
}

.recent-title {
    font-weight: 700;
    font-size: .86rem;
    color: #0f172a;
    line-height: 1.35;
}

.recent-sub {
    font-size: .78rem;
    color: #64748b;
    line-height: 1.35;
    margin-top: 2px;
}

.recent-cell {
    font-size: .82rem;
    color: #334155;
}

.recent-actions .btn {
    height: 30px;
}

.recent-skeleton {
    display: grid;
    gap: 8px;
    padding: 8px;
}

.skeleton-row {
    border: 1px solid #edf2f7;
    border-radius: 10px;
    background: #fff;
    padding: 10px 12px;
    display: grid;
    gap: 8px;
}

.skeleton-line {
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, #e2e8f0 20%, #f1f5f9 38%, #e2e8f0 58%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.05s linear infinite;
}

.skeleton-line.w-100 {
    width: 100%;
}

.skeleton-line.w-80 {
    width: 80%;
}

.char-counter {
    font-size: .68rem;
    color: #94a3b8;
    margin-top: 2px;
    display: block;
    text-align: right;
}

.skeleton-line.w-60 {
    width: 60%;
}

.skeleton-line.w-35 {
    width: 35%;
}

/* Multi-step modal styles */
.step-container {
    display: none;
}

.step-active {
    display: block;
}

.step-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #edf2f7;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    font-weight: 600;
    font-size: .9rem;
}

.step-item.active {
    color: var(--theme-primary);
}

.step-item.active .step-number {
    background: var(--theme-primary);
    color: #fff;
    border-color: var(--theme-primary);
}

.step-number {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
}

.step-line {
    flex-grow: 0;
    width: 40px;
    height: 2px;
    background: #e2e8f0;
}

.step-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #edf2f7;
}

.btn-back {
    color: #64748b;
}

.btn-back:hover {
    color: #0f172a;
}

.recent-empty {
    padding: 16px;
    border: 1px dashed #dbe4f0;
    border-radius: 10px;
    background: #f8fafc;
    color: #64748b;
    font-size: .84rem;
}

@keyframes skeletonShimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@keyframes recentRowFlash {
    0% {
        background: #fff7d6;
        border-color: #facc15;
    }

    100% {
        background: #fff;
        border-color: #edf2f7;
    }
}

@media (max-width: 992px) {
    .notice-shell {
        grid-template-columns: 1fr;
    }

    .notice-template-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .notice-product-picker-shell {
        grid-template-columns: 1fr;
    }

    .recent-table-head {
        display: none;
    }

    .recent-table-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}

.js-drag-handle {
    cursor: grab;
    color: #adb5bd;
    transition: color 0.2s;
}

.js-drag-handle:hover {
    color: var(--bs-primary);
}

.sortable-ghost {
    opacity: 0.4;
    background: #f8fafc !important;
}

#notifyComposeModal {
    z-index: 1055;
}

/* Return reason options styling */
.reason-option-card {
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease-in-out;
    background-color: #fff;
    cursor: pointer;
}

.reason-option-card:hover {
    border-color: var(--theme-primary, #0c4c29);
    background-color: rgba(12, 76, 41, 0.02);
}

.reason-option-card.selected,
.reason-option-card:has(input:checked) {
    border-color: var(--theme-primary, #0c4c29);
    background-color: rgba(12, 76, 41, 0.05);
    box-shadow: 0 0 0 1px var(--theme-primary, #0c4c29);
}

.reason-option-card input[type="radio"]:checked+label,
.reason-option-card.selected label {
    color: var(--theme-primary, #0c4c29) !important;
    font-weight: 600;
}