@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}

.navbar-menu-item {
    font-weight: 400;
}

.hero-banner p,
.hero-banner h1,
.hero-banner a {
    color: white;
}

.hero-title-2,
.hero-paragraph {
    width: 80%;
}

.hero-content-inner {
    padding: 15px;
}

.hero-content-inner::before {
    z-index: -1;
    width: 80%;
    border-radius: 10px;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3); /* или rgba(255,255,255,0.3) */
    backdrop-filter: blur(4px);
}

@media screen and (max-width: 768px) {
    .hero-banner .container {
        max-width: 100%;
    }
    .hero-banner .container .img-block {
        padding-inline: 0 !important;
    }
}

.sticky-area {
    background-color: #e2e0da;
    /* background-color: white; */
}

.shop-dropdown {
    background-color: #e2e0da;
}

body {
    /* background: linear-gradient(to left, rgb(2, 22, 46), #4697c2); */
}

footer {
    background: linear-gradient(to left, rgb(2, 22, 46), #4697c2);
    color: white;
}

footer a,
footer h3 {
    color: white !important;
}

.offcanvas {
    background-color: white;
}

.justify-self-end {
    justify-self: flex-end;
}

body {
    overflow-x: hidden;
}

img {
    object-fit: cover;
}

.header-top {
    background-color: #f8f9fa;
}

.blog-item a img {
    height: 300px;
}

@media screen and (max-width: 992px) {
    .blog-item a img {
        height: 250px;
    }
}

.about-title {
    font-size: 56px;
    color: white;
}

@media screen and (max-width: 992px) {
    .about-title {
        font-size: 40px;
    }
}

.about-desc {
    color: white;
}

.category-block {
    width: 100%;
    justify-content: space-between;
}

.recent-posts-block img {
    height: 80px;
}

.post-content img {
    max-height: 470px;
}

.blog-item-detail a img {
    height: 250px;
}

@media screen and (max-width: 1200px) {
    .blog-item-detail a img {
        height: 200px;
    }
}

@media screen and (max-width: 992px) {
    .blog-item-detail a img {
        height: 300px;
    }
}

/* filter category */

#offCanvasNavBar {
    z-index: 1051;
}

.offcanvas.offcanvas-no-animation {
    width: 300px !important;
    transition: none !important;
}

.filter-button-sticky {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1050;
    background-color: #0dcaf0;
    color: #fff;
    border-radius: 0 6px 6px 0;
    padding: 10px 14px;
    font-weight: bold;
    cursor: pointer;
}

.filter-button-shifted {
    left: 300px !important; /* ширина offcanvas */
}

@media (min-width: 992px) {
    .filter-button-sticky {
        display: none;
    }
}

.accordion-button:focus {
    box-shadow: none;
}

.category-item {
    height: 200px;
}

.category-title {
    font-size: 20px;
}

@media (min-width: 700px) {
    .category-item {
        height: 250px;
    }
    .category-title {
        font-size: 24px;
    }
}

@media (min-width: 992px) {
    .category-item {
        height: 300px;
    }
    .category-title {
        font-size: 30px;
    }
}

@media (min-width: 992px) {
    .category-item {
        height: 350px;
    }
    .category-title {
        font-size: 32px;
    }
}

@media screen and (max-width: 1200px) {
    .about-block {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}

.about-item-2 {
    position: absolute;
    right: -25%;
    top: 25%;
    transform: translateY(-50%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    overflow: hidden;
}

.about-item-1 {
    border-radius: 12px;
}

.about-item-1 img,
.about-item-2 img {
    transition: transform 0.5s ease;
}
.about-item-1:hover img,
.about-item-2:hover img {
    transform: scale(1.05);
}

@media screen and (max-width: 1000px) {
    .about-item-2 {
        right: -10%;
        width: 300px;
    }
}

@media screen and (max-width: 782px) {
    .about-item-1 {
        width: 500px;
    }
    .about-item-2 {
        width: 250px;
    }
}

@media screen and (max-width: 620px) {
    .about-item-1 {
        width: 400px;
    }
    .about-item-2 {
        width: 250px;
    }
}

@media screen and (max-width: 520px) {
    .about-item-1 {
        width: 350px;
    }
    .about-item-2 {
        width: 200px;
    }
}

@media screen and (max-width: 440px) {
    .about-item-1 {
        width: 300px;
    }
    .about-item-2 {
        width: 180px;
    }
}

@media screen and (max-width: 375px) {
    .about-item-1 {
        width: 250px;
    }
    .about-item-2 {
        width: 140px;
    }
}

.bestsellers-img {
    height: 325px;
}

@media screen and (max-width: 992px) {
    .bestsellers-img {
        height: 300px;
    }
}

@media screen and (max-width: 520px) {
    .bestsellers-img {
        height: 250px;
    }
}

.text-black {
    color: black;
}

.background-white {
    background-color: white;
}

.card-product {
    min-height: 490px; /* Подстрой по нужной высоте, измеренной по большинству карточек */
}

.card-img-top a img {
    /* height: 440px; Или подстрой по образцу */
    height: 330px;
    object-fit: contain;
}

.slick-slide img {
    height: 100%;
    object-fit: contain;
}

/* validation mark */

.wrong_p {
    color: red;
    margin-top: 10px;
}

/* popup */

.popup-message {
    position: fixed;
    bottom: 30px;
    right: 30px;
    color: white;
    padding: 14px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 9999;
    max-width: 300px;
}

.popup-message.show {
    opacity: 1;
    transform: translateY(0);
}

.popup-icon {
    font-size: 20px;
    background-color: white;
    color: inherit;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-text {
    font-weight: 500;
    flex: 1;
}

.blog_title {
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3; /* Количество строк */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.about-paragraph {
    font-weight: 400;
}

.about-hero-block {
    width: 80%;
    padding: 15px;
}

.about-hero-block::before {
    z-index: -1;
    width: 80%;
    border-radius: 10px;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3); /* или rgba(255,255,255,0.3) */
    backdrop-filter: blur(4px);
}

.partners-slider .slick-track {
    display: flex;
    align-items: center;
}
