/* ===== Trang sản phẩm ===== */
.product-page {
    background: #fff;
    padding: 20px 0 70px;
    font-family: 'Montserrat', Arial, sans-serif;
    min-height: 60vh;
}

.product-page .container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-page-header {
    margin-bottom: 24px;
}
.product-page-header a {
    display: inline-block;
    color: #1e3c72;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
    line-height: 1.4;
    text-decoration: none;
}


.product-eyebrow {
    display: inline-block;
    color: #1e3c72;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
    line-height: 1.4;
}

.product-title {
    font-size: 32px;
    font-weight: 700;
    color: #111;
    margin: 0;
}

.search-result-count {
    margin: 6px 0 0;
    font-size: 14px;
    color: #666;
}

.search-result-keyword {
    color: #d0021b;
}

.no-result-box {
    background: #fdf3d7;
    border: 1px solid #f3dfa2;
    color: #8a6d1e;
    border-radius: 8px;
    padding: 16px 20px;
    font-size: 15px;
    line-height: 1.6;
}

.no-result-box a {
    color: #1e3c72;
    font-weight: 600;
    text-decoration: underline;
}

.cart-title {
    background: #f8f9fa;
    padding: 15px 20px;
    font-size: 17px;
    font-weight: 600;
    color: #1e3c72;
    /* Màu đỏ nổi bật giống tiêu đề trong ảnh */
    border-bottom: 1px solid #eaeef3;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Danh sách dạng lưới */
.info-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    background:#FFF;

    max-width: 1500px;
    width: 100%;
    box-sizing: border-box;
    margin: 30px auto;
    padding: 30px 16px;

    border-top: 5px solid #e5e7eb;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    background: #FFF;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.info-item i {
    font-size: 28px;
    color: #1e3c72;
    min-width: 35px;
}

.info-content {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
}

.info-text {
    font-size: 15px;
    color: #666;
}

/* san pham  */



/* phân danh mục */
/* Ẩn các item vượt quá giới hạn */
.filter-item.hidden-item {
    display: none;
}

/* Nút xem thêm */
.btn-show-more {
    display: block;
    width: 100%;
    background: none;
    border: none;
    color: #1e3c72;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 0;
    cursor: pointer;
    text-align: center;
    border-top: 1px dashed #eaeaea;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.btn-show-more:hover {
    color: #1e3c72;
    background: #f8f9fa;
}

/* Icon mũi tên xoay khi mở */
.btn-show-more.active i {
    transform: rotate(180deg);
}

.btn-show-more span::after {
    content: '...';
    margin-left: 5px;
}

/* phân mục */
.product-page-layout {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
}

.product-sidebar {
    flex: 0 0 270px;
    width: 270px;
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.product-main {
    flex: 1;
    min-width: 0;
}

.sidebar-block {
    background:#fff;
    border: 1px solid #ececec;
    border-radius: 10px;
    padding: 16px 18px;
}

.sidebar-title {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.sidebar-category-list,
.sidebar-filter-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-category-link,
.sidebar-filter-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    padding: 7px 8px;
    border-radius: 6px;
    font-size: 15px;
    color: #333;
    text-decoration: none;
}

.sidebar-category-link:hover,
.sidebar-filter-link:hover {
    background: #f5f5f5;
}

.sidebar-category-link.active,
.sidebar-filter-link.active {
    background: #eaf1fb;
    color: #1e3c72;
    font-weight: 600;
}

.sidebar-count {
    font-size: 14px;
    color: #999;
}

.sidebar-filter-link.active .sidebar-count {
    color: #1e3c72;
}

.sidebar-note {
    font-size: 14px;
    font-weight: 500;
    color: #4a5164;
    margin: 8px 0 0;
}

.sidebar-gia-tuy-chinh {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #e5e5e5;
}

.sidebar-gia-tuy-chinh input[type="number"] {
    width: 0;
    flex: 1;
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.sidebar-gia-tuy-chinh span {
    font-size: 14px;
    color: #999;
}

.sidebar-gia-tuy-chinh button {
    border: none;
    background: #1e3c72;
    color: #ffd700;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 14px;
    cursor: pointer;
}

.sidebar-clear-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    border: 1px solid #1e3c72;
    border-radius: 8px;
    color: #1e3c72;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    background: #fff;
}

.sidebar-clear-filter:hover {
    background: #1e3c72;
    color: #ffd700;
}

.sidebar-support p {
    font-size: 14px;
    margin: 0 0 10px;
    line-height: 1.5;
}

.sidebar-support p:last-child {
    margin-bottom: 0;
}

.sidebar-support a {
    color: #999;
    font-weight: 600;
    text-decoration: none;
}

.mobile-filter-toggle {
    display: none;
}

@media (max-width: 900px) {
    .product-page-layout {
        flex-direction: column;
    }

    .mobile-filter-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        margin-top: 16px;
        padding: 12px;
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 10px;
        color: #1e3c72;
        font-size: 15px;
        font-weight: 700;
        font-family: 'Montserrat', Arial, sans-serif;
        cursor: pointer;
    }

    .mobile-filter-toggle.is-active {
        background: #1e3c72;
        border-color: #1e3c72;
        color: #ffd700;
    }

    .product-sidebar {
        display: none;
        position: static;
        width: 100%;
        flex: 1 1 auto;
    }

    .product-sidebar.is-open {
        display: flex;
    }

    .product-main {
        width: 100%;
    }
}

