/* =========================================================
   PRODUCT DETAIL PAGE
   WINDAARO
========================================================= */

.product-detail-page {
    background: #080808;
    color: #ffffff;
}


/* =========================================================
   HERO
========================================================= */

.product-detail-hero {
    position: relative;

    min-height: 90vh;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 75% 40%,
            rgba(216, 170, 69, 0.045),
            transparent 30%
        ),
        #080808;
}


.product-detail-hero-inner {
    width: min(1400px, 90%);

    margin: 0 auto;

    padding: 150px 0 100px;

    display: grid;

    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(320px, 0.65fr);

    gap: 80px;

    align-items: center;
}


/* =========================================================
   IMAGE
========================================================= */

.product-detail-image-wrap {
    position: relative;

    width: 100%;

    min-height: 650px;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.08);

    background: #101010;
}


.product-detail-image {
    width: 100%;
    height: 100%;

    min-height: 650px;

    display: block;

    object-fit: cover;

    transition:
        transform 1.2s cubic-bezier(.16, 1, .3, 1),
        filter 0.8s ease;
}


.product-detail-image-wrap:hover
.product-detail-image {
    transform: scale(1.035);

    filter:
        brightness(1.05)
        contrast(1.02);
}


/* IMAGE GRADIENT */

.product-detail-image-wrap::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 55%,
            rgba(0, 0, 0, 0.45)
        );

    pointer-events: none;
}


/* =========================================================
   IMAGE PLACEHOLDER
========================================================= */

.product-detail-image-placeholder {
    min-height: 650px;

    display: flex;

    flex-direction: column;

    justify-content: center;
    align-items: center;

    gap: 10px;

    color: rgba(255, 255, 255, 0.2);

    letter-spacing: 5px;

    background:
        linear-gradient(
            135deg,
            #151515,
            #080808
        );
}


.product-detail-image-placeholder span {
    font-size: 24px;

    letter-spacing: 8px;
}


.product-detail-image-placeholder small {
    color: #d8aa45;

    font-size: 8px;

    letter-spacing: 4px;

    text-transform: uppercase;
}


/* =========================================================
   IMAGE INDEX
========================================================= */

.product-image-index {
    position: absolute;

    left: 25px;
    bottom: 22px;

    z-index: 3;

    font-family: var(--font-heading);

    font-size: 12px;

    letter-spacing: 4px;

    color: #d8aa45;
}


/* =========================================================
   PRODUCT INFO
========================================================= */

.product-detail-info {
    max-width: 520px;
}


.product-detail-category {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 25px;

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 4px;

    text-transform: uppercase;

    color: #d8aa45;
}


.product-detail-line {
    width: 30px;
    height: 1px;

    background: #d8aa45;
}


.product-detail-info h1 {
    margin: 0;

    font-family: var(--font-heading);

    font-size: clamp(
        50px,
        6vw,
        90px
    );

    font-weight: 500;

    line-height: 0.9;

    letter-spacing: -4px;

    color: #ffffff;
}


.product-detail-short {
    max-width: 470px;

    margin: 30px 0 0;

    font-size: 15px;

    line-height: 1.8;

    color: rgba(255, 255, 255, 0.48);
}


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

.product-detail-actions {
    margin-top: 45px;
}


.product-detail-button {
    width: fit-content;

    display: inline-flex;

    align-items: center;

    gap: 30px;

    padding: 16px 22px;

    border: 1px solid
        rgba(216, 170, 69, 0.55);

    color: #ffffff;

    text-decoration: none;

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 3px;

    transition:
        background 0.4s ease,
        color 0.4s ease,
        gap 0.4s ease,
        border-color 0.4s ease;
}


.product-detail-button:hover {
    gap: 45px;

    color: #080808;

    background: #d8aa45;

    border-color: #d8aa45;
}


/* =========================================================
   META
========================================================= */

.product-detail-meta {
    margin-top: 70px;

    padding-top: 25px;

    border-top: 1px solid
        rgba(255, 255, 255, 0.08);

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 15px;
}


.product-detail-meta div {
    display: flex;

    flex-direction: column;

    gap: 8px;

    font-size: 7px;

    letter-spacing: 2px;

    color: rgba(255, 255, 255, 0.35);
}


