/* khai báo biến */
:root {
    --primary-color: #E8621B;
    --third-color: #FFCCA9;
    --color-yellow-light: #FCE969;
    --color-light-green: #94C83E;
    --secondary-color: #42953C;
    --color-yellow: #CAD090;
    --color-white: #ffffff;
    --color-black: #252525;
    --color-gray: #F5F5F3;
    --err-color: rgb(218, 69, 69);
    --font-name: "Montserrat", sans-serif;
}

* {
    caret-color: transparent;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

input,
textarea {
    caret-color: auto;
}

/* cài đặt cơ bản */
img {
    width: 100%;
    transition: opacity 0.5s ease-in-out;
}

body {
    font-family: var(--font-name);
    background-color: var(--color-gray);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-black);
    text-transform: uppercase;
}

p,
h1,
ul,
li,
h2 {
    padding: 0;
    margin: 0;
}

p {
    font-size: 14px;
    color: var(--color-black);
    line-height: 20px;
}

a {
    color: var(--color-black);
    font-size: 14px;
    text-decoration: none;
}

li {
    font-size: 14px;
}

.primary-btn {
    width: fit-content;
    background-color: var(--color-white);
    padding: 15px 50px;
    border-radius: 10px;
    border: 1px solid var(--color-black);
    cursor: pointer;
    transition: background 0.5s ease-in-out;
}

.primary-btn:hover {
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: var(--color-white);
}

ul {
    list-style: none;
}

.error-message {
    color: var(--err-color);
}

section {
    padding: 40px 80px;
    width: 100%;
    display: flex;
    justify-content: center;
}

header {
    width: 100%;
    display: flex;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 1px 1px 20px rgba(0, 0, 0, 0.1);
}

/* Base class  */
.container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wrapper-position {
    max-width: 1200px;
    width: calc(100% - 20px);
}

.wrapper-banner {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    min-height: calc(100vw*(860 / 2400));
    max-height: 860px;
    overflow: hidden;
}

.background-color-W {
    background-color: var(--color-white);
}

/* css header */
.custom__menu {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    padding: 10px 0px;
    justify-content: space-between;
}

.logo {
    aspect-ratio: 141 / 75.86;
    width: 141px;
    height: auto;
}

.element-active>a {
    color: var(--primary-color);
}

.custom__menu ul {
    flex-grow: 1;
}

.custom-menu__element a {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 16px;
}

.custom-menu__element {
    display: flex;
    justify-content: space-around;
}

.custom-menu__element a:hover {
    color: var(--primary-color);
}

.custom-menu__btn {
    background-color: var(--color-white);
    border: none;
    padding: 0px 20px;
}

.custom-menu__btn svg {
    fill: var(--secondary-color);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.land__on {
    color: var(--color-white);
    padding: 11px;
    background-color: var(--primary-color);
    border-radius: 8px;
    cursor: pointer;
}

.land__off {
    padding: 10px;
    color: var(--secondary-color);
    cursor: pointer;
}

/* .custom-switch__lang-mb>a, */
.custom-switch__lang>a {
    text-transform: uppercase;
    font-size: 15px;
}

/* .custom-switch__lang-mb, */
.custom-switch__lang {
    padding: 10px 0px;
    border-radius: 10px;
    border: 1px solid var(--primary-color)
}

.custom-menu__mobile,
.custom-menu__mobile-mb {
    padding: 5px 20px;
    margin-bottom: 5px;
    background-color: var(--secondary-color);
    border-radius: 10px;
    border: 1px solid var(--secondary-color);
}

.custom-menu__mobile-mb {
    z-index: 10;
}

.custom-menu__mobile {
    z-index: 210;
    display: none;
}

.custom-menu__mobile svg {
    min-width: 18px;
    font-size: 18px;
    fill: var(--color-white);
}

/* css menu mobile */
.display {
    display: none;
    transform: translateX(100%);
    transition: transform 0.4s ease-out;
}

.display.show {
    display: block;
    transform: translateX(0);
}

.background-menu-mb {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 104;
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease-out;
}

.background-menu-mb.show {
    display: block;
    opacity: 1;
}

.menu-mb {
    z-index: 105;
    position: fixed;
    background-color: var(--color-white);
    text-align: center;
    top: 0;
    right: 0;
    width: 75%;
    height: 100vh;
    transform: translateX(100%);
    transition: transform 0.4s ease-out;
}

.menu-mb.show {
    transform: translateX(0);
}

.menu-mb>div {
    height: inherit;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10% 10px 20px 10px;
}

.menu-mb__element {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.menu-mb__search {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* css thanh search ẩn */
#search-bar {
    position: absolute;
    max-width: 1200px;
    width: 100%;
    top: 65px;
    display: none;
}

.search-bar__position {
    width: inherit;
    display: flex;
    justify-content: right;
}

.search-icon {
    display: flex;
    background-color: var(--color-white);
    border-radius: 100px;
    border: 1px solid rgba(148, 201, 60, 0.3);
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.1);
}

.section__search {
    background-color: var(--color-white);
    border-top: 2px solid var(--secondary-color);
    width: 100%;
    display: flex;
    justify-content: center;
}

.popup__searchbar {
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: right;
}

.search-field,
.search-field-mobile {
    margin: 10px 0px;
    display: flex;
    padding: 8px 8px 8px 20px;
    border-radius: 10px;
    flex-direction: row-reverse;
    justify-content: space-between;
    background-color: var(--color-white);
    border: 1px solid rgba(148, 201, 60, 0.3);
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.1);
}

