/* 

*/
.archive.woocommerce .cts-hdr,
.archive.woocommerce .hdr-mb,
body.home .cts-hdr,
body.home .hdr-mb {
    display: none !important;
}
body * {
    font-family: 'Albula' !important;
}
.elementor-element-fdd18de {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.rrw-hdr {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* padding: 24px 40px; */
    background: transparent !important;
    box-sizing: border-box;
}
.rrw-hdr > .elementor-element-2bafcb2,
.rrw-hdr > .elementor-element-2aa06ad {
    flex: 1 1 0;
    display: flex;
    /* align-items: center; */
}

.rrw-hdr > .elementor-element-2bafcb2 {
    justify-content: flex-start;
}

.rrw-hdr > .elementor-element-ea73e4e {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.rrw-hdr > .elementor-element-2aa06ad {
    justify-content: flex-end;
    gap: 10px;
}

.rrw-hdr .elementor-nav-menu--main,
.rrw-hdr .e-search-form,
.rrw-hdr > .elementor-element-2aa06ad .elementor-widget-icon .elementor-icon {
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.28) 0%,
        rgba(255, 255, 255, 0.04) 55%,
        rgba(255, 255, 255, 0.32) 100%
    ) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    box-shadow:
        inset 0 -6px 12px rgba(255, 255, 255, 0.35),
        inset 0 -1px 2px rgba(255, 255, 255, 0.75),
        inset 0 4px 10px rgba(0, 0, 0, 0.35),
        0 4px 15px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s ease;
}
.rrw-hdr .elementor-nav-menu--main {
    border-radius: 50px;
    padding: 3px 10px;
}

.rrw-hdr .elementor-nav-menu--main .elementor-nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
}

.rrw-hdr .elementor-nav-menu--main .elementor-item {
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 400;
    padding: 8px 16px !important;
    border-radius: 30px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.rrw-hdr .elementor-nav-menu--main .elementor-item:hover,
.rrw-hdr .elementor-nav-menu--main .elementor-item.elementor-item-active {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff !important;
}
.rrw-hdr .elementor-widget-image img {
    /* max-height: 50px; */
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}
.rrw-hdr .e-search-form {
    display: flex;
    align-items: center;
    border-radius: 50px;
    padding: 0 16px 0 30px;
    height: 40px;
    width: 240px;
}

.rrw-hdr .e-search-form:focus-within {
    border-color: rgba(255, 255, 255, 0.65) !important;
    box-shadow:
        inset 0 -8px 14px rgba(255, 255, 255, 0.45),
        inset 0 -1px 3px rgba(255, 255, 255, 0.9),
        inset 0 4px 10px rgba(0, 0, 0, 0.35),
        0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

.rrw-hdr .e-search-label {
    display: flex;
    align-items: center;
    margin-right: 10px;
    position: static !important;
    transform: none !important;
}

.rrw-hdr .e-search-label svg {
    width: 15px;
    height: 15px;
    fill: #ffffff;
    top: 21px;
}

.rrw-hdr .e-search-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
}

.rrw-hdr .e-search-input {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    color: #ffffff !important;
    font-size: 13px;
    padding: 0 !important;
    width: 100%;
    height: auto;
    min-height: auto;
}

.rrw-hdr .e-search-input::placeholder {
    color: rgba(255, 255, 255, 0.8);
    opacity: 1;
}

.rrw-hdr .e-search-input-wrapper svg.hidden {
    display: none;
}
.rrw-hdr > .elementor-element-2aa06ad .elementor-widget-icon .elementor-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.rrw-hdr > .elementor-element-2aa06ad .elementor-widget-icon .elementor-icon:hover {
    border-color: rgba(255, 255, 255, 0.65) !important;
    box-shadow:
        inset 0 -8px 14px rgba(255, 255, 255, 0.45),
        inset 0 -1px 3px rgba(255, 255, 255, 0.9),
        inset 0 4px 10px rgba(0, 0, 0, 0.35),
        0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

.rrw-hdr > .elementor-element-2aa06ad .elementor-widget-icon svg {
    width: 15px;
    height: 15px;
    fill: #ffffff;
}
@media (max-width: 1024px) {
    .rrw-hdr {
        padding: 16px 20px;
    }
    .rrw-hdr .e-search-form {
        width: 180px;
    }
}

@media (max-width: 767px) {
    .rrw-hdr .elementor-nav-menu--main,
    .rrw-hdr .e-search-form {
        display: none;
    }
}
@media (max-width: 767px) {
    .rrw-hdr .elementor-nav-menu--main,
    .rrw-hdr .e-search-form {
        display: none;
    }
}


/* =========================================================
   NÚT KHÁM PHÁ BỘ SƯU TẬP (.cts-btn2)
   ========================================================= */
.cts-btn2 .elementor-button {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 13px 26px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    
    /* Hiệu ứng kính phản quang 3D đồng bộ với Header */
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.28) 0%,
        rgba(255, 255, 255, 0.04) 55%,
        rgba(255, 255, 255, 0.32) 100%
    ) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid rgba(255, 255, 255, 0.38) !important;
    box-shadow:
        inset 0 -6px 12px rgba(255, 255, 255, 0.35),
        inset 0 -1px 2px rgba(255, 255, 255, 0.75),
        inset 0 4px 10px rgba(0, 0, 0, 0.35),
        0 4px 15px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s ease !important;
}

