/* =========================================================
   04-SHOP.CSS
   SHOP, DANH MỤC, TOOLBAR, PRODUCT CARD, BREADCRUMB VÀ PHÂN TRANG
   Không khai báo font-family tại file này.
   Font-size sử dụng biến được quản lý trong 01-typography.css.
   ========================================================= */

.srnk-category-header {
display: grid !important;
    grid-template-columns: minmax(0, 46%) minmax(0, 54%);
    align-items: center;
    gap: 36px;
    float: none !important;
    clear: both;
    width: 100%;
    margin-bottom: 28px;
    padding: 8px 0 22px;
    text-align: left;
}

.srnk-category-header__content {
min-width: 0;
}

.srnk-category-header__title {
margin: 0;
    color: #292929;
    font-size: var(--srnk-fs-32px);
    font-weight: 700;
    line-height: 1.2;
}

.srnk-category-header__divider {
display: block;
    position: relative;
    width: 90px;
    height: 2px;
    margin: 12px 0 14px;
    background: #c69a45;
}

.srnk-category-header__divider::after {
content: "◇";
    position: absolute;
    top: 50%;
    left: 36px;
    padding: 0 6px;
    transform: translateY(-52%);
    background: #fff;
    color: #c69a45;
    font-size: var(--srnk-fs-13px);
}

.srnk-category-header__description {
max-width: 480px;
    color: #555;
    font-size: var(--srnk-fs-14px);
    line-height: 1.65;
}

.srnk-category-header__description p {
margin-bottom: 0;
}

.srnk-category-header__banner {
overflow: hidden;
    width: 100%;
    height: 175px;
    border-radius: 5px;
}

