/* ==================================================
   SIÊU NÂNG CẤP CSS - HIỆU ỨNG ĐỈNH CAO V2.0
   Tối ưu menu, card, button, skeleton, dark mode, animations
   ================================================== */

/* ----- CSS VARIABLES TOÀN CỤC (Dễ dàng tùy chỉnh theme) ----- */
:root {
    /* Màu chính */
    --primary: #2563eb;
    --primary1: #1e40af;
    --primary-light: #60a5fa;
    --primary-dark: #1e3a8a;
    --secondary: #f59e0b;
    --secondary-dark: #d97706;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #fbbf24;
    --info: #3b82f6;
    
    /* Màu nền & chữ */
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --heading: #0f172a;
    
    /* Border & Shadow */
    --border-color: #e2e8f0;
    --border-radius-sm: 0.375rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Transition */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 350ms ease;
    
    /* Z-index layers */
    --z-fixed: 100;
    --z-modal: 200;
    --z-popover: 300;
    --z-tooltip: 400;
}

/* Dark mode (tự động theo hệ thống hoặc gắn class .dark-mode) */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-body: #0f172a;
        --bg-card: #1e293b;
        --text-primary: #f1f5f9;
        --text-secondary: #cbd5e1;
        --text-muted: #64748b;
        --heading: #f8fafc;
        --border-color: #334155;
        --primary: #3b82f6;
        --primary1: #2563eb;
    }
}
/* Nếu muốn bật dark mode bằng class */
.dark-mode {
    --bg-body: #0f172a;
    --bg-card: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    --heading: #f8fafc;
    --border-color: #334155;
    --primary: #3b82f6;
    --primary1: #2563eb;
}

/* ----- RESET & BASE CẢI TIẾN ----- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-body);
    color: var(--text-primary);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Cải thiện focus cho accessibility */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: var(--border-radius-sm);
}



/* Ẩn hoàn toàn scrollbar trên toàn bộ trang web */
::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}
html, body {
    -ms-overflow-style: none !important;  /* IE and Edge */
    scrollbar-width: none !important;  /* Firefox */
}

/* ===== HEADER & WIDGET ===== */
.header-widget span {
    font-size: 14px;
    font-weight: 500;
    margin-left: 8px;
    letter-spacing: 0.3px;
    white-space: nowrap;
    text-align: left;
    line-height: 20px;
    color: var(--heading);
    transition: all var(--transition-normal);
}

.content_html ul {
    list-style-type: disc !important;
    padding-left: 40px;
    margin: 0;
}

.footer-part {
    padding-top: 30px;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
}

.footer-copytext a {
    color: var(--bg-card);
    transition: color var(--transition-fast);
}
.footer-copytext a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.header-logo img {
    height: 70px;
    transition: transform var(--transition-fast);
}
.header-logo img:hover {
    transform: scale(1.02);
}