/* Chữ bên trong nút */
.cts-btn2 .elementor-button-content-wrapper {
    display: flex;
    align-items: center;
}

.cts-btn2 .elementor-button-text {
    color: #ffffff !important;
    font-size: 14.5px;
    font-weight: 500;
    letter-spacing: 0.2px;
    text-transform: capitalize; /* Tự động viết hoa chữ cái đầu mỗi từ giống ảnh */
    display: inline-flex;
    align-items: center;
    line-height: 1.2;
}

/* Thân đường thẳng của mũi tên (::before) */
.cts-btn2 .elementor-button-text::before {
    content: "";
    order: 2;
    display: inline-block;
    width: 48px;
    height: 1.5px;
    background-color: #ffffff;
    margin-left: 16px;
    transition: width 0.3s ease;
}

/* Đầu mũi tên hình tam giác đặc (::after) */
.cts-btn2 .elementor-button-text::after {
    content: "";
    order: 3;
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 9px solid #ffffff;
    margin-left: -1px;
    transition: transform 0.3s ease;
}

/* Hiệu ứng khi di chuột (Hover) */
.cts-btn2 .elementor-button:hover {
    border-color: rgba(255, 255, 255, 0.7) !important;
    box-shadow:
        inset 0 -8px 14px rgba(255, 255, 255, 0.45),
        inset 0 -1px 3px rgba(255, 255, 255, 0.9),
        inset 0 4px 10px rgba(0, 0, 0, 0.35),
        0 6px 20px rgba(0, 0, 0, 0.25) !important;
}

.cts-btn2 .elementor-button:hover .elementor-button-text::before {
    width: 58px; /* Thân mũi tên dài ra nhẹ khi hover */
}
.prf-ly2-rw {
    position: relative;
    overflow: hidden;
}
.prf-ly2-rw .prf-ly2-rw-ct {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    /* background: linear-gradient(        180deg,        rgba(0, 0, 0, 0.0) 0%,        rgba(255, 255, 255, 0.04) 5%,        rgba(255, 255, 255, 0.32) 100%    ) !important; */
    background: linear-gradient(        180deg,        rgba(0, 0, 0, 0.0) 0%,        rgba(255, 255, 255, 0.04) 5%,        rgb(18 18 18 / 93%) 100%    ) !important;
}

/* 1. Khung bao ngoài: Tạo khoảng trống trên/dưới để slide giữa phóng to không bị cắt bóng/viền */
.cts-sld1-1 .ae-swiper-outer-wrapper {
    position: relative;
    /* padding: 0 20px; */
}

.cts-sld1-1 .ae-swiper-container {
    padding: 35px 5px !important;
    overflow: hidden;
}

.cts-sld1-1 .ae-swiper-wrapper {
    align-items: center;
}

/* 2. Style mặc định cho các item (2 cột hai bên) */
.cts-sld1-1 .ae-post-list-item.swiper-slide {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.14);
    transform: scale(0.94);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    z-index: 1;
}

/* 3. Item ở giữa (.swiper-slide-next) phóng to và cao hơn 2 bên */
@media (min-width: 1025px) {
    .cts-sld1-1 .ae-post-list-item.swiper-slide.swiper-slide-next {
        transform: scale(1.07);
        z-index: 5;
        box-shadow: 0 8px 9px rgba(0, 0, 0, 0.25);
    }
}

/* 4. Ép khung ảnh thành dáng đứng dọc giống mẫu */
.cts-sld1-1 .ae_thumb_wrapper.ae_image_ratio_yes,
.cts-sld1-1 .ae-post-image {
    padding-bottom: 0 !important;
    height: 460px !important; /* Chỉnh chiều cao ảnh tại đây nếu muốn */
    position: relative;
}

.cts-sld1-1 .ae-post-image img {
    position: static !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}

