/* PneuStore Product Page - Exact Clone */

:root {
    --ps-blue: #5d0ae2;
    --ps-green: #00a650;
    --ps-cyan: #6fd3f4;
    --ps-border: #e1e7ee;
    --ps-yellow: #f4b400;
}

/* Product Page Container */
.product-page {
    padding: 30px 0 60px;
    background: #fff;
}

/* Breadcrumb */
.breadcrumb {
    font-size: 0.8rem;
    color: var(--ps-blue);
    margin-bottom: 20px;
    padding: 10px 0;
}

.breadcrumb a {
    color: var(--ps-blue);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #999;
}

/* Product Layout - 2 Columns */
.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Product Gallery */
.product-gallery {
    position: relative;
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 16px;
    background: #fff;
}

/* Thumbnails on left */
.product-thumbs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.thumb {
    border: 2px solid transparent;
    background: #fff;
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: border-color 0.2s;
}

.thumb img {
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
}

.thumb:hover,
.thumb.active {
    border-color: var(--ps-blue);
}

/* Main Image */
.product-main-image {
    border: 1px solid var(--ps-border);
    border-radius: 8px;
    padding: 30px;
    background: #fff;
    display: grid;
    place-items: center;
    min-height: 380px;
}

.product-main-image img {
    max-width: 100%;
    max-height: 350px;
    object-fit: contain;
}

/* Product Attributes - Energy Labels */
.product-attributes {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: flex;
    gap: 8px;
    justify-content: center;
}

.product-attr {
    background: #f7f9fc;
    border: 1px solid var(--ps-border);
    border-radius: 6px;
    padding: 8px 12px;
    min-width: 70px;
    text-align: center;
    font-size: 0.7rem;
    color: #666;
}

.product-attr span {
    display: block;
    font-weight: 800;
    color: var(--ps-blue);
    font-size: 0.9rem;
    margin-bottom: 2px;
}

/* Product Info - Right Column */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #fff;
    padding: 0;
}

/* Brand Logo */
.product-brand {
    display: inline-flex;
    align-items: center;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    width: fit-content;
}

.product-brand img {
    height: 24px;
    width: auto;
    object-fit: contain;
}

/* Product Title */
.product-info h1 {
    font-size: 1.3rem;
    color: #1b2a3a;
    line-height: 1.3;
    font-weight: 600;
    margin: 0;
}

/* Rating */
.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #777;
}

.product-rating .stars {
    color: var(--ps-yellow);
}

/* Meta Info */
.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    font-size: 0.8rem;
    color: #666;
}

.availability {
    color: var(--ps-green);
    font-weight: 700;
}

/* Price Box - GREEN Price */
.price-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 10px 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

.price-box .old {
    font-size: 0.85rem;
    text-decoration: line-through;
    color: #999;
}

.price-box .main-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--ps-blue);
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-box .pix-discount {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ps-blue);
    background: transparent;
    padding: 0;
    border-radius: 0;
}

.price-box .pix-price {
    font-size: 0.9rem;
    color: #666;
}

.price-box .pix-price span {
    font-weight: 700;
    color: var(--ps-blue);
}

.price-box .parcel {
    font-size: 0.85rem;
    color: #666;
}

.price-box .parcel a {
    color: var(--ps-blue);
    text-decoration: underline;
    font-weight: 500;
}

/* Buttons Row - Purple Outline */
.product-buttons-row {
    display: flex;
    gap: 10px;
    margin: 8px 0;
}

.product-buttons-row .btn-outline {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border: 2px solid var(--ps-blue);
    border-radius: 25px;
    background: #fff;
    color: var(--ps-blue);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.product-buttons-row .btn-outline i {
    color: var(--ps-blue);
}

.product-buttons-row .btn-outline:hover {
    background: var(--ps-blue);
    color: #fff;
}

.product-buttons-row .btn-outline:hover i {
    color: #fff;
}

/* Quantity Selector + Buy Button */
.product-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 10px 0;
}

.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--ps-border);
    border-radius: 6px;
    overflow: hidden;
}

.qty-selector button {
    width: 40px;
    height: 44px;
    border: none;
    background: #f5f5f5;
    color: #333;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
}

.qty-selector button:hover {
    background: #eee;
}

