/* =================================================================== */
/* 1. BIáº¾N Sá» Gá»C (VARIABLES) & CSS RESET
/* =================================================================== */

:root {
    --primary-color: #00733e;
    --secondary-color: #f0f8ff;
    --danger-color: #d9534f;
    --success-color: #198754;
    --text-dark: #333;
    --text-light: #666;
    --border-color: #eee;
    --brand-orange: #ff5901;
}

/* =================================================================== */
/* 2. CÃ€I Äáº¶T CÆ  Báº¢N (BASE & TYPOGRAPHY)
/* =================================================================== */

body {
    font-family: 'Inter', sans-serif;
    background-color: #f7f7f7;
    color: var(--text-dark);
    padding-bottom: 80px;
}
html, body {
    margin: 0;
    padding: 0;
}
@media (min-width: 992px) {
    body {
        padding-bottom: 0;
    }
}

a {
    color: var(--primary-color);
    text-decoration: none;
}
a:hover {
    color: #00733e;
}

/* =================================================================== */
/* 3. LAYOUT: HEADER & NAVIGATION
/* =================================================================== */

/* --- 3.1. Header Chung & Logo --- */
.site-header-wrapper {
    margin: 0;
    padding: 0;
}

.main-header-mobile,
.main-header-desktop {
    position: -webkit-sticky; /* For Safari */
    position: sticky;
    top: 0;
    z-index: 1021; /* Cao hÆ¡n navbar máº·c Ä‘á»‹nh */
    background-color: var(--primary-color) !important;
    padding-top: 0;
    padding-bottom: 0;
}

.header-logo img {
    width: 200px;
    height: auto;
}

/* --- 3.2. Thanh tÃ¬m kiáº¿m (Desktop) --- */

form.search-bar-desktop {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    background: #fff;
    border-radius: 5px;
}
.search-bar-desktop input.form-control {
    flex-grow: 1;
    border: 0px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.search-bar-desktop button {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-left: 0;
    background-color: var(--brand-orange);
    color: #fff;
    border: 0px;
}

/* --- 3.3. Dropdown ThÃ´ng bÃ¡o --- */
.header-actions .notifications-dropdown {
    display: flex;
    align-items: center;
}
.header-actions .notifications-dropdown > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
}
.header-actions .notifications-dropdown > a span {
    font-size: 0.875rem;
    line-height: 1;
}

.notifications-dropdown .dropdown-menu {
    width: 380px;
    max-width: 92vw;
    max-height: none;
    overflow-y: visible;
}
.notifications-dropdown .notification-tabs-wrapper {
    padding: 8px 10px;
}
.notifications-dropdown .notification-tabs {
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.notifications-dropdown .notification-tabs .nav-link {
    border-radius: 999px;
    font-size: 0.75rem;
    padding: 4px 10px;
    background: #f1f5f9;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.notifications-dropdown .notification-tabs .nav-link.active {
    background: var(--primary-color);
    color: #fff;
}
.notifications-dropdown .notification-tabs .badge {
    font-size: 0.65rem;
    background: rgba(255, 255, 255, 0.2);
    color: inherit;
}
.notifications-dropdown .notification-tab-content {
    max-height: 360px;
    overflow-y: auto;
}
.notifications-dropdown .notification-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
    position: relative;
}
.notifications-dropdown .notification-item.unread {
    background: #f1fbf5;
}
.notifications-dropdown .notification-item:last-child {
    border-bottom: 0;
}
.notifications-dropdown .notification-item .content p {
    margin-bottom: 2px;
    font-size: 0.9rem;
    white-space: normal;
}
.notifications-dropdown .notification-item .content .title {
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 2px;
}
.notifications-dropdown .notification-item .content .time {
    font-size: 0.75rem;
    color: #6c757d;
}
.notifications-dropdown .dropdown-header,
.notifications-dropdown .dropdown-footer {
    padding: 8px 12px;
    font-weight: bold;
    text-align: center;
}
.notifications-dropdown .notification-item .icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}
.notifications-dropdown .notification-item .unread-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff4d4f;
    margin-left: auto;
    margin-top: 6px;
    flex-shrink: 0;
}
.notifications-dropdown .notification-empty {
    padding: 16px;
    text-align: center;
    color: #6c757d;
    font-size: 0.85rem;
}
.notification-indicator {
    position: absolute;
    top: 0;
    left: 90%;
    transform: translate(-50%, -20%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #dc3545;
    border: 2px solid white;
}

/* --- 3.4. Menu ChÃ­nh (Desktop Hover) --- */
.main-menu {
    background-color: var(--primary-color) !important;
}
.main-menu .dropdown {
    position: relative;
}
.main-menu.navbar-dark .navbar-nav .nav-link {
    color: #fff !important;
    padding: 0.75rem 1rem;
    margin: 0 0.25rem;
}
.main-menu .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    background-color: #0b6b3a;
    border: none;
    border-radius: 0 0 .375rem .375rem;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    min-width: 220px;
    z-index: 1022;
    padding: 8px;
}
.main-menu .nav-item.dropdown:hover > .dropdown-menu {
    display: block !important;
}
.main-menu .dropdown-item {
    color: #fff;
    border-radius: 6px;
    padding: 6px 10px;
    white-space: normal;
    transition: background-color 0.2s;
}
.main-menu .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* --- 3.5. Mobile Menu (Offcanvas) --- */
.offcanvas-body .list-group-item[data-bs-toggle="collapse"] {
    font-weight: 500;
}
.offcanvas-body .list-group-item[data-bs-toggle="collapse"] .bi-chevron-down {
    transition: transform 0.2s ease-in-out;
}
.offcanvas-body .list-group-item[data-bs-toggle="collapse"][aria-expanded="true"] .bi-chevron-down {
    transform: rotate(180deg);
}
.mobile-submenu {
    background-color: #f8f9fa;
}
.mobile-submenu .list-group-item {
    padding-left: 2.5rem;
    font-size: 0.95rem;
}