.meta-number {
    color: #d8aa45;

    font-family: var(--font-heading);

    font-size: 10px;
}


/* =========================================================
   COMMON SECTION
========================================================= */

.product-description-section,
.product-features-section,
.product-specifications-section {
    border-top: 1px solid
        rgba(255, 255, 255, 0.07);
}


.product-description-wrapper,
.product-features-wrapper,
.product-specifications-wrapper {
    width: min(1400px, 90%);

    margin: 0 auto;

    padding: 120px 0;

    display: grid;

    grid-template-columns:
        0.8fr
        1.2fr;

    gap: 100px;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.product-section-heading span {
    display: block;

    margin-bottom: 20px;

    font-size: 8px;

    font-weight: 600;

    letter-spacing: 4px;

    color: #d8aa45;
}


.product-section-heading h2 {
    margin: 0;

    font-family: var(--font-heading);

    font-size: clamp(
        35px,
        4vw,
        65px
    );

    font-weight: 500;

    line-height: 0.94;

    letter-spacing: -3px;

    color: #ffffff;
}


/* =========================================================
   DESCRIPTION CONTENT
========================================================= */

.product-description-content {
    max-width: 700px;
}


.product-description-content p {
    margin: 0;

    font-size: 18px;

    line-height: 1.9;

    color: rgba(255, 255, 255, 0.55);
}


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

.product-features-section {
    background: #0b0b0b;
}


.product-feature-list {
    max-width: 700px;

    padding: 35px;

    border: 1px solid
        rgba(255, 255, 255, 0.08);

    font-size: 15px;

    line-height: 2;

    color: rgba(255, 255, 255, 0.55);

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.025),
            transparent
        );
}


/* =========================================================
   SPECIFICATIONS
========================================================= */

.product-specifications-content {
    max-width: 700px;

    padding: 35px;

    border-top: 1px solid
        rgba(216, 170, 69, 0.4);

    font-family: monospace;

    font-size: 13px;

    line-height: 2;

    white-space: normal;

    color: rgba(255, 255, 255, 0.52);
}


/* =========================================================
   RELATED PRODUCTS
========================================================= */

.related-products-section {
    border-top: 1px solid
        rgba(255, 255, 255, 0.07);

    background: #080808;
}


.related-products-wrapper {
    width: min(1400px, 90%);

    margin: 0 auto;

    padding: 120px 0;
}


.related-products-heading {
    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    margin-bottom: 55px;
}


.related-products-heading > div span {
    display: block;

    margin-bottom: 15px;

    font-size: 8px;

    letter-spacing: 4px;

    color: #d8aa45;
}


.related-products-heading h2 {
    margin: 0;

    font-family: var(--font-heading);

    font-size: clamp(
        35px,
        4vw,
        60px
    );

    font-weight: 500;

    line-height: 0.95;

    letter-spacing: -3px;
}


.related-products-heading > a {
    color: rgba(255,255,255,0.5);

    text-decoration: none;

    font-size: 8px;

    letter-spacing: 3px;

    transition: color 0.3s ease;
}


.related-products-heading > a:hover {
    color: #d8aa45;
}


/* =========================================================
   RELATED GRID
========================================================= */

.related-products-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 8px;
}


.related-product-card {
    position: relative;

    height: 380px;

    overflow: hidden;

    text-decoration: none;

    border: 1px solid
        rgba(255,255,255,0.07);

    background: #111;
}


.related-product-image {
    position: absolute;

    inset: 0;

    overflow: hidden;
}


.related-product-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.8s
        cubic-bezier(.16, 1, .3, 1);
}


.related-product-card:hover
.related-product-image img {
    transform: scale(1.08);
}


.related-product-placeholder {
    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 10px;

    letter-spacing: 5px;

    color: rgba(255,255,255,0.2);

    background:
        linear-gradient(
            135deg,
            #151515,
            #080808
        );
}


/* =========================================================
   RELATED OVERLAY
========================================================= */

.related-product-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 40%,
            rgba(0,0,0,0.85)
        );

    transition:
        background 0.5s ease;
}


.related-product-card:hover
.related-product-overlay {
    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,0.05),
            rgba(0,0,0,0.9)
        );
}