.search-field-mobile {
    width: 80%;
}

.search-field-mobile input {
    width: 100%;
}

.search-field {
    width: 30%;
}

.searchbar__button {
    background-color: var(--secondary-color);
    border: none;
    border-radius: 10px;
    width: 30px;
    cursor: pointer;
}

.searchbar__button svg {
    width: 14px;
    height: 14px;
    fill: var(--color-light-green);
}

.search-input {
    border: none;
    flex-grow: 1;
}

.search-input:focus {
    outline: none;
    box-shadow: none;
}

.search-button {
    padding: 10px;
    background-color: var(--secondary-color);
    border-radius: 10px;
    color: var(--color-white);
    border: none;
}

.menu-mb__element a {
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
}

/* css narbar */
.nav-bar {
    padding: 20px 0px;
}

.nar-content {
    max-width: 1200px;
    width: calc(100% - 20px);
    gap: 10px;
    display: flex;
    align-items: center;
}

.nar-content ul {
    display: flex;
    gap: 10px;
}

.nar-content a {
    font-size: 14px;
}

.nar-content a:last-child {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 500px;
    text-transform: lowercase;
}

.nar-content a::first-letter {
    text-transform: uppercase;
}

.nar-content svg {
    width: 10px;
    height: 10px;
    fill: var(--color-black);
}

/* css banner btn slider */
.slider {
    position: relative;
    width: inherit;
}

.slider img {
    width: inherit;
    border-radius: 10px;
    height: 100%;
}

.section-banner {
    padding: 15px 80px 40px 80px !important;
}

.btn-control {
    width: 100%;
    padding: 0px 30px;
    display: flex;
    justify-content: space-between;
    position: absolute;
    z-index: 3;
    top: 45%;
}

.btn-control_certification {
    display: flex;
    position: absolute;
    top: 58%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: 100%;
    justify-content: space-between;
}

.certification-item {
    position: relative;
    width: 100%;
    padding: 20px 0;
    cursor: pointer;
    transform: scale(0.9);
    transition: all 0.2s ease-in-out;
}

.certification-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: all 0.2s ease-in-out;
}

.certification-item:not(.center) img {
    filter: brightness(0.5);
}

.certification-item.center {
    transform: scale(1);
}

.footer-container__content svg {
    fill: var(--secondary-color);
}

.footer-form_input-group svg {
    fill: var(--color-white);
}

.footer-container__content svg,
.prev-btn_partner svg,
.next-btn_partner svg,
.prev-btn_certification svg,
.next-btn_certification svg,
.next-btn svg,
.prev-btn svg {
    width: 14px;
    height: 14px;
    display: block;
}

.prev-btn_partner svg,
.next-btn_partner svg,
.prev-btn_certification svg,
.next-btn_certification svg,
.next-btn svg,
.prev-btn svg {
    fill: var(--primary-color);
}

