/* ===========================================
   HOME PAGE STYLES - VITRINA DIGITAL
   =========================================== */

/* CSS Custom Properties */

/* Base Styles */
* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    font-feature-settings: 'kern';
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Typography */
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
}

p {
    color: var(--text-light);
}

/* Custom Button Styles */
.btn {
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition);
    border: none;
    padding: 0.75rem 1.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

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

.btn-light {
    background: var(--white);
    color: var(--text-dark);
    box-shadow: var(--shadow);
}

.btn-light:hover {
    background: var(--gray-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--text-dark);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ===================================
   Search Section
   =================================== */

.search-section {
    background: var(--gray-50);
    padding: 5rem 0;
}

.search-section-title {
    color: #444B58;
    text-align: center;
    font-family: Manrope;
    font-size: 38px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
}

.search-card .card {
    border-radius: 8px !important;
    border: 1px solid #C3C3C3;
    background: rgba(248, 249, 250, 0.50);
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25) !important;
    backdrop-filter: blur(2px);
    transition: none !important;
    transform: none !important;
}

.search-card .card:hover {
    transition: none !important;
    transform: none !important;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25) !important;
}

.search-card .card-body {
    padding: 2rem;
}

.search-card .form-control,
.search-card .form-select {
    border: 2px solid #3F265F;
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.search-card .form-control::placeholder,
.search-card .form-select::placeholder {
    color: #3F265F;
    opacity: 0.7;
}

.search-card .form-control:focus,
.search-card .form-select:focus {
    border-color: #3F265F;
    box-shadow: 0 0 0 0.2rem rgba(63, 38, 95, 0.15);
}

.search-card .btn-primary {
    background: #F59630;
    border: none;
    border-radius: var(--radius);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: var(--transition);
}

.search-card .btn-primary:hover {
    background: #F89520;
}

@media (max-width: 991.98px) {
    .search-section-title {
        font-size: 2rem;
    }

    .search-card .card-body {
        padding: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .search-section {
        padding: 6rem 0;
    }

    .search-section-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .search-card .card-body {
        padding: 1rem;
    }

    .search-card .row.g-3 {
        gap: 0.75rem !important;
    }
}

/* ===================================
   Secondary Search Section
   =================================== */

.search-card-secondary .card {
    border-radius: 8px !important;
    border: 1px solid #C3C3C3;
    background: rgba(248, 249, 250, 0.50);
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25) !important;
    backdrop-filter: blur(2px);
    overflow: visible !important;
    transition: none !important;
    transform: none !important;
}

.search-card-secondary .card:hover {
    transition: none !important;
    transform: none !important;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25) !important;
}

.search-card-secondary .card-body {
    padding: 1rem;
    overflow: visible !important;
}

.search-card-secondary .form-control {
    border: 2px solid #3F265F;
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.search-card-secondary .form-control::placeholder {
    color: #3F265F;
    opacity: 0.7;
}

.search-card-secondary .form-control:focus {
    border-color: #3F265F;
    box-shadow: 0 0 0 0.2rem rgba(63, 38, 95, 0.15);
}

.search-card-secondary .btn-primary {
    background: #F59630;
    border: none;
    border-radius: var(--radius);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: var(--transition);
}

.search-card-secondary .btn-primary:hover {
    background: #F89520;
}

@media (max-width: 991.98px) {
    .search-card-secondary .card-body {
        padding: 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .search-card-secondary .card-body {
        padding: 1rem;
    }

    .search-card-secondary .row.g-3 {
        gap: 0.75rem !important;
    }
}

/* ===================================
   Autocomplete Dropdown
   =================================== */

/* Asegurar que el contenedor del formulario secundario tenga z-index bajo */
.search-card-secondary {
    position: relative;
    z-index: 1;
    overflow: visible !important;
}

/* Asegurar que las columnas del formulario tengan overflow visible */
.search-card-secondary .row {
    overflow: visible !important;
}

.search-card-secondary .col-md-5,
.search-card-secondary .col-md-2 {
    position: relative;
    overflow: visible !important;
}

/* Contenedor del input debe tener position relative */
.search-card-secondary .mb-4 {
    position: relative;
    overflow: visible !important;
}

.autocomplete-dropdown {
    position: fixed;
    z-index: 99999;
    margin-top: 4px;
    padding: 0;
    list-style: none;
    background: #fff;
    border: 1px solid #3F265F;
    border-radius: 4px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    max-height: 300px;
    overflow-y: auto;
}

.autocomplete-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
    font-size: 0.95rem;
    transition: background-color 0.2s ease;
}

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

.autocomplete-item:hover,
.autocomplete-item.autocomplete-active {
    background-color: #f5f5f5;
    color: #3F265F;
}

/* Scrollbar personalizado para dropdown */
.autocomplete-dropdown::-webkit-scrollbar {
    width: 8px;
}

.autocomplete-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.autocomplete-dropdown::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.autocomplete-dropdown::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    /*background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);*/
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1578662996442-48f60103fc96?w=1920&h=1080&fit=crop&crop=center') center/cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background: linear-gradient(135deg, 
        rgba(30, 64, 175, 0.9) 0%, 
        rgba(30, 58, 138, 0.8) 50%,
        rgba(30, 64, 175, 0.9) 100%);*/
    z-index: 2;
}