/* =================================================================== */
/* 4. LAYOUT: FOOTER (Gá»™p Mobile & Desktop)
/* =================================================================== */

/* --- 4.1. Footer (Mobile) --- */
.mobile-footer-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    border-top: 1px solid #e9ecef;
    z-index: 1030;
    padding: 0.5rem 0;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.05);
}
.mobile-footer-nav .container {
    padding-right: 0;
    padding-left: 0;
}
.mobile-footer-nav .row {
    margin-right: 0;
    margin-left: 0;
}
.mobile-footer-nav .row > .col {
    padding-left: 0;
    padding-right: 0;
}
.mobile-footer-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    color: #6c757d;
    font-size: 0.75rem;
    transition: color 0.2s ease-in-out;
    position: relative;
    height: 100%;
    width: 100%;
    padding-top: 5px;
    padding-bottom: 5px;
}
.mobile-footer-nav .nav-item i {
    font-size: 1.4rem;
    margin-bottom: 4px;
}
.mobile-footer-nav .nav-item.active {
    color: var(--primary-color);
}
.mobile-footer-nav .cart-badge {
    position: absolute;
    top: 0px;
    right: 15px;
    padding: 0.2em 0.5em;
    border-radius: 50%;
    font-size: 0.65rem;
    line-height: 1;
    transform: translate(50%, -50%);
}
.mobile-footer-nav .nav-item-highlight {
    position: relative;
    top: -20px;
}
.mobile-footer-nav .cart-icon-wrapper {
    background-color: var(--primary-color);
    color: #fff;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.4);
    border: 3px solid white;
}
.mobile-footer-nav .cart-icon-wrapper i {
    font-size: 1.6rem;
    margin-bottom: 0;
}

/* --- 4.2. Footer (Desktop) --- */
.footer {
    background-color: #222;
    color: #ccc;
    padding: 3rem 0 1rem;
}
.footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}
.footer a {
    color: #ccc;
    display: block;
    margin-bottom: 0.5rem;
}
.footer a:hover {
    color: white;
}
.footer .bottom-bar {
    border-top: 1px solid #444;
    padding-top: 1rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #aaa;
}


/* =================================================================== */
/* 5. COMPONENTS (CÃ¡c thÃ nh pháº§n tÃ¡i sá»­ dá»¥ng)
/* =================================================================== */

