/* Estilos personalizados para la tienda */

/* Variables */
:root {
    --primary-color: #EF3D33; /* Rojo de la landing */
    --primary-light: #FF6B61;
    --secondary-color: #2C3E50; /* Azul oscuro */
    --accent-color: #3498DB;
    --light-color: #F8F9FA;
    --white-color: #FFFFFF;
    --text-color: #555555;
    --text-light: #777777;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.15);
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 12px;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

/* Generales */
body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--dark-color);
    margin-bottom: 0.75em;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

a{
    text-decoration: none !important;
}
/* Navbar */
.navbar-brand {
    font-size: 1.5rem;
}
.navbar .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .navbar .logo {
            display: flex;
            align-items: center;
        }
        
        .navbar .logo img {
            max-height: 70px;
            transition: transform 0.3s ease;
            padding: 10px;
        }
        
        .navbar .logo:hover img {
              transform: scale(1.05);
        }
        
        .nav-links {
            display: flex;
            list-style: none;
            margin: 0;
            padding: 0;
        }
        
        .nav-links li {
            margin: 0 15px;
        }
        
        .nav-links a {
            color: var(--dark-color);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
        }
    
.espaciador{
        padding-top: 100px;
    }

/* Botones */
.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    border: none;
    box-shadow: 0 4px 15px rgba(239, 61, 51, 0.3);
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--primary-color);
    box-shadow: 0 8px 25px rgba(239, 61, 51, 0.4);
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-3px);
}

.product-card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.product-img-container {
    overflow: hidden;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
}

.product-img {
    max-height: 180px !important;
    max-width: 100% !important;
    object-fit: cover !important;
}

