.bg-whitesmoke {
    background: whitesmoke;
}

/*--------------------------------------------------------------------------
|  Header
--------------------------------------------------------------------------*/
.banner-top {
    background: #fc232e;
}

.text-box {
    font-size: clamp(0.455rem, 1vw - 0.05rem, 1.4rem);
}

/*--------------------------------------------------------------------------
|  Main
--------------------------------------------------------------------------*/
.ratio-banner-wr {
    padding-top: 50%;
}

.section-fash-sale {
    background-color: var(--color-highlight);
    padding: 1.5rem;
    border-radius: 1.3rem;
    background-position: center;
}

.title_sale {
    background: linear-gradient(180deg, #de0014 0%, #a7000b 100%);
    padding: 1rem;
    border-radius: .8rem;
}

#time_sale_all_product {
    display: flex;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
    color: white;
}

#time_sale_all_product p {
    background: red;
    padding: 5px 10px;
    border: 2px solid white;
    text-align: center;
    border-radius: 3rem;
    margin: 0 .5rem;
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
}

.section-fash-sale .title-section img {
    width: 4.5rem;
    margin-right: 1rem;
}

.section-fash-sale .product-item {
    background: white;
}

.section-flashsale {
    position: relative;
}

.section-flashsale:before, .section-flashsale:after {
    content: "";
    position: absolute;
    height: 130%;
    width: calc(120px + (100vw - 1440px) / 2);
    top: 50%;
    transform: translateY(-50%);
    background: var(
    --color-highlight);
    z-index: -1;
}

.section-flashsale:before {
    left: 0;
    -webkit-clip-path: polygon(0% 0%, 93.535% 11.004%, 93.535% 11.004%, 94.664% 11.161%, 95.705% 11.355%, 96.652% 11.582%, 97.496% 11.84%, 98.23% 12.125%, 98.848% 12.433%, 99.341% 12.762%, 99.702% 13.109%, 99.924% 13.469%, 100% 13.841%, 100% 86.159%, 100% 86.159%, 99.924% 86.531%, 99.702% 86.891%, 99.341% 87.238%, 98.848% 87.567%, 98.23% 87.875%, 97.496% 88.16%, 96.652% 88.418%, 95.705% 88.645%, 94.664% 88.839%, 93.535% 88.996%, 0% 100%, 0% 0%);
    clip-path: polygon(0% 0%, 93.535% 11.004%, 93.535% 11.004%, 94.664% 11.161%, 95.705% 11.355%, 96.652% 11.582%, 97.496% 11.84%, 98.23% 12.125%, 98.848% 12.433%, 99.341% 12.762%, 99.702% 13.109%, 99.924% 13.469%, 100% 13.841%, 100% 86.159%, 100% 86.159%, 99.924% 86.531%, 99.702% 86.891%, 99.341% 87.238%, 98.848% 87.567%, 98.23% 87.875%, 97.496% 88.16%, 96.652% 88.418%, 95.705% 88.645%, 94.664% 88.839%, 93.535% 88.996%, 0% 100%, 0% 0%);
}

.section-flashsale:after {
    right: 0;
    -webkit-clip-path: polygon(100% 0%, 6.466% 11.004%, 6.466% 11.004%, 5.337% 11.161%, 4.295% 11.355%, 3.349% 11.582%, 2.504% 11.84%, 1.77% 12.125%, 1.152% 12.433%, .659% 12.762%, .298% 13.109%, .076% 13.469%, 0% 13.841%, 0% 86.159%, 0% 86.159%, .076% 86.531%, .298% 86.891%, .659% 87.238%, 1.152% 87.567%, 1.77% 87.875%, 2.504% 88.16%, 3.349% 88.418%, 4.295% 88.645%, 5.337% 88.839%, 6.466% 88.996%, 100% 100%, 100% 0%);
    clip-path: polygon(100% 0%, 6.466% 11.004%, 6.466% 11.004%, 5.337% 11.161%, 4.295% 11.355%, 3.349% 11.582%, 2.504% 11.84%, 1.77% 12.125%, 1.152% 12.433%, .659% 12.762%, .298% 13.109%, .076% 13.469%, 0% 13.841%, 0% 86.159%, 0% 86.159%, .076% 86.531%, .298% 86.891%, .659% 87.238%, 1.152% 87.567%, 1.77% 87.875%, 2.504% 88.16%, 3.349% 88.418%, 4.295% 88.645%, 5.337% 88.839%, 6.466% 88.996%, 100% 100%, 100% 0%);
}

.prd-item-cate {
    background: white;
    display: block;
    height: 100%;
    padding: .5rem;
    border-radius: 1rem;
    font-weight: 500;
}

