/*--------------------------------------------------------------------------
|  Header
--------------------------------------------------------------------------*/
body {
    font-family: "Quicksand", sans-serif;
}

.menu-container {
    background: var(--color-main);
    border-radius: 5rem;
    padding: .5rem;
}

.box-search .form-control {
    padding: 0.5rem 1rem;
    height: calc(1.5em + .7rem + 7px);
    border-top-left-radius: 2rem;
    border-bottom-left-radius: 2rem;
}

.btn-search {
    border: 0;
    border-top-right-radius: 2rem;
    border-bottom-right-radius: 2rem;
}

.setting-menu {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 110;
    background: linear-gradient(0deg, rgba(255,255,255,0) 0%, #9c8d7d 100%);
}

.menu-section > ul > li.has-child > a span.hamburger .line {
    width: 17px;
    height: 1px;
    background-color: white;
    display: block;
    transition: all 0.3s ease-in-out;
}

.menu-section > ul > li.has-child > a span.hamburger .line:nth-child(2) {
    margin: 6px 0 6px 0.3rem;
}

.menu-section > ul > li.has-child:hover > a span.hamburger .line:nth-child(2), .menu-section > ul > li.has-child > a.active span.hamburger .line:nth-child(2) {
    opacity: 0;
}

.menu-section > ul > li.has-child:hover > a span.hamburger .line, .menu-section > ul > li.has-child > a.active span.hamburger .line {
    background: var(--color-main);
}

.menu-section > ul > li.has-child:hover > a span.hamburger .line:nth-child(1), .menu-section > ul > li.has-child > a.active span.hamburger .line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-section > ul > li.has-child:hover > a span.hamburger .line:nth-child(3), .menu-section > ul > li.has-child > a.active span.hamburger .line:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
}
/*--------------------------------------------------------------------------
|  Main
--------------------------------------------------------------------------*/
.bg-prd-home {
    background: url(https://cdn7121.cdn4s8.io.vn/media/banner/bg-dem.webp);
    background-size: cover;
    background-position: center;
    padding: 3rem 0;
}

.box--category-prd {
    position: absolute;
    top: 7vh;
    left: 0;
    right: 0;
    max-width: 60vw;
    margin: 0 auto;
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.block--category-product .ratio-16-9 {
    padding-top: 48%;
}

.box--category-prd > a {
    flex: 0 0 30.86%;
    max-width: 30.86%;
}

.item-category-prd {
    text-align: center;
    padding: 1rem .8rem;
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
    flex-direction: column;
}

.box--category-prd > a.active {
    background: white;
}

.item-category-prd img {
    width: 8rem;
    height: 8rem;
    aspect-ratio: 1/1;
    object-fit: contain;
}

.item-category-prd--title {
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
    color: black;
}

.box-thumbs {
    position: absolute;
    top: 7vh;
    left: 0;
    right: 0;
    max-width: 70vw;
    margin: 0 auto;
    z-index: 1;
}

.item--thumbs-main {
    text-align: center;
    font-size: 2rem;
    padding: 2rem 1rem;
    border-radius: 1rem;
    overflow: hidden;
    border: 0 !important;
}

.item--thumbs-main i {
    font-size: 5rem;
}

.item--thumbs-main.is-hover {
    background: white;
}

.entire-action-header {
    position: relative;
}

.entire-action-header .form-dropdown {
    position: absolute;
    padding: 10px;
    background-color: #ffffff;
    width: 350px;
    top: 100%;
    left: auto;
    right: 0;
    z-index: 1000;
    margin-bottom: 0;
    -webkit-animation: nav_menu_anim_close 0.3s both;
    -o-animation: nav_menu_anim_close 0.3s both;
    animation: nav_menu_anim_close 0.3s both;
    -webkit-transition: opacity 0.3s ease, visibility 0.3s ease;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    opacity: 0;
    filter: opacity(0);
    visibility: hidden;
    -webkit-box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.15);
}

.entire-action-header:hover .form-dropdown {
    -webkit-animation: nav_menu_anim_open 0.3s both;
    -o-animation: nav_menu_anim_open 0.3s both;
    animation: nav_menu_anim_open 0.3s both;
    opacity: 1;
    filter: opacity(1);
    visibility: visible;
    pointer-events: unset;
}

.box-highlight .item {
    display: flex;
    align-items: center;
}

.box-highlight .item .img {
    flex: 0 0 40px;
    height: 40px;
    border-radius: 110px;
    border: 1px solid #ddd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.box-highlight .item  .info .name {
    font-weight: 600;
}

.box-highlight .item .info .description {
    font-size: 13px;
}


.box-category-product .item .inter-content .name a {
    color: #000;
    font-size: 16px;
}

.product-content-detail .add-to-cart strong {
    font-size: 1.6rem;
    text-transform: uppercase;
}

.banner-top.ratio-16-9 {
    padding-top: 25%;
}

.block-tab.nav .nav-item .nav-link .icon-tit {
    width: 3rem;
    height: 3rem;
    object-fit: contain;
    aspect-ratio: 1/1;
    margin-right: 1rem;
}

.product-image-detail .swiper-vertical {
    height: clamp(28rem, 68vw, 47rem);
}

.date-article {
    right: 3rem;
    top: -3rem;
    width: 6rem;
    height: 7rem;
    line-height: 1.1;
}

.date-article .date {
    font-size: 2.6rem;
    font-weight: 600;
}

.date-article .month {
    font-size: 2.2rem;
}
/*--------------------------------------------------------------------------
|  Footer
--------------------------------------------------------------------------*/
footer {
    background: url(https://cdn7121.cdn4s8.io.vn/media/banner/bg-footer.webp) no-repeat bottom;
    background-size: cover;
}

.footer-search--title {
    font-size: clamp(2rem, 3vw, 3.4rem);
    font-weight: bold;
}

.footer-search .input-group {
    background: white;
    border-radius: 3rem;
    border: 1px solid #a1a1a1;
    overflow: hidden;
}

.footer-search .btn-search {
    padding: 0 2rem;
}

.support-section {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    font-size: 1.8rem;
}

.footer-logo img {
    max-height: 8rem;
}

/*--------------------------------------------------------------------------
|  Responsive
--------------------------------------------------------------------------*/
@media (max-width: 500px) {
    .block--category-product .ratio-16-9 {
        padding-top: 100%;
    }

    .box--category-prd {
        max-width: 80vw;
    }

    .box--category-prd > a {
        flex: 0 0 44%;
        max-width: 44%;
    }
    
    .swiper-slider-thumbs .ratio-16-9 {
        padding-top: 75%;
    }
}

.cus-form-control-atrr {
    border: 1px solid #0000005e;
    border-radius: 3px;
}

.flex-label-name-atrr {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.name-atrr-detal {
    min-width: 100px;
    font-size: 1.5rem;
    font-weight: bold;
}

.order .price-amount {
    color: black;
}

@media (min-width: 1400px) {
    .container, .container-sm, .container-md, .container-lg, .container-xl {
        max-width: 1430px;
    }
}