/* ===== MENU TRÁI - SIÊU MƯỢT ===== */
#top-menu-left {
    position: fixed;
    left: 0;
    top: 100px;
    z-index: var(--z-fixed);
    width: 50px;
}
#top-menu-left li {
    display: flex;
    justify-content: flex-start;
    list-style: none;
    margin-bottom: -5px;
}
#top-menu-left i {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
    transition: all var(--transition-fast);
}
#top-menu-left i img {
    border-radius: 50%;
    height: 24px;
    width: 24px;
    transition: transform var(--transition-fast);
}
#top-menu-left li a {
    background: var(--bg-card);
    border-radius: 0 10px 10px 0;
    box-shadow: var(--shadow-md);
    display: inline-flex;
    align-items: center;
    color: var(--text-primary);
    font-size: 13px;
    width: 195px;
    margin-left: 0px;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 1px solid transparent;
    border-left: none;
}
#top-menu-left li a:hover {
    background: var(--primary-light);
    color: white;
    transform: translateX(2px);
    border-color: var(--primary);
}
#top-menu-left span {
    padding: 10px 0 10px 10px;
    width: 140px;
    font-weight: 500;
}
#top-menu-left li a.active {
    background: var(--primary);
    margin-left: 0;
    color: #fff;
    width: 195px;
    margin-left: -143px;
    box-shadow: var(--shadow-lg);
}
body:not(.scrolling) #top-menu-left li a:not(.active) {
    width: 60px;
    overflow: hidden;
}
body:not(.scrolling) #top-menu-left li a:not(.active) span {
    display: none;
}
#top-menu-left:hover li a:hover span {
    display: block !important;
}
@media screen and (min-width: 768px) {
    #top-menu-left:hover li a:hover {
        width: 195px !important;
    }
}
@media screen and (min-width: 1401px) {
    #top-menu-left li a {
        margin-left: 0px;
        font-size: 16px;
    }
    #top-menu-left i {
        margin: 12px;
        width: 36px;
        height: 36px;
    }
    #top-menu-left span {
        padding: 15px 0 15px 15px;
        width: 165px;
    }
    #top-menu-left i img {
        height: 28px;
        width: 28px;
    }
    #top-menu-left li a.active {
        width: 240px;
        margin-left: -188px;
    }
}
@media screen and (max-width: 767px) {
    #top-menu-left,
    #top-menu-left li {
        pointer-events: none;
    }
    #top-menu-left i img {
        border-radius: 30%;
    }
    #top-menu-left i {
        border-radius: 30%;
        background: rgba(255,255,255,0.9);
    }
    #top-menu-left span {
        visibility: hidden;
        opacity: 0;
    }
    #top-menu-left li a.active span {
        visibility: visible;
        opacity: 1;
    }
    #top-menu-left li a {
        width: 58px;
        height: 45px;
        pointer-events: auto;
    }
    #top-menu-left li a.active {
        width: 145px;
    }
}

/* ===== MENU PHẢI - SIÊU MƯỢT ===== */
#top-menu-right {
    position: fixed;
    right: 0;
    top: 105px;
    z-index: var(--z-fixed);
    width: 50px;
}
#top-menu-right li {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    margin-bottom: -5px;
}
#top-menu-right i {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
}
#top-menu-right i img {
    border-radius: 50%;
    height: 24px;
    width: 24px;
}
#top-menu-right li a {
    background: var(--bg-card);
    border-radius: 10px 0 0 10px;
    box-shadow: var(--shadow-md);
    display: inline-flex;
    align-items: center;
    color: var(--text-primary);
    font-size: 13px;
    width: 195px;
    margin-right: 0px;
    cursor: pointer;
    transition: all var(--transition-normal);
}
#top-menu-right li a:hover {
    background: var(--primary-light);
    color: white;
    transform: translateX(-2px);
}
#top-menu-right span {
    padding: 10px 10px 10px 0;
    width: 140px;
}
#top-menu-right li a.active {
    background: var(--primary);
    margin-right: 0;
    color: #fff;
    width: 195px;
    margin-right: -143px;
}
body:not(.scrolling) #top-menu-right li a:not(.active) {
    width: 60px;
}
body:not(.scrolling) #top-menu-right li a:not(.active) span {
    display: none;
}
#top-menu-right:hover li a:hover span {
    display: block !important;
}
@media screen and (min-width: 768px) {
    #top-menu-right:hover li a:hover {
        width: 195px !important;
    }
}
@media screen and (min-width: 1401px) {
    #top-menu-right li a {
        font-size: 16px;
    }
    #top-menu-right i {
        margin: 12px;
        width: 36px;
        height: 36px;
    }
    #top-menu-right span {
        padding: 15px 15px 15px 0;
        width: 165px;
    }
    #top-menu-right i img {
        height: 28px;
        width: 28px;
    }
    #top-menu-right li a.active {
        width: 240px;
        margin-right: -188px;
    }
}
@media screen and (max-width: 767px) {
    #top-menu-right,
    #top-menu-right li {
        pointer-events: none;
    }
    #top-menu-right i img {
        border-radius: 30%;
    }
    #top-menu-right i {
        border-radius: 30%;
    }
    #top-menu-right span {
        visibility: hidden;
        opacity: 0;
    }
    #top-menu-right li a.active span {
        visibility: visible;
        opacity: 1;
    }
    #top-menu-right li a {
        width: 58px;
        height: 45px;
        pointer-events: auto;
    }
    #top-menu-right li a.active {
        width: 145px;
    }
}

