html {
    scroll-behavior: smooth;
}

thead {
    letter-spacing: 1.5px;
}

td {
    font-weight: 500;
}

table tr td:last-child {
    border-radius: 0 10px 10px 0
}

.custom-rounded.table tr :first-child {
    border-radius: 10px 0 0 10px
}

table th:last-child {
    border-radius: 0 10px 10px 0
}

small, .small, .help-text {
    font-size: 0.875em;
}

.radius {
    border-radius: 10px 0 0 10px
}

.bg-image {
    height: 120px;
    width: 120px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.bg-image-tablet {
    height: 80px;
    width: 80px;
}

.bg-image-mobile {
    height: 140px;
    width: 140px;
}

.pic-6 {
    background-image: url("/assets/blackdragon/img/services/disk6.webp");
}

.pic-5 {
    background-image: url("/assets/blackdragon/img/services/disk5.webp");
}

.pic-4 {
    background-image: url("/assets/blackdragon/img/services/disk4.webp");
}

.pic-3 {
    background-image: url("/assets/blackdragon/img/services/disk3.webp");
    background-position: left;
}

.pic-2 {
    background-image: url("/assets/blackdragon/img/services/disk2.webp");
}

.pic-1 {
    background-image: url("/assets/blackdragon/img/services/disk1.webp");
}


body {
    --bs-primary-rgb: 255, 213, 101 !important;
    --bs-primary: 255, 213, 101 !important;
}

.nav-link {
    transition: background-color 0.3s ease-in-out;
}

.nav-link:hover {
    background-color: rgba(255, 213, 101);
}

header {
    .nav-link:hover {
        background-color: #ffe296;
    }
}

.btn {
    border: none;

}

.btn.bg-primary:hover {
    background-color: #ffe296 !important;
}

.black-btn.active {
    transition: background-color 0.5s ease-in-out;
    background-color: black;
    color: white;
    text-decoration: none !important;
}

.best-offers-item:hover {
    font-weight: 500;
    text-decoration-line: underline;
}

.bg-review {
    background-size: 120%;
    background-repeat: no-repeat;
    background-position: -6px 10px;
    background-image: url("/assets/blackdragon/img/tireReview.webp");
}

.fs-8 {
    font-size: 8px !important;
}

.fs-9 {
    font-size: 9px !important;
}

.fs-10 {
    font-size: 10px !important;
}

.fs-11 {
    font-size: 11px !important;
}

.fs-12 {
    font-size: 12px !important;
}

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

.fs-18 {
    font-size: 18px !important;
}

.fs-30 {
    font-size: 30px !important;
}

.croppingText {
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.badge-position {
    right: 2% !important;
    top: 3% !important;
}

.btn-badge-position {
    left: 5% !important;
    top: 3% !important;
}

.card {
    transition: transform 0.2s;
}

.card-img-top {
    transition: filter 0s;
}

.card:hover {
    box-shadow: 0px 0px 22px -5px rgba(34, 60, 80, 0.5);
    /* transform: translateY(-10px); */

    /* .card-img-top {
      filter: brightness(0.5);
    }

    .overlay {
      display: block;
    } */

}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 57%;
    display: none;
}

.text {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, 0);
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    animation: slideUp .5s forwards;

}

@keyframes slideUp {
    0% {
        top: 35%;
        opacity: 0;
    }
    100% {
        top: 15%;
        opacity: 1;
    }
}

.catalog-menu {
    width: 100%;
}

/*.tab-content > .active {*/
/*    display: flex;*/
/*}*/

.tab-content-menu > .active {
    display: flex;
}

.list-group-item.active {
    border: 1px solid lightgray !important;
    background-color: transparent;
    color: black;
    border-radius: 12px;
}

.list-style-none {
    list-style: none;
}

.dropdown-toggle::after {
    display: none;
}

.dropdown-menu[data-bs-popper] {
    top: 124%;
}

.invisibility-scroll {
    scrollbar-width: none;
    filter: grayscale(100%);
    opacity: 0.5;
}

.scroll-shadow {
    z-index: 999;
    box-shadow: 0px 0px 12px 20px rgba(255, 255, 255, 1);
    width: 1%;
    height: 100px;
}

