body {
    background-color: #faf7f5;
    color: #2e2e2e;
}

.btn-main {
    background-color: #c0264f;
    color: #fff;
    border-radius: 12px;
}

.btn-main:hover {
    background-color: #a61e43;
    color: #fff;
}

.card-soft {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
}

.text-small {
    font-size: .9rem;
}

.navbar, footer {
    background-color: #ffffff;
}

.hero {
    background: linear-gradient(120deg, #f8e8ea, #faf7f5);
}

.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.btn-primary {
    background-color: #c0264f;
    border: none;
}

.btn-primary:hover {
    background-color: #a61e43;
}

.badge-18 {
    background-color: #e5e7eb;
    color: #374151;
}

#productAddedCartModal .product-img {
    width: 100px;
}

/* ============ desktop view ============ */
@media all and (min-width: 992px) {
    .dropdown-menu li {
        position: relative;
    }

    .dropdown-menu .submenu {
        display: none;
        position: absolute;
        left: 100%;
        top: -7px;
    }

    .dropdown-menu .submenu-left {
        right: 100%;
        left: auto;
    }

    .dropdown-menu > li:hover {
        background-color: #f1f1f1
    }

    .dropdown-menu > li:hover > .submenu {
        display: block;
    }
}

/* ============ desktop view .end// ============ */

/* ============ small devices ============ */
@media (max-width: 991px) {
    .dropdown-menu .dropdown-menu {
        margin-left: 0.7rem;
        margin-right: 0.7rem;
        margin-bottom: .5rem;
    }
}

.product-detail .canBuy {
    color: green;
    font-weight: bold;
}

.product-detail .cannotBuy {
    color: red;
    font-weight: bold;
}

.product-detail .add-bonus {
    color: red;
    font-weight: bold;
}

.product-detail .free-delivery {
    color: red;
    font-weight: bold;
}

#pane-attributes .dropdown-menu {
    overflow: hidden;
    overflow-y: auto;
    max-height: calc(100vh - 250px);
}

.card .canBuy {
    color: green;
    font-weight: bold;
}

.card .cannotBuy {
    color: red;
    font-weight: bold;
}

.card .free-delivery {
    color: red;
    font-weight: bold;
}

#productAddedCartModal .add-bonus {
    color: red;
}

.form-error {
    color: red;
}

@media (min-width: 576px) {
    .input-group.search {
        width: 100%;
    }
}

@media (min-width: 992px) {
    .form-inline {
        width: 90%;
    }
}

img.product-color {
    width: 20px;
    height: 20px;
}

.pickup-map {
    min-height: 366px;
}

.manager-price {
    font-weight: bold;
}

.manager-price .whole-price {
    color: #FF3333;
}

.manager-price .profit-price {
    color: #00994C;
}

.manager-price .full-profit-price {
    color: #CC00CC;
}

.required {
    color: red;
}

.swiper-related-products {
    width: 100%;
    height: auto;
}

.swiper-related-products .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-related-products .swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Заменяем mixin для product-detail */
.product-detail {
    /* Для xxl (>=1400px) */
    min-height: 800px;
}

@media (min-width: 768px) {
    .product-detail {
        min-height: 800px;
    }
}

@media (min-width: 992px) {
    .product-detail {
        min-height: 1000px;
    }
}

@media (min-width: 1200px) {
    .product-detail {
        min-height: 1100px;
    }
}

@media (min-width: 1400px) {
    .product-detail {
        min-height: 1300px;
    }
}

.aspect-ration-3-on-4 {
    aspect-ratio: 3/4;
}

.aspect-ration-4-on-3 {
    aspect-ratio: 4/3;
}

/* Заменяем mixin для swiper-product-container */
.swiper-product-container {
    height: 800px;
}

@media (min-width: 992px) {
    .swiper-product-container {
        height: 1000px;
    }
}

@media (min-width: 1200px) {
    .swiper-product-container {
        height: 1100px;
    }
}

.swiper-product-container .swiper-button-prev {
    color: rgb(0, 122, 255);
}

.swiper-product-container .swiper-button-next {
    color: rgb(0, 122, 255);
}

.swiper-product-container .swiper-slide {
    background-size: cover;
    background-position: center;
}

.swiper-product-container .swiper-slide img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.swiper-product-container .swiper-product {
    height: 80%;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.swiper-product-container .swiper-product-thumbs {
    width: 100%;
    height: 20%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    padding: 10px 0;
}

.swiper-product-container .swiper-product-thumbs .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.4;
}

.swiper-product-container .swiper-product-thumbs .swiper-slide-thumb-active {
    opacity: 1;
}

.banner-container {
    min-height: 300px;
    text-align: center;
}

.home-features .bi {
    vertical-align: -.125em;
    fill: currentColor;
}

.home-features .bi.icon {
    width: 35px;
    height: 35px;
}

.home-features .bi.chevron-right {
    width: 16px;
    height: 16px;
}

.home-features .feature-icon {
    width: 4rem;
    height: 4rem;
    border-radius: .75rem;
}

.responsive-tabs {
    padding: 1rem;
}

.responsive-tabs .nav-tabs {
    display: none;
}

@media (min-width: 768px) {
    .responsive-tabs .nav-tabs {
        display: flex;
    }

    .responsive-tabs .card {
        border: none;
    }

    .responsive-tabs .card .card-header {
        display: none;
    }

    .responsive-tabs .card .collapse {
        display: block;
    }
}

@media (max-width: 767px) {
    .responsive-tabs .tab-pane {
        display: block !important;
        opacity: 1;
    }
}

img.card-img-top.product {
    aspect-ratio: 3/4;
}
