/* ========================================
   DETAIL PAGE STYLES
   ======================================== */
.detail-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 25px 80px;
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
}

.back-link {
    display: inline-block;
    margin-bottom: 30px;
    color: #343434;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.back-link:hover {
    color: #D0AB82;
}

/* Top Section: Slider + Info */
.detail-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 50px;
}

/* Slider */
.detail-slider {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #dcdcdc;
    aspect-ratio: 1 / 1;
}

.detail-slider-inner {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.detail-slider-inner img {
    width: 33.333%;
    height: 100%;
    object-fit: cover;
}

.detail-slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.detail-slider-dots .dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.detail-slider-dots .dot.active {
    background: white;
}

/* Info */
.detail-info {
    padding-top: 10px;
}

.detail-info .badge-label {
    display: inline-block;
    font-size: 0.6rem;
    letter-spacing: 0.1rem;
    color: #555;
    font-weight: 500;
    text-transform: uppercase;
    border: 1px solid #bbb;
    border-radius: 980px;
    padding: 3px 12px;
    margin-bottom: 12px;
}

.detail-info h1 {
    font-size: 1.8rem;
    color: #343434;
    margin-bottom: 16px;
    font-weight: 300;
    line-height: 1.2;
}

.detail-info h1 strong {
    font-weight: 700;
}

.detail-info p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 25px;
    font-weight: 300;
}

.detail-info p a {
    color: #343434;
    text-decoration: none;
    font-weight: 500;
}

.detail-info p a:hover {
    color: #D0AB82;
}

/* Specs */
.detail-specs {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-specs li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
}

.detail-specs .spec-label {
    color: #999;
    font-weight: 300;
}

.detail-specs .spec-value {
    font-weight: 500;
    color: #343434;
}

/* Related Products */
.related-products {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.related-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #dcdcdc;
    aspect-ratio: 4 / 3;
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease;
}

.related-card:hover {
    transform: translateY(-4px);
}

.related-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s;
}

.related-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.related-label strong {
    font-weight: 700;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .detail-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .detail-info h1 {
        font-size: 1.5rem;
    }

    .related-products {
        grid-template-columns: 1fr;
    }
}