/* --- 5.1. Buttons --- */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-primary:hover {
    background-color: #005a30; 
    border-color: #005a30;
}
.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* --- 5.2. Khung Gá»£i Ã½ TÃ¬m kiáº¿m --- */
.search-container {
    position: relative;
}
.search-results-container {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 0 0 .375rem .375rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1050;
    max-height: 400px;
    overflow-y: auto;
    
    
}
.suggestion-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s;
}
.suggestion-item:hover {
    background-color: #f8f9fa;
}
.suggestion-image {
    width: 40px;
    height: 40px;
    object-fit: cover;
    margin-right: 12px;
    border-radius: 4px;
}
.suggestion-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.9rem;
}

.quick-order-mobile-bar.px-3.py-2 {
    background-color: #ffc107;
}

/* --- 5.3. Section Header --- */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #fff;
    border-bottom: 1px solid #f0f0f0;
}
.section-header .section-title,
.section-title {
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--brand-orange);
    text-transform: uppercase;
}
.section-header .view-all-link {
    font-size: 0.85rem;
    color: #555;
}
.card-header.bg-brand-orange {
    background-color: var(--brand-orange) !important;
}

a.d-block {
    padding: 5px;
}

/* --- 5.4. Product Card (ÄÃƒ Gá»˜P) --- */
/* Style chung cho Card sáº£n pháº©m */
.product-card,
.related-product-card {
    background-color: white;
    border: 1px solid var(--border-color, #eee);
    border-radius: 8px;
    transition: all 0.3s ease;
}
.product-card:hover,
.related-product-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}
/* Style riÃªng cho .product-card (dáº¡ng flex Ä‘áº§y Ä‘á»§) */
.product-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.product-card .card-body {
    padding: 0.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.product-img-wrapper {
    position: relative;
}
.product-card .card-img-top,
.product-card .product-img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.product-card .product-name,
.product-card .card-title {
    font-size: 0.9rem;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 4.05rem; /* 3-line height */
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}
.product-card .product-spec {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}
.product-card .price-group {
    min-height: 48px;
}
.product-card .product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--danger-color);
}
.product-card .agent-deal {
    font-size: 0.85rem;
    color: var(--success-color);
    font-weight: 500;
}
.price-suggested {
    color: var(--primary-color); 
    font-size: 13px;
}
.price-agent {
    color: var(--brand-orange) !important;
    font-weight: bold !important;
    font-size: 16px !important;
}
.profit-badge {
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--brand-orange);
}
.discount-badge,
.sale-tag {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--brand-orange);
    color: white;
    padding: 3px 8px;
    font-size: 0.7rem;
    font-weight: bold;
    border-radius: 0 0 8px 0;
    z-index: 10;
}
.discount-badge { /* Tá»« style.css, khÃ¡c 1 chÃºt */
    top: 10px;
    right: 10px;
    left: auto;
    border-radius: 4px;
    background-color: rgba(217, 83, 79, 0.9);
}
.product-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.2);
    display: flex; justify-content: center; align-items: center;
    opacity: 0; transition: opacity 0.3s ease;
}
.product-card:hover .product-overlay {
    opacity: 1;
}

/* --- 5.5. Horizontal Scroll --- */
.horizontal-scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 1rem;
}
.horizontal-scroll-container::-webkit-scrollbar {
    height: 8px;
}
.horizontal-scroll-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}
.horizontal-scroll-container .product-card {
    min-width: 200px;
    flex-shrink: 0;
}
.horizontal-scroll-container .flash-sale-item {
    min-width: 160px;
}

/* --- 5.6. Flash Sale (ÄÃƒ Cáº¬P NHáº¬T) --- */
.flash-sale-section {
    background: linear-gradient(to right, #fff5f5, #ffeaea);
    padding: 1.5rem 0;
}
.flash-sale-section .section-title {
    color: var(--danger-color);
    border-bottom: none;
}
.flash-sale-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--danger-color);
}

/* Header cho Flash Sale (Má»šI) */
.card-header.bg-danger.text-white.d-flex.justify-content-between.align-items-center {
    background: #ff5901 !important;
}
    