.qty-selector input {
    width: 50px;
    height: 44px;
    border: none;
    border-left: 1px solid var(--ps-border);
    border-right: 1px solid var(--ps-border);
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
}

/* Buy Button - CYAN */
.btn-buy-shelf {
    flex: 1;
    min-width: 180px;
    height: 48px;
    background: #6fd3f4;
    color: #0d2b3a;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s;
}

.btn-buy-shelf:hover {
    background: #5ac4e5;
}

.btn-buy-shelf i {
    font-size: 1.1rem;
}

/* Shipping Info */
.product-shipping {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #f7f9fc;
    border: 1px solid var(--ps-border);
    border-radius: 8px;
    font-size: 0.85rem;
    color: #555;
}

.product-shipping i {
    color: var(--ps-blue);
    font-size: 1.1rem;
}

/* Product Specs List */
.product-specs {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: grid;
    gap: 8px;
}

.product-specs li {
    display: flex;
    justify-content: space-between;
    padding: 10px 14px;
    background: #f7f9fc;
    border-radius: 6px;
    font-size: 0.85rem;
}

.product-specs li strong {
    color: #555;
    font-weight: 600;
}

.product-specs li span {
    color: #333;
    font-weight: 500;
}

/* Details Section with Tabs */
.product-details,
.product-description {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--ps-border);
}

.product-details h3,
.product-description h3 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Details Grid */
.details-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.detail-card {
    background: #f7f9fc;
    border: 1px solid var(--ps-border);
    border-radius: 8px;
    padding: 16px 12px;
    text-align: center;
    font-size: 0.85rem;
    color: #555;
}

.detail-card strong {
    display: block;
    color: #333;
    font-size: 0.75rem;
    margin-bottom: 6px;
    text-transform: uppercase;
}

/* Product Tabs */
.product-tabs {
    margin-top: 40px;
}

.tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: none;
    margin-bottom: 24px;
}

.tab-nav-btn {
    padding: 12px 24px;
    border: none;
    background: #f0f2f5;
    color: #666;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px 6px 0 0;
    transition: all 0.2s;
    margin-right: 4px;
}

.tab-nav-btn.active {
    background: var(--ps-blue);
    color: #fff;
}

.tab-nav-btn:not(.active):hover {
    background: #e5e7ea;
}

.tab-panel {
    display: none;
    padding: 20px 0;
}

.tab-panel.active {
    display: block;
}

/* Specs Table with alternating rows */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--ps-border);
    border-radius: 8px;
    overflow: hidden;
}

.specs-table tr:nth-child(odd) {
    background: #f9f5ff;
}

.specs-table tr:nth-child(even) {
    background: #fff;
}

.specs-table td {
    padding: 12px 16px;
    font-size: 0.85rem;
    border-bottom: 1px solid #f0e8ff;
}

.specs-table td:first-child {
    font-weight: 600;
    color: #555;
    width: 40%;
}

.specs-table td:last-child {
    color: #333;
}

/* Responsive */
@media (max-width: 900px) {
    .product-layout {
        grid-template-columns: 1fr;
    }

    .product-gallery {
        grid-template-columns: 1fr;
    }

    .product-thumbs {
        flex-direction: row;
        order: 2;
        overflow-x: auto;
    }

    .details-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .details-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-actions {
        flex-direction: column;
    }

    .btn-buy-shelf {
        width: 100%;
    }
}

/* Energy Label Full */
.energy-label-full {
    margin-top: 30px;
    text-align: center;
}

.energy-label-full img {
    max-width: 300px;
    height: auto;
}

/* Reviews Section */
.reviews-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--ps-border);
}

.reviews-title {
    font-size: 1.2rem;
    color: #333;
    text-align: center;
    margin-bottom: 16px;
}

.reviews-count-btn {
    display: block;
    margin: 0 auto 30px;
    padding: 10px 24px;
    border: 1px solid var(--ps-border);
    border-radius: 20px;
    background: #fff;
    color: #555;
    font-size: 0.85rem;
    cursor: pointer;
}

.reviews-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

