/* ================= Base Reset ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Be Vietnam Pro', sans-serif;
}

html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}

body {
    color: #333;
    line-height: 1.5;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ================= Utility Classes ================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.flex-row {
    display: flex;
    flex-wrap: wrap;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.align-center {
    align-items: center;
}

.flex-wrap {
    flex-wrap: wrap;
}

/* Custom Flex Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.col-2 {
    flex: 0 0 16.666%;
    max-width: 16.666%;
    padding: 0 10px;
    margin-bottom: 24px;
}

.col-3 {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 10px;
    margin-bottom: 24px;
}

.col-4 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    padding: 0 10px;
    margin-bottom: 24px;
}

.col-5 {
    flex: 0 0 41.666%;
    max-width: 41.666%;
    padding: 0 10px;
    margin-bottom: 24px;
}

.col-7 {
    flex: 0 0 58.333%;
    max-width: 58.333%;
    padding: 0 10px;
    margin-bottom: 24px;
}

.col-8 {
    flex: 0 0 66.666%;
    max-width: 66.666%;
    padding: 0 10px;
    margin-bottom: 24px;
}

.col-9 {
    flex: 0 0 75%;
    max-width: 75%;
    padding: 0 10px;
    margin-bottom: 24px;
}

.section-padding {
    padding: 50px 15px;
}

.mt-2 {
    margin-top: 20px;
}

.bg-light {
    background-color: #f8f9fa;
}

.bg-dark {
    background-color: #0d3b45;
    color: white;
}

.bg-white {
    background-color: #fff !important;
}

.text-primary {
    color: #f26522;
}

/* ================= Buttons ================= */
.btn {
    padding: 10px 20px;
    border-radius: 4px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
}

.btn-primary {
    background-color: #f26522;
    color: white;
}

.btn-primary:hover {
    background-color: #d15116;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid #ccc;
    color: #333;
}

.btn-outline:hover {
    border-color: #f26522;
    color: #f26522;
}

.btn-full {
    width: 100%;
    padding: 12px;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
    border-radius: 6px;
}

/* ================= Section Headers ================= */
.section-header {
    margin-bottom: 30px;
}

.section-header h2 {
    color: #0d3b45;
}

.section-header p {
    color: #666;
}

.link {
    color: #00796b;
    font-weight: 600;
}

/* ================= Header PC (Mặc định) ================= */
.header {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Page-specific .container rules must not move the shared navigation. */
.header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding: 0 15px;
    height: 72px;
    line-height: 1.5;
}

.logo {
    flex-shrink: 0;
}

/* Ép kích thước logo */
.header .logo img,
.header .logo .logo-img,
img.logo-img {
    max-width: 160px !important;
    height: auto !important;
    display: block !important;
}

/* Các thành phần chỉ dành cho Mobile mặc định ẩn trên PC */
.mobile-only,
.mobile-menu-btn,
.menu-overlay {
    display: none;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item,
.nav-list li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    white-space: nowrap;
}

.nav-item:hover,
.nav-list li a:hover,
.nav-list li.current-menu-item>a {
    color: #ff6a00;
}

/* Khối bên phải Header (Search, Hotline, FitMatch) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    /* Giãn cách an toàn */
    white-space: nowrap;
}

.search-box {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 4px 10px;
    background: #f9f9f9;
}

.search-box input {
    border: none;
    outline: none;
    background: transparent;
    padding: 5px;
    font-size: 14px;
    width: 150px;
}

.search-box button {
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
}

.hotline {
    font-weight: 700;
    color: #333;
    font-size: 14px;
}