/* Reset padding của global template 8679 bên trong card */
.cts-sld1-1 .elementor-8679 .e-con-inner {
    padding: 0 !important;
    position: relative;
}

/* 5. Tiêu đề nằm đè lên đáy ảnh + lớp phủ gradient tối */
.cts-sld1-1 .prf-ly2-tt {
    position: absolute !important;
    bottom: 0;
    left: 0;
    width: 100% !important;
    padding: 55px 16px 18px 16px !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.45) 55%, transparent 100%) !important;
    text-align: center;
    z-index: 3;
    pointer-events: none;
}

.cts-sld1-1 .prf-ly2-tt a {
    pointer-events: auto;
    text-decoration: none;
}

.cts-sld1-1 .ae-element-post-title {
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    line-height: 1.4;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

/* 6. Nút mũi tên tròn trắng nhỏ ở sát hai mép trái/phải giống mẫu */
.cts-sld1-1 .ae-swiper-button-prev,
.cts-sld1-1 .ae-swiper-button-next {
    width: 26px !important;
    height: 26px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    display: flex !important;
    align-items: center;
    justify-content: center;
    top: 50% !important;
    transform: translateY(-50%);
    margin-top: 0 !important;
    transition: all 0.25s ease;
}

.cts-sld1-1 .ae-swiper-button-prev:after,
.cts-sld1-1 .ae-swiper-button-next:after {
    display: none !important; /* Ẩn icon chữ mặc định của Swiper nếu có */
}

.cts-sld1-1 .ae-swiper-button-prev svg,
.cts-sld1-1 .ae-swiper-button-next svg {
    width: 11px !important;
    height: 11px !important;
    fill: #555555 !important;
}

.cts-sld1-1 .ae-swiper-button-prev {
    left: 28px !important;
}

.cts-sld1-1 .ae-swiper-button-next {
    right: 28px !important;
}

.cts-sld1-1 .ae-swiper-button-prev:hover,
.cts-sld1-1 .ae-swiper-button-next:hover {
    background: #ffffff !important;
    transform: translateY(-50%) scale(1.1);
}

/* 7. Ẩn chấm pagination và thanh scrollbar bên dưới cho gọn như ảnh mẫu */
.cts-sld1-1 .ae-swiper-pagination,
.cts-sld1-1 .ae-swiper-scrollbar {
    display: none !important;
}

/* 8. Responsive trên Tablet & Mobile */
@media (max-width: 1024px) {
    .cts-sld1-1 .ae-post-list-item.swiper-slide,
    .cts-sld1-1 .ae-post-list-item.swiper-slide.swiper-slide-active {
        transform: scale(1);
    }
}

@media (max-width: 767px) {
    .cts-sld1-1 .ae_thumb_wrapper.ae_image_ratio_yes,
    .cts-sld1-1 .ae-post-image {
        height: 380px !important;
    }
}

/* 888 */

/* Hiệu ứng zoom nhẹ ảnh sản phẩm khi hover cho sang trọng (tùy chọn) */
.cts-img-fl .ae-post-image img {
    transition: transform 0.6s ease;
    display: block;
    width: 100%;
}

.cts-img-fl .ae_thumb_wrapper:hover .ae-post-image img {
    transform: scale(1.04);
}

/* Tạo vệt sáng tráng gương bằng ::before */
.cts-img-fl .ae-post-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    transition: left 0.75s ease-in-out;
    z-index: 3; /* Nổi lên trên thẻ img và lớp overlay */
    pointer-events: none; /* Đảm bảo vẫn click vào link sản phẩm bình thường */
}

/* Kích hoạt vệt sáng lướt qua khi rê chuột vào khối sản phẩm */
.cts-img-fl .ae_thumb_wrapper:hover .ae-post-image::before {
    left: 150%;
}

/* Khung nút chính */
.tea-cat-action .tea-btn-viewall {
    position: relative;
    overflow: hidden;
    display: inline-flex; /* Giữ chữ và icon mũi tên thẳng hàng */
    align-items: center;
    transition: all 0.35s ease;
    z-index: 1;
}

/* Đảm bảo icon mũi tên không bị vệt sáng đè mờ (tùy chọn) */
.tea-cat-action .tea-btn-viewall .btn-arrow-img {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

/* Tạo vệt sáng tráng gương */
.tea-cat-action .tea-btn-viewall::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.45) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    transition: left 0.65s ease-in-out;
    z-index: 1;
    pointer-events: none;
}

/* Chạy vệt sáng khi hover */
.tea-cat-action .tea-btn-viewall:hover::before {
    left: 150%;
}