.product-card .card-body {
    padding: 1rem;
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    height: 3rem;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.product-category {
    font-size: 0.8rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.product-stock {
    margin-bottom: 0.5rem;
}

/* Estados de stock */
.stock-badge {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.stock-available {
    background-color: var(--success-color);
    color: white;
}

.stock-low {
    background-color: var(--warning-color);
    color: black;
}

.stock-out {
    background-color: var(--danger-color);
    color: white;
}

.stock-order {
    background-color: rgb(25, 102, 255);
    color: white;
}

.stock-soon {
    background-color: orange;
    color: white;
}

/* Botones del carrito */
.btn-add-cart {
    width: 100%;
}

/* Categorías en sección destacada */
.category-card {
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
    color: var(--primary-color);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Banner hero */
.hero-banner {
    background-size: cover;
    background-position: center;
    padding: 5rem 1rem;
    color: white;
    position: relative;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* Carrito */
.cart-item {
    border-bottom: 1px solid #eee;
    padding: 1rem 0;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-img {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

.cart-quantity {
    width: 70px;
}

/* Página de detalle de producto */
.product-detail-img {
    max-height: 400px;
    object-fit: contain;
}

.product-detail-thumbs img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    border: 1px solid #dee2e6;
    padding: 2px;
}

.product-detail-thumbs img.active {
    border-color: var(--primary-color);
}

/* Formulario de pedido */
.checkout-summary {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0.25rem;
}

/* Loading spinner */
.loading {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 767.98px) {
    .product-img-container {
        height: 150px;
    }
    
    .product-img {
        max-height: 140px;
    }
    
    .hero-banner {
        padding: 3rem 1rem;
    }
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.toast {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 10px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.3s ease-out, fadeOut 0.5s ease-out 2.5s forwards;
    overflow: hidden;
    max-width: 350px;
}

.toast-success {
    border-left: 4px solid #28a745;
}

.toast-info {
    border-left: 4px solid #17a2b8;
}

.toast-warning {
    border-left: 4px solid #ffc107;
}

.toast-error {
    border-left: 4px solid #dc3545;
}

.toast-icon {
    margin-right: 12px;
    font-size: 1.25rem;
}

.toast-success .toast-icon {
    color: #28a745;
}

.toast-info .toast-icon {
    color: #17a2b8;
}

.toast-warning .toast-icon {
    color: #ffc107;
}

.toast-error .toast-icon {
    color: #dc3545;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: bold;
    margin-bottom: 2px;
}

.toast-message {
    margin: 0;
}

.toast-close {
    background: none;
    border: none;
    color: #6c757d;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0;
    margin-left: 10px;
}

@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; visibility: hidden; }
}
/* Estilos para los menús desplegables */
.dropdown-menu.show {
    display: block;
}
.dropdown-item.active {
    background-color: #0d6efd;
    color: white;
}
/* Cards de produtos menores - apenas para página inicial */
.products-section .product-card {
    max-width: 320px; /* Limitar largura máxima */
    margin: 0 auto; /* Centralizar */
}

.products-section .product-image {
    height: 200px; /* Reduzir altura da imagem */
}

.products-section .product-info {
    padding: 20px; /* Reduzir padding */
}

.products-section .product-title {
    font-size: 1.1rem; /* Reduzir tamanho do título */
    height: 2.2rem; /* Ajustar altura */
    line-height: 1.1;
}

.products-section .product-category {
    font-size: 0.8rem;
    margin-bottom: 8px;
}

.products-section .product-actions {
    gap: 8px;
}

.products-section .product-actions .btn,
.products-section .product-actions .btn-add-cart {
    padding: 8px 12px;
    font-size: 0.85rem;
}

/* Grid responsivo para cards menores */
@media (min-width: 1200px) {
    .products-section .row.product-grid {
        justify-content: center;
    }
    
    .products-section .col-md-4 {
        flex: 0 0 auto;
        width: 30%;
        max-width: 350px;
    }
}

@media (max-width: 1199px) {
    .products-section .col-md-4 {
        flex: 0 0 auto;
        width: 50%;
    }
}

@media (max-width: 700px) {
    .products-section .col-md-4 {
        width: 100%;
        max-width: 400px;
    }
    
    .products-section .product-card {
        max-width: 100%;
    }
}
/* Banner de cookies */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(44, 62, 80, 0.98);
    backdrop-filter: blur(10px);
    color: white;
    padding: 20px 0;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s ease-out;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.3);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner.hide {
    transform: translateY(100%);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text h5 {
    color: #EF3D33;
    margin-bottom: 8px;
    font-weight: 600;
}

.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-text a {
    color: #EF3D33;
    text-decoration: underline;
}

.cookie-text a:hover {
    color: #ff6b61;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: #EF3D33;
    color: white;
}

.cookie-btn-accept:hover {
    background: #d63031;
    transform: translateY(-1px);
}

.cookie-btn-decline {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-decline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.cookie-btn-settings {
    background: transparent;
    color: #EF3D33;
    border: 1px solid #EF3D33;
    font-size: 0.8rem;
    padding: 8px 16px;
}

.cookie-btn-settings:hover {
    background: #EF3D33;
    color: white;
}

/* Modal de configurações de cookies */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.cookie-modal-title {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-modal-close:hover {
    color: #333;
}

.cookie-category {
    margin-bottom: 25px;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cookie-category-title {
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.cookie-category.essential .cookie-category-title {
    color: #27ae60;
}

.cookie-category.analytics .cookie-category-title {
    color: #3498db;
}

.cookie-category.marketing .cookie-category-title {
    color: #e74c3c;
}

.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-switch input:checked + .cookie-slider {
    background-color: #EF3D33;
}

.cookie-switch input:checked + .cookie-slider:before {
    transform: translateX(26px);
}

.cookie-switch.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-switch.disabled .cookie-slider {
    cursor: not-allowed;
}

.cookie-category-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.cookie-modal-footer {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.cookie-modal-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-modal-btn-save {
    background: #EF3D33;
    color: white;
}

.cookie-modal-btn-save:hover {
    background: #d63031;
}

.cookie-modal-btn-accept-all {
    background: #27ae60;
    color: white;
}

.cookie-modal-btn-accept-all:hover {
    background: #229954;
}

.cookie-modal-btn-reject-all {
    background: transparent;
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

.cookie-modal-btn-reject-all:hover {
    background: #e74c3c;
    color: white;
}

/* Responsivo */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cookie-modal-content {
        padding: 20px;
        margin: 10px;
    }
    
    .cookie-modal-footer {
        flex-direction: column;
    }
    
    .cookie-modal-btn {
        width: 100%;
    }
}

/* Indicador de cookies aceitos */
.cookies-accepted-indicator {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(39, 174, 96, 0.9);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    z-index: 9999;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.3s ease;
}

.cookies-accepted-indicator.show {
    opacity: 1;
    transform: translateY(0);
}

.cookies-accepted-indicator i {
    margin-right: 5px;
}

/* Estilos adicionales para el header */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            padding: 10px 0;
            z-index: 1000;
            transition: all 0.4s ease;
            backdrop-filter: blur(10px);
            background: rgba(255, 255, 255, 0.9);
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
        }

        .navbar.scrolled {
            padding: 15px 0;
            background: rgba(255, 255, 255, 0.98);
            box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
        }

        .navbar .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .navbar .logo {
            font-family: var(--font-heading);
            font-weight: 800;
            font-size: 1.8rem;
            color: var(--dark-color);
            text-decoration: none;
            display: flex;
            align-items: center;
        }

        .navbar .logo img {
            margin-right: 10px;
            transition: var(--transition);
        }

        .navbar .logo:hover img {
            transform: scale(1.05);
        }

        .nav-links {
            display: flex;
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .nav-links li {
            margin-left: 30px;
            position: relative;
        }

        .nav-links a {
            font-weight: 500;
            color: var(--dark-color);
            font-size: 0.95rem;
            position: relative;
            padding: 5px 0;
            text-decoration: none;
        }

        .nav-links a:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary-color);
            transition: var(--transition);
        }

        .nav-links a:hover:after {
            width: 100%;
        }

        .nav-icons {
            display: flex;
            align-items: center;
        }

        .nav-icons a {
            color: var(--dark-color);
            font-size: 1.2rem;
            margin-left: 15px;
            position: relative;
        }
/* === NAVEGAÇÃO ATIVA SIMPLIFICADA === */

/* Link ativo no menu principal */
.nav-links a.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.nav-links a.active:after {
    width: 100% !important;
    background: var(--primary-color);
}

/* Melhorias no dropdown */
.dropdown-content {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    min-width: 200px;
}

.dropdown-content a {
    padding: 10px 16px !important;
    transition: all 0.2s ease;
}

.dropdown-content a:hover {
    background-color: rgba(239, 61, 51, 0.1) !important;
    color: var(--primary-color) !important;
    padding-left: 20px !important;
}

/* Menu móvel */
@media (max-width: 992px) {
    .nav-links a.active {
        background: rgba(239, 61, 51, 0.1);
        border-radius: 6px;
    }
    
    .nav-links a {
        padding: 12px 20px;
        margin: 4px 0;
        border-radius: 6px;
    }
}

/* === MODAL DE CONFIRMAÇÃO MELHORADO === */

/* Modal que não pode ser fechado facilmente */
.modal[data-bs-backdrop="static"] .modal-dialog {
    transform: scale(1);
    transition: transform 0.3s ease;
}

.modal[data-bs-backdrop="static"].show .modal-dialog {
    animation: modalZoomIn 0.3s ease;
}

@keyframes modalZoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Cards de informação */
.info-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Animações de sucesso */
.success-animation i {
    display: inline-block;
}

/* Botões melhorados */
.btn-lg {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-lg:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-success:hover {
    background-color: #198754;
    border-color: #157347;
}

/* Contador de redirecionamento */
#countdown-timer {
    animation: pulseCounter 1s infinite;
}

@keyframes pulseCounter {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    .modal-lg {
        margin: 10px;
    }
    
    .info-card {
        margin-bottom: 15px;
    }
    
    .btn-lg {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}

/* Estado de loading melhorado */
.btn-loading {
    position: relative;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* === MOBILE LANDSCAPE (CELULARES PEQUENOS DEITADOS) === */
@media (max-width: 768px) and (orientation: landscape) {
    .navbar {
        padding: 15px 0;
    }
    .espaciador{
        padding-top: 40px;
    }
    
    .navbar .container {
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        margin: 0px;
    }
    
    .navbar .logo img {
        max-height: 40px;
        padding: 2px;
    }
    
    /* Search form compacta em landscape */
    .search-form {
        margin-right: 5px;
        flex: 1;
        max-width: 200px;
    }
    
    .search-form input {
        padding: 6px 12px;
        padding-right: 35px;
        font-size: 0.85rem;
    }
    
    .search-form button {
        padding: 0 12px;
    }
    
    .nav-icons a {
        font-size: 1rem;
        margin-left: 15px;
    }
    
    /* Menu toggle menor */
    .menu-toggle {
        font-size: 1.3rem;
    }
    
    /* Spacer menor */
    .navbar + div {
        padding-top: 60px !important;
    }
}

/* === MOBILE PORTRAIT (TODOS OS CELULARES EM PÉ) === */
@media (max-width: 768px) and (orientation: portrait) {

    .navbar {
        padding: 5px 0;
        }

    .nav-icons a {
        font-size: 1rem;
    }
    
    .espaciador{
        padding-top: 80px;
    }
    
    .navbar .logo img {
        max-height: 45px;
        padding: 5px;
    }
    
    /* Segunda linha: Buscador */
    .search-form {
        width: 200px;
        margin: 0;
        margin-top: 8px;
    }
    
    .search-form input {
        padding: 10px 5px;
        padding-right: 45px;
        border-radius: 25px;
        font-size: 0.9rem;
    }
    
    .search-form button {
        padding: 0 15px;
    }
    
    /* Spacer maior para acomodar as duas linhas */
    .navbar + div {
        padding-top: 120px !important;
    }
}

/* Modal de Compartilhamento */
.modal-share {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-share-content {
    background: white;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-share-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.modal-share-header h3 {
    margin: 0;
    color: #333;
}

.btn-close-modal {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-close-modal:hover {
    color: #333;
}

.modal-share-body {
    padding: 20px;
}

.share-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.share-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 10px;
    border: 2px solid #eee;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #333;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.share-btn i {
    font-size: 24px;
    margin-bottom: 8px;
}

.share-btn span {
    font-size: 12px;
    font-weight: 500;
}

/* Cores específicas para cada rede social */
.share-btn.whatsapp:hover { border-color: #25d366; color: #25d366; }
.share-btn.facebook:hover { border-color: #1877f2; color: #1877f2; }
.share-btn.twitter:hover { border-color: #1da1f2; color: #1da1f2; }
.share-btn.linkedin:hover { border-color: #0a66c2; color: #0a66c2; }
.share-btn.telegram:hover { border-color: #0088cc; color: #0088cc; }
.share-btn.email:hover { border-color: #ea4335; color: #ea4335; }
.share-btn.copy:hover { border-color: #6c757d; color: #6c757d; }

/* Responsivo */
@media (max-width: 480px) {
    .share-options {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .share-btn {
        padding: 12px 8px;
    }
    
    .share-btn i {
        font-size: 20px;
    }
}