/* =====================================
   PÁGINA DE DETALHES - RAT CREW
===================================== */

.product-page {
    background: #ffffff;
    color: #171717;
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
}

/* CABEÇALHO */

.product-header {
    width: 100%;
    min-height: 85px;
    padding: 18px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eeeeee;
    background: #ffffff;
}

.product-logo {
    color: #171717;
    font-size: 27px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -1px;
}

.product-logo span {
    color: var(--orange, #f47721);
}

.product-navigation {
    display: flex;
    align-items: center;
    gap: 30px;
}

.product-navigation a {
    color: #222222;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s;
}

.product-navigation a:hover {
    color: var(--orange, #f47721);
}

/* CONTEÚDO */

.product-detail-container {
    max-width: 1250px;
    width: 90%;
    margin: 0 auto;
    padding: 30px 0 80px;
}

.product-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #999999;
    font-size: 12px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.product-breadcrumb a {
    color: #777777;
    text-decoration: none;
}

.product-breadcrumb a:hover {
    color: var(--orange, #f47721);
}

/* LAYOUT PRINCIPAL */

.product-detail {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 65px;
    align-items: start;
}

/* GALERIA */

.product-gallery {
    width: 100%;
    min-width: 0;
}

.product-main-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f7f7f7;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.product-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.product-thumbnail {
    width: 82px;
    height: 82px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    background: #f7f7f7;
    padding: 3px;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.2s;
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-thumbnail.active,
.product-thumbnail:hover {
    border: 2px solid var(--orange, #f47721);
}

/* INFORMAÇÕES */

.product-information {
    width: 100%;
    min-width: 0;
}

.product-category {
    display: inline-block;
    color: #999999;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.product-information h1 {
    font-size: 30px;
    line-height: 1.25;
    font-weight: 800;
    margin: 0 0 20px;
    color: #171717;
}

.product-detail-price {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.product-price-old {
    color: #999999;
    font-size: 15px;
    font-weight: 500;
    text-decoration: line-through;
}

.product-price-current {
    color: var(--orange, #f47721);
    font-size: 27px;
    font-weight: 800;
}

.product-promotion-label {
    background: #fff0e5;
    color: #e96c18;
    padding: 5px 9px;
    font-size: 10px;
    font-weight: 800;
    border-radius: 3px;
}

.product-short-description {
    color: #666666;
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 28px;
}

/* OPÇÕES */

.product-option {
    margin-bottom: 25px;
}

.option-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 13px;
    font-size: 13px;
}

.option-heading strong {
    font-weight: 800;
}

.option-heading span {
    color: #777777;
}

/* CORES */

.product-colors {
    display: flex;
    align-items: center;
    gap: 13px;
    flex-wrap: wrap;
}

.product-color-button {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid #dddddd;
    padding: 3px;
    cursor: pointer;
    background: #ffffff;
    transition: border-color 0.2s, transform 0.2s;
}

.product-color-button span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.product-color-button.active {
    border: 2px solid var(--orange, #f47721);
    transform: scale(1.08);
}

/* TAMANHOS */

.product-sizes {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
}

.product-size-button {
    min-width: 46px;
    height: 43px;
    padding: 0 12px;
    border: 1px solid #dddddd;
    background: #ffffff;
    color: #222222;
    border-radius: 3px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.product-size-button:hover,
.product-size-button.active {
    border-color: var(--orange, #f47721);
    background: var(--orange, #f47721);
    color: #ffffff;
}

.product-no-sizes {
    color: #999999;
    font-size: 12px;
}

/* MEDIDAS */

.measurements-button {
    width: 100%;
    border: none;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
    padding: 16px 0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #333333;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
}

.measurements-button:hover {
    color: var(--orange, #f47721);
}

.measurements-content {
    display: none;
    padding: 15px 0;
}

.measurements-content.open {
    display: block;
}

.measurements-content p {
    font-size: 12px;
    color: #777777;
    margin: 0 0 12px;
}

.measurements-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.measurements-table th,
.measurements-table td {
    padding: 11px 9px;
    border: 1px solid #eeeeee;
    text-align: center;
}

.measurements-table th {
    background: #f7f7f7;
    font-weight: 800;
}

/* BOTÃO DE COMPRA */

.buy-product-button {
    width: 100%;
    min-height: 55px;
    margin-top: 25px;
    border: none;
    border-radius: 3px;
    background: var(--orange, #f47721);
    color: #ffffff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.buy-product-button:hover {
    background: #df6414;
    transform: translateY(-2px);
}

.product-security {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 15px;
    color: #888888;
    font-size: 11px;
}

/* DESCRIÇÃO */

.product-description-area {
    margin-top: 38px;
    padding-top: 25px;
    border-top: 1px solid #eeeeee;
}

.product-description-area h2 {
    color: #171717;
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 15px;
}

.product-description-area p {
    color: #666666;
    font-size: 13px;
    line-height: 1.9;
    white-space: pre-line;
    margin: 0;
}

/* ERROS */

.product-error {
    text-align: center;
    padding: 70px 20px;
    color: #777777;
    font-size: 14px;
    line-height: 1.7;
}

.product-error[hidden] {
    display: none;
}

/* RODAPÉ */

.product-footer {
    border-top: 1px solid #eeeeee;
    padding: 25px 5%;
    text-align: center;
    color: #999999;
    font-size: 11px;
}

/* RESPONSIVIDADE */

@media (max-width: 850px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .product-information h1 {
        font-size: 25px;
    }

    .product-detail-container {
        width: 92%;
    }
}

@media (max-width: 550px) {
    .product-header {
        min-height: 70px;
        padding: 15px 4%;
        flex-direction: column;
        gap: 14px;
    }

    .product-logo {
        font-size: 24px;
    }

    .product-navigation {
        width: 100%;
        justify-content: center;
        gap: 22px;
    }

    .product-navigation a {
        font-size: 11px;
    }

    .product-detail-container {
        padding-top: 22px;
    }

    .product-breadcrumb {
        margin-bottom: 22px;
        font-size: 10px;
    }

    .product-detail {
        gap: 28px;
    }

    .product-information h1 {
        font-size: 23px;
    }

    .product-price-current {
        font-size: 24px;
    }

    .product-thumbnail {
        width: 68px;
        height: 68px;
    }
}



/* ETIQUETAS DO PRODUTO */

.product-detail-labels {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
}

.product-detail-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.product-detail-label.promotion {
    background: #fff0e5;
    color: #e96c18;
}

.product-detail-label.featured {
    background: #171717;
    color: #ffffff;
}

.product-detail-label.new {
    background: #f47721;
    color: #ffffff;
}




/* IMAGEM AMPLIADA */

.product-main-image {
    cursor: zoom-in;
}

.image-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.image-modal.active {
    display: flex;
}

.image-modal img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
}

.close-image-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: white;
    font-size: 42px;
    cursor: pointer;
}



