.product-card {
    padding: var(--spacing-lg) 0;
    background: #ffffff;
}

.product-card__info {
    height: 100%;
}

.product-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.product-info-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 50px;
    border-top: 1px solid rgba(56, 61, 76, 0.2);
}

.product-card__container {
    max-width: 1400px;
    margin: 0 auto;
    /* padding: 0 var(--spacing-md); */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.product-gallery {
    display: flex;
    gap: var(--spacing-md);
}

.product-gallery__thumbnails {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    order: -1;
    max-height: 500px;
    overflow: auto;
    scroll-behavior: smooth;
    position: relative;
    padding: 8px;
}

.product-gallery__thumbnails::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

.product-gallery__thumbnails::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.product-gallery__thumbnails::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 2px;
}

.product-gallery__thumbnails::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.product-gallery__scroll-btn {
    display: none !important;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    transition: all 0.2s ease;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-gallery__scroll-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(0, 0, 0, 0.2);
    color: #333;
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.product-gallery__scroll-btn:disabled {
    cursor: not-allowed;
    opacity: 0.3;
    transform: translateX(-50%);
}

.product-gallery__scroll-btn--up {
    top: 8px;
}

.product-gallery__scroll-btn--down {
    bottom: 8px;
}

.product-gallery__thumbnail {
    display: block;
    width: 108px;
    height: 68px;
    border: 2px solid transparent;
    border-radius: 20px;
    background: #ffffff;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    flex-shrink: 0;
}

.product-gallery__thumbnail img {
    display: inline-block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-gallery__thumbnail:focus {
    outline: 2px solid #4a8cf0;
    outline-offset: 2px;
}

.product-gallery__thumbnail:hover {
    border-color: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-gallery__thumbnail--active {
    border-color: #4a8cf0;
    box-shadow: 0 0 0 1px #4a8cf0;
}

.product-gallery__thumbnail--active:hover {
    border-color: #4a8cf0;
    transform: none;
}

.product-gallery__thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    display: block;
    pointer-events: none;
}

.product-gallery__main {
    flex: 1;
    background: #f7f7fe;
    border-radius: 60px;
    padding: var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.product-gallery__main-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-info {
    padding: var(--spacing-lg) 0;
}

.product-info__title {

    font-weight: 700;
    font-size: clamp(24px, 4vw, 32px);
    line-height: 1.4;
    color: #383d4c;
    margin-bottom: 20px;
    letter-spacing: -0.58px;
}

.product-info__article {

    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
    color: #abaeb7;
    letter-spacing: -0.24px;
}

.product-info__price {

    font-weight: 600;
    font-size: clamp(24px, 3vw, 30px);
    line-height: 1.2;
    color: #383d4c;
    letter-spacing: -0.24px;
    position: relative;
}

.product-info__add-btn {
    width: 41px;
    height: 41px;
    background: #4a8cf0;
    border: none;
    border-radius: 27.49px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.product-info__add-btn:hover {
    background: #3a7bd8;
    transform: scale(1.05);
}

.product-info__add-btn:focus {
    outline: 2px solid #4a8cf0;
    outline-offset: 2px;
}

.product-info__add-icon {
    position: relative;
    width: 17px;
    height: 17px;
}

.product-info__add-icon::before,
.product-info__add-icon::after {
    content: '';
    position: absolute;
    background: #ffffff;
}

.product-info__add-icon::before {
    width: 17px;
    height: 1px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.product-info__add-icon::after {
    width: 1px;
    height: 17px;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

@media (min-width: 768px) {
    .product-gallery__scroll-btn {
        display: block;
    }
}

@media (max-width: 1024px) {
    .product-card__container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        display: flex;
    }

    .product-card__gallery {
        width: 100%;
    }

    .product-gallery {
        flex-direction: column;
    }

    .product-gallery__thumbnails {
        flex-direction: row;
        order: 1;
        padding: var(--spacing-sm);
    }
    
    .product-gallery {
        gap: 0;
    }

    .product-gallery__main {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .product-card {
        padding: var(--spacing-md) 0;
    }

    .product-card__container {
        /* padding: 0 var(--spacing-sm); */
    }

    .product-gallery__thumbnail {
        width: 80px;
        height: 50px;
        flex-shrink: 0;
    }

    .product-gallery__main {
        min-height: 300px;
        padding: var(--spacing-md);
    }

    .product-info {
        padding: var(--spacing-md) 0;
    }

    .product-info__price::before {
        width: 100%;
    }
}