/* =========================================================
   PRODUTOS.CSS — Só o exclusivo da página produto.html
   + seção de destaque do index
   ========================================================= */

/* =========================================================
   SEÇÃO DE DESTAQUE (section-head + section-kicker + CTA)
   ========================================================= */

.section-head {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: clamp(30px, 5vw, 80px);
    align-items: end;
    max-width: 1500px;
    margin: 0 auto clamp(40px, 5vw, 70px);
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(127, 176, 255, .16);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .34em;
    text-transform: uppercase;
    color: #7fb0ff;
}

.section-kicker span {
    color: #38455c;
    letter-spacing: 0;
}

.section-head .section-title {
    margin: 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3.2rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1;
    letter-spacing: -.025em;
    color: #f5f7ff;
}

.section-head .section-title span {
    display: block;
    font-style: normal;
    font-weight: 700;
    color: #7fb0ff;
}

.section-head-right p {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #a4b2ca;
    max-width: 420px;
}

.products-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: clamp(40px, 5vw, 70px);
}

.products-cta .btn-primary,
.products-cta .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 15px 28px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .28em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 0;
    transition: all .4s cubic-bezier(.22, 1, .36, 1);
}

.products-cta .btn-primary {
    color: #fff;
    background: #1a4dff;
}

.products-cta .btn-primary:hover {
    background: #0a2fa8;
    transform: translateY(-2px);
}

.products-cta .btn-secondary {
    color: #eaf1ff;
    background: transparent;
    border: 1px solid rgba(127, 176, 255, .3);
}

.products-cta .btn-secondary:hover {
    border-color: #1a4dff;
    background: rgba(26, 77, 255, .08);
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .section-head {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 720px) {
    .products-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .products-cta a {
        justify-content: center;
    }
}


/* =========================================================
   PÁGINA PRODUTO — INDIVIDUAL
   ========================================================= */

.product-page {
    background: #04060b;
}

.product-main {
    padding: clamp(30px, 4vw, 60px) clamp(20px, 5vw, 96px) clamp(80px, 10vw, 140px);
}

/* BREADCRUMB */
.product-page .breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: clamp(30px, 4vw, 50px);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #5d6b83;
}

.product-page .breadcrumb a {
    color: #a4b2ca;
    transition: color .3s;
}

.product-page .breadcrumb a:hover {
    color: #7fb0ff;
}

.product-page .breadcrumb span[aria-hidden] {
    color: #38455c;
}

.product-page .breadcrumb [aria-current] {
    color: #7fb0ff;
}

/* LAYOUT */
.product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: clamp(30px, 5vw, 80px);
    align-items: start;
    max-width: 1500px;
    margin: 0 auto clamp(60px, 8vw, 120px);
}

/* GALERIA */
.product-gallery {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: clamp(12px, 1.6vw, 20px);
    position: sticky;
    top: calc(92px + 30px);
}

.gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gallery-thumb {
    position: relative;
    aspect-ratio: 3 / 4;
    background: #0b1120;
    border: 1px solid rgba(127, 176, 255, .16);
    overflow: hidden;
    cursor: pointer;
    transition: border-color .3s;
    padding: 0;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-thumb:hover {
    border-color: rgba(127, 176, 255, .45);
}

.gallery-thumb.active {
    border-color: #1a4dff;
    box-shadow: 0 0 0 1px #1a4dff;
}

.gallery-main {
    position: relative;
    aspect-ratio: 3 / 4;
    background: #0b1120;
    border: 1px solid rgba(127, 176, 255, .16);
    overflow: hidden;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity .3s;
}

.gallery-zoom {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #f5f7ff;
    background: rgba(4, 6, 11, .75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(127, 176, 255, .3);
    cursor: pointer;
    transition: all .3s;
}

.gallery-zoom:hover {
    border-color: #1a4dff;
    background: rgba(26, 77, 255, .3);
}

.gallery-zoom svg {
    width: 14px;
    height: 14px;
}

/* DETALHE */
.product-detail {
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding-top: 4px;
}

.detail-cat {
    font-family: 'Space Grotesk', ui-monospace, monospace;
    font-size: .68rem;
    font-weight: 500;
    letter-spacing: .34em;
    text-transform: uppercase;
    color: #7fb0ff;
}

.detail-title {
    margin: 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.6rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.08;
    letter-spacing: -.02em;
    color: #f5f7ff;
}

.detail-price-block {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 12px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(127, 176, 255, .16);
}

.detail-price {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(1.4rem, 1.1rem + 1vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -.02em;
    color: #f5f7ff;
}

.detail-price-old {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1rem;
    color: #5d6b83;
    text-decoration-thickness: 1px;
}

.detail-discount {
    padding: 3px 10px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #fff;
    background: #1a4dff;
}

.detail-discount:empty { display: none; }

.detail-desc {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    color: #a4b2ca;
}

.detail-field {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.detail-label {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: #7fb0ff;
}

.detail-label-value {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: .95rem;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0;
    text-transform: none;
    color: #f5f7ff;
}

.detail-guide-link {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #a4b2ca;
    background: none;
    border: none;
    border-bottom: 1px solid transparent;
    cursor: pointer;
    transition: all .3s;
}

.detail-guide-link:hover {
    color: #7fb0ff;
    border-bottom-color: #1a4dff;
}

.detail-colors {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.detail-color {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid transparent;
    outline: 1px solid rgba(127, 176, 255, .3);
    outline-offset: 2px;
    cursor: pointer;
    transition: all .3s;
    padding: 0;
}

.detail-color:hover { outline-color: rgba(127, 176, 255, .6); }
.detail-color.active { outline: 2px solid #1a4dff; outline-offset: 2px; transform: scale(1.05); }

.detail-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.detail-size {
    min-width: 56px;
    height: 50px;
    padding: 0 16px;
    display: grid;
    place-items: center;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #a4b2ca;
    background: transparent;
    border: 1px solid rgba(127, 176, 255, .2);
    cursor: pointer;
    transition: all .3s;
}

.detail-size:hover { color: #f5f7ff; border-color: rgba(127, 176, 255, .5); }
.detail-size.active { color: #fff; background: #1a4dff; border-color: #1a4dff; }

.detail-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(127, 176, 255, .2);
    width: fit-content;
}

.detail-qty button {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: #a4b2ca;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all .3s;
}

.detail-qty button:hover { color: #f5f7ff; background: rgba(26, 77, 255, .1); }
.detail-qty button svg { width: 16px; height: 16px; }

.detail-qty span {
    min-width: 46px;
    text-align: center;
    font-family: 'Space Grotesk', ui-monospace, monospace;
    font-size: .92rem;
    font-weight: 600;
    color: #f5f7ff;
}

.detail-actions {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}

.btn-add-cart {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 28px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: #fff;
    background: #1a4dff;
    border: none;
    cursor: pointer;
    transition: all .3s;
}

.btn-add-cart:hover { background: #0a2fa8; transform: translateY(-1px); }
.btn-add-cart svg { width: 16px; height: 16px; }
.btn-add-cart[disabled] { background: #38455c; color: #5d6b83; cursor: not-allowed; transform: none; }

.btn-wish-large {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    color: #a4b2ca;
    background: transparent;
    border: 1px solid rgba(127, 176, 255, .2);
    cursor: pointer;
    transition: all .3s;
}

.btn-wish-large:hover { color: #7fb0ff; border-color: #4d7cff; }
.btn-wish-large.active { color: #1a4dff; border-color: #1a4dff; background: rgba(26, 77, 255, .12); }
.btn-wish-large svg { width: 22px; height: 22px; }

.detail-benefits {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 6px 0 0;
    border-top: 1px solid rgba(127, 176, 255, .16);
}

.detail-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(127, 176, 255, .1);
}

.detail-benefits svg {
    width: 18px;
    height: 18px;
    color: #7fb0ff;
    flex-shrink: 0;
    margin-top: 2px;
}

.detail-benefits strong {
    display: block;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: .85rem;
    font-weight: 600;
    color: #f5f7ff;
    margin-bottom: 2px;
}

.detail-benefits small {
    display: block;
    font-size: .78rem;
    color: #a4b2ca;
}

.detail-accordion {
    display: flex;
    flex-direction: column;
    margin-top: 8px;
    border-top: 1px solid rgba(127, 176, 255, .16);
}

.detail-accordion details {
    border-bottom: 1px solid rgba(127, 176, 255, .1);
}

.detail-accordion summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #a4b2ca;
    cursor: pointer;
    list-style: none;
    transition: color .3s;
}

.detail-accordion summary::-webkit-details-marker { display: none; }
.detail-accordion summary:hover { color: #f5f7ff; }
.detail-accordion summary svg { width: 16px; height: 16px; color: #5d6b83; transition: transform .3s; }
.detail-accordion details[open] summary { color: #f5f7ff; }
.detail-accordion details[open] summary svg { transform: rotate(180deg); color: #7fb0ff; }

.accordion-content { padding: 0 0 20px; }

.accordion-content p {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: .92rem;
    line-height: 1.75;
    color: #a4b2ca;
}

/* RELACIONADOS */
.related-products {
    max-width: 1500px;
    margin: 0 auto;
    padding-top: clamp(50px, 6vw, 90px);
    border-top: 1px solid rgba(127, 176, 255, .16);
}

.related-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: clamp(30px, 4vw, 50px);
}

.related-head .section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .34em;
    text-transform: uppercase;
    color: #7fb0ff;
}

.related-head .section-kicker span { color: #38455c; }

.related-head h2 {
    margin: 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.6rem, 1.2rem + 2vw, 2.8rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1;
    letter-spacing: -.025em;
    color: #f5f7ff;
}

.related-head h2 span {
    display: block;
    font-style: normal;
    font-weight: 700;
    color: #7fb0ff;
}

/* ZOOM OVERLAY */
.zoom-overlay {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 40px;
    background: rgba(4, 6, 11, .96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    cursor: zoom-out;
    z-index: 500;
    transition: opacity .4s, visibility .4s;
}

.zoom-overlay.open { opacity: 1; visibility: visible; }

.zoom-overlay img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transform: scale(.95);
    transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}

.zoom-overlay.open img { transform: scale(1); }

.zoom-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: #a4b2ca;
    background: rgba(4, 6, 11, .6);
    border: 1px solid rgba(127, 176, 255, .3);
    border-radius: 50%;
    cursor: pointer;
    transition: all .3s;
}

.zoom-close:hover {
    color: #f5f7ff;
    border-color: #1a4dff;
    transform: rotate(90deg);
}

.zoom-close svg { width: 18px; height: 18px; }

/* RESPONSIVO */
@media (max-width: 1080px) {
    .product-layout { grid-template-columns: 1fr; gap: 40px; }
    .product-gallery { position: static; }
}

@media (max-width: 720px) {
    .product-main { padding: 24px 18px 80px; }
    .product-gallery { grid-template-columns: 1fr; }
    .gallery-thumbs { order: 2; flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 6px; }
    .gallery-thumb { flex: 0 0 70px; aspect-ratio: 3 / 4; }
    .gallery-main { order: 1; }
    .gallery-zoom span { display: none; }
    .gallery-zoom { padding: 10px; border-radius: 50%; }
    .detail-sizes { gap: 6px; }
    .detail-size { min-width: 48px; height: 44px; padding: 0 12px; font-size: .72rem; }
    .detail-actions { flex-direction: column-reverse; }
    .btn-wish-large { width: 100%; height: 52px; }
    .btn-add-cart { padding: 18px; }
    .related-head { flex-direction: column; align-items: flex-start; gap: 16px; }
}


/* =========================================================
   ⭐ AVALIAÇÕES — SEÇÃO COMPLETA (produto.html)
   ========================================================= */

/* ---- CONTAINER ---- */
.reviews-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: clamp(50px, 6vw, 90px) clamp(20px, 5vw, 40px) 0;
    border-top: 1px solid rgba(127, 176, 255, .16);
}

/* ---- HEAD ---- */
.reviews-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    padding-bottom: 30px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(127, 176, 255, .16);
}

.reviews-head-left .section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .34em;
    text-transform: uppercase;
    color: #7fb0ff;
}
.reviews-head-left .section-kicker span { color: #38455c; }

.reviews-head h2 {
    margin: 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.4rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.05;
    letter-spacing: -.02em;
    color: #f5f7ff;
}

.reviews-head h2 em {
    font-style: italic;
    font-weight: 400;
    color: #7fb0ff;
}

/* ---- RESUMO (média + total) ---- */
.reviews-summary {
    display: flex;
    align-items: center;
    gap: 20px;
}

.reviews-summary-nota {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.4rem, 1.8rem + 2vw, 3.6rem);
    font-style: italic;
    font-weight: 700;
    line-height: 1;
    color: #f5f7ff;
    letter-spacing: -.03em;
}

.reviews-summary-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.reviews-summary-total {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #7fb0ff;
}

/* ---- ESTRELAS ---- */
.estrelas {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    line-height: 1;
}

.estrela {
    width: 16px;
    height: 16px;
    color: #2d3748;
    flex-shrink: 0;
    transition: color .2s;
}

.estrela.cheia { color: #f59e0b; }
.estrela.meia  { color: #f59e0b; opacity: .55; }
.estrela-media { width: 18px; height: 18px; }

/* ---- FORM (escrever avaliação) ---- */
.review-form-wrap {
    padding: clamp(22px, 3vw, 32px);
    margin-bottom: 40px;
    background: linear-gradient(180deg, #070a12, #0b1120);
    border: 1px solid rgba(127, 176, 255, .16);
    border-radius: 4px;
}

.review-form-title {
    margin: 0 0 22px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4rem;
    font-style: italic;
    font-weight: 400;
    color: #f5f7ff;
}

.review-form-title em {
    font-style: italic;
    font-weight: 400;
    color: #7fb0ff;
}

.review-stars-pick {
    display: flex;
    gap: 6px;
    margin-bottom: 18px;
}

.review-star-pick {
    width: 34px;
    height: 34px;
    padding: 0;
    display: grid;
    place-items: center;
    background: none;
    border: none;
    cursor: pointer;
    color: #2d3748;
    transition: color .2s, transform .2s;
}

.review-star-pick svg {
    width: 100%;
    height: 100%;
    display: block;
}

.review-star-pick:hover,
.review-star-pick.hover,
.review-star-pick.active {
    color: #f59e0b;
    transform: scale(1.08);
}

#reviewTexto {
    width: 100%;
    min-height: 90px;
    padding: 14px 16px;
    background: #04060b;
    color: #f5f7ff;
    border: 1px solid rgba(127, 176, 255, .16);
    border-radius: 6px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: .92rem;
    line-height: 1.6;
    resize: vertical;
    outline: none;
    transition: border-color .3s;
}

#reviewTexto::placeholder { color: #38455c; }
#reviewTexto:focus { border-color: #1a4dff; background: #070a12; }

.review-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.review-form-actions .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 26px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: #fff;
    background: #1a4dff;
    border: none;
    cursor: pointer;
    transition: background .3s, transform .3s;
}

.review-form-actions .btn-primary:hover:not(:disabled) {
    background: #0a2fa8;
    transform: translateY(-1px);
}

.review-form-actions .btn-primary:disabled {
    opacity: .5;
    cursor: wait;
}

/* ---- MENSAGEM LOGIN ---- */
.review-login-msg {
    padding: 16px 20px;
    margin-bottom: 30px;
    background: rgba(26, 77, 255, .08);
    border: 1px dashed rgba(127, 176, 255, .28);
    color: #a4b2ca;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: .88rem;
    text-align: center;
    border-radius: 4px;
}

.review-login-msg a {
    color: #7fb0ff;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .3s;
}

.review-login-msg a:hover { color: #4d7cff; }

/* ---- LISTA DE CARDS ---- */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.review-card {
    padding: 20px 22px;
    background: #070a12;
    border: 1px solid rgba(127, 176, 255, .16);
    border-radius: 4px;
    transition: border-color .3s;
}

.review-card:hover { border-color: rgba(127, 176, 255, .28); }

.review-card--minha {
    border-color: rgba(26, 77, 255, .5);
    background: linear-gradient(180deg, rgba(26, 77, 255, .06), rgba(26, 77, 255, .02));
}

.review-head {
    display: grid;
    grid-template-columns: 42px 1fr auto auto;
    gap: 14px;
    align-items: center;
    margin-bottom: 12px;
}

.review-avatar {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #1a4dff, #0a2fa8);
    color: #fff;
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(26, 77, 255, .3);
}

.review-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.review-name {
    color: #f5f7ff;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    font-size: .92rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.review-tag {
    font-style: normal;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 2px 8px;
    margin-left: 6px;
    background: #1a4dff;
    color: #fff;
    border-radius: 99px;
    vertical-align: middle;
}

.review-date {
    color: #5d6b83;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: .74rem;
}

.review-comentario {
    margin: 0;
    color: #a4b2ca;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: .92rem;
    line-height: 1.7;
}

.review-delete {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    background: transparent;
    border: 1px solid rgba(239, 68, 68, .3);
    border-radius: 50%;
    cursor: pointer;
    color: #ef4444;
    padding: 0;
    transition: all .25s;
}

.review-delete:hover {
    background: rgba(239, 68, 68, .12);
    border-color: #ef4444;
    transform: scale(1.05);
}

.review-delete svg {
    width: 14px;
    height: 14px;
    display: block;
}

/* ---- EMPTY ---- */
.reviews-empty {
    padding: 50px 20px;
    text-align: center;
    border: 1px dashed rgba(127, 176, 255, .16);
    border-radius: 4px;
}

.reviews-empty-mark {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 3rem;
    line-height: 1;
    color: rgba(127, 176, 255, .3);
    margin-bottom: 12px;
}

.reviews-empty p {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: .9rem;
    color: #a4b2ca;
}

/* ---- RATING NO HEADER DO PRODUTO ---- */
.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 6px 0 12px;
}

.product-rating .estrelas { gap: 2px; }

.product-rating-nota {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: .06em;
    color: #7fb0ff;
}

/* ---- RESPONSIVO ---- */
@media (max-width: 720px) {

    .reviews-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .reviews-summary { gap: 14px; }

    .reviews-summary-nota { font-size: 2.4rem; }

    .review-head {
        grid-template-columns: 38px 1fr auto;
        gap: 10px;
    }

    .review-head .estrelas { grid-column: 2 / -1; }

    .review-avatar { width: 38px; height: 38px; font-size: 1rem; }

    .review-form-actions { flex-direction: column; align-items: stretch; }
    .review-form-actions .btn-primary { width: 100%; justify-content: center; }

    .review-star-pick { width: 30px; height: 30px; }
}

/* Galeria sem thumbs — 1 coluna só */
.product-gallery.sem-thumbs {
    grid-template-columns: 1fr;
}
/* Galeria sem thumbs — 1 coluna só */
.product-gallery.sem-thumbs {
    grid-template-columns: 1fr;
}