/* (Tùy chọn) Đẩy nhẹ icon mũi tên sang phải khi hover */
.tea-cat-action .tea-btn-viewall:hover .btn-arrow-img {
    transform: translateX(4px);
}

/* end hiệu ứng tráng gương cho btn */

/* shortcode hiện danh mục con trong danh mục cha */
.tea-subcat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px 18px;
    width: 100%;
}

.tea-subcat-item {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #e5e5e5;
    transition: transform 0.25s ease;
}

.tea-subcat-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #1e1e1e;
    /* margin-bottom: 12px; */
}

.tea-subcat-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.tea-subcat-item:hover .tea-subcat-thumb img {
    transform: scale(1.05);
}

.tea-subcat-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 20px 0;
}

.tea-subcat-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tea-subcat-num {
    color: #9e2a2b; /* Màu đỏ trầm cho số 01, 02 */
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.tea-subcat-name {
    color: #f0ece1;
    font-size: 16px;
    line-height: 1.3;
    transition: color 0.2s ease;
}
.tea-subcat-item:hover .tea-subcat-name {
    color: #CB2026 !important;
}

.tea-subcat-arrow {
    color: #a3a3a3;
    font-size: 14px;
    transition: transform 0.25s ease, color 0.25s ease;
}

.tea-subcat-item:hover .tea-subcat-name {
    color: #ffffff;
}

.tea-subcat-item:hover .tea-subcat-arrow {
    transform: translateX(4px);
    color: #ffffff;
}

/* Responsive Tablet & Mobile */
@media (max-width: 1024px) {
    .tea-subcat-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.tea-subcat-grid .tea-subcat-name {
    font-family: "Noto Serif Display", Sans-serif;
    font-size: 28px;
    line-height: 150%;
    /* letter-spacing: 8%; */
    text-transform: capitalize;
}
.tea-subcat-grid .tea-subcat-num {
    font-size: 16px;
    font-weight: 300;
    line-height: 150%;
    letter-spacing: 8%;
}

@media (max-width: 767px) {
    .tea-subcat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 12px;
    }
    .tea-subcat-name {
        font-size: 14px;
    }
}

.tea-cat-section {
    padding: 80px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tea-cat-section:last-child {
    border-bottom: none;
}

.tea-cat-header {
    margin-bottom: 24px;
}

.tea-cat-num {
    display: block;
    color: #b83333;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 12px;
    font-family: "Be Vietnam Pro", Sans-serif;
}

.tea-cat-title {
    color: #f2efe9;
    font-size: 48px;
    font-weight: 300;
    margin: 0;
    line-height: 125%;
    text-transform: capitalize;
    font-family: "Noto Serif Display", Sans-serif;

}

.tea-prod-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px 18px;
}

.tea-prod-card {
    display: flex;
    flex-direction: column;
}

.tea-prod-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #1b1b1b;
    margin-bottom: 14px;
}

.tea-prod-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.tea-prod-card:hover .tea-prod-thumb img {
    transform: scale(1.05);
}

.tea-prod-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tea-prod-meta-top {
    font-size: 11px;
    color: #8c8c8c;
    margin-bottom: 6px;
    line-height: 1.3;
}

.tea-prod-name {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    margin: 0 0 12px 0;
    flex-grow: 1;
}

.tea-prod-name a {
    color: #eae6df;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tea-prod-name a:hover {
    color: #ffffff;
}

.tea-prod-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 4px;
}

.tea-prod-price,
.tea-prod-price .woocommerce-Price-amount {
    color: #b83333;
    font-size: 13px;
    font-weight: 500;
}

.tea-prod-price del {
    color: #666;
    font-size: 11px;
    margin-right: 4px;
}

.tea-prod-price ins {
    text-decoration: none;
}

.tea-prod-stock {
    font-size: 9px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #777777;
    white-space: nowrap;
}

.tea-cat-action {
    text-align: center;
    margin-top: 34px;
}

.tea-btn-viewall {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #c83232;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 500;
    line-height: 150%;
    letter-spacing: 8%;
    text-transform: uppercase;
    text-decoration: none;
    padding: 16px 28px;
    transition: background-color 0.25s ease, transform 0.25s ease;
    font-family: "Be Vietnam Pro", Sans-serif;
}

.tea-btn-viewall:hover {
    background-color: #a82424;
}

