body {
    min-height: 100vh;
}

@media (max-width: 992px) {
    body {
        padding-top: 120px;
    }
}

.form-check-input-red:checked {
    background-color: rgba(var(--bs-danger-rgb));
    border-color: rgba(var(--bs-danger-rgb));
}

.breadcrumb-item > a {
    --bs-text-opacity: 1;
    color: rgba(var(--bs-primary-rgb), var(--bs-text-opacity)) !important;
    text-decoration: none;
}

.pagination > li > a {
    background-color: white;
    color: rgba(var(--bs-primary-rgb));
}

.pagination > li > a:focus,
.pagination > li > a:hover,
.pagination > li > span:focus,
.pagination > li > span:hover {
    color: rgba(var(--bs-primary-rgb));
    background-color: #eee;
    border-color: #ddd;
}

.pagination > .active > a {
    color: white;
    background-color: rgba(var(--bs-primary-rgb));
    border: solid 1px rgba(var(--bs-primary-rgb));
}

.pagination > .active > a:hover {
    color: white;
    background-color: rgba(var(--bs-primary-rgb));
    border: solid 1px rgba(var(--bs-primary-rgb));
}

.read-only {
    pointer-events: none;
}

@media (min-width: 992px) {
    .gx-lg-8 {
        --bs-gutter-x: 8rem;
    }
}

.w-40px {
    width: 40px;
}

.text-dark-green {
    color: #024639;
}

.count-span {
    padding: 0 5.5px 1px 5.5px !important;
}

.dropdown-toggle::after {
    float: right;
    margin-top: 0.6rem;
}

.circle-span {
    padding: 2px 13px;
}

.border-light-primary {
    border-color: #D1F3E9 !important;
}

.bg-light-primary {
    background-color: #D1F3E9 !important;
}

.feedback-check-input:checked ~ .feedback-good-check-label {
    color: #198754;
}

.feedback-check-input:checked ~ .feedback-bad-check-label {
    color: red;
}

.feedback-bad-check-label, .feedback-good-check-label {
    font-size: xx-large;
}

.mt-form {
    padding: 0.375rem 0
}

.fs-14px {
    font-size: 14px;
}

.fs-15px {
    font-size: 15px;
}

#copyText {
    border: none;
    background: none;
    width: auto;
    display: inline;
    font-size: inherit;
    font-family: inherit;
    color: inherit;
    padding: 0;
    margin: 0;
}

#copyText:focus-visible {
    outline: 0 !important;
}

.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled,
.swiper-vertical-button-next.swiper-button-disabled,
.swiper-vertical-button-prev.swiper-button-disabled {
    opacity: 70%;
}

.swiper-vertical-button-prev:after {
    content: '\2191';
}

.swiper-vertical-button-next:after {
    content: '\2193';
}

.swiper-button-prev:after {
    content: '\2190';
}

.swiper-button-next:after {
    content: '\2192';
}

.swiper-vertical-button-prev,
.swiper-vertical-button-next {
    margin-left: -15px;
}

.swiper-button-prev,
.swiper-button-next {
    margin-top: -15px;
}

.swiper-button-prev,
.swiper-button-next,
.swiper-vertical-button-prev,
.swiper-vertical-button-next {
    z-index: 100;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 0;
    border: none;
    background-color: #0043AB !important;
}

.swiper-vertical-button-next {
    margin-bottom: -15px;
}

.swiper-vertical-button-prev {
    margin-top: -15px;
}

.swiper-button-next {
    margin-right: -15px;
}

.swiper-button-prev {
    margin-left: -15px;
}

.swiper-button-prev:hover,
.swiper-button-next:hover,
.swiper-vertical-button-prev:hover,
.swiper-vertical-button-next:hover {
    background-color: #0A4FC0 !important;
    opacity: 100% !important;
    color: white !important;
}

.swiper-button-prev:after,
.swiper-button-next:after,
.swiper-vertical-button-prev:after,
.swiper-vertical-button-next:after {
    font-size: 15px;
}

.swiper-container {
    width: 100%;
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
    align-items: center;
}

.swiper-slide {
    justify-content: center;
    align-items: center;
    width: auto;
    height: auto;
}

.swiper-pagination-bullet-active {
    background-color: #4285F4;
    width: 20px !important;
}

.brand-swiper-pagination .swiper-pagination-bullet-active {
    width: 8px !important;
}

.cart-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.cart-checkbox label {
    position: relative;
    padding-left: 30px;
    line-height: 20px;
    cursor: pointer;
    display: inline-block;
}

.cart-checkbox label:before {
    content: '';
    position: absolute;
    top: 3px;
    left: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    background: #fff;
    border-radius: 4px;
    transition: all 0.2s ease-in-out;
}

.cart-checkbox.selected label:before {
    background: #4285F4;
    border-color: #4285F4;
}