.prev-btn_partner,
.next-btn_partner,
.prev-btn_certification,
.next-btn_certification,
.prev-btn,
.next-btn {
    border-radius: 10px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    cursor: pointer;
}

.prev-btn_partner,
.next-btn_partner,
.prev-btn_certification,
.next-btn_certification {
    padding: 10px 20px;
    width: fit-content;
    position: absolute;
    z-index: 1;
    background-color: var(--color-white);
    top: 54%;
}

.prev-btn_partner,
.prev-btn_certification {
    left: -1%;
}

.next-btn_partner,
.next-btn_certification {
    right: -1%;
}

.prev-btn,
.next-btn {
    padding: 15px 5px;
}

/* css container */
.container {
    width: 100%;
}

.custom-intro {
    width: inherit;
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 20px;
}

.custom-intro__element {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}

.custom-intro__element p:first-child {
    font-size: 24px;
}

.custom-intro__element h1,
.custom-intro__element p:first-child {
    text-transform: uppercase;
    font-weight: bold;
}

.custom-intro__element h1 {
    font-size: 68px;
    color: var(--primary-color);
}

.custom-intro__element h2 {
    font-size: 14px;
    font-weight: normal;
    text-transform: none;
}

.custom-intro__element span:first-child {
    font-size: 14px;
    font-weight: 500;
}

.custom-intro__element div {
    width: 100%;
    display: flex;
    justify-content: right;
    gap: 10px;
    align-items: center;
    padding-right: 20px;
    cursor: pointer;
    z-index: 100;
}

.custom-intro__element div>a,
.custom-intro__element div>i {
    color: var(--primary-color);
}

.custom-intro__element div>i {
    font-size: 12px;
}

.custom-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    width: calc(100% - 20px);
}