/* ===== CARD PRODUCT BOX4 - ĐẸP HƠN, HIỆU ỨNG NÂNG ===== */
.product-box4 {
    margin-top: 10px;
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}
.product-box4:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}
.product-head-box4 {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    padding: 13px;
    background: rgba(245, 245, 245, 0.5);
}
.product-head-box4 img {
    height: 40px;
    transition: transform var(--transition-fast);
}
.product-head-box4 img:hover {
    transform: scale(1.05);
}
.product-head-box4 h4 {
    width: calc(100% - 40px);
    padding: 0 20px;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: var(--heading);
}
.product-body-box4 {
    border-bottom: 1px solid var(--border-color);
    padding: 15px;
    min-height: 186px;
}
.product-image-square {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}
.product-image-square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}
.product-image-square:hover img {
    transform: scale(1.05);
}
.product-image-box6 {
    width: 100px;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    margin-right: auto;
    margin-left: 0;
}
.product-image-box6 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}
.product-body-box4 p {
    margin-bottom: -4px;
    font-size: 14px;
    color: var(--text-secondary);
}
.product-body-box4 p i {
    color: var(--success);
    margin-right: 3px;
}
.product-footer-box4 {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}
.product-footer-box4 strong {
    display: block;
    font-size: 12px;
    margin-bottom: 5px;
    color: var(--text-secondary);
}
.product-footer-box4 img {
    height: 20px;
}
.border-end-box4 {
    border-right: 1px solid var(--border-color) !important;
}
.product-buttons-box4 {
    padding: 15px;
}
.price-box4 {
    text-align: right;
}
.price-box4 strong {
    font-size: 18px;
    color: var(--secondary);
    margin: 0;
}
.price-box4-not-discount,
.proce-box4-not-discount {
    font-size: 18px;
    color: var(--secondary);
    margin: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.price-box4 span {
    text-decoration: line-through;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}
.buy-btn-box4 {
    background: linear-gradient(135deg, var(--primary) 0, var(--primary1) 100%);
    border: 0;
    color: #fff !important;
    box-shadow: var(--shadow-md);
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-normal);
}
.buy-btn-box4:hover {
    transform: translateY(-2px) scale(1.02);
    filter: brightness(1.05);
    box-shadow: var(--shadow-lg);
}
.buy-btn-box4.disabled {
    text-transform: uppercase;
    background: var(--text-muted);
    color: var(--text-secondary);
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(0.2);
}
.more-btn-box4 {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-normal);
}
.more-btn-box4:hover {
    background-color: var(--primary);
    color: #fff !important;
    transform: translateX(3px);
}

/* ===== MODAL CẢI TIẾN ===== */
.modal-dialog {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 1.75rem auto;
}
.modal-content {
    position: relative;
    background-color: var(--bg-card);
    border-radius: var(--border-radius-lg);
    border: none;
    box-shadow: var(--shadow-xl);
}
.modal-header {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}
.modal-footer {
    padding: 0px;
    border-top: none;
}
.btn-close {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    transition: transform var(--transition-fast);
}
.btn-close:hover {
    transform: rotate(90deg);
}

