/* ============================================ */
/* VARIABLES GLOBALES                           */
/* ============================================ */
:root {
    --primary-color: #2D6A4F;
    --primary-dark: #1B4D3E;
    --secondary-color: #E76F51;
    --accent-color: #F4A261;
    --gray-bg: #F8F9FA;
    --text-dark: #212529;
    --text-muted: #6C757D;
    --border-radius-card: 16px;
    --border-radius-button: 40px;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 12px 28px rgba(0, 0, 0, 0.15);
}

* {
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #F1F1F1;
    color: var(--text-dark);
}

.text-primary {
    color: var(--primary-dark) !important;
}

/* ============================================ */
/* SECCIÓN: HEADER / NAVBAR                     */
/* ============================================ */
.navbar {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    padding: 0.4rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Ajuste para el logo dentro del navbar */
.navbar.scrolled .navbar-brand img {
    transition: width 0.3s ease;
}

.navbar.scrolled .navbar-brand img {
    width: 40px;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.navbar-brand i {
    color: var(--secondary-color);
    margin-right: 8px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: var(--border-radius-button);
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    border-radius: var(--border-radius-button);
}

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


/* ============================================ */
/* SECCIÓN: HERO - VIDEO DE FONDO               */
/* ============================================ */
.hero-section {
    position: relative;
    min-height: 550px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

#heroVideo {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 80px 0;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.text-highlight {
    color: var(--secondary-color);
    position: relative;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.search-box {
    max-width: 600px;
    margin: 0 auto;
}

.search-box .input-group-text {
    border-radius: 40px 0 0 40px;
    padding-left: 20px;
    border-right: none;
}

.search-box .form-control {
    border-radius: 0;
    padding: 14px 16px;
    font-size: 1rem;
    border-left: none;
    border-right: none;
}

.search-box .form-control:focus {
    box-shadow: none;
    border-color: #ced4da;
}

.search-box .search-btn {
    border-radius: 0 40px 40px 0;
    padding: 14px 28px;
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.search-box .search-btn:hover {
    background-color: #d45a3a;
    border-color: #d45a3a;
}


@media(max-width: 768px) {
    .search-box {
        padding: 0 20px;
    }
}

/* ============================================ */
/* SECCIÓN: CATEGORÍAS (CON SOMBRAS Y CARDS)    */
/* ============================================ */
.categories-section {
    padding: 60px 0;
    background-color: var(--gray-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 1.875rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.category-card {
    background: white;
    border-radius: 20px;
    padding: 24px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.category-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.category-icon i {
    color: var(--primary-color);
}

.category-card span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

/* ============================================ */
/* SECCIÓN: NEGOCIOS DESTACADOS                 */
/* ============================================ */
.featured-section {
    padding: 60px 0;
    background-color: white;
}

.business-card {
    background: white;
    border-radius: var(--border-radius-card);
    padding: 24px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    height: 100%;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.business-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.business-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #d45a3a 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(231, 111, 81, 0.3);
}

.business-logo {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    object-fit: cover;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.business-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.business-rating {
    color: var(--accent-color);
    margin-bottom: 12px;
    font-size: 0.875rem;
    font-weight: 500;
}

.business-location {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.business-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: white;
    padding: 8px 20px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.business-whatsapp:hover {
    background: #128C7E;
    color: white;
    transform: scale(1.02);
}

/* ============================================ */
/* SECCIÓN: RECIÉN LLEGADOS                     */
/* ============================================ */
.recent-section {
    padding: 60px 0;
    background-color: var(--gray-bg);
}

.recent-list {
    max-width: 800px;
    margin: 0 auto;
}

.recent-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: white;
    border-radius: 16px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.recent-item:hover {
    background: white;
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.recent-logo {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

.recent-info {
    flex: 1;
}

.recent-name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 4px;
}

.recent-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.recent-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.recent-link:hover {
    color: var(--secondary-color);
    transform: translateX(3px);
}

/* ============================================ */
/* SECCIÓN: CTA - INVITACIÓN                    */
/* ============================================ */
.cta-section {
    padding: 60px 0;
    background-color: white;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 24px;
    padding: 48px;
    color: white;
    box-shadow: var(--shadow-md);
}

.cta-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-card .btn-light {
    background-color: white;
    color: var(--primary-color);
    border-radius: var(--border-radius-button);
    padding: 12px 32px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta-card .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* ============================================ */
/* SECCIÓN: FOOTER                              */
/* ============================================ */
.footer {
    background-color: #1a1a1a;
    color: #999;
    padding: 48px 0 24px;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.footer-brand img {
    width: 150px;
    display: block;
    margin: 0 auto;
}

.footer-brand i {
    color: var(--secondary-color);
}

.footer h5 {
    color: white;
    font-size: 1rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    margin-top: 32px;
    border-top: 1px solid #333;
    font-size: 0.875rem;
}

/* ============================================ */
/* RESPONSIVE                                   */
/* ============================================ */
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-section {
        min-height: 450px;
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .category-card {
        padding: 16px 8px;
    }

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

    .category-card span {
        font-size: 0.8rem;
    }

    .cta-card {
        padding: 32px 24px;
        text-align: center;
    }

    .business-card {
        margin-bottom: 16px;
    }
}

@media (max-width: 576px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .hero-section {
        min-height: 400px;
    }

    .hero-content {
        padding: 60px 0;
    }

    .footer-brand img {
        width: 60%;
    }
}




/* ============================================ */
/* SECCIÓN: RESULTADOS DE BÚSQUEDA              */
/* ============================================ */

/* Search Header */
.search-header-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 30px 0;
}

.search-header-box {
    max-width: 700px;
    margin: 0 auto;
}

.search-header-box .input-group-text {
    border-radius: 40px 0 0 40px;
    padding-left: 20px;
}

.search-header-box .form-control {
    border-radius: 0;
    padding: 14px 16px;
    font-size: 1rem;
}

.search-header-box .search-btn {
    border-radius: 0 40px 40px 0;
    padding: 14px 28px;
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.search-header-box .search-btn:hover {
    background-color: #d45a3a;
}

/* Filters Card */
.filters-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 90px;
}

.filters-card h5 {
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.filter-group {
    margin-bottom: 20px;
}

.filter-label {
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 8px;
    display: block;
    color: var(--text-dark);
}

.filter-label input {
    margin-right: 8px;
}

/* Results Header */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.results-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-dark);
}

.sort-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sort-box label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.sort-box .form-select {
    width: auto;
    border-radius: 40px;
    padding: 6px 32px 6px 16px;
}

/* Result Card */
.result-card {
    background: white;
    border-radius: var(--border-radius-card);
    padding: 20px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.result-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.result-logo {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    object-fit: cover;
    flex-shrink: 0;
}

.result-content {
    flex: 1;
    min-width: 200px;
}

.result-header {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.result-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-dark);
}

.premium-badge {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #d45a3a 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
}

.result-rating {
    color: var(--accent-color);
    font-size: 0.875rem;
    margin-bottom: 8px;
}

.result-description {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 12px;
    line-height: 1.5;
}

.result-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.result-meta span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.result-meta i {
    margin-right: 4px;
    color: var(--primary-color);
}

.result-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: white;
    padding: 8px 20px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.result-whatsapp:hover {
    background: #128C7E;
    color: white;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
}

.no-results i {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.no-results h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .result-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .result-logo {
        width: 60px;
        height: 60px;
    }

    .results-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .search-header-section {
        padding: 20px 0;
    }
}




/* ============================================ */
/* SECCIÓN: PERFIL DE NEGOCIO                   */
/* ============================================ */

/* Portada */
.cover-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

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

.premium-cover-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #d45a3a 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

/* Sidebar */
.business-profile-section {
    padding: 40px 0 60px;
    background-color: var(--gray-bg);
}

.business-sidebar {
    background: white;
    border-radius: 24px;
    padding: 32px 24px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 90px;
    text-align: center;
}

.business-logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.business-logo-large {
    width: 140px;
    height: 140px;
    border-radius: 30px;
    object-fit: cover;
    box-shadow: var(--shadow-md);
    border: 4px solid white;
}

.business-logo-small {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: var(--shadow-md);
    border: 4px solid white;
}

.premium-badge-side {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #d45a3a 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
}

.business-sidebar h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.business-rating-large {
    color: var(--accent-color);
    font-size: 1rem;
    margin-bottom: 16px;
    font-weight: 500;
}

.business-category,
.business-location {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 12px;
}

.business-category i,
.business-location i {
    color: var(--primary-color);
    margin-right: 6px;
}

.btn-whatsapp-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 12px 24px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    margin: 20px 0;
}

.btn-whatsapp-large:hover {
    background: #128C7E;
    color: white;
    transform: translateY(-2px);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gray-bg);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

.social-link.instagram {
    background: linear-gradient(45deg,
            /* Dirección: 45 grados */
            #f09433 0%,
            /* Inicio en 0% */
            #e6683c 30%,
            /* Cambia en 30% */
            #dc2743 60%,
            /* Cambia en 60% */
            #cc2366 80%,
            /* Cambia en 80% */
            #bc1888 100%
            /* Final en 100% */
        );
}

.social-link.facebook {
    background: #1877F2;
}

.social-link.tiktok {
    background: #000000;
}

/* Cards de sección */
.business-card-section {
    background: white;
    border-radius: 24px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.business-card-section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.business-card-section h3 i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.business-card-section p {
    color: var(--text-muted);
    line-height: 1.6;
}

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

.product-card {
    background: var(--gray-bg);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.product-images {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.product-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--secondary-color);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.product-info {
    padding: 16px;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.product-description {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.4;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.product-price span {
    font-size: 0.7rem;
    font-weight: normal;
    color: var(--text-muted);
}

.product-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #25D366;
    color: white;
    padding: 6px 14px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.product-whatsapp:hover {
    background: #128C7E;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .cover-container {
        height: 150px;
    }

    .business-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 24px;
    }

    .business-logo-large {
        width: 100px;
        height: 100px;
    }

    .business-logo-small {
        width: 50px;
        height: 50px;
    }

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

    .business-card-section {
        padding: 20px;
    }
}




/* ============================================ */
/* SECCIÓN: PÁGINA DE PRODUCTO                  */
/* ============================================ */

.product-section {
    padding: 40px 0 60px;
    background-color: var(--gray-bg);
    min-height: calc(100vh - 200px);
}

/* Galería */
.product-gallery {
    background: white;
    border-radius: 24px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}

.main-image-container {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--gray-bg);
    margin-bottom: 16px;
}

.product-main-image-large {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-container {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail:hover {
    transform: scale(1.05);
}

.thumbnail.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(45, 106, 79, 0.2);
}

/* Info producto */
.product-info-card {
    background: white;
    border-radius: 24px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 90px;
}

.product-breadcrumb {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.product-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

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

.product-info-card h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.product-price-large {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.product-price-large span {
    font-size: 0.9rem;
    font-weight: normal;
    color: var(--text-muted);
}

.product-description-large {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.product-meta {
    margin-bottom: 24px;
}

.meta-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.meta-item i {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-top: 4px;
}

.meta-item strong {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.meta-item span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
}

.btn-whatsapp-product {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 14px 24px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 12px;
}

.btn-whatsapp-product:hover {
    background: #128C7E;
    color: white;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .product-section {
        padding: 20px 0 40px;
    }

    .main-image-container {
        height: 250px;
    }

    .product-info-card {
        position: relative;
        top: 0;
        margin-top: 20px;
        padding: 20px;
    }

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

    .product-price-large {
        font-size: 1.5rem;
    }

    .thumbnail {
        width: 60px;
        height: 60px;
    }
}



/* ============================================ */
/* SECCIÓN: REGISTRO                            */
/* ============================================ */

.register-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--gray-bg) 0%, #FFFFFF 100%);
    min-height: calc(100vh - 300px);
}

.register-card {
    background: white;
    border-radius: 32px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    margin-bottom: 32px;
}

.register-header {
    text-align: center;
    margin-bottom: 32px;
}

.register-header i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 16px;
}

.register-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.register-header p {
    color: var(--text-muted);
}

.btn-google {
    width: 100%;
    padding: 14px;
    border-radius: 40px;
    border: 1px solid #ddd;
    background: white;
    color: var(--text-dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    margin-bottom: 24px;
}

.btn-google:hover {
    background: var(--gray-bg);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-google i {
    font-size: 1.2rem;
    color: #DB4437;
}

.divider {
    text-align: center;
    position: relative;
    margin: 24px 0;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 100px);
    height: 1px;
    background: #ddd;
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.divider span {
    background: white;
    padding: 0 16px;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group label i {
    color: var(--primary-color);
}

.form-control {
    border-radius: 40px;
    padding: 12px 20px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

.email-error-message {
    font-size: 0.75rem;
    color: #dc3545;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.form-check {
    margin: 24px 0;
}

.form-check-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.form-check-label a {
    color: var(--primary-color);
    text-decoration: none;
}

.form-check-label a:hover {
    text-decoration: underline;
}

.btn-register {
    width: 100%;
    padding: 14px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    transition: all 0.3s ease;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45, 106, 79, 0.3);
}

.register-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

.register-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

/* Beneficios */
.benefits-section {
    background: white;
    border-radius: 24px;
    padding: 24px;
    text-align: center;
}

.benefits-section h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: var(--gray-bg);
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 500;
}

.benefit-item i {
    font-size: 1.1rem;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .register-card {
        padding: 28px 20px;
    }

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

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




/* ============================================ */
/* SECCIÓN: CREAR NEGOCIO                       */
/* ============================================ */

.create-business-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--gray-bg) 0%, #FFFFFF 100%);
    min-height: calc(100vh - 300px);
}

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    gap: 40px;
}

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

.step-number {
    width: 40px;
    height: 40px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

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

.step-label {
    font-weight: 500;
    color: var(--text-muted);
}

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

/* Form Card */
.business-form-card {
    background: white;
    border-radius: 32px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.form-header {
    text-align: center;
    margin-bottom: 32px;
}

.form-header i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.form-header h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-header p {
    color: var(--text-muted);
}

.required {
    color: #dc3545;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: var(--primary-color);
}

.form-control,
.form-select {
    border-radius: 40px;
    padding: 12px 20px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

textarea.form-control {
    border-radius: 20px;
    resize: vertical;
}

/* Logo Upload */
.logo-upload-area {
    border: 2px dashed #ddd;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logo-upload-area:hover {
    border-color: var(--primary-color);
    background: var(--gray-bg);
}

.logo-upload-area i {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.logo-upload-area p {
    margin: 0;
    font-weight: 500;
}

.logo-preview {
    position: relative;
    display: inline-block;
    margin-top: 16px;
}

.logo-preview img {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.btn-remove-logo {
    position: absolute;
    top: -10px;
    right: -10px;
    background: white;
    border: none;
    border-radius: 50%;
    color: #dc3545;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
}

/* Premium Upsell */
.premium-upsell {
    background: linear-gradient(135deg, #FFF8F0 0%, #FFF 100%);
    border-radius: 24px;
    padding: 24px;
    margin: 24px 0;
    border: 1px solid rgba(231, 111, 81, 0.2);
}

.premium-header {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.premium-header i {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.premium-header h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.premium-header p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

.premium-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
}

.feature i {
    color: var(--primary-color);
    font-size: 1rem;
}

.premium-checkbox {
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.premium-checkbox input {
    margin-right: 12px;
}

.premium-checkbox label {
    display: inline-flex;
    flex-direction: column;
    font-weight: normal;
}

.premium-checkbox small {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
}

.btn-next,
.btn-publish {
    flex: 1;
    padding: 14px;
    border-radius: 40px;
    font-weight: 700;
}

.form-note {
    text-align: center;
    margin-top: 24px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.form-note i {
    margin-right: 6px;
}

@media (max-width: 768px) {
    .progress-steps {
        gap: 20px;
    }

    .step-label {
        display: none;
    }

    .business-form-card {
        padding: 28px 20px;
    }

    .premium-features {
        grid-template-columns: 1fr;
    }

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



/* ============================================ */
/* SECCIÓN: DASHBOARD EMPRENDEDOR               */
/* ============================================ */

.dashboard-section {
    padding: 40px 0 60px;
    background-color: var(--gray-bg);
    min-height: calc(100vh - 300px);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.dashboard-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.dashboard-header p {
    color: var(--text-muted);
    margin: 0;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: white;
    border-radius: 24px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(45, 106, 79, 0.1) 0%, rgba(45, 106, 79, 0.05) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.stat-info {
    flex: 1;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 4px 0;
}

.stat-change {
    font-size: 0.75rem;
    font-weight: 600;
}

.stat-change.positive {
    color: var(--primary-color);
}

.stat-change.negative {
    color: #dc3545;
}

/* Dashboard Cards */
.dashboard-card {
    background: white;
    border-radius: 24px;
    padding: 28px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
}

.dashboard-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dashboard-card h3 i {
    color: var(--secondary-color);
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.quick-action {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--gray-bg);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.quick-action:hover {
    background: white;
    box-shadow: var(--shadow-sm);
    transform: translateX(5px);
    color: var(--primary-color);
}

.quick-action i {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.quick-action.premium i {
    color: var(--secondary-color);
}

.quick-action span {
    font-weight: 500;
    font-size: 0.9rem;
}

/* Plan Info - Nuevo estilo */
.plan-info {
    text-align: left;
}

.plan-name-line {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.plan-name-line strong {
    font-size: 1.2rem;
    color: var(--text-dark);
}

.plan-status-basic {
    background: #e9ecef;
    color: var(--text-dark);
    padding: 4px 12px;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 8px;
}

.plan-status-premium {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #d45a3a 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 8px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    text-align: left;
}

.plan-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features li i {
    color: var(--primary-color);
    font-size: 1.1rem;
    width: 22px;
}

.btn-premium {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #d45a3a 100%);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(231, 111, 81, 0.3);
    color: white;
}

/* Recent Products */
.recent-products-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.recent-product-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    background: var(--gray-bg);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.recent-product-item:hover {
    background: white;
    box-shadow: var(--shadow-sm);
}

.recent-product-img {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: cover;
}

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

.recent-product-name {
    font-weight: 700;
    margin-bottom: 4px;
}

.recent-product-date {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.recent-product-price {
    font-weight: 700;
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .quick-actions {
        grid-template-columns: 1fr;
    }

    .dashboard-card {
        padding: 20px;
    }
}



/* ============================================ */
/* SECCIÓN: UPGRADE / PLANES                    */
/* ============================================ */

.upgrade-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--gray-bg) 0%, #FFFFFF 100%);
    min-height: calc(100vh - 300px);
}

.upgrade-header {
    text-align: center;
    margin-bottom: 48px;
}

.upgrade-header h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.upgrade-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Plan Cards */
.plan-card {
    background: white;
    border-radius: 32px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.plan-premium-card {
    border: 2px solid rgba(231, 111, 81, 0.3);
    position: relative;
}

.popular-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #d45a3a 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 1;
}

.plan-card-header {
    padding: 32px 28px 24px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.plan-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.plan-basic-card .plan-icon {
    color: var(--primary-color);
}

.plan-premium-card .plan-icon {
    color: var(--secondary-color);
}

.plan-card-header h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.plan-price span {
    font-size: 0.9rem;
    font-weight: normal;
    color: var(--text-muted);
}

.plan-badge-free {
    display: inline-block;
    background: #e9ecef;
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
}

.plan-badge-premium {
    display: inline-block;
    background: rgba(231, 111, 81, 0.1);
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.plan-card-body {
    padding: 28px;
    flex: 1;
}

.plan-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features-list li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
}

.plan-features-list li i {
    font-size: 1.1rem;
    width: 22px;
}

.plan-features-list li i:first-child {
    color: var(--primary-color);
}

.plan-features-list .text-muted i {
    color: #ddd;
}

.premium-features li i {
    color: var(--secondary-color);
}

.plan-card-footer {
    padding: 0 28px 32px;
    text-align: center;
}

.btn-plan-free {
    width: 100%;
    padding: 14px;
    border-radius: 40px;
    background: #e9ecef;
    border: none;
    font-weight: 700;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.btn-plan-free:hover {
    background: #dee2e6;
    transform: translateY(-2px);
}

.btn-plan-premium {
    width: 100%;
    padding: 14px;
    border-radius: 40px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #d45a3a 100%);
    border: none;
    font-weight: 700;
    color: white;
    transition: all 0.3s ease;
}

.btn-plan-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(231, 111, 81, 0.3);
}

.plan-note {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 12px;
}

/* FAQ Section */
.faq-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-section h3 {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.faq-item {
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.faq-item strong {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.faq-item p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .upgrade-section {
        padding: 40px 0;
    }

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

    .plan-card-header {
        padding: 24px 20px;
    }

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

    .plan-card-body {
        padding: 20px;
    }
}


/* Botones de acción del dueño */
.owner-actions {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}


/* Owner actions en producto */
.owner-actions-product {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Breadcrumb */
.product-breadcrumb {
    margin-bottom: 20px;
}

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

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



/* ============================================ */
/* SECCIÓN: LOGIN                               */
/* ============================================ */
.auth-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--gray-bg) 0%, #FFFFFF 100%);
    min-height: calc(100vh - 300px);
}

.auth-card {
    background: white;
    border-radius: 32px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-header i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 16px;
}

.auth-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-header p {
    color: var(--text-muted);
}

.btn-google {
    width: 100%;
    padding: 14px;
    border-radius: 40px;
    border: 1px solid #ddd;
    background: white;
    color: var(--text-dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-google:hover {
    background: var(--gray-bg);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-google i {
    font-size: 1.2rem;
    color: #DB4437;
}

.divider {
    text-align: center;
    position: relative;
    margin: 24px 0;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 100px);
    height: 1px;
    background: #ddd;
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.divider span {
    background: white;
    padding: 0 16px;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.alert {
    border-radius: 16px;
    padding: 12px 20px;
    margin-bottom: 24px;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
}

@media (max-width: 768px) {
    .auth-card {
        padding: 28px 20px;
    }

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


/* ============================================ */
/* DROPDOWN PERSONALIZADO - BOTÓN MEJORADO      */
/* ============================================ */

.dropdown .btn-user {
    background: transparent;
    border: 1px solid #e4e4e4;
    border-radius: 60px;
    padding: 6px 16px 6px 12px;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    background: var(--gray-bg);
}

.dropdown .btn-user:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.dropdown .btn-user i:first-child {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.dropdown .btn-user .bi-chevron-down {
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: transform 0.2s ease;
}

.dropdown.show .btn-user .bi-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    border: none;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
    margin-top: 8px;
    min-width: 200px;
    background: white;
}

.dropdown-item {
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-item i {
    font-size: 1rem;
    width: 20px;
    color: var(--primary-color);
}

.dropdown-item:hover {
    background: var(--gray-bg);
    color: var(--primary-color);
    padding-left: 24px;
}

.dropdown-item.text-danger:hover {
    background: #fee2e2;
    color: #dc3545;
}

.dropdown-item.text-danger i {
    color: #dc3545;
}

.dropdown-divider {
    margin: 6px 0;
    background: rgba(0, 0, 0, 0.05);
}

/* Animación del dropdown */
.dropdown-menu.show {
    animation: dropdownFadeIn 0.2s ease;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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




.create-product-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--gray-bg) 0%, #FFFFFF 100%);
    min-height: calc(100vh - 300px);
}

.product-form-card {
    background: white;
    border-radius: 32px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.form-header {
    text-align: center;
    margin-bottom: 32px;
}

.form-header i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.form-header h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-header p {
    color: var(--text-muted);
}

.required {
    color: #dc3545;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: var(--primary-color);
}

.form-control,
.form-select {
    border-radius: 40px;
    padding: 12px 20px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

textarea.form-control {
    border-radius: 20px;
    resize: vertical;
}

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

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 32px;
}

.btn-publish {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .product-form-card {
        padding: 28px 20px;
    }

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

    .form-actions .btn {
        width: 100%;
    }
}


/* ============================================ */
/* EDITAR PERFIL DE NEGOCIO                     */
/* ============================================ */

.edit-business-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--gray-bg) 0%, #FFFFFF 100%);
    min-height: calc(100vh - 300px);
}

.current-image {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 12px;
    background: var(--gray-bg);
    border-radius: 12px;
}

.preview-thumb {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
}

.premium-field {
    border-left: 4px solid var(--secondary-color);
    padding-left: 16px;
    background: #FFF8F0;
    border-radius: 12px;
    padding: 16px;
}


/* ============================================ */
/* CALIFICACIONES POR ESTRELLAS                 */
/* ============================================ */

.rating-minimal {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 4px;
    padding: 4px 0;
}

.rating-minimal-stars {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 1.2rem;
    cursor: pointer;
}

.rating-minimal-stars .star {
    color: #ddd;
    transition: color 0.15s ease;
    font-size: 1.1rem;
}

.rating-minimal-stars .star.active,
.rating-minimal-stars .star.hover {
    color: #f5b342;
}

.rating-minimal-average {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-left: 4px;
    min-width: 28px;
}

.rating-minimal-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-top: 0px;
    line-height: 1;
    cursor: default;
}



/* ============================================ */
/* CONFIRMAR PLAN EMPUJE (LANDING DE PAGO)      */
/* ============================================ */

.confirm-section {
    padding: 60px 0;
    background: var(--gray-bg);
    min-height: calc(100vh - 300px);
}

.confirm-card {
    background: white;
    border-radius: 32px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.confirm-header {
    margin-bottom: 32px;
}

.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(231, 111, 81, 0.1), rgba(231, 111, 81, 0.05));
    border-radius: 50%;
    margin-bottom: 16px;
}

.icon-circle i {
    font-size: 2.8rem;
    color: var(--secondary-color);
}

.confirm-header h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.confirm-header p {
    font-size: 1.05rem;
    color: var(--text-muted);
}

.instructions-box {
    background: var(--gray-bg);
    border-radius: 20px;
    padding: 24px 28px;
}

.instructions-box h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-details {
    margin-top: 16px;
}

.payment-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.payment-row:last-child {
    border-bottom: none;
}

.payment-row .label {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
}

.payment-row .value {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.payment-row.highlight .value {
    color: var(--secondary-color);
    font-weight: 700;
}

.alert-warning {
    background: #FFF8F0;
    border: 1px solid rgba(231, 111, 81, 0.2);
    border-radius: 16px;
    color: var(--text-dark);
}

.btn-outline-secondary {
    border-radius: 40px;
    padding: 10px 28px;
    font-weight: 500;
}

.confirm-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 20px;
}

@media (max-width: 768px) {
    .confirm-card {
        padding: 24px;
    }

    .payment-row {
        flex-direction: column;
        padding: 6px 0;
    }

    .payment-row .label {
        font-size: 0.8rem;
    }

    .payment-row .value {
        font-size: 0.85rem;
    }

    .icon-circle {
        width: 60px;
        height: 60px;
    }

    .icon-circle i {
        font-size: 2rem;
    }
}





/* ============================================ */
/* TERMINOS Y CONDICIONES                       */
/* ============================================ */

.terms-content {
    font-size: 0.9rem;
    line-height: 1.6;
}

.terms-content h4 {
    margin-top: 1.5rem;
    font-weight: 700;
    font-size: 1rem;
}

.terms-content h5 {
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.terms-content ul {
    padding-left: 1.2rem;
}

.terms-content li {
    margin-bottom: 0.3rem;
}

/* ============================================ */
/* PÁGINAS GENERICAS                            */
/* ============================================ */


.page-section {
    padding: 60px 0;
    background: var(--gray-bg);
    min-height: calc(100vh - 300px);
}

.page-card {
    background: white;
    border-radius: 32px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.page-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.page-body {
    font-size: 0.95rem;
    line-height: 1.7;
}

.page-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .page-card {
        padding: 24px;
    }

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



/* ============================================ */
/* NEGOCIOS CON EMPUJE - VERSIÓN COMPACTA       */
/* ============================================ */

.business-card-compact {
    background: white;
    border-radius: 16px;
    padding: 16px 12px 14px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.business-card-compact:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.business-badge-compact {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #d45a3a 100%);
    color: white;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.business-logo-compact {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: cover;
    margin-bottom: 10px;
    box-shadow: var(--shadow-sm);
}

.business-name-compact {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.2;
    color: var(--text-dark);
}

.business-rating-compact {
    font-size: 0.7rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.business-actions-compact {
    display: flex;
    gap: 6px;
    margin-top: auto;
}

.business-actions-compact .btn-whatsapp-compact,
.business-actions-compact .btn-visit-compact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.business-actions-compact .btn-whatsapp-compact {
    background: #25D366;
    color: white;
}

.business-actions-compact .btn-whatsapp-compact:hover {
    background: #128C7E;
    transform: scale(1.05);
}

.business-actions-compact .btn-visit-compact {
    background: var(--gray-bg);
    color: var(--primary-color);
}

.business-actions-compact .btn-visit-compact:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

/* Ajustes responsive */
@media (max-width: 576px) {
    .business-card-compact {
        padding: 12px 8px 10px;
    }

    .business-logo-compact {
        width: 44px;
        height: 44px;
    }

    .business-name-compact {
        font-size: 0.75rem;
    }

    .business-badge-compact {
        font-size: 0.5rem;
        padding: 1px 8px;
        top: 4px;
        right: 4px;
    }
}



/* ============================================ */
/* EDITAR PRODUCTO                             */
/* ============================================ */

.edit-product-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--gray-bg) 0%, #FFFFFF 100%);
    min-height: calc(100vh - 300px);
}


.existing-images {
    margin-top: 8px;
}

.image-thumb-wrapper {
    position: relative;
    display: inline-block;
}

.image-thumb-wrapper img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #eee;
}

.btn-remove-image {
    position: absolute;
    top: -6px;
    right: -6px;
    background: white;
    border: none;
    border-radius: 50%;
    color: #dc3545;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}

.btn-remove-image:hover {
    transform: scale(1.15);
}

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


/* ============================================ */
/* PREVISUALIZACIÓN DE IMÁGENES                 */
/* ============================================ */

.preview-thumb {
    border-radius: 8px;
    border: 2px solid var(--primary-color);
    object-fit: cover;
}


/* ============================================ */
/* SWEETALERT2 - PERSONALIZADO VITRINA          */
/* ============================================ */

.swal2-popup {
    border-radius: 20px !important;
    padding: 20px 24px !important;
    font-family: 'Inter', sans-serif !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
    max-width: 400px !important;
}

.swal2-title {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: var(--text-dark) !important;
    padding: 0 !important;
    margin-bottom: 4px !important;
}

.swal2-html-container {
    font-size: 0.85rem !important;
    color: var(--text-muted) !important;
    margin: 0 !important;
    padding: 0 !important;
}

.swal2-confirm {
    background-color: var(--primary-color) !important;
    border-radius: 40px !important;
    padding: 8px 24px !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    box-shadow: none !important;
    transition: all 0.3s ease !important;
    min-width: 90px !important;
}

.swal2-confirm:hover {
    background-color: var(--primary-dark) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(45, 106, 79, 0.3) !important;
}

.swal2-cancel {
    border-radius: 40px !important;
    padding: 8px 24px !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    background: var(--gray-bg) !important;
    color: var(--text-dark) !important;
    border: 1px solid #ddd !important;
    transition: all 0.3s ease !important;
}

.swal2-cancel:hover {
    background: #e9ecef !important;
}

.swal2-icon {
    margin: 0 auto 8px !important;
}

.swal2-show {
    animation: swal2FadeIn 0.3s ease !important;
}

@keyframes swal2FadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Toast */
.swal2-toast .swal2-popup {
    border-radius: 16px !important;
    padding: 12px 20px !important;
    max-width: 380px !important;
}

.swal2-toast .swal2-title {
    font-size: 0.9rem !important;
}

.swal2-container {
    z-index: 99999 !important;
}

.swal2-popup {
    z-index: 100000 !important;
}

@media (max-width: 576px) {
    .swal2-popup {
        padding: 16px !important;
        max-width: 320px !important;
    }

    .swal2-title {
        font-size: 1rem !important;
    }

    .swal2-html-container {
        font-size: 0.8rem !important;
    }

    .swal2-confirm,
    .swal2-cancel {
        padding: 6px 16px !important;
        font-size: 0.8rem !important;
        min-width: 70px !important;
    }
}



/* ============================================ */
/* BUSCADOR EN NAVBAR                          */
/* ============================================ */

.navbar-search {
    flex: 1;
    max-width: 320px;
    margin: 0 16px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.navbar-search.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.navbar-search form {
    width: 100%;
}

.navbar-search .form-control {
    border-radius: 40px 0 0 40px;
    padding: 6px 16px;
    font-size: 0.85rem;
    border: 1px solid #ddd;
    background: var(--gray-bg);
}

.navbar-search .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
    background: white;
}

.navbar-search .btn {
    border-radius: 0 40px 40px 0;
    padding: 6px 14px;
    font-size: 0.85rem;
}

/* Responsive: más pequeño en móvil */
@media (max-width: 768px) {
    .navbar-search {
        max-width: 180px;
        margin: 0 8px;
    }

    .navbar-search .form-control {
        padding: 4px 12px;
        font-size: 0.75rem;
    }

    .navbar-search .btn {
        padding: 4px 10px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .navbar-search {
        max-width: 140px;
        margin: 0 4px;
    }

    .navbar-search .form-control {
        padding: 3px 8px;
        font-size: 0.7rem;
        min-width: 80px;
    }

    .navbar-search .btn {
        padding: 3px 8px;
        font-size: 0.7rem;
    }
}


/* ============================================ */
/* MENÚ LATERAL MOBILE (OFF-CANVAS)             */
/* ============================================ */

/* Botón hamburguesa */
.navbar-toggler {
    padding: 4px 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

/* Menú lateral - desde la derecha, altura completa */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -80%;
    width: 80%;
    height: 100vh;
    height: 100dvh;
    /* Para dispositivos móviles modernos */
    background: white;
    z-index: 9999;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
}

.mobile-menu.open {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
    background: white;
    position: sticky;
    top: 0;
    z-index: 1;
}

.mobile-menu-header .navbar-brand span {
    font-size: 1.1rem;
}

.btn-close-menu {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    padding: 4px 8px;
    cursor: pointer;
}

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

.mobile-menu-body {
    flex: 1;
    padding: 20px;
    background: white;
}

.mobile-search-form {
    margin-bottom: 16px;
}

.mobile-search-form .form-control {
    border-radius: 40px 0 0 40px;
    font-size: 0.9rem;
}

.mobile-search-form .btn {
    border-radius: 0 40px 40px 0;
}

.mobile-menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-links li {
    margin-bottom: 4px;
}

.mobile-menu-links li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: white;
}

.mobile-menu-links li a:hover {
    background: var(--gray-bg);
    color: var(--primary-color);
}

.mobile-menu-links li a i {
    font-size: 1.2rem;
    width: 24px;
    color: var(--primary-color);
}

.mobile-menu-links li a.text-danger:hover {
    background: #fee2e2;
    color: #dc3545;
}

.mobile-menu-links li a.text-danger i {
    color: #dc3545;
}

.mobile-menu-links li hr {
    margin: 8px 0;
    border-color: rgba(0, 0, 0, 0.05);
}

.mobile-menu-footer {
    padding: 16px 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    flex-shrink: 0;
    background: white;
}

/* Responsive: menú desktop oculto en mobile */
@media (max-width: 991px) {
    .d-none.d-lg-flex {
        display: none !important;
    }
}

/* Mostrar botón hamburguesa solo en mobile */
@media (min-width: 992px) {
    .navbar-toggler {
        display: none !important;
    }

    .mobile-overlay,
    .mobile-menu {
        display: none !important;
    }
}

/* ============================================ */
/* BOTONES - ESTADO DESHABILITADO               */
/* ============================================ */

.btn-primary:disabled,
.btn-primary.disabled {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    opacity: 0.7;
    color: white !important;
}

.btn-primary:disabled .spinner-border,
.btn-primary.disabled .spinner-border {
    color: white !important;
    border-right-color: transparent !important;
}



/* ============================================ */
/* ERROR 404                                   */
/* ============================================ */

.error-section {
    padding: 80px 0;
    background: var(--gray-bg);
    min-height: calc(100vh - 300px);
    display: flex;
    align-items: center;
}

.error-card {
    background: white;
    border-radius: 32px;
    padding: 48px 40px;
    box-shadow: var(--shadow-md);
}

.error-icon {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.error-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.error-message {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 32px;
}

.error-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.error-actions .btn {
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
}

.error-footer {
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .error-card {
        padding: 32px 24px;
    }

    .error-title {
        font-size: 1.5rem;
    }

    .error-actions {
        flex-direction: column;
        align-items: center;
    }

    .error-actions .btn {
        width: 100%;
    }
}



/* ============================================ */
/* SECCIÓN: CONTACTO                         */
/* ============================================ */

.contact-section {
    padding: 60px 0;
    background: var(--gray-bg);
    min-height: calc(100vh - 300px);
}

.contact-card {
    background: white;
    border-radius: 32px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-header {
    margin-bottom: 32px;
}

.required {
    color: #dc3545;
}

.btn-submit {
    border-radius: 40px;
    padding: 14px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45, 106, 79, 0.3);
}

@media (max-width: 768px) {
    .contact-card {
        padding: 24px;
    }
}


/* Modal: oculto por defecto */
.video-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.video-modal.is-open {
    display: flex;
}





/* ============================================ */
/* VIDEO HOW TO DEL HOME                        */
/* ============================================ */

.video-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;

    /* Estado oculto */
    opacity: 0;
    visibility: hidden;

    /* Transición suave para el fade */
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

/* Estado visible */
.video-modal.is-open {
    opacity: 1;
    visibility: visible;
}

/* Overlay */
.video-modal__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Contenido del video con un sutil scale para acompañar el fade */
.video-modal__content {
    position: relative;
    width: 100%;
    max-width: 800px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.96);
    transition: transform 0.35s ease;
}

.video-modal.is-open .video-modal__content {
    transform: scale(1);
}

/* Botón cerrar */
.video-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
    transition: background 0.2s;
}

.video-modal__close:hover {
    background: rgba(0, 0, 0, 0.9);
}

/* Contenedor del player */
.video-modal__player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-modal__player video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Botón play */
.video-modal__play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
    background: #1a9127;
    color: #111;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, background 0.2s;
    z-index: 2;
}

.video-modal__play img {
    width: 270px;
    height: auto;
}

.video-modal__play:hover {
    transform: scale(1.05);
}


.video-modal__play.is-hidden {
    display: none;
}

/* Responsivo */
@media (max-width: 600px) {
    .video-modal {
        padding: 10px;
    }

    .video-modal__content {
        max-width: 100%;
    }


    .video-modal__play img {
        width: 30%;
        height: auto;
    }
}