.custom-content>div {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.custom-content h3 {
    font-size: 16px;
    text-transform: none;
}

.custom-content h2,
.custom-content>p {
    text-transform: uppercase;
    font-weight: bold;
}

.custom-content h2 {
    color: var(--primary-color);
    font-size: 60px;
}

.custom-content>p {
    font-size: 24px;
}

.intro__item,
.intro__bone {
    padding: 20px;
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.custom-intro__image {
    flex: 1 1 50%;
}

.img-map {
    aspect-ratio: 16 / 8;
    width: 100%;
    height: 100%;
    position: relative;
}

.img-map>img {
    position: absolute;
    top: -300px;
    right: -250px;
    width: 120%;
}

.container-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.intro__bone {
    width: calc(50% - 20px);
}

.intro__bone div,
.intro__item div {
    display: flex;
    gap: 10px;
    align-items: center;
}

.intro__bone span,
.intro__item span {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-color);
}

.intro__item ul {
    list-style-type: disc;
    padding: 0px 20px
}

.intro__bone>div>p,
.intro__item>div>p {
    font-size: 16px;
    font-weight: bold;
}

.img-style-revese {
    max-width: calc(50% - 20px);
    width: 100%;
    height: auto;
}

.img-style-revese img {
    width: inherit;
    aspect-ratio: 3 / 4;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    object-position: center;
}

.reverse-item {
    flex-direction: row-reverse;
}

/* css phần sơ đồ */
/* css phần chứng nhận */
.custom-certification {
    display: flex;
    gap: 20px;
    flex-direction: column;
    position: relative;
}

.custom-certification_new {
    width: 100%;
}

.slick-slider {
    display: block !important;
}

/* css phần sản phẩm */
.custom-product {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.custom-tag {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px 0px;
}

.custom-tag__btn {
    border-radius: 10px;
    border: 2px solid var(--primary-color);
    background-color: var(--color-white);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 16px;
    color: var(--color-black);
    padding: 15px 25px;
    font-family: var(--font-name);
    cursor: pointer;
}

/* .custom-tag__btn:hover{
    background-color: var(--third-color) ;
} */
.hover:hover {
    background-color: var(--third-color);
    transition: 2s;
}

.active {
    background-color: var(--primary-color);
    color: var(--color-white);
}

.active div {
    border-bottom: 1px solid var(--color-white);
}

.custom-btn {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* .list-product {
    display: flex;
    gap: 20px;
    padding: 20px 0px;
    flex-wrap: wrap;
} */
.list-product {
    display: grid;
    grid-template-columns: repeat(4, minmax(min(20vw, 200px), 1fr));
    gap: 20px;
    padding: 20px 0;
    position: relative;
}

.no-products-text {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.list-product__item {
    /* width: calc(25% - 20px); */
    background-color: var(--color-white);
    padding: 20px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
    border: 2px solid transparent;
}

/* css hover cho phần chứng chỉ */
.custom-certification_img a img {
    transition: all 0.2s ease-in-out;
    border-radius: 8px;
}

.custom-certification_img {
    background-color: var(--color-white);
}

.custom-certification_img a:hover img {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 128, 0, 0.2);
}

.news:hover,
.wrapper-news__items:hover,
.list-product__item:hover {
    border-color: var(--color-light-green);
    box-shadow: 0 4px 15px rgba(0, 128, 0, 0.2);
    transform: translateY(-5px);
}

.list-product__item>div {
    display: flex;
    width: 100%;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
}

.list-product__item>div>img {
    width: 100%;
    aspect-ratio: 6 / 5;
    object-fit: cover;
}

.list-product__item p {
    text-transform: uppercase;
    font-weight: bold;
    color: var(--color-black);
    font-size: 14px;
    text-align: center;
    min-height: 40px;
}

.list-product__item>div>div {
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.list-product__item button {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--color-white);
    padding: 10px 0px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
}

/* css Phần tin tức */
.custom-news {
    width: 100%;
    display: flex;
    gap: 20px;
}

.news-area {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.old-news-area {
    display: flex;
    gap: 20px;
}

.old-news-area>a {
    flex: 0 0 calc(50% - 10px);
}

.wrapper-news__items h3,
.wrapper-news__items h4,
.wrapper-news__items p,
.news_item h3,
.news_item h4,
.news_item p,
.custom-newspage__items h2,
.custom-newspage__items h4,
.custom-newspage__items p,
.news h3,
.news p,
.top-news h4,
.top-news p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wrapper-news__items p {
    min-height: 32px;
}

.wrapper-news__items h4 {
    min-height: 36px;
}

.top-news {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.top-news>h2 {
    text-transform: uppercase;
    /* margin-bottom: 20px; */
}

.news {
    background-color: var(--color-white);
    display: flex;
    flex-direction: column;
    gap: 15px;
    border-radius: 12px;
    transition: all 0.3s ease-in-out;
    border: 2px solid transparent;
}

/*
.news p {
    min-height: 36px;
} */
.news h3 {
    font-size: 14px;
    min-height: 36px;
    color: var(--primary-color);
    text-transform: uppercase;
}

.news i {
    font-size: 12px;
}

.news img {
    width: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
}

.news>div {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news>div>div {
    color: var(--primary-color);
    display: flex;
    gap: 10px;
    justify-content: left;
    align-items: center;
}

.news:hover {
    box-shadow: 0 0 2px rgba(66, 149, 60, 20);
    border-radius: 10px;
}

/* css partner */
.custom-partner {
    display: flex;
    position: relative;
    flex-direction: column;
    gap: 20px;
    border-radius: 10px;
}

.list-items {
    display: flex;
    gap: 20px;
    border-radius: 10px;
}

.partner-info_image,
.partner-info {
    flex: 1;
    max-width: 50%;
}

.partner-info_image {
    width: 100%;
    border-radius: 10px;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.partner-info {
    padding: 40px 20px 40px 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.partner-location {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.partner-info>div>div>p {
    width: calc(85% - 20px);
}

.partner-location_icon {
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 3 / 3;
    width: 30px;
    height: 30px;
    border: 1px solid var(--primary-color);
    border-radius: 100px;
}

.partner-location_icon svg {
    width: 14px;
    height: 14px;
    fill: var(--primary-color);
}

.partner-logo {
    aspect-ratio: 16 / 10;
    width: 40%;
    height: auto;
    object-fit: contain;
}

.partner-info>div {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.custom-partner ul {
    bottom: -25px;
}

.partner-title {
    font-size: 14px;
}

/* css phần footer */
.footer {
    background-color: var(--color-white);
    width: 100%;
    padding: 40px;
    display: flex;
    justify-content: center;
}

.footer i {
    font-size: 14px;
}

.footer__title {
    width: 100%;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-black);
    margin-bottom: 10px;
}

.footer__title h2 {
    color: var(--secondary-color);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 16px;
}

.footer-container {
    max-width: 1200px;
    width: calc(100% - 20px);
    display: flex;
    gap: 40px;
    justify-content: space-between;
}

.footer-container p {
    white-space: nowrap;
}

.footer-container__content {
    flex: 1 1 calc(100% / 3);
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* padding: 0px 20px; */
}

.footer__content {
    display: flex;
    gap: 10px;
}

.footer__content div {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 20px;
    height: 20px;
    border-radius: 30px;
    border: 1px solid var(--secondary-color);
}

.footer-form_email {
    width: 100%;
    display: flex;
    gap: 10px;
}


.footer-form__container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

.footer-form_input-group {
    display: flex;
    gap: 10px;
}

.footer-form_input-group input {
    border: 1px solid var(--secondary-color);
    border-radius: 10px;
    height: 40px;
    padding: 0px 20px;
    flex: 1;
}

.footer__title>h2>span {
    display: flex;
    justify-content: left;
}

.footer-form_email button {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--secondary-color);
    width: 40px;
    height: 40px;
    color: var(--color-white);
    border-radius: 10px;
    border: none;
    cursor: pointer;
}


.footer-logo a {
    display: flex;
    justify-content: center;
}

.footer-logo img{
    width: 50%;
}

.footer-logo_partner {
    border: 1px solid var(--secondary-color);
    border-radius: 20px;
    padding: 20px;
}

.logo-partner_giaic {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.logo-partner_giaic span {
    text-transform: uppercase;
    color: var(--secondary-color);
    font-size: 12px;
    font-weight: bold;
}

.icon-check__custom,
.error-message {
    display: none;
}

/* css slick */
.slick-dots li button:before {
    color: var(--color-white);
    font-size: 16px;
    opacity: 100%;
}

.slick-dots li.slick-active button:before {
    color: var(--primary-color);
    font-size: 24px;
    opacity: 100%;
}

.slick-dots {
    bottom: 20px;
}

.slick-dots li {
    margin: 0 10px;
}

.slick-dots li button:before {
    content: "◉";
}

.slick-dotted.slick-slider {
    margin: 0px;
}

/* css trang liên hệ */
.contact-info {
    max-width: 1200px;
    width: calc(100% - 20px);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact__position {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.contact-item {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item__info {
    display: flex;
    gap: 10px;
}

.contact-item__info a {
    display: flex;
    gap: 10px;
    font-size: 14px;
    color: var(--color-light-green);
    cursor: pointer;
}

.contact-item__info svg {
    fill: var(--secondary-color);
    width: 14px;
    right: 14px;
}

.contact-item__info div {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 20px;
    height: 20px;
    border-radius: 30px;
    border: 1px solid var(--secondary-color);
}

.contact-item__info span {
    color: var(--secondary-color);
}

.contact-item h5 {
    font-size: 18px;
    color: var(--secondary-color);
}

.contact-info h1 {
    font-size: 24px;
    text-transform: uppercase;
}

/* css phần contact form */
.contact-form {
    max-width: 1200px;
    width: calc(100% - 20px);
    display: flex;
    gap: 20px;
    align-items: center;
}

.contact-form>div>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.contact-form>div:first-child {
    width: 30%;
    height: 100%;
}

.contact-form__input {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

.contact-form__input>div>span,
.contact-form__input>div>h5 {
    color: var(--secondary-color);
    font-size: 20px;
    font-weight: bold;
    white-space: nowrap;
}

.contact-form__item {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-form__input textarea {
    border-radius: 10px;
    padding: 20px 15px;
    border: 0.25px solid rgba(0, 0, 0, 0.3);
}

.form-item__custom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--color-white);
    border-radius: 10px;
    padding: 0px 15px;
    border: 0.25px solid rgba(0, 0, 0, 0.3);
}

.form-item__custom input {
    border: none;
    flex-grow: 1;
    padding: 20px 0px;
}

.contact-form__input div {
    display: flex;
    width: 100%;
    gap: 20px;
    justify-content: space-between;
}

.contact-form__input>div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-form__input textarea {
    border-radius: 10px;
    padding: 20px 15px;
    border: 0.25px solid rgba(0, 0, 0, 0.3);
}

.contact-form__item {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}

.icon-check__custom {
    position: absolute;
    right: 15px;
    top: 54%;
}

.contact-form__item input {
    padding: 20px 15px;
    border-radius: 10px;
    border: 0.25px solid rgba(0, 0, 0, 0.3);
}

.contact-form__input button {
    background-color: var(--primary-color);
    color: var(--color-white);
    padding: 10px 30px;
    width: fit-content;
    border-radius: 10px;
    border: none;
    cursor: pointer;
}

.contact-form__input textarea::placeholder,
.contact-form__input input::placeholder {
    font-family: var(--font-name);
}

/* css trang sản phẩm */
.pagination {
    width: 100%;
    display: flex;
    justify-content: right;
    gap: 10px;
}

/* css cho phân trang */
.pagination-btn {
    min-width: 35px;
    width: fit-content;
    height: 35px;
    padding: 0px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

/* filter sản phẩm */
.filter-bar {
    width: 100%;
    display: flex;
    gap: 20px;
    border-radius: 5px;
}

.filter-bar__label {
    font-weight: bold;
}

.filter-bar>div {
    display: flex;
    gap: 10px;
    align-items: center;
}

.filter-bar>div>div {
    padding: 10px 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background: white;
    cursor: pointer;
}

.filter-bar__dropdown {
    border: none;
}

.filter-bar__checkbox {
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    padding: 10px 10px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 12px;
    background-color: var(--color-white);
}

.filter-bar__checkbox input {
    cursor: pointer;
}

/* css news page */
.custom-newspage {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.custom-top__news {
    display: flex;
    gap: 20px;
}

.custom-newspage__items {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.custom-newspage__items>div {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.custom-newspage__items h2,
.wrapper-news__items h3,
.news_item h3,
.custom-newspage__items h4,
.wrapper-news__items h4,
.news_item h4 {
    color: var(--primary-color);
    font-size: 14px;
    text-transform: uppercase;
}

.custom-newspage__items>div>div,
.news_item>div>div,
.wrapper-news__items>div>div {
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--primary-color);
}

.news span,
.custom-newspage__items span,
.news_item span,
.wrapper-news__items span {
    color: var(--primary-color);
}

.old-news-side {
    flex: 0 0 35%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news_item {
    display: flex;
    gap: 20px;
    align-items: center;
}

.news_item>div:first-child {
    width: 30%;
}

.news_item>div:last-child {
    width: 70%;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.news_item img {
    aspect-ratio: 4 / 4;
    border-radius: 5px;
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: auto;
}

.wrapper-news {
    /* display: flex;
    gap: 20px;
    margin-left: 20px;
    justify-content: space-between; */
    display: grid;
    grid-template-columns: repeat(4, minmax(min(20vw, 200px), 1fr));
    gap: 20px;
    padding: 20px 0;
}

.item-wrap {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
    white-space: nowrap;
}

.item-wrap a {
    margin-top: 10px;
    border-radius: 10px;
    width: calc(100%/4 - 20px);
    transition: all 0.3s ease-in-out;
    border: 2px solid transparent;
    background-color: var(--color-white);
}

.wrapper-news__items {
    display: flex;
    min-width: 200px;
    flex-direction: column;
    background-color: var(--color-white);
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
    border: 2px solid transparent;
}

.wrapper-news__items>div {
    display: flex;
    flex-direction: column;
    padding: 10px;
    gap: 10px;
}

.custom-newspage__items img {
    aspect-ratio: 16 / 6;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.custom-newspage__items i,
.news_item i,
.wrapper-news__items i {
    font-size: 10px;
}

.wrapper-news__items img {
    aspect-ratio: 16 / 9;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    object-fit: cover;
    object-position: center;
}

.banner-news {
    border-radius: 10px
}

/* css bài viết */
.detail-news__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    padding: 0px 120px;
}

.detail-news__content h1 {
    font-size: 24px;
    color: var(--secondary-color);
}

.detail-news__content p {
    width: 100%;
    font-size: 14px;
    line-height: 20px;
}

.detail-news__content h2 {
    font-size: 18px;
    color: var(--secondary-color);
}

.detail-news__content h3 {
    font-size: 16px;
}

.detail-news__content img {
    width: 80% !important;
    aspect-ratio: 4 / 3 !important;
    height: auto !important;
    border-radius: 10px;
    object-fit: cover;
}

.detail-news__content p,
.detail-news__content h1,
.detail-news__content h2,
.detail-news__content h3,
.detail-news__content span {
    width: 100%;
}

.news-tag {
    width: 100%;
}

.style-tag {
    display: flex;
    gap: 10px;
}

.f-left {
    justify-content: right;
}

.style-tag span,
.style-tag p {
    width: fit-content;
    white-space: nowrap;
}

.style-tag span {
    font-weight: bold;
}

.news-company_info {
    width: 100%;
}

.news-company_info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* css detail product */
.product-gallery {
    text-align: center;
}

.main-image img {
    width: 300px;
    /* Kích thước ảnh lớn */
    height: auto;
    border: 2px solid #ddd;
    border-radius: 8px;
    margin-bottom: 10px;
}

.thumbnail-container {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.thumbnail {
    width: 80px;
    /* Kích thước ảnh nhỏ */
    height: auto;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 5px;
    transition: 0.3s;
}

.thumbnail:hover {
    border-color: #ff9800;
}

.custom-detail-product {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: clamp(10px, 2vw, 20px);
}

.detail-product__img {
    display: grid;
    grid-template-columns: 15% 80%;
    gap: 15px;
    align-items: start;
    transition: grid-template-columns 0.3s ease;
}

.detail-product__img.full-width {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    /* Đảm bảo full chiều ngang */
    height: 100%;
    /* Đảm bảo có đủ chiều cao để căn giữa */
}

.detail-product__img.full-width>* {
    max-width: 80%;
    /* Giữ nội dung không quá to */
    text-align: center;
    /* Căn giữa nội dung bên trong */
}

.img-product__slide {
    display: grid;
    grid-auto-rows: 1fr;
    align-content: center;
    gap: clamp(10px, 2vw, 12px);
}

.img-product__slide img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: contain;
    cursor: pointer;
}

.img-product__main,
.product-image {
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.img-product__main img {
    width: 100%;
    aspect-ratio: 3 /4;
    object-fit: contain;
}

.detail-product__element {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}

.detail-product__element h1 {
    font-size: 32px;
    color: var(--secondary-color);
}

.detail-product__element h1,
.detail-product__element>p {
    text-transform: uppercase;
    font-weight: bold;
}

.tab-product {
    display: flex;
    gap: 20px;
}

.tab-product__info {
    width: fit-content;
    padding: 5px 6px;
    cursor: pointer;
}

.tab-product__info p {
    text-transform: uppercase;
    font-weight: bold;
}

.dashed-line {
    height: inherit;
    background-color: var(--color-yellow);
    width: 1px;
}

.tab-active {
    background-color: var(--primary-color);
    border-radius: 100px;
}

hr {
    color: rgba(202, 208, 144, 2);
    background-color: rgba(202, 208, 144, 2);
    height: 1px;
    border: none;
}

.product-detail li>span,
.product-detail_otherinformation span {
    font-size: 18px !important;
    line-height: 24px;
}

.product-detail_otherinformation ul,
.product-detail ul {
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-detail_otherinformation li,
.product-detail li {
    display: flex;
    gap: 10px;
    align-items: center;
    line-height: 26px;
}

.before li::before {
    content: "";
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    transform: rotate(45deg);
    flex-shrink: 0;
}

.product-detail li>img {
    width: 8px;
    height: 8px;
}

.condition-display {
    display: none;
}

.condition-product {
    display: flex;
    gap: 10px;
    margin-left: 12px;
    align-items: center;
}

.var-product {
    border: 1px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.have_item p {
    color: var(--primary-color);
    font-weight: bold;
}

.not-have_item p {
    color: var(--err-color);
}

.var-product p {
    color: var(--primary-color);
}

.condition {
    display: flex;
    gap: 10px;
    align-items: center;
}

.condition p,
.condition span {
    font-size: 18px;
}

.condition span {
    font-weight: bold;
}

.condition,
.var-product {
    width: fit-content;
    border-radius: 100px;
    padding: 5px 11px;
}

.var-product p {
    text-transform: uppercase;
    font-size: 18px;
}

.product-contact__btn {
    padding: 6px 49px;
    border-radius: 100px;
    background-color: var(--primary-color);
    border: none;
    width: fit-content;
    color: var(--color-white);
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
    margin-left: 12px;
}

.tab-active p {
    color: var(--color-white);
}

.element-col h1 {
    font-size: 42px;
    color: var(--color-light-green);
}

.element-col h1,
.element-col p {
    text-transform: uppercase;
}

/* css phần nút lên top */
#scrollTopBtn {
    position: fixed;
    min-width: 47px;
    min-height: 47px;
    z-index: 100;
    border-radius: 50%;
    border: none;
    bottom: 20px;
    right: 24px;
    background-color: var(--primary-color);
    cursor: pointer;
}

#scrollTopBtn svg {
    width: 14px;
    height: 14px;
    fill: var(--color-white);
}

.searchpage-container {
    width: 100%;
}

.searchpage-position {
    display: flex;
    justify-content: right;
    flex-direction: row-reverse;
    gap: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 10px;
    width: 40%;
    margin: 20px 0px;
    box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.1);
}

/* CSS cho popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
}

.popup>div {
    width: 40%;
}

/* Khi mở popup */
.popup.show {
    display: flex;
}

/* Ảnh lớn trong popup */
.popup__content {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    aspect-ratio: 6 / 5;
    object-fit: contain;
    background-color: #fff;
}

/* Nút đóng popup */
.popup__close {
    font-size: 30px;
    width: 100%;
    display: flex;
    justify-content: right;
    color: white;
    cursor: pointer;
}

/* css icon cho phần form input trang contact */
.icon-check__custom i {
    font-size: 24px;
    color: var(--secondary-color);
}

/* css phần map có thể hover  */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.circle {
    position: absolute;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.square {
    width: inherit;
    height: inherit;
}

.text {
    position: absolute;
    padding: 10px;
    font-size: 28px;
    opacity: 0;
    font-weight: bold;
    text-transform: uppercase;
    transition: opacity 0.3s, transform 0.3s;
    min-width: 300px;
    line-height: 32px;
    text-align: center;
    white-space: normal;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Khi hover vào circle, text sẽ hiện lên */
.circle:hover .text {
    opacity: 1;
}

/* Điều chỉnh vị trí của text theo data-position */
.circle[data-position="left"] .text {
    right: 110%;
    transform: translateY(-50%);
}

.circle[data-position="leftBottom"] .text {
    right: 110%;
    top: 50%;
    transform: translateY(-50%);
}

.circle[data-position="right"] .text {
    left: 110%;
    top: 50%;
    transform: translateY(-50%);
}

.circle[data-position="top"] .text {
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
}

.circle[data-position="bottom"] .text {
    top: 110%;
    left: 50%;
    transform: translateX(-50%);
}

.circle:nth-child(1) {
    top: 18%;
    left: 39%;
}

.circle:nth-child(2) {
    top: 50%;
    left: 13%;
}

.circle:nth-child(3) {
    top: 19%;
    left: 74%;
}

.circle:nth-child(4) {
    top: 70%;
    left: 39%;
}

.circle:nth-child(5) {
    top: 70%;
    left: 68%;
}

.display_mobile {
    display: none;
}

/* css menu contact mobile */
.menuContact_container,
.btn-menuContact_custom {
    position: fixed;
    right: 20px;
    cursor: pointer;
}

.btn-menuContact_custom {
    border-radius: 50%;
    border: none;
    bottom: 75px;
    z-index: 100;
    background-color: var(--primary-color);
    min-width: 47px;
    min-height: 47px;
    display: none;
}

.btn-menuContact_custom svg {
    width: 16px;
    height: 18px;
    fill: var(--color-white);
}

.menuContact_container {
    padding: 15px;
    min-width: 240px;
    max-height: 380px;
    overflow-y: auto;
    z-index: 100;
    right: 24px;
    bottom: 135px;
    background-color: var(--color-white);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 1px 1px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.menuContact_container.showMenu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.menuContact_container>a {
    display: flex;
    justify-content: left;
    gap: 20px;
    align-items: center;
}

.menuContact_container>a>span {
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.menuContact_container img {
    aspect-ratio: 4 / 4;
    min-width: 24px;
    height: auto;
    width: 20%;
}