/* =========================================
   СТРАНИЦА ИНДИВИДУАЛЬНОГО ИЗДЕЛИЯ
========================================= */

.product-landing-container {
    max-width: 1300px;
    margin: 30px auto 80px auto;
    padding: 0 20px;
    font-family: 'Inter', sans-serif;
}

.product-split-layout {
    display: flex;
    align-items: flex-start;
    gap: 50px;
}

/* ЛЕВАЯ КОЛОНКА (Галерея + Мокап) */
.product-left-column {
    width: 50%;
    display: flex;
    flex-direction: column;
}

.product-gallery {
    width: 100%;
}

.pg-main-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    background: #fdfafb;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 15px;
    border: 1px solid #eeeeee;
}

.pg-carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pg-slide {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    object-fit: cover;
}

.pg-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888888;
}

.pg-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    border: 1px solid #eeeeee;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 16px;
    color: #333333;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pg-btn:hover {
    background: #936098;
    color: #ffffff;
    border-color: #936098;
}

.pg-btn.prev-btn { left: 15px; }
.pg-btn.next-btn { right: 15px; }

.pg-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.pg-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.pg-thumb.active, .pg-thumb:hover {
    border-color: #fb5a6c;
}

/* КНОПКА «ОПЦИИ» В ПРАВОМ ВЕРХНЕМ УГЛУ ГЛАВНОГО ФОТО */
.bsp-product-photo-options-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    appearance: none;
    border: 1px solid rgba(147, 96, 152, 0.35);
    background: rgba(255, 255, 255, 0.95);
    color: #5A2A75;
    padding: 7px 16px;
    border-radius: 25px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.25s ease;
    z-index: 20;
    white-space: nowrap;
}

.bsp-product-photo-options-btn svg {
    color: #df1b53;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.bsp-product-photo-options-btn:hover {
    background: linear-gradient(135deg, #df1b53 0%, #936098 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 6px 16px rgba(223, 27, 83, 0.35);
    transform: translateY(-2px);
}

.bsp-product-photo-options-btn:hover svg {
    color: #ffffff;
    transform: rotate(60deg);
}

.bsp-product-photo-options-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

/* ПРАВАЯ ЧАСТЬ (ИНФОРМАЦИЯ) - Теперь она залипает (sticky) */
.product-info-panel {
    width: 50%;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 20px;
}

.pi-header {
    margin-bottom: 25px;
    border-bottom: 2px solid #fb5a6c;
    padding-bottom: 15px;
}

.pi-badge {
    margin-bottom: 10px;
}

.pi-title {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 700;
    color: #4a3c5a;
    margin: 0;
    line-height: 1.2;
}

.pi-description {
    font-size: 16px;
    color: #444444;
    line-height: 1.7;
    margin: 0 0 30px 0;
}

/* =========================================
   АДАПТИВНОСТЬ
========================================= */
@media screen and (max-width: 992px) {
    .product-split-layout {
        flex-direction: column;
    }
    .product-left-column, .product-info-panel {
        width: 100%;
        position: relative;
    }
}