/* Thanh tiáº¿n trÃ¬nh (Má»šI) */
.flash-sale-progress {
    background-color: #fddde4;
    border-radius: 10px;
    height: 18px;
    position: relative;
    overflow: hidden;
    margin-top: 8px;
}
/* Lá»›p mÃ u Ä‘á» cháº¡y bÃªn trong (Má»šI) */
.flash-sale-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: #d70018;
    border-radius: 10px;
}
/* Text hiá»ƒn thá»‹ sá»‘ lÆ°á»£ng (Má»šI) */
.flash-sale-progress-text {
    position: absolute;
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 0.75rem;
    line-height: 18px; /* CÄƒn giá»¯a theo chiá»u dá»c */
    z-index: 2;
    /* background: #ffcbb0; <-- XÃ³a dÃ²ng nÃ y vÃ¬ nÃ³ Ä‘Ã¨ mÃ u chá»¯ */
    font-weight: 700; /* TÄƒng Ä‘á»™ Ä‘áº­m cá»§a chá»¯ */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4); /* ThÃªm bÃ³ng má» Ä‘á»ƒ chá»¯ ná»•i hÆ¡n */
}

/* Swiper Slider cho Flash Sale (Má»šI) */
.flash-sale-swiper {
    padding-bottom: 35px; /* Táº¡o khoáº£ng trá»‘ng cho pagination */
    position: relative;
}
.flash-sale-swiper .swiper-pagination {
    bottom: 10px; /* Äáº©y pagination lÃªn */
}
.flash-sale-swiper .swiper-pagination-bullet-active {
    background-color: #ff5901; /* MÃ u cam thÆ°Æ¡ng hiá»‡u */
}
.flash-sale-swiper .swiper-button-next,
.flash-sale-swiper .swiper-button-prev {
    top: 35%; /* CÄƒn chá»‰nh vá»‹ trÃ­ mÅ©i tÃªn */
    width: 30px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}
.flash-sale-swiper .swiper-button-next::after,
.flash-sale-swiper .swiper-button-prev::after {
    font-size: 16px; /* Thu nhá» icon mÅ©i tÃªn */
    font-weight: 700;
    color: #333;
}

#countdown-timer .timer-box {
    background-color: var(--text-dark);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    margin: 0 2px;
}
#countdown-timer .timer-text {
    color: var(--text-dark);
    font-weight: 500;
}
.countdown {
    width: 50%;
    text-align: right;
}

/* --- 5.7. Gallery, Info, Price, Description (ÄÃƒ Gá»˜P) --- */
/* (Gá»™p tá»« .quick-view-gallery vÃ  .product-gallery) */

/* Offcanvas 80% height (Má»šI) */
.offcanvas-h-80 {
    height: 80vh !important;
    max-height: 80vh !important;
}
.offcanvas-h-80 .offcanvas-body {
    overflow-y: auto;
}

.quick-view-gallery .main-image-container,
.product-gallery .main-image-container {
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 1rem;
}

.quick-view-gallery .thumbnail-list,
.product-gallery .thumbnail-list {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.quick-view-gallery .thumbnail-item:hover,
.quick-view-gallery .thumbnail-item.active,
.product-gallery .thumbnail-item:hover,
.product-gallery .thumbnail-item.active {
    border-color: var(--brand-orange);
}

.product-info-list,
.product-info-section .info-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1rem;
}
.product-info-list li,
.product-info-section .info-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}
.product-info-list li .label,
.product-info-section .info-list .label {
    color: #6c757d;
    font-size: 14px;
}
.product-info-list li .value,
.product-info-section .info-list .value {
    font-weight: 500;
    text-align: right;
    font-size: 14px;
}
.product-info-list li .document-link,
.product-info-section .document-link {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
}
.product-info-list li .document-link:hover,
.product-info-section .document-link:hover {
    text-decoration: underline;
}

.product-docs .doc-title {
    font-weight: 600;
    color: var(--text-dark);
}
.product-docs .doc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.product-docs .doc-btn {
    font-size: 0.875rem;
}

.price-details .price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}
.price-details .text-danger {
    color: #ee4d2d !important;
}

.price-details.bg-light.p-3.rounded.mb-4 {
    border: 1px solid #e5e7e6;
}

.description-wrapper {
    position: relative;
}
.description-content.is-collapsed {
    max-height: 500px;
    overflow: hidden;
    position: relative;
}
.description-content.is-collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
}
.see-more-container {
    text-align: center;
    margin-top: -40px;
    position: relative;
    z-index: 2;
    display: none;
}
.description-wrapper.has-long-content .see-more-container {
    display: block;
}