.srnk-category-header__banner img {
display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.tax-product_cat .shop-container, .tax-product_cat .category-page-row, .tax-product_cat .products, .tax-product_cat .srnk-category-header + * {
clear: both;
}

.tax-product_cat .shop-page-title {
margin-bottom: 12px !important;
}

.tax-product_cat .shop-page-title .page-title-inner, .tax-product_cat .shop-page-title .flex-row {
display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
}

.tax-product_cat .shop-page-title .srnk-category-header, .tax-product_cat .shop-page-title .flex-col:first-child {
flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
}

.tax-product_cat .shop-page-title .srnk-category-header {
margin-bottom: 20px !important;
}

.tax-product_cat .shop-page-title .flex-right {
display: flex !important;
    position: static !important;
    flex: 0 0 100% !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 15px;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 0 !important;
    transform: none !important;
}

.tax-product_cat .shop-page-title .woocommerce-result-count, .tax-product_cat .shop-page-title .woocommerce-ordering, .tax-product_cat .shop-page-title .products-ordering {
display: none !important;
}

.srnk-catalog-toolbar {
display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    clear: both;
    width: 100%;
    margin: 0 0 18px;
}

.srnk-catalog-toolbar .woocommerce-result-count, .srnk-catalog-toolbar .woocommerce-ordering {
float: none !important;
    margin: 0 !important;
}

.woocommerce-result-count, .srnk-catalog-toolbar .woocommerce-result-count {
color: var(--text-light);
    font-size: var(--srnk-fs-13px);
}

.woocommerce-ordering select, .srnk-catalog-toolbar select {
min-width: 210px;
    height: 38px;
    margin: 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    font-size: var(--srnk-fs-13px);
}

.archive .products.row, .tax-product_cat .products.row, .post-type-archive-product .products.row {
display: flex !important;
    flex-wrap: wrap !important;
    margin-left: -8px !important;
    margin-right: -8px !important;
}

.archive .products.row > .product-small.col, .tax-product_cat .products.row > .product-small.col, .post-type-archive-product .products.row > .product-small.col {
padding: 8px !important;
    margin: 0 !important;
}

.archive .product-small .col-inner, .tax-product_cat .product-small .col-inner, .post-type-archive-product .product-small .col-inner {
display: flex;
    flex-direction: column;
    height: 100%;
    padding: 12px !important;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    box-shadow: none;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.archive .product-small .box, .tax-product_cat .product-small .box, .post-type-archive-product .product-small .box {
display: flex;
    flex: 1;
    flex-direction: column;
    width: 100% !important;
    border: 0 !important;
    box-shadow: none !important;
}

.archive .product-small .col-inner:hover, .tax-product_cat .product-small .col-inner:hover, .post-type-archive-product .product-small .col-inner:hover {
border-color: #8b0000;
    box-shadow: 0 7px 18px rgba(139, 0, 0, 0.1);
}

.archive .product-small .box-image, .tax-product_cat .product-small .box-image, .post-type-archive-product .product-small .box-image {
display: flex;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    height: 220px !important;
    margin: 0 0 8px;
}

.archive .product-small .box-image img, .tax-product_cat .product-small .box-image img, .post-type-archive-product .product-small .box-image img {
width: auto !important;
    max-width: 100% !important;
    max-height: 205px !important;
    object-fit: contain;
}

.archive .product-small .box-text, .tax-product_cat .product-small .box-text, .post-type-archive-product .product-small .box-text {
display: flex;
    flex: 1;
    flex-direction: column;
    width: 100% !important;
    padding: 8px 0 0 !important;
    text-align: left;
}

.archive .product-small .category, .tax-product_cat .product-small .category, .post-type-archive-product .product-small .category {
min-height: 16px;
    margin-bottom: 4px;
    color: #999;
    font-size: var(--srnk-fs-10px);
    line-height: 1.3;
    text-transform: uppercase;
}

.archive .product-small .product-title, .tax-product_cat .product-small .product-title, .post-type-archive-product .product-small .product-title {
min-height: 48px !important;
    margin: 0 0 7px !important;
    font-size: var(--srnk-fs-14px) !important;
    line-height: 1.4 !important;
}

.archive .product-small .product-title a, .tax-product_cat .product-small .product-title a, .post-type-archive-product .product-small .product-title a {
color: #333 !important;
}

.archive .product-small .product-title a:hover, .tax-product_cat .product-small .product-title a:hover, .post-type-archive-product .product-small .product-title a:hover {
color: #8b0000 !important;
}

.archive .product-small .price-wrapper, .tax-product_cat .product-small .price-wrapper, .post-type-archive-product .product-small .price-wrapper {
margin-top: auto !important;
}

.archive .product-small .price, .tax-product_cat .product-small .price, .post-type-archive-product .product-small .price {
margin: 5px 0 0 !important;
    color: #8b0000 !important;
    font-size: var(--srnk-fs-16px) !important;
    font-weight: 700 !important;
    line-height: 1.3;
}

.archive .product-small del .amount, .tax-product_cat .product-small del .amount, .post-type-archive-product .product-small del .amount {
color: #aaa !important;
    font-size: var(--srnk-fs-12px) !important;
    font-weight: 400 !important;
}

.archive .onsale, .tax-product_cat .onsale, .post-type-archive-product .onsale {
position: absolute;
    top: 10px;
    left: 10px;
    min-width: auto !important;
    min-height: auto !important;
    padding: 4px 7px !important;
    background: #8b0000 !important;
    border-radius: 4px !important;
    color: #fff !important;
    font-size: var(--srnk-fs-11px) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

@media screen and (max-width: 849px) {
    .archive .products.row > .product-small.col, .tax-product_cat .products.row > .product-small.col, .post-type-archive-product .products.row > .product-small.col {
    flex-basis: 33.3333% !important;
            width: 33.3333% !important;
            max-width: 33.3333% !important;
    }
}

@media screen and (max-width: 549px) {
    .archive .products.row > .product-small.col, .tax-product_cat .products.row > .product-small.col, .post-type-archive-product .products.row > .product-small.col {
    flex-basis: 50% !important;
            width: 50% !important;
            max-width: 50% !important;
            padding: 5px !important;
    }
    .archive .product-small .col-inner, .tax-product_cat .product-small .col-inner, .post-type-archive-product .product-small .col-inner {
    padding: 9px !important;
    }
    .archive .product-small .box-image, .tax-product_cat .product-small .box-image, .post-type-archive-product .product-small .box-image {
    height: 170px !important;
    }
    .archive .product-small .box-image img, .tax-product_cat .product-small .box-image img, .post-type-archive-product .product-small .box-image img {
    max-height: 158px !important;
    }
    .archive .product-small .product-title, .tax-product_cat .product-small .product-title, .post-type-archive-product .product-small .product-title {
    min-height: 42px !important;
            font-size: var(--srnk-fs-13px) !important;
    }
}

.tax-product_cat .products.row, .post-type-archive-product .products.row {
display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
    width: 100% !important;
    margin: 0 !important;
}

.tax-product_cat .products.row > .product-small, .post-type-archive-product .products.row > .product-small {
width: auto !important;
    max-width: none !important;
    flex: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.tax-product_cat .product-small .col-inner, .post-type-archive-product .product-small .col-inner {
height: 100%;
    padding: 12px !important;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
}

.tax-product_cat .product-small .box, .post-type-archive-product .product-small .box {
height: 100%;
    border: 0 !important;
    box-shadow: none !important;
}

.tax-product_cat .product-small .box-image, .post-type-archive-product .product-small .box-image {
display: flex;
    align-items: center;
    justify-content: center;
    height: 220px !important;
}

.tax-product_cat .product-small .box-image img, .post-type-archive-product .product-small .box-image img {
width: auto !important;
    max-width: 100% !important;
    max-height: 205px !important;
    object-fit: contain;
}

.tax-product_cat .product-title, .post-type-archive-product .product-title {
min-height: 48px !important;
    font-size: var(--srnk-fs-14px) !important;
    line-height: 1.4 !important;
}

@media screen and (max-width: 849px) {
    .tax-product_cat .products.row, .post-type-archive-product .products.row {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
            gap: 12px !important;
    }
}

@media screen and (max-width: 549px) {
    .tax-product_cat .products.row, .post-type-archive-product .products.row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
            gap: 10px !important;
    }
    .tax-product_cat .product-small .box-image, .post-type-archive-product .product-small .box-image {
    height: 165px !important;
    }
    .tax-product_cat .product-small .box-image img, .post-type-archive-product .product-small .box-image img {
    max-height: 150px !important;
    }
    .tax-product_cat .product-title, .post-type-archive-product .product-title {
    min-height: 42px !important;
            font-size: var(--srnk-fs-13px) !important;
    }
}

.nav-pagination {
margin-top: 30px;
}

.nav-pagination li {
margin: 0 4px;
}

.nav-pagination > li > a, .nav-pagination > li > span {
width: 40px;
    height: 40px;
    background: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    color: #333 !important;
    font-weight: 600;
    line-height: 38px;
}

.nav-pagination > li > .current, .nav-pagination > li > span.current, .nav-pagination > li > a:hover {
background: var(--wine) !important;
    border-color: var(--wine) !important;
    color: #fff !important;
}

.breadcrumbs, .breadcrumbs a, .rank-math-breadcrumb a, .woocommerce-breadcrumb, .woocommerce-breadcrumb a {
color: var(--wine-dark) !important;
}

.breadcrumbs span:last-child, .woocommerce-breadcrumb {
font-weight: 600;
}

.breadcrumbs a:hover, .woocommerce-breadcrumb a:hover {
color: var(--wine-dark) !important;
}

@media screen and (min-width: 850px) {
    .tax-product_cat .shop-page-title .flex-right {
    width: 75% !important;
            margin-left: 25% !important;
            padding: 0 10px !important;
            justify-content: space-between !important;
    }
}

@media screen and (max-width: 849px) {
    .srnk-category-header {
    grid-template-columns: 1fr;
            gap: 18px;
    }
    .srnk-category-header__title {
    font-size: var(--srnk-fs-27px);
    }
    .srnk-category-header__banner {
    height: 165px;
    }
}

@media screen and (max-width: 549px) {
    .srnk-category-header__banner {
    height: 140px;
    }
    .srnk-catalog-toolbar {
    align-items: stretch;
            flex-direction: column;
            gap: 10px;
    }
    .srnk-catalog-toolbar select {
    width: 100%;
    }
}

.tax-product_cat .shop-container .products.row, .tax-product_brand .shop-container .products.row, .tax-pwb-brand .shop-container .products.row, .post-type-archive-product .shop-container .products.row {
display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
    width: 100% !important;
    margin: 0 !important;
}

.tax-product_cat .shop-container .products.row > .product-small, .tax-product_brand .shop-container .products.row > .product-small, .tax-pwb-brand .shop-container .products.row > .product-small, .post-type-archive-product .shop-container .products.row > .product-small {
float: none !important;
    flex: none !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.tax-product_cat .shop-container .product-small .col-inner, .tax-product_brand .shop-container .product-small .col-inner, .tax-pwb-brand .shop-container .product-small .col-inner, .post-type-archive-product .shop-container .product-small .col-inner {
width: 100% !important;
    height: 100%;
    box-sizing: border-box;
}

@media screen and (max-width: 849px) {
    .tax-product_cat .shop-container .products.row, .tax-product_brand .shop-container .products.row, .tax-pwb-brand .shop-container .products.row, .post-type-archive-product .shop-container .products.row {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
            gap: 14px !important;
    }
}

@media screen and (max-width: 549px) {
    .tax-product_cat .shop-container .products.row, .tax-product_brand .shop-container .products.row, .tax-pwb-brand .shop-container .products.row, .post-type-archive-product .shop-container .products.row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
            gap: 10px !important;
    }
}

.woocommerce-breadcrumb .divider, .breadcrumbs .divider {
margin: 0 9px !important;
    color: #b5b5b5 !important;
    font-size: var(--srnk-fs-13px) !important;
}

.tax-product_cat .shop-page-title, .tax-product_cat .page-title, .post-type-archive-product .shop-page-title, .post-type-archive-product .page-title {
padding: 0 !important;
    background: #fff !important;
    border: 0 !important;
}

.tax-product_cat .shop-page-title .page-title-inner, .tax-product_cat .page-title .page-title-inner, .post-type-archive-product .shop-page-title .page-title-inner, .post-type-archive-product .page-title .page-title-inner {
width: 100% !important;
    max-width: 1280px !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    padding: 12px 15px !important;
}

.tax-product_cat .breadcrumbs > span:last-child, .tax-product_cat .woocommerce-breadcrumb > span:last-child {
color: #b66f13 !important;
}

.tax-product_cat .shop-page-title, .tax-product_cat .page-title {
margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    border: 0 !important;
}

.tax-product_cat .shop-page-title .page-title-inner, .tax-product_cat .page-title .page-title-inner {
width: 100% !important;
    max-width: 1280px !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    padding: 11px 15px !important;
}

/* =========================================================
   SHOP PRODUCT CARD – CĂN LẠI CHỮ
   ========================================================= */

.products .product-small .box-text {
    text-align: left !important;
}

.products .product-small .product-cat {
    margin: 0 0 6px !important;
    color: var(--srnk-color-primary, #7b1128) !important;
    text-transform: uppercase !important;
}

.products .product-small .product-title {
    min-height: 42px !important;
    margin: 0 0 10px !important;
    text-align: left !important;
}

.products .product-small .price-wrapper {
    height: auto !important;
    margin-top: 0 !important;
}

.products .product-small .price {
    color: var(--srnk-color-primary, #7b1128) !important;
    text-align: left !important;
}

/* =========================================================
   SHOP – MÀU ĐÁNH GIÁ VÀ GIÁ
   ========================================================= */

/* Sao đánh giá màu xanh */
.products .product-small .star-rating,
.products .product-small .star-rating::before,
.products .product-small .star-rating span::before {
    color: #D4AF37 !important;
}

/* Số lượng đánh giá */
.products .product-small .review-count {
    color: #888 !important;
}

/* Giá mới màu đỏ */
.products .product-small .price,
.products .product-small .price > .amount,
.products .product-small .price ins,
.products .product-small .price ins .amount {
    color: var(--srnk-color-primary, #7b1128) !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

/* Giá cũ màu xám */
.products .product-small .price del,
.products .product-small .price del .amount {
    color: #aaa !important;
    font-weight: 400 !important;
    opacity: 1 !important;
}

/* Căn giá về bên trái */
.products .product-small .price {
    justify-content: flex-start !important;
    text-align: left !important;
}

/* =========================================================
   TOÀN BỘ TRANG SẢN PHẨM – 4 CỘT
   File: 04-shop.css
   ========================================================= */

/* Grid chung cho mọi trang archive WooCommerce */
body.woocommerce.archive .shop-container .products.row,
body.woocommerce.archive .shop-container .products,
body.post-type-archive-product .shop-container .products.row,
body.post-type-archive-product .shop-container .products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;

    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Reset cột mặc định Flatsome */
body.woocommerce.archive .shop-container .products > .product-small,
body.woocommerce.archive .shop-container .products > .product,
body.post-type-archive-product .shop-container .products > .product-small,
body.post-type-archive-product .shop-container .products > .product {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;

    flex: none !important;

    margin: 0 !important;
    padding: 0 !important;
}

/* Thẻ sản phẩm cao đều */
body.woocommerce.archive .shop-container .product-small .box,
body.post-type-archive-product .shop-container .product-small .box {
    display: flex !important;
    flex-direction: column !important;

    height: 100% !important;
}

/* Nội dung sản phẩm chiếm phần còn lại */
body.woocommerce.archive .shop-container .product-small .box-text,
body.post-type-archive-product .shop-container .product-small .box-text {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
}

/* Ảnh chiếm toàn bộ chiều rộng ô */
body.woocommerce.archive .shop-container .product-small .box-image,
body.post-type-archive-product .shop-container .product-small .box-image {
    width: 100% !important;
    max-width: none !important;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Tablet ngang */
@media screen and (max-width: 1100px) {
    body.woocommerce.archive .shop-container .products.row,
    body.woocommerce.archive .shop-container .products,
    body.post-type-archive-product .shop-container .products.row,
    body.post-type-archive-product .shop-container .products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }
}

/* Tablet và mobile */
@media screen and (max-width: 849px) {
    body.woocommerce.archive .shop-container .products.row,
    body.woocommerce.archive .shop-container .products,
    body.post-type-archive-product .shop-container .products.row,
    body.post-type-archive-product .shop-container .products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }
}

/* Mobile nhỏ */
@media screen and (max-width: 549px) {
    body.woocommerce.archive .shop-container .products.row,
    body.woocommerce.archive .shop-container .products,
    body.post-type-archive-product .shop-container .products.row,
    body.post-type-archive-product .shop-container .products {
        gap: 10px !important;
    }
}

/* =========================================================
   PHÂN TRANG SHOP / DANH MỤC SẢN PHẨM
   File: 04-shop.css
   ========================================================= */

.woocommerce-pagination {
    clear: both;
    width: 100%;
    margin: 34px 0 10px !important;
    padding: 0 !important;
    text-align: center;
}

/* Danh sách phân trang */
.woocommerce-pagination ul.page-numbers {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    list-style: none !important;
}

/* Mỗi ô */
.woocommerce-pagination ul.page-numbers > li {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    background: transparent !important;
}

/* Nút số trang */
.woocommerce-pagination .page-numbers li > a,
.woocommerce-pagination .page-numbers li > span {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    min-width: 42px;
    height: 42px;
    margin: 0 !important;
    padding: 0 12px !important;

    color: #333 !important;
    font-size: var(--srnk-fs-15px, 15px) !important;
    font-weight: 600;
    line-height: 1 !important;
    text-decoration: none !important;

    background: #fff !important;
    border: 1px solid #ded4d7 !important;
    border-radius: 6px !important;

    box-shadow: none !important;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

/* Hover */
.woocommerce-pagination .page-numbers li > a:hover {
    color: #fff !important;
    background: var(--srnk-color-primary, #7b1128) !important;
    border-color: var(--srnk-color-primary, #7b1128) !important;

    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(123, 17, 40, 0.18) !important;
}

/* Trang hiện tại */
.woocommerce-pagination .page-numbers li > span.current {
    color: #fff !important;
    background: var(--srnk-color-primary, #7b1128) !important;
    border-color: var(--srnk-color-primary, #7b1128) !important;

    box-shadow: 0 4px 10px rgba(123, 17, 40, 0.2) !important;
}

/* Dấu ba chấm */
.woocommerce-pagination .page-numbers li > span.dots {
    color: #777 !important;
    background: #faf8f8 !important;
    border-color: #e8dfe1 !important;
}

/* Nút trước / sau */
.woocommerce-pagination .page-numbers li > a.prev,
.woocommerce-pagination .page-numbers li > a.next {
    min-width: 44px;
    padding: 0 14px !important;

    color: var(--srnk-color-primary, #7b1128) !important;
    font-size: 0 !important;
}

/* Mũi tên bằng CSS */
.woocommerce-pagination .page-numbers li > a.prev::before,
.woocommerce-pagination .page-numbers li > a.next::before {
    font-size: 21px;
    font-weight: 400;
    line-height: 1;
}

.woocommerce-pagination .page-numbers li > a.prev::before {
    content: "‹";
}

.woocommerce-pagination .page-numbers li > a.next::before {
    content: "›";
}

/* Hover nút trước / sau */
.woocommerce-pagination .page-numbers li > a.prev:hover,
.woocommerce-pagination .page-numbers li > a.next:hover {
    color: #fff !important;
}

/* Khoảng cách cuối danh sách sản phẩm */
.shop-container .products,
.archive.woocommerce .products {
    margin-bottom: 20px !important;
}

/* Mobile */
@media screen and (max-width: 549px) {
    .woocommerce-pagination {
        margin-top: 24px !important;
    }

    .woocommerce-pagination ul.page-numbers {
        gap: 6px;
    }

    .woocommerce-pagination .page-numbers li > a,
    .woocommerce-pagination .page-numbers li > span {
        min-width: 36px;
        height: 36px;
        padding: 0 9px !important;

        font-size: var(--srnk-fs-14px, 14px) !important;
        border-radius: 5px !important;
    }

    .woocommerce-pagination .page-numbers li > a.prev,
    .woocommerce-pagination .page-numbers li > a.next {
        min-width: 38px;
    }
}

/* =========================================================
   SHOP CATEGORY HERO
   File: 04-shop.css
   ========================================================= */

.shop-category-hero,
.category-header,
.tax-product_cat .shop-page-title {
    position: relative;
    overflow: hidden;

    margin: 0 0 28px !important;
    padding: 28px 32px !important;

    background:
        linear-gradient(
            135deg,
            #fff 0%,
            #fffaf8 58%,
            #f7eded 100%
        ) !important;

    border: 1px solid #eadfe1;
    border-radius: 10px;

    box-shadow: 0 8px 24px rgba(82, 18, 34, 0.08);
}

/* Thanh nhấn phía trên */
.shop-category-hero::before,
.category-header::before,
.tax-product_cat .shop-page-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 32px;

    width: 74px;
    height: 4px;

    background: linear-gradient(
        90deg,
        var(--srnk-color-primary, #7b1128),
        var(--srnk-color-secondary, #c9a34e)
    );

    border-radius: 0 0 4px 4px;
}

/* Bố cục 2 cột */
.shop-category-hero .row,
.category-header .row,
.tax-product_cat .shop-page-title .row {
    display: flex !important;
    align-items: center !important;
    gap: 32px !important;
}

/* Cột nội dung */
.shop-category-hero .category-content,
.category-header .category-content,
.tax-product_cat .shop-page-title .page-title-inner {
    flex: 1 1 46%;
}

/* Breadcrumb */
.shop-category-hero .breadcrumbs,
.category-header .breadcrumbs,
.tax-product_cat .breadcrumbs {
    margin: 0 0 12px !important;

    color: #8c7b7f !important;
    font-size: var(--srnk-fs-12px, 12px) !important;
    font-weight: 500;
}

.shop-category-hero .breadcrumbs a,
.category-header .breadcrumbs a,
.tax-product_cat .breadcrumbs a {
    color: #7c6b70 !important;
}

.shop-category-hero .breadcrumbs a:hover,
.category-header .breadcrumbs a:hover,
.tax-product_cat .breadcrumbs a:hover {
    color: var(--srnk-color-primary, #7b1128) !important;
}

/* Tiêu đề */
.shop-category-hero h1,
.category-header h1,
.tax-product_cat .shop-page-title h1 {
    position: relative;

    margin: 0 0 14px !important;
    padding: 0 0 13px !important;

    color: #241b1d !important;
    font-size: clamp(30px, 3vw, 42px) !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.5px;
}

/* Mô tả */
.shop-category-hero .category-description,
.category-header .category-description,
.tax-product_cat .term-description {
    max-width: 560px;
    margin: 0 !important;

    color: #5e5557 !important;
    font-size: var(--srnk-fs-15px, 15px) !important;
    font-weight: 400;
    line-height: 1.75 !important;
}

.shop-category-hero .category-description p,
.category-header .category-description p,
.tax-product_cat .term-description p {
    margin: 0 !important;
}

/* Cột ảnh */
.shop-category-hero .category-image,
.category-header .category-image,
.tax-product_cat .shop-page-title .category-banner {
    flex: 1 1 54%;
}

/* Ảnh banner */
.shop-category-hero img,
.category-header img,
.tax-product_cat .shop-page-title img {
    display: block;
    width: 100%;
    height: 190px;

    object-fit: cover;
    object-position: center;

    border-radius: 8px;

    box-shadow: 0 8px 20px rgba(65, 15, 27, 0.18);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

/* Hover ảnh */
.shop-category-hero:hover img,
.category-header:hover img,
.tax-product_cat .shop-page-title:hover img {
    transform: scale(1.015);
    box-shadow: 0 12px 28px rgba(65, 15, 27, 0.24);
}

/* Lớp phủ nhẹ trên ảnh */
.shop-category-hero .category-image,
.category-header .category-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.shop-category-hero .category-image::after,
.category-header .category-image::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(55, 9, 20, 0.08),
        transparent 42%,
        rgba(55, 9, 20, 0.05)
    );

    pointer-events: none;
}

/* Tablet */
@media screen and (max-width: 849px) {
    .shop-category-hero,
    .category-header,
    .tax-product_cat .shop-page-title {
        padding: 24px !important;
    }

    .shop-category-hero .row,
    .category-header .row,
    .tax-product_cat .shop-page-title .row {
        gap: 22px !important;
    }

    .shop-category-hero img,
    .category-header img,
    .tax-product_cat .shop-page-title img {
        height: 170px;
    }
}

/* Mobile */
@media screen and (max-width: 549px) {
    .shop-category-hero,
    .category-header,
    .tax-product_cat .shop-page-title {
        padding: 20px 18px !important;
        border-radius: 7px;
    }

    .shop-category-hero::before,
    .category-header::before,
    .tax-product_cat .shop-page-title::before {
        left: 18px;
    }

    .shop-category-hero .row,
    .category-header .row,
    .tax-product_cat .shop-page-title .row {
        display: block !important;
    }

    .shop-category-hero h1,
    .category-header h1,
    .tax-product_cat .shop-page-title h1 {
        font-size: 28px !important;
    }

    .shop-category-hero .category-description,
    .category-header .category-description,
    .tax-product_cat .term-description {
        margin-bottom: 18px !important;
        font-size: var(--srnk-fs-14px, 14px) !important;
    }

    .shop-category-hero img,
    .category-header img,
    .tax-product_cat .shop-page-title img {
        height: 155px;
    }
}


/* =========================================================
   WOOCOMMERCE CHECKOUT BLOCK
   SHOP RƯỢU NHẬP KHẨU
   ========================================================= */

.woocommerce-checkout {
    --checkout-wine: var(--srnk-color-primary, #7b1128);
    --checkout-wine-dark: var(--srnk-color-primary-dark, #570b1c);
    --checkout-gold: var(--srnk-color-secondary, #c9a34e);
    --checkout-text: #352d30;
    --checkout-muted: #756a6d;
    --checkout-border: #eadfe1;
    --checkout-soft: #fffafa;
}

/* =========================================================
   KHUNG TRANG
   ========================================================= */

.woocommerce-checkout .checkout-page-title {
    margin: 0 !important;
    padding: 22px 0 12px !important;
    background: #fff !important;
}

.woocommerce-checkout .page-checkout,
.woocommerce-checkout .checkout-container {
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding-top: 24px !important;
    padding-bottom: 52px !important;
}

/* Bố cục hai cột */
.woocommerce-checkout .wc-block-components-sidebar-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1.55fr) minmax(340px, 0.85fr) !important;
    align-items: start !important;
    gap: 64px !important;
}

/* Reset kích thước mặc định */
.woocommerce-checkout .wc-block-components-main,
.woocommerce-checkout .wc-block-components-sidebar {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

/* =========================================================
   THANH BƯỚC CHECKOUT
   ========================================================= */

.woocommerce-checkout .checkout-breadcrumbs {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;

    margin: 0 !important;

    font-size: var(--srnk-fs-13px, 13px) !important;
    font-weight: 500 !important;
    line-height: 1.4;
    text-transform: none !important;
}

.woocommerce-checkout .checkout-breadcrumbs a {
    color: #8a7d81 !important;
    font-weight: 500 !important;
}

.woocommerce-checkout .checkout-breadcrumbs a.current {
    color: var(--checkout-wine) !important;
    font-weight: 700 !important;
}

.woocommerce-checkout .checkout-breadcrumbs .divider {
    color: #c9bec1 !important;
}

/* =========================================================
   TIÊU ĐỀ KHỐI
   ========================================================= */

.woocommerce-checkout
.wc-block-components-checkout-step__heading,
.woocommerce-checkout
.wc-block-checkout__shipping-method-option-heading,
.woocommerce-checkout
.wc-block-checkout__payment-method-option-heading {
    margin: 0 0 14px !important;
    padding: 0 0 11px !important;

    color: var(--checkout-wine) !important;
    font-size: var(--srnk-fs-17px, 17px) !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;

    border-bottom: 1px solid var(--checkout-border) !important;
}

/* Tiêu đề Flatsome đang render dạng text thường */
.woocommerce-checkout h2,
.woocommerce-checkout h3 {
    color: var(--checkout-wine) !important;
}

/* Khoảng cách từng bước */
.woocommerce-checkout .wc-block-components-checkout-step {
    margin-bottom: 26px !important;
}

/* =========================================================
   FORM FIELDS
   ========================================================= */

.woocommerce-checkout
.wc-block-components-text-input,
.woocommerce-checkout
.wc-block-components-combobox {
    margin-bottom: 12px !important;
}

/* Input, select */
.woocommerce-checkout
.wc-block-components-text-input input,
.woocommerce-checkout
.wc-block-components-combobox-control input,
.woocommerce-checkout
.wc-block-components-address-form select,
.woocommerce-checkout select {
    width: 100% !important;
    min-height: 46px !important;

    margin: 0 !important;
    padding: 16px 13px 5px !important;

    color: #40373a !important;
    font-size: var(--srnk-fs-14px, 14px) !important;
    font-weight: 500 !important;

    background: #fff !important;
    border: 1px solid #d8cbcf !important;
    border-radius: 5px !important;

    box-shadow: none !important;
    outline: none !important;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

/* Focus */
.woocommerce-checkout
.wc-block-components-text-input input:focus,
.woocommerce-checkout
.wc-block-components-combobox-control input:focus,
.woocommerce-checkout
.wc-block-components-address-form select:focus,
.woocommerce-checkout select:focus {
    border-color: var(--checkout-wine) !important;
    box-shadow: 0 0 0 3px rgba(123, 17, 40, 0.08) !important;
}

/* Label nổi */
.woocommerce-checkout
.wc-block-components-text-input label,
.woocommerce-checkout
.wc-block-components-combobox-control label {
    color: #6d6064 !important;
    font-size: var(--srnk-fs-12px, 12px) !important;
    font-weight: 500 !important;
}

/* Placeholder */
.woocommerce-checkout input::placeholder,
.woocommerce-checkout textarea::placeholder {
    color: #a19498 !important;
    opacity: 1 !important;
}

/* Hai cột tên/họ, mã bưu điện/thành phố */
.woocommerce-checkout .wc-block-components-address-form__first_name,
.woocommerce-checkout .wc-block-components-address-form__last_name,
.woocommerce-checkout .wc-block-components-address-form__postcode,
.woocommerce-checkout .wc-block-components-address-form__city {
    width: calc(50% - 6px) !important;
}

/* =========================================================
   CHECKBOX, RADIO
   ========================================================= */

.woocommerce-checkout input[type="checkbox"],
.woocommerce-checkout input[type="radio"] {
    accent-color: var(--checkout-wine);
}

.woocommerce-checkout
.wc-block-components-checkbox__label,
.woocommerce-checkout
.wc-block-components-radio-control__label {
    color: #514649 !important;
    font-size: var(--srnk-fs-13px, 13px) !important;
    font-weight: 500 !important;
}

/* =========================================================
   PHƯƠNG THỨC VẬN CHUYỂN
   ========================================================= */

.woocommerce-checkout
.wc-block-components-radio-control-accordion-option {
    margin: 0 0 10px !important;
    padding: 14px !important;

    background: #fff !important;
    border: 1px solid #dcd0d3 !important;
    border-radius: 6px !important;
}

.woocommerce-checkout
.wc-block-components-radio-control-accordion-option:hover {
    border-color: var(--checkout-wine) !important;
    background: var(--checkout-soft) !important;
}

/* Giá vận chuyển */
.woocommerce-checkout
.wc-block-components-radio-control__secondary-label {
    color: var(--checkout-wine) !important;
    font-weight: 700 !important;
    text-transform: uppercase;
}

/* =========================================================
   PHƯƠNG THỨC THANH TOÁN
   ========================================================= */

.woocommerce-checkout
.wc-block-checkout__payment-method {
    margin-top: 8px !important;
}

.woocommerce-checkout
.wc-block-components-radio-control-accordion-content {
    color: var(--checkout-muted) !important;
    font-size: var(--srnk-fs-13px, 13px) !important;
    line-height: 1.5 !important;
}

/* Cảnh báo không có phương thức thanh toán */
.woocommerce-checkout
.wc-block-components-notice-banner,
.woocommerce-checkout
.wc-block-components-notice-banner.is-error,
.woocommerce-checkout
.wc-block-components-notice-banner--error {
    margin: 10px 0 18px !important;
    padding: 14px 16px !important;

    color: #7b1128 !important;
    font-size: var(--srnk-fs-13px, 13px) !important;
    line-height: 1.55 !important;

    background: #fff2f3 !important;
    border: 1px solid #d75d6f !important;
    border-left: 4px solid var(--checkout-wine) !important;
    border-radius: 6px !important;
}

/* =========================================================
   GHI CHÚ ĐƠN HÀNG
   ========================================================= */

.woocommerce-checkout textarea {
    min-height: 110px !important;
    padding: 12px 13px !important;

    color: #40373a !important;
    background: #fff !important;
    border: 1px solid #d8cbcf !important;
    border-radius: 5px !important;

    box-shadow: none !important;
}

/* =========================================================
   SIDEBAR TÓM TẮT ĐƠN HÀNG
   ========================================================= */

.woocommerce-checkout .wc-block-components-sidebar {
    position: sticky;
    top: 96px;

    padding: 22px !important;

    background: #fffafa !important;
    border: 1px solid var(--checkout-border) !important;
    border-top: 3px solid var(--checkout-wine) !important;
    border-radius: 8px !important;

    box-shadow: 0 8px 24px rgba(76, 15, 31, 0.08) !important;
}

/* Tiêu đề */
.woocommerce-checkout
.wc-block-components-checkout-order-summary__title,
.woocommerce-checkout
.wc-block-checkout__sidebar h2 {
    margin: 0 0 14px !important;
    padding: 0 0 13px !important;

    color: var(--checkout-wine) !important;
    font-size: var(--srnk-fs-17px, 17px) !important;
    font-weight: 700 !important;
    text-transform: uppercase;

    border-bottom: 1px solid var(--checkout-border) !important;
}

/* =========================================================
   SẢN PHẨM TRONG TÓM TẮT
   ========================================================= */

.woocommerce-checkout
.wc-block-components-order-summary-item {
    display: grid !important;
    grid-template-columns: 54px minmax(0, 1fr) auto !important;
    gap: 10px !important;

    margin: 0 !important;
    padding: 12px 0 !important;

    border-bottom: 1px solid #eee4e7 !important;
}

/* Ảnh */
.woocommerce-checkout
.wc-block-components-order-summary-item__image {
    width: 54px !important;
    height: 68px !important;
}

.woocommerce-checkout
.wc-block-components-order-summary-item__image img {
    width: 48px !important;
    height: 62px !important;

    object-fit: contain !important;

    background: #fff !important;
    border: 1px solid #eee3e6 !important;
    border-radius: 5px !important;
}

/* Badge số lượng */
.woocommerce-checkout
.wc-block-components-order-summary-item__quantity {
    color: #fff !important;
    background: var(--checkout-wine) !important;
    border: 2px solid #fff !important;
}

/* Tên sản phẩm */
.woocommerce-checkout
.wc-block-components-order-summary-item__description
.wc-block-components-product-name {
    color: #3b3336 !important;
    font-size: var(--srnk-fs-13px, 13px) !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
}

/* Mô tả */
.woocommerce-checkout
.wc-block-components-product-metadata__description p {
    margin: 4px 0 0 !important;

    color: #7c7074 !important;
    font-size: var(--srnk-fs-11px, 11px) !important;
    line-height: 1.4 !important;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Giá từng sản phẩm */
.woocommerce-checkout
.wc-block-components-order-summary-item__total-price {
    color: var(--checkout-wine) !important;
    font-size: var(--srnk-fs-13px, 13px) !important;
    font-weight: 700 !important;
    white-space: nowrap;
}

/* =========================================================
   MÃ GIẢM GIÁ – ẨN
   ========================================================= */

.woocommerce-checkout
.wp-block-woocommerce-checkout-order-summary-coupon-form-block,
.woocommerce-checkout
.wc-block-components-totals-coupon {
    display: none !important;
}

/* =========================================================
   TỔNG TIỀN
   ========================================================= */

.woocommerce-checkout
.wc-block-components-totals-wrapper {
    padding: 0 !important;
    border-bottom: 1px solid var(--checkout-border) !important;
}

.woocommerce-checkout
.wc-block-components-totals-item {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 12px;

    min-height: 52px;
    padding: 12px 0 !important;
}

.woocommerce-checkout
.wc-block-components-totals-item__label {
    color: #5a4f52 !important;
    font-size: var(--srnk-fs-13px, 13px) !important;
    font-weight: 500 !important;
}

.woocommerce-checkout
.wc-block-components-totals-item__value {
    color: var(--checkout-wine) !important;
    font-size: var(--srnk-fs-13px, 13px) !important;
    font-weight: 700 !important;
    text-align: right;
}

/* Tổng */
.woocommerce-checkout
.wc-block-components-totals-footer-item {
    min-height: 68px !important;
    padding: 16px 0 !important;
}

.woocommerce-checkout
.wc-block-components-totals-footer-item
.wc-block-components-totals-item__label {
    color: #342c2f !important;
    font-size: var(--srnk-fs-18px, 18px) !important;
    font-weight: 600 !important;
}

.woocommerce-checkout
.wc-block-components-totals-footer-item
.wc-block-components-totals-item__value {
    color: var(--checkout-wine) !important;
    font-size: var(--srnk-fs-20px, 20px) !important;
    font-weight: 700 !important;
}

/* =========================================================
   NÚT ĐẶT HÀNG
   ========================================================= */

.woocommerce-checkout
.wc-block-components-checkout-place-order-button {
    min-height: 54px !important;
    width: 100% !important;

    margin-top: 16px !important;
    padding: 0 20px !important;

    color: #fff !important;
    font-size: var(--srnk-fs-16px, 16px) !important;
    font-weight: 700 !important;

    background: var(--checkout-wine) !important;
    border: 1px solid var(--checkout-wine) !important;
    border-radius: 5px !important;

    box-shadow: 0 5px 14px rgba(123, 17, 40, 0.17) !important;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease !important;
}

.woocommerce-checkout
.wc-block-components-checkout-place-order-button:hover {
    color: #3f2400 !important;
    background: var(--checkout-gold) !important;
    border-color: var(--checkout-gold) !important;

    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(201, 163, 78, 0.24) !important;
}

/* =========================================================
   TABLET
   ========================================================= */

@media screen and (max-width: 1024px) {
    .woocommerce-checkout .wc-block-components-sidebar-layout {
        grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.85fr) !important;
        gap: 30px !important;
    }

    .woocommerce-checkout .wc-block-components-sidebar {
        padding: 18px !important;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 849px) {
    .woocommerce-checkout .checkout-page-title {
        padding: 18px 0 8px !important;
    }

    .woocommerce-checkout .page-checkout,
    .woocommerce-checkout .checkout-container {
        padding: 16px 14px 36px !important;
    }

    .woocommerce-checkout .wc-block-components-sidebar-layout {
        display: block !important;
    }

    .woocommerce-checkout .wc-block-components-sidebar {
        position: static;
        margin-top: 26px !important;
        padding: 18px !important;
    }

    .woocommerce-checkout
    .wc-block-components-address-form__first_name,
    .woocommerce-checkout
    .wc-block-components-address-form__last_name,
    .woocommerce-checkout
    .wc-block-components-address-form__postcode,
    .woocommerce-checkout
    .wc-block-components-address-form__city {
        width: 100% !important;
    }

    .woocommerce-checkout
    .wc-block-components-checkout-place-order-button {
        min-height: 50px !important;
        font-size: var(--srnk-fs-15px, 15px) !important;
    }
}


/* =========================================================
   NỘI DUNG GIỚI THIỆU DANH MỤC
   Hiển thị dưới sản phẩm và phân trang
   ========================================================= */

.srnk-category-content {
    clear: both;

    width: 100%;
    margin: 42px 0 0;
    padding: 0;
}

.srnk-category-content__inner {
    padding: 28px 30px;

    color: #4f4548;
    background: #fffafa;

    border: 1px solid #eadfe1;
    border-top: 3px solid var(--srnk-color-primary, #7b1128);
    border-radius: 8px;

    box-shadow: 0 8px 24px rgba(76, 15, 31, 0.06);
}

/* Tiêu đề chính */
.srnk-category-content__title {
    position: relative;

    margin: 0 0 20px;
    padding: 0 0 14px;

    color: var(--srnk-color-primary, #7b1128);

    font-family: var(
        --srnk-font-body,
        Arial,
        Helvetica,
        sans-serif
    );

    font-size: var(--srnk-fs-22px, 22px);
    font-weight: 700;
    line-height: 1.35;

    border-bottom: 1px solid #eadfe1;
}

.srnk-category-content__title::after {
    content: "";

    position: absolute;
    bottom: -1px;
    left: 0;

    width: 58px;
    height: 2px;

    background: linear-gradient(
        90deg,
        var(--srnk-color-primary, #7b1128),
        var(--srnk-color-secondary, #c9a34e)
    );
}

/* Nội dung */
.srnk-category-content__body {
    color: #554b4e;

    font-family: var(
        --srnk-font-body,
        Arial,
        Helvetica,
        sans-serif
    );

    font-size: var(--srnk-fs-15px, 15px);
    font-weight: 400;
    line-height: 1.75;
}

.srnk-category-content__body > :first-child {
    margin-top: 0;
}

.srnk-category-content__body > :last-child {
    margin-bottom: 0;
}

.srnk-category-content__body h2,
.srnk-category-content__body h3,
.srnk-category-content__body h4 {
    margin: 24px 0 12px;

    color: var(--srnk-color-primary, #7b1128);

    font-family: var(
        --srnk-font-body,
        Arial,
        Helvetica,
        sans-serif
    );

    font-weight: 700;
    line-height: 1.4;
}

.srnk-category-content__body h2 {
    font-size: var(--srnk-fs-20px, 20px);
}

.srnk-category-content__body h3 {
    font-size: var(--srnk-fs-18px, 18px);
}

.srnk-category-content__body p {
    margin: 0 0 14px;
}

.srnk-category-content__body ul,
.srnk-category-content__body ol {
    margin: 0 0 16px;
    padding-left: 22px;
}

.srnk-category-content__body li {
    margin-bottom: 7px;
}

.srnk-category-content__body a {
    color: var(--srnk-color-primary, #7b1128);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.srnk-category-content__body a:hover {
    color: var(--srnk-color-primary-dark, #570b1c);
}

/* Mobile */
@media screen and (max-width: 849px) {
    .srnk-category-content {
        margin-top: 30px;
    }

    .srnk-category-content__inner {
        padding: 22px 20px;
    }

    .srnk-category-content__title {
        font-size: var(--srnk-fs-20px, 20px);
    }

    .srnk-category-content__body {
        font-size: var(--srnk-fs-14px, 14px);
        line-height: 1.7;
    }
}

/* =========================================================
   BÀI VIẾT SEO DƯỚI DANH MỤC SẢN PHẨM
   File: 04-shop.css
   ========================================================= */

.woocommerce.archive .product-category-bottom-content {
    --cat-wine: var(--srnk-color-primary, #7b1128);
    --cat-wine-dark: var(--srnk-color-primary-dark, #570b1c);
    --cat-gold: var(--srnk-color-secondary, #c9a34e);
    --cat-text: #4e4548;
    --cat-muted: #756b6e;
    --cat-border: #eadfe1;
    --cat-soft: #fffafa;

    clear: both !important;

    width: 100% !important;
    max-width: none !important;

    margin: 42px 0 0 !important;
    padding: 30px 32px !important;

    color: var(--cat-text) !important;
    background: #fff !important;

    border: 1px solid var(--cat-border) !important;
    border-top: 3px solid var(--cat-wine) !important;
    border-radius: 8px !important;

    box-shadow: 0 8px 24px rgba(77, 14, 31, 0.07) !important;

    box-sizing: border-box !important;
}

/* =========================================================
   FONT CHUNG
   ========================================================= */

.woocommerce.archive .product-category-bottom-content,
.woocommerce.archive .product-category-bottom-content h1,
.woocommerce.archive .product-category-bottom-content h2,
.woocommerce.archive .product-category-bottom-content h3,
.woocommerce.archive .product-category-bottom-content h4,
.woocommerce.archive .product-category-bottom-content p,
.woocommerce.archive .product-category-bottom-content ul,
.woocommerce.archive .product-category-bottom-content ol,
.woocommerce.archive .product-category-bottom-content li,
.woocommerce.archive .product-category-bottom-content table,
.woocommerce.archive .product-category-bottom-content th,
.woocommerce.archive .product-category-bottom-content td,
.woocommerce.archive .product-category-bottom-content a,
.woocommerce.archive .product-category-bottom-content strong {
    font-family: var(
        --srnk-font-body,
        Arial,
        Helvetica,
        sans-serif
    ) !important;

    font-style: normal !important;
    font-variant: normal !important;
    letter-spacing: 0 !important;
}

/* =========================================================
   TIÊU ĐỀ ĐẦU BÀI
   ========================================================= */

.woocommerce.archive
.product-category-bottom-content > h2:first-child {
    position: relative;

    margin: 0 0 22px !important;
    padding: 0 0 16px !important;

    color: var(--cat-wine) !important;
    font-size: var(--srnk-fs-26px, 26px) !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;

    border-bottom: 1px solid var(--cat-border) !important;
}

.woocommerce.archive
.product-category-bottom-content > h2:first-child::after {
    content: "";

    position: absolute;
    bottom: -1px;
    left: 0;

    width: 72px;
    height: 3px;

    background: linear-gradient(
        90deg,
        var(--cat-wine),
        var(--cat-gold)
    );
}

/* =========================================================
   H2 – TIÊU ĐỀ CÁC PHẦN
   ========================================================= */

.woocommerce.archive .product-category-bottom-content h2 {
    position: relative;

    margin: 30px 0 16px !important;
    padding: 0 0 11px !important;

    color: var(--cat-wine) !important;
    font-size: var(--srnk-fs-22px, 22px) !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;

    border-bottom: 1px solid #eee5e7 !important;
}

.woocommerce.archive .product-category-bottom-content h2::before {
    content: "";

    position: absolute;
    bottom: -1px;
    left: 0;

    width: 48px;
    height: 2px;

    background: var(--cat-gold);
}

/* Không tạo gạch kép cho tiêu đề đầu */
.woocommerce.archive
.product-category-bottom-content > h2:first-child::before {
    display: none !important;
}

/* =========================================================
   H3 – TIÊU ĐỀ NHỎ
   ========================================================= */

.woocommerce.archive .product-category-bottom-content h3 {
    position: relative;

    margin: 22px 0 9px !important;
    padding-left: 14px !important;

    color: #3e3538 !important;
    font-size: var(--srnk-fs-18px, 18px) !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
}

.woocommerce.archive .product-category-bottom-content h3::before {
    content: "";

    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 0;

    width: 3px;

    background: linear-gradient(
        180deg,
        var(--cat-wine),
        var(--cat-gold)
    );

    border-radius: 2px;
}

/* =========================================================
   ĐOẠN VĂN
   ========================================================= */

.woocommerce.archive .product-category-bottom-content p {
    margin: 0 0 15px !important;

    color: var(--cat-text) !important;
    font-size: var(--srnk-fs-15px, 15px) !important;
    font-weight: 400 !important;
    line-height: 1.75 !important;
}

.woocommerce.archive
.product-category-bottom-content > p:first-of-type {
    color: #51464a !important;
    font-size: var(--srnk-fs-16px, 16px) !important;
    line-height: 1.75 !important;
}

.woocommerce.archive .product-category-bottom-content strong {
    color: #3b3235 !important;
    font-weight: 700 !important;
}

/* =========================================================
   DANH SÁCH
   ========================================================= */

.woocommerce.archive .product-category-bottom-content ul,
.woocommerce.archive .product-category-bottom-content ol {
    margin: 4px 0 20px !important;
    padding-left: 25px !important;
}

.woocommerce.archive .product-category-bottom-content li {
    margin: 0 0 8px !important;
    padding-left: 3px !important;

    color: var(--cat-text) !important;
    font-size: var(--srnk-fs-15px, 15px) !important;
    line-height: 1.65 !important;
}

.woocommerce.archive
.product-category-bottom-content li::marker {
    color: var(--cat-wine) !important;
}

/* =========================================================
   ĐƯỜNG KẺ
   ========================================================= */

.woocommerce.archive .product-category-bottom-content hr {
    height: 1px !important;
    margin: 27px 0 !important;

    background: var(--cat-border) !important;
    border: 0 !important;
}

/* =========================================================
   BẢNG GIÁ
   ========================================================= */

.woocommerce.archive .product-category-bottom-content table {
    width: 100% !important;
    margin: 18px 0 26px !important;

    border: 1px solid var(--cat-border) !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 7px !important;

    overflow: hidden !important;
}

.woocommerce.archive .product-category-bottom-content thead {
    background: var(--cat-wine) !important;
}

.woocommerce.archive .product-category-bottom-content th {
    padding: 12px 14px !important;

    color: #fff !important;
    font-size: var(--srnk-fs-13px, 13px) !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    text-align: left !important;
    text-transform: uppercase !important;

    background: var(--cat-wine) !important;
    border: 0 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.16) !important;
}

.woocommerce.archive
.product-category-bottom-content th:last-child {
    border-right: 0 !important;
}

.woocommerce.archive .product-category-bottom-content td {
    padding: 12px 14px !important;

    color: var(--cat-text) !important;
    font-size: var(--srnk-fs-14px, 14px) !important;
    line-height: 1.5 !important;

    background: #fff !important;
    border: 0 !important;
    border-bottom: 1px solid var(--cat-border) !important;
    border-right: 1px solid var(--cat-border) !important;
}

.woocommerce.archive
.product-category-bottom-content td:last-child {
    border-right: 0 !important;
}

.woocommerce.archive
.product-category-bottom-content tbody tr:last-child td {
    border-bottom: 0 !important;
}

.woocommerce.archive
.product-category-bottom-content tbody tr:nth-child(even) td {
    background: var(--cat-soft) !important;
}

.woocommerce.archive
.product-category-bottom-content tbody tr:hover td {
    background: #fff4f6 !important;
}

/* =========================================================
   LIÊN KẾT
   ========================================================= */

.woocommerce.archive .product-category-bottom-content a {
    color: var(--cat-wine) !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
    text-decoration-color: rgba(123, 17, 40, 0.3) !important;
    text-underline-offset: 3px !important;

    transition:
        color 0.2s ease,
        text-decoration-color 0.2s ease !important;
}

.woocommerce.archive .product-category-bottom-content a:hover {
    color: var(--cat-wine-dark) !important;
    text-decoration-color: var(--cat-gold) !important;
}

/* =========================================================
   FAQ
   ========================================================= */

.woocommerce.archive
.product-category-bottom-content h3 + p {
    margin-left: 14px !important;
    padding: 11px 14px !important;

    background: var(--cat-soft) !important;
    border-left: 3px solid var(--cat-gold) !important;
    border-radius: 0 5px 5px 0 !important;
}

/* Chỉ áp dụng hộp FAQ từ phần câu hỏi thường gặp */
.woocommerce.archive
.product-category-bottom-content h2:nth-last-of-type(2) ~ h3 + p {
    background: var(--cat-soft) !important;
}

/* =========================================================
   CTA CUỐI BÀI
   ========================================================= */

.woocommerce.archive
.product-category-bottom-content > h2:last-of-type {
    margin: 34px 0 0 !important;
    padding: 18px 20px !important;

    color: #fff !important;
    background: linear-gradient(
        135deg,
        var(--cat-wine),
        var(--cat-wine-dark)
    ) !important;

    border: 0 !important;
    border-radius: 7px 7px 0 0 !important;
}

.woocommerce.archive
.product-category-bottom-content > h2:last-of-type::before {
    display: none !important;
}

.woocommerce.archive
.product-category-bottom-content > h2:last-of-type + p {
    margin: 0 !important;
    padding: 18px 20px !important;

    color: #51464a !important;
    background: var(--cat-soft) !important;

    border: 1px solid var(--cat-border) !important;
    border-top: 0 !important;
    border-radius: 0 0 7px 7px !important;
}

/* =========================================================
   TABLET
   ========================================================= */

@media screen and (max-width: 849px) {
    .woocommerce.archive .product-category-bottom-content {
        margin-top: 32px !important;
        padding: 24px 21px !important;
    }

    .woocommerce.archive
    .product-category-bottom-content > h2:first-child {
        font-size: var(--srnk-fs-22px, 22px) !important;
    }

    .woocommerce.archive .product-category-bottom-content h2 {
        margin-top: 26px !important;
        font-size: var(--srnk-fs-19px, 19px) !important;
    }

    .woocommerce.archive .product-category-bottom-content h3 {
        font-size: var(--srnk-fs-17px, 17px) !important;
    }

    .woocommerce.archive .product-category-bottom-content p,
    .woocommerce.archive .product-category-bottom-content li {
        font-size: var(--srnk-fs-14px, 14px) !important;
        line-height: 1.7 !important;
    }

    .woocommerce.archive .product-category-bottom-content table {
        display: block !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 549px) {
    .woocommerce.archive .product-category-bottom-content {
        margin-top: 26px !important;
        padding: 20px 16px !important;

        border-radius: 6px !important;
    }

    .woocommerce.archive
    .product-category-bottom-content > h2:first-child {
        font-size: var(--srnk-fs-20px, 20px) !important;
    }

    .woocommerce.archive .product-category-bottom-content h2 {
        font-size: var(--srnk-fs-18px, 18px) !important;
    }

    .woocommerce.archive .product-category-bottom-content h3 {
        padding-left: 12px !important;
        font-size: var(--srnk-fs-16px, 16px) !important;
    }

    .woocommerce.archive
    .product-category-bottom-content > h2:last-of-type {
        padding: 15px 16px !important;
    }

    .woocommerce.archive
    .product-category-bottom-content > h2:last-of-type + p {
        padding: 16px !important;
    }
}