@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

* {
    font-family: "Inter", sans-serif;
}

.row-cols-custom>.col {
    flex: 1 0 calc(50% - 0.5rem);
    max-width: calc(50% - 0.5rem);
}

.row-cols-custom>.col:nth-child(2n) {
    flex: 1 0 calc(50% - 0.5rem);
    max-width: calc(50% - 0.5rem);
}

.row-cols-custom>.col:nth-child(2n+1) {
    flex: 1 0 calc(50% - 0.5rem);
    max-width: calc(50% - 0.5rem);
}

.row-cols-custom>.col:nth-child(odd):nth-last-child(1) {
    flex: 1 0 100%;
    max-width: 100%;
}

.page-link {
    min-width: 42px;
    text-align: center;
    border-radius: 8px;
}

.placeholder-svg {
    fill: #4f4f4f59;
    background-color: #4f4f4f1a;
}

/* Custom CSS of this template Note: Default is Mobile */
section {
    margin-bottom: 10px;
    padding: 15px 0 15px 0;
}

section .container,
section .container-fluid {
    padding: 0 !important;
}

.default-hide {
    display: none;
}

/** ====================== CSS HỖ TRỢ  ======================**/
.overflow-x-auto {
    overflow-x: auto;
}

.hidden-scrollbar::-webkit-scrollbar {
    display: none;
}

.hidden-scrollbar {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.object-fit-cover {
    object-fit: cover;
}

.object-fit-contain {
    object-fit: contain;
}

.dropdown-collection-max-height {
    max-height: 200px;
    overflow: auto;
}

/*
 *  STYLE 3
 */

.scrollbar {
    padding-right: 10px;
}

.scrollbar::-webkit-scrollbar-track {
    background-color: #F5F5F5;
}

.scrollbar::-webkit-scrollbar {
    width: 3px;
    background-color: #F5F5F5;
}

.scrollbar::-webkit-scrollbar-thumb {
    background-color: rgba(192, 192, 192, 0.7);
}

/* ============================= Swiper style =============================*/

.swiper-button-next,
.swiper-button-prev {
    background: rgba(var(--bs-primary-rgb), 0.2) !important;
    width: 30px !important;
    border-radius: 50%;
    height: 30px !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 12px !important;
    font-weight: 900;
    color: var(--bs-primary);
}

.thumbnailSwiper .swiper-slide {
    width: 25%;
    height: 100%;
    transition: 0.2s;
    opacity: 0.4;
    filter: grayscale(0.5);
}

.thumbnailSwiper .swiper-slide-thumb-active {
    box-shadow: 0 0 5px #000000;
    opacity: 1;
    transition: opacity 0.2s;
    border-radius: 4px;
}


/* ============================= Swiper style  End=============================*/
/** ====================== END CSS HỖ TRỢ ======================*/
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.301);
    /* Đen trong suốt, điều chỉnh độ trong suốt bằng cách thay đổi giá trị cuối */
    border-radius: inherit;
    /* Kế thừa tính năng làm tròn góc nếu cần */
    backdrop-filter: blur(2px);
}

.header-action .hc-label {
    display: none !important;
}

.quantity-input {
    text-align: center;
    font-weight: bold;
}

.quantity-input::-webkit-inner-spin-button,
.quantity-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-input {
    -moz-appearance: textfield;
}

.input-group-mini>.form-control,
.input-group-mini>.form-select,
.input-group-mini>.input-group-text,
.input-group-mini>.btn {
    padding: 5px;
    font-size: 10px;
    border-radius: 0.25rem;
}

.cart-thumb {
    width: 50px;
}

/* ========= Css cho phân khoảng giá  collection ========*/
input[type="range"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    outline: none;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    background-color: transparent;
    pointer-events: none;
}

.slider-track {
    width: 100%;
    height: 5px;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    border-radius: 5px;
}

input[type="range"]::-webkit-slider-runnable-track {
    -webkit-appearance: none;
    height: 5px;
}