.hero-section .container {
    position: relative;
    z-index: 3;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    color: var(--white);
}

.hero-stats {
    margin: 2rem 0;
}

.stat-item {
    padding: 1rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-weight: 800;
    color: var(--white);
}

.stat-label {
    opacity: 0.8;
    font-weight: 500;
}

/* Hero Search Card */
.hero-search-card {
    animation: slideInRight 1s ease-out;
}

.hero-search-card .card {
    /*border-radius: var(--radius-xl);*/
    border: none;
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.4);
}

.search-wrapper {
    position: relative;
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

.suggestion-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
    border-bottom: 1px solid var(--gray-100);
}

.suggestion-item:hover {
    background: var(--secondary-color);
}

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

.search-tag {
    cursor: pointer;
    border: 1px solid var(--gray-200);
}

.content-categorias {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2.266px;
    flex-shrink: 0;
    width: auto;
    position: relative;
    z-index: 1;
}

.content-categorias li {
    list-style: none;
    display: flex;
    width: 200px;
    height: 70px;
    flex-shrink: 0;
    background: #0A8CCC;
    transition: background 0.3s ease;
}

.content-categorias li:hover {
    background: #0876ad;
}

.content-categorias li:first-child {
    border-bottom-left-radius: 50px;
}

.content-categorias li:last-child {
    border-bottom-right-radius: 50px;
}

/* Estilo para el enlace de categoría */
.content-categorias .categoria-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2px;
    width: 100%;
    height: 100%;
    padding: 11px;
    text-decoration: none;
    cursor: pointer;
}

/* Estilo para el icono */
.icono {
    width: 24px;
    height: 24px;
    fill: white;
}

/* Si es imagen SVG subida */
.content-categorias img.icono-svg {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Convierte el SVG a blanco */
}

/* Si es imagen normal (PNG, JPG, etc) */
.content-categorias img.icono-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Si es icono de Bootstrap */
.content-categorias i.icono {
    font-size: 24px;
    color: white;
}

/* SVG inline por defecto */
.content-categorias svg.icono {
    width: 24px;
    height: 24px;
    fill: white;
}

/* Estilo para el texto */
.texto-categoria {
    color: white;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    font-family: 'Manrope', sans-serif;
}

/* Responsive - Ocultar categorías en mobile */
@media (max-width: 768px) {
    .content-categorias {
        display: none !important;
    }
}

/* Section Styles */
.section-header {
    margin-bottom: 4rem;
}

.section-title {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Categories Section */
.categories-section {
    padding: 5rem 0;
    background: var(--white);
}

.category-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

     */
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.category-card:hover .category-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

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

.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.category-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.category-stats {
    margin-bottom: 1.5rem;
}

.stat-badge {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--gray-200);
}

.category-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
}

.category-link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

/* Terminals Section */
.terminals-section {
    padding: 5rem 0;
    background: var(--secondary-color);
}

.terminal-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    height: 100%;
}

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

.terminal-card.premium {
    border: 2px solid var(--warning);
    background: linear-gradient(135deg, #fff9e6, var(--white));
}

.terminal-header {
    padding: 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--gray-50), var(--white));
    border-bottom: 1px solid var(--gray-100);
}