.cart-checkbox.selected label:after {
    content: '\2713';
    color: #fff;
    position: absolute;
    top: 3px;
    left: 0;
    font-size: 16px;
    font-weight: bold;
    line-height: 20px;
    text-align: center;
    width: 20px;
    height: 20px;
}

.cart-checkbox label span {
    vertical-align: middle;
}


.flex-1 {
    flex: 1 !important;
}

.category-swiper-navigation {
    position: absolute;
    top: 0;
    right: 0;
}

#mobile-overlay {
    z-index: 999;
}

#overlay {
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.5);
}

#clear-search {
    right: 45px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    display: none;
}

#search-button, .brand-button {
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    padding: 2px 7px;
}

.search-bar {
    z-index: 1000;
}

@media (max-width: 768px) {
    #clear-search {
        right: 25px !important;
    }

    #mobile-search-bar.active #clear-search {
        right: 0 !important;
    }

    #search-input.active {
        border: 0;
        background-color: white !important;
        box-shadow: none;
    }

    #mobile-search-bar.active #search-button {
        display: none !important;
    }

    #mobile-search-bar.active #clear-search {
        right: 10px;
    }

    #mobile-search-bar.active {
        border-bottom: 1px solid #ddd;
    }
}

.fs-7 {
    font-size: 1.1rem;
}

.img-container {
    width: 100px;
    height: 100px;
    position: relative;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    text-align: center;
    border-radius: 8px;
}

.overlay-text {
    font-size: 1.5rem;
}

.modal-fullscreen {
    height: 75vh;
    margin: 0;
    position: absolute;
    bottom: 0;
}

.modal-content {
    height: 100%;
}

.modal-header {
    border-bottom: none;
}

.modal-body {
    overflow-y: auto;
}

.text-container {
    max-height: 600px;
    overflow: hidden;
    transition: max-height 0.3s ease;
    mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

.text-container.expanded {
    max-height: none;
    mask-image: none;
    -webkit-mask-image: none;
}

.expanded {
    max-height: none !important;
}

body.catalog-open {
    overflow: hidden;
}

#catalogOverlay {
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #007bff white;
}

#categorySidebar {
    max-height: 80vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #007bff white;
}

#catalogOverlay::-webkit-scrollbar,
#categorySidebar::-webkit-scrollbar {
    width: 3px;
}

#catalogOverlay::-webkit-scrollbar-thumb,
#categorySidebar::-webkit-scrollbar-thumb {
    background-color: #007bff;
    border-radius: 4px;
}

#catalogOverlay::-webkit-scrollbar-track,
#categorySidebar::-webkit-scrollbar-track {
    background: white;
}

#catalogOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 1049;
    overflow-y: auto;
}

header {
    position: relative;
    z-index: 1051;
}

.logo-img {
    height: 30px;
}

#back-arrow {
    margin-left: -35px;
}

.logo-img-footer {
    height: 35px;
}

.bg-gray {
    background-color: #f8f9fa !important;
}

.bg-blue {
    background-color: rgb(0, 67, 171) !important;
}

.bg-blue-opacity-75 {
    background-color: rgba(0, 67, 171, 0.75) !important;
}

.bg-red {
    background-color: #ED1C44 !important;
}

.swiper-button-disabled {
    display: none;
}

.border-dotted {
    border-bottom: 3px dotted !important;
}

.accordion-button:not(.collapsed) {
    color: #0043AB !important;
    background-color: transparent !important;
}

.form-check .form-check-input-red {
    transform: scale(1.2);
    float: none;
    margin-left: 0;
}

.categories-accordion-button::after {
    filter: brightness(0) invert(1);
}

.swiper-vertical-button-next::after,
.swiper-vertical-button-prev::after,
.swiper-button-prev::after,
.swiper-button-next::after {
    display: none !important;
}

.modal-backdrop {
    z-index: 1051;
}

.complete-background {
    background: url("/images/complete-background.png") no-repeat right bottom;
    min-height: 650px;
}

@media (max-width: 768px) {
    .complete-background {
        background: unset;
    }
}

.product-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4em;
    max-height: 2.8em;
}

.categories + .swiper-pagination,
.categories-mob + .swiper-pagination {
    bottom: -30px !important;
}

.input-group:has(.is-invalid) .form-control,
.input-group:has(.is-invalid) .input-group-text {
    border-color: #dc3545 !important;
}

.input-group:has(.is-invalid) .form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.input-group:has(.is-valid) .form-control,
.input-group:has(.is-valid) .input-group-text {
    border-color: #198754 !important;
}

.input-group:has(.is-valid) .form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
}

.swiper-pagination-bullet {
    display: inline-block !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
}

.fw-medium {
    font-weight: 500 !important;
}

.swiper-pagination-bullet:only-child {
    display: inline-block !important;
}