/* Reviews Summary */
.reviews-summary {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rating-big {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.rating-number {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
}

.rating-max {
    font-size: 1.2rem;
    color: #999;
}

.rating-stars {
    color: var(--ps-yellow);
    font-size: 0.9rem;
}

.rating-stars span {
    color: #666;
    margin-left: 8px;
}

.rating-bars {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: #666;
}

.rating-bar-row span {
    width: 30px;
}

.bar-bg {
    flex: 1;
    height: 8px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: #00a650;
    border-radius: 4px;
}

.recommend-badge {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 16px;
    background: #f0f7ff;
    border-radius: 8px;
}

.recommend-percent {
    font-size: 1.8rem;
    font-weight: 700;
    color: #00a650;
}

.recommend-text {
    font-size: 0.75rem;
    color: #555;
    line-height: 1.4;
}

.reclameaqui-badge {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 0.75rem;
    color: #555;
}

.reclameaqui-badge i {
    color: var(--ps-yellow);
}

.reclameaqui-badge strong {
    color: #00a650;
}

/* Reviews List */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.reviews-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #666;
}

.reviews-sort {
    padding: 8px 16px;
    border: 1px solid var(--ps-border);
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
}

.review-item {
    display: grid;
    grid-template-columns: 50px 1fr auto;
    gap: 16px;
    align-items: start;
    padding: 20px 0;
    border-bottom: 1px solid var(--ps-border);
}

.review-avatar {
    width: 50px;
    height: 50px;
    background: #f0f2f5;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
    color: #666;
    font-size: 0.9rem;
}

.review-content strong {
    display: block;
    color: #333;
    font-size: 0.9rem;
}

.review-content .verified {
    display: block;
    font-size: 0.75rem;
    color: var(--ps-blue);
    margin: 4px 0;
}

.review-content small {
    font-size: 0.75rem;
    color: #999;
}

.review-rating {
    color: var(--ps-yellow);
    font-size: 0.85rem;
}

.review-recommend {
    grid-column: 2 / -1;
    font-size: 0.8rem;
    color: #00a650;
}

.load-more-reviews {
    padding: 12px 30px;
    border: 1px solid var(--ps-border);
    border-radius: 6px;
    background: #fff;
    color: #555;
    font-size: 0.85rem;
    cursor: pointer;
    margin-top: 20px;
    align-self: center;
}

/* Q&A Section */
.qa-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--ps-border);
    text-align: center;
}

.qa-title {
    font-size: 1.1rem;
    color: var(--ps-blue);
    margin-bottom: 8px;
}

.qa-subtitle {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 20px;
}

.qa-input {
    width: 100%;
    max-width: 600px;
    height: 100px;
    padding: 16px;
    border: 1px solid var(--ps-border);
    border-radius: 8px;
    font-size: 0.9rem;
    resize: vertical;
    margin-bottom: 16px;
}

.qa-submit {
    padding: 12px 30px;
    background: var(--ps-blue);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

/* Related Products */
.related-products {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--ps-border);
}

.related-products h2 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 24px;
    text-align: center;
}

.related-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.related-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 4px 2px;
    flex: 1;
}

.related-grid::-webkit-scrollbar {
    height: 6px;
}

.related-grid::-webkit-scrollbar-thumb {
    background: #d9dce7;
    border-radius: 10px;
}

.related-arrow {
    width: 36px;
    height: 36px;
    border: 1px solid var(--ps-border);
    border-radius: 50%;
    background: #fff;
    color: var(--ps-blue);
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    flex-shrink: 0;
}

.related-arrow:hover {
    background: var(--ps-blue);
    color: #fff;
}

.product-card-mini {
    border: 1px solid var(--ps-border);
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    position: relative;
    display: block;
    color: inherit;
    text-decoration: none;
    min-width: 220px;
    flex: 0 0 220px;
}

.badge-mini {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #00a650;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
}

.product-card-mini img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
    margin-bottom: 12px;
}

.product-card-mini strong {
    display: block;
    font-size: 0.8rem;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
}

.price-mini {
    font-size: 0.9rem;
    font-weight: 700;
    color: #00a650;
}

.price-mini small {
    display: block;
    font-size: 0.75rem;
    color: #666;
    font-weight: 400;
}

@media (max-width: 900px) {
    .reviews-container {
        grid-template-columns: 1fr;
    }

    .related-arrow {
        display: none;
    }
}

@media (max-width: 600px) {
    .related-grid {
        gap: 14px;
    }
}

