/* ===================================
   RESET E CONFIGURAÇÕES BASE
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #fff;
}

/* ===================================
   HEADER
   =================================== */
header {
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-top {
    padding: 8px 0;
    font-size: 0.85rem;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-main {
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.search-bar {
    flex: 1;
    max-width: 500px;
    margin: 0 2rem;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 12px 45px 12px 20px;
    border: none;
    border-radius: 25px;
    font-size: 0.95rem;
    outline: none;
}

.search-bar button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
}

.header-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.cart-btn {
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    transition: all 0.3s;
}

.cart-count {
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   NAVEGAÇÃO
   =================================== */
nav {
    padding: 0;
}

.nav-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.category-btn {
    background: none;
    border: none;
    padding: 1rem 0.8rem;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.category-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
}

/* ===================================
   CONTEÚDO PRINCIPAL
   =================================== */
main {
    min-height: calc(100vh - 300px);
    padding: 2rem 0;
}

.products-header {
    margin-bottom: 2rem;
}

.products-header h2 {
    font-size: 1.8rem;
}

/* ===================================
   CARD DO PRODUTO
   =================================== */
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.product-info {
    padding: 1.2rem;
}

.product-category {
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.add-to-cart-btn {
    width: 100%;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

/* ===================================
   DETALHES DO PRODUTO
   =================================== */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.product-detail-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
}

.product-detail-info {
    display: flex;
    flex-direction: column;
}

.product-detail-category {
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.product-detail-name {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.product-detail-price {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.product-detail-description {
    margin-bottom: 2rem;
    line-height: 1.8;
}

.product-options {
    margin-bottom: 2rem;
}

.option-group {
    margin-bottom: 1.5rem;
}

.option-label {
    font-weight: 600;
    margin-bottom: 0.8rem;
    display: block;
}

.option-buttons {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.option-btn {
    padding: 10px 20px;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.add-to-cart-detail {
    width: 100%;
    border: none;
    padding: 16px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s;
}

.add-to-cart-detail:hover {
    transform: translateY(-2px);
}


/* ===================================
   FOOTER
   =================================== */
footer {
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    text-align: center;
}

/* ===================================
   MENSAGEM DE SUCESSO
   =================================== */
.success-message {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 3000;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===================================
   RESPONSIVIDADE
   =================================== */

/* Tablets */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1.5rem;
    }
}

/* Tablets pequenos */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .search-bar {
        margin: 0;
        max-width: 100%;
        width: 100%;
    }

    .header-actions {
        width: 100%;
        justify-content: center;
    }

    .nav-container {
        gap: 0.5rem;
    }

    .category-btn {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }

    .product-image {
        height: 180px;
        font-size: 3rem;
    }

    .product-info {
        padding: 1rem;
    }

    .product-name {
        font-size: 1rem;
    }

    .product-price {
        font-size: 1.3rem;
    }

    .product-detail {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .product-detail-image {
        height: 300px;
        font-size: 6rem;
    }

    .product-detail-name {
        font-size: 1.5rem;
    }

    .product-detail-price {
        font-size: 2rem;
    }

    .cep-input-group {
        flex-direction: column;
    }

    .cep-btn {
        width: 100%;
    }
}

/* Mobile pequeno */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo {
        font-size: 1.3rem;
    }

    .logo-icon {
        width: 35px;
        height: 35px;
    }

    .header-top {
        font-size: 0.75rem;
    }

    .header-top .container {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .product-image {
        height: 150px;
        font-size: 2.5rem;
    }

    .product-info {
        padding: 0.8rem;
    }

    .product-category {
        font-size: 0.75rem;
    }

    .product-name {
        font-size: 0.9rem;
    }

    .product-price {
        font-size: 1.1rem;
    }

    .product-rating {
        font-size: 0.85rem;
    }

    .add-to-cart-btn {
        padding: 10px;
        font-size: 0.9rem;
    }

    .product-detail {
        padding: 1rem;
    }

    .product-detail-image {
        height: 250px;
        font-size: 5rem;
    }

    .product-detail-name {
        font-size: 1.3rem;
    }

    .product-detail-price {
        font-size: 1.8rem;
    }
}

.offer-price {
    color: #e63946;
    font-weight: bold;
    font-size: 1.1rem;
    margin-right: 8px;
}

.old-price {
    color: #929292;
    text-decoration: line-through;
    font-size: 0.9rem;
}




/* ============================================================
   PÁGINA DE PRODUTO - CSS COMPLETO E RESPONSIVO
   ============================================================ */

/* Reset e Container */
.product-page {
    background: #f5f5f5;
    min-height: 100vh;
    padding: 2rem 0;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 1rem 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb .separator {
    color: var(--border-color);
}

.breadcrumb .current {
    color: var(--text-dark);
    font-weight: 500;
}

/* ============================================================
   SEÇÃO PRINCIPAL DO PRODUTO
   ============================================================ */
.product-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* ============================================================
   GALERIA DE IMAGENS (SLIDER)
   ============================================================ */
.product-gallery {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.product-slider {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    background: #fafafa;
    user-select: none;
    border: 1px solid var(--border-color);
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.slider-slide {
    min-width: 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    background: white;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s;
}

.slider-slide:hover img {
    transform: scale(1.05);
}

/* Setas de navegação */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.2s;
    color: var(--text-dark);
}

.slider-arrow:hover {
    background: white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: 16px;
}

.slider-arrow.next {
    right: 16px;
}

/* Contador */
.slider-counter {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 20px;
    z-index: 10;
}

/* Dots indicadores */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.slider-dot.active {
    background: var(--primary-color);
    width: 24px;
    border-radius: 4px;
}

/* Ações (Favoritar e Compartilhar) */
.product-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    color: var(--text-dark);
}

.action-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.action-btn .icon {
    font-size: 1.2rem;
}

/* ============================================================
   INFORMAÇÕES DO PRODUTO
   ============================================================ */



/* Stats (Rating e Vendas) */
.product-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

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

.stars {
    color: #ffa500;
    font-size: 1rem;
}

.rating-number {
    font-weight: 600;
    color: var(--text-dark);
}

.rating-count {
    color: var(--text-light);
    font-size: 0.9rem;
}

.divider {
    color: var(--border-color);
}

.sales {
    display: flex;
    gap: 4px;
}

.sales-number {
    font-weight: 600;
    color: var(--text-dark);
}

.sales-text {
    color: var(--text-light);
}

/* Preços */
.price-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.current-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.original-price {
    font-size: 1.2rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.discount-badge {
    background: #fee2e2;
    color: #dc2626;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Calculadora de Frete */
.shipping-calculator {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-label .icon {
    font-size: 1.2rem;
}

.cep-input-group {
    display: flex;
    gap: 8px;
}

.cep-input {
    flex: 1;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.cep-input:focus {
    border-color: var(--primary-color);
}

.cep-btn {
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.cep-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.shipping-options {
    margin-top: 1rem;
    display: none;
}

.shipping-options.active {
    display: block;
}

/* Opções do Produto */
.product-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.option-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.option-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.option-btn {
    padding: 10px 20px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    color: var(--text-dark);
}

.option-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.option-btn.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

/* Seletor de Quantidade */
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.quantity-value {
    width: 60px;
    height: 40px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    outline: none;
}

.stock-info {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-left: 8px;
}

/* Botões de Ação */
.product-cta {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-add-cart,
.btn-buy-now {
    flex: 1;
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-add-cart {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-add-cart:hover {
    background: var(--primary-color);
    color: white;
}

.btn-buy-now {
    background: var(--primary-color);
    color: white;
}

.btn-buy-now:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Benefícios */
.product-benefits {
    background: #f0fdf4;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #bbf7d0;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    color: var(--text-dark);
}

.benefit-icon {
    color: #10b981;
    font-weight: 700;
    font-size: 1.1rem;
}

/* ============================================================
   ABAS DE INFORMAÇÕES
   ============================================================ */
.product-tabs {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tabs-header {
    display: flex;
    border-bottom: 2px solid var(--border-color);
    overflow-x: auto;
}

.tab-btn {
    padding: 1.2rem 2rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-light);
    transition: all 0.2s;
    white-space: nowrap;
}

.tab-btn:hover {
    color: var(--primary-color);
    background: #f8f9fa;
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
    padding: 2rem;
}

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

/* Descrição */
.description-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.product-description {
    white-space: pre-wrap;
    word-wrap: break-word;
    line-height: 1.8;
    color: var(--text-dark);
    font-family: inherit;
    margin: 0;
}

/* Especificações */
.specifications-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid var(--border-color);
}

.specs-table td {
    padding: 1rem;
}

.spec-label {
    font-weight: 600;
    color: var(--text-dark);
    width: 40%;
}

.spec-value {
    color: var(--text-light);
}

.no-specs {
    text-align: center;
    padding: 3rem !important;
    color: var(--text-light);
}

/* ============================================================
   AVALIAÇÕES
   ============================================================ */
.reviews-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Resumo das Avaliações */
.reviews-summary {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.summary-left {
    text-align: center;
}

.average-rating {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.average-stars {
    font-size: 1.5rem;
    margin: 0.5rem 0;
}

.total-reviews {
    color: var(--text-light);
    font-size: 0.95rem;
}

.summary-right {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    justify-content: center;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stars-label {
    min-width: 50px;
    font-size: 0.9rem;
}

.bar-container {
    flex: 1;
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: #ffa500;
    border-radius: 4px;
    transition: width 0.3s;
}

.rating-bar .count {
    min-width: 40px;
    text-align: right;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Filtro de Avaliações */
.reviews-filter {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    color: var(--text-dark);
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Lista de Avaliações */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-item {
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: white;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    gap: 12px;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.reviewer-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.reviewer-name {
    font-weight: 600;
    color: var(--text-dark);
}

.review-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

.review-rating {
    color: #ffa500;
    font-size: 1.1rem;
}

.review-content {
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.review-images {
    display: flex;
    gap: 8px;
    margin-top: 1rem;
}

.review-images img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
    border: 1px solid var(--border-color);
}

.review-images img:hover {
    transform: scale(1.05);
}

.seller-response {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-left: 3px solid var(--primary-color);
    border-radius: 4px;
}

.response-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.response-text {
    color: var(--text-dark);
    line-height: 1.6;
}

.no-reviews {
    text-align: center;
    padding: 4rem 2rem;
}

.no-reviews-icon {
    font-size: 5rem;
    opacity: 0.2;
    margin-bottom: 1rem;
}

.no-reviews p {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.no-reviews .subtitle {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ============================================================
   PRODUTOS RELACIONADOS
   ============================================================ */
.related-products {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

/* ============================================================
   RESPONSIVIDADE
   ============================================================ */

/* Tablets */
@media (max-width: 1024px) {
    .product-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-gallery {
        position: relative;
        top: 0;
    }

    .product-slider {
        height: 400px;
    }

    .reviews-summary {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .product-page {
        padding: 1rem 0;
    }

    .product-main {
        padding: 1.5rem;
    }

    .product-name {
        font-size: 1.5rem;
    }

    .current-price {
        font-size: 2rem;
    }

    .product-slider {
        height: 300px;
        border-radius: 8px;
    }

    .slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

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

    .tabs-header {
        gap: 0;
    }

    .tab-btn {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }

    .tab-content {
        padding: 1.5rem;
    }

    .specs-table td {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .spec-label {
        width: 35%;
    }

    .reviews-summary {
        padding: 1.5rem;
    }

    .average-rating {
        font-size: 3rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        font-size: 0.8rem;
        overflow-x: auto;
        white-space: nowrap;
    }

    .product-slider {
        height: 250px;
    }

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

    .cep-input-group {
        flex-direction: column;
    }

    .cep-btn {
        width: 100%;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   PÁGINA DO CARRINHO - CSS COMPLETO E RESPONSIVO
   ============================================================ */

.cart-page {
    background: #f5f5f5;
    min-height: 100vh;
    padding: 2rem 0;
}

.cart-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* ============================================================
   CARRINHO VAZIO
   ============================================================ */
.empty-cart {
    background: white;
    border-radius: 12px;
    padding: 5rem 2rem;
    text-align: center;
    margin-top: 2rem;
}

.empty-cart-icon {
    font-size: 6rem;
    opacity: 0.2;
    margin-bottom: 1.5rem;
}

.empty-cart h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.empty-cart p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.btn-continue-shopping {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-continue-shopping:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ============================================================
   CABEÇALHO DO CARRINHO
   ============================================================ */
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 0 1.5rem;
}

.cart-header h1 {
    font-size: 2rem;
    color: var(--text-dark);
}

/* ============================================================
   LAYOUT DO CARRINHO
   ============================================================ */
.cart-content {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: start;
}

/* ============================================================
   LISTA DE ITENS
   ============================================================ */
.cart-items {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
}

/* Cabeçalho da Lista (apenas desktop) */
.cart-items-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 50px;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 2px solid var(--border-color);
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Item do Carrinho */
.cart-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 50px;
    gap: 1rem;
    padding: 1.5rem 1rem;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
}

.cart-item:last-child {
    border-bottom: none;
}

/* Produto */
.item-product {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.item-image {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.item-name {
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.item-name:hover {
    color: var(--primary-color);
}

.item-attributes {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.attribute {
    font-size: 0.85rem;
    color: var(--text-light);
}

.stock-warning {
    font-size: 0.85rem;
    color: #f59e0b;
    font-weight: 500;
}

.stock-out {
    font-size: 0.85rem;
    color: var(--danger-color);
    font-weight: 500;
}

/* Preço */
.item-price {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.item-price .current-price {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.item-price .old-price {
    font-size: 0.9rem;
    color: var(--text-light);
    text-decoration: line-through;
}

/* Quantidade */
.item-quantity {
    display: flex;
    justify-content: center;
}

.quantity-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 4px;
}

.qty-btn {
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.qty-btn:hover {
    color: var(--primary-color);
}

.qty-input {
    width: 50px;
    text-align: center;
    border: none;
    outline: none;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
}

/* Total do Item */
.item-total {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
    text-align: right;
}

/* Ações */
.item-actions {
    display: flex;
    justify-content: center;
}

.btn-remove {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.3rem;
    padding: 0.5rem;
    color: var(--text-light);
    transition: all 0.2s;
}

.btn-remove:hover {
    color: var(--danger-color);
    transform: scale(1.1);
}

/* Ações do Carrinho (continuar comprando) */
.cart-actions-bottom {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.btn-continue {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-continue:hover {
    color: var(--primary-dark);
    padding-left: 5px;
}

/* ============================================================
   RESUMO DO PEDIDO
   ============================================================ */
.cart-summary {
    position: sticky;
    top: 100px;
}

.summary-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.summary-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

/* Cupom */
.coupon-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.coupon-form {
    display: flex;
    gap: 0.5rem;
}

.coupon-input {
    flex: 1;
    padding: 10px 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.coupon-input:focus {
    border-color: var(--primary-color);
}

.coupon-btn {
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.coupon-btn:hover {
    background: var(--primary-dark);
}

.coupon-applied {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: #d1fae5;
    color: #065f46;
    border-radius: 6px;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.coupon-remove {
    background: none;
    border: none;
    color: #065f46;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
}

/* Frete */
.shipping-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.shipping-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.cep-group {
    display: flex;
    gap: 0.5rem;
}

.cep-input {
    flex: 1;
    padding: 10px 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.cep-input:focus {
    border-color: var(--primary-color);
}

.cep-btn {
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.cep-btn:hover {
    background: var(--primary-dark);
}

.shipping-result {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.shipping-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.shipping-type {
    font-weight: 600;
    color: var(--text-dark);
}

.shipping-time {
    font-size: 0.85rem;
    color: var(--text-light);
}

.shipping-price {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
}

/* Barra de Progresso Frete Grátis */
.free-shipping-progress {
    margin-top: 1rem;
}

.progress-text {
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.progress-bar {
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--success-color));
    border-radius: 4px;
    transition: width 0.3s;
}

/* Valores do Resumo */
.summary-values {
    margin-bottom: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    font-size: 1rem;
    color: var(--text-dark);
}

.summary-row.discount {
    color: var(--success-color);
}

.summary-row.total {
    border-top: 2px solid var(--border-color);
    margin-top: 0.5rem;
    padding-top: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.summary-row.total span:last-child {
    color: var(--primary-color);
}

.text-muted {
    color: var(--text-light);
    font-size: 0.9rem;
}

.text-success {
    color: var(--success-color);
    font-weight: 600;
}

/* Botão de Checkout */
.btn-checkout {
    width: 100%;
    background: var(--success-color);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 1.5rem;
}

.btn-checkout:hover:not(:disabled) {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-checkout:disabled {
    background: var(--border-color);
    cursor: not-allowed;
    opacity: 0.6;
}

/* Formas de Pagamento */
.payment-methods {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
    text-align: center;
    margin-bottom: 1rem;
}

.methods-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.methods-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.payment-icon {
    font-size: 1.8rem;
}

.methods-text {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Selos de Segurança */
.security-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: 6px;
}

.badge-icon {
    font-size: 1.2rem;
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* ============================================================
   PRODUTOS RECOMENDADOS
   ============================================================ */
.recommended-products {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}



/* ============================================================
   RESPONSIVIDADE
   ============================================================ */

/* Tablets */
@media (max-width: 1024px) {
    .cart-content {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: relative;
        top: 0;
    }

    .cart-items-header {
        grid-template-columns: 2fr 0.8fr 0.8fr 0.8fr 50px;
        font-size: 0.8rem;
    }

    .cart-item {
        grid-template-columns: 2fr 0.8fr 0.8fr 0.8fr 50px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .cart-page {
        padding: 1rem 0;
    }

    .cart-header h1 {
        font-size: 1.5rem;
    }

    .cart-items-header {
        display: none;
    }

    .cart-item {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        margin-bottom: 1rem;
    }

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

    .item-image {
        width: 100%;
        height: 200px;
    }

    .item-price,
    .item-quantity,
    .item-total {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .item-price::before {
        content: 'Preço:';
        font-weight: 600;
        color: var(--text-dark);
    }

    .item-quantity::before {
        content: 'Quantidade:';
        font-weight: 600;
        color: var(--text-dark);
    }

    .item-total::before {
        content: 'Total:';
        font-weight: 600;
        color: var(--text-dark);
    }

    .item-actions {
        justify-content: flex-end;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .cart-items {
        padding: 0.5rem;
    }

    .empty-cart {
        padding: 3rem 1.5rem;
    }

    .empty-cart-icon {
        font-size: 4rem;
    }

    .empty-cart h2 {
        font-size: 1.5rem;
    }

    .cep-group {
        flex-direction: column;
    }

    .cep-btn {
        width: 100%;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   PÁGINA DE CHECKOUT - CSS COMPLETO E RESPONSIVO
   ============================================================ */

.checkout-page {
    background: #f5f5f5;
    min-height: 100vh;
    padding: 2rem 0;
}

.checkout-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 1rem 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb .separator {
    color: var(--border-color);
}

.breadcrumb .current {
    color: var(--text-dark);
    font-weight: 500;
}

/* ============================================================
   CABEÇALHO E STEPS
   ============================================================ */
.checkout-header {
    margin: 2rem 0;
}

.checkout-header h1 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.checkout-steps {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
}

.step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--border-color);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: all 0.3s;
}

.step.active .step-number {
    background: var(--primary-color);
    color: white;
}

.step-label {
    font-weight: 600;
    color: var(--text-light);
}

.step.active .step-label {
    color: var(--primary-color);
}

/* ============================================================
   LAYOUT DO CHECKOUT
   ============================================================ */
.checkout-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
    align-items: start;
}

/* ============================================================
   SEÇÕES DO FORMULÁRIO
   ============================================================ */
.checkout-forms {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.checkout-section {
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.section-header {
    padding: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-header h2 {
    font-size: 1.3rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-icon {
    font-size: 1.5rem;
}

.btn-secondary {
    padding: 8px 16px;
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.section-content {
    padding: 1.5rem;
}

/* ============================================================
   FORMULÁRIOS
   ============================================================ */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-input {
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.form-input:focus {
    border-color: var(--primary-color);
}

.input-with-button {
    display: flex;
    gap: 0.5rem;
}

.input-with-button .form-input {
    flex: 1;
}

.btn-search-cep {
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-search-cep:hover {
    background: var(--primary-dark);
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-checkbox label {
    cursor: pointer;
    color: var(--text-dark);
}

/* ============================================================
   ENDEREÇOS SALVOS
   ============================================================ */
.saved-addresses {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.address-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.address-card:hover {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.02);
}

.address-radio {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.address-radio:checked ~ .address-content {
    color: var(--primary-color);
}

.address-card:has(.address-radio:checked) {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
}

.address-content {
    flex: 1;
}

.address-main {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.address-main strong {
    font-size: 1.05rem;
}

.badge-primary {
    padding: 4px 10px;
    background: var(--primary-color);
    color: white;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.address-details {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================================
   FORMAS DE PAGAMENTO
   ============================================================ */
.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.payment-method-card {
    display: block;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.payment-method-card:hover {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.02);
}

.payment-method-card:has(.payment-radio:checked) {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
}

.payment-radio {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.payment-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.payment-icon {
    font-size: 2.5rem;
}

.payment-info {
    flex: 1;
}

.payment-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.payment-desc {
    font-size: 0.85rem;
    color: var(--text-light);
}

.payment-badge {
    position: absolute;
    top: -8px;
    right: 1rem;
    background: var(--success-color);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* ============================================================
   RESUMO DO PEDIDO
   ============================================================ */
.checkout-summary {
    position: sticky;
    top: 100px;
}

.summary-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.summary-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

/* Produtos no Resumo */
.summary-products {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    max-height: 300px;
    overflow-y: auto;
}

.summary-product-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.summary-product-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

.summary-product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.summary-product-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.summary-product-details {
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    gap: 0.5rem;
}

.summary-product-details span:not(:last-child)::after {
    content: '•';
    margin-left: 0.5rem;
}

.summary-product-qty {
    font-size: 0.85rem;
    color: var(--text-light);
}

.summary-product-price {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1rem;
}

/* Totais */
.summary-totals {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    color: var(--text-dark);
}

.summary-row.discount {
    color: var(--success-color);
}

.summary-row.total {
    border-top: 2px solid var(--border-color);
    padding-top: 1rem;
    margin-top: 0.5rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.summary-row.total span:last-child {
    color: var(--primary-color);
}

/* Botão Finalizar */
.btn-finalize {
    width: 100%;
    background: var(--success-color);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 1rem;
}

.btn-finalize:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Termos */
.terms-notice {
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    font-size: 0.85rem;
}

.terms-checkbox {
    display: flex;
    gap: 0.5rem;
    cursor: pointer;
}

.terms-checkbox input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}

.terms-checkbox a {
    color: var(--primary-color);
    text-decoration: none;
}

.terms-checkbox a:hover {
    text-decoration: underline;
}

/* ============================================================
   RESPONSIVIDADE
   ============================================================ */

/* Tablets */
@media (max-width: 1024px) {
    .checkout-content {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: relative;
        top: 0;
    }

    .payment-methods-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .checkout-page {
        padding: 1rem 0;
    }

    .checkout-header h1 {
        font-size: 1.5rem;
    }

    .checkout-steps {
        gap: 1.5rem;
        padding: 1rem;
    }

    .step {
        flex-direction: column;
        text-align: center;
        gap: 0.25rem;
    }

    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .step-label {
        font-size: 0.85rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .btn-secondary {
        width: 100%;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .address-card {
        flex-direction: column;
    }

    .summary-products {
        max-height: 250px;
    }
}

@media (max-width: 480px) {
    .checkout-steps {
        gap: 1rem;
    }

    .step-label {
        display: none;
    }

    .section-content {
        padding: 1rem;
    }

    .input-with-button {
        flex-direction: column;
    }

    .btn-search-cep {
        width: 100%;
    }
}