body {
    min-height: 100vh;
}

.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;
}

.card .swiper-pagination-bullet-active {
    width: 20px !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 {
    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: #0043AB !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);
}

.categories + .swiper-pagination .swiper-pagination-bullet-active,
.categories-mob + .swiper-pagination .swiper-pagination-bullet-active {
    background-color: #ffffff !important;
}

.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;
}