.tea-btn-viewall .btn-arrow-img {
    width: 24px;
    height: auto;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.tea-btn-viewall:hover .btn-arrow-img {
    transform: translateX(4px);
}

.tea-lazy-loader {
    text-align: center;
    padding: 30px 0;
    color: #888;
    font-size: 13px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.tea-lazy-loader.is-loading {
    opacity: 1;
}

.tea-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: #c83232;
    border-radius: 50%;
    animation: teaSpin 0.7s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}

@keyframes teaSpin {
    to { transform: rotate(360deg); }
}

@media (max-width: 1024px) {
    .tea-prod-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .tea-cat-section {
        padding: 35px 0;
    }
    .tea-cat-title {
        font-size: 22px;
    }
    .tea-prod-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px 12px;
    }
}

#tea-lazy-cats-list .tea-cat-rw {
    max-width: 1440px;
    margin: 0 auto;
}
#tea-lazy-cats-list .tea-cat-section {
    background: #0C0B08;
}
#tea-lazy-cats-list .tea-cat-section:nth-child(2n) {
    background: #171212;
}

.rank-math-breadcrumb p {
    margin-bottom: 0;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 300;
    line-height: 150%;
    letter-spacing: 0.25%;
}
.rank-math-breadcrumb p a {
    color: #999593;
    
}
.rank-math-breadcrumb p a:hover {
    color: #CB2026;
}
.rank-math-breadcrumb p span.last {
    color: #fff;
}

/* Bộ lọc cho trang danh mục sản phẩm */
/* Khung bao quanh widget lọc WooCommerce */
.woocommerce.widget_layered_nav {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Tiêu đề bộ lọc (DÁNG ẤM) */
.woocommerce.widget_layered_nav .widgettitle,
.woocommerce.widget_layered_nav h2,
.woocommerce.widget_layered_nav h3,
.woocommerce.widget_layered_nav h4,
.woocommerce.widget_layered_nav h5 {
    color: #f2efe9 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 16px 0 !important;
}

/* Thanh tìm nhanh */
.tea-filter-search-wrap {
    margin-bottom: 18px;
}

.tea-filter-search-input {
    width: 100% !important;
    background-color: #161515 !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 0 !important;
    padding: 11px 14px !important;
    color: #f0ece1 !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    outline: none !important;
    transition: border-color 0.25s ease;
}

.tea-filter-search-input::placeholder {
    color: #77736d !important;
    opacity: 1;
}

.tea-filter-search-input:focus {
    border-color: rgba(255, 255, 255, 0.4) !important;
}

/* Danh sách thuộc tính */
.woocommerce-widget-layered-nav-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce-widget-layered-nav-list__item {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 7px 0 !important;
    margin: 0 !important;
    border: none !important;
}

/* Ẩn các mục vượt quá 8 item khi chưa bấm Xem thêm */
.woocommerce-widget-layered-nav-list__item.tea-item-hidden {
    display: none !important;
}

/* Mục thuộc tính + Ô tích chọn trắng bên trái */
.woocommerce-widget-layered-nav-list__item a {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    padding-left: 26px !important;
    color: #d6d0c4 !important;
    font-size: 14px !important;
    font-weight: 200 !important;
    text-decoration: none !important;
    line-height: 1.4;
    transition: color 0.2s ease;
    width: 100%;
}

/* Ô vuông trắng giống hệt ảnh mẫu */
.woocommerce-widget-layered-nav-list__item a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background-color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 2px;
    transition: all 0.2s ease;
}

.woocommerce-widget-layered-nav-list__item a:hover {
    color: #ffffff !important;
}

/* Trạng thái ĐÃ TÍCH CHỌN */
.woocommerce-widget-layered-nav-list__item.chosen a,
.woocommerce-widget-layered-nav-list__item.woocommerce-widget-layered-nav-list__item--chosen a {
    color: #ffffff !important;
    font-weight: 500 !important;
}

.woocommerce-widget-layered-nav-list__item.chosen a::before,
.woocommerce-widget-layered-nav-list__item.woocommerce-widget-layered-nav-list__item--chosen a::before {
    background-color: #c83232;
    border-color: #c83232;
}