/* ---- Trang riêng của 1 danh mục / dòng sản phẩm ---- */
.category-hero {
    background: linear-gradient(135deg, #fff 0%, #eaf1fb 100%);
    border: 1px solid #dbe7f8;
    border-radius: 18px;
    padding: 28px 32px;
    margin-bottom: 24px;
}

.category-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #888;
    margin-bottom: 14px;
}

.category-breadcrumb a {
    color: #888;
    text-decoration: none;
}

.category-breadcrumb a:hover {
    color: #1e3c72;
    text-decoration: underline;
}

.category-breadcrumb .crumb-sep {
    color: #ccc;
}

.category-breadcrumb .crumb-current {
    color: #1e3c72;
}

.category-hero .product-eyebrow {
    margin-bottom: 8px;
}

.category-hero-count {
    margin: 6px 0 0;
    font-size: 14px;
    font-weight: 600;
    color: #777;
}

/* ---- Bố cục trang danh mục riêng: sidebar lọc + nội dung ---- */
.category-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
    align-items: start;
}

.category-sidebar {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 20px;
    position: sticky;
    top: 20px;
}

.sidebar-filter-group+.sidebar-filter-group {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #eee;
}

.sidebar-filter-title {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 800;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.sidebar-filter-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-filter-list a {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 8px;
    color: #444;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.sidebar-filter-list a:hover {
    background: #f6f6f6;
}

.sidebar-filter-list a.active {
    background: #eaf1fb;
    color: #1e3c72;
}

.sidebar-filter-count {
    color: #999;
    font-weight: 600;
}

.sidebar-filter-list a.active .sidebar-filter-count {
    color: #1e3c72;
}

.category-main {
    min-width: 0;
}

.sort-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.sort-bar-count {
    font-size: 14px;
    font-weight: 700;
    color: #444;
}

.sort-bar-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #444;
}

.sort-bar-label select {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
      font-family: 'Montserrat', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #111;
    background: #fff;
    cursor: pointer;
}

@media (max-width: 900px) {
    .category-layout {
        grid-template-columns: 1fr;
    }

    .category-sidebar {
        position: static;
    }
}

/* ---- Thông báo (khi 1 danh mục/dòng chưa có sản phẩm, hiện fallback tất cả) ---- */
.product-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #EFF6FF;
    color: #1e40af;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.product-notice i {
    font-size: 16px;
}

/* ---- Section nhóm danh mục ---- */
.product-section {
    margin-bottom: 52px;
}

.product-section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.product-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin: 0;
    white-space: nowrap;
}

.product-section-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, #1e3c72 0%, #f4f4f6 100%);
    border-radius: 999px;
}

/* ---- Pagination (theo từng danh mục) ---- */
.product-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.product-pagination .page-nav,
.product-pagination .page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 6px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #6b6b70;
    text-decoration: none;
    background: #fff;
    border: 1px solid #e5e7eb;
}

.product-pagination .page-num:hover,
.product-pagination .page-nav:hover:not(.disabled) {
    color: #1e3c72;
    border-color: #1e3c72;
}

.product-pagination .page-num.active {
    background: #1e3c72;
    border-color: #1e3c72;
    color: #fff;
}

.product-pagination .page-nav.disabled {
    color: #d1d5db;
    pointer-events: none;
}

/* ---- Toolbar ---- */
.product-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.product-search {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    max-width: 320px;
    flex: 1 1 260px;
}