.btn {
    transition: box-shadow 0.3s, background-color 0.3s;
}


.bg-pic {
    background-image: url("/assets/blackdragon/img/bg-login.png");
    background-size: 55%;
    background-repeat: no-repeat;
    background-position: 416px 250px;
}

.bg-arrow::after {
    content: '';
    position: absolute;
    bottom: 40px;
    left: -57px;
    width: 200px;
    height: 200px;
    background-image: url("/assets/blackdragon/img/arrow.png");
    background-size: 90%;
    background-repeat: no-repeat;
}

.py-6 {
    padding-top: 5rem !important;
    padding-bottom: 12rem !important;
}

.px-6 {
    padding-right: 6rem !important;
    padding-left: 6rem !important;
}

.gap-6 {
    gap: 6rem !important;
}

.bg-pic-reg {
    background-image: url("/assets/blackdragon/img/tire-bg.png");
    background-size: 49%;
    background-repeat: no-repeat;
    background-position: 645px 325px;

}

.bg-icon-reg::after {
    content: '';
    position: absolute;
    bottom: 78px;
    left: 380px;
    width: 200px;
    height: 200px;
    background-image: url("/assets/blackdragon/img/reg-icon.png");
    background-size: 90%;
    background-repeat: no-repeat;

}

.order-input:checked {
    background-color: white;
    --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2.5' fill='%23ffd565'/%3e%3c/svg%3e") !important;
    border-color: #dee2e6 !important;
}

.form-check .form-check-input:focus {
    box-shadow: none;
    border-color: #ffd565;
}

.form-control:focus {
    border-color: #ffd565;
    box-shadow: 0 0 0 .25rem rgba(255, 213, 101, .25);
}

.form-select:focus {
    box-shadow: 0 0 0 .25rem rgba(255, 213, 101, .25);
}

.gx-6 {
    --bs-gutter-x: 6rem;
}

.pagination {
    --bs-pagination-padding-x: 0.84rem;
}

.page-link:hover {
    color: black !important;
    background-color: #ffd565;
}

.page-link:focus {
    color: black !important;
    background-color: #ffd565;
    box-shadow: 0 0 0 .25rem rgba(255, 213, 101, .25);
}

.calc-btn.active {
    text-decoration: none !important;
    background-color: #ffd565;
    box-shadow: none !important;
}

dl dt {
    display: inline-block;
    width: 50%;
    font-weight: 400;
    margin-bottom: 15px;
}

dl dd {
    display: inline-block;
    width: 50%;
    font-weight: 500;
}

dt.tire-props {
    width: 65%;
}

dd.tire-props {
    width: 35%;;
}

.mobile-dl dt {
    margin-bottom: 8px;
}

.product-carousel-indicators img {
    width: 75px;
    display: block;
}

.product-carousel-indicators button {
    width: max-content !important;
    height: max-content !important;
}

.product-carousel-indicators {
    position: unset;
}

.carousel-inner-product {
    width: 310px;
}


.btn-alt.active {
    background-color: rgba(255, 213, 101, 1) !important;
    color: black !important;
    border-color: rgba(255, 213, 101, 1) !important;
}

.btn-alt:hover {
    color: black !important;
    border-color: rgba(255, 213, 101, 1) !important;
}

.btn-collapsed-icon {
    transition: transform 0.3s ease;
}

.collapsed .btn-collapsed-icon {
    transform: rotate(180deg);
}

.offcanvas {
    --bs-offcanvas-width: 500px;
}

.table-primary {
    --bs-table-bg: rgba(255, 213, 101, 1) !important;
}

.scroll-none {
    scrollbar-width: none;
    overscroll-behavior: contain;
}

.carousel-scroll-btn-up {
    top: -32px;
    left: 27px;
}

.carousel-scroll-btn-down {
    top: 316px;
    left: 27px;
}

.icon {
    content: "";
    width: 43px;
    height: 43px;
    /*border-radius: 50%;*/
    background-color: rgb(255, 255, 255);
    box-shadow: 0 4px 5px 0 rgba(139, 139, 139, 0.39);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    cursor: pointer;
}

.icon-sm {
    width: 35px;
    height: 35px;
}

.bg-cover {
    background-repeat: no-repeat;
    background-size: cover !important;
    border: 0;
}