/* ============================================
   HERO SECTION OVERHAUL - MATCHING PRINT
   ============================================ */

/* Main Image Wrapper with arrows */
.product-main-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

/* DESCONTO Badge */
.product-main-image-wrapper .discount-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #6b2d8b;
    color: #f4c430;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
}

/* Gallery Navigation Arrows */
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 1px solid var(--ps-border);
    border-radius: 50%;
    background: #fff;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 5;
}

.gallery-arrow:hover {
    border-color: var(--ps-blue);
    color: var(--ps-blue);
}

.gallery-arrow.prev {
    left: -10px;
}

.gallery-arrow.next {
    right: -10px;
}

/* Product Attributes Row */
.product-attributes-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--ps-border);
}

.attr-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
    font-size: 0.85rem;
}

.attr-item i {
    font-size: 1.2rem;
    color: #888;
}

/* Energy Label Floating */
.energy-label-floating {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
}

.energy-label-floating img {
    width: 50px;
    height: auto;
}

/* Product Meta Row */
.product-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.product-meta-row .sku {
    font-size: 0.75rem;
    color: #888;
}

.product-meta-row .product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
}

.rating-count {
    font-size: 0.8rem;
    color: #666;
}

.rating-link {
    font-size: 0.8rem;
    color: var(--ps-blue);
    text-decoration: underline;
}

/* Price Box - New Hierarchy */
.price-box {
    background: #fff;
    padding: 0;
    margin: 16px 0;
}

.price-box .price-old {
    font-size: 0.85rem;
    color: #888;
    text-decoration: line-through;
    margin-bottom: 4px;
}

.price-box .price-main {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 8px;
}

.price-main .currency {
    font-size: 1rem;
    color: var(--ps-blue);
    font-weight: 600;
}

.price-main .value {
    font-size: 2rem;
    color: var(--ps-blue);
    font-weight: 800;
}

.price-main .pix-discount {
    font-size: 0.75rem;
    color: var(--ps-blue);
    font-weight: 500;
}

.price-installment {
    font-size: 0.8rem;
    color: #555;
    line-height: 1.5;
}

.price-installment strong {
    color: #333;
}

.price-installment .no-interest {
    color: #c00;
    text-decoration: line-through;
}

.price-installment a {
    color: var(--ps-blue);
}

/* Buy Row - Stepper + CTA */
.buy-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 20px 0;
}

/* Quantity Stepper */
.qty-stepper {
    display: flex;
    align-items: center;
    border: 1px solid var(--ps-border);
    border-radius: 6px;
    overflow: hidden;
}

.qty-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: background 0.2s;
}

.qty-btn:hover {
    background: #f5f5f5;
}

.qty-input {
    width: 50px;
    height: 44px;
    border: none;
    border-left: 1px solid var(--ps-border);
    border-right: 1px solid var(--ps-border);
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Buy Button */
.btn-buy-shelf {
    flex: 1;
    min-width: 200px;
    height: 48px;
    background: var(--ps-cyan);
    color: #0d2b3a;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s;
}

.btn-buy-shelf:hover {
    background: #5ac4e5;
}

.btn-buy-shelf i {
    font-size: 1.1rem;
}

/* Product Disclaimer */
.product-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    margin-top: 16px;
}

.product-disclaimer i {
    color: #888;
    margin-top: 2px;
}

.product-disclaimer span {
    font-size: 0.75rem;
    color: #666;
    line-height: 1.4;
}

/* Product Buttons Row */
.product-buttons-row {
    display: flex;
    gap: 12px;
    margin: 16px 0;
}

.btn-outline {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border: 2px solid var(--ps-blue);
    border-radius: 25px;
    background: #fff;
    color: var(--ps-blue);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-outline:hover {
    background: var(--ps-blue);
    color: #fff;
}

.btn-outline i {
    font-size: 0.9rem;
}

/* Responsive Hero */
@media (max-width: 992px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-gallery {
        grid-template-columns: 60px 1fr;
    }

    .energy-label-floating {
        display: none;
    }
}

@media (max-width: 576px) {
    .product-gallery {
        grid-template-columns: 1fr;
    }

    .product-thumbs {
        flex-direction: row;
        order: 1;
        justify-content: center;
    }

    .product-main-image-wrapper {
        order: 0;
        min-height: 280px;
    }

    .buy-row {
        flex-direction: column;
    }

    .btn-buy-shelf {
        width: 100%;
    }

    .product-buttons-row {
        flex-wrap: wrap;
    }

    .btn-outline {
        flex: 1 1 45%;
        justify-content: center;
    }
}

/* ============================================
   Q&A SECTION - MATCHING PRINT
   ============================================ */

.qa-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--ps-border);
}