.terminal-card.premium .terminal-header {
    background: linear-gradient(135deg, #fff9e6, #fef3cd);
}

.terminal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.terminal-card.premium .terminal-icon {
    background: linear-gradient(135deg, var(--warning), #fbbf24);
}

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

.terminal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.terminal-badge {

    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

.terminal-badge.premium {
    background: var(--warning);
    color: var(--text-dark);
}

.terminal-content {
    padding: 2rem;
}

.terminal-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.terminal-features {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    color: var(--text-light);
}

.feature-item i {
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: var(--white);
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    height: 100%;
}

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

.testimonial-rating {
    margin-bottom: 1rem;
    color: #fbbf24;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

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

.author-title {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background: var(--gray-900) !important;
    color: var(--gray-300);
}

.footer-brand h5 {
    color: var(--white);
}

.footer-description {
    color: var(--gray-400);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    color: var(--gray-300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-title {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1rem;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

.contact-info .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: var(--gray-400);
}

.contact-item i {
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    color: var(--primary-light);
}

.footer-divider {
    border-color: var(--gray-700);
    margin: 2rem 0;
}

.footer-copyright {
    color: var(--gray-400);
}

.legal-link {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition-fast);
}

.legal-link:hover {
    color: var(--primary-light);
}

/* Form Styles */
.form-control,
.form-select {
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    transition: var(--transition-fast);
    background: var(--white);
    color: #3F265F;
    border: 2px solid #3F265F;
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(30, 64, 175, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Toast Styles */
.toast {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

/* Back to Top Button */
#backToTop {
    background: var(--primary-color);
    border: none;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

#backToTop:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.pulse {
    animation: pulse 2s infinite;
}

/* Responsive Design */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 3rem;
    }

    .category-card {
        padding: 2rem;
    }

    .terminal-content {
        padding: 1.5rem;
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        text-align: center;
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

    .hero-search-card {
        margin-top: 3rem;
    }

    .category-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

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

    .category-icon i {
        font-size: 1.5rem;
    }

    .terminal-card {
        margin-bottom: 1.5rem;
    }

    .testimonial-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .navbar {
        padding: 0.5rem 0;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

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

    .hero-stats {
        margin: 1.5rem 0;
    }

    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

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

    .hero-search-card .card-body {
        padding: 1.5rem;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .categories-section,
    .terminals-section,
    .testimonials-section {
        padding: 3rem 0;
    }

    .newsletter-section {
        padding: 2rem 0;
    }

    .newsletter-form-wrapper {
        margin-top: 2rem;
        padding: 1.5rem;
    }

    .footer {
        text-align: center;
    }

    .footer .row > div {
        margin-bottom: 2rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-stats .col-4 {
        margin-bottom: 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .category-card,
    .terminal-card,
    .testimonial-card {
        padding: 1rem;
    }

    .category-icon,
    .terminal-icon {
        width: 50px;
        height: 50px;
    }

    .category-icon i,
    .terminal-icon i {
        font-size: 1.25rem;
    }

    .terminal-header {
        padding: 1.5rem;
    }

    .terminal-content {
        padding: 1rem;
    }
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, var(--gray-100), var(--white));
}

.border-gradient {
    border: 2px solid transparent;
    background: linear-gradient(var(--white), var(--white)) padding-box,
    linear-gradient(135deg, var(--primary-color), var(--primary-light)) border-box;
}

.shadow-primary {
    box-shadow: 0 10px 25px -5px rgba(30, 64, 175, 0.1), 0 4px 6px -2px rgba(30, 64, 175, 0.05);
}

.backdrop-blur {
    backdrop-filter: blur(10px);
}

.text-balance {
    text-wrap: balance;
}

/* Loading States */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Focus States for Accessibility */
.btn:focus,
.form-control:focus,
.form-select:focus,
.nav-link:focus {
    outline: 2px solid #f49633;
    outline-offset: 2px;
}



/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0066cc;
        --text-light: #333333;
        --gray-200: #cccccc;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .btn,
    .newsletter-section,
    .footer,
    #backToTop {
        display: none !important;
    }

    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }

    .hero-background,
    .hero-overlay {
        display: none;
    }

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

    .section-title,
    .hero-title {
        color: var(--text-dark) !important;
    }

    .category-card,
    .terminal-card,
    .testimonial-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid var(--gray-300);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* Selection Colors */
::selection {
    background: var(--primary-color);
    color: var(--white);
}

::-moz-selection {
    background: var(--primary-color);
    color: var(--white);
}

/* ===========================================
   HERO SEARCH HORIZONTAL
   =========================================== */

/* Reducir tamaño de placeholder */
#heroSearchForm .form-control::placeholder {
    font-size: 0.9rem;
    opacity: 0.6;
}

#heroSearchForm .form-select {
    font-size: 0.95rem;
}

/* Altura uniforme para todos los elementos del formulario */
#heroSearchForm .form-control,
#heroSearchForm .form-select,
#heroSearchForm .btn {
    height: 45px;
    min-height: 45px;
}

/* Flechita hacia abajo en los selects */
#heroSearchForm .form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    padding-right: 2.5rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* ===========================================
   NOVEDADES Y TENDENCIAS SECTION
   =========================================== */

.novedades-section {
    background: var(--gray-50);
}

/* Tabs Navigation */
#novedadesTabs .nav-link {
    font-weight: 600;
    color: var(--text-light);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    transition: var(--transition);
    border: 2px solid transparent;
    margin: 0 0.5rem;
}

#novedadesTabs .nav-link:hover {
    color: var(--primary-color);
    background: var(--white);
}

#novedadesTabs .nav-link.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    border-color: var(--white);
    box-shadow: var(--shadow-md);
    color: #fff !important;
}

#novedadesTabs .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

/* Tienda Novedad Card */
.tienda-novedad-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

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

/* Badge Nueva/Popular */
.badge-nueva,
.badge-popular {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.badge-popular {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* Badge Estado (Abierto/Cerrado/24h) */
.badge-estado {
    position: absolute;
    top: 15px;
    right: 15px;
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    z-index: 10;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.badge-estado.abierto {
    background: linear-gradient(135deg, #10b981, #059669);
}

.badge-estado.cerrado {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.badge-estado.h24 {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.badge-estado i {
    font-size: 0.625rem;
}

/* Imagen de la Tienda */
.tienda-novedad-image {
    position: relative;
    overflow: hidden;
    height: 220px;
    background: var(--gray-100);
}

.tienda-novedad-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tienda-novedad-card:hover .tienda-novedad-image img {
    transform: scale(1.1);
}

/* Contenido de la Card */
.tienda-novedad-content {
    padding: 1.5rem;
}

/* Meta información (Categoría y Terminal) */
.tienda-novedad-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    gap: 0.5rem;
    font-size: 0.8rem;
}

.tienda-meta-categoria {
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.tienda-meta-categoria i {
    font-size: 0.75rem;
}

.tienda-meta-terminal {
    color: var(--text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    text-align: right;
}

.tienda-meta-terminal i {
    font-size: 0.75rem;
}

.tienda-novedad-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.tienda-novedad-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition-fast);
}

.tienda-novedad-title a:hover {
    color: var(--primary-color);
}

.tienda-novedad-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Tab Content Animation */
.tab-pane {
    animation: fadeInUp 0.5s ease;
}

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

/* Alert Styles */
.novedades-section .alert {
    border-radius: var(--radius-lg);
    padding: 2rem;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 991.98px) {
    .tienda-novedad-image {
        height: 200px;
    }

    .tienda-novedad-content {
        padding: 1.25rem;
    }

    .tienda-novedad-meta {
        font-size: 0.75rem;
    }

    #novedadesTabs .nav-link {
        padding: 0.6rem 1.2rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 767.98px) {
    .tienda-novedad-image {
        height: 180px;
    }

    .tienda-novedad-card {
        margin-bottom: 1rem;
    }

    #novedadesTabs {
        flex-direction: column;
        gap: 0.5rem;
    }

    #novedadesTabs .nav-link {
        width: 100%;
        margin: 0.25rem 0;
    }

    .badge-nueva,
    .badge-popular {
        top: 10px;
        left: 10px;
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

    .badge-estado {
        top: 10px;
        right: 10px;
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

    .badge-estado i {
        font-size: 0.5rem;
    }

    .tienda-novedad-meta {
        font-size: 0.7rem;
        flex-wrap: wrap;
    }

    .tienda-meta-categoria,
    .tienda-meta-terminal {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* Responsive adjustments for search form */
@media (max-width: 767.98px) {
    #heroSearchForm .form-control::placeholder {
        font-size: 0.85rem;
    }

    #heroSearchForm .form-select {
        font-size: 0.9rem;
    }

    #heroSearchForm .form-control,
    #heroSearchForm .form-select,
    #heroSearchForm .btn {
        height: 50px;
        min-height: 50px;
    }
}

/* ===========================================
   MARCAS DESTACADAS SECTION
   =========================================== */

.marcas-destacadas-section {
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.marcas-destacadas-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e5e7eb 50%, transparent 100%);
}

.marcas-grid {
    position: relative;
    z-index: 1;
}

.marca-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 2px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.marca-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.marca-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.marca-card:hover::before {
    opacity: 0.03;
}

.marca-link {
    text-decoration: none;
    color: inherit;
    width: 100%;
    position: relative;
    z-index: 1;
}

.marca-logo {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    padding: 0.5rem;
    border-radius: var(--radius);
    background: var(--gray-50);
    transition: var(--transition);
}

.marca-card:hover .marca-logo {
    background: var(--white);
    transform: scale(1.05);
}

.marca-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0.3);
    transition: var(--transition);
}

.marca-card:hover .marca-logo img {
    filter: grayscale(0);
}

/* Logo Placeholder */
.marca-logo-placeholder {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.marca-inicial {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
}

.marca-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
    margin: 0;
    transition: var(--transition);
}

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

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .marca-card {
        padding: 1.25rem;
    }

    .marca-logo {
        aspect-ratio: 3 / 2;
    }

    .marca-inicial {
        font-size: 2rem;
    }

    .marca-name {
        font-size: 0.8125rem;
    }
}

@media (max-width: 575.98px) {
    .marcas-destacadas-section {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    .marca-card {
        padding: 1rem;
    }

    .marca-logo {
        aspect-ratio: 1;
        margin-bottom: 0.75rem;
    }

    .marca-inicial {
        font-size: 1.75rem;
    }

    .marca-name {
        font-size: 0.75rem;
    }
}

/* Animation on Scroll */
.marca-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.marca-card:nth-child(1) {
    animation-delay: 0.1s;
}

.marca-card:nth-child(2) {
    animation-delay: 0.15s;
}

.marca-card:nth-child(3) {
    animation-delay: 0.2s;
}

.marca-card:nth-child(4) {
    animation-delay: 0.25s;
}

.marca-card:nth-child(5) {
    animation-delay: 0.3s;
}

.marca-card:nth-child(6) {
    animation-delay: 0.35s;
}

.marca-card:nth-child(7) {
    animation-delay: 0.4s;
}

.marca-card:nth-child(8) {
    animation-delay: 0.45s;
}

.marca-card:nth-child(9) {
    animation-delay: 0.5s;
}

.marca-card:nth-child(10) {
    animation-delay: 0.55s;
}

.marca-card:nth-child(11) {
    animation-delay: 0.6s;
}

.marca-card:nth-child(12) {
    animation-delay: 0.65s;
}

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

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-section p {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.cta-section .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.cta-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   Testimonios Section
   ============================================ */
.testimonios-section {
    background: var(--gray-50);
    padding: 4rem 0;
}

.testimonios-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.testimonios-section .section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 3rem;
}

.testimonio-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.testimonio-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.testimonio-rating {
    margin-bottom: 1rem;
    display: flex;
    gap: 0.25rem;
}

.testimonio-rating .star {
    color: #ffc107;
    font-size: 1.2rem;
}

.testimonio-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonio-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.testimonio-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.testimonio-info h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
}

.testimonio-info p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    .testimonios-section h2 {
        font-size: 2rem;
    }

    .testimonio-card {
        margin-bottom: 1.5rem;
    }
}

