:root {
    --primary-color: #000000;
    --primary-hover: #1a1a1a;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --orange-color: #ff6b35;
    --green-button: #22c55e;
    --green-button-hover: #16a34a;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --bg-light: #f8fafc;
    --bg-dark: #000000;
    --border-color: #e2e8f0;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--white);
}

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

/* ============================================ */
/* BARRA DE FRETE GRÁTIS */
/* ============================================ */

.free-shipping-bar {
    background: linear-gradient(90deg, #1a1a1a 0%, #000000 50%, #1a1a1a 100%);
    padding: 14px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.free-shipping-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.free-shipping-bar p {
    color: var(--orange-color);
    font-weight: 800;
    font-size: 1rem;
    margin: 0;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ============================================ */
/* HEADER */
/* ============================================ */

.header {
    background: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    flex-shrink: 0;
}

.logo img {
    height: 60px;
    width: auto;
}

.search-bar {
    flex: 1;
    max-width: 600px;
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s;
}

.search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.search-input::placeholder {
    color: var(--text-secondary);
}

.search-button {
    position: absolute;
    right: 5px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.search-button:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}

.cart-icon {
    position: relative;
    cursor: pointer;
    padding: 12px;
    border-radius: 10px;
    transition: all 0.3s;
    flex-shrink: 0;
}

.cart-icon:hover {
    background-color: var(--bg-light);
}

.cart-icon svg {
    width: 26px;
    height: 26px;
}

.cart-count {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.4);
}

/* ============================================ */
/* BANNER PRINCIPAL */
/* ============================================ */

.main-banner {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 35px 0;
    margin: 0;
}

.banner-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
}

.banner-img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================ */
/* SEÇÃO DE COMBOS (FUNDO BRANCO) */
/* ============================================ */

.combos-section {
    background: var(--white);
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
}

.combos-section .section-title {
    color: var(--text-primary);
}

.combos-section .view-all {
    color: var(--orange-color);
}

.combos-section .view-all:hover {
    color: var(--primary-color);
}

/* ============================================ */
/* SEÇÃO DE LIVROS (FUNDO BRANCO) */
/* ============================================ */

.products-section {
    background: var(--white);
    padding: 40px 0 50px 0;
    border-top: 1px solid var(--border-color);
}

.products-section .section-title {
    color: var(--text-primary);
}

.products-section .view-all {
    color: var(--primary-color);
}

.products-section .view-all:hover {
    color: var(--primary-hover);
}

/* ============================================ */
/* HEADERS DAS SEÇÕES */
/* ============================================ */

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--bg-light);
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    margin: 0;
    position: relative;
    padding-left: 20px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 70%;
    background: var(--orange-color);
    border-radius: 3px;
}

.view-all {
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    padding: 8px 16px;
    border-radius: 8px;
}

.view-all:hover {
    background: var(--bg-light);
}

/* ============================================ */
/* GRID DE PRODUTOS */
/* ============================================ */

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

/* ============================================ */
/* CARDS DE PRODUTOS - MELHORADO */
/* ============================================ */

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    position: relative;
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--orange-color);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.5);
    letter-spacing: 0.5px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #000000;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.05);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
    border-color: transparent;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover::after {
    opacity: 1;
}

.product-image {
    width: 100%;
    height: 270px;
    object-fit: contain;
    padding: 20px 20px 8px 20px;
    background: #fafafa;
}

.product-info {
    padding: 12px 18px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
    background: var(--white);
}

.product-name {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
    line-height: 1.35;
    min-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
    line-height: 1;
}

.btn-add-cart {
    width: 100%;
    padding: 12px 20px;
    background: var(--green-button);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
    margin-top: 0;
    text-transform: none;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.2);
}

.btn-add-cart:hover {
    background: var(--green-button-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.35);
}

.btn-add-cart svg {
    flex-shrink: 0;
}

/* ============================================ */
/* SEÇÃO DE EBOOKS */
/* ============================================ */

.ebooks-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    padding: 60px 0 80px 0;
    margin-top: 60px;
    border-top: 4px solid var(--orange-color);
}