.woocommerce-widget-layered-nav-list__item.chosen a::after,
.woocommerce-widget-layered-nav-list__item.woocommerce-widget-layered-nav-list__item--chosen a::after {
    content: "✓";
    position: absolute;
    left: 2.5px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

/* Số lượng sản phẩm bên phải (11, 2...) */
.woocommerce-widget-layered-nav-list__item .count {
    color: #c4bfb5 !important;
    font-size: 13px !important;
    margin-left: 10px;
}

/* Nút đỏ "Xem thêm 27 dáng ấm" */
.tea-filter-more-btn {
    background: none !important;
    border: none !important;
    padding: 10px 0 0 0 !important;
    margin: 0 !important;
    color: #c83232 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    cursor: pointer;
    text-align: left;
    box-shadow: none !important;
    transition: color 0.2s ease;
}

.tea-filter-more-btn:hover {
    color: #e64545 !important;
    text-decoration: underline;
}

/* Ép ẩn các mục vượt quá 8 dòng hoặc không khớp từ khóa tìm kiếm */
.woocommerce-widget-layered-nav-list__item.tea-item-hidden,
.woocommerce-widget-layered-nav-list__item.tea-search-hidden {
    display: none !important;
}
/* Tắt viền trắng (outline & box-shadow) khi click vào ô tìm nhanh */
.tea-filter-search-input:focus,
.tea-filter-search-input:focus-visible,
.tea-filter-search-input:active {
    outline: none !important;
    box-shadow: none !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
}
.cts-sidebar {
    max-width: 25% !important;
}
.cts-sidebar .woocommerce-widget-layered-nav h5 {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 400;
    color: #FAF8F5;
}

/* Khung bộ lọc khoảng giá */
.tea-price-filter-widget {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.brd-nn .tea-price-filter-widget {
    border: none;
    margin-bottom: 0;
}
.tea-price-filter-title {
    color: #f2efe9 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 16px 0 !important;
}

.tea-price-filter-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.tea-price-filter-item {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 7px 0 !important;
    margin: 0 !important;
}

.tea-price-filter-item a {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    padding-left: 26px !important;
    color: #d6d0c4 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    line-height: 1.4;
    transition: color 0.2s ease;
}

/* Ô vuông trắng giống hệt bộ lọc thuộc tính */
.tea-price-filter-item a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background-color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 2px;
    transition: all 0.2s ease;
}

.tea-price-filter-item a:hover {
    color: #ffffff !important;
}

/* Trạng thái ĐÃ CHỌN */
.tea-price-filter-item.chosen a {
    color: #ffffff !important;
    font-weight: 500 !important;
}

.tea-price-filter-item.chosen a::before {
    background-color: #c83232;
    border-color: #c83232;
}

.tea-price-filter-item.chosen a::after {
    content: "✓";
    position: absolute;
    left: 2.5px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

/* Số đếm nằm sát bên phải */
.tea-price-filter-item .count {
    color: #c4bfb5 !important;
    font-size: 13px !important;
    margin-left: 10px;
}

/* Thanh công cụ Bộ đếm bên trái - Sắp xếp bên phải */
.tea-catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
}

/* Chữ "45 sản phẩm" bên trái */
.tea-catalog-count {
    color: #FAF8F5;
    font-size: 14px;
    font-weight: 200;
    letter-spacing: 0.3px;
}

/* Khu vực "Sắp xếp [Dropdown]" bên phải */
.tea-catalog-sort {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tea-sort-label {
    color: #FAF8F5;
    font-size: 15px;
    font-weight: 200;
    line-height: 150%;
    letter-spacing: 8%;
    white-space: nowrap;
}

.tea-sort-select-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.tea-sort-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #161515 !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 0 !important;
    color: #FAF8F5 !important;
    font-size: 14px !important;
    font-weight: 200 !important;
    padding: 9px 36px 9px 14px !important;
    min-width: 185px;
    cursor: pointer;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease;
    line-height: 150%;
    letter-spacing: 8%;
}

.tea-sort-select:hover,
.tea-sort-select:focus {
    border-color: rgba(255, 255, 255, 0.35) !important;
    outline: none !important;
    box-shadow: none !important;
}

.tea-sort-select option {
    background-color: #1b1a1a;
    color: #f0ece1;
    padding: 8px;
}

.tea-sort-chevron {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    display: flex;
    align-items: center;
}

/* Responsive Mobile */
@media (max-width: 767px) {
    .tea-catalog-toolbar {
        flex-wrap: wrap;
        gap: 12px;
    }
    .tea-sort-select {
        min-width: 165px;
        padding: 8px 32px 8px 12px !important;
    }
}
/* end Bộ lọc cho trang danh mục sản phẩm */
.tt-prd-fx {
    min-height: 58px;
}
/* Khung phân trang có đường kẻ ngang phía trên */
.tea-pagination-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 26px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
}

/* Chữ "Hiển thị 1–15 / 45 sản phẩm" bên trái */
.tea-pagination-info {
    color: #9e9a93;
    font-size: 13px;
    font-weight: 200;
    /* letter-spacing: 0.2px; */
}

/* Cụm ô vuông phân trang bên phải */
.tea-pagination-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tea-pagination-numbers .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background-color: #161515;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #d6d0c4 !important;
    font-size: 13px;
    font-weight: 400;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.tea-pagination-numbers a.page-numbers:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff !important;
}