/* --- 5.8. Quantity Selector (Má»šI) --- */
.quantity-selector {
    display: flex;
    align-items: center;
    max-width: 150px;
}
.quantity-selector .btn {
    border-color: #ced4da;
    width: 40px;
}
.quantity-selector .form-control {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    text-align: center;
    font-weight: bold;
}

/* --- 5.9. Action Buttons (Má»šI) --- */
.btn-add-to-cart {
    background-color: #ff5622;
    border: 1px solid rgb(255, 86, 34);
    color: #fff;
    font-weight: 500;
    padding: 10px;
}

.btn-add-to-cart:hover {
    background-color: hsla(14, 100%, 57%, 0.192);
    border: 1px solid rgb(255, 86, 34);
    color: #000;
    font-weight: 500;
    padding: 10px;
}

.btn-buy-now {
    background-color: #ee4d2d;
    border-color: #ee4d2d;
    color: white;
    font-weight: 500;
    padding: 10px;
}
.btn-buy-now:hover {
    background-color: #d73111;
    border-color: #d73111;
    color: white;
}

/* --- 5.10. News & Blog Card --- */
.news-card .card-title {
    font-size: 1rem;
    font-weight: 600;
}
.blog-card .card-img-top {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* --- 5.11. Gemini (Chat) --- */
#gemini-answer-area {
    max-height: 150px;
    overflow-y: auto;
}

/* =================================================================== */
/* 6. PAGE-SPECIFIC (CÃ¡c style Ä‘áº·c thÃ¹ cho tá»«ng trang)
/* =================================================================== */

/* --- 6.1. Trang ThÃ´ng BÃ¡o --- */
.notification-list-item.unread {
    background-color: #f8f9fa;
}
.notification-list-item.unread:hover {
    background-color: #e9ecef;
}
#mark-all-as-read-btn.disabled {
    cursor: not-allowed;
}

/* --- 6.2. Trang chi tiáº¿t sáº£n pháº©m (ÄÃƒ REFACTOR) --- */

/* Style riÃªng cho áº£nh chÃ­nh cá»§a trang Chi Tiáº¿t Sáº£n Pháº©m */
.product-gallery .main-image {
    width: 100%;
    height: 450px;
    object-fit: contain;
    background-color: #fff;
    cursor: pointer;
}

/* Style riÃªng cho áº£nh thumbnail cá»§a trang Chi Tiáº¿t Sáº£n Pháº©m */
.product-gallery .thumbnail-item {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid #ddd;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: border-color 0.2s;
}

/* Style riÃªng cho áº£nh chÃ­nh cá»§a Quick View */
.quick-view-gallery .main-image {
    width: 100%;
    height: 320px;
    object-fit: contain;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 10px;
}

/* Style riÃªng cho áº£nh thumbnail cá»§a Quick View */
.quick-view-gallery .thumbnail-item {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 0.2s;
}

/* Normalize font for rich-text product description */
.description-content {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}
.description-content *:not(.bi) {
    font-family: inherit !important;
}

@media (max-width: 576px) {
    .product-mobile-summary {
        background: #fff;
        border: 1px solid #e9ecef;
        border-radius: 8px;
        padding: 12px;
    }
    .product-mobile-summary .summary-price {
        font-size: 1rem;
    }
    .product-mobile-summary .summary-stock {
        font-size: 0.75rem;
    }
    .product-info-section .info-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .product-info-section .info-list .value {
        text-align: left;
    }
    .product-gallery .main-image {
        height: auto;
        max-height: 60vw;
    }
    .product-gallery .thumbnail-item {
        width: 64px;
        height: 64px;
    }
    .product-sticky-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: calc(60px + env(safe-area-inset-bottom));
        background: #fff;
        padding: 10px 12px;
        border-top: 1px solid #e9ecef;
        box-shadow: 0 -6px 16px rgba(0,0,0,0.08);
        z-index: 1035;
    }
    .product-sticky-bar .sticky-price {
        min-width: 110px;
    }
    .see-more-container .btn {
        width: 100%;
        padding: 10px 12px;
        font-weight: 600;
    }
}
