/* Product Detail Premium Styling */

.product-detail-page {
    padding: 60px 0 100px;
    background-color: #ffffff; /* White background */
    color: #334155; /* Slate 700 - dark charcoal for readability */
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 32px;
    font-family: var(--font-headings);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.breadcrumbs a {
    color: #64748b;
    transition: var(--transition-fast);
}

.breadcrumbs a:hover {
    color: var(--brand-gold);
}

.breadcrumbs span.separator {
    color: rgba(0, 0, 0, 0.15);
}

.breadcrumbs span.current {
    color: var(--brand-gold);
    font-weight: 600;
}

/* 2-Column Grid */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-areas: 
        "gallery info"
        "tabs info";
    gap: 48px;
    align-items: start;
    margin-bottom: 60px;
}

.product-gallery-card {
    grid-area: gallery;
}

.product-tabs-container {
    grid-area: tabs;
}

.product-info-panel {
    grid-area: info;
}

@media (max-width: 992px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "gallery"
            "info"
            "tabs";
        gap: 32px;
    }
}

/* Image Card */
.product-gallery-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.main-product-img {
    max-width: 100%;
    max-height: 380px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.product-gallery-card:hover .main-product-img {
    transform: scale(1.03);
}

/* Info Panel */
.product-info-panel {
    display: flex;
    flex-direction: column;
}

.category-tag-badge {
    align-self: flex-start;
    background: rgba(140, 111, 56, 0.1);
    color: var(--brand-gold);
    border: 1px solid rgba(140, 111, 56, 0.25);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.product-detail-title {
    font-family: var(--font-headings);
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a; /* Slate 900 - dark charcoal */
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.price-container {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.product-price-label {
    font-size: 0.8rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.product-price-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand-gold);
    font-family: var(--font-headings);
}

.product-short-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: #475569; /* Slate 600 */
    margin-bottom: 32px;
}

/* Action Buttons */
.detail-actions-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.btn-buy-now {
    width: 100%;
    padding: 16px 24px;
    font-size: 1.05rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-request-quote {
    width: 100%;
    padding: 16px 24px;
    font-size: 1.05rem;
    font-weight: 700;
    background-color: transparent;
    border: 2px solid var(--brand-gold);
    color: var(--brand-gold);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-request-quote:hover {
    background-color: var(--brand-gold);
    color: #ffffff;
}

/* Tabbed Content */
.product-tabs-container {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background-color: #f8fafc; /* Clean off-white surface */
    overflow: hidden;
    margin-bottom: 60px;
}

.tabs-header-row {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
    background-color: #f1f5f9; /* Light grey row */
}

.tab-btn {
    padding: 16px 24px;
    font-family: var(--font-headings);
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    background: transparent;
    border: none;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.tab-btn:hover {
    color: #0f172a;
}

.tab-btn.active {
    color: var(--brand-gold);
    border-bottom-color: var(--brand-gold);
    background-color: #ffffff;
}

.tab-content-panel {
    padding: 32px;
    display: none;
}

.tab-content-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Overview Styles */
.overview-bullets-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
}

@media (max-width: 768px) {
    .overview-bullets-list {
        grid-template-columns: 1fr;
    }
}

.bullet-item {
    display: flex;
    gap: 10px;
    font-size: 0.92rem;
    line-height: 1.5;
    color: #475569;
}

.bullet-icon {
    color: var(--brand-gold);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Spec Table */
.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid #e2e8f0;
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table td {
    padding: 14px 20px;
    font-size: 0.92rem;
}

.specs-label-col {
    width: 35%;
    font-weight: 600;
    color: var(--brand-gold);
    background-color: #f1f5f9;
}

.specs-value-col {
    color: #334155;
}

/* Compatibility Tab */
.compat-machine-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.compat-badge-pill {
    background: #e2e8f0;
    border: 1px solid #cbd5e1;
    color: #334155;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Related Products */
.related-products-section {
    margin-top: 60px;
    border-top: 1px solid #e2e8f0;
    padding-top: 60px;
}

.related-title {
    font-family: var(--font-headings);
    font-size: 1.6rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 30px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}