/* Ô trang hiện tại (màu đỏ giống ảnh mẫu) */
.tea-pagination-numbers .page-numbers.current {
    background-color: #c83232;
    border-color: #c83232;
    color: #ffffff !important;
    font-weight: 500;
    cursor: default;
}

/* Dấu ba chấm (...) khi có nhiều trang */
.tea-pagination-numbers .page-numbers.dots {
    background-color: transparent;
    border-color: transparent;
    width: auto;
    padding: 0 4px;
    color: #77736d !important;
}

/* Responsive Mobile */
@media (max-width: 767px) {
    .tea-pagination-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-top: 28px;
    }
}
.btn-dot .elementor-button-content-wrapper .elementor-button-text {
    display: flex;
    align-items: center;
}
.btn-dot .elementor-button-content-wrapper .elementor-button-text::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    background: #CB2026;
    border-radius: 5px;
    margin-right: 10px;
}
/* Trang chi tiết sản phẩm */
/* Khung bọc hàng ảnh nhỏ bên dưới ảnh chính */
.tea-thumbs-slider-wrap {
    position: relative;
    margin-top: 14px;
    width: 100%;
}

/* Ép danh sách ảnh nhỏ nằm trên 1 hàng ngang duy nhất, hiển thị đúng 4 ảnh */
.woocommerce div.product div.images .tea-thumbs-slider-wrap .flex-control-thumbs {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    overflow-x: auto !important;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Ẩn thanh cuộn trên Firefox */
    -ms-overflow-style: none;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce div.product div.images .tea-thumbs-slider-wrap .flex-control-thumbs::-webkit-scrollbar {
    display: none; /* Ẩn thanh cuộn trên Chrome/Safari */
}

/* Chia chính xác 4 ô vuông bằng nhau (trừ đi 3 khoảng gap 12px = 36px) */
.woocommerce div.product div.images .tea-thumbs-slider-wrap .flex-control-thumbs li {
    flex: 0 0 calc(25% - 9px) !important;
    width: calc(25% - 9px) !important;
    max-width: calc(25% - 9px) !important;
    float: none !important;
    margin: 0 !important;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #161515;
}

.woocommerce div.product div.images .tea-thumbs-slider-wrap .flex-control-thumbs li img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 0.55 !important;
    border: 1px solid transparent !important;
    transition: all 0.25s ease !important;
}

/* Ảnh đang được chọn (Active) và khi di chuột */
.woocommerce div.product div.images .tea-thumbs-slider-wrap .flex-control-thumbs li img.flex-active,
.woocommerce div.product div.images .tea-thumbs-slider-wrap .flex-control-thumbs li img:hover {
    opacity: 1 !important;
    border-color: rgba(255, 255, 255, 0.65) !important;
}

/* Nút mũi tên điều hướng trái/phải trên thanh thumbnail */
.tea-thumb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 26px;
    height: 26px;
    background-color: rgba(18, 17, 17, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #f2efe9 !important;
    font-size: 16px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease, background-color 0.2s ease;
}

.tea-thumbs-slider-wrap:hover .tea-thumb-nav {
    opacity: 1;
}

.tea-thumb-nav:hover {
    background-color: #c83232 !important;
    border-color: #c83232 !important;
}

.tea-thumb-prev {
    left: 6px;
}

.tea-thumb-next {
    right: 6px;
}