input[type="range"]::-moz-range-track {
    -moz-appearance: none;
    height: 5px;
}

input[type="range"]::-ms-track {
    appearance: none;
    height: 5px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 1.2em;
    width: 1.2em;
    background-color: #000000;
    cursor: pointer;
    margin-top: -7px;
    pointer-events: auto;
    border-radius: 50%;
}

input[type="range"]::-moz-range-thumb {
    -webkit-appearance: none;
    height: 1.2em;
    width: 1.2em;
    cursor: pointer;
    border-radius: 50%;
    background-color: #000000;
    pointer-events: auto;
    border: none;
}

input[type="range"]::-ms-thumb {
    appearance: none;
    height: 1.2em;
    width: 1.2em;
    cursor: pointer;
    border-radius: 50%;
    background-color: #000000;
    pointer-events: auto;
}

input[type="range"]:active::-webkit-slider-thumb {
    background-color: #ffffff;
    border: 1px solid #000000;
}

input.price::-webkit-outer-spin-button,
input.price::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input.price[type=number] {
    -moz-appearance: textfield;
}

/*==================*/
/* @media (max-width: 576px) {
    table.table-for-mobile, 
    table.table-for-mobile thead, 
    table.table-for-mobile tbody, 
    table.table-for-mobile th, 
    table.table-for-mobile td, 
    table.table-for-mobile tr {
        display: block;
    }

    table.table-for-mobile thead {
        display: none;
    }

    table.table-for-mobile td {
        border: none;
        position: relative;
        padding-left: 120px;
        text-align: left !important;
        border-bottom: 1px solid #eee;
    }

    table.table-for-mobile tr td:last-child {
        border-bottom: 2px solid #d9d9d9;
    }

    table.table-for-mobile td:before {
        content: attr(data-title);
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        width: 120px;
        padding-right: 10px;
        white-space: nowrap;
    }

    .quantity-box {
        width: 150px;
    }
} */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {

    /*khi hover vào nav-item*/
    .nav-hover .nav-item {
        position: relative;
    }

    .nav-hover .nav-item:after {
        content: "";
        background: var(--bs-primary);
        height: 2px;
        width: 0;
        position: absolute;
        top: 100%;
        transition: 0.2s;
    }

    .nav-hover .nav-item:hover:after {
        width: 100%;
    }
}


/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .header-action .hc-label {
        display: inline-block !important;
    }

    .cart-thumb {
        width: 100px;
    }
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {}

/* .header-action .hc-label {
    display: inline-block !important;
}
.cart-thumb {
    width: 100px;
}
} */

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {}

/* Tracking Page */
.first-badge::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 1px;
    background-color: rgb(185, 185, 185);
    transform: translateY(-50%);
    z-index: -1;
    top: 50%;
    right: 0;
    transform: translateY(-50%);

}

