/* ======  PRODUCTS.CSS PÁGINAS INDIVIDUAIS DE PRODUTOS ========== */

/* ======= HERO PRODUTO ============= */
.product-hero {
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}
.product-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient( circle at top right, rgba(255,107,53,.15), transparent 50% );
    pointer-events: none;
}
.product-hero-content {
    max-width: 900px;
}
.product-tag {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1rem;
    border-radius: 999px;
    background: rgba(255,107,53,.12);
    color: var(--primary);
    font-size: .9rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}
.product-hero h1 {
    margin-bottom: 1.5rem;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
}
.product-hero p {
    max-width: 700px;
    line-height: 1.8;
    color: var(--gray);
}


/* ======== BREADCRUMB PREMIUM ========== */
.breadcrumb {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
    padding: .85rem 1.25rem;
    border-radius: 999px;
    background: rgba(255,255,255,.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.08);
    margin-bottom: 2rem;
}
.breadcrumb a {
    color: var(--white);
    text-decoration: none;
    opacity: .75;
    transition: .3s ease;
}
.breadcrumb a:visited {
    color: var(--white);
}
.breadcrumb a:hover {
    color: var(--primary);
    opacity: 1;
}
.breadcrumb span {
    color: rgba(255,255,255,.45);
}
.breadcrumb .current {
    color: var(--primary);
    font-weight: 700;
    opacity: 1;
}


/* ======== PRODUTO PRINCIPAL ========== */
.single-product {
    padding: 5rem 0;
}
.product-layout {
    display: grid;
    gap: 4rem;
}
.product-gallery {
    position: relative;
    overflow: hidden;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 30px;
    padding: 2rem;
    backdrop-filter: blur(12px);
}
.product-gallery::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
    border-radius: 50%;
    background: rgba(255,107,53,.08);
    filter: blur(60px);
    pointer-events: none;
}
/* IMAGENS */
.product-gallery img {
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
    display: block;
    transition: .4s ease;
}
.product-gallery:hover img {
    transform: scale(1.03);
}
/* CONTEÚDO */
.product-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.product-info h2 {
    margin-bottom: 1rem;
    font-size: clamp(2rem,4vw,3rem);
}
.product-rating {
    display: inline-flex;
    align-items: center;
    padding: .6rem 1rem;
    border-radius: 999px;
    background: rgba(255,107,53,.12);
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 2rem;
}
.product-price {
    margin-bottom: 2rem;
}
.product-price span {
    display: block;
    color: var(--gray);
    margin-bottom: .5rem;
}
.product-price strong {
    font-size: clamp(1.3rem,2.5vw,3rem);
    color: var(--primary);
}
.product-info p {
    line-height: 1.8;
    margin-bottom: 2rem;
}
.product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}
.product-features li {
    padding: .75rem 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.product-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
/* BOTÕES */
.product-buttons,
.product-buttons .btn-secondary {
    min-width: 220px;
}
/* ========  GALERIA =========== */
.main-image {
    margin-bottom: 1rem;
}
.gallery-thumbs {
    display: flex;
    gap: 1rem;
    justify-content: center;
}
.gallery-thumbs img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: .3s ease;
}
.gallery-thumbs img:hover {
    transform: translateY(-3px);
}
.gallery-thumbs img.active {
    border-color: var(--primary);
}
/* ======= QUANTIDADE ========== */
.quantity-selector {
    display: flex;
    align-items: center;
    width: fit-content;
    margin: 0;
    overflow: hidden;
}
.quantity-selector button {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    cursor: pointer;
    background: rgba(255,255,255,.03);
    color: var(--white);
    font-size: 1.3rem;
}
.quantity-selector input {
    width: 70px;
    height: 50px;
    text-align: center;
    border: none;
    outline: none;
    background: transparent;
    color: var(--white);
    margin-top: 12px;
    font-size: 1.5rem;
}

/* Chrome, Edge, Opera */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
/* Firefox */
input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}






/* ======== ESCALA DE PICÂNCIA ========== */
.heat-scale {
    padding: 5rem 0;
}
.scale-bar {
    height: 20px;
    margin-top: 3rem;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255,255,255,.08);
}
.scale-fill {
    height: 100%;
}
.scale-fill.extreme {
    width: 100%;
    background:linear-gradient(90deg, #ffcc00,#ff6600,#ff0000 );
}
.scale-levels {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

/* ========== DESCRIÇÃO ============ */
.product-description {
    padding: 5rem 0;
}
.product-description p {
    max-width: 900px;
    margin: auto;
    line-height: 2;
}


/* ======== TABELA TÉCNICA PREMIUM =========== */
.specs-table {
    margin-top: 3rem;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.03);
    backdrop-filter: blur(12px);
}
.specs-table table {
    width: 100%;
    border-collapse: collapse;
}
.specs-table tr:not(:last-child) {
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.specs-table td {
    padding: 1.25rem 1.5rem;
}
.specs-table td:first-child {
    width: 35%;
    font-weight: 700;
    color: var(--primary);
}
.specs-table td:last-child {
    color: var(--gray-light, #ddd);
}


/* ====== CONSERVAÇÃO ========== */
.product-storage {
    padding-bottom: 5rem;
}
.storage-box {
    padding: 2.5rem;
    text-align: center;
    border-radius: 24px;
    background: rgba(255,107,53,.08);
    border: 1px solid rgba(255,107,53,.15);
}
.storage-box h2 {
    margin-bottom: 1rem;
}
.storage-box p {
    max-width: 800px;
    margin: auto;
    line-height: 1.8;
}


/* ======= BENEFÍCIOS DO PRODUTO ========== */
.product-benefits {
    padding: 5rem 0;
}
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}
.benefit-item {
    padding: 2rem;
    border-radius: 24px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(12px);
    transition: .35s ease;
}
.benefit-item:hover {
    transform: translateY(-8px);
    border-color: rgba(255,107,53,.35);
    box-shadow: 0 20px 40px rgba(0,0,0,.2);
}
.benefit-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.benefit-item h3 {
    margin-bottom: 1rem;
}
.benefit-item p {
    line-height: 1.8;
}
@media(min-width:768px){
    .benefits-grid{ grid-template-columns: repeat(2,1fr);
    }
}


/* ========= HARMONIZAÇÃO ============ */
.usage-section {
    padding: 5rem 0;
}
.usage-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 3rem;
}
.usage-grid div {
    padding: 2rem;
    text-align: center;
    border-radius: 24px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(12px);
    transition: .3s ease;
}
.usage-grid div:hover {
    transform: translateY(-6px);
}

/* ==========  TABELA TÉCNICA =============== */
.product-specs {
    padding: 5rem 0;
}
.specs-table {
    overflow-x: auto;
}
.specs-table table {
    width: 100%;
    border-collapse: collapse;
}
.specs-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
}