/* Chỉnh lại nút kính lúp góc phải dưới giống nút "Xem kỹ" trong mẫu số 2 */
.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
    top: auto !important;
    bottom: 16px !important;
    right: 16px !important;
    width: auto !important;
    height: auto !important;
    padding: 6px 12px !important;
    background-color: rgba(18, 17, 17, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 2px !important;
    color: #f2efe9 !important;
    font-size: 12px !important;
    text-indent: 0 !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger::before,
.woocommerce div.product div.images .woocommerce-product-gallery__trigger::after,
.woocommerce div.product div.images .woocommerce-product-gallery__trigger img {
    display: none !important;
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger::after {
    content: "⛶ Xem kỹ";
    display: inline-block !important;
    position: static !important;
    border: none !important;
    width: auto !important;
    height: auto !important;
    transform: none !important;
}
/* Ẩn nút kính lúp tròn mặc định của WooCommerce ở góc trên */
.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
    opacity: 0 !important;
    pointer-events: none !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* Đảm bảo khung ảnh chính có position relative để neo nút Xem kỹ */
.woocommerce div.product div.images .flex-viewport,
.woocommerce div.product div.images.woocommerce-product-gallery {
    position: relative !important;
}

/* Nút "Xem kỹ" góc dưới bên phải giống hệt ảnh mẫu */
.tea-zoom-detail-btn {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background-color: rgba(18, 17, 17, 0.78) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 2px !important;
    padding: 7px 13px !important;
    color: #e8e4dc !important;
    font-size: 12.5px !important;
    font-weight: 400 !important;
    letter-spacing: 0.3px;
    line-height: 1 !important;
    cursor: pointer;
    box-shadow: none !important;
    outline: none !important;
    transition: all 0.2s ease;
}

.tea-zoom-detail-btn svg {
    color: #d6d0c4;
    flex-shrink: 0;
}

.tea-zoom-detail-btn:hover {
    background-color: rgba(18, 17, 17, 0.95) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
}

.tea-zoom-detail-btn:hover svg {
    color: #ffffff;
}
.tea-single-direct-cat {
    margin-bottom: 10px;
    line-height: 1.2;
}

.tea-single-direct-cat a,
.tea-single-direct-cat span {
    display: inline-block;
    color: #c83232 !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.tea-single-direct-cat a:hover {
    color: #e64545 !important;
}

.detail-price-prd .price span {
    font-size: 48px;
    font-weight: 400;
    line-height: 150%;
}
.detail-price-prd .price del {
    text-decoration: none;
}
.detail-price-prd .price del bdi,
.detail-price-prd .price del bdi span {
    font-size: 20px;
    line-height: 150%;
    font-family: "Be Vietnam Pro", Sans-serif;
    color: #999593;
}
.detail-price-prd .price del bdi {
    text-decoration: line-through;
}
.detail-price-prd .screen-reader-text {
    display: none;
}
.detail-price-prd .price {
    display: flex;
    gap: 12px;
}
.detail-price-prd .price del {
    order: 2;
}
.detail-price-prd .price ins {
    order: 1;
    text-decoration: none;
}
.cts-add-cart form.cart .quantity {
    display: none;
}
.cts-add-cart form.cart .single_add_to_cart_button {
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 500;
    line-height: 150%;
    color: #FAF8F5;
    padding: 19px 20px;
    border: 1px solid #CB2026;
    border-radius: 0;
    background: #CB2026;
    display: flex;
    gap: 12px;
    margin: 0;
    justify-content: center;
}
.cts-add-cart form.cart .single_add_to_cart_button:hover {
    background: #CB2026;
    opacity: 0.8;
}
.cts-add-cart form.cart .single_add_to_cart_button::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url('assets/img/btn-cart.png');
    background-repeat: no-repeat;
    background-position: center;
}
.cts-add-cart .btn-zalo .elementor-button,
.cts-add-cart form.cart .single_add_to_cart_button {
    width: 280px;
}
.single-rw-ts {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.single-rw-ts .ae-acf-repeater-wrapper > .ae-acf-repeater-item:nth-child(2n+1) {
    background: #171212;
}
.cts-prd-content h2,
.cts-prd-content h3,
.cts-prd-content h4,
.cts-prd-content h5 {
    font-family: "Noto Serif Display", Sans-serif;
    font-weight: 300;
    line-height: 150%;
}
.cts-dtsp .ae-acf-repeater-wrapper {

}
.ly-prd h2.elementor-heading-title {
    display: flex;
    gap: 6px;
}
.ly-prd h2.elementor-heading-title ins {
    order: 1;
}
.ly-prd h2.elementor-heading-title del {
    order: 2;
    color: #999593;
}
.ly-prd h2.elementor-heading-title del span {
    color: #999593;
    font-size: 13px;
}




@media screen and (max-width: 1366px) {
    .cts-btn2 .elementor-button-text {
        font-size: 14px;
    }
    .cts-sld1-1 .ae-swiper-container {
        padding: 20px 0px !important;
    }
    .rrw-hdr .elementor-nav-menu--main .elementor-item {
        padding: 5px 10px !important;
    }
    body.home .rrw-hdr {
        padding: 0;
    }

}

/**************Ipad ngang(1024 x 768)****************/
@media screen and (max-width: 1024px) {
    .cts-btn2 .elementor-button-text {
        font-size: 13px;
    }
    

}
/**************end Ipad ngang(1024 x 768)****************/



/******************Ipad dọc(768 x 1024)******************/
@media screen and (max-width: 768px) {
    
    
}
/******************end Ipad dọc(768 x 1024)******************/



/*................ip6-plus...................*/
@media only screen and (max-width: 550px) {
    
}
/*................end ip6-plus...................*/



/*................ip6...................*/
@media only screen and (max-width: 375px) {

}
/*................end ip6...................*/



/***********iphone 5 ----**************/
@media only screen and (max-width: 320px) {

}
/***********end iphone 5 ----**************/