.product-search input[type="text"] {
    border: none;
    outline: none;
    padding: 12px 18px;
    font-size: 15px;
      font-family: 'Montserrat', Arial, sans-serif;
    flex: 1;
    color: #111;
}

.product-search button {
    border: none;
    background: #1e3c72;
    color: #ffd700;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    cursor: pointer;
}

/* ---- Bộ lọc theo thương hiệu ---- */
.brand-filter-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 14px 20px;
    margin-bottom: 28px;
}

.brand-filter-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #111;
    white-space: nowrap;
}

.brand-filter-label i {
    color: #1e3c72;
}

.brand-filter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.brand-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border: 1.5px solid #e0e0e0;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: #444;
    text-decoration: none;
    background: #fff;
    transition: all 0.2s;
}

.brand-filter-pill:hover {
    border-color: #1e3c72;
    color: #1e3c72;
    background: #eef3fa;
}

.brand-filter-pill.active {
    border-color: #1e3c72;
    background: #1e3c72;
    color: #ffd700;
}

.brand-filter-pill .brand-filter-count {
    font-size: 14px;
    font-weight: 700;
    color: inherit;
    opacity: 0.75;
}

.brand-filter-pill.active .brand-filter-count {
    opacity: 0.9;
}

@media (max-width: 640px) {
    .brand-filter-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ---- Dải danh mục dạng vòng tròn ---- */
.category-strip {
    display: flex;
    justify-content: center;
    gap: 24px;
    overflow-x: auto;
    padding: 24px 28px;
    margin-bottom: 24px;
    background: #eaf1fb;
    border-radius: 16px;
    scrollbar-width: none;
}

.category-strip::-webkit-scrollbar {
    display: none;
}

.category-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    width: 100px;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
}

/* Button reset cho filter-circle */
.filter-circle {
    background: none;
    border: none;
    padding: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    cursor: pointer;
    outline: none;
}

.category-circle-img {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.category-circle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-circle-all {
    color: #1e3c72;
    font-size: 26px;
}

.category-strip-sub {
    margin-top: -10px;
    margin-bottom: 22px;
    padding-bottom: 10px;
}

.category-circle-sm {
    width: 76px;
}

.category-circle-sm .category-circle-img {
    width: 64px;
    height: 64px;
}

.category-circle-sm .category-circle-all {
    font-size: 20px;
}

.category-circle-sm .category-circle-name {
    font-size: 14px;
}

.category-circle:hover .category-circle-img {
    transform: translateY(-3px);
}

.category-circle.active .category-circle-img {
    border-color: #1e3c72;
}

.category-circle-name {
    font-size: 16px;
    font-weight: 600;
    color: #1e3c72;
    text-align: center;
    white-space: normal;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
    max-height: 2.6em;
    width: 100%;
}

.category-circle.active .category-circle-name {
    color: #1e3c72;
}

/* ---- Grid & Card ---- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    padding: 18px;
    background: #eaf1fb;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}

.product-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    min-width: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.product-card.has-hover-image:hover {
    transform: translateY(-4px);
}

.product-card:hover {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.product-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    background: #ffd700;
    color: #1e3c72;
    font-size: 14px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
}

.product-badge-official {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.92);
    color: #1e3c72;
    font-size: 13.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
}

.product-badge-official i {
    color: #059669;
    font-size: 14px;
}

.product-flash-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(90deg, #1e3c72, #2a5298);
    color: #ffd700;
    font-size: 14px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.product-flash-banner i {
    font-size: 14px;
}

.product-installment {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14.5px;
    color: #6b6b70;
    margin-bottom: 6px;
}

.product-installment b {
    color: #111;
}

.product-installment .dot {
    color: #d1d5db;
}

.product-prepay {
    font-size: 14px;
    color: #6b6b70;
    margin-bottom: 8px;
}

.product-prepay b {
    color: #111;
}

.product-rating {
    display: flex;
    gap: 2px;
    color: #f59e0b;
    font-size: 14px;
}

.product-media {
    position: relative;
    height: 220px;
    background: transparent;
}

.product-media img {
    position: absolute;
    inset: 15px;
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: opacity 0.3s ease;
}

.product-media .is-secondary {
    opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
    .product-card.has-hover-image:hover .product-media .is-primary {
        opacity: 0;
    }

    .product-card:hover .product-media .is-secondary {
        opacity: 1;
    }
}

.product-body {
    padding: 15px .75rem 2.2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-tags-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    min-height: 52px;
}

.product-brand,
.product-spec {
    display: inline-flex;
    align-items: center;
    font-size: 14.5px;
    letter-spacing: .2px;
    padding: 4px 11px;
    border-radius: 999px;
    font-weight: 600;
    width: fit-content;
    border: 1px solid transparent;
    line-height: 1.3;
    transition: transform .15s ease;
}

.product-brand {
    color: #1e3c72;
    background: linear-gradient(135deg, #EAF1FB, #DCE7F7);
    border-color: #9DBFE8;
}

.product-spec {
    color: #047857;
    background: linear-gradient(135deg, #ECFDF5, #D1FAE5);
    border-color: #6EE7B7;
}

.product-card:hover .product-brand,
.product-card:hover .product-spec {
    transform: translateY(-1px);
}

.product-name {
    font-size: 16px;
    font-weight: 700;
    color: #111;
    margin: 0 0 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.4em * 2);
    transition: color .15s ease;
}

.product-card:hover .product-name {
    color: #1e3c72;
}

.product-desc-text {
    font-size: 14px;
    line-height: 1.5;
    color: #6b6b70;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.5em * 2);
}

.product-desc {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0 14px;
    font-size: 14px;
}

.product-desc tr {
    border: none;
}

.product-desc th,
.product-desc td {
    padding: 7px 0;
    border: none;
    vertical-align: middle;
}

.product-desc th {
    text-align: left;
    font-weight: 400;
    color: #8a8a8a;
    white-space: nowrap;
    width: 1%; /* co lại vừa nội dung, để td chiếm phần còn lại */
}