.swiper-pagination-lock {
    display: block;
}


.slick-dots li button:before {
    color: #0043AB;
    font-size: 10px;
}

.code-input {
    height: 38px;
    text-align: center;
    line-height: 38px;
    padding: 0;
    margin: 0;
    vertical-align: middle;
    -webkit-appearance: none;
}

@media (max-width: 768px) {
    .swiper-max-height {
        height: 406px
    }
}

@media (min-width: 768px) {
    .product-title-width-char {
        width: 32ch;
    }

}

.subcategory-box {
    max-height: 200px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.3s ease;
}

.subcategory-box.has-overflow::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    pointer-events: none;
}

.subcategory-box.expanded {
    max-height: none;
}

.subcategory-box.expanded::after {
    display: none;
}

.show-more {
    cursor: pointer;
}

#brandScroll, #typeScroll {
    max-height: 200px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #007bff white
}

.rounded-bottom-0 {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.modal-divider {
    width: 70px;
    height: 3px;
    background-color: #DEE2E6;
    margin-bottom: 6px;
}

.form-check-input[type="radio"] {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 3px;
}

.form-check-input[type="radio"]:checked {
    background-color: white;
    border-color: #007bff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Crect x='-2.5' y='-2.5' width='5' height='5' rx='1' ry='1' fill='%23007bff'/%3E%3C/svg%3E");
}

.form-check-input[type="radio"]:checked + .form-check-label {
    color: #007bff;
    font-weight: 600;
}

.form-check-input[type="radio"]:hover {
    border-color: #0056b3;
}

.form-check-input:focus {
    box-shadow: none;
}

.popular-brands img {
    min-height: 120px;
    max-height: 150px;
}

.main-banner .swiper-slide {
    aspect-ratio: 5760 / 1960;
}

.category-img {
    aspect-ratio: 151 / 95;
}

@media (max-width: 992px) {
    .category-img {
        aspect-ratio: 33 / 8;
    }
}

.fa-icon {
    height: 42px;
}

.navbar-brand {
    height: 43px;
}

.product-swiper-container img {
    min-height: 140px;
    max-height: 250px;
}

.similar-products img {
    min-height: 160px;
    max-height: 250px;
}

.background_color-blue-landing {
    background-color: #1E3A8A;
}

.p-circle-landing {
    padding: 3px 10px 3px 10px;
}

.slick-slide {
    padding: 0 0.5rem 0 0.5rem;
}

.swiper-invisible {
    opacity: 0;
    transition: opacity .3s ease;
    height: 0 !important;
}

@media (min-width: 768px) {
    .w-md-auto {
        width: auto !important;
    }
}

.form-check-input:checked {
    background-color: #0043AB;
    border-color: #0043AB;
}

.blurred {
    filter: blur(10px) !important;
    -webkit-filter: blur(10px) !important;
    -moz-filter: blur(10px) !important;
    -o-filter: blur(10px) !important;
    -ms-filter: blur(10px) !important;
}

.btn-max {
    background: url("/images/product/view/btn-max-bg.png");
    background-size: cover;

}

.text-blue {
    color: #0043AB
}

.product-swiper-container .hit {
    height: 15px;
    min-height: unset;
    min-width: unset;
}

.celimax .card {
    --bs-card-spacer-y: 1rem;
    --bs-card-spacer-x: 1rem;
    --bs-card-title-spacer-y: 0.5rem;
    --bs-card-border-width: 1px;
    --bs-card-border-color: var(--bs-border-color-translucent);
    --bs-card-border-radius: 0.375rem;
    --bs-card-box-shadow: ;
    --bs-card-inner-border-radius: calc(0.375rem - 1px);
    --bs-card-cap-padding-y: 0.5rem;
    --bs-card-cap-padding-x: 1rem;
    --bs-card-cap-bg: rgba(0, 0, 0, 0.03);
    --bs-card-bg: transparent;
    --bs-card-img-overlay-padding: 1rem;
    --bs-card-group-margin: 0.75rem;
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: var(--bs-card-height);
    word-wrap: break-word;
    background-color: var(--bs-card-bg);
    background-clip: border-box;
    border: var(--bs-card-border-width) solid var(--bs-card-border-color);
    border-radius: var(--bs-card-border-radius);
}

@media (min-width: 768px) {
    .celimax .product-title-width-char {
        width: 20ch;
    }
}

.main-description {
    background: url("/images/main/description.webp");
    background-size: cover;
}

@media (max-width: 768px) {
    .main-description {
        background: url("/images/main/description-mob.webp");
        background-size: cover;
        height: 700px;
    }
}

@media (min-width: 1200px) {
    .celimax .item-price {
        font-size: 19px !important;
    }

    .celimax .item-price-discounted {
        font-size: 15px !important;
    }

    .celimax .item-price-discount {
        font-size: 9px !important;
    }
}

.top-navbar {
    transition: transform .25s ease;
}

.top-navbar.hide {
    transform: translateY(-100%);
}

.main-navbar {
    top: 44px;
    transition: top .25s ease;
}

.main-navbar.up {
    top: 0;
}

.cursor-pointer {
    cursor: pointer;
}

.profile-banner {
    background: #f6f8fc;
    min-height: 260px;
}

.banner-girl {
    width: 290px;
    height: auto;
}

.banner-gradient {
    width: 240px;
    height: 100%;
}

@media (max-width: 576px) {
    .profile-banner {
        min-height: 125px;
    }

    .banner-girl {
        width: 145px;
    }

    .banner-gradient {
        width: 120px;
        right: -20px;
    }

    .profile-banner .fs-5 {
        font-size: 14px !important;
        line-height: 1.2;
    }

    .profile-banner .btn {
        padding: 4px 10px;
        font-size: 12px;
    }
}

.nav-tabs .nav-link.active {
    background: #4285F4 !important;
    color: white !important;
}

.status-line {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-line::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #e5e7eb;
    transform: translateY(-50%);
    z-index: 1;
}

.status-line::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    height: 2px;
    background: #3b82f6;
    transform: translateY(-50%);
    z-index: 2;
    width: var(--progress, 0%);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
    position: relative;
    z-index: 3;
}