/* ============================================
   Terminales Section
   ============================================ */
.terminales-section {
    background: var(--gray-50);
    padding: 4rem 0;
}

.terminales-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.terminales-section .section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 3rem;
}

.terminal-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 2px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.terminal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--terminal-color, var(--primary-color));
    transition: var(--transition);
}

.terminal-card:hover {
    border-color: var(--terminal-color, var(--primary-color));
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.terminal-card:hover::before {
    width: 10px;
}

.terminal-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--terminal-color, var(--primary-color)), var(--terminal-color, var(--primary-color)) dd);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    box-shadow: var(--shadow-md);
}

.terminal-content {
    flex: 1;
}

.terminal-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.terminal-description {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.terminal-stats {
    margin-top: 0.5rem;
}

.terminal-stats .badge {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    font-weight: 600;
    border: 1px solid var(--gray-300);
}

.terminal-action {
    flex-shrink: 0;
}

.btn-terminal {
    padding: 0.75rem 1.5rem;
    background: var(--terminal-color, var(--primary-color));
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-terminal:hover {
    background: var(--terminal-color, var(--primary-color));
    color: var(--white);
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.btn-terminal i {
    transition: var(--transition);
}

.btn-terminal:hover i {
    transform: translateX(5px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .terminales-section h2 {
        font-size: 2rem;
    }

    .terminal-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }

    .terminal-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }

    .terminal-title {
        font-size: 1.25rem;
    }

    .terminal-action {
        width: 100%;
    }

    .btn-terminal {
        width: 100%;
        display: block;
    }
}

/* ============================================
   Gastronomía Section
   ============================================ */
.gastronomia-section {
    background: var(--gray-50);
    padding: 4rem 0;
}

.gastronomia-section .section-header {
    text-align: center;
}

.gastronomia-section h2 {
    color: #000;
    font-family: Manrope;
    font-size: 38px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    text-align: center;
    border: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 1rem !important;
}

.gastronomia-section h2::after,
.gastronomia-section h2::before {
    display: none !important;
}

.gastronomia-section .section-subtitle {
    color: #000;
    font-family: Manrope;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    max-width: 900px !important;
    text-align: center;
    margin: 0 auto;
    border: none !important;
}

.gastronomia-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
}

.gastronomia-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: #ff6b35;
}

