/* 7c071c , #292b2d */
*,
*:before,
*:after {
    box-sizing: border-box;
}
html {
	margin-top: 0 !important;
}
* {
    margin: 0;
    padding: 0;
    font: inherit;
}
img,
picture,
svg,
video {
    display: block;
    max-width: 100%;
    user-select: none;
}
input,
select,
textarea {
    background-color: transparent;
    outline: none;
    border: none;
}
button {
    cursor: pointer;
    background-color: transparent;
    outline: none;
    border: 0;
}

button,
img {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
}

a {
    text-decoration: none;
    /* color: inherit; */
}

html {
    font-size: 0.85vw;
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    overscroll-behavior: none;
    -webkit-user-drag: none;
    -ms-content-zooming: none;
    vertical-align: baseline;
    position: relative;
    background: white;
    color: black;
    line-height: 1.6;
}
@media (max-width: 639px) {
    html {
        font-size: 3.64vw;
    }
}

/* Custom thanh cuộn */
html::-webkit-scrollbar,
.custom-scroll::-webkit-scrollbar {
    width: 0.45rem;
}

html::-webkit-scrollbar-track,
.custom-scroll::-webkit-scrollbar-track {
    background: #fff;
}

html::-webkit-scrollbar-thumb,
.custom-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #f7083a 0%, #6519ff 100%);
    border-radius: 1.5rem;
}

/* Ẩn thanh cuộn */
.scrollbar-hidden {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hidden::-webkit-scrollbar {
    display: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
    -webkit-text-fill-color: currentColor !important;
}

/* Ẩn nút tăng/giảm trên tất cả trình duyệt */
input[type="number"] {
    appearance: textfield;
    -moz-appearance: textfield;
    -webkit-appearance: textfield;
}

/* Ẩn trên WebKit (Chrome, Safari, Edge) */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
@media screen and (max-width: 639px) {
    body {
        padding-bottom: 3rem;
    }
}

.input-field {
    @apply px-[0.875rem] w-full h-[3rem] bg-[#f5f5f5] rounded-[0.5rem] focus-visible:outline-none focus-visible:border-[#066aab] focus-visible:border-[1px];
}

.textarea-field {
    @apply p-[0.875rem] w-full h-[7rem] bg-[#f5f5f5] rounded-[0.5rem] focus-visible:outline-none focus-visible:border-[#066aab] focus-visible:border-[1px];
}

.btn-submit {
    @apply p-[0.5rem_0.75rem] text-[1rem] text-white font-medium bg-primary rounded-[0.5rem];
}
.title-h1 {
    font-size: 1.4rem;
    font-weight: 700;
}
.title-h2 {
    font-size: 1.225rem;
    font-weight: 700;
}
@media screen and (max-width: 639px) {
    .title-h2 {
        font-size: 1rem;
    }
    .title-h1 {
        font-size: 1.25rem;
    }
}
.section_container {
    width: 70.875rem;
    max-width: 1222.5px;
}
@media (max-width: 1222px) {
   .section_container {
    width: 100%;
    max-width: 100%;
    }
}
.banner_home_swiper {
    position: relative;
}
.banner_home_swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.banner_home_swiper .slide-image-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    top: 0%;
    left: 0%;
    will-change: transform;
}
.banner_home_swiper .slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
}
@media screen and (max-width: 639px) {
    .section_container {
        width: 100%;
    }
}
.wc-forward {
    display: none !important;
}

.box_fillter_custom .wpc-filters-ul-list {
    max-height: 18.5rem !important;
}
.box_fillter_custom .wpc-term-count-0,
.box_fillter_custom .wpc-term-image-wrapper,
.box_fillter_custom .wpc-edit-filter-set {
    display: none;
}
.box_fillter_custom .wpc-term-count-brackets-open,
.box_fillter_custom .wpc-term-count-brackets-close {
    display: inline;
}
.box_fillter_custom .wpc-term-item-content-wrapper:hover .wpc-term-name,
.box_fillter_custom .wpc-term-count {
    color: #7c071c;
}
.box_fillter_custom .wpc-term-item-content-wrapper:hover input,
.box_fillter_custom .wpc-term-item-content-wrapper input {
    accent-color: #7c071c;
}
.box_fillter_custom .wpc-filters-widget-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
}
.box_fillter_custom .wpc-filters-section {
    width: 31.93%;
}
.wpc-edit-filter-set {
    display: none;
}
.box-fillter-blogs .wpc-filter-header {
    width: 100%;
    position: relative;
    background: #f1f4f5;
    height: 3px;
}
.box-fillter-blogs .wpc-filter-header .widget-title.wpc-filter-title {
    position: absolute;
    top: 50%;
    left: -1.875rem;
    transform: translateY(-50%);
    background: #f6f6f6;
    color: #333;
    border-top-right-radius: 2rem;
    border-bottom-right-radius: 2rem;
    width: max-content;
    padding: 0.75rem;
    font-size: 1rem;
}
.box-fillter-blogs .wpc-filter-content.wpc-filter-category {
    margin-top: 2rem;
}
@media screen and (max-width: 639px) {
    .box-fillter-blogs .wpc-filter-header .widget-title.wpc-filter-title {
        font-weight: 700;
        border-radius: 2rem;
    }
}
.cf7-form-wrap {
    flex: 1;
    padding: 1.25rem;
    background: #fbfbfb;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* input chung */
.cf7-input {
    padding: 0 0.875rem;
    width: 100%;
    height: 3rem;
    background: #f5f5f5;
    border-radius: 0.5rem;
    border: 1px solid transparent;
    outline: none;
    transition: border-color 0.2s;
}

.cf7-input:focus {
    border-color: #066aab;
}

/* textarea */
.cf7-textarea {
    padding: 0.875rem;
    width: 100%;
    height: 7rem;
    background: #f5f5f5;
    border-radius: 0.5rem;
    border: 1px solid transparent;
    outline: none;
    transition: border-color 0.2s;
    resize: vertical;
}

.cf7-textarea:focus {
    border-color: #066aab;
}

/* nút submit */
.cf7-submit {
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    background: #7c071c;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.3s;
}

.cf7-submit:hover {
    background: #055a90;
}
.contact-form .wpcf7 {
    flex: 1 0 0;
}
#section_review textarea {
    border: 1px solid #aeaeae;
}
#section_review p.stars a::before {
    color: #7c071c;
}
#section_review .star-rating span::before {
    color: #7c071c;
}
.product-reviews .comment_container {
    display: flex;
    gap: 1rem;
}
.product-reviews .comment_container .comment-text {
    flex: 1 0 0;
}
@media screen and (max-width: 639px) {
    .box_fillter_custom .wpc-filters-widget-wrapper {
        justify-content: flex-start;
        gap: 0.5rem;
    }
    .box_fillter_custom .wpc-filters-section {
        width: 99%;
    }
    body .wpc-filters-main-wrap .wpc-term-item-content-wrapper {
        width: 100%;
    }
}
.num-container {
    display: inline-flex;
    overflow: hidden;
    font-size: 3rem;
    font-weight: bold;
    height: 1.45rem;
    width: max-content;
    position: relative;
}
.number_parent {
    position: relative;
    overflow: hidden;
    width: 0.875rem;
}
.number_child {
    position: absolute;
    top: 0;
    left: 0;
    width: 0.875rem;
}
.number_child div {
    width: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.toc_title {
    text-align: center;
    margin: 0 !important;
    padding: 1rem 0;
}