.ebooks-section .section-title {
    color: var(--white);
    text-align: center;
    margin-bottom: 8px;
}

.section-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin: 0 0 48px 0;
}

.ebooks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.ebook-card {
    background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
    border-radius: 16px;
    padding: 32px 24px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.ebook-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--orange-color), var(--green-button));
    opacity: 0;
    transition: opacity 0.3s;
}

.ebook-card:hover {
    transform: translateY(-8px);
    border-color: var(--orange-color);
    box-shadow: 0 16px 40px rgba(255, 107, 53, 0.2);
}

.ebook-card:hover::before {
    opacity: 1;
}

.ebook-icon {
    font-size: 4rem;
    text-align: center;
    margin: 0;
    line-height: 1;
}

.ebook-flag {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 2rem;
}

.ebook-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    line-height: 1.4;
    min-height: 56px;
}

.ebook-author {
    font-size: 0.9rem;
    color: var(--orange-color);
    margin: -8px 0 0 0;
    font-weight: 600;
}

.ebook-language {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 107, 53, 0.2);
    color: var(--orange-color);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--orange-color);
}

.ebook-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.btn-amazon {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #FF9900 0%, #FF8000 100%);
    color: #000;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(255, 153, 0, 0.3);
}

.btn-amazon:hover {
    background: linear-gradient(135deg, #FFB340 0%, #FF9000 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 153, 0, 0.5);
}

.amazon-logo {
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: -1px;
}

/* ============================================ */
/* RODAPÉ */
/* ============================================ */

.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    color: var(--white);
    padding: 60px 0 0 0;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 16px 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--orange-color);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: var(--orange-color);
    border-color: var(--orange-color);
    transform: translateY(-3px);
}

.payment-methods {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}

.payment-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.payment-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin: 0;
}

.footer-bottom {
    padding: 30px 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ============================================ */
/* BUSCA - MENSAGEM SEM RESULTADOS */
/* ============================================ */

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-light);
    border-radius: 16px;
    border: 2px dashed var(--border-color);
}

.no-results svg {
    color: var(--text-secondary);
    margin-bottom: 24px;
    opacity: 0.5;
}

.no-results h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 0 0 12px 0;
}

.no-results p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0 0 24px 0;
}

.no-results strong {
    color: var(--primary-color);
}

.btn-clear-search {
    padding: 12px 32px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

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

/* ============================================ */
/* BUSCA - MENSAGEM SEM RESULTADOS */
/* ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-light);
    border-radius: 16px;
    border: 2px dashed var(--border-color);
    animation: fadeIn 0.3s ease;
}

.no-results svg {
    color: var(--text-secondary);
    margin-bottom: 24px;
    opacity: 0.5;
}

.no-results h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 0 0 12px 0;
}

.no-results p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0 0 16px 0;
}

.no-results .search-tip {
    font-size: 0.9rem;
    color: var(--text-secondary);
    background: rgba(255, 107, 53, 0.1);
    padding: 12px 20px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 24px;
}

.no-results strong {
    color: var(--orange-color);
    font-weight: 700;
}

.btn-clear-search {
    padding: 12px 32px;
    background: var(--green-button);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-clear-search:hover {
    background: var(--green-button-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

/* ============================================ */
/* PÁGINA DO CARRINHO */
/* ============================================ */

.cart-empty {
    text-align: center;
    padding: 80px 20px;
}

.cart-empty svg {
    color: var(--secondary-color);
    margin-bottom: 24px;
}

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

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

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

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

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.cart-title {
    font-size: 2rem;
    color: var(--text-primary);
    margin: 0;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.cart-item {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 20px;
    align-items: center;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 8px;
    background: var(--bg-light);
    padding: 10px;
}

.cart-item-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-item-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.cart-item-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-quantity {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border-color);
    background: var(--white);
    color: var(--text-primary);
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s;
}

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

.quantity-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    min-width: 30px;
    text-align: center;
}