/* Sửa lỗi FitMatch AI Desktop */
.header .btn-header-fitmatch {
    display: inline-flex;
    flex: 0 0 auto;
    min-width: 148px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    /* Viền bao bọc rõ ràng */
    padding: 8px 12px;
    border-radius: 8px;
    white-space: nowrap;
    line-height: 1.5;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.header .btn-header-fitmatch:hover {
    background: #edf5f3;
    border-color: #b4cfca;
    opacity: 1;
}

.header .btn-header-fitmatch:focus-visible,
.header .btn-mobile-fitmatch:focus-visible {
    outline: 2px solid #0d3b45;
    outline-offset: 3px;
}

.header .btn-header-fitmatch > *,
.header .btn-mobile-fitmatch > * {
    flex: 0 0 auto;
}

.header .fm-crb-logo-h {
    width: 32px !important;
    height: 20px !important;
}

/* Keep the same navigation geometry on all desktop pages. Hide secondary
   actions at compact widths rather than squeezing the FitMatch button. */
@media (min-width: 1025px) {
    .header .main-nav { flex: 0 0 auto; }
    .header .nav-list { gap: 24px; }
    .header .nav-list > li > a {
        font-size: 16px;
        font-weight: 500;
        line-height: 1.5;
        white-space: nowrap;
    }
    .header .header-actions { flex: 0 0 auto; gap: 15px; }
    .header .hotline { font-size: 14px; }
}

@media (min-width: 1025px) and (max-width: 1399px) {
    .header .header-actions .hotline { display: none; }
}

@media (min-width: 1025px) and (max-width: 1199px) {
    .header .header-actions > .search-box { display: none; }
}

.fm-crb-logo-h {
    height: 20px !important;
    /* Giới hạn logo nhỏ lại */
    width: auto !important;
    object-fit: contain;
}

.fm-text-h {
    color: #0d3b45;
    font-weight: 800;
    font-size: 14px;
}

.fm-badge-h {
    background: #0d3b45;
    color: #fff;
    padding: 2px 5px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
}

/* ================= Các thành phần khác (Logo Footer, Breadcrumb...) ================= */
.img-logo {
    max-width: 110px;
    height: auto;
    display: block;
}

/* Match the homepage footer logo on every page, independently of page image rules. */
.footer .img-logo-footer {
    width: 120px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 15px;
    display: block;
}

.footer-cta {
    padding: 35px 0;
    background: linear-gradient(90deg, #0d3b45 0%, #00796b 100%);
    color: #fff;
}

.footer-cta .cta-text h2 {
    font-size: 28px;
    margin-bottom: 5px;
    font-weight: 700;
}

.footer-cta .cta-text p {
    font-size: 15px;
    color: #e0e0e0;
}

.footer-cta .cta-action {
    gap: 30px;
}

.footer-cta .phone-icon {
    font-size: 32px;
    color: #fff;
    margin-right: 15px;
}

.footer-cta .hotline-info {
    display: flex;
    flex-direction: column;
}

.footer-cta .hotline-info .label {
    font-size: 14px;
    color: #e0e0e0;
    line-height: 1.2;
}

.footer-cta .hotline-info strong {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    margin: 2px 0;
}

.footer-cta .hotline-info .time {
    font-size: 12px;
    color: #e0e0e0;
    line-height: 1.2;
}

.footer {
    padding-top: 50px;
    padding-bottom: 50px;
    background: #f9f9f9;
    border-top: 1px solid #eaeaea;
}

.footer-col p {
    color: #555;
    font-size: 14px;
    line-height: 1.5;
    margin: 5px 0;
}

.footer-col .footer-title {
    font-size: 15px;
    font-weight: bold;
    color: #222;
    margin-bottom: 20px;
    margin-top: 0;
}

.footer-toggle i {
    display: none;
}

.footer-col ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 14px;
}

.footer-col ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

.footer-col ul li a {
    color: #555;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.5;
}

.footer-col ul li a:hover {
    color: #0d3b45;
}

/* Footer: Cột Sản phẩm không bị xuống dòng */
.footer-col.crb-footer-products ul li,
.crb-footer-products ul li {
    white-space: nowrap !important;
}

.footer-col.crb-footer-products ul li a,
.crb-footer-products ul li a {
    white-space: nowrap !important;
    display: inline-block;
}

/* Đảm bảo phân bổ độ rộng tối ưu cho các cột Footer trên Desktop */
@media (min-width: 992px) {
    .footer .row {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
    }
    .footer .footer-col.col-4 {
        flex: 0 0 28%;
        max-width: 28%;
    }
    .footer .footer-col.crb-footer-products {
        flex: 0 0 24%;
        max-width: 24%;
    }
    .footer .footer-col.col-2 {
        flex: 0 0 16%;
        max-width: 16%;
    }
}

/* Ẩn mục Sản phẩm và Tất cả sản phẩm ở tất cả các trang */
.crb-footer-products ul li:has(> a[href$="/san-pham/"]),
.crb-footer-products ul li:has(> a[href$="/san-pham"]),
.crb-footer-products ul li:has(> a[href*="tat-ca-san-pham"]) {
    display: none !important;
}

.crb-footer-products ul li a[href$="/san-pham/"],
.crb-footer-products ul li a[href$="/san-pham"],
.crb-footer-products ul li a[href*="tat-ca-san-pham"] {
    display: none !important;
}

.socials {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #4b5563;
    color: #fff !important;
    border-radius: 50%;
    font-size: 16px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-icon i {
    color: #fff !important;
}

.social-icon:hover {
    background-color: #0d3b45;
}

.breadcrumb {
    padding: 16px 0 12px 0;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #0d3b45;
}

.breadcrumb-separator {
    font-size: 10px;
    margin: 0 8px;
    color: #aaa;
}

.breadcrumb-current {
    color: #0d3b45;
    font-weight: 600;
}

.product-card {
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-card a>img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    background-color: #fff;
}

.product-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 15px;
}

.brand {
    font-size: 12px;
    font-weight: 700;
    color: #999;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 15px;
}

.price strong {
    font-size: 22px;
    color: #f26522;
    font-weight: 700;
}

.price del {
    font-size: 14px;
    color: #a0a0a0;
    text-decoration: line-through;
}

.specs {
    gap: 8px;
    margin-bottom: 20px;
}

.spec-pill {
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 12px;
    color: #555;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f9f9f9;
}

.product-actions {
    gap: 10px;
    display: flex;
    margin-top: auto;
}

.product-actions .btn {
    flex: 1;
    padding: 10px 5px;
    font-size: 14px;
}

.product-actions .btn-outline {
    border-color: #e0e0e0;
    color: #333;
}

.contact-link:hover {
    text-decoration: underline !important;
    opacity: 0.8;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ================= RESPONSIVE: Ultra Wide ================= */
@media (min-width: 1400px) {
    .container,
    .header .header-inner {
        max-width: 1320px;
    }
}

/* ================= RESPONSIVE: Tablet & Mobile (max-width: 1024px) ================= */
@media (max-width: 1024px) {
    .header .header-inner {
        width: 100%;
        padding: 10px 16px;
        height: auto;
        flex-wrap: nowrap !important;
        overflow: visible !important;
    }

    /* Ẩn khối bên phải (Search, Hotline, FitMatch) trên Desktop */
    .header-actions {
        display: none !important;
    }

    .logo {
        margin-right: auto;
    }

    /* Bật nút Menu Hamburger */
    .mobile-menu-btn {
        display: block !important;
        position: relative;
        z-index: 9999;
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        color: #0d3b45;
    }

    /* Bật các thẻ dành riêng cho mobile */
    .mobile-only {
        display: flex !important;
    }

    /* Lớp mờ Overlay (Nằm dưới menu) */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9998 !important;
        /* Dưới z-index của nav */
    }

    /* Menu trượt (Off-canvas) - Đẩy sang bên phải màn hình */
    .main-nav {
        position: fixed !important;
        top: 0;
        right: -120% !important;
        /* Đẩy hẳn ra ngoài màn hình bên phải */
        left: auto !important;
        /* Vô hiệu hóa left cũ */
        width: 280px;
        max-width: 80vw;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        height: 100vh;
        background: #f9f9f9;
        z-index: 99999 !important;
        /* Nằm trên cùng */
        padding: 0;
        transition: right 0.3s ease-in-out !important;
        box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        transform: none !important;
        /* Vô hiệu hóa transform cũ */
    }

    /* KÍCH HOẠT MENU (Nhận class từ JS) */
    .main-nav.mobile-menu-active {
        right: 0 !important;
        /* Trượt vào trong màn hình */
    }

    .menu-overlay.mobile-menu-active {
        display: block !important;
    }

    /* Style cấu trúc bên trong Menu Mobile */
    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav-list li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .nav-list .nav-item {
        display: block;
        padding: 16px 20px;
        width: 100%;
    }

    .mobile-nav-header {
        width: 100%;
        justify-content: space-between;
        align-items: center;
        padding: 16px 20px;
        border-bottom: 1px solid #eee;
    }

    .mobile-nav-logo {
        height: 40px;
    }

    .mobile-nav-close {
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        color: #333;
    }

    .mobile-nav-footer {
        flex-direction: column;
        width: 100%;
        padding: 20px;
        gap: 12px;
        margin-top: auto;
    }

    .mobile-hotline {
        display: block;
        text-align: center;
        color: #0d3b45;
        text-decoration: none;
        font-weight: bold;
        font-size: 16px;
        margin-top: 10px;
    }

    .btn-mobile-fitmatch {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        background: #fff;
        border: 1px solid #e2e8f0;
        padding: 12px;
        border-radius: 8px;
        text-decoration: none;
        margin-top: 12px;
    }
}

/* ================= RESPONSIVE: Tablet Medium & Mobile ================= */
@media (max-width: 992px) {

    .col-4,
    .col-3,
    .col-2 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-5,
    .col-7 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {

    .col-9,
    .col-8,
    .col-7,
    .col-5,
    .col-4,
    .col-3,
    .col-2 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .section-padding {
        padding: 30px 15px;
    }

    .btn {
        padding: 14px 15px;
    }

    .product-actions {
        flex-direction: column;
    }

    .product-actions .btn {
        width: 100%;
        margin-bottom: 8px;
    }

    .section-header.flex-between {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .footer-col {
        margin-bottom: 15px;
    }

    .footer-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        padding: 12px 0;
        margin-bottom: 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .footer-toggle i {
        display: block;
        transition: transform 0.3s ease;
        color: #0d3b45;
    }

    .footer-col .footer-toggle+ul {
        display: none;
        padding-top: 15px;
        padding-bottom: 5px;
    }

    .footer-col.active .footer-toggle+ul {
        display: block;
    }

    .footer-col.active .footer-toggle i {
        transform: rotate(180deg);
    }

    .footer-cta .flex-between {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .cta-action {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 10px;
        gap: 15px;
        width: 100%;
    }

    .footer-cta .btn-lg {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* ============================================================
   WOOCOMMERCE & SITE-WIDE PAGINATION (PHÂN TRANG SẢN PHẨM)
   ============================================================ */

/* Khoảng cách cách rời khỏi box sản phẩm ở trên */
.woocommerce .products,
.woocommerce-page .products,
ul.products {
    margin-bottom: 35px !important;
}

.woocommerce nav.woocommerce-pagination,
.woocommerce-page nav.woocommerce-pagination,
.woocommerce-pagination,
nav.woocommerce-pagination,
.pagination-wrapper {
    margin-top: 42px !important;
    margin-bottom: 40px !important;
    padding-top: 15px;
    clear: both !important;
    width: 100% !important;
    text-align: center !important;
    display: block !important;
}

/* Đặt dạng flex căn giữa, reset border dính liền của WooCommerce */
.woocommerce nav.woocommerce-pagination ul,
.woocommerce-page nav.woocommerce-pagination ul,
nav.woocommerce-pagination ul,
.woocommerce-pagination ul,
ul.page-numbers {
    display: inline-flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    border: none !important;
    background: transparent !important;
    white-space: normal !important;
}

/* Tách rời từng ô thẻ li, bỏ border ngăn cách của WooCommerce */
.woocommerce nav.woocommerce-pagination ul li,
.woocommerce-page nav.woocommerce-pagination ul li,
nav.woocommerce-pagination ul li,
.woocommerce-pagination ul li {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
    display: inline-block !important;
    background: transparent !important;
}

/* Thiết kế giao diện từng nút số trang */
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span,
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span,
.woocommerce-pagination .page-numbers,
.pagination .page-numbers,
.pagination-wrapper .page-numbers,
a.page-numbers,
span.page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 42px !important;
    height: 42px !important;
    padding: 0 14px !important;
    margin: 0 !important;
    font-family: 'Be Vietnam Pro', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    color: #374151 !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    text-decoration: none !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;
    cursor: pointer;
    box-sizing: border-box !important;
}

/* Trang hiện tại (Active) */
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce-page nav.woocommerce-pagination ul li span.current,
.woocommerce-pagination ul li span.current,
.woocommerce-pagination .page-numbers.current,
.pagination .page-numbers.current,
.pagination-wrapper .page-numbers.current,
span.page-numbers.current {
    background: #1B5B6E !important;
    color: #ffffff !important;
    border-color: #1B5B6E !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(27, 91, 110, 0.3) !important;
    pointer-events: none;
    cursor: default;
}

/* Hiệu ứng rê chuột (Hover) */
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce-page nav.woocommerce-pagination ul li a:hover,
.woocommerce-pagination ul li a:hover,
.woocommerce-pagination a.page-numbers:hover,
.pagination a.page-numbers:hover,
.pagination-wrapper a.page-numbers:hover,
a.page-numbers:hover {
    background: #f0f7f9 !important;
    color: #1B5B6E !important;
    border-color: #1B5B6E !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08) !important;
}

/* Nút Tiếp theo (→) và Quay lại (←) */
.woocommerce nav.woocommerce-pagination ul li a.next,
.woocommerce nav.woocommerce-pagination ul li a.prev,
.woocommerce-pagination a.next,
.woocommerce-pagination a.prev,
.pagination a.next,
.pagination a.prev,
a.next.page-numbers,
a.prev.page-numbers {
    font-size: 16px !important;
    padding: 0 16px !important;
    font-weight: 700 !important;
}

/* Dấu ba chấm (...) */
.woocommerce-pagination .page-numbers.dots,
.pagination .page-numbers.dots,
span.page-numbers.dots {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    min-width: 24px !important;
    color: #9ca3af !important;
    cursor: default;
    pointer-events: none;
}

/* Responsive trên màn hình di động */
@media (max-width: 576px) {
    .woocommerce-pagination,
    nav.woocommerce-pagination,
    .pagination-wrapper {
        margin-top: 30px !important;
        margin-bottom: 25px !important;
    }
    
    .woocommerce nav.woocommerce-pagination ul,
    nav.woocommerce-pagination ul,
    ul.page-numbers {
        gap: 6px !important;
    }

    .woocommerce nav.woocommerce-pagination ul li a,
    .woocommerce nav.woocommerce-pagination ul li span,
    .woocommerce-pagination ul li a,
    .woocommerce-pagination ul li span,
    .page-numbers {
        min-width: 36px !important;
        height: 36px !important;
        padding: 0 8px !important;
        font-size: 14px !important;
        border-radius: 6px !important;
    }
}