.product-page {
    background: #f8fbfc;
}

.product-header {
    position: absolute;
    background: transparent;
}

.product-header .nav-container {
    background: rgba(255, 255, 255, .92);
}

.product-back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--dark);
    font-size: 15px;
    font-weight: 700;
}

.product-back-link i {
    color: var(--green);
    transition: transform .3s ease;
}

.product-back-link:hover i {
    transform: translateX(-4px);
}

.product-detail-section {
    min-height: 760px;
    padding: 170px 0 120px;
    display: flex;
    align-items: center;
    background: linear-gradient(145deg, #e7f3f6 0%, #f8fbfc 58%, #dbeef2 100%);
    position: relative;
    overflow: hidden;
}

.product-detail-section::after {
    content: "";
    position: absolute;
    right: -8%;
    bottom: -115px;
    width: 116%;
    height: 180px;
    background: #f8fbfc;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
    align-items: center;
    gap: 90px;
    position: relative;
    z-index: 1;
}

.product-detail-image-wrap {
    min-height: 520px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(18, 60, 86, .16);
    background: white;
}

.product-detail-gallery {
    grid-column: 1;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: -78px;
    position: relative;
    z-index: 2;
}

.product-detail-gallery img {
    width: 100%;
    height: 100px;
    border: 4px solid white;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(18, 60, 86, .13);
    cursor: pointer;
    transition: .25s ease;
}

.product-detail-gallery img:hover,
.product-detail-gallery img:focus,
.product-detail-gallery img.active {
    border-color: var(--green);
    transform: translateY(-2px);
    outline: none;
}

.product-detail-image {
    height: 520px;
}

.product-detail-content {
    max-width: 590px;
    grid-column: 2;
    grid-row: 1 / span 2;
}

.product-detail-content .eyebrow {
    align-items: center;
    margin-bottom: 22px;
}

.product-detail-content .eyebrow span:first-child {
    background: var(--green);
}

.product-detail-content h1 {
    color: var(--dark);
    font-size: clamp(46px, 6vw, 72px);
    line-height: 1;
    letter-spacing: -2px;
    font-weight: 600;
}

.product-detail-description {
    max-width: 540px;
    margin-top: 28px;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.75;
}

.product-detail-description p {
    margin: 0 0 18px;
}

.product-detail-description h3 {
    margin: 28px 0 8px;
    color: var(--dark);
    font-size: 20px;
}

.product-detail-points {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 32px;
    color: #315b71;
    font-size: 16px;
}

.product-detail-points div {
    display: flex;
    align-items: center;
    gap: 13px;
}

.product-detail-points i {
    color: var(--green);
    width: 20px;
}

.product-detail-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 38px;
}

.product-text-link {
    color: var(--green);
    font-size: 15px;
    font-weight: 700;
}

.product-text-link:hover {
    color: var(--dark);
}

.product-detail-note {
    padding: 105px 0;
    background: white;
}

.product-detail-note-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}

.product-detail-note h2 {
    max-width: 650px;
    color: var(--dark);
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.08;
    letter-spacing: -1.5px;
    font-weight: 600;
}

.product-detail-note h2 em {
    color: var(--green);
}

.product-detail-note p {
    max-width: 430px;
    color: var(--muted);
    font-size: 16px;
}

.product-detail-note .product-detail-actions {
    width: 100%;
    margin-top: 8px;
}

.product-footer {
    padding: 25px 0;
}

.product-footer .footer-bottom {
    padding-top: 0;
    border: 0;
}

.product-footer .footer-bottom a {
    color: rgba(255, 255, 255, .7);
}

@media (max-width: 850px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .product-detail-section {
        padding-top: 140px;
    }

    .product-detail-image-wrap,
    .product-detail-image {
        min-height: 420px;
        height: 420px;
    }

    .product-detail-gallery {
        margin-top: -35px;
    }

    .product-detail-content {
        max-width: none;
        grid-column: 1;
        grid-row: 3;
    }

    .product-detail-note-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 25px;
    }
}

@media (max-width: 600px) {
    .product-header .nav-container {
        padding-left: 18px;
    }

    .product-back-link {
        font-size: 14px;
    }

    .product-detail-section {
        min-height: auto;
        padding: 130px 0 100px;
    }

    .product-detail-image-wrap,
    .product-detail-image {
        min-height: 300px;
        height: 300px;
    }

    .product-detail-gallery {
        gap: 8px;
        margin-top: -22px;
    }

    .product-detail-gallery img {
        height: 76px;
        border-width: 3px;
    }

    .product-detail-content h1 {
        font-size: 46px;
    }

    .product-detail-description {
        font-size: 17px;
    }

    .product-detail-points {
        font-size: 15px;
    }

    .product-detail-note {
        padding: 75px 0;
    }
}