/* =========================================================
   RELATED INFO
========================================================= */

.related-product-info {
    position: absolute;

    left: 22px;
    right: 22px;
    bottom: 22px;

    z-index: 3;

    display: flex;

    justify-content: space-between;

    align-items: flex-end;
}


.related-product-info span {
    display: block;

    margin-bottom: 7px;

    font-size: 7px;

    letter-spacing: 3px;

    text-transform: uppercase;

    color: #d8aa45;
}


.related-product-info h3 {
    margin: 0;

    font-family: var(--font-heading);

    font-size: 22px;

    font-weight: 500;

    color: #ffffff;
}


.related-product-info strong {
    font-size: 18px;

    font-weight: 400;

    color: #ffffff;

    transform: translateY(0);

    transition:
        transform 0.4s ease,
        color 0.4s ease;
}


.related-product-card:hover
.related-product-info strong {
    transform:
        translate(5px, -5px);

    color: #d8aa45;
}


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

.product-final-cta {
    position: relative;

    overflow: hidden;

    border-top: 1px solid
        rgba(255,255,255,0.07);
}


.product-final-cta::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -250px;
    bottom: -300px;

    border: 1px solid
        rgba(216,170,69,0.14);

    border-radius: 50%;

    box-shadow:
        0 0 0 50px
        rgba(216,170,69,0.015),
        0 0 0 100px
        rgba(216,170,69,0.008);
}


.product-final-cta-inner {
    position: relative;

    z-index: 2;

    width: min(1400px, 90%);

    margin: 0 auto;

    padding: 150px 0;

    text-align: center;
}


.product-final-cta-inner > span {
    display: block;

    margin-bottom: 25px;

    font-size: 8px;

    letter-spacing: 4px;

    color: #d8aa45;
}


.product-final-cta h2 {
    margin: 0;

    font-family: var(--font-heading);

    font-size: clamp(
        45px,
        7vw,
        100px
    );

    font-weight: 500;

    line-height: 0.9;

    letter-spacing: -5px;
}


.product-final-cta a {
    display: inline-flex;

    align-items: center;

    gap: 25px;

    margin-top: 45px;

    padding: 17px 25px;

    border: 1px solid
        rgba(216,170,69,0.55);

    color: #ffffff;

    text-decoration: none;

    font-size: 8px;

    font-weight: 600;

    letter-spacing: 3px;

    transition:
        background 0.4s ease,
        color 0.4s ease,
        gap 0.4s ease;
}


.product-final-cta a:hover {
    gap: 40px;

    background: #d8aa45;

    color: #080808;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .product-detail-hero-inner {
        grid-template-columns: 1fr;

        gap: 50px;

        padding-top: 130px;
    }


    .product-detail-image-wrap,
    .product-detail-image,
    .product-detail-image-placeholder {
        min-height: 550px;
    }


    .product-detail-info {
        max-width: 700px;
    }


    .product-description-wrapper,
    .product-features-wrapper,
    .product-specifications-wrapper {
        grid-template-columns: 1fr;

        gap: 50px;
    }


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

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .product-detail-hero-inner {
        width: 90%;

        padding: 110px 0 70px;
    }


    .product-detail-image-wrap,
    .product-detail-image,
    .product-detail-image-placeholder {
        min-height: 400px;
    }


    .product-detail-info h1 {
        font-size: 52px;

        letter-spacing: -3px;
    }


    .product-detail-short {
        font-size: 13px;
    }


    .product-detail-meta {
        margin-top: 45px;
    }


    .product-description-wrapper,
    .product-features-wrapper,
    .product-specifications-wrapper {
        padding: 80px 0;
    }


    .product-description-content p {
        font-size: 15px;
    }


    .product-section-heading h2 {
        font-size: 42px;
    }


    .related-products-wrapper {
        padding: 80px 0;
    }


    .related-products-heading {
        display: block;
    }


    .related-products-heading > a {
        display: inline-block;

        margin-top: 25px;
    }


    .related-products-grid {
        grid-template-columns: 1fr;
    }


    .related-product-card {
        height: 330px;
    }


    .product-final-cta-inner {
        padding: 100px 0;
    }


    .product-final-cta h2 {
        font-size: 50px;

        letter-spacing: -3px;
    }

}