
/* ==========================================
   NIKE - FICHE PRODUIT PREMIUM
   CSS indépendant de l'accueil
========================================== */

.nike-pdp-body {
    margin: 0;
    background: #ffffff;
    color: #171717;
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.nike-pdp-body *,
.nike-pdp-body *::before,
.nike-pdp-body *::after {
    box-sizing: border-box;
}

.nike-pdp-body a {
    text-decoration: none;
}

.nike-pdp-body button,
.nike-pdp-body select,
.nike-pdp-body textarea {
    font: inherit;
}

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

.nike-pdp-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #ececec;
}

.nike-pdp-header__inner {
    max-width: 1320px;
    margin: auto;
    padding: 22px 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.nike-pdp-logo {
    color: #111111;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -2px;
}

.nike-pdp-logo span {
    color: #ff5722;
}

.nike-pdp-back {
    color: #333333;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: color .2s ease;
}

.nike-pdp-back:hover {
    color: #f4511e;
}

/* ==========================================
   CONTENEUR PRINCIPAL
========================================== */

.nike-pdp {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 35px 90px;
}

.nike-pdp-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 30px 0 35px;
    color: #777777;
    font-size: 12px;
}

.nike-pdp-breadcrumb a {
    color: #777777;
}

.nike-pdp-breadcrumb a:hover {
    color: #111111;
}

.nike-pdp-breadcrumb span[aria-current] {
    color: #111111;
    font-weight: 600;
}

/* ==========================================
   LAYOUT PRODUIT
========================================== */

.nike-pdp-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
    gap: 65px;
    align-items: start;
}

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

.nike-pdp-media {
    min-width: 0;
}

.nike-pdp-image {
    width: 100%;
    min-height: 460px;
    aspect-ratio: 1 / 1;
    background: #f3f3f3;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nike-pdp-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 25px;
    transition: transform .5s ease;
}

.nike-pdp-image:hover img {
    transform: scale(1.045);
}

.nike-pdp-no-image {
    padding: 30px;
    color: #888888;
    text-align: center;
}

/* ==========================================
   INFORMATIONS
========================================== */

.nike-pdp-info {
    min-width: 0;
    padding: 15px 0;
}

.nike-pdp-eyebrow {
    margin: 0 0 14px;
    color: #888888;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nike-pdp-title {
    margin: 0;
    color: #111111;
    font-size: clamp(30px, 3.1vw, 46px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1.6px;
    overflow-wrap: anywhere;
}

.nike-pdp-price {
    margin-top: 25px;
    color: #161616;
    font-size: 31px;
    font-weight: 800;
    letter-spacing: -1px;
}

.nike-pdp-rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 19px;
    color: #333333;
    font-size: 13px;
}

.nike-pdp-rating__star {
    color: #ff9800;
    font-size: 19px;
}

.nike-pdp-rating a {
    color: #777777;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.nike-pdp-rating__empty {
    color: #888888;
}

.nike-pdp-separator {
    height: 1px;
    width: 100%;
    margin: 33px 0;
    background: #e9e9e9;
}

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

.nike-pdp-description h2 {
    margin: 0 0 16px;
    font-size: 17px;
    font-weight: 800;
}

.nike-pdp-description p {
    margin: 0;
    font-size: 14px;
    line-height: 1.9;
    color: #626262;
    overflow-wrap: anywhere;
}

/* ==========================================
   PANIER
========================================== */

.nike-pdp-purchase {
    margin-top: 38px;
}

.nike-pdp-cart-form {
    margin: 0;
}

.nike-pdp-cta {
    width: 100%;
    min-height: 60px;
    padding: 17px 25px;
    border: 1px solid #111111;
    border-radius: 40px;
    background: #111111;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    cursor: pointer;
    transition: background .25s ease, transform .25s ease;
}

.nike-pdp-cta:hover {
    background: #333333;
    transform: translateY(-2px);
}

.nike-pdp-cta span:last-child {
    font-size: 20px;
    font-weight: 400;
}

.nike-pdp-login-note {
    margin-top: 13px;
    font-size: 12px;
    color: #777777;
    line-height: 1.6;
}

.nike-pdp-product-note {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-top: 25px;
    padding: 19px;
    background: #f7f7f7;
    border-radius: 10px;
}

.nike-pdp-product-note span {
    color: #111111;
    font-weight: 800;
}

.nike-pdp-product-note p {
    margin: 0;
    font-size: 12px;
    color: #666666;
    line-height: 1.7;
}

.nike-pdp-message {
    padding: 15px 18px;
    margin-bottom: 25px;
    color: #246344;
    background: #eaf7ed;
    border-radius: 8px;
    font-size: 13px;
}

/* ==========================================
   AVIS CLIENTS
========================================== */

.nike-pdp-reviews {
    margin-top: 110px;
    padding-top: 45px;
    border-top: 1px solid #e8e8e8;
    scroll-margin-top: 25px;
}

.nike-pdp-reviews__heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 40px;
}

.nike-pdp-reviews__heading h2 {
    margin: 0;
    font-size: clamp(27px, 3vw, 39px);
    line-height: 1.2;
    letter-spacing: -1px;
}

.nike-pdp-reviews__count {
    color: #777777;
    font-size: 13px;
    white-space: nowrap;
}

.nike-pdp-reviews__grid {
    display: grid;
    grid-template-columns: minmax(0, 330px) minmax(0, 1fr);
    gap: 55px;
    align-items: start;
}

.nike-pdp-reviews__sidebar,
.nike-pdp-reviews__list {
    min-width: 0;
}

/* NOTE GLOBALE */

.nike-pdp-rating-card {
    padding: 30px;
    border-radius: 14px;
    background: #f6f6f6;
}