/* =====  FAQ DO PRODUTO ======= */
.product-faq {
    padding: 6rem 0;
}
.faq-highlight {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 3rem auto;
    max-width: 900px;
    padding: 2rem;
    border-radius: 24px;
    background: linear-gradient( 135deg, rgba(255,107,53,.10), rgba(255,255,255,.03) );
    border: 1px solid rgba(255,107,53,.15);
    backdrop-filter: blur(12px);
}
.faq-highlight-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 2rem;
    background: rgba(255,107,53,.12);
}
.faq-highlight h3 {
    margin-bottom: .5rem;
    font-size: 1.3rem;
}
.faq-highlight p {
    margin: 0;
    line-height: 1.8;
}
/* FAQ */
.product-faq .faq-container {
    max-width: 900px;
    margin: 0 auto;
}
.product-faq details {
    margin-bottom: 1rem;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(12px);
    transition: .3s ease;
}
.product-faq details:hover {
    border-color: rgba(255,107,53,.25);
}
.product-faq details[open] {
    border-color: rgba(255,107,53,.35);
    box-shadow: 0 15px 35px rgba(0,0,0,.15);
}
.product-faq summary {
    position: relative;
    padding: 1.5rem 4rem 1.5rem 1.5rem;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    transition: .3s ease;
}
.product-faq summary::-webkit-details-marker {
    display: none;
}
.product-faq summary::after {
    content: "+";
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    transition: .3s ease;
}
.product-faq details[open] summary::after {
    content: "−";
}
.product-faq details p {
    padding: 0 1.5rem 1.5rem;
    line-height: 1.9;
    color: var(--gray);
}
@media (max-width: 768px) {
    .faq-highlight {
        flex-direction: column;
        text-align: center;
    }
    .faq-highlight-icon {
        width: 70px;
        height: 70px;
    }
}


/* =======  PRODUTOS RELACIONADOS ============= */
.related-products {
    padding: 5rem 0;
}
.related-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}
.related-card {
    overflow: hidden;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 24px;
    transition: .35s ease;
}
.related-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255,107,53,.35);
}
.related-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: .4s ease;
}
.related-card:hover img {
    transform: scale(1.05);
}
.related-content {
    padding: 1.5rem;
}
.related-level {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: .85rem;
    font-weight: 700;
}
.related-content h3 {
    margin-bottom: .75rem;
}
.related-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}
.related-content a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
}


/* =======  CTA FINAL PRODUTO ========== */
.product-cta {
    padding: 6rem 0;
}
.product-cta-box {
    position: relative;
    overflow: hidden;
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 32px;
    background: linear-gradient( 135deg, rgba(255,107,53,.12), rgba(255,255,255,.03) );
    border: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(12px);
}
.product-cta-box::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    top: -200px;
    right: -150px;
    border-radius: 50%;
    background: rgba(255,107,53,.08);
    filter: blur(80px);
}
.product-cta-box h2 {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    font-size: clamp(2rem,4vw,3.5rem);
    line-height: 1.2;
}
.product-cta-box p {
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.9;
}
.cta-badge {
    display: inline-block;
    padding: .75rem 1.25rem;
    margin-bottom: 1.5rem;
    border-radius: 999px;
    background: rgba(255,107,53,.15);
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.cta-features {
    display: grid;
    gap: 1rem;
    margin: 2rem auto 3rem;
    max-width: 700px;
}
.cta-features div {
    padding: 1rem;
    border-radius: 16px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
}
@media (min-width:768px){
    .cta-features {
        grid-template-columns: repeat(2,1fr);
    }
}


/* ======== TABLET ============= */
@media (min-width: 768px) {
    .usage-grid {
        grid-template-columns: repeat(2,1fr);
    }
    .related-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

/* ======= DESKTOP ============= */
@media (min-width: 1024px) {
    .product-layout {
        grid-template-columns:1fr 1fr;
        align-items: center;
    }
    .usage-grid {
        grid-template-columns: repeat(4,1fr);
    }
    .related-grid {
        grid-template-columns:repeat(4,1fr);
    }
}

