/* ==========================================================
NEXTTECH CASA - CSS PROFISSIONAL
Header com tag <img> (sem cortar, sem espaços)
========================================================== */

:root {
    --primary-color: #0033C6;
    --primary-dark: #002288;
    --primary-light: #1a4fd6;
    --accent-color: #00A650;
    --accent-hover: #008f45;
    --text-main: #333333;
    --text-light: #666666;
    --text-dark: #1a1a1a;
    --bg-body: #F4F5F7;
    --bg-white: #FFFFFF;
    --bg-light: #f9f9f9;
    --border-color: #E0E0E0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 12px;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ==========================================================
CABEÇALHO PRINCIPAL (INDEX) - COM TAG <img>
========================================================== */
.header {
    position: relative;
    z-index: 100;
}

/* ✅ HEADER COM IMAGEM 100% LARGURA (SEM CORTAR, SEM ESPAÇOS) */
.logo-background {
    width: 100%;
    line-height: 0;
    overflow: hidden;
}

.header-img {
    width: 100%;
    height: auto;
    display: block;
}

.header-overlay {
    position: relative;
    padding: 12px 16px;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 2;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.header-spacer {
    display: none;
}

.search-bar {
    flex: 1;
    display: flex;
    border: 2px solid var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-white);
    min-width: 0;
    box-shadow: var(--shadow-md);
}

.search-bar input {
    flex: 1;
    padding: 10px 12px;
    border: none;
    outline: none;
    font-size: 0.9rem;
    min-width: 0;
}

.search-btn {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border: none;
    padding: 0 16px;
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.search-btn:hover {
    background-color: var(--primary-dark);
}

.header-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.cart-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    background-color: var(--bg-white);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-fast);
    white-space: nowrap;
    box-shadow: var(--shadow-md);
}

.cart-btn:hover {
    background-color: #e0e0e0;
}

.cart-icon {
    font-size: 1.2rem;
}

.cart-count {
    background-color: var(--accent-color);
    color: var(--bg-white);
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0 4px;
}

.category-nav {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.category-list {
    display: flex;
    gap: 20px;
    padding: 12px 16px;
    white-space: nowrap;
}

.category-list li a {
    font-weight: 500;
    font-size: 0.85rem;
    transition: var(--transition-fast);
    cursor: pointer;
    display: inline-block;
}

.category-list li a:hover {
    opacity: 0.8;
}

/* ==========================================================
BANNER CARROSSEL
========================================================== */
.promo-banner {
    margin: 16px 0;
    transition: var(--transition-normal);
}

.promo-banner.hidden {
    display: none;
}

.carousel {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background-color: #ddd;
    height: 200px;
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    color: var(--bg-white);
    padding: 20px;
    max-width: 100%;
    text-align: left;
}

.slide-content h2 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    line-height: 1.2;
}

.slide-content p {
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.btn-slide {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--bg-white);
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: bold;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.btn-slide:hover {
    background-color: var(--accent-hover);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
}

.carousel-btn:hover {
    background: var(--bg-white);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 12px;
}

.carousel-btn.next {
    right: 12px;
}

.carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition-fast);
}

.dot.active {
    background: var(--bg-white);
    width: 24px;
    border-radius: 4px;
}

/* ==========================================================
BENEFÍCIOS
========================================================== */
.benefits {
    background-color: var(--bg-white);
    padding: 24px 0;
    margin-bottom: 24px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    text-align: center;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px;
}

.benefit-icon {
    font-size: 1.8rem;
}

.benefit-item h3 {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
}