.dot.active {
    background: #3b82f6;
}

.pop-brands {
    max-height: 250px;
}

@media (max-width: 992px) {
    .pop-brands {
        padding-top: 120px;
    }
}

.product-swiper-container > div {
    height: 250px;
}

@media (max-width: 992px) {
    .product-swiper-container > div {
        max-height: 250px;
    }
}

.product-swiper-container + .swiper-pagination {
    height: 20px;
}

.celimax-swiper .swiper-slide {
    width: calc((100% - 16px) / 2);
    margin-right: 16px;
}

@media (min-width: 768px) {
    .celimax-swiper .swiper-slide {
        width: calc((100% - 32px) / 3);
    }
}

@media (min-width: 576px) {
    .celimax-swiper .swiper-slide {
        width: calc((100% - 32px) / 3);
    }
}

@media (max-width: 768px) {
    .celimax-swiper > div {
        height: 425px;
    }
}

.hits-swiper > .swiper-wrapper > .swiper-slide {
    width: calc((100% - 16px) / 2);
    margin-right: 16px;
}

@media (min-width: 768px) {
    .hits-swiper > .swiper-wrapper > .swiper-slide {
        width: calc((100% - 32px) / 3);
    }
}

@media (min-width: 576px) {
    .hits-swiper > .swiper-wrapper > .swiper-slide {
        width: calc((100% - 32px) / 2.5);
    }
}

@media (min-width: 1024px) {
    .hits-swiper > .swiper-wrapper > .swiper-slide {
        width: calc((100% - 32px) / 4);
    }
}

@media (max-width: 768px) {
    .hits-swiper > div {
        height: 435px;
    }
}

.popular-brands .swiper-slide {
    width: calc((100% - 16px) / 2.9);
    margin-right: 16px;
}

@media (min-width: 768px) {
    .popular-brands .swiper-slide {
        width: calc((100% - 32px) / 6.5);
    }
}

@media (min-width: 576px) {
    .popular-brands .swiper-slide {
        width: calc((100% - 32px) / 5);
    }
}

@media (min-width: 1024px) {
    .popular-brands .swiper-slide {
        width: calc((100% - 32px) / 8);
    }
}

@media (max-width: 768px) {
    .popular-brands > div {
        height: 150px;
    }
}

.categories .swiper-slide {
    width: calc(100%);
}

.swiper-main {
    height: 490px;
}

@media (min-width: 1440px) {
    .swiper-main .swiper-wrapper {
        height: 590px;
    }
}

@media (min-width: 1024px) and (max-width: 1439px) {
    .swiper-main .swiper-wrapper {
        height: 490px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .swiper-main .swiper-wrapper {
        height: 305px;
    }
}

.hit-badge {
    top: 0px;
}

.discount-badge {
    top: 0px;
}

.discount-hit-badge {
    top: 35px;
}

@media (max-width: 400px) {
    .hit-badge {
        top: 15px;
    }

    .discount-hit-badge {
        top: 50px;
    }

    .discount-badge {
        top: 15px;
    }
}

.main-banner-1 {
    background-image: url('/images/main/main-carusel-item-1.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.main-banner-2 {
    background-image: url('/images/main/main-carusel-item-2.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.main-banner-3 {
    background-image: url('/images/main/main-carusel-item-3.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.main-banner-4 {
    background-image: url('/images/main/main-carusel-item-4.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (min-width: 1920px) {
    .swiper-main {
        height: 600px !important;
    }
}