.bg-contain {
    background-repeat: no-repeat;
    /*background-color: #f8fbff;*/
    background-size: contain;
    background-position: center;
    background-origin: content-box;
}

.ticker-animate {
    pointer-events: none;
}

.ticker-animate img {
    animation: 10s linear infinite ticker;
    -webkit-animation: 10s linear infinite ticker;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

@keyframes ticker {
    from {
        transform: translateZ(0);
    }
    to {
        transform: translate3d(-625%, 0, 0);
    }
}

@-webkit-keyframes ticker {
    from {
        -webkit-transform: translateZ(0);
    }
    to {
        -webkit-transform: translate3d(-625%, 0, 0);
    }
}

.btn-check:checked + .btn {

    > .icon {
        box-shadow: none !important;
        background-color: #fff0cb;
    }

}

.btn-check:checked + .btn-all {
    box-shadow: none !important;
    background-color: #fff0cb;
}

.modal-content {
    border-radius: 26px;
    box-shadow: 0 4px 24px 0 rgba(139, 139, 139, 0.27);
    border-bottom: 10px solid var(--bs-blue);
    border-top: none;
    border-left: none;
    border-right: none;
}

.modal {
    --bs-modal-margin: 1.75rem;
    --bs-modal-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.modal-dialog {
    /*max-width: var(--bs-modal-width);*/
    /*margin-right: auto;*/
    /*margin-left: auto;*/
}

.modal-sm {
    --bs-modal-width: 300px;
}

.modal-lg {
    --bs-modal-width: 800px;
}

.modal-xl {
    --bs-modal-width: 1140px;
}

.favorite:hover {
    transform: scale(1.2);
}

.favorite {
    transition: transform 0.2s ease;
}

.favorite-delete {
    transition: transform 0.2s ease;
}

.favorite-delete:hover {
    transform: scale(1.2);
    color: #212529 !important;
}

.fade-delete {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.popover-arrow::after {
    border-bottom-color: rgba(var(--bs-primary)) !important;
}

.popover-header {
    background-color: rgba(var(--bs-primary)) !important;
}

.popover-header::before {
    border-bottom: none !important;
}

.form-check-input:checked {
    background-color: #f9c53d !important;
    border-color: #f9c53d !important;
}

.product-fav-btn form {
    position: static !important;
    width: unset !important;
    height: unset !important;
}

.product-fav-btn svg {
    width: 24px !important;
    height: 24px !important;
}

.share-btn {
    transition: transform 0.2s ease;
}

.share-btn:hover {
    transform: scale(1.2);
}

.fade-delete {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

svg {
    transition: color 0.2s ease;
}

.pointer {
    cursor: pointer;
}

dialog {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    border: none;
    padding: 0;
    margin: 0;
    margin-top: 62px;
    z-index: 1024;
    overflow: auto;

    &.tablet {
        margin-top: 82px;
    }
}

dialog:-internal-dialog-in-top-layer {
    max-width: calc(100%);
    max-height: calc(100%);
}

dialog::backdrop {
    background-color: transparent;
    z-index: 1099;
}

.scroll-lock {
    overflow: hidden;
}

.popover-arrow::after {
    border-bottom-color: rgb(255, 213, 101) !important;
}

.dropdown {
    z-index: 1098;
}

.carousel-control-prev-main {
    left: 0;
}

.carousel-control-next-main {
    right: 0;
}

.border-dotted {
    border: 0.1rem dotted #e4e6ef !important;
}

.border-dotted.active {
    border-color: var(--bs-blue) !important;
    color: #000 !important;
}

input::placeholder,
textarea::placeholder {
    opacity: 0.5 !important;
}

.catalog-menu {
    width: calc(99% - calc(var(--bs-gutter-x) * .5) * 2);
    left: calc(var(--bs-gutter-x) * .5) !important;
    top: 50px;
    z-index: 11000;
}

.catalog-menu-lg {
    width: calc(100% - calc(var(--bs-gutter-x) * .5) * 2);
}

.tab-content > .active {
    display: flex;
}

.productCardTabs.btn.active {
    box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2);
    text-decoration: none !important;
    background-color: rgba(255, 213, 101);
}