.btn-remove {
    padding: 8px 16px;
    background: transparent;
    color: var(--danger-color);
    border: 1px solid var(--danger-color);
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-remove:hover {
    background: var(--danger-color);
    color: var(--white);
}

.cart-summary {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-row:last-child {
    border-bottom: none;
    padding-top: 24px;
}

.summary-label {
    font-size: 1rem;
    color: var(--text-secondary);
}

.summary-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.summary-total {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
}

.btn-checkout {
    width: 100%;
    padding: 16px;
    background: var(--green-button);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 24px;
}

.btn-checkout:hover {
    background: var(--green-button-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.3);
}

/* ============================================ */
/* NOTIFICAÇÕES */
/* ============================================ */

.notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--success-color);
    color: var(--white);
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateX(400px);
    transition: transform 0.3s;
    z-index: 1000;
}

.notification.show {
    transform: translateX(0);
}

.notification p {
    margin: 0;
    font-weight: 600;
}

/* ============================================ */
/* MODAL */
/* ============================================ */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-cart {
    background: var(--white);
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(-20px);
    transition: all 0.3s ease;
}

.modal-overlay.show .modal-cart {
    transform: scale(1) translateY(0);
}

.modal-header {
    text-align: center;
    padding: 32px 24px 24px;
    border-bottom: 1px solid var(--border-color);
}

.check-icon {
    color: var(--success-color);
    margin-bottom: 16px;
}

.modal-header h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 0;
}

.modal-body {
    padding: 24px;
}

.modal-product {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 16px;
    background: var(--bg-light);
    border-radius: 12px;
    margin-bottom: 20px;
}

.modal-product-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
    background: var(--white);
    padding: 8px;
}

.modal-product-info {
    flex: 1;
}

.modal-product-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.modal-product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.modal-cart-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: 12px;
}

.modal-cart-info p {
    display: flex;
    justify-content: space-between;
    margin: 0;
    font-size: 1rem;
}

.modal-cart-info span {
    color: var(--primary-color);
    font-weight: 600;
}

.modal-actions {
    display: flex;
    gap: 12px;
    padding: 24px;
    border-top: 1px solid var(--border-color);
}

.btn-continue {
    flex: 1;
    padding: 14px 20px;
    background: var(--white);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-continue:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: var(--bg-light);
}

.btn-go-cart {
    flex: 1;
    padding: 14px 20px;
    background: var(--green-button);
    color: var(--white);
    border: 2px solid var(--green-button);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-go-cart:hover {
    background: var(--green-button-hover);
    border-color: var(--green-button-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

/* ============================================ */
/* RESPONSIVO */
/* ============================================ */

@media (max-width: 768px) {
    .banner-wrapper {
        border-radius: 12px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    }
    
    .main-banner {
        padding: 30px 0;
    }
    
    .header .container {
        display: grid;
        grid-template-columns: auto 1fr auto;
        gap: 12px;
        align-items: center;
    }
    
    .logo {
        grid-column: 1;
        grid-row: 1;
    }
    
    .search-bar {
        grid-column: 2;
        grid-row: 1;
        max-width: 100%;
    }
    
    .cart-icon {
        grid-column: 3;
        grid-row: 1;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 24px;
    }
    
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 12px;
    }
    
    .cart-item-image {
        width: 80px;
        height: 80px;
    }
    
    .cart-item-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .cart-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .modal-cart {
        margin: 20px;
        max-width: calc(100% - 40px);
    }

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

    .btn-continue,
    .btn-go-cart {
        width: 100%;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer {
        padding: 50px 0 0 0;
        margin-top: 60px;
    }
    
    .logo img {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .header .container {
        grid-template-columns: auto auto;
        grid-template-rows: auto auto;
    }
    
    .logo {
        grid-column: 1;
        grid-row: 1;
    }
    
    .cart-icon {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }
    
    .search-bar {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .free-shipping-bar p {
        font-size: 0.85rem;
        letter-spacing: 1px;
    }
    
    .section-title {
        font-size: 1.3rem;
        padding-left: 16px;
    }
    
    .section-title::before {
        width: 4px;
    }
    
    .logo img {
        height: 45px;
    }
}