.qa-title {
    font-size: 1.2rem;
    color: var(--ps-blue);
    text-align: center;
    font-weight: 600;
}

.qa-subtitle {
    text-align: center;
    color: #333;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Q&A Form */
.qa-form {
    max-width: 800px;
    margin: 0 auto 40px;
}

.qa-input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--ps-border);
    border-radius: 6px;
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
    margin-bottom: 16px;
}

.qa-fields {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.qa-field label {
    display: block;
    font-size: 0.8rem;
    color: #c00;
    margin-bottom: 4px;
}

.qa-field input,
.qa-field select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--ps-border);
    border-radius: 4px;
    font-size: 0.85rem;
}

.qa-consent {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.qa-consent input[type="checkbox"] {
    accent-color: var(--ps-blue);
}

.qa-consent label {
    font-size: 0.85rem;
    color: #333;
}

.qa-submit {
    background: var(--ps-blue);
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    float: right;
    transition: background 0.2s;
}

.qa-submit:hover {
    background: #4a0896;
}

/* Questions List */
.qa-list {
    max-width: 800px;
    margin: 40px auto;
}

.qa-item {
    border: 1px solid var(--ps-border);
    border-radius: 6px;
    margin-bottom: 16px;
    overflow: hidden;
}

.qa-question {
    padding: 16px;
    background: #f8f9fa;
}

.qa-question strong {
    color: var(--ps-blue);
    display: block;
    margin-bottom: 6px;
}

.qa-author {
    font-size: 0.75rem;
    color: #666;
}

.qa-answer {
    padding: 16px;
    border-left: 4px solid var(--ps-blue);
    background: #fff;
}

.qa-answer p {
    margin: 0 0 8px;
    font-size: 0.9rem;
    color: #333;
    line-height: 1.5;
}

.qa-response-author {
    font-size: 0.75rem;
    color: var(--ps-blue);
}

/* Pagination */
.qa-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 24px;
}

.qa-page-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--ps-border);
    border-radius: 4px;
    background: #fff;
    color: var(--ps-blue);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.qa-page-btn:hover:not(.disabled) {
    background: var(--ps-blue);
    color: #fff;
}

.qa-page-btn.active {
    background: var(--ps-blue);
    color: #fff;
    border-color: var(--ps-blue);
}

.qa-page-btn.disabled {
    color: #ccc;
    cursor: not-allowed;
}

/* ============================================
   TABS SECTION - MATCHING PRINT
   ============================================ */

.product-tabs {
    margin-top: 50px;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
}

.tab-nav-btn {
    padding: 12px 24px;
    border: none;
    background: transparent;
    color: var(--ps-blue);
    font-weight: 500;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.2s;
}

.tab-nav-btn:hover {
    background: #f0e8ff;
}

.tab-nav-btn.active {
    background: var(--ps-blue);
    color: #fff;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.tab-panel h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #333;
}

/* Vehicle List */
.vehicle-list {
    list-style: disc;
    padding-left: 24px;
    margin: 16px 0;
}

.vehicle-list li {
    padding: 6px 0;
    color: #555;
}