.center-badge::after {
    position: absolute;
    content: "";
    width: 50%;
    height: 1px;
    background-color: rgb(185, 185, 185);
    transform: translateY(-50%);
    z-index: -1;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.center-badge::before {
    position: absolute;
    content: "";
    width: 50%;
    height: 1px;
    background-color: rgb(185, 185, 185);
    transform: translateY(-50%);
    z-index: -1;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.last-badge::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 1px;
    background-color: rgb(185, 185, 185);
    transform: translateY(-50%);
    z-index: -1;
    top: 50%;
    left: 0;
    transform: translateY(-50%);

}

.badge-Pending {
    background-color: #EBF1FE !important;
    color: #314E8C !important;
}

.badge-Processing {
    color: #3439CB !important;
    background-color: #F1F2FD !important;
}

.badge-Fulfillment {
    background-color: #D8FDDE !important;
    color: #085E16 !important;

}

.badge-Cancel {
    background-color: #E6E7E9 !important;
    color: #303A4F !important;
}

.badge-Refund {
    background-color: #FEF0F0 !important;
    color: #9F1919 !important;
}

.card .ratio {
    overflow: hidden;
}

.card-img-top {
    transition: all 0.5s;
}

.card-img-top:hover {
    transform: scale(1.1)
}

.timeline-icon {
    width: 20px !important;
    height: 20px !important;
    display: inline-block;
    text-align: center;
}

.bi-bounce {
    -webkit-animation-name: bounce;
    animation-name: bounce;
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
    -webkit-animation-direction: normal;
    animation-direction: normal;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: cubic-bezier(.28, .84, .42, 1);
    animation-timing-function: cubic-bezier(.28, .84, .42, 1);

}

@keyframes bounce {
    0% {
        transform: scale(1) translateY(0);
    }

    10% {
        transform: scale(1.1) translateY(0);
    }

    30% {
        transform: scale(.9, 1.1) translateY(-.5em);
    }

    50% {
        transform: scale(1.05, .95) translateY(0);

    }

    57% {
        transform: scale(1) translateY(-.125em);
    }

    64% {
        transform: scale(1) translateY(0);
    }

    100% {
        transform: scale(1) translateY(0);
    }
}

.sticky-md-top {
    top: 10px !important;
}

.breadcrumb {
    display: flex;
    flex-wrap: nowrap;
    /* Ngăn breadcrumb xuống dòng */
}

.breadcrumb-link {
    display: inline-block;
    white-space: nowrap;
    /* Không cho phép xuống dòng */
    overflow: hidden;
    /* Ẩn nội dung vượt quá */
    text-overflow: ellipsis;
    /* Hiển thị dấu "..." khi quá dài */
    max-width: 100%;
    /* Đảm bảo link không vượt quá vùng chứa */
}

/*  custom riêng */
.action {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.301);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: -1;
    backdrop-filter: blur(2px);
}

.image-item:hover .action {
    opacity: 1;
    z-index: 1;
}

.driver {
    width: 100px;
    height: 5px;
}

@media screen and (min-width: 576px) {
    .text-vertical {
        writing-mode: vertical-rl;
        text-orientation: mixed;
        transform: rotate(180deg);
    }

    .mobile-height {
        height: 80vh;
    }
}

@property --gradient-angle {
    syntax: "<angle>";
    initial-value: 30deg;
    inherits: false;
}

:root {
    --bg-background: #4d4d4d;
    --clr-card: #ffffff;
    --clr-1: #2cbbd4;
    --clr-2: #3ed8ff;
    --clr-3: #7e96ff;
}

.card-animation {
    position: relative;
    cursor: pointer;
    background-color: var(--clr-card);
}

.card-animation::after,
.card-animation::before {
    opacity: 0;
    transition: all 0.3s ease-in-out;
    content: " ";
    position: absolute;
    z-index: -1;
    inset: -0.2rem;
    background: conic-gradient(from var(--gradient-angle),
            var(--clr-card),
            var(--clr-1),
            var(--clr-2),
            var(--clr-3),
            var(--clr-2),
            var(--clr-1),
            var(--clr-card));
    border-radius: inherit;
    animation: rotate 1.5s linear infinite;
}

.card-animation:hover::after,
.card-animation:hover::before {
    opacity: 1;
}

.card-animation::after {
    filter: blur(0.5rem);
}

@keyframes rotate {
    0% {
        --gradient-angle: 0deg;
    }

    100% {
        --gradient-angle: 360deg;
    }
}

.bg-image {
    height: 170px;
    width: 100%;
    background-position: center center;
    background-size: cover;
}
.wrapper-blur{
    position: relative;
    height: 170px;
    width: 100%;
}
.wrapper-blur .img-cover{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 100%;
    object-fit: cover;
    filter: blur(5px);
    opacity: 0.5;
    z-index: 1;
}

.wrapper-blur .img-main{
    position: absolute;
    object-fit: contain;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    filter: none !important;
    z-index: 2;
}