.nike-pdp-rating-card > p {
    margin: 0 0 13px;
    color: #666666;
    font-size: 13px;
}

.nike-pdp-rating-card__score {
    display: block;
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -2px;
}

.nike-pdp-rating-card__score span {
    font-size: 18px;
    color: #888888;
    font-weight: 400;
}

.nike-pdp-rating-card__stars {
    margin: 10px 0;
    font-size: 23px;
    letter-spacing: 4px;
    color: #ff9800;
}

.nike-pdp-rating-card small {
    color: #777777;
    font-size: 12px;
}

/* FORMULAIRE AVIS */

.nike-pdp-review-form {
    margin-top: 25px;
    padding: 30px;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
}

.nike-pdp-review-form h3 {
    margin: 0 0 10px;
    font-size: 19px;
}

.nike-pdp-review-form > p {
    margin: 0 0 25px;
    color: #777777;
    font-size: 13px;
    line-height: 1.7;
}

.nike-pdp-review-form form {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.nike-pdp-review-form label {
    font-size: 12px;
    font-weight: 700;
    margin-top: 5px;
}

.nike-pdp-review-form select,
.nike-pdp-review-form textarea {
    display: block;
    width: 100%;
    padding: 14px;
    border: 1px solid #dddddd;
    border-radius: 8px;
    background: #ffffff;
    color: #222222;
    outline: none;
    font-size: 13px;
}

.nike-pdp-review-form textarea {
    resize: vertical;
    min-height: 120px;
}

.nike-pdp-review-form select:focus,
.nike-pdp-review-form textarea:focus {
    border-color: #111111;
}

.nike-pdp-review-submit {
    width: 100%;
    padding: 15px;
    margin-top: 10px;
    border: 0;
    border-radius: 30px;
    background: #111111;
    color: #ffffff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    transition: background .2s ease;
}

.nike-pdp-review-submit:hover {
    background: #333333;
}

/* AVIS INDIVIDUELS */

.nike-pdp-review {
    padding: 30px 0;
    border-bottom: 1px solid #eeeeee;
}

.nike-pdp-review:first-child {
    padding-top: 0;
}

.nike-pdp-review__top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.nike-pdp-review__stars {
    font-size: 19px;
    color: #ff9800;
    letter-spacing: 2px;
}

.nike-pdp-review__top time {
    color: #999999;
    font-size: 12px;
}

.nike-pdp-review__comment {
    margin: 20px 0 0;
    font-size: 14px;
    line-height: 1.9;
    color: #555555;
    overflow-wrap: anywhere;
}

.nike-pdp-reviews__empty {
    padding: 55px 25px;
    background: #fafafa;
    border-radius: 14px;
    text-align: center;
}

.nike-pdp-reviews__empty > span {
    color: #999999;
    font-size: 42px;
}

.nike-pdp-reviews__empty h3 {
    margin: 15px 0 10px;
    font-size: 19px;
}

.nike-pdp-reviews__empty p {
    font-size: 13px;
    color: #888888;
    line-height: 1.8;
}

/* ==========================================
   FOOTER
========================================== */

.nike-pdp-footer {
    padding: 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #f5f5f5;
}

.nike-pdp-footer p {
    margin: 0;
    color: #777777;
    font-size: 12px;
}

/* ==========================================
   TABLETTE
========================================== */

@media (max-width: 1000px) {

    .nike-pdp-layout {
        gap: 35px;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .nike-pdp-image {
        min-height: 350px;
    }

    .nike-pdp-reviews__grid {
        grid-template-columns: 280px minmax(0, 1fr);
        gap: 30px;
    }
}

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

@media (max-width: 768px) {

    .nike-pdp-header__inner {
        padding: 19px 20px;
    }

    .nike-pdp-logo {
        font-size: 25px;
    }

    .nike-pdp-back {
        font-size: 12px;
    }

    .nike-pdp {
        padding: 0 20px 60px;
    }

    .nike-pdp-breadcrumb {
        padding: 22px 0;
    }

    .nike-pdp-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .nike-pdp-image {
        min-height: 0;
        aspect-ratio: 1 / 1;
        border-radius: 12px;
    }

    .nike-pdp-image img {
        padding: 15px;
    }

    .nike-pdp-info {
        padding: 0;
    }

    .nike-pdp-title {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .nike-pdp-price {
        margin-top: 20px;
        font-size: 27px;
    }

    .nike-pdp-separator {
        margin: 27px 0;
    }

    .nike-pdp-purchase {
        margin-top: 30px;
    }

    .nike-pdp-cta {
        min-height: 59px;
    }

    .nike-pdp-reviews {
        margin-top: 75px;
        padding-top: 35px;
    }

    .nike-pdp-reviews__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 25px;
    }

    .nike-pdp-reviews__heading {
        margin-bottom: 30px;
    }

    .nike-pdp-review-form,
    .nike-pdp-rating-card {
        padding: 24px;
    }

    .nike-pdp-review:first-child {
        padding-top: 20px;
    }

    .nike-pdp-footer {
        padding: 30px 20px;
    }
}

@media (max-width: 420px) {

    .nike-pdp-header__inner {
        padding: 16px;
    }

    .nike-pdp-back {
        gap: 5px;
        font-size: 11px;
    }

    .nike-pdp {
        padding-left: 16px;
        padding-right: 16px;
    }

    .nike-pdp-title {
        font-size: 29px;
    }

    .nike-pdp-reviews__heading h2 {
        font-size: 26px;
    }

    .nike-pdp-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nike-pdp-body *,
    .nike-pdp-body *::before,
    .nike-pdp-body *::after {
        transition: none !important;
        animation: none !important;
    }
}