.benefit-item p {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ==========================================================
VITRINE DE PRODUTOS
========================================================== */
.main-content {
    padding-bottom: 40px;
}

.category-section {
    margin-bottom: 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
    gap: 12px;
}

.section-title {
    font-size: 1.2rem;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.ver-todos {
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    white-space: nowrap;
}

.ver-todos:hover {
    text-decoration: underline;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.product-card {
    background-color: var(--bg-white);
    border-radius: var(--radius);
    padding: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.product-image-container {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    background-color: var(--bg-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.product-image-container img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.product-name {
    font-size: 0.85rem;
    color: var(--text-main);
    margin-bottom: 8px;
    line-height: 1.3;
    height: 2.6em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-weight: 500;
}

.product-price-old {
    font-size: 0.75rem;
    color: #999;
    text-decoration: line-through;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 4px 0;
}

.product-installments {
    font-size: 0.7rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.btn-add-cart {
    margin-top: auto;
    background-color: var(--accent-color);
    color: var(--bg-white);
    border: none;
    padding: 10px;
    border-radius: var(--radius);
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition-fast);
    width: 100%;
    font-size: 0.85rem;
}

.btn-add-cart:hover {
    background-color: var(--accent-hover);
}

.btn-show-more {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 0.9rem;
}

.btn-show-more:hover {
    background-color: var(--primary-dark);
}

/* ==========================================================
MODAL DE PRODUTO
========================================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow-y: auto;
}

.modal-content {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: var(--bg-light);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.modal-close:hover {
    background: var(--border-color);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
}

.modal-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
    border-radius: var(--radius);
    padding: 20px;
    min-height: 200px;
}

.modal-image-container img {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
}

.modal-info-container h2 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 16px;
    line-height: 1.3;
}

.modal-precos {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.modal-preco-principal {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
}

.modal-parcelas {
    font-size: 0.9rem;
    color: var(--text-light);
}

.modal-pix {
    font-size: 1rem;
    color: var(--accent-color);
    font-weight: 600;
}

.modal-descricao {
    margin-bottom: 20px;
}

.modal-descricao h3 {
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 8px;
    font-weight: 600;
}

.modal-descricao p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.9rem;
}

.btn-add-cart-modal {
    width: 100%;
    background-color: var(--accent-color);
    color: var(--bg-white);
    border: none;
    padding: 14px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-add-cart-modal:hover {
    background-color: var(--accent-hover);
}

/* ==========================================================
MODAL DE CARRINHO
========================================================== */
.modal-carrinho {
    max-width: 400px;
}

.carrinho-modal-body {
    padding: 30px 20px;
    text-align: center;
}

.carrinho-success-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.carrinho-modal-body h2 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.carrinho-modal-body p {
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.carrinho-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-ir-carrinho {
    display: block;
    background-color: var(--accent-color);
    color: var(--bg-white);
    padding: 14px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    transition: var(--transition-fast);
}

.btn-ir-carrinho:hover {
    background-color: var(--accent-hover);
}

.btn-continuar-comprando {
    background-color: var(--bg-body);
    color: var(--text-main);
    padding: 14px;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-continuar-comprando:hover {
    background-color: var(--bg-white);
    border-color: var(--primary-color);
}

/* ==========================================================
MODAL DE POLÍTICAS
========================================================== */
.modal-politica {
    max-width: 600px;
}

#politicaConteudo {
    padding: 40px 20px 20px;
}

#politicaConteudo h2 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

#politicaConteudo p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ==========================================================
PROVA SOCIAL
========================================================== */
.testimonials {
    background-color: var(--bg-white);
    padding: 40px 0;
    text-align: center;
}

.testimonials .section-title {
    justify-content: center;
    margin-bottom: 8px;
}

.testimonials .section-subtitle {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: left;
}

.testimonial-card {
    background-color: var(--bg-body);
    padding: 20px;
    border-radius: var(--radius);
    border-left: 4px solid var(--accent-color);
}

.stars {
    color: #FFD700;
    margin-bottom: 8px;
    font-size: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 16px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    font-weight: 600;
    font-size: 0.9rem;
}

.author-location {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 400;
}

/* ==========================================================
RODAPÉ
========================================================== */
.footer {
    background-color: #1a1a1a;
    color: #cccccc;
    padding: 40px 0 20px;
    font-size: 0.85rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h3 {
    color: var(--bg-white);
    margin-bottom: 16px;
    font-size: 1rem;
    font-weight: 700;
}

.footer-col p {
    margin-bottom: 8px;
    line-height: 1.5;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a:hover {
    color: var(--bg-white);
    cursor: pointer;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 0.75rem;
}

.footer-bottom p {
    margin-bottom: 4px;
}

/* ==========================================================
WHATSAPP FLUTUANTE
========================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: var(--bg-white);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: var(--transition-fast);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: white;
}

/* ==========================================================
CHECKOUT
========================================================== */
.checkout-header {
    border-bottom: 1px solid var(--border-color);
}

.secure-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.85rem;
}

.checkout-main {
    padding: 24px 0;
}

.checkout-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--primary-dark);
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.form-section {
    background-color: var(--bg-white);
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.section-heading {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    font-weight: 700;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group.full-width {
    grid-column: span 1;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
}

.form-group input,
.form-group select {
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
    width: 100%;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 51, 198, 0.1);
}

.cep-status {
    font-size: 0.8rem;
    margin-top: 4px;
}

.shipping-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shipping-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition-fast);
    gap: 12px;
}

.shipping-option:hover {
    border-color: var(--primary-color);
    background-color: #f9faff;
}

.shipping-option input {
    margin-right: 0;
}

.shipping-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.shipping-title {
    font-weight: 600;
    font-size: 0.9rem;
}

.shipping-time {
    font-size: 0.8rem;
    color: var(--text-light);
}

.shipping-price {
    font-weight: bold;
    color: var(--accent-color);
    white-space: nowrap;
}

.summary-box {
    background-color: var(--bg-white);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.cart-items {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.cart-item {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    align-items: center;
}

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 4px;
    line-height: 1.3;
}

.cart-item-price {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.summary-totals {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.total-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.total-line.grand-total {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-color);
    border-top: 1px solid var(--border-color);
    padding-top: 10px;
    margin-top: 10px;
}

.btn-whatsapp {
    width: 100%;
    background-color: #25D366;
    color: var(--bg-white);
    border: none;
    padding: 14px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.btn-whatsapp:hover {
    background-color: #128C7E;
}

.payment-methods {
    margin-top: 16px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-light);
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.empty-cart-msg {
    text-align: center;
    padding: 20px;
    color: var(--text-light);
}

.empty-cart-msg a {
    color: var(--primary-color);
    font-weight: 600;
}

.checkout-footer {
    padding: 20px 0;
    text-align: center;
    font-size: 0.8rem;
}

/* ==========================================================
CHECKOUT - HEADER COM TAG <img> (SEM CORTAR, SEM ESPAÇOS)
========================================================== */
.checkout-header-custom {
    position: relative;
    width: 100%;
    z-index: 100;
}

/* ✅ IMAGEM DO CHECKOUT - 100% LARGURA */
.checkout-header-bg {
    width: 100%;
    line-height: 0;
    overflow: hidden;
}

.checkout-header-img {
    width: 100%;
    height: auto;
    display: block;
}

/* BARRA VERDE COM TEXTO "AMBIENTE 100% SEGURO" */
.checkout-secure-bar {
    background-color: var(--bg-white);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.secure-badge-checkout {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.secure-icon {
    font-size: 1.5rem;
}

.secure-text {
    color: var(--accent-color);
    font-weight: 700;
}

/* ==========================================================
TABLET - 768px
========================================================== */
@media (min-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .header-overlay {
        padding: 14px 24px;
    }

    .search-bar input {
        padding: 12px 16px;
        font-size: 1rem;
    }

    .search-btn {
        padding: 0 20px;
    }

    .carousel {
        height: 300px;
    }

    .slide-content h2 {
        font-size: 1.8rem;
    }

    .slide-content p {
        font-size: 1.1rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .product-image-container {
        height: 180px;
    }

    .product-name {
        font-size: 0.9rem;
    }

    .product-price {
        font-size: 1.2rem;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .checkout-grid {
        grid-template-columns: 1.5fr 1fr;
    }

    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-group.full-width {
        grid-column: span 2;
    }

    .modal-body {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        padding: 30px;
    }

    .modal-content {
        max-width: 800px;
    }

    .modal-image-container {
        min-height: 300px;
    }

    .modal-image-container img {
        max-height: 400px;
    }

    .modal-info-container h2 {
        font-size: 1.5rem;
    }

    .modal-preco-principal {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .checkout-title {
        font-size: 1.8rem;
    }

    .summary-box {
        position: sticky;
        top: 20px;
    }

    .checkout-secure-bar {
        padding: 15px 0;
    }

    .secure-badge-checkout {
        font-size: 1.2rem;
    }
}

/* ==========================================================
DESKTOP - 1024px (TROCA A IMAGEM PARA DESKTOP)
========================================================== */
@media (min-width: 1024px) {
    /* ✅ TROCA A IMAGEM DO HEADER PARA VERSÃO DESKTOP */
    .header-img {
        content: url('header-desktop.png');
    }

    .checkout-header-img {
        content: url('header-desktop.png');
    }

    .header-overlay {
        padding: 16px 30px;
    }

    .header-content {
        justify-content: space-between;
    }

    .header-spacer {
        display: block;
        flex: 1;
        max-width: none;
    }

    .search-bar {
        flex: 0.8;
        max-width: 500px;
        margin-left: auto;
        border: 2px solid var(--border-color);
    }

    .header-actions {
        flex: 0.2;
        justify-content: flex-end;
    }

    .cart-btn {
        padding: 12px 16px;
        background-color: var(--bg-white);
        box-shadow: var(--shadow-sm);
    }

    .category-list {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
        padding: 12px 0;
    }

    .carousel {
        height: 400px;
    }

    .slide-content {
        padding: 40px;
        max-width: 500px;
    }

    .slide-content h2 {
        font-size: 2.5rem;
    }

    .slide-content p {
        font-size: 1.2rem;
    }

    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .product-image-container {
        height: 200px;
    }

    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
    }

    .whatsapp-float {
        bottom: 30px;
        right: 30px;
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .checkout-secure-bar {
        padding: 18px 0;
    }
}

/* ==========================================================
DESKTOP GRANDE - 1200px+
========================================================== */
@media (min-width: 1200px) {
    .container {
        max-width: 1280px;
    }

    .products-grid {
        gap: 24px;
    }

    .product-card {
        padding: 16px;
    }

    .product-image-container {
        height: 220px;
    }
}

/* ==========================================================
AJUSTES FINOS E ACESSIBILIDADE
========================================================== */

*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-body);
}

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #999;
}

::selection {
    background: var(--primary-color);
    color: var(--bg-white);
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

@media print {

    .header,
    .footer,
    .whatsapp-float,
    .carousel-btn,
    .btn-add-cart {
        display: none !important;
    }

    body {
        background: white;
    }
}