.gastronomia-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.gastronomia-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gastronomia-card:hover .gastronomia-image img {
    transform: scale(1.1);
}

.gastronomia-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.gastronomia-image .badge-estado {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
    z-index: 2;
}

.gastronomia-image .badge-estado.abierto {
    background: rgba(34, 197, 94, 0.95);
    color: var(--white);
}

.gastronomia-image .badge-estado.cerrado {
    background: rgba(239, 68, 68, 0.95);
    color: var(--white);
}

.gastronomia-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.gastronomia-categoria {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ff6b35;
    background: rgba(255, 107, 53, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
    width: fit-content;
}

.gastronomia-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.gastronomia-title a {
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
}

.gastronomia-title a:hover {
    color: #ff6b35;
}

.gastronomia-excerpt {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.gastronomia-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.gastronomia-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.gastronomia-meta .meta-item i {
    color: #ff6b35;
}

.btn-gastronomia {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    width: 100%;
}

.btn-gastronomia:hover {
    background: linear-gradient(135deg, #f7931e, #ff6b35);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-gastronomia i {
    transition: var(--transition);
}

.btn-gastronomia:hover i {
    transform: translateX(5px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .gastronomia-section {
        height: auto !important;
        min-height: auto !important;
        padding: 2rem 0;
    }

    .gastronomia-section .container {
        height: auto !important;
        min-height: auto !important;
    }

    .gastronomia-section .row {
        height: auto !important;
        min-height: auto !important;
    }

    .gastronomia-section h2 {
        font-size: 2rem;
    }

    .gastronomia-image {
        height: 180px;
    }

    .gastronomia-badge {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .gastronomia-content {
        padding: 1rem;
    }

    .gastronomia-title {
        font-size: 1.1rem;
    }
}

/* ===================================
   CAMPAIGN SECTION STYLES
   Estilos para la sección de campaña promocional
   Ubicación en front-page.php: case 'campaign'
   =================================== */

.campaign-section {
    width: 100%;
    overflow: hidden;

}

.campaign-section .container-fluid {
    padding: 0;
    margin: 0;
}

.campaign-section .row {
    margin: 0;
}

.campaign-content {
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 500px;
}

.campaign-title {
    color: #FFF;
    font-family: 'Manrope', sans-serif;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.campaign-text {
    color: #FFF;
    font-family: 'Manrope', sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 32px;
    max-width: 90%;
}

.campaign-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    height: 56px;
    border-radius: 8px;
    border: 3px solid #FFF;
    background-color: transparent;
    color: #FFF;
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.campaign-button:hover {
    background-color: #FFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.campaign-button i {
    font-size: 20px;
}

.campaign-image {
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.campaign-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 500px;
}

/* Campaign Section - Responsive */
@media (max-width: 991.98px) {
    .campaign-content {
        padding: 60px 40px;
        min-height: 400px;
    }

    .campaign-title {
        font-size: 36px;
    }

    .campaign-text {
        font-size: 20px;
        max-width: 100%;
    }

    .campaign-image img {
        min-height: 400px;
    }
}

@media (max-width: 767.98px) {
    .campaign-section {
        margin: 40px 0;
    }

    .campaign-content {
        padding: 40px 24px;
        min-height: auto;
        text-align: center;
        align-items: center;
    }

    .campaign-title {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .campaign-text {
        font-size: 18px;
        margin-bottom: 24px;
    }

    .campaign-button {
        width: 100%;
        max-width: 300px;
    }

    .campaign-image img {
        min-height: 300px;
    }
}

@media (max-width: 575.98px) {
    .campaign-title {
        font-size: 24px;
    }

    .campaign-text {
        font-size: 16px;
    }

    .campaign-button {
        font-size: 16px;
        height: 48px;
        padding: 12px 24px;
    }
}

/* END CAMPAIGN SECTION STYLES */

/* ===================================
   SALON VIP SECTION STYLES
   Estilos para la sección de Salón VIP
   Ubicación en front-page.php: case 'salon-vip'
   =================================== */

.salon-vip-section {
    width: 100%;
    min-height: 690px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;

}

.salon-vip-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.salon-vip-section .container {
    position: relative;
    z-index: 2;
}

.salon-vip-content {
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
}

.salon-vip-title {
    color: #FFF;
    max-width: 800px;

    color: #FFF;

    font-family: Manrope;
    font-size: 39px;
    font-style: normal;
    font-weight: 400;
    line-height: 67px; /* 171.795% */
}

.salon-vip-button {

    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    width: 258px;
    height: 48px;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    border-radius: 8px;
    border: 3px solid #FFF;
    color: #FFF;
    font-family: Manrope;
    font-style: normal;
    font-weight: 600;
    line-height: normal;

}

.salon-vip-button:hover {
    background-color: #f8f9fa;
    color: #3F265F;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.salon-vip-button i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.salon-vip-button:hover i {
    transform: translateX(4px);
}

/* Placeholder cuando no hay imagen */
.salon-vip-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    z-index: 0;
}

.salon-vip-placeholder i {
    font-size: 64px;
    opacity: 0.3;
    margin-bottom: 16px;
}

.salon-vip-placeholder p {
    font-size: 16px;
    opacity: 0.7;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .salon-vip-section {
        min-height: 500px;
        margin: 40px 0;
    }

    .salon-vip-content {
        padding: 60px 0;
        gap: 24px;
    }

    .salon-vip-title {
        font-size: 28px;
        line-height: 42px;
    }

    .salon-vip-button {
        padding: 14px 28px;
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .salon-vip-section {
        min-height: 400px;
        margin: 0;
    }

    .salon-vip-content {
        padding: 40px 0;
        gap: 20px;
    }

    .salon-vip-title {
        color: #FFF;
        font-family: Manrope;
        font-size: 25px;
        font-style: normal;
        font-weight: 400;
        line-height: 43px; /* 172% */
    }

    .salon-vip-button {
        padding: 12px 24px;
        font-size: 14px;
    }

    .salon-vip-button i {
        font-size: 16px;
    }
}

/* END SALON VIP SECTION STYLES */

/* ===================================
   OFERTAS Y PROMOCIONES SECTION STYLES
   Estilos para la sección de ofertas y promociones
   Ubicación en front-page.php: case 'ofertas-promociones'
   =================================== */

.ofertas-promociones-section {
    padding: 60px 0;
    background: #F8F9FA;
}

.ofertas-promociones-header {
    text-align: center;
    margin-bottom: 50px;
}

.ofertas-promociones-titulo {
    font-family: 'Manrope', sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
}

.ofertas-promociones-bajada {
    font-family: 'Manrope', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #666;
    max-width: 900px;
    margin: 0 auto;
}

.ofertas-carousel-wrapper {
    position: relative;
    padding: 20px 0;
    margin-top: 5rem;
    padding-bottom: 2rem;
    padding-top: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    overflow: visible;
}

.ofertas-carousel-wrapper .splide {
    overflow: visible;
    padding: 20px 0;
}

.ofertas-carousel-wrapper .splide__track {
    overflow: hidden;
}

.ofertas-carousel-wrapper .splide__list {
    align-items: stretch;
}

.ofertas-carousel-wrapper .splide__slide {
    height: auto;
    display: flex;
    align-items: stretch;
    justify-content: center;
    box-sizing: border-box;
    padding-top: 50px;
    padding-bottom: 50px;
}

/* Ajustar overflow - mantener hidden en track para que funcione el carousel */
.ofertas-carousel-wrapper .splide__track {
    overflow: hidden;
}

.ofertas-carousel-wrapper .splide__list {
    overflow: visible;
}

.ofertas-promo-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.1);
    overflow: visible;
    width: 338px;
    height: auto;
    flex-shrink: 0;
    position: relative;
    background: #fff;
}

.ofertas-promo-card-img-container {
    overflow: visible;
    border-radius: 16px 16px 0 0;
    width: 338px;
    height: 543px;
    flex-shrink: 0;
    position: relative;
}

.ofertas-promo-card-img-container img {
    width: 338px;
    height: 543px;
    display: block;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
}

.ofertas-promo-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 89px;
    height: 87px;
    border-radius: 8px;
    border: 1px solid #C3C3C3;
    background: #fff;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    position: absolute;
    top: -50px;
    left: 16px;
    z-index: 10;
    padding: 0px;

}

.ofertas-promo-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ofertas-promo-card-body {
    background: rgba(247, 246, 246, 1);
    backdrop-filter: blur(5px);
    position: relative;
    z-index: 5;
    padding: 20px;
    border-radius: 0 0 16px 16px;
    text-align: center;
    width: 338px;
    box-sizing: border-box;
}

.ofertas-promo-btn {
    color: #fff;
    width: 160px;
    height: 48px;
    padding: 12px;
    gap: 6px;
    border-radius: 8px;
    background: var(--Color_Primary, #3F265F);
    border: none;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ofertas-promo-btn:hover {
    background: #2d1a45;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(63, 38, 95, 0.3);
    color: #fff;
}

/* Navegación del carrusel */
.ofertas-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #3F265F;
    transition: all 0.3s ease;
    z-index: 10;
}

.ofertas-carousel-nav:hover {
    background: transparent;
    transform: translateY(-50%) scale(1.2);
    color: #0A8CCC;
}

.ofertas-carousel-nav i {
    font-size: 40px !important;
    line-height: 1;
}

.ofertas-carousel-nav svg {
    display: none !important;
}

.ofertas-carousel-nav.prev {
    left: -70px;
}

.ofertas-carousel-nav.next {
    right: -70px;
}

.ofertas-carousel-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.ofertas-carousel-nav:disabled:hover {
    transform: translateY(-50%);
    background: transparent;
    color: #3F265F;
}

/* Bullets del carrusel */
.ofertas-carousel-bullets {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.ofertas-bullet {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #3F265F;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.ofertas-bullet:hover {
    background: rgba(63, 38, 95, 0.3);
    transform: scale(1.2);
}

.ofertas-bullet.active,
.ofertas-carousel-bullets .splide__pagination__page.is-active {
    background: #3F265F !important;
    border: 2px solid #3F265F !important;
    transform: scale(1.3);
}

/* Single Item - Centrado cuando hay un solo item */
.ofertas-carousel-wrapper.single-item .splide__track {
    display: flex;
    justify-content: center;
}

.ofertas-carousel-wrapper.single-item .splide__list {
    display: flex;
    justify-content: center;
}

.ofertas-carousel-wrapper.single-item .splide__slide {
    flex-shrink: 0;
}

/* Mensaje cuando no hay promociones */
.ofertas-no-promociones {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 18px;
}

/* Responsive */
@media (max-width: 1200px) {
    .ofertas-carousel-container {
        padding: 0 30px;
    }
}

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

    .ofertas-promociones-header {
        margin-bottom: 30px;
    }

    .ofertas-promociones-titulo {
        font-size: 32px;
    }

    .ofertas-promociones-bajada {
        font-size: 16px;
    }

    .ofertas-carousel-container {
        padding: 0 15px;
        gap: 16px;
    }

    .ofertas-promo-card {
        width: 300px;
    }

    .ofertas-promo-card-img-container {
        width: 300px;
        height: 483px;
        overflow: visible;
    }

    .ofertas-promo-card-img-container img {
        width: 300px;
        height: 483px;
    }

    .ofertas-promo-card-body {
        width: 300px;
    }

    /* Ocultar flechas en mobile */
    .ofertas-carousel-nav {
        display: none;
    }
}

@media (max-width: 576px) {
    .ofertas-promociones-titulo {
        font-size: 28px;
    }

    .ofertas-promo-card {
        width: 280px;
    }

    .ofertas-promo-card-img-container {
        width: 280px;
        height: 450px;
        overflow: visible;
    }

    .ofertas-promo-card-img-container img {
        width: 280px;
        height: 450px;
    }

    .ofertas-promo-card-body {
        width: 280px;
    }

    .ofertas-promo-logo {
        width: 70px;
        height: 70px;
    }

    .ofertas-promo-btn {
        width: 140px;
        height: 44px;
        font-size: 14px;
    }
}

/* END OFERTAS Y PROMOCIONES SECTION STYLES */

/* ===========================================
   NEWSLETTER SECTION STYLES
   =========================================== */

.newsletter-section {
    padding: 65px 0;
    text-align: center;
    background-color: #0A8CCC;
}

.newsletter-content {
    max-width: 800px;
    margin: 0 auto;
}

.newsletter-titulo {
    color: #FFF;
    font-family: Manrope, sans-serif;
    font-size: 30px;
    font-style: normal;
    font-weight: 800;
    line-height: 52px;
    margin-bottom: 10px;
}

.newsletter-bajada {
    color: #FFF;
    font-family: Manrope, sans-serif;
    font-size: 30px;
    font-style: normal;
    font-weight: 500;
    line-height: 52px;
    margin-bottom: 30px;
}

.newsletter-bajada strong {
    font-weight: 800;
}

.newsletter-toggle-btn {
    color: #FFFFFF;
    font-family: Manrope, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    background: transparent;
    border: 2px solid #FFFFFF;
    padding: 12px;
    width: 250px;
    height: 48px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    box-shadow: none;
    display: inline-block;
}

.newsletter-toggle-btn:hover {
    background: transparent;
    color: #FFFFFF;
    border-color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.newsletter-toggle-btn.active {
    background: transparent;
    color: #FFFFFF;
    border-color: #FFFFFF;
}

/* Formulario (inicialmente oculto) */
.newsletter-form-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    margin-top: 0;
}

.newsletter-form-wrapper.show {
    max-height: 500px;
    margin-top: 30px;
}

.newsletter-form {
    background: transparent;
    padding: 30px;
    border-radius: 12px;
    border: none;
}

.newsletter-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.newsletter-form-group {
    text-align: left;
}

.newsletter-form-group label {
    display: block;
    color: #FFF;
    font-family: Manrope, sans-serif;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.newsletter-form-group input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: #FFFFFF;
    color: #333333;
    font-family: Manrope, sans-serif;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}

.newsletter-form-group input::placeholder {
    color: rgba(0, 0, 0, 0.4);
    font-weight: 400;
}

.newsletter-form-group input:focus {
    outline: none;
    border-color: #FFFFFF;
    background: #FFFFFF;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

.newsletter-form-group input.error {
    border-color: #ff4444;
    background: #fff5f5;
}

.newsletter-error {
    display: block;
    color: #ffcccc;
    font-size: 12px;
    margin-top: 4px;
    min-height: 16px;
}

.newsletter-submit-btn {
    color: #3F265F;
    font-family: Manrope, sans-serif;
    font-size: 18px;
    font-weight: 700;
    background: #FFFFFF;
    border: none;
    padding: 16px 60px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.newsletter-submit-btn:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.newsletter-submit-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.newsletter-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.newsletter-message {
    margin-top: 20px;
    padding: 12px;
    border-radius: 6px;
    font-family: Manrope, sans-serif;
    font-size: 14px;
    display: none;
}

.newsletter-message.show {
    display: block;
}

.newsletter-message.success {
    background: rgba(76, 175, 80, 0.2);
    color: #c8e6c9;
    border: 1px solid rgba(76, 175, 80, 0.4);
}

.newsletter-message.error {
    background: rgba(244, 67, 54, 0.2);
    color: #ffccbc;
    border: 1px solid rgba(244, 67, 54, 0.4);
}

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

    .newsletter-titulo {
        font-size: 24px;
        line-height: 36px;
    }

    .newsletter-bajada {
        font-size: 20px;
        line-height: 32px;
    }

    .newsletter-form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .newsletter-form {
        padding: 20px;
    }

    .newsletter-toggle-btn {
        font-size: 16px;
        padding: 10px 30px;
    }
}

/* END NEWSLETTER SECTION STYLES */

/* ===========================================
   HOME STORE CARDS - Tarjetas de Tiendas en Home
   =========================================== */

.home-store-card {
    /*width: 445px;
     height: 375px;

     */
    border-radius: 30px;

    border: 0 !important;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
}

.home-store-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.3);
}

.home-store-card .card-img-top {
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.home-store-card .terminal-badge {
    position: absolute;
    top: 1rem;
    right: 0.5rem;
    z-index: 2;
}

.home-store-card .terminal-badge span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0A8CCC;
    border-radius: 20px;
    padding: 0.5rem;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 19px;
    color: #fff;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.home-store-card .terminal-badge img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

.home-store-card .card-body {
    padding: 1.25rem;
    position: relative;
}

.home-store-card .card-body .categoria-tag {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    color: var(--Color_Primary, #3F265F);
    /* extrabold-16px */
    font-family: Manrope;
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
}




.home-store-card .card-body .estado-badge {
    display: flex;
    width: 108px;
    height: 30px;
    padding: 4px 6px;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    border-radius: 21px;
    background: #3991A1;
    color: #fff;
    font-size: 12px;
    font-weight: 600;

    float: right;
    margin-top: -2px;

}
@media (max-width: 550px) {
    .home-store-card .card-body .categoria-tag {
        font-size: 11px;
    }
    .home-store-card .card-body .estado-badge {
        display: flex;
        width: 75px;
    }
}




.home-store-card .card-body .estado-badge.cerrado {
    background: #DC3545;
}

.home-store-card .card-body .estado-badge.abierto {
    background: #3991A1;
}

.home-store-card .card-title {
    font-size: 20px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #000;

    /* Manrope-extrabold */
    font-family: Manrope;
    font-size: 20px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
}

.home-store-card .card-subtitle {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.home-store-card .card-subtitle .stars {
    color: #FFB800;
    font-size: 14px;
}

.home-store-card .card-subtitle i {
    font-size: 12px;
}

.home-store-card .card-text {
    font-size: 13px;
    color: #495057;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

/* Responsive para tarjetas de home */
@media (max-width: 1400px) {
    .home-store-card {
        width: 380px;
        height: 360px;
    }
}

@media (max-width: 1200px) {
    .home-store-card {
        width: 340px;
        height: 350px;
    }

    .home-store-card .card-img-top {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .home-store-card {
        width: 100%;
        max-width: 400px;
        height: auto;
        min-height: 350px;
        margin: 0 auto;
    }

    /* Prevenir scroll horizontal en mobile */
    body, html {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    .container, .container-fluid {
        overflow-x: hidden !important;
        max-width: 100% !important;
    }

    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
    }

    /* Asegurar que las secciones no se salgan */
    section, div {
        max-width: 100vw !important;
    }
}
