﻿.offer-grid .offer-card {
    padding: 30px 20px;
    height: 100%;
    border: 1px solid rgba(229, 54, 55, 0.35); /* мінімальний червоний бордер */
    transition: all 0.3s ease;
    background-color: #fff;
}

    .offer-grid .offer-card i {
        display: block;
        font-size: 48px;
        color: #e53637;
        margin-bottom: 15px;
        transition: transform 0.3s ease;
    }

    .offer-grid .offer-card p {
        margin: 0;
        font-size: 16px;
        line-height: 1.6;
    }

    /* Hover */
    .offer-grid .offer-card:hover {
        border-color: #e53637;
        box-shadow: 0 8px 25px rgba(229, 54, 55, 0.15);
        transform: translateY(-4px);
    }

        .offer-grid .offer-card:hover i {
            transform: scale(1.1);
        }

.checkbox-columns {
    list-style: none;
    padding-left: 0;
    margin-bottom: 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 14px 24px;
}

    .checkbox-columns li {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        line-height: 1.5;
    }

    .checkbox-columns .icon {
        flex: 0 0 22px;
        height: 22px;
        border: 1px solid #bbb;
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .checkbox-columns svg {
        width: 14px;
        height: 14px;
        fill: #333;
    }

.offer-card {
    height: 100%;
    padding: 24px 20px;
    border: 1px solid #c62828;
    border-radius: 14px;
    text-align: center;
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

    .offer-card i {
        font-size: 32px;
        color: #c62828;
        margin-bottom: 14px;
        display: inline-block;
    }

    .offer-card p {
        margin: 0;
        line-height: 1.6;
        color: #333;
    }

    .offer-card:hover {
        background-color: rgba(198, 40, 40, 0.05);
        box-shadow: 0 10px 30px rgba(198, 40, 40, 0.18);
        transform: translateY(-4px);
    }

.product__details__pic {
    width: 100%;
    height: 100%; /* або конкретна висота */
    overflow: hidden;
}

    .product__details__pic img {
        display: block; /* 🔥 прибирає whitespace */
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.product__details__pic {
    padding: 0 !important;
    margin: 0;
    height: 100%;
}

.product__details__pic {
    padding: 30px;
}

    .product__details__pic img.img-fluid {
        height: 100% !important;
    }


.product__details__last__option {
    display: flex;
    justify-content: center; /* 🔥 центр по горизонталі */
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 0 auto; /* центр самого ul */
    list-style: none;
}

    .product__details__last__option li {
        white-space: nowrap;
    }

        .product__details__last__option li:not(:last-child)::after {
            content: " /";
            margin-left: 6px;
        }

@media (max-width: 576px) {
    .product__details__last__option {
        flex-wrap: wrap;
        justify-content: center;
    }
}


/* висота хедера (піджени під себе) */
:root {
    --header-height: 120px; /* десктоп */
}

/* hero */
.hero,
.hero__items,
.hero__inner {
    min-height: calc(100dvh - var(--header-height));
}

/* моб */
@media (max-width: 768px) {
    :root {
        --header-height: 300px; 
    }

    .hero,
    .hero__items,
    .hero__inner {
        min-height: calc(100dvh - var(--header-height));
    }
}

.hero__content {
    color: #fff;
    max-width: 600px;
}

    .hero__content h1 {
        font-size: 32px;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .hero__content p {
        font-size: 16px;
        opacity: 0.9;
    }

.display-4 {
    font-size: 30px !important;
}

/* моб */
@media (max-width: 768px) {
    .hero__content h1 {
        font-size: 24px;
    }

    .hero__content p {
        font-size: 14px;
    }
}


.brands-section {
    padding: 60px 0;
    background: #fafafa;
}

.brand-logo {
    aspect-ratio: 1 / 1;
    width: 100%;
    background: #fff;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    margin-bottom: 30px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .brand-logo img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain; /* 🔥 для логотипів */
    }

    /* hover */
    .brand-logo:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 25px rgba(0,0,0,.08);
    }

    .brand-logo img {
        filter: grayscale(100%);
    }

    .brand-logo:hover img {
        filter: none;
    }


.product__details__pic {
    background: none;
}

.thumbnail-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 10px;
    margin-top: 15px;
    width: 100%;
}

.thumbnail {
    width: 100%;
    aspect-ratio: 1 / 0.5; /* в 2 рази нижчі */
    object-fit: cover;
    cursor: pointer;
    opacity: 0.5; /* напівпрозорі */
    transition: 0.3s ease;
    border: 2px solid transparent;
}

    .thumbnail:hover {
        opacity: 0.8;
    }

    .thumbnail.active {
        opacity: 1; /* активна повністю видима */
        border-color: #000;
    }

.space-thanks {
    margin-top: 100px;
    margin-bottom: 100px;
}

/* Мобільні пристрої */
@media (max-width: 768px) {
    .space-thanks {
        margin: 0;              /* прибираємо відступи */
        min-height: 100vh;     /* займає всю висоту екрану */
        display: flex;
        align-items: center;   /* вертикальне центрування */
        justify-content: center; /* горизонтальне центрування */
    }
}

.breadcrumb-blog {
    position: relative;
}

    .breadcrumb-blog::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.4); /* затемнення */
        z-index: 1;
    }

    .breadcrumb-blog h2 {
        position: relative;
        z-index: 2;
        color: #fff;
    }