/* ===== PRODUCT DETAIL PAGE ===== */

.product-detail {
    background: var(--bg);
    padding: 80px 48px;
    min-height: 100vh;
}

.product-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* ===== GALLERY ===== */
.gallery-section {
    sticky: top 80px;
}

.main-image {
    width: 100%;
    height: 600px;
    background: var(--bg2);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-image:hover img {
    transform: scale(1.02);
}

.thumbnails {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.thumbnail {
    height: 120px;
    background: var(--bg2);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail.active {
    border-color: var(--am);
}

.thumbnail:hover {
    transform: scale(1.05);
}

/* ===== DETAILS ===== */
.details-section {
    padding: 20px;
}

.product-title-large {
    font-family: var(--f);
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--tx);
}

.product-line {
    font-size: 14px;
    color: var(--t3);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 40px;
    font-weight: 600;
}

/* ===== SPECS BOX ===== */
.specs-box {
    background: var(--wh);
    border: 1px solid #e0ddd8;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-name {
    font-size: 15px;
    color: var(--t2);
    font-weight: 500;
}

.spec-value {
    font-size: 18px;
    color: var(--am);
    font-weight: 700;
}

/* ===== DESCRIPTION ===== */
.description {
    font-size: 16px;
    color: var(--t2);
    line-height: 1.9;
    margin-bottom: 40px;
    font-weight: 400;
}

/* ===== INFO GRID ===== */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.info-item {
    background: var(--bg2);
    padding: 30px;
    border-radius: 10px;
}

.info-item h3 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 700;
}

.info-item ul {
    list-style: none;
    padding: 0;
}

.info-item li {
    font-size: 14px;
    color: var(--t2);
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    font-weight: 400;
}

.info-item li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--am);
    font-weight: 700;
}

/* ===== COMPARISON LINK ===== */
.comparison-link {
    margin-top: 40px;
}

/* ===== RELATED PRODUCTS ===== */
.related-products {
    background: var(--bg2);
    padding: 80px 48px;
}

.related-products .section-title {
    text-align: center;
    margin-bottom: 60px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.related-card {
    background: var(--wh);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.related-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.related-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #f0f0f0;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-card:hover .related-image img {
    transform: scale(1.05);
}

.related-card h3 {
    font-family: var(--f);
    font-size: 22px;
    font-weight: 600;
    padding: 25px 25px 10px;
    margin: 0;
}

.related-card p {
    font-size: 13px;
    color: var(--t3);
    padding: 0 25px 25px;
    margin: 0;
    font-weight: 500;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-title-large {
        font-size: 36px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .product-detail {
        padding: 60px 30px;
    }

    .gallery-section {
        position: static;
    }

    .main-image {
        height: 400px;
    }

    .product-title-large {
        font-size: 28px;
    }

    .specs-box {
        padding: 20px;
    }

    .spec-row {
        padding: 12px 0;
    }

    .info-item {
        padding: 20px;
    }

    .info-item h3 {
        font-size: 16px;
    }

    .info-item li {
        font-size: 13px;
        padding: 8px 0 8px 20px;
    }
}

@media (max-width: 480px) {
    .product-detail {
        padding: 40px 20px;
    }

    .thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-image {
        height: 300px;
        margin-bottom: 20px;
    }

    .product-title-large {
        font-size: 24px;
        margin-bottom: 5px;
    }

    .product-line {
        margin-bottom: 25px;
    }

    .specs-box {
        padding: 15px;
        margin-bottom: 25px;
    }

    .description {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .info-grid {
        gap: 15px;
    }

    .info-item {
        padding: 15px;
    }

    .info-item h3 {
        font-size: 15px;
        margin-bottom: 15px;
    }
}
