/* Кастомные стили */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Roboto', sans-serif;
}

main {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

.image-clickable {
    cursor: zoom-in;
}

.product-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1) !important;
}

.product-card-img-wrapper {
    height: 220px;
    overflow: hidden;
}

.product-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-image {
    cursor: pointer;
    transition: opacity 0.2s, border-color 0.2s;
    border: 2px solid transparent;
}

.thumbnail-image:hover {
    opacity: 0.8;
}

.active-thumb {
    border-color: #0d6efd; /* Bootstrap primary */
    opacity: 1;
}

.image-clickable {
    cursor: zoom-in;
}
.thumbnail-image {
    cursor: pointer;
    transition: opacity 0.2s, border-color 0.2s;
    border: 2px solid transparent;
}
.thumbnail-image:hover {
    opacity: 0.8;
}

.video-thumbnail {
    aspect-ratio: 1 / 1;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
}

.video-thumbnail:hover {
    opacity: 0.85;
    transform: scale(1.02);
}

.video-label {
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    font-size: 0.75rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.image-clickable {
    cursor: zoom-in;
}

.thumbnail-image {
    cursor: pointer;
    transition: opacity 0.2s, border-color 0.2s;
    border: 2px solid transparent;
}

.thumbnail-image:hover {
    opacity: 0.8;
}

.active-thumb {
    border-color: #0d6efd;
    opacity: 1;
}