/* Responsive Q&A */
@media (max-width: 768px) {
    .qa-fields {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .qa-fields {
        grid-template-columns: 1fr;
    }

    .qa-submit {
        width: 100%;
        float: none;
    }
}

/* ============================================
   NEWSLETTER BANNER - MATCHING PRINT
   ============================================ */

.newsletter-banner {
    background: #6fd3f4;
    padding: 40px 0;
    text-align: center;
}

.newsletter-banner h2 {
    color: #1a1a2e;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto 16px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
}

.newsletter-form button {
    padding: 12px 24px;
    background: #ffd054;
    color: var(--ps-blue);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.newsletter-form button:hover {
    background: #ffcc3b;
}

.newsletter-banner p {
    font-size: 0.75rem;
    color: #1a1a2e;
    opacity: 0.7;
}

/* ============================================
   FOOTER - MATCHING PNEUSTORE
   ============================================ */

.ps-footer {
    background: #4a0786;
    color: #fff;
    padding: 50px 0 0;
}

.ps-footer a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
}

.ps-footer h4 {
    margin: 0 0 12px;
    font-size: 0.95rem;
    font-weight: 600;
}

.footer-logo {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 24px;
}

.footer-logo img {
    height: 40px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 20px;
}

.footer-columns p {
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 6px 0;
}

.footer-partners {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 12px;
}

.footer-partners img {
    height: 40px;
}

.footer-extra {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.footer-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-badge img {
    height: 52px;
}

.footer-social {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links img {
    width: 32px;
    height: 32px;
}

.footer-projects {
    margin-top: 24px;
}

.projects-grid {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.project-item img {
    height: 70px;
}

.footer-payments {
    margin-top: 30px;
    background: #fff;
    color: #333;
    padding: 16px;
    border-radius: 10px;
}

.footer-payments h4 {
    color: #333;
}

.payments-grid img {
    max-width: 100%;
    height: auto;
}

.footer-bottom {
    margin-top: 24px;
    background: #fff;
    color: #333;
    padding: 16px;
    text-align: center;
    font-size: 0.75rem;
}

/* Footer refinements to match PneuStore layout */
.ps-footer {
    background: #4b0ca7;
    color: #fff;
    padding: 36px 0 0;
}

.ps-footer a {
    color: #fff;
}

.ps-footer .footer-logo {
    padding: 4px 0 12px;
}

.ps-footer .footer-logo img {
    height: 34px;
    object-fit: contain;
}

.ps-footer .footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    padding: 8px 0 24px;
}

.ps-footer .footer-columns h4 {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 700;
}

.ps-footer .footer-columns a,
.ps-footer .footer-columns p {
    font-size: 12px;
    line-height: 1.5;
    margin: 0 0 6px;
    color: rgba(255, 255, 255, 0.9);
}

.ps-footer .footer-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.ps-footer .footer-partners img {
    height: 48px;
    max-width: 180px;
    object-fit: contain;
    background: #fff;
    padding: 4px 6px;
    border-radius: 6px;
}

.ps-footer .footer-extra {
    padding: 18px 0 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    align-items: start;
}

.ps-footer .footer-group h4 {
    margin: 0 0 8px;
    font-size: 13px;
}

.ps-footer .footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.ps-footer .footer-badge img {
    height: 44px;
    object-fit: contain;
    background: #fff;
    padding: 4px 6px;
    border-radius: 6px;
}

.ps-footer .footer-social {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    margin-top: 0;
}

.ps-footer .social-links {
    display: flex;
    gap: 12px;
}

.ps-footer .social-links img {
    width: 30px;
    height: 30px;
}

.ps-footer .footer-projects {
    padding: 16px 0 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    margin-top: 0;
}

.ps-footer .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    align-items: center;
}

.ps-footer .project-item img {
    height: 70px;
    object-fit: contain;
    background: #fff;
    padding: 6px;
    border-radius: 8px;
}

.ps-footer .footer-payments {
    background: #fff;
    color: #2b2b3b;
    padding: 18px 0 12px;
    margin-top: 18px;
    box-shadow: 0 0 0 100vmax #fff;
    clip-path: inset(0 -100vmax);
}

.ps-footer .footer-payments h4 {
    margin: 0 0 10px;
    font-size: 13px;
    color: #2b2b3b;
}

.ps-footer .payments-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.ps-footer .payments-grid img {
    height: 28px;
    object-fit: contain;
}

.ps-footer .payment-mobile {
    display: none;
}

.ps-footer .footer-payments p {
    margin: 10px 0 0;
    font-size: 12px;
    color: #6b6b82;
}

.ps-footer .footer-bottom {
    background: #fff;
    color: #6b6b82;
    font-size: 11px;
    padding: 10px 0 18px;
    box-shadow: 0 0 0 100vmax #fff;
    clip-path: inset(0 -100vmax);
    margin-top: 0;
}

@media (max-width: 840px) {
    .ps-footer .footer-social {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .ps-footer .payments-grid img {
        height: 24px;
    }

    .ps-footer .payment-desktop {
        display: none;
    }

    .ps-footer .payment-mobile {
        display: block;
    }
}

@media (max-width: 768px) {
    .footer-logo {
        justify-content: center;
    }

    .footer-columns,
    .footer-extra {
        grid-template-columns: 1fr;
    }

    .footer-payments {
        margin: 24px 16px 0;
    }
}

@media (max-width: 576px) {
    .newsletter-form {
        flex-direction: column;
        padding: 0 16px;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
}

/* ============================================
   MOBILE STICKY BUY BAR - MATCHING PRINT
   ============================================ */

.mobile-buy-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 12px 16px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mobile-buy-bar .price-info {
    flex: 1;
}

.mobile-buy-bar .price-old {
    font-size: 0.7rem;
    color: #888;
    text-decoration: line-through;
}

.mobile-buy-bar .price-main {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
}

.mobile-buy-bar .price-pix {
    font-size: 0.7rem;
    color: var(--ps-green);
}

.mobile-buy-bar .btn-buy-mobile {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--ps-green);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
}

.mobile-buy-bar .btn-buy-mobile i {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .mobile-buy-bar {
        display: flex;
    }

    /* Add bottom padding to prevent sticky bar overlap */
    body {
        padding-bottom: 80px;
    }

    /* Hide desktop buy button on mobile */
    .buy-row {
        display: none;
    }

    /* Mobile hero adjustments */
    .product-layout {
        gap: 20px;
    }

    .product-gallery {
        grid-template-columns: 1fr;
    }

    .product-thumbs {
        flex-direction: row;
        justify-content: center;
        order: 1;
        gap: 8px;
    }

    .thumb {
        width: 50px;
        height: 50px;
        padding: 4px;
    }

    .thumb img {
        max-height: 40px;
    }

    .product-main-image-wrapper {
        order: 0;
        min-height: 250px;
    }

    /* Gallery arrows closer on mobile */
    .gallery-arrow {
        width: 32px;
        height: 32px;
    }

    .gallery-arrow.prev {
        left: 5px;
    }

    .gallery-arrow.next {
        right: 5px;
    }

    /* Price box adjustments */
    .price-main .value {
        font-size: 1.6rem;
    }

    /* Buttons row wrap */
    .product-buttons-row {
        flex-wrap: wrap;
        gap: 8px;
    }

    .btn-outline {
        flex: 1 1 100%;
        justify-content: center;
        padding: 10px 14px;
        font-size: 0.8rem;
    }

    /* Product info spacing */
    .product-info {
        gap: 12px;
    }

    .product-info h1 {
        font-size: 1.1rem;
    }

    /* Tabs mobile */
    .tabs-nav {
        flex-wrap: wrap;
        gap: 6px;
    }

    .tab-nav-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    /* Specs table mobile */
    .specs-table {
        font-size: 0.85rem;
    }

    .specs-table td:first-child {
        width: 45%;
    }

    /* Q&A mobile */
    .qa-fields {
        grid-template-columns: 1fr;
    }

    .qa-pagination {
        flex-wrap: wrap;
    }

    /* Cross-sell cards mobile - 2 per row */
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-card-mini {
        padding: 10px;
    }

    .product-card-mini img {
        max-height: 100px;
    }

    .price-mini {
        font-size: 0.85rem;
    }

    /* Newsletter mobile */
    .newsletter-banner h2 {
        font-size: 1rem;
    }

    /* Hide energy label floating */
    .energy-label-floating {
        display: none;
    }
}

@media (max-width: 480px) {
    .product-thumbs {
        gap: 4px;
    }

    .thumb {
        width: 45px;
        height: 45px;
    }

    .product-main-image-wrapper {
        min-height: 200px;
    }

    .tabs-nav {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .tab-nav-btn {
        flex-shrink: 0;
    }
}
/* Gallery Variants */
.product-gallery .thumb img[src*='-2.'], .product-main-image img[src*='-2.'] { transform: scaleX(-1); }
.product-gallery .thumb img[src*='-3.'], .product-main-image img[src*='-3.'] { object-fit: cover; object-position: center; transform: scale(1.4); }
.product-gallery .thumb img[src*='-4.'], .product-main-image img[src*='-4.'] { object-fit: cover; object-position: top; transform: scale(1.6); }