/* ===== SKELETON LOADING - HIỆU ỨNG SHIMMER ĐẸP ===== */
.skeleton-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px 0;
}
.skeleton-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    padding: 20px;
    min-height: 120px;
    border: 1px solid var(--border-color);
}
.skeleton-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(90deg, var(--border-color) 25%, #e2e8f0 50%, var(--border-color) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--border-radius-md);
    flex-shrink: 0;
    margin-right: 20px;
}
.skeleton-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.skeleton-title,
.skeleton-text,
.skeleton-stock,
.skeleton-sales,
.skeleton-price,
.skeleton-button,
.skeleton-menu-title,
.skeleton-menu-item,
.skeleton-category-btn {
    background: linear-gradient(90deg, var(--border-color) 25%, #e2e8f0 50%, var(--border-color) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--border-radius-sm);
}
.skeleton-title {
    height: 18px;
    width: 80%;
}
.skeleton-text {
    height: 12px;
    width: 60%;
}
.skeleton-info {
    display: flex;
    gap: 15px;
    margin-top: 5px;
}
.skeleton-stock,
.skeleton-sales {
    height: 20px;
    width: 80px;
}
.skeleton-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    min-width: 120px;
}
.skeleton-price {
    height: 24px;
    width: 100px;
}
.skeleton-button {
    height: 35px;
    width: 100px;
}
.loading-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 30px 0;
}
.loading-dots span {
    width: 12px;
    height: 12px;
    background: linear-gradient(45deg, var(--primary) 0%, var(--primary1) 100%);
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}
.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }
.loading-text {
    text-align: center;
    color: var(--primary);
    font-weight: 500;
    margin-top: 10px;
    font-size: 14px;
}
.menu-skeleton {
    padding: 20px 0;
}
.skeleton-menu-title {
    height: 20px;
    margin-bottom: 15px;
    width: 60%;
}
.skeleton-menu-item {
    height: 16px;
    margin-bottom: 8px;
    width: 80%;
}
.home-categories-loading {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.skeleton-category-btn {
    height: 40px;
    width: 150px;
    border-radius: var(--border-radius-md);
}
@media (max-width: 768px) {
    .skeleton-category-btn {
        width: 120px;
        height: 35px;
    }
}

/* ===== BUTTON BAAMSD - HIỆU ỨNG BÙNG NỔ ===== */
.baamsd,
button.baamsd,
a.baamsd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 60px;
    background: linear-gradient(135deg, #ff8c00, #ff2e62);
    color: #fff;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(255, 44, 84, 0.4);
    transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    z-index: 1;
}
.baamsd::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-25deg);
    transition: left 0.6s ease;
    z-index: -1;
}
.baamsd:hover::before {
    left: 125%;
}
.baamsd:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 28px rgba(255, 44, 84, 0.6);
    background: linear-gradient(135deg, #ff9a2e, #ff3b6f);
}
.baamsd:active {
    transform: translateY(2px) scale(0.98);
}
.baamsd::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}
.baamsd:active::after {
    width: 300px;
    height: 300px;
    opacity: 0;
    transition: 0s;
}
@keyframes baamShake {
    0% { transform: translateY(-4px) rotate(0deg); }
    25% { transform: translateY(-4px) rotate(1deg); }
    75% { transform: translateY(-4px) rotate(-1deg); }
    100% { transform: translateY(-4px) rotate(0deg); }
}
.baamsd:hover {
    animation: baamShake 0.3s ease-in-out 0s 1;
}
@media (max-width: 768px) {
    .baamsd,
    button.baamsd,
    a.baamsd {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* ===== ANIMATION KEYFRAMES (Thống nhất) ===== */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Thêm fade-in cho card sản phẩm */
.product-box4,
.card-wallet-home,
.all-product-main .box-product-main {
    animation: fadeIn 0.4s ease-out forwards;
}

/* ===== CÁC THÀNH PHẦN KHÁC ĐƯỢC TINH CHỈNH ===== */
.card-wallet-home {
    top: 115px;
}
.all-product-main .box-product-main {
    border-radius: var(--border-radius-lg);
    height: 100px;
    width: calc(25% - 15px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 40px;
    background-size: cover;
    transition: var(--transition-normal);
}
.all-product-main .box-product-main:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}
.box-img-product {
    background: var(--bg-card);
    box-shadow: var(--shadow-md);
    border-radius: var(--border-radius-lg);
    height: 75px;
    width: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
}
.box-text-style {
    color: var(--heading);
}
.btn-see-more {
    display: none;
    border: 0;
    width: 130px;
    border-radius: 30px;
    background: var(--bg-card);
    font-weight: 700;
    margin-left: 92px;
    transition: var(--transition-normal);
}
.box-product-main:hover .btn-see-more {
    visibility: visible;
    margin-top: 15px;
    height: 30px;
    display: block;
}
.row-menu-home {
    margin: -6px 4px 10px;
}
.row-menu-home .form-provide-home {
    display: block;
    border-radius: var(--border-radius-lg);
    padding: 15px 10px;
    background-color: rgba(247, 247, 247, 0.5);
    backdrop-filter: blur(2px);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}
.table-padded {
    border-collapse: separate;
    border-spacing: 0 10px;
    padding-right: 8px;
    padding-top: 18px;
}
.btn-custom {
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 30px;
    border-color: transparent;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
    padding: 10px;
    width: 230px;
}
.btn-custom-available {
    background-color: var(--primary);
}
.btn-custom-sold {
    background-color: #444444;
}
.btn-custom-sold:hover {
    background-color: #2e2e2e;
    transform: scale(1.02);
}
.btn-custom-available:hover {
    background-color: var(--danger);
    transform: scale(1.02);
}
.posterd {
    padding: 20px;
    background: linear-gradient(135deg, #2c5f2d 0%, #4e8666 100%);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--border-radius-lg);
    color: #fff;
}
.welcomto {
    display: flex;
    align-items: center;
}
.box-intro {
    background: var(--bg-card);
    box-shadow: var(--shadow-md);
    border-radius: var(--border-radius-lg);
    height: 90px;
    min-width: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 30px;
}
.describe-intro {
    margin-top: 15px;
    opacity: 0.9;
    font-size: 17px;
    line-height: 1.4;
}
ul.custom-button-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
    font-weight: 700;
    padding: 11px 0px;
}
ul.custom-button-list li {
    flex: 1 1 auto;
}
.btn-category-home {
    padding: 10px 20px;
    font-size: 14px;
    border: none;
    border-radius: var(--border-radius-md);
    background-color: #333;
    color: #fff;
    cursor: pointer;
    width: 100%;
    transition: var(--transition-normal);
}
.btn-category-home:hover {
    background-color: #555;
    transform: translateY(-2px);
}
.btn-category-home:focus {
    outline: none;
    background-color: #000;
}
.btn-category-home.active {
    color: var(--primary);
    background: rgba(180, 180, 180, 0.38);
}
.btn-category-home a {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
}
.megamenu {
    z-index: 3;
}
ul, li {
    list-style-type: none;
    margin-left: 0px;
}

/* ===== RESPONSIVE TỔNG THỂ & TIỆN ÍCH ===== */
@media (max-width: 576px) {
    .baamsd,
    .buy-btn-box4,
    .more-btn-box4 {
        width: 100%;
        text-align: center;
    }
    .all-product-main .box-product-main {
        padding: 0 20px;
    }
    .box-intro {
        margin-right: 15px;
        height: 70px;
        min-width: 70px;
    }
    .describe-intro {
        font-size: 15px;
    }
}

/* Transition mượt cho tất cả link, button */
a, button, .btn, [role="button"] {
    transition: all var(--transition-fast);
    cursor: pointer;
}

/* Glassmorphism cho một số component nếu muốn */
.glass-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-lg);
}

/* Tooltip nhẹ (nếu cần) */
[data-tooltip] {
    position: relative;
}
[data-tooltip]:before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-primary);
    color: var(--bg-card);
    padding: 4px 8px;
    border-radius: var(--border-radius-sm);
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
}
[data-tooltip]:hover:before {
    opacity: 1;
}

/* ===== KẾT THÚC NÂNG CẤP SIÊU CẤP ===== */