.product-desc th i {
    width: 14px;
    margin-right: 8px;
    color: #b0b0b0;
    font-size: 14px;
    text-align: center;
}

.product-desc td {
    text-align: right;
    font-weight: 600;
    color: #222;
    white-space: normal;
    word-break: break-word;
    padding-left: 8px;
}

.product-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
    margin-bottom: 8px;
}

.product-price {
    font-size: 17px;
    font-weight: 800;
    color: #1e3c72;
}

.product-price-old {
    font-size: 14px;
    color: #9ca3af;
    text-decoration: line-through;
}

.product-price-contact {
    color: #1e3c72;
    white-space: nowrap;
}

.product-card-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

.btn-wishlist,
.btn-share-product {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #f8f8f8;
    border: 1px solid #eee;
    border-radius: 50%;
    padding: 0;
    font-size: 14px;
    color: #6b7280;
    cursor: pointer;
    transition: color .15s ease, border-color .15s ease, background .15s ease;
}

.btn-wishlist:hover,
.btn-share-product:hover,
.btn-wishlist.active {
    color: #1e3c72;
    border-color: #9DBFE8;
    background: #eaf1fb;
}

.product-stock {
    font-size: 14px;
    font-weight: 600;
}

.in-stock {
    color: #10b981;
}

.out-stock {
    color: #9ca3af;
}

/* ---- Promo Ticket ---- */
.product-promo-ticket {
    background-color: #1e3c72;
    color: #ffd700;
    border-radius: 6px;
    padding: 6px 10px;
    margin-bottom: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
}

.ticket-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    line-height: 1.2;
}

.ticket-content span {
    text-align: center;
    flex: 1;
}

.ticket-content b {
    display: block;
    font-size: 15px;
    font-weight: 800;
}

.ticket-divider {
    width: 1px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.4);
    margin: 0 5px;
}

/* ---- Empty state ---- */
.product-empty {
    background: #fff;
    border-radius: 16px;
    padding: 60px 20px;
    text-align: center;
    color: #6b6b70;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.product-empty i {
    font-size: 40px;
    color: #d1d5db;
    margin-bottom: 14px;
    display: block;
}

/* ---- Responsive ---- */
@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .product-search {
        max-width: none;
    }

    /* Thẻ sản phẩm gọn hơn cho lưới 2 cột trên điện thoại */
    .product-media {
        height: 160px;
    }

    .product-body {
        padding: 12px 10px 16px;
    }

    .product-tags-row {
        min-height: 0;
        margin-bottom: 8px;
    }

    .product-brand,
    .product-spec {
        font-size: 13.5px;
        padding: 3px 9px;
    }

    .product-name {
        font-size: 14px;
        min-height: calc(1.35em * 2);
    }

    .product-desc-text {
        font-size: 14.5px;
        margin-bottom: 8px;
    }

    .product-price {
        font-size: 16px;
    }

    .product-prepay {
        font-size: 14px;
    }
}