.content-filter-product {
    position: fixed;
    width: 32rem;
    top: 0;
    bottom: 0;
    left: 0;
    height: 100%;
    z-index: 1100;
    background-color: #fff;
    overflow: auto;
    -webkit-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;
    -webkit-transform: translate3d(-32rem, 0, 0);
    -moz-transform: translate3d(-32rem, 0, 0);
    -ms-transform: translate3d(-32rem, 0, 0);
    -o-transform: translate3d(-32rem, 0, 0);
    transform: translate3d(-32rem, 0, 0);
    -webkit-transition: transform 0.3s cubic-bezier(0.65, 0.05, 0.51, 0.82);
    transition: transform 0.3s cubic-bezier(0.65, 0.05, 0.51, 0.82);
    -webkit-box-shadow: -0.1rem 0 0.3rem rgba(0, 0, 0, 0.2);
    -moz-box-shadow: -0.1rem 0 0.3rem rgba(0, 0, 0, 0.2);
    box-shadow: -0.1rem 0 0.3rem rgba(0, 0, 0, 0.2);
}

.content-filter-product.open {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.filter-url .back-drop {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
    z-index: 1020;
    opacity: 0;
    filter: opacity(0);
    visibility: hidden;
}

.filter-url .back-drop.open {
    opacity: 1;
    filter: opacity(1);
    visibility: visible;
}

.content-filter-head {
    background: #faf9f8;
    padding: 2rem 3rem;
}

.content-detail-product {
    border: 1px solid #e3e3e3;
    padding: 10px;
    margin-bottom: 10px;
}

.ratio-image-cate {
    padding-top: 23%;
}

/*chi tiet san pham*/
.prd-detail-title {
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.product-detail-specifications table .row-info p {
    margin: 0;
}

.product-detail-specifications table tr td:first-child {
    width: 35%;
    background: #cdcdcd;
}

/*show room*/
.shops-system .list > .bg-shop:nth-child(odd) {
    background: whitesmoke;
}

.shops-system .list > .bg-shop {
    padding: 3rem 0;
}

.shop-city {
    text-align: center;
    background: var(--color-highlight);
    font-size: 3.5rem;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
    padding: 2rem 0;
}

.shop-info .shop-name {
    font-size: 2.45rem;
    text-transform: uppercase;
    font-weight: bold;
    position: relative;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
}

.shop-info .shop-name:before {
    content: "";
    width: 10rem;
    height: .3rem;
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--color-highlight);
}

.shop-info {
    font-size: 1.6rem;
}

.shop-info span {
    font-weight: bold;
}

.box-map {
    background: var(--color-highlight);
    padding: 1rem;
    border-radius: 1rem;
}

.box-map .map-info {
    padding-top: 40%;
}

.shop-address {
    display: flex;
    align-items: center;
    color: white;
    padding-top: 1rem;
}

.shop-address i {
    font-size: 5rem;
}

.shop-address .shop-add-info {
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
}

.shop-address .shop-add-info p {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 500;
}

.banner-shop {
    padding: 3rem 0 0 0;
    background-position: center bottom;
    background-size: contain;
    border-bottom: 1rem solid var(--color-highlight);
    background-repeat: repeat-x;
}

.icon-simple img {
    width: 20rem;
    animation-name: fadeInLeftBig;
    animation-delay: 0s;
    animation-duration: 3s;
    animation-iteration-count: 1;
}

.icon-shop img {
    width: 30rem;
}

.title-banner-shop {
    font-size: 3.5rem;
    font-weight: bold;
    text-transform: uppercase;
}

.desc-banner-shop {
    font-size: 2rem;
}

@-webkit-keyframes fadeInLeftBig {
    0% {
        opacity: 0;
        -webkit-transform: translateX(-2000px);
        transform: translateX(-2000px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@keyframes fadeInLeftBig {
    0% {
        opacity: 0;
        -webkit-transform: translateX(-2000px);
        -ms-transform: translateX(-2000px);
        transform: translateX(-2000px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }
}

.image-utilities-shop img {
    width: 6.4rem;
    aspect-ratio: 1/1;
    object-fit: contain;
}

.utilities-shop--tile {
    font-size: 1.6rem;
    font-weight: bold;
    margin-top: 1rem;
}

.bg-container {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 3rem 0;
}

.html1-pay-info {
    font-size: 2rem;
    color: white;
}

.html1-pay-info h1 {
    font-size: 3rem;
}

.html1-pay-info h1 > b {
    font-size: 5rem;
}

.btn-registertrial {
    position: relative;
    padding: 1.4rem 1.7rem;
    font-size: 1.6rem;
    line-height: 2rem;
    border: 0;
    border-radius: 0.8rem;
    background: var(--bg-grd);
    transition: all 0.3s ease-in-out;
    z-index: 10;
}

.btn-registertrial:before, .btn-registertrial:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0.8rem;
    z-index: 0;
    background: transparent;
}

.btn-registertrial:after {
    animation: pulse-blue-small-sm 3s infinite;
}

.btn-registertrial:before {
    animation: pulse-blue-medium-sm 3s infinite;
}

@keyframes pulse-blue-small-sm {
    0% {
        box-shadow: 0 0 0 0 rgb(18 97 211 / 70%);
    }
    100%,
    30% {
        box-shadow: 0 0 0 12px transparent
    }
}

@keyframes pulse-blue-medium-sm {
    0% {
        box-shadow: 0 0 0 0 rgb(143 81 248 / 70%);
    }
    100%,
    30% {
        box-shadow: 0 0 0 20px transparent
    }
}

.btn-registertrial:hover {
    transform: translateY(-4px) translateX(-2px);
    box-shadow: 2px 5px 0 0 #f66a20;
    color: #fff !important;
}

.section-payment {
    position: relative;
}

.section-payment:before, .section-payment:after {
    content: "";
    position: absolute;
    height: 100%;
    width: 50%;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-highlight);
    z-index: -1;
}

.section-payment:before {
    left: calc(-30rem + 2vw);
    border-top-right-radius: 3rem;
    border-bottom-right-radius: 3rem;
}

.section-payment:after {
    right: calc(-77rem + 2vw);
    border-top-left-radius: 3rem;
    border-bottom-left-radius: 3rem;
}

.html2-pay-info .h3 {
    color: var(--color-highlight);
}

.html2-pay-info .h3 > b {
    font-size: 3.5rem;
}

.item-pay {
    background-color: #edf6ff;
    padding: 1.5rem;
    border-radius: 1rem;
}

.item-pay-qr {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.image-qr img {
    max-height: 25rem;
}

.item-pay-qr span {
    background: var(--color-highlight);
    color: white;
    padding: 1rem;
    font-size: 2rem;
    margin-right: 2rem;
    border-radius: 1rem;
}

.bg-payment {
    background: #edf6ff;
}

.section__banner img {
    width: 100%;
}
/*--------------------------------------------------------------------------
|  Footer
--------------------------------------------------------------------------*/
.f-transport {
    display: flex;
    flex-wrap: wrap;
}

.f-transport li {
    list-style: none;
}

.f-transport li img {
    width: 9rem;
}


.social-section a {
    background: var(--color-highlight);
    display: inline-flex;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 100%;
    align-items: center;
    justify-content: center;
    color: white;
}

.entire-info-website address {
    margin-bottom: 2.5rem;
}

.entire-info-website .block-tab.nav .nav-link.active {
    background: white;
    font-weight: bold;
    color: var(--color-highlight);
}

.entire-info-website .block-tab.nav .nav-item {
    margin-right: 0;
}

.entire-info-website .block-tab.nav .nav-link {
    border-radius: 0;
    padding: .8rem 3rem;
    text-transform: capitalize !important;
}

.entire-info-website .tab-content {
    color: var(--color-highlight);
    padding: 2.5rem 1.5rem;
    border-radius: 0 0 .8rem .8rem;
    box-shadow: 0 3px 6px 0px rgb(0 0 0 / 16%);
}

.entire-info-website address p i {
    font-size: 17px;
    width: 30px;
    aspect-ratio: 1/1;
    color: var(--color-highlight);
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: .8rem;
}

.entire-info-website address p:nth-child(n+2) i {
    background: var(--color-highlight);
    color: white;
    border-radius: 100%;
}
/*--------------------------------------------------------------------------
|  Responsive
--------------------------------------------------------------------------*/
@media (min-width: 992px) {
    .product-item--cate {
        flex: 0 0 10%;
        max-width: 10%;
    }
    
    .home .menu-vertical--content {
        display: block !important;
        margin-top: 1rem;
        height: 30rem;
        overflow-y: scroll;
    }
    
    .home .menu-vertical--content::-webkit-scrollbar {
        width: .5em;
    }
     
    .home .menu-vertical--content::-webkit-scrollbar-track {
        box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
        background-color: white;
    }
     
    .home .menu-vertical--content::-webkit-scrollbar-thumb {
        background-color: var(--color-highlight);
    }
    
    .home .menu-vertical--content .full-width {
        height: calc(100% - 1rem);
        margin-top: 1rem;
    }

    /* kéo xuống (header fixed) thì ẩn menu dọc, bấm "Danh mục" mới hiện */
    .home header.fixed .menu-vertical--content {
        display: none !important;
    }

    .home header.fixed .menu-vertical--content.show-on-fixed {
        display: block !important;
    }
}

.float-contact {
    --fc-size: 56px;
    --fc-icon-size: 40px;
    --fc-icon-fill: #fff;
    --fc-gap: 10px;

    --fc-ring-bg: rgba(230, 8, 8, 0.7);
    --fc-icon-bg: #e60808;
    --fc-ring-shadow: 0 0 0 0 rgba(195, 29, 29, 0);
    --fc-ring-border: 2px solid transparent;
    --fc-ring-gradient: none;

    --fc-duration-shake: 2.3s;
    --fc-duration-pulse: 1.3s;
    --fc-duration-icon: 1s;

    --fc-bottom: 24px;
    --fc-right: 24px;
    --fc-z-index: 9999;
}

.float-contact {
    position: fixed;
    right: var(--fc-right);
    bottom: var(--fc-bottom);
    z-index: var(--fc-z-index);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--fc-gap);
}

.float-contact__item {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    opacity: 1;
    transform: translateX(0) scale(1);
    visibility: visible;
    transition: opacity .35s ease, transform .35s ease, visibility .35s;
    pointer-events: auto;
}

.float-contact__button {
    position: relative;
    width: var(--fc-size);
    height: var(--fc-size);
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.float-contact__pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: var(--fc-ring-border);
    background: var(--fc-ring-gradient);
    background-color: var(--fc-ring-bg);
    box-shadow: var(--fc-ring-shadow);
    transform-origin: 50% 50%;
    animation:
        fc-shake var(--fc-duration-shake) ease-in-out infinite,
        fc-pulse var(--fc-duration-pulse) ease-in-out infinite;
    transition: all 0.5s;
}

.float-contact__icon {
    width: var(--fc-icon-size);
    height: var(--fc-icon-size);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background-color: var(--fc-icon-bg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fc-shake 1s ease-in-out infinite;
}

.float-contact__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.float-contact__label {
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
    white-space: nowrap;
}

.float-contact__label-text {
    display: block;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.03em;
    color: #fff;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(26, 26, 30, 0.92);
    backdrop-filter: blur(8px);
    text-decoration: none;
    transition: opacity 0.2s;
}

.float-contact__item--phone {
    --fc-ring-shadow: 0 0 0 0 rgba(230, 8, 8, 0.7);
}

.float-contact__item--zalo {
    --fc-ring-bg: rgba(33, 150, 243, 0.70);
    --fc-icon-bg: #2196f3;
    --fc-ring-shadow: 0 0 0 0 rgba(33, 150, 243, 0.7);
}

@keyframes fc-shake {
    0% {
        transform: rotate(0deg) scale(1) skew(1deg);
    }

    10% {
        transform: rotate(-25deg) scale(1) skew(1deg);
    }

    20% {
        transform: rotate(25deg) scale(1) skew(1deg);
    }

    30% {
        transform: rotate(-25deg) scale(1) skew(1deg);
    }

    40% {
        transform: rotate(25deg) scale(1) skew(1deg);
    }

    50%,
    100% {
        transform: rotate(0deg) scale(1) skew(1deg);
    }

}

@keyframes fc-pulse {
    0% {
        transform: scale(0.9);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 16px rgba(255, 255, 255, 0);
    }

    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.header {
    transition: 
        transform 0.3s ease,
        opacity 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease;
}

header.fixed {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    z-index: 999;
}

.c-d-grid {
    display: grid;
}

.c-grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.c-col-span-1 {
    grid-column: span 1;
}

.c-col-span-2 {
    grid-column: span 2;
}

.d-grid {
    display: grid;
}

.grid-cols-5 {
    grid-template-columns: repeat(5, 1fr);
}

.col-span-1 {
    grid-column: span 1 / span 1;
}

.col-span-2 {
    grid-column: span 2 / span 2;
}

@media (min-width: 768px) {
    .grid-cols-md-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .col-span-md-1 {
        grid-column: span 1 / span 1;
    }
    
    .col-span-md-3 {
        grid-column: span 3 / span 3;
    }
}

@media(min-width: 992px) {
    .grid-cols-lg-5 {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .grid-cols-lg-6 {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .col-span-lg-2 {
        grid-column: span 2 / span 2;
    }
}

.g-1 {
    gap: 1rem !important;
}

.g-2 {
    gap: 2rem !important;
}

.g-3 {
    gap: 3rem !important;
}
