/* ── PRODUCT DETAIL PAGE STYLES ── */

.product-detail-page {
    padding-top: 15vh;
    padding-bottom: 100px;
    background: #fdfdfd;
}

/* ── Breadcrumbs ── */
.product-breadcrumbs {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.72rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 10px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.product-breadcrumbs::-webkit-scrollbar {
    display: none;
}

.product-breadcrumbs a {
    color: var(--text-muted, #777);
    transition: color 0.3s ease;
}

.product-breadcrumbs a:hover {
    color: var(--gold);
}

.product-breadcrumbs .bc-sep {
    font-size: 0.6rem;
    opacity: 0.5;
}

.product-breadcrumbs .bc-active {
    color: var(--dark);
    font-weight: 600;
}

/* ── Main Layout ── */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: start;
}

/* ── Gallery Section ── */
.product-gallery {
    position: sticky;
    top: 120px;
}

.product-image-container {
    background: #fff;
    border-radius: 4px;
    padding: 60px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-main-img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-image-container:hover .product-main-img {
    transform: scale(1.05);
}

/* ── Info Section ── */
.product-info-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.product-header {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 20px;
}

.product-brand-tag {
    display: inline-block;
    font-family: var(--font-secondary);
    color: var(--gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.product-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 15px;
    line-height: 1.1;
    color: var(--dark);
}

.product-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: #f5f5f5;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #666;
}

.product-availability {
    margin-top: 20px;
}

.availability-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

.availability-label.in-stock { color: #10b981; }
.availability-label.incoming { color: #92400e; }
.availability-label.on-request { color: var(--gold); }

/* ── Description ── */
.product-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
}

/* ── Specifications ── */
.product-specs-section {
    margin-top: 20px;
}

.specs-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
    color: var(--dark);
}

.specs-table {
    width: 100%;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f8f8f8;
}

.spec-label {
    font-weight: 600;
    color: #888;
    font-size: 0.9rem;
}

.spec-value {
    color: var(--dark);
    font-weight: 500;
    text-align: right;
}

/* ── Actions ── */
.product-actions {
    margin-top: 20px;
    padding: 24px;
    background: #fcfcfc;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
}

.actions-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.btn-book-large {
    width: 100%;
    justify-content: center;
    padding: 20px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .product-gallery {
        position: static;
    }
}

@media (max-width: 768px) {
    .product-detail-page {
        padding-top: 80px;
    }
    
    .product-breadcrumbs {
        margin-bottom: 20px;
        gap: 8px;
    }
    
    .product-title {
        font-size: 2.2rem;
    }
    
    .product-info-panel {
        gap: 20px;
    }
}

/* ── Back to Catalog ── */
.product-nav-back {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.btn-back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-back-link i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.btn-back-link:hover {
    color: var(--gold);
}

.btn-back-link:hover i {
    transform: translateX(-4px);
}

/* ── Related Products ── */
.product-related-section {
    margin-top: 100px;
    padding-top: 80px;
    border-top: 1px solid #eee;
}

.related-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 5px;
}

.product-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.related-card {
    transition: transform 0.3s ease;
}

.related-card-link {
    text-decoration: none;
    display: block;
}

.related-img-wrap {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    padding: 30px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.related-card:hover .related-img-wrap {
    border-color: var(--gold-light);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transform: translateY(-5px);
}

.related-brand {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    margin-bottom: 4px;
}

.related-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.4;
}

@media (max-width: 991px) {
    .product-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .product-related-section {
        margin-top: 60px;
        padding-top: 50px;
    }
    
    .related-title {
        font-size: 1.4rem;
    }
}
