/* ============================================================
   INDIVIDUAL PRODUCT VIEW
   ============================================================ */

.product-view-page {
    overflow: hidden;
}


/* ============================================================
   HEADER
   ============================================================ */

.product-view-header {
    padding-top: clamp(50px, 7vw, 100px);
    padding-bottom: clamp(50px, 7vw, 100px);
}

.product-view-header-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
    gap: clamp(40px, 7vw, 100px);
    align-items: center;
}

.product-view-intro {
    max-width: 760px;
}

.product-view-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
    color: #777;
    font-size: 0.82rem;
}

.product-view-breadcrumb a {
    color: var(--brand-red, #D6534D);
    text-decoration: none;
    font-weight: 700;
}

.product-view-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.product-type-badge,
.product-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 0.73rem;
    font-weight: 700;
}

.product-type-badge {
    background: rgba(214, 83, 77, 0.09);
    color: var(--brand-red, #D6534D);
}

.product-status-badge {
    background: #eef0f0;
    color: #555;
}

.product-view-intro h1 {
    max-width: 850px;
    margin: 0;
    font-size: clamp(2.5rem, 6vw, 5.4rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.product-view-lead {
    max-width: 700px;
    margin: 25px 0 0;
    color: #666;
    font-size: 1.08rem;
    line-height: 1.8;
}

.product-view-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}


/* ============================================================
   VISUAL
   ============================================================ */

.product-view-visual {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    border-radius: 24px;
    background: #eef0f1;
    box-shadow: 0 25px 70px rgba(47, 53, 59, 0.13);
}

.product-view-visual img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    display: block;
    object-fit: cover;
}

.product-visual-label {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 15px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
}

.product-visual-label span {
    color: #666;
    font-size: 0.8rem;
}

.product-visual-label strong {
    font-size: 0.82rem;
}


/* ============================================================
   QUICK INFO
   ============================================================ */

.product-quick-info {
    padding-top: 0;
}

.product-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(47, 53, 59, 0.12);
    border-bottom: 1px solid rgba(47, 53, 59, 0.12);
}

.product-info-item {
    min-height: 110px;
    padding: 25px;
    border-right: 1px solid rgba(47, 53, 59, 0.12);
}

.product-info-item:last-child {
    border-right: 0;
}

.product-info-item span {
    display: block;
    margin-bottom: 8px;
    color: #888;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.product-info-item strong {
    display: block;
    font-size: 0.95rem;
}


/* ============================================================
   DETAILS
   ============================================================ */

.product-details {
    padding-top: 80px;
}

.product-details-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 70px;
    align-items: start;
}

.product-main-content {
    min-width: 0;
}

.product-content-block {
    padding-bottom: 70px;
    margin-bottom: 70px;
    border-bottom: 1px solid rgba(47, 53, 59, 0.11);
}

.product-content-block:last-child {
    margin-bottom: 0;
}

.product-content-block h2 {
    max-width: 700px;
    margin: 8px 0 20px;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.product-description {
    max-width: 760px;
}

.product-description p {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.9;
}


/* ============================================================
   FEATURES
   ============================================================ */

.product-features-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 30px;
}

.product-feature-card {
    padding: 24px;
    border: 1px solid rgba(47, 53, 59, 0.1);
    border-radius: 15px;
    background: #fff;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.product-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(47, 53, 59, 0.08);
}

.product-feature-card span {
    display: block;
    margin-bottom: 25px;
    color: var(--brand-red, #D6534D);
    font-size: 0.75rem;
    font-weight: 800;
}

.product-feature-card h3 {
    margin: 0;
    font-size: 1rem;
}


/* ============================================================
   REQUIREMENTS
   ============================================================ */

.requirements-table {
    margin-top: 30px;
    border-top: 1px solid rgba(47, 53, 59, 0.1);
}

.requirement-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(47, 53, 59, 0.1);
}

.requirement-row span {
    color: #777;
}

.requirement-row strong {
    font-weight: 600;
}


/* ============================================================
   SIDEBAR
   ============================================================ */

.product-sidebar {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 25px;
}

.product-sidebar-card {
    padding: 28px;
    border: 1px solid rgba(47, 53, 59, 0.1);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(47, 53, 59, 0.05);
}

.product-sidebar-card h3 {
    margin: 8px 0 12px;
}

.product-sidebar-card p:not(.eyebrow) {
    color: #666;
    line-height: 1.7;
}

.product-sidebar-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    margin-top: 15px;
}

.product-text-link {
    color: var(--brand-red, #D6534D);
    font-weight: 700;
    text-decoration: none;
}


/* ============================================================
   FINAL CTA
   ============================================================ */

.product-final-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-top: 50px;
    padding-top: 60px;
    padding-bottom: 60px;
    border-top: 1px solid rgba(47, 53, 59, 0.1);
}

.product-final-cta > div:first-child {
    max-width: 700px;
}

.product-final-cta h2 {
    margin: 8px 0 15px;
}

.product-final-cta p:not(.eyebrow) {
    margin: 0;
    color: #666;
    line-height: 1.7;
}


/* ============================================================
   NOT FOUND
   ============================================================ */

.product-not-found {
    min-height: 55vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.product-not-found p:not(.eyebrow) {
    max-width: 600px;
    color: #666;
    line-height: 1.7;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 950px) {

    .product-view-header-grid {
        grid-template-columns: 1fr;
    }

    .product-view-visual {
        min-height: 350px;
    }

    .product-view-visual img {
        min-height: 350px;
    }

    .product-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-info-item:nth-child(2) {
        border-right: 0;
    }

    .product-details-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-sidebar {
        position: static;
    }

    .product-final-cta {
        align-items: flex-start;
        flex-direction: column;
    }

}


@media (max-width: 650px) {

    .product-view-intro h1 {
        font-size: clamp(2.4rem, 13vw, 4rem);
    }

    .product-view-actions {
        flex-direction: column;
    }

    .product-view-actions a {
        width: 100%;
        text-align: center;
    }

    .product-view-visual,
    .product-view-visual img {
        min-height: 280px;
    }

    .product-info-grid {
        grid-template-columns: 1fr;
    }

    .product-info-item {
        border-right: 0;
        border-bottom: 1px solid rgba(47, 53, 59, 0.12);
    }

    .product-info-item:last-child {
        border-bottom: 0;
    }

    .product-features-grid {
        grid-template-columns: 1fr;
    }

    .requirement-row {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .product-sidebar-card {
        padding: 22px;
    }

}