* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            color: #2d3748;
            line-height: 1.6;
            overflow-x: hidden;
        }

       /* ===========================================
   BOTONES GENÉRICOS (fuera del navbar)
   Para usar en secciones del landing
   =========================================== */

.hero .btn,
.section .btn,
.access-card .btn,
.store-card .btn,
.mid-cta .btn {
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}


        .hero {
            margin-top: 80px;
            min-height: 85vh;
            display: flex;
            align-items: center;
            background-image: 
                linear-gradient(135deg, rgba(102, 126, 234, 0.85) 0%, rgba(118, 75, 162, 0.85) 50%, rgba(240, 147, 251, 0.85) 100%),
                url('landingBACKGROUND.jpg');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            position: relative;
            overflow: hidden;
            padding: 2rem 5%;
        }

        .hero::before {
            content: '';
            position: absolute;
            width: 500px;
            height: 500px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            top: -200px;
            right: -200px;
            animation: float 6s ease-in-out infinite;
        }

        .hero::after {
            content: '';
            position: absolute;
            width: 400px;
            height: 400px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            bottom: -150px;
            left: -150px;
            animation: float 8s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-20px); }
        }

        .hero-content {
            max-width: 600px;
            z-index: 1;
        }

        .hero h1 {
            font-size: 3.5rem;
            font-weight: 800;
            color: white;
            margin-bottom: 1.5rem;
            line-height: 1.2;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        .hero p {
            font-size: 1.3rem;
            color: rgba(255, 255, 255, 0.95);
            margin-bottom: 2.5rem;
            font-weight: 300;
        }

        .btn-hero {
            background: white;
            color: #ff6b6b;
            padding: 1rem 3rem;
            font-size: 1.1rem;
            font-weight: 600;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
        }

        .btn-hero:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
        }

        /* SECCIÓN DE TODAS LAS OFERTAS - DESTACADA */
        .all-offers-cta {
            background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
            padding: 4rem 5%;
            position: relative;
            overflow: hidden;
        }

        .all-offers-cta::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -10%;
            width: 500px;
            height: 500px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
        }

        .all-offers-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            gap: 3rem;
            position: relative;
            z-index: 1;
        }

        .all-offers-content {
            flex: 1;
        }

        .all-offers-content h2 {
            font-size: 2.8rem;
            font-weight: 800;
            color: white;
            margin-bottom: 1rem;
            line-height: 1.2;
        }

        .all-offers-content h2 i {
            color: #ffd700;
            animation: flicker 1.5s ease-in-out infinite;
        }

        @keyframes flicker {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.8; }
        }

        .all-offers-content p {
            font-size: 1.2rem;
            color: rgba(255, 255, 255, 0.95);
            margin-bottom: 2rem;
            font-weight: 300;
        }

        .all-offers-stats {
            display: flex;
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .stat-item {
            display: flex;
            flex-direction: column;
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: 800;
            color: white;
        }

        .stat-label {
            font-size: 0.95rem;
            color: rgba(255, 255, 255, 0.9);
            font-weight: 500;
        }

        .btn-all-offers {
            background: white;
            color: #ff6b6b;
            padding: 1.2rem 3rem;
            font-size: 1.15rem;
            font-weight: 700;
            border-radius: 30px;
            display: inline-flex;
            align-items: center;
            gap: 0.8rem;
            text-decoration: none;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
        }

        .btn-all-offers:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
        }

        .btn-all-offers i {
            font-size: 1.3rem;
        }

        .all-offers-visual {
            flex: 1;
            display: flex;
            gap: 1rem;
            justify-content: center;
        }

        .floating-offer-preview {
            background: white;
            border-radius: 15px;
            padding: 1.5rem;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
            animation: floatPreview 4s ease-in-out infinite;
        }

        @keyframes floatPreview {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-15px); }
        }

        .floating-offer-preview:nth-child(2) {
            animation-delay: 1s;
            margin-top: 2rem;
        }

        .preview-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            color: white;
            margin-bottom: 0.8rem;
        }

        .preview-title {
            font-size: 0.9rem;
            font-weight: 600;
            color: #2d3748;
            margin-bottom: 0.3rem;
        }

        .preview-discount {
            font-size: 1.5rem;
            font-weight: 800;
            color: #ff6b6b;
        }

        section {
            padding: 5rem 5%;
        }

        .section-title {
            text-align: center;
            font-size: 2.5rem;
            font-weight: 700;
            color: #2d3748;
            margin-bottom: 1rem;
        }

        .section-subtitle {
            text-align: center;
            font-size: 1.1rem;
            color: #718096;
            margin-bottom: 4rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .carousel-section {
            background: #f7fafc;
        }

        .swiper {
            width: 100%;
            padding: 2rem 0 4rem 0;
        }

        .swiper-slide {
            display: flex;
            justify-content: center;
        }

        .offer-card {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            max-width: 350px;
            width: 100%;
        }

        .offer-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
        }

        .offer-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 4rem;
            color: white;
        }

        .offer-content {
            padding: 1.5rem;
        }

        .offer-badge {
            display: inline-block;
            background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
            color: white;
            padding: 0.4rem 1rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            margin-bottom: 0.8rem;
        }

        .offer-title {
            font-size: 1.3rem;
            font-weight: 700;
            color: #2d3748;
            margin-bottom: 0.5rem;
        }

        .offer-description {
            color: #718096;
            font-size: 0.95rem;
            margin-bottom: 1rem;
        }

        .offer-price {
            font-size: 2rem;
            font-weight: 700;
            color: #ff6b6b;
        }

        .stores-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .store-card {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .store-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
        }

        .store-image {
            width: 100%;
            height: 180px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 4rem;
            color: white;
        }

        .store-content {
            padding: 1.5rem;
        }

        .store-category {
            display: inline-block;
            background: #f7fafc;
            color: #718096;
            padding: 0.4rem 1rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            margin-bottom: 0.8rem;
        }

        .store-name {
            font-size: 1.4rem;
            font-weight: 700;
            color: #2d3748;
            margin-bottom: 0.5rem;
        }

        .store-description {
            color: #718096;
            font-size: 0.95rem;
            margin-bottom: 1.5rem;
        }

        .btn-store {
            width: 100%;
            background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
            color: white;
            padding: 0.8rem 1.5rem;
            border-radius: 25px;
            font-weight: 600;
            border: none;
            cursor: pointer;
        }

        .btn-store:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
        }

        .view-all-stores-container {
            text-align: center;
            margin-top: 3rem;
        }

        .btn-view-all-stores {
            background: white;
            color: #ff6b6b;
            border: 3px solid #ff6b6b;
            padding: 1.2rem 3rem;
            font-size: 1.15rem;
            font-weight: 700;
            border-radius: 30px;
            display: inline-flex;
            align-items: center;
            gap: 0.8rem;
            text-decoration: none;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .btn-view-all-stores:hover {
            background: #ff6b6b;
            color: white;
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 15px 50px rgba(255, 107, 107, 0.3);
        }

        .access-section {
            background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
        }

        .access-container {
            max-width: 1000px;
            margin: 0 auto;
        }

        .access-title {
            text-align: center;
            font-size: 2.5rem;
            font-weight: 700;
            color: #2d3748;
            margin-bottom: 3rem;
        }

        .access-buttons {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .access-card {
            background: white;
            padding: 3rem 2rem;
            border-radius: 20px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .access-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
        }

        .access-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            font-size: 2rem;
            color: white;
        }

        .access-card h3 {
            font-size: 1.8rem;
            font-weight: 700;
            color: #2d3748;
            margin-bottom: 1rem;
        }

        .access-card p {
            color: #718096;
            font-size: 1rem;
            margin-bottom: 2rem;
            line-height: 1.6;
        }

        .btn-access {
            background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
            color: white;
            padding: 0.9rem 2rem;
            border-radius: 25px;
            font-weight: 600;
            border: none;
            cursor: pointer;
        }

        .btn-access:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
        }

        .how-it-works {
            background: white;
        }

        .steps-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 3rem;
            max-width: 1000px;
            margin: 0 auto;
        }

        .step {
            text-align: center;
            padding: 2rem;
        }

        .step-number {
            width: 70px;
            height: 70px;
            background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
            color: white;
            font-size: 2rem;
            font-weight: 700;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
        }

        .step h3 {
            font-size: 1.5rem;
            font-weight: 700;
            color: #2d3748;
            margin-bottom: 1rem;
        }

        .step p {
            color: #718096;
            line-height: 1.8;
        }

        footer {
            background: #2d3748;
            color: white;
            padding: 3rem 5%;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-links a:hover {
            color: #ff6b6b;
        }

        .social-links {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        .social-link {
            width: 45px;
            height: 45px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .social-link:hover {
            background: #ff6b6b;
            transform: translateY(-3px);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .footer-bottom p {
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 0.5rem;
        }

        /* BOTÓN FLOTANTE STICKY */
        .floating-catalog-btn {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
            color: white;
            padding: 1rem 2rem;
            border-radius: 50px;
            font-weight: 700;
            font-size: 1rem;
            display: flex;
            align-items: center;
            gap: 0.8rem;
            box-shadow: 0 10px 40px rgba(255, 107, 107, 0.4);
            cursor: pointer;
            z-index: 999;
            text-decoration: none;
            transition: all 0.3s ease;
            animation: floatingPulse 2s ease-in-out infinite;
            opacity: 0;
            pointer-events: none;
        }

        .floating-catalog-btn:hover {
            transform: translateY(-5px) scale(1.05);
            box-shadow: 0 15px 50px rgba(255, 107, 107, 0.5);
        }

        .floating-catalog-btn .badge {
            background: white;
            color: #ff6b6b;
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 800;
        }

        @keyframes floatingPulse {
            0%, 100% { 
                transform: translateY(0);
                box-shadow: 0 10px 40px rgba(255, 107, 107, 0.4);
            }
            50% { 
                transform: translateY(-5px);
                box-shadow: 0 15px 50px rgba(255, 107, 107, 0.5);
            }
        }

        /* CONTADOR DE OFERTAS EN CARRUSEL */
        .offers-counter {
            text-align: center;
            margin-bottom: 1rem;
            padding: 0.8rem 1.5rem;
            background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
            color: white;
            border-radius: 30px;
            display: inline-block;
            font-weight: 600;
            font-size: 0.95rem;
        }

        .offers-counter-container {
            text-align: center;
            margin-bottom: 1.5rem;
        }

        /* CTA INTERMEDIO */
        .mid-cta {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            padding: 3rem 5%;
            text-align: center;
            margin: 3rem 0;
            position: relative;
            overflow: hidden;
        }

        .mid-cta::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
            animation: rotate 20s linear infinite;
        }

        @keyframes rotate {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        .mid-cta-content {
            position: relative;
            z-index: 1;
            max-width: 800px;
            margin: 0 auto;
        }

        .mid-cta h3 {
            font-size: 2.2rem;
            font-weight: 800;
            color: white;
            margin-bottom: 1rem;
        }

        .mid-cta p {
            font-size: 1.2rem;
            color: rgba(255, 255, 255, 0.95);
            margin-bottom: 2rem;
            font-weight: 300;
        }

        .btn-mid-cta {
            background: white;
            color: #667eea;
            padding: 1.2rem 3rem;
            font-size: 1.15rem;
            font-weight: 700;
            border-radius: 30px;
            display: inline-flex;
            align-items: center;
            gap: 0.8rem;
            text-decoration: none;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
        }

        .btn-mid-cta:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
        }

        /* INDICADOR EN SECTION TITLE */
        .section-title-with-link {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 1.5rem;
            flex-wrap: wrap;
            margin-bottom: 1rem;
        }

        .view-all-link {
            color: #ff6b6b;
            font-size: 1rem;
            font-weight: 600;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
        }

        .view-all-link:hover {
            gap: 0.8rem;
            transform: translateX(3px);
        }

        /* OFERTAS IMPERDIBLES - SCROLL HORIZONTAL */
        .hot-deals-section {
            padding: 4rem 5%;
            background: white;
        }

        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
        }

        .section-header h2 {
            font-size: 2rem;
            font-weight: 800;
            color: #2d3748;
        }

        .see-more-link {
            color: #ff6b6b;
            font-size: 1rem;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .see-more-link:hover {
            transform: translateX(5px);
        }

        .hot-deals-container {
            position: relative;
            padding: 0 4rem;
        }

        .hot-deals-scroll {
            display: flex;
            gap: 1.5rem;
            overflow-x: auto;
            scroll-behavior: smooth;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }

        .hot-deals-scroll::-webkit-scrollbar {
            display: none;
        }

        .scroll-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 50px;
            height: 50px;
            background: white;
            border: none;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            color: #ff6b6b;
            cursor: pointer;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
            transition: all 0.3s ease;
            z-index: 10;
        }

        .scroll-btn:hover {
            background: #ff6b6b;
            color: white;
            transform: translateY(-50%) scale(1.1);
            box-shadow: 0 6px 25px rgba(255, 107, 107, 0.3);
        }

        .scroll-btn.left {
            left: 0;
        }

        .scroll-btn.right {
            right: 0;
        }

        .hot-deal-card {
            min-width: 280px;
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .hot-deal-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
        }

        .hot-deal-image {
            width: 100%;
            height: 200px;
            background: #f7fafc;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 4rem;
            color: #cbd5e0;
            position: relative;
        }

        .discount-badge-hot {
            position: absolute;
            top: 10px;
            left: 10px;
            background: #ff6b6b;
            color: white;
            padding: 0.4rem 0.8rem;
            border-radius: 8px;
            font-size: 0.85rem;
            font-weight: 700;
        }

        .hot-deal-info {
            padding: 1.2rem;
        }

        .hot-deal-title {
            font-size: 0.95rem;
            color: #2d3748;
            margin-bottom: 0.8rem;
            line-height: 1.4;
            height: 42px;
            overflow: hidden;
        }

        .hot-deal-prices {
            display: flex;
            flex-direction: column;
            gap: 0.3rem;
            margin-bottom: 0.5rem;
        }

        .hot-deal-price {
            font-size: 1.8rem;
            font-weight: 800;
            color: #2d3748;
        }

        .hot-deal-old-price {
            font-size: 0.9rem;
            color: #cbd5e0;
            text-decoration: line-through;
        }

        .hot-deal-shipping {
            color: #10b981;
            font-size: 0.85rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }

        /* COMERCIOS DESTACADOS - CÍRCULOS */
        .featured-stores-section {
            padding: 4rem 5%;
            background: #f7fafc;
        }

        .stores-carousel {
            display: flex;
            gap: 2rem;
            overflow-x: auto;
            padding: 1rem 0;
            scroll-behavior: smooth;
        }

        .stores-carousel::-webkit-scrollbar {
            height: 8px;
        }

        .stores-carousel::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 10px;
        }

        .stores-carousel::-webkit-scrollbar-thumb {
            background: #ff6b6b;
            border-radius: 10px;
        }

        .featured-store-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.8rem;
            min-width: 140px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .featured-store-item:hover {
            transform: translateY(-5px);
        }

        .store-circle {
            width: 120px;
            height: 120px;
            background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3rem;
            color: white;
            box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
            transition: all 0.3s ease;
        }

        .featured-store-item:hover .store-circle {
            box-shadow: 0 12px 35px rgba(255, 107, 107, 0.4);
            transform: scale(1.05);
        }

        .store-circle-name {
            font-size: 0.95rem;
            font-weight: 600;
            color: #2d3748;
            text-align: center;
        }

        /* CATEGORÍAS CON DESCUENTOS */
        .categories-section {
            padding: 4rem 5%;
            background: white;
        }

        .categories-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1.5rem;
        }

        .category-card {
            position: relative;
            border-radius: 15px;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        }

        .category-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
        }

        .category-image {
            width: 100%;
            height: 200px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 4rem;
            color: white;
        }

        .category-discount-badge {
            position: absolute;
            bottom: 15px;
            left: 50%;
            transform: translateX(-50%);
            background: #ff6b6b;
            color: white;
            padding: 0.8rem 2rem;
            border-radius: 10px;
            font-size: 1.1rem;
            font-weight: 800;
            box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
            white-space: nowrap;
        }

        .category-name {
            position: absolute;
            top: 15px;
            left: 15px;
            background: rgba(255, 255, 255, 0.95);
            color: #2d3748;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 700;
            backdrop-filter: blur(10px);
        }

        /* RESPONSIVE */
        @media (max-width: 768px) {
            .hero h1 {
                font-size: 2.5rem;
            }

            .hero p {
                font-size: 1.1rem;
            }

            .all-offers-container {
                flex-direction: column;
                text-align: center;
            }

            .all-offers-content h2 {
                font-size: 2rem;
            }

            .all-offers-stats {
                justify-content: center;
            }

            .all-offers-visual {
                display: none;
            }

            .section-title {
                font-size: 2rem;
            }

            .stores-grid {
                grid-template-columns: 1fr;
            }

            .access-buttons {
                grid-template-columns: 1fr;
            }

            .footer-links {
                flex-direction: column;
                text-align: center;
                gap: 1rem;
            }

            .floating-catalog-btn {
                bottom: 20px;
                right: 20px;
                left: 20px;
                justify-content: center;
                font-size: 0.9rem;
                padding: 0.9rem 1.5rem;
            }

            .mid-cta h3 {
                font-size: 1.8rem;
            }

            .mid-cta p {
                font-size: 1rem;
            }

            .section-title-with-link {
                flex-direction: column;
                gap: 0.8rem;
            }

            .offers-counter {
                font-size: 0.85rem;
                padding: 0.7rem 1.2rem;
            }

            .hot-deals-container {
                padding: 0 1rem;
            }

            .scroll-btn {
                display: none;
            }

            .hot-deals-scroll {
                gap: 1rem;
            }

            .hot-deal-card {
                min-width: 240px;
            }

            .section-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.8rem;
            }

            .section-header h2 {
                font-size: 1.6rem;
            }

            .stores-carousel {
                gap: 1rem;
            }

            .featured-store-item {
                min-width: 100px;
            }

            .store-circle {
                width: 90px;
                height: 90px;
                font-size: 2.2rem;
            }

            .store-circle-name {
                font-size: 0.85rem;
            }

            .categories-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 1rem;
            }

            .category-image {
                height: 160px;
                font-size: 3rem;
            }

            .category-discount-badge {
                font-size: 0.9rem;
                padding: 0.6rem 1.5rem;
            }

            .category-name {
                font-size: 0.75rem;
            }

            /* Menú hamburguesa mobile */
            .nav-toggle {
                display: flex;
            }

            .nav-buttons {
                position: fixed;
                top: 0;
                right: -100%;
                width: 280px;
                max-width: 85vw;
                height: 100vh;
                background: white;
                flex-direction: column;
                align-items: stretch;
                padding: 80px 1.5rem 2rem;
                gap: 0.8rem;
                box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
                transition: right 0.3s ease;
                z-index: 1002;
                overflow-y: auto;
            }

            .nav-buttons.active {
                right: 0;
            }

            .nav-buttons .btn {
                width: 100%;
                justify-content: flex-start;
                padding: 1rem 1.2rem;
                font-size: 0.95rem;
                border-radius: 12px;
            }

            .nav-buttons .btn i {
                width: 24px;
                text-align: center;
            }

            /* Asegurar que el texto sea visible en el menú mobile */
            .nav-buttons .btn .nav-text {
                display: inline;
            }

            .nav-overlay.active {
                display: block;
            }
        }

        /* Media query para tablets - mostrar solo iconos en navbar */
        @media (min-width: 769px) and (max-width: 1024px) {
            .nav-buttons {
                gap: 0.5rem;
            }

            .nav-buttons .btn {
                padding: 0.6rem 0.8rem;
                font-size: 0.8rem;
            }

            .nav-buttons .btn .nav-text {
                display: none;
            }

            .nav-buttons .btn i {
                font-size: 1.1rem;
            }
        }

/* PREMIUM BADGES */
.store-premium-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #2d3748;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    z-index: 10;
    animation: premiumPulse 2s ease-in-out infinite;
}

.store-premium-badge i {
    font-size: 0.9rem;
    color: #ff6b6b;
}

@keyframes premiumPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
    }
}

.premium-badge-circle {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #ff6b6b;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    border: 3px solid white;
    z-index: 10;
    animation: starShine 2s ease-in-out infinite;
}

@keyframes starShine {
    0%, 100% { 
        transform: rotate(0deg) scale(1);
    }
    50% { 
        transform: rotate(15deg) scale(1.1);
    }
}

.store-card-premium {
    border: 2px solid #ffd700;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.15);
}

.store-card-premium:hover {
    border-color: #ffed4e;
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.25);
}

.store-card-premium .store-image {
    position: relative;
}

.btn-store-premium {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #2d3748;
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

.btn-store-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-store-premium:hover::before {
    left: 100%;
}

.btn-store-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
}

.premium-circle {
    position: relative;
    border: 3px solid #ffd700;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.featured-store-item:hover .premium-circle {
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.5);
}

/* RESPONSIVE PREMIUM BADGES */
@media (max-width: 768px) {
    .store-premium-badge {
        top: 10px;
        right: 10px;
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
    }
    
    .store-premium-badge i {
        font-size: 0.8rem;
    }
    
    .premium-badge-circle {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
        border: 2px solid white;
    }
    
    .store-card-premium {
        border-width: 1.5px;
    }
}

/* ================================================================
   ESTILOS PARA MODAL DE NUEVA OFERTA EN LANDING
   Agregar al final de landing.css
   ================================================================ */

/* Botón Nueva Oferta en Navbar */
.btn-new-offer-nav {
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, #ff6b6b, #e63946);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    font-size: 0.95rem;
}

.btn-new-offer-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
    color: white;
}

.btn-new-offer-nav i {
    font-size: 0.9rem;
}

/* Modal Principal de Ofertas */
.offer-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.offer-modal.active {
    display: flex;
}

.offer-modal-content {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    animation: offerModalSlideIn 0.3s ease;
    font-family: 'Inter', sans-serif;
}

@keyframes offerModalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.offer-modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
    border-radius: 20px 20px 0 0;
}

.offer-modal-header h2 {
    font-size: 1.4rem;
    color: #2d3748;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    margin: 0;
}

.offer-modal-close {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #f7fafc;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #718096;
    transition: all 0.2s ease;
}

.offer-modal-close:hover {
    background: #dc3545;
    color: white;
    transform: rotate(90deg);
}

.offer-modal-body {
    padding: 2rem;
}

.offer-modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    position: sticky;
    bottom: 0;
    background: white;
    border-radius: 0 0 20px 20px;
}

/* Formulario de Oferta */
.offer-form-group {
    margin-bottom: 1.5rem;
}

.offer-form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2d3748;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
}

.offer-form-input,
.offer-form-select,
.offer-form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    background: white;
}

.offer-form-input:focus,
.offer-form-select:focus,
.offer-form-textarea:focus {
    outline: none;
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.offer-form-textarea {
    min-height: 100px;
    resize: vertical;
}

.offer-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Secciones especiales del formulario */
.offer-nxm-info-banner {
    background: linear-gradient(135deg, #ff312a 0%, #ff0800 100%);
    color: white;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.offer-nxm-info-banner i {
    font-size: 1.5rem;
    opacity: 0.9;
}

.offer-calculated-price-box {
    background: #f8f9fa;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
}

.offer-calculated-price-box.highlight {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(40, 167, 69, 0.05) 100%);
    border-color: #28a745;
}

.offer-calculated-price-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.25rem;
}

.offer-calculated-price-box.highlight .offer-calculated-price-value {
    color: #28a745;
}

.offer-calculated-price-box small {
    color: #6c757d;
    font-size: 0.8rem;
}

.offer-nxm-savings-banner {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #28a745;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.offer-nxm-savings-banner i {
    font-size: 1.25rem;
}

.offer-stock-info-banner {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    color: white;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.offer-stock-info-banner i {
    font-size: 1.5rem;
    opacity: 0.9;
}

.offer-fecha-bloqueada-notice {
    background: rgba(108, 117, 125, 0.1);
    border: 1px solid rgba(108, 117, 125, 0.3);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.offer-fecha-bloqueada-notice i {
    color: #6c757d;
    font-size: 1.25rem;
    margin-top: 0.15rem;
}

.offer-fecha-bloqueada-notice strong {
    display: block;
    color: #495057;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.offer-fecha-bloqueada-notice p {
    color: #6c757d;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

/* Área de upload de imagen */
.offer-image-upload-area {
    border: 2px dashed #e2e8f0;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.offer-image-upload-area:hover {
    border-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.05);
}

.offer-image-upload-area i {
    font-size: 3rem;
    color: #718096;
    margin-bottom: 1rem;
}

.offer-image-upload-area p {
    color: #718096;
    margin: 0;
}

.offer-image-preview {
    margin-top: 1rem;
}

.offer-image-preview img {
    max-width: 100%;
    border-radius: 10px;
}

/* Botones del modal */
.offer-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.offer-btn-outline {
    background: white;
    color: #718096;
    border: 2px solid #e2e8f0;
}

.offer-btn-outline:hover {
    background: #f7fafc;
    border-color: #718096;
    transform: translateY(-2px);
}

.offer-btn-primary {
    background: #ff6b6b;
    color: white;
}

.offer-btn-primary:hover {
    background: #e63946;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

/* Modal de Confirmación */
.offer-confirm-modal,
.offer-alert-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10001;
    align-items: center;
    justify-content: center;
}

.offer-confirm-modal.active,
.offer-alert-modal.active {
    display: flex;
}

.offer-confirm-modal-content,
.offer-alert-modal-content {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
    animation: offerModalSlideIn 0.3s ease;
}

.offer-confirm-modal-icon,
.offer-alert-modal-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.offer-confirm-modal-icon.warning,
.offer-alert-modal-icon.warning {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.offer-confirm-modal-icon.danger,
.offer-alert-modal-icon.error {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.offer-confirm-modal-icon.success,
.offer-alert-modal-icon.success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.offer-confirm-modal-icon.info,
.offer-alert-modal-icon.info {
    background: rgba(23, 162, 184, 0.1);
    color: #17a2b8;
}

.offer-confirm-modal-title,
.offer-alert-modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.75rem;
}

.offer-confirm-modal-message,
.offer-alert-modal-message {
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.offer-confirm-modal-actions,
.offer-alert-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.offer-btn-cancel {
    padding: 0.75rem 1.5rem;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    color: #6c757d;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.offer-btn-cancel:hover {
    background: #e9ecef;
}

.offer-btn-confirm {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    color: white;
    transition: all 0.2s;
}

.offer-btn-confirm.warning {
    background: #ffc107;
    color: #212529;
}

.offer-btn-confirm.warning:hover {
    background: #e0a800;
}

.offer-btn-confirm.danger {
    background: #dc3545;
}

.offer-btn-confirm.danger:hover {
    background: #c82333;
}

.offer-btn-confirm.success {
    background: #28a745;
}

.offer-btn-confirm.success:hover {
    background: #218838;
}

.offer-btn-alert-ok {
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    background: #ff6b6b;
    color: white;
    transition: all 0.2s;
}

.offer-btn-alert-ok:hover {
    background: #e63946;
}

/* Notificaciones */
.offer-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 10002;
    animation: offerNotifSlideIn 0.3s ease;
    min-width: 300px;
    font-family: 'Inter', sans-serif;
}

.offer-notification-success {
    border-left: 4px solid #28a745;
}

.offer-notification-success i {
    color: #28a745;
}

.offer-notification-error {
    border-left: 4px solid #dc3545;
}

.offer-notification-error i {
    color: #dc3545;
}

.offer-notification-info {
    border-left: 4px solid #17a2b8;
}

.offer-notification-info i {
    color: #17a2b8;
}

.offer-notification i {
    font-size: 1.5rem;
}

.offer-notification span {
    color: #2d3748;
    font-weight: 500;
}

@keyframes offerNotifSlideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes offerNotifSlideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

/* Responsive para modal de ofertas */
@media (max-width: 768px) {
    .offer-modal-content {
        max-height: 95vh;
        margin: 0.5rem;
        border-radius: 15px;
    }
    
    .offer-modal-header {
        padding: 1rem 1.5rem;
        border-radius: 15px 15px 0 0;
    }
    
    .offer-modal-body {
        padding: 1.5rem;
    }
    
    .offer-modal-footer {
        padding: 1rem 1.5rem;
        border-radius: 0 0 15px 15px;
    }
    
    .offer-form-row {
        grid-template-columns: 1fr;
    }
    
    .offer-nxm-info-banner,
    .offer-stock-info-banner {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .offer-fecha-bloqueada-notice {
        flex-direction: column;
        text-align: center;
    }
    
    .offer-calculated-price-value {
        font-size: 1.25rem;
    }
    
    .btn-new-offer-nav span {
        display: none;
    }
    
    .btn-new-offer-nav {
        padding: 0.6rem;
    }
    
    .offer-notification {
        left: 10px;
        right: 10px;
        min-width: auto;
    }
}


/* ================================================================
   SECCIÓN MAPA DE COMERCIOS
   Agregar al final de landing.css
   ================================================================ */

.map-section {
    padding: 4rem 5%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.map-section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.map-section .section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.map-section .section-title i {
    color: #ff6b6b;
    font-size: 2rem;
}

/* Controles del mapa */
.map-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.map-toggle-container {
    display: flex;
    background: white;
    border-radius: 30px;
    padding: 0.3rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-toggle-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    background: transparent;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #718096;
    font-family: 'Inter', sans-serif;
}

.map-toggle-btn:hover {
    color: #ff6b6b;
}

.map-toggle-btn.active {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.map-toggle-btn i {
    font-size: 1rem;
}

/* Control de radio */
.map-radius-control {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-radius-control label {
    font-weight: 600;
    color: #2d3748;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.map-radius-control label i {
    color: #ff6b6b;
}

#radiusValue {
    color: #ff6b6b;
    font-weight: 700;
    min-width: 20px;
    display: inline-block;
}

.map-radius-control input[type="range"] {
    width: 120px;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(90deg, #ff6b6b 0%, #e2e8f0 0%);
    border-radius: 5px;
    outline: none;
}

.map-radius-control input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ff6b6b;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
    transition: transform 0.2s ease;
}

.map-radius-control input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

/* Contenedor del mapa */
.map-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    background: #2d3748;
}

.google-map {
    width: 100%;
    height: 100%;
}

/* Overlay de ubicación */
.map-location-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 55, 72, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    backdrop-filter: blur(5px);
}

.map-location-overlay.hidden {
    display: none;
}

.location-overlay-content {
    text-align: center;
    padding: 3rem;
    max-width: 400px;
}

.location-icon-wrapper {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    animation: locationPulse 2s ease-in-out infinite;
}

.location-icon-wrapper i {
    font-size: 3rem;
    color: white;
}

@keyframes locationPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(255, 107, 107, 0);
    }
}

.location-overlay-content h3 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.location-overlay-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-activate-location {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    margin-bottom: 1rem;
    width: 100%;
    justify-content: center;
}

.btn-activate-location:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
}

.btn-skip-location {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    width: 100%;
    justify-content: center;
}

.btn-skip-location:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

/* Loading del mapa */
.map-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    z-index: 50;
    display: none;
}

.map-loading.active {
    display: flex;
}

.map-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 107, 107, 0.2);
    border-top-color: #ff6b6b;
    border-radius: 50%;
    animation: mapSpin 1s linear infinite;
}

@keyframes mapSpin {
    to { transform: rotate(360deg); }
}

.map-loading span {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Error del mapa */
.map-error {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(220, 53, 69, 0.95);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    z-index: 60;
}

.map-error i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.map-error span {
    display: block;
    margin-bottom: 1rem;
}

.map-error button {
    background: white;
    color: #dc3545;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.map-error button:hover {
    transform: scale(1.05);
}

/* Leyenda del mapa */
.map-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #4a5568;
}

.legend-marker {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.legend-marker.premium {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border: 2px solid #ff6b6b;
}

.legend-marker.regular {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
}

.legend-marker.user {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border: 2px solid white;
}

/* Info card flotante */
.map-info-card {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 350px;
    z-index: 200;
    animation: infoCardSlideUp 0.3s ease;
    overflow: hidden;
}

@keyframes infoCardSlideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.info-card-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border: none;
    background: #f7fafc;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #718096;
    transition: all 0.2s ease;
    z-index: 10;
}

.info-card-close:hover {
    background: #ff6b6b;
    color: white;
}

.info-card-content {
    padding: 1.2rem;
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.info-card-logo {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff3731 0%, #ff6b6b 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    overflow: hidden;
}

.info-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-card-title h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 0.3rem 0;
    line-height: 1.2;
}

.info-card-rubro {
    font-size: 0.85rem;
    color: #718096;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.info-card-rubro i {
    color: #ff6b6b;
    font-size: 0.75rem;
}

.info-card-body p {
    font-size: 0.9rem;
    color: #4a5568;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.info-card-body p i {
    color: #ff6b6b;
    font-size: 0.85rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.info-card-ofertas {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(255, 142, 83, 0.1) 100%);
    color: #ff6b6b;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.info-card-btn {
    display: block;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: white;
    text-align: center;
    padding: 0.9rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    margin-top: 1rem;
    border-radius: 10px;
}

.info-card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.3);
    color: white;
}

.info-card-btn i {
    margin-right: 0.4rem;
}

/* Badge premium en info card */
.info-card-header.premium .info-card-logo {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border: 2px solid #ff6b6b;
}

.info-card-header.premium::after {
    content: 'PREMIUM';
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #2d3748;
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 800;
}

/* Stats del mapa */
.map-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.map-stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.7rem 1.2rem;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.map-stat-item i {
    color: #ff6b6b;
    font-size: 1rem;
}

.map-stat-item span {
    font-weight: 600;
    color: #2d3748;
    font-size: 0.9rem;
}

/* ================================================================
   RESPONSIVE MAPA
   ================================================================ */

@media (max-width: 768px) {
    .map-section {
        padding: 3rem 4%;
    }

    .map-section .section-title {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .map-section .section-title i {
        font-size: 1.5rem;
    }

    .map-controls {
        flex-direction: column;
        gap: 1rem;
    }

    .map-toggle-container {
        width: 100%;
        max-width: 350px;
    }

    .map-toggle-btn {
        flex: 1;
        justify-content: center;
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }

    .map-toggle-btn span {
        display: none;
    }

    .map-toggle-btn i {
        font-size: 1.1rem;
    }

    .map-radius-control {
        width: 100%;
        max-width: 350px;
        justify-content: center;
    }

    .map-radius-control input[type="range"] {
        width: 100px;
    }

    .map-container {
        height: 400px;
        border-radius: 15px;
    }

    .location-overlay-content {
        padding: 2rem;
    }

    .location-icon-wrapper {
        width: 80px;
        height: 80px;
    }

    .location-icon-wrapper i {
        font-size: 2.5rem;
    }

    .location-overlay-content h3 {
        font-size: 1.4rem;
    }

    .location-overlay-content p {
        font-size: 0.9rem;
    }

    .btn-activate-location {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }

    .btn-skip-location {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }

    .map-legend {
        gap: 1rem;
    }

    .legend-item {
        font-size: 0.8rem;
    }

    .legend-marker {
        width: 14px;
        height: 14px;
    }

    .map-info-card {
        bottom: 10px;
        width: 95%;
        max-width: none;
    }

    .info-card-content {
        padding: 1rem;
    }

    .info-card-logo {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .info-card-title h4 {
        font-size: 1rem;
    }

    .map-stats {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .map-stat-item {
        padding: 0.6rem 1rem;
    }
}

@media (max-width: 480px) {
    .map-container {
        height: 350px;
    }

    .map-toggle-btn {
        padding: 0.6rem 0.8rem;
    }

    .location-overlay-content {
        padding: 1.5rem;
    }

    .location-icon-wrapper {
        width: 70px;
        height: 70px;
    }

    .location-icon-wrapper i {
        font-size: 2rem;
    }

    .location-overlay-content h3 {
        font-size: 1.2rem;
    }

    .info-card-header {
        flex-direction: column;
        text-align: center;
    }

    .info-card-rubro {
        justify-content: center;
    }

    .info-card-body p {
        justify-content: center;
        text-align: center;
    }

    .info-card-ofertas {
        justify-content: center;
        width: 100%;
    }
}

/* ================================================================
   ESTILOS PARA MARKERS PERSONALIZADOS DE GOOGLE MAPS
   ================================================================ */

.custom-marker {
    position: relative;
    cursor: pointer;
}

.custom-marker-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    position: relative;
}

.custom-marker-icon::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid #ff6b6b;
}

.custom-marker-icon.premium {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border: 3px solid #ff6b6b;
}

.custom-marker-icon.premium::after {
    border-top-color: #ffd700;
}

.custom-marker-icon.regular {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
}

.custom-marker-icon.user {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border: 3px solid white;
}

.custom-marker-icon.user::after {
    border-top-color: #4facfe;
}

.custom-marker:hover .custom-marker-icon {
    transform: scale(1.15);
}

/* Animación de bounce para markers */
@keyframes markerBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.marker-bounce {
    animation: markerBounce 0.5s ease-in-out;
}

/* ================================================================
   ESTILOS PARA MAPA LEAFLET - REEMPLAZO DE GOOGLE MAPS
   ================================================================ */

/* Contenedor del mapa Leaflet */
.leaflet-map {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    z-index: 1;
}

/* Ocultar atribución de Leaflet para diseño más limpio (opcional) */
.leaflet-control-attribution {
    font-size: 10px;
    background: rgba(255, 255, 255, 0.8) !important;
    padding: 2px 8px !important;
    border-radius: 4px 0 0 0;
}

/* ================================================================
   MARKERS PERSONALIZADOS PARA LEAFLET
   ================================================================ */

.leaflet-custom-marker {
    background: transparent;
    border: none;
}

.marker-pin {
    width: 40px;
    height: 40px;
    border-radius: 50% 50% 50% 0;
    position: relative;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.marker-pin i {
    transform: rotate(45deg);
    font-size: 14px;
    color: white;
}

.marker-pin.premium {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border: 3px solid #ff6b6b;
}

.marker-pin.premium i {
    color: #ff6b6b;
}

.marker-pin.regular {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
}

.marker-pin.user {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transform: none;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border: 3px solid white;
}

.marker-pin.user i {
    transform: none;
    font-size: 12px;
}

.marker-shadow {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    filter: blur(2px);
}

/* Efecto pulse para marker de usuario */
.marker-pulse {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(79, 172, 254, 0.3);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: markerPulse 2s ease-out infinite;
}

@keyframes markerPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* Hover en markers */
.leaflet-marker-icon:hover .marker-pin,
.marker-hover .marker-pin {
    transform: rotate(-45deg) scale(1.15);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.leaflet-marker-icon:hover .marker-pin.user,
.marker-hover .marker-pin.user {
    transform: scale(1.15);
}

/* ================================================================
   AJUSTES PARA INFO CARD CON LEAFLET
   ================================================================ */

.map-info-card {
    z-index: 1001;
}

/* Badge premium en info card header */
.info-card-header.premium {
    position: relative;
}

.info-card-header.premium::before {
    content: 'PREMIUM';
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #2d3748;
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

.info-card-header.premium .info-card-logo {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border: 2px solid #ff6b6b;
}

/* ================================================================
   CONTROLES DE ZOOM LEAFLET PERSONALIZADOS
   ================================================================ */

.leaflet-control-zoom {
    border: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
    border-radius: 10px !important;
    overflow: hidden;
}

.leaflet-control-zoom a {
    width: 36px !important;
    height: 36px !important;
    line-height: 36px !important;
    font-size: 18px !important;
    color: #2d3748 !important;
    background: white !important;
    border: none !important;
    transition: all 0.2s ease !important;
}

.leaflet-control-zoom a:hover {
    background: #ff6b6b !important;
    color: white !important;
}

.leaflet-control-zoom-in {
    border-radius: 10px 10px 0 0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.leaflet-control-zoom-out {
    border-radius: 0 0 10px 10px !important;
}

/* ================================================================
   RESPONSIVE AJUSTES LEAFLET
   ================================================================ */

@media (max-width: 768px) {
    .marker-pin {
        width: 35px;
        height: 35px;
    }
    
    .marker-pin i {
        font-size: 12px;
    }
    
    .marker-pin.user {
        width: 26px;
        height: 26px;
    }
    
    .marker-pin.user i {
        font-size: 10px;
    }
    
    .leaflet-control-zoom a {
        width: 32px !important;
        height: 32px !important;
        line-height: 32px !important;
        font-size: 16px !important;
    }
}

@media (max-width: 480px) {
    .marker-pin {
        width: 32px;
        height: 32px;
    }
    
    .marker-pin i {
        font-size: 11px;
    }
}

/* ================================================================
   ANIMACIONES TOAST (ya definidas pero por si acaso)
   ================================================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ================================================================
   DRIVER.JS TOUR STYLES - OFERTAPP (CORREGIDO)
   Pegar al final de landing.css
   ================================================================ */

/* Botón flotante para iniciar el tour */
.tour-start-btn {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 999;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tour-start-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 107, 107, 0.5);
    background: linear-gradient(135deg, #ee5a5a 0%, #dd4a4a 100%);
}

.tour-start-btn:active {
    transform: translateY(-1px);
}

.tour-start-btn i {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .tour-start-btn {
        bottom: 90px;
        right: 15px;
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .tour-start-btn span {
        display: none;
    }
    
    .tour-start-btn i {
        margin: 0;
    }
}

/* ================================================================
   MODAL DE BIENVENIDA DEL TOUR
   ================================================================ */

.tour-welcome-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tour-welcome-overlay.visible {
    opacity: 1;
}

.tour-welcome-modal {
    background: white;
    border-radius: 24px;
    padding: 40px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.tour-welcome-overlay.visible .tour-welcome-modal {
    transform: scale(1) translateY(0);
}

.tour-welcome-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(255, 107, 107, 0);
    }
}

.tour-welcome-icon i {
    font-size: 2rem;
    color: white;
}

.tour-welcome-modal h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.tour-welcome-modal > p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 24px;
}

.tour-welcome-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.tour-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #fff5f5;
    border-radius: 12px;
    min-width: 100px;
}

.tour-feature i {
    font-size: 1.25rem;
    color: #ff6b6b;
}

.tour-feature span {
    font-size: 0.85rem;
    color: #444;
    font-weight: 500;
}

.tour-welcome-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.tour-btn-skip,
.tour-btn-start {
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
}

.tour-btn-skip {
    background: #f5f5f5;
    color: #666;
}

.tour-btn-skip:hover {
    background: #eee;
    color: #444;
}

.tour-btn-start {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.tour-btn-start:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

@media (max-width: 576px) {
    .tour-welcome-modal {
        padding: 30px 20px;
    }
    
    .tour-welcome-modal h2 {
        font-size: 1.5rem;
    }
    
    .tour-welcome-features {
        gap: 10px;
    }
    
    .tour-feature {
        padding: 10px 12px;
        min-width: 80px;
    }
    
    .tour-welcome-buttons {
        flex-direction: column-reverse;
    }
    
    .tour-btn-skip,
    .tour-btn-start {
        width: 100%;
        justify-content: center;
    }
}

/* ================================================================
   DRIVER.JS POPOVER - ESTILO OFERTAPP MINIMALISTA
   ================================================================ */

/* Overlay - más sutil */
.driver-overlay {
    background: rgba(0, 0, 0, 0.5) !important;
}

/* Highlight del elemento activo - IMPORTANTE */
.driver-active-element {
    position: relative !important;
    z-index: 10001 !important;
    box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.5), 
                0 0 0 8px rgba(255, 107, 107, 0.2),
                0 8px 32px rgba(0, 0, 0, 0.3) !important;
    border-radius: 12px !important;
}

/* Popover principal - Estilo limpio y blanco */
.driver-popover {
    background: #ffffff !important;
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15),
                0 0 0 1px rgba(0, 0, 0, 0.05) !important;
    max-width: 340px !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Barra superior roja distintiva */
.driver-popover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b 0%, #ee5a5a 100%);
}

/* Título del popover */
.driver-popover-title {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #1a1a2e !important;
    padding: 20px 20px 8px 20px !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    background: transparent !important;
}

/* Descripción del popover */
.driver-popover-description {
    font-size: 0.95rem !important;
    color: #555 !important;
    padding: 0 20px 20px 20px !important;
    margin: 0 !important;
    line-height: 1.6 !important;
    background: transparent !important;
}

/* Footer con botones */
.driver-popover-footer {
    padding: 16px 20px !important;
    background: #fafafa !important;
    border-top: 1px solid #f0f0f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
}

/* Texto de progreso */
.driver-popover-progress-text {
    font-size: 0.8rem !important;
    color: #999 !important;
    font-weight: 500 !important;
    flex-shrink: 0 !important;
}

/* Contenedor de botones de navegación */
.driver-popover-navigation-btns {
    display: flex !important;
    gap: 8px !important;
    margin-left: auto !important;
}

/* Botones base */
.driver-popover-prev-btn,
.driver-popover-next-btn {
    padding: 10px 20px !important;
    border-radius: 10px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
    border: none !important;
    cursor: pointer !important;
}

/* Botón Anterior */
.driver-popover-prev-btn {
    background: #f0f0f0 !important;
    color: #555 !important;
}

.driver-popover-prev-btn:hover {
    background: #e5e5e5 !important;
    color: #333 !important;
}

/* Botón Siguiente / Listo */
.driver-popover-next-btn {
    background: #ff6b6b !important;
    color: white !important;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3) !important;
}

.driver-popover-next-btn:hover {
    background: #ee5a5a !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4) !important;
}

/* Botón de cerrar (X) */
.driver-popover-close-btn {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    background: #f5f5f5 !important;
    border: none !important;
    color: #888 !important;
    font-size: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    z-index: 10 !important;
}

.driver-popover-close-btn:hover {
    background: #ff6b6b !important;
    color: white !important;
}

/* Flechas del popover - Color blanco limpio */
.driver-popover-arrow {
    border: none !important;
}

.driver-popover-arrow-side-left.driver-popover-arrow {
    border-right-color: #ffffff !important;
}

.driver-popover-arrow-side-right.driver-popover-arrow {
    border-left-color: #ffffff !important;
}

.driver-popover-arrow-side-top.driver-popover-arrow {
    border-bottom-color: #ffffff !important;
}

.driver-popover-arrow-side-bottom.driver-popover-arrow {
    border-top-color: #ffffff !important;
}

/* Responsive */
@media (max-width: 576px) {
    .driver-popover {
        max-width: calc(100vw - 40px) !important;
        margin: 0 20px !important;
    }
    
    .driver-popover-title {
        font-size: 1rem !important;
        padding: 16px 16px 6px 16px !important;
    }
    
    .driver-popover-description {
        font-size: 0.9rem !important;
        padding: 0 16px 16px 16px !important;
    }
    
    .driver-popover-footer {
        padding: 12px 16px !important;
        flex-wrap: wrap !important;
    }
    
    .driver-popover-progress-text {
        width: 100% !important;
        text-align: center !important;
        margin-bottom: 8px !important;
    }
    
    .driver-popover-navigation-btns {
        width: 100% !important;
        justify-content: center !important;
    }
    
    .driver-popover-prev-btn,
    .driver-popover-next-btn {
        padding: 10px 16px !important;
        font-size: 0.85rem !important;
        flex: 1 !important;
    }
}

/* ================================================================
   PWA - BOTÓN DE INSTALACIÓN Y NOTIFICACIONES
   ================================================================ */

/* Botón de instalación PWA (oculto por defecto) */
#pwa-install-btn {
    display: none;
    position: fixed;
    bottom: 100px;
    left: 20px;
    z-index: 998;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    align-items: center;
    gap: 8px;
}

#pwa-install-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.5);
}

#pwa-install-btn i {
    font-size: 1rem;
}

/* Notificación de actualización PWA */
.pwa-update-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #2d3748;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10000;
    animation: slideUpNotif 0.3s ease;
    max-width: calc(100vw - 40px);
}

@keyframes slideUpNotif {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.pwa-update-notification p {
    margin: 0;
    font-size: 0.95rem;
}

.pwa-update-notification button {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.pwa-update-notification button:hover {
    background: #e63946;
}

/* Badge "Instalar App" para navbar (opcional) */
.nav-pwa-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 0.5rem;
    animation: pulsePWA 2s ease-in-out infinite;
}

@keyframes pulsePWA {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(102, 126, 234, 0);
    }
}

/* Indicador de modo offline */
.offline-indicator {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffc107;
    color: #2d3748;
    padding: 0.5rem;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10001;
    display: none;
}

.offline-indicator.active {
    display: block;
}

.offline-indicator i {
    margin-right: 0.5rem;
}

/* Responsive PWA */
@media (max-width: 768px) {
    #pwa-install-btn {
        bottom: 90px;
        left: 15px;
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    #pwa-install-btn span {
        display: none;
    }
    
    .pwa-update-notification {
        flex-direction: column;
        text-align: center;
        bottom: 10px;
    }
    
    .pwa-update-notification button {
        width: 100%;
    }
}

/* ================================================================
   PWA COMPONENTS - OFERTAPP
   Pegar al final de landing.css
   ================================================================ */

/* ================================================================
   SPLASH SCREEN PERSONALIZADO
   ================================================================ */

.pwa-splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff3731 0%, #ff6b6b 50%, #ff8e53 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.pwa-splash-screen.splash-fade-out {
    opacity: 0;
    visibility: hidden;
}

.splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.splash-logo-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 2rem;
}

.splash-logo-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: splash-ring-pulse 2s ease-out infinite;
}

.splash-logo-ring-2 {
    animation-delay: 0.5s;
}

@keyframes splash-ring-pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.splash-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: splash-logo-bounce 1s ease infinite;
}

@keyframes splash-logo-bounce {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.05); }
}

.splash-logo i {
    font-size: 2.5rem;
    color: #ff3731;
}

.splash-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin: 0 0 0.5rem 0;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.splash-tagline {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 2rem 0;
    font-weight: 500;
}

.splash-loader {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.splash-loader-bar {
    width: 40%;
    height: 100%;
    background: white;
    border-radius: 2px;
    animation: splash-loader 1.5s ease-in-out infinite;
}

@keyframes splash-loader {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}

.splash-loading-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.splash-footer {
    position: absolute;
    bottom: 3rem;
    text-align: center;
}

.splash-footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin: 0;
}

/* ================================================================
   POPUP DE INSTALACIÓN PWA
   ================================================================ */

.pwa-install-popup {
    position: fixed;
    bottom: -300px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    max-width: 420px;
    background: white;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -10px 50px rgba(0, 0, 0, 0.2);
    z-index: 99999;
    transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.pwa-install-popup.active {
    bottom: 0;
}

.pwa-install-popup-content {
    padding: 1.5rem;
    position: relative;
}

.pwa-install-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border: none;
    background: #f1f5f9;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.2s ease;
}

.pwa-install-popup-close:hover {
    background: #e2e8f0;
    color: #334155;
}

.pwa-install-popup-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff3731 0%, #ff6b6b 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 20px rgba(255, 55, 49, 0.3);
}

.pwa-install-popup-icon i {
    font-size: 1.8rem;
    color: white;
}

.pwa-install-popup-text {
    text-align: center;
    margin-bottom: 1.5rem;
}

.pwa-install-popup-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.5rem 0;
}

.pwa-install-popup-text p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

.pwa-install-popup-actions {
    display: flex;
    gap: 0.75rem;
}

.pwa-install-popup-btn-secondary {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pwa-install-popup-btn-secondary:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.pwa-install-popup-btn-primary {
    flex: 1.5;
    padding: 0.875rem 1rem;
    border: none;
    background: linear-gradient(135deg, #ff3731 0%, #ff6b6b 100%);
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(255, 55, 49, 0.3);
}

.pwa-install-popup-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 55, 49, 0.4);
}

/* ================================================================
   SECCIÓN DE INSTALACIÓN PWA EN LANDING
   ================================================================ */

.pwa-install-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    position: relative;
    overflow: hidden;
    display: none; /* Se muestra via JS cuando hay prompt disponible */
}

.pwa-install-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: linear-gradient(135deg, #ff3731 0%, #ff6b6b 100%);
    border-radius: 50%;
    opacity: 0.1;
}

.pwa-install-section-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.pwa-install-section-content {
    flex: 1;
}

.pwa-install-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 55, 49, 0.2);
    border: 1px solid rgba(255, 55, 49, 0.3);
    border-radius: 50px;
    color: #ff6b6b;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.pwa-install-section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: white;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.pwa-install-section-title span {
    background: linear-gradient(135deg, #ff3731 0%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pwa-install-section-desc {
    font-size: 1.1rem;
    color: #94a3b8;
    margin: 0 0 2rem 0;
    line-height: 1.6;
}

.pwa-install-section-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.pwa-install-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #cbd5e1;
    font-size: 0.95rem;
}

.pwa-install-feature i {
    color: #22c55e;
    font-size: 1rem;
}

.pwa-install-section-btn {
    display: none; /* Se muestra via JS */
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #ff3731 0%, #ff6b6b 100%);
    border: none;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(255, 55, 49, 0.4);
}

.pwa-install-section-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 55, 49, 0.5);
}

.pwa-install-section-visual {
    flex: 0 0 300px;
    display: flex;
    justify-content: center;
}

.pwa-phone-mockup {
    position: relative;
    width: 200px;
    height: 400px;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border-radius: 30px;
    border: 4px solid #475569;
    padding: 10px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.pwa-phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff3731 0%, #ff6b6b 100%);
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.pwa-phone-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 25px;
    background: rgba(0, 0, 0, 0.2);
}

.pwa-phone-app-icon {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.pwa-phone-app-icon i {
    font-size: 2rem;
    color: #ff3731;
}

.pwa-phone-app-name {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Mensaje de app ya instalada */
.pwa-installed-message {
    text-align: center;
    padding: 2rem;
}

.pwa-installed-message i {
    font-size: 4rem;
    color: #22c55e;
    margin-bottom: 1rem;
}

.pwa-installed-message h3 {
    font-size: 1.5rem;
    color: white;
    margin: 0 0 0.5rem 0;
}

.pwa-installed-message p {
    color: #94a3b8;
    margin: 0;
}

/* ================================================================
   TOAST DE INSTALACIÓN EXITOSA
   ================================================================ */

.pwa-install-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    box-shadow: 0 10px 40px rgba(34, 197, 94, 0.4);
    z-index: 99999;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pwa-install-toast.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.pwa-install-toast i {
    font-size: 1.25rem;
}

/* ================================================================
   NOTIFICACIÓN DE ACTUALIZACIÓN PWA
   ================================================================ */

.pwa-update-notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: white;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    z-index: 99998;
    transform: translateX(150%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pwa-update-notification.active {
    transform: translateX(0);
}

.pwa-update-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff5f5;
    font-weight: 500;
}

.pwa-update-content i {
    color: #ff3731;
    font-size: 1.25rem;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.pwa-update-btn {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #ff3731 0%, #ff6b6b 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pwa-update-btn:hover {
    transform: scale(1.05);
}

/* ================================================================
   INDICADOR OFFLINE
   ================================================================ */

.offline-indicator {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 99997;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.offline-indicator.active {
    transform: translateY(0);
}

.offline-indicator i {
    font-size: 1rem;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 768px) {
    .pwa-install-popup {
        width: 100%;
        max-width: none;
        border-radius: 20px 20px 0 0;
    }
    
    .pwa-install-section-container {
        flex-direction: column;
        text-align: center;
    }
    
    .pwa-install-section-title {
        font-size: 1.75rem;
    }
    
    .pwa-install-section-features {
        justify-content: center;
    }
    
    .pwa-install-section-visual {
        display: none;
    }
    
    .pwa-update-notification {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        transform: translateY(150%);
    }
    
    .pwa-update-notification.active {
        transform: translateY(0);
    }
    
    .splash-title {
        font-size: 2rem;
    }
    
    .splash-logo-container {
        width: 100px;
        height: 100px;
    }
    
    .splash-logo {
        width: 65px;
        height: 65px;
    }
    
    .splash-logo i {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .pwa-install-popup-actions {
        flex-direction: column;
    }
    
    .pwa-install-popup-btn-secondary,
    .pwa-install-popup-btn-primary {
        flex: none;
        width: 100%;
    }
}

/* ================================================================
   FIX: PWA Install Popup - Estilos corregidos
   Agregar al FINAL del archivo CSS existente
   ================================================================ */

/* Reset y estado base del popup - OCULTO por defecto */
.pwa-install-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    display: none; /* ⭐ Oculto por defecto */
    opacity: 0;
    visibility: hidden;
    align-items: flex-end;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Estado activo - visible */
.pwa-install-popup.active {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Contenido del popup */
.pwa-install-popup-content {
    background: #ffffff;
    border-radius: 20px 20px 12px 12px;
    padding: 1.5rem;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pwa-install-popup.active .pwa-install-popup-content {
    transform: translateY(0);
}

/* Botón de cerrar */
.pwa-install-popup-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 32px;
    height: 32px;
    border: none;
    background: #f1f3f4;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5f6368;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    z-index: 1;
}

.pwa-install-popup-close:hover {
    background: #e8eaed;
    color: #202124;
}

.pwa-install-popup-close:active {
    transform: scale(0.95);
}

/* Icono del popup */
.pwa-install-popup-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.pwa-install-popup-icon i {
    font-size: 1.5rem;
    color: white;
}

/* Texto del popup */
.pwa-install-popup-text {
    text-align: center;
    margin-bottom: 1.25rem;
}

.pwa-install-popup-text h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #202124;
    margin: 0 0 0.5rem 0;
}

.pwa-install-popup-text p {
    font-size: 0.875rem;
    color: #5f6368;
    margin: 0;
    line-height: 1.4;
}

/* Botones de acción */
.pwa-install-popup-actions {
    display: flex;
    gap: 0.75rem;
}

.pwa-install-popup-btn-secondary,
.pwa-install-popup-btn-primary {
    flex: 1;
    padding: 0.875rem 1rem;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.pwa-install-popup-btn-secondary {
    background: #f1f3f4;
    color: #5f6368;
}

.pwa-install-popup-btn-secondary:hover {
    background: #e8eaed;
    color: #202124;
}

.pwa-install-popup-btn-primary {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.pwa-install-popup-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 107, 107, 0.4);
}

.pwa-install-popup-btn-primary:active,
.pwa-install-popup-btn-secondary:active {
    transform: scale(0.98);
}

/* Toast de instalación exitosa */
.pwa-install-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #1a1a2e;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 500;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    z-index: 999999;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pwa-install-toast.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.pwa-install-toast i {
    color: #4caf50;
    font-size: 1.25rem;
}

/* Responsive: Móvil */
@media (max-width: 480px) {
    .pwa-install-popup {
        padding: 0;
    }
    
    .pwa-install-popup-content {
        border-radius: 20px 20px 0 0;
        max-width: 100%;
        padding: 1.25rem 1rem 1.5rem;
    }
    
    .pwa-install-popup-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }
    
    .pwa-install-popup-icon i {
        font-size: 1.25rem;
    }
    
    .pwa-install-popup-text h3 {
        font-size: 1rem;
    }
    
    .pwa-install-popup-text p {
        font-size: 0.8125rem;
    }
    
    .pwa-install-popup-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .pwa-install-popup-btn-secondary,
    .pwa-install-popup-btn-primary {
        width: 100%;
        padding: 0.75rem 1rem;
    }
    
    .pwa-install-toast {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
        transform: translateX(0) translateY(100px);
        font-size: 0.875rem;
        padding: 0.875rem 1rem;
    }
    
    .pwa-install-toast.active {
        transform: translateX(0) translateY(0);
    }
}

/* ================================================================
   Mensaje de "Ya instalada" en sección de descarga
   ================================================================ */
.pwa-installed-message {
    text-align: center;
    padding: 2rem;
}

.pwa-installed-message i {
    font-size: 3rem;
    color: #4caf50;
    margin-bottom: 1rem;
    display: block;
}

.pwa-installed-message h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #202124;
    margin: 0 0 0.5rem 0;
}

.pwa-installed-message p {
    font-size: 0.9375rem;
    color: #5f6368;
    margin: 0;
}

/* ================================================================
   Notificación de actualización PWA
   ================================================================ */
.pwa-update-notification {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #1a1a2e;
    color: white;
    padding: 0.875rem 1.25rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    z-index: 99998;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pwa-update-notification.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.pwa-update-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
}

.pwa-update-content i {
    color: #ffffff;
}

.pwa-update-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pwa-update-btn:hover {
    transform: scale(1.05);
}

@media (max-width: 480px) {
    .pwa-update-notification {
        left: 1rem;
        right: 1rem;
        transform: translateX(0) translateY(100px);
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    
    .pwa-update-notification.active {
        transform: translateX(0) translateY(0);
    }
    
    .pwa-update-btn {
        width: 100%;
    }
}

/* ================================================================
   PWA iOS/Safari COMPATIBILITY - v2.0.1 (Simplificado)
   ================================================================ */

/* Safe area insets para iOS */
@supports (padding: env(safe-area-inset-bottom)) {
    .floating-catalog-btn {
        bottom: calc(20px + env(safe-area-inset-bottom));
    }
    
    footer {
        padding-bottom: calc(20px + env(safe-area-inset-bottom));
    }
}

/* Prevenir zoom en inputs iOS */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    input[type="tel"],
    textarea,
    select {
        font-size: 16px;
    }
}

/* Scroll suave en iOS */
.hot-deals-scroll,
.stores-carousel {
    -webkit-overflow-scrolling: touch;
}

/* PWA Installed Message */
.pwa-installed-message {
    text-align: center;
    padding: 40px 20px;
}

.pwa-installed-message i {
    font-size: 64px;
    color: #4CAF50;
    margin-bottom: 20px;
    display: block;
}

.pwa-installed-message h3 {
    font-size: 1.5rem;
    color: #fff5f5;
    margin-bottom: 10px;
}

.pwa-installed-message p {
    color: #c2cad7;
    font-size: 1rem;
}

/* Ocultar elementos de instalación cuando ya está instalada */
@media (display-mode: standalone) {
    .ios-install-banner,
    .pwa-install-popup,
    #pwa-install-section .pwa-install-section-btn {
        display: none !important;
    }
}

/* ================================================================
   BOTONES DE SEGUIR COMERCIOS - LANDING PAGE
   ================================================================ */

/* Wrapper para el círculo y botón seguir */
.store-circle-wrapper {
    position: relative;
    display: inline-block;
}

/* ================================================================
   BOTÓN SEGUIR EN CÍRCULOS (Comercios Destacados)
   ================================================================ */

.follow-btn-circle {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    border: 3px solid white;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.follow-btn-circle:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
}

.follow-btn-circle:active {
    transform: scale(0.95);
}

.follow-btn-circle.following {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
}

.follow-btn-circle.following:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5);
}

.follow-btn-circle i {
    font-size: 0.85rem;
    transition: transform 0.2s ease;
}

.follow-btn-circle:hover i {
    transform: scale(1.1);
}

/* Animación de pulso al seguir */
@keyframes followPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.follow-btn-circle.following {
    animation: followPulse 0.6s ease-out;
}

/* ================================================================
   BOTÓN SEGUIR EN CARDS (Comercios cerca tuyo)
   ================================================================ */

.store-card {
    position: relative;
}

.follow-btn-card {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: none;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #ff6b6b;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 15;
    font-family: 'Inter', sans-serif;
}

.follow-btn-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    background: white;
}

.follow-btn-card:active {
    transform: translateY(0) scale(0.98);
}

.follow-btn-card i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.follow-btn-card:hover i {
    transform: scale(1.15);
}

.follow-btn-card span {
    transition: opacity 0.2s ease;
}

/* Estado siguiendo */
.follow-btn-card.following {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.follow-btn-card.following:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

/* Cambiar texto en hover cuando está siguiendo */
.follow-btn-card.following:hover span {
    display: none;
}

.follow-btn-card.following:hover::after {
    content: 'Dejar';
    font-size: 0.8rem;
}

.follow-btn-card.following:hover i::before {
    content: "\f00d"; /* fa-times */
}

/* ================================================================
   CONTADOR DE SEGUIDORES EN CARDS
   ================================================================ */

.store-followers {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #718096;
    margin-bottom: 1rem;
    padding: 0.4rem 0;
}

.store-followers i {
    color: #ff6b6b;
    font-size: 0.9rem;
}

.followers-count {
    font-weight: 700;
    color: #2d3748;
}

/* ================================================================
   TOAST NOTIFICATIONS - LANDING
   ================================================================ */

.landing-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #1a1a2e;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: calc(100vw - 2rem);
}

.landing-toast.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

.landing-toast-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.landing-toast-icon i {
    font-size: 1rem;
}

.landing-toast-success .landing-toast-icon {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.landing-toast-error .landing-toast-icon {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.landing-toast-warning .landing-toast-icon {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.landing-toast-info .landing-toast-icon {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.landing-toast-message {
    font-size: 0.95rem;
    font-weight: 500;
    flex: 1;
}

.landing-toast-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: rgba(255, 255, 255, 0.7);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.landing-toast-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* ================================================================
   MODAL LOGIN REQUERIDO - LANDING
   ================================================================ */

.landing-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.landing-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.landing-modal-content {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    max-width: 380px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.landing-modal-overlay.active .landing-modal-content {
    transform: scale(1) translateY(0);
}

.landing-modal-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(255, 142, 83, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.landing-modal-icon i {
    font-size: 2rem;
    color: #ff6b6b;
}

.landing-modal-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 0.75rem 0;
}

.landing-modal-content p {
    font-size: 1rem;
    color: #64748b;
    margin: 0 0 2rem 0;
    line-height: 1.5;
}

.landing-modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.landing-modal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.5rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: 'Inter', sans-serif;
}

.landing-modal-btn-primary {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.landing-modal-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    color: white;
}

.landing-modal-btn-secondary {
    background: #f1f5f9;
    color: #334155;
}

.landing-modal-btn-secondary:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.landing-modal-btn-outline {
    background: transparent;
    color: #64748b;
    border: 2px solid #e2e8f0;
}

.landing-modal-btn-outline:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

/* ================================================================
   FIX: PWA INSTALL POPUP - Responsive mejorado
   ================================================================ */

.pwa-install-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    display: none;
    opacity: 0;
    visibility: hidden;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.pwa-install-popup.active {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.pwa-install-popup-content {
    background: #ffffff;
    border-radius: 20px 20px 0 0;
    padding: 1.5rem;
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
    width: 100%;
    max-width: 100%;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.pwa-install-popup.active .pwa-install-popup-content {
    transform: translateY(0);
}

/* Ajustes del contenido interno del popup */
.pwa-install-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border: none;
    background: #f1f3f4;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5f6368;
    font-size: 1rem;
    transition: all 0.2s ease;
    z-index: 1;
}

.pwa-install-popup-close:hover {
    background: #e8eaed;
    color: #202124;
}

.pwa-install-popup-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #ff3731 0%, #ff6b6b 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: 0 8px 20px rgba(255, 55, 49, 0.3);
}

.pwa-install-popup-icon i {
    font-size: 1.75rem;
    color: white;
}

.pwa-install-popup-text {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
}

.pwa-install-popup-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.5rem 0;
}

.pwa-install-popup-text p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

.pwa-install-popup-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.pwa-install-popup-btn-secondary,
.pwa-install-popup-btn-primary {
    flex: 1;
    min-width: 120px;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.pwa-install-popup-btn-secondary {
    background: #f1f3f4;
    color: #5f6368;
}

.pwa-install-popup-btn-secondary:hover {
    background: #e8eaed;
    color: #202124;
}

.pwa-install-popup-btn-primary {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.pwa-install-popup-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 107, 107, 0.4);
}

/* ================================================================
   RESPONSIVE - Botones de seguir y PWA popup
   ================================================================ */

@media (max-width: 768px) {
    /* Botón círculo más pequeño en mobile */
    .follow-btn-circle {
        width: 32px;
        height: 32px;
        bottom: -3px;
        right: -3px;
        border-width: 2px;
    }
    
    .follow-btn-circle i {
        font-size: 0.75rem;
    }
    
    /* Botón card compacto */
    .follow-btn-card {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
        top: 10px;
        left: 10px;
    }
    
    .follow-btn-card i {
        font-size: 0.7rem;
    }
    
    /* Seguidores */
    .store-followers {
        font-size: 0.8rem;
    }
    
    /* Toast más compacto */
    .landing-toast {
        bottom: 80px;
        padding: 0.875rem 1rem;
        border-radius: 12px;
        gap: 0.5rem;
    }
    
    .landing-toast-icon {
        width: 28px;
        height: 28px;
    }
    
    .landing-toast-icon i {
        font-size: 0.85rem;
    }
    
    .landing-toast-message {
        font-size: 0.875rem;
    }
    
    /* Modal login */
    .landing-modal-content {
        padding: 2rem 1.5rem;
        margin: 0.5rem;
        border-radius: 16px;
    }
    
    .landing-modal-icon {
        width: 60px;
        height: 60px;
    }
    
    .landing-modal-icon i {
        font-size: 1.75rem;
    }
    
    .landing-modal-content h3 {
        font-size: 1.25rem;
    }
    
    .landing-modal-content p {
        font-size: 0.9rem;
    }
    
    .landing-modal-btn {
        padding: 0.8rem 1.25rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    /* Ajustar badge premium para no solapar con botón seguir */
    .store-premium-badge {
        top: auto;
        bottom: 15px;
        right: 15px;
    }
    
    /* Botón card aún más compacto */
    .follow-btn-card span {
        display: none;
    }
    
    .follow-btn-card {
        width: 36px;
        height: 36px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
    }
    
    .follow-btn-card i {
        font-size: 0.85rem;
        margin: 0;
    }
    
    .follow-btn-card.following:hover::after {
        display: none;
    }
    
    /* PWA popup full width */
    .pwa-install-popup-content {
        padding: 1.25rem 1rem;
        padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
    }
    
    .pwa-install-popup-icon {
        width: 56px;
        height: 56px;
        border-radius: 14px;
    }
    
    .pwa-install-popup-icon i {
        font-size: 1.5rem;
    }
    
    .pwa-install-popup-text h3 {
        font-size: 1.1rem;
    }
    
    .pwa-install-popup-text p {
        font-size: 0.85rem;
    }
    
    .pwa-install-popup-actions {
        flex-direction: column;
    }
    
    .pwa-install-popup-btn-secondary,
    .pwa-install-popup-btn-primary {
        width: 100%;
        min-width: auto;
        padding: 0.85rem 1rem;
    }
}

/* Safe area para dispositivos con notch */
@supports (padding: env(safe-area-inset-bottom)) {
    .landing-toast {
        bottom: calc(100px + env(safe-area-inset-bottom));
    }
    
    @media (max-width: 768px) {
        .landing-toast {
            bottom: calc(80px + env(safe-area-inset-bottom));
        }
    }
}

/* ================================================================
   SECCIÓN: COMERCIOS QUE SIGO
   Estilos para la nueva sección de comercios seguidos en el landing
   ================================================================ */

.my-followed-stores-section {
    padding: 60px 5%;
    background: linear-gradient(135deg, #fff5f5 0%, #fff 50%, #f5f7fa 100%);
    position: relative;
    overflow: hidden;
}

.my-followed-stores-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #ff8e53, #ff6b6b);
    background-size: 200% 100%;
    animation: gradientMove 3s ease infinite;
}

@keyframes gradientMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.my-followed-stores-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.my-followed-stores-section .section-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.my-followed-stores-section .section-header h2 i {
    color: #ff6b6b;
    font-size: 1.5rem;
}

/* Contenedor de scroll horizontal */
.followed-stores-container {
    position: relative;
    margin: 0 -20px;
    padding: 0 20px;
}

.followed-stores-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 5px 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.followed-stores-scroll::-webkit-scrollbar {
    display: none;
}

/* Botones de scroll */
.scroll-btn-followed {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #1a1a2e;
}

.scroll-btn-followed:hover {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.scroll-btn-followed.left {
    left: 0;
}

.scroll-btn-followed.right {
    right: 0;
}

/* Card de comercio seguido */
.followed-store-card {
    flex: 0 0 280px;
    min-width: 280px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.followed-store-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.2);
}

/* Badge Premium */
.followed-store-premium-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #ffd700 0%, #ffb347 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.4);
}

.followed-store-premium-badge i {
    color: white;
    font-size: 14px;
}

/* Header del card */
.followed-store-header {
    height: 120px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.followed-store-header i {
    font-size: 40px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.followed-store-offers-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
}

/* Contenido del card */
.followed-store-content {
    padding: 16px;
}

.followed-store-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #ff6b6b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.followed-store-category i {
    font-size: 0.7rem;
}

.followed-store-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 10px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.followed-store-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.followed-store-followers {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: #666;
}

.followed-store-followers i {
    color: #ff6b6b;
    font-size: 0.8rem;
}

.followed-store-notif-active {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 50%;
    color: #4caf50;
    font-size: 0.75rem;
}

/* Acciones del card */
.followed-store-actions {
    display: flex;
    gap: 10px;
}

.followed-store-btn {
    flex: 1;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    border: none;
}

.followed-store-btn-primary {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: white;
}

.followed-store-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    color: white;
}

.followed-store-btn-unfollow {
    flex: 0 0 42px;
    width: 42px;
    background: #f5f5f5;
    color: #999;
}

.followed-store-btn-unfollow:hover {
    background: #ffebee;
    color: #ff6b6b;
}

/* Estadísticas de seguimiento */
.followed-stores-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.followed-stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.9rem;
}

.followed-stat-item i {
    color: #ff6b6b;
}

/* Estado vacío */
.followed-stores-empty {
    text-align: center;
    padding: 50px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.followed-empty-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #fff0f0 0%, #ffe0e0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.followed-empty-icon i {
    font-size: 45px;
    color: #ff6b6b;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.followed-stores-empty h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 12px;
}

.followed-stores-empty > p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0 0 25px;
}

.followed-empty-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.followed-empty-btn-primary,
.followed-empty-btn-secondary {
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.followed-empty-btn-primary {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.followed-empty-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    color: white;
}

.followed-empty-btn-secondary {
    background: white;
    color: #1a1a2e;
    border: 2px solid #e0e0e0;
}

.followed-empty-btn-secondary:hover {
    border-color: #ff6b6b;
    color: #ff6b6b;
}

/* Sugerencias de comercios */
.followed-suggestions {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.followed-suggestions-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #666;
    margin: 0 0 20px;
}

.followed-suggestions-title i {
    color: #ffc107;
}

.followed-suggestions-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.followed-suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f9f9f9;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.followed-suggestion-item:hover {
    background: #fff0f0;
}

.suggestion-logo {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.suggestion-logo i {
    color: white;
    font-size: 18px;
}

.suggestion-info {
    flex: 1;
    text-align: left;
    min-width: 0;
}

.suggestion-name {
    display: block;
    font-weight: 600;
    color: #1a1a2e;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggestion-rubro {
    display: block;
    font-size: 0.8rem;
    color: #888;
}

.suggestion-follow-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.suggestion-follow-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

.suggestion-follow-btn.following {
    background: #4caf50;
}

.suggestion-follow-btn.following i::before {
    content: "\f00c"; /* fa-check */
}

/* ================================================================
   RESPONSIVE: COMERCIOS QUE SIGO
   ================================================================ */

@media (max-width: 768px) {
    .my-followed-stores-section {
        padding: 40px 4%;
    }
    
    .my-followed-stores-section .section-header h2 {
        font-size: 1.4rem;
    }
    
    .my-followed-stores-section .section-header h2 i {
        font-size: 1.2rem;
    }
    
    .followed-stores-container {
        margin: 0 -15px;
        padding: 0 15px;
    }
    
    .scroll-btn-followed {
        width: 36px;
        height: 36px;
        display: none; /* Ocultar en móvil, usar swipe */
    }
    
    .followed-store-card {
        flex: 0 0 260px;
        min-width: 260px;
    }
    
    .followed-store-header {
        height: 100px;
    }
    
    .followed-store-header i {
        font-size: 32px;
    }
    
    .followed-store-content {
        padding: 14px;
    }
    
    .followed-store-name {
        font-size: 1rem;
    }
    
    .followed-stores-stats {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .followed-stat-item {
        font-size: 0.85rem;
    }
    
    /* Estado vacío responsive */
    .followed-stores-empty {
        padding: 30px 15px;
    }
    
    .followed-empty-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }
    
    .followed-empty-icon i {
        font-size: 35px;
    }
    
    .followed-stores-empty h3 {
        font-size: 1.25rem;
    }
    
    .followed-stores-empty > p {
        font-size: 0.9rem;
    }
    
    .followed-empty-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .followed-empty-btn-primary,
    .followed-empty-btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    .followed-suggestions {
        padding: 20px 15px;
    }
    
    .followed-suggestion-item {
        padding: 10px;
    }
    
    .suggestion-logo {
        width: 40px;
        height: 40px;
    }
    
    .suggestion-logo i {
        font-size: 16px;
    }
    
    .suggestion-name {
        font-size: 0.9rem;
    }
    
    .suggestion-follow-btn {
        width: 34px;
        height: 34px;
    }
}

@media (max-width: 480px) {
    .my-followed-stores-section {
        padding: 30px 3%;
    }
    
    .my-followed-stores-section .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .my-followed-stores-section .section-header h2 {
        font-size: 1.25rem;
    }
    
    .followed-store-card {
        flex: 0 0 240px;
        min-width: 240px;
    }
    
    .followed-store-header {
        height: 90px;
    }
    
    .followed-store-content {
        padding: 12px;
    }
    
    .followed-store-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .followed-store-btn-unfollow {
        flex: 1;
        width: 100%;
    }
    
    .followed-empty-icon {
        width: 70px;
        height: 70px;
    }
    
    .followed-empty-icon i {
        font-size: 30px;
    }
    
    .followed-stores-empty h3 {
        font-size: 1.1rem;
    }
    
    .followed-suggestions-title {
        font-size: 0.85rem;
    }
}

/* PWA: Ajustes para modo standalone */
@media (display-mode: standalone) {
    .my-followed-stores-section {
        padding-top: max(60px, env(safe-area-inset-top) + 40px);
    }
}

/* Touch feedback para dispositivos táctiles */
@media (hover: none) and (pointer: coarse) {
    .followed-store-card:active {
        transform: scale(0.98);
    }
    
    .followed-store-btn:active {
        opacity: 0.8;
    }
    
    .suggestion-follow-btn:active {
        transform: scale(0.9);
    }
}

/* ================================================================
   SECCIÓN: COMERCIOS QUE SIGO - ESTADO DEMO (No logueado)
   Preview con comercios de ejemplo para usuarios no logueados
   ================================================================ */

.followed-stores-preview-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.5);
}

/* Overlay con CTA de login */
.followed-stores-login-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg, 
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.85) 30%,
        rgba(255, 255, 255, 0.95) 50%,
        rgba(255, 255, 255, 0.85) 70%,
        rgba(255, 255, 255, 0.1) 100%
    );
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.followed-login-content {
    text-align: center;
    max-width: 450px;
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(255, 107, 107, 0.15);
    border: 2px solid rgba(255, 107, 107, 0.1);
    animation: floatIn 0.5s ease-out;
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.followed-login-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.followed-login-icon i {
    font-size: 35px;
    color: white;
}

.followed-login-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 12px;
}

.followed-login-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0 0 25px;
}

.followed-login-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.followed-login-btn-primary,
.followed-login-btn-secondary {
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.followed-login-btn-primary {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.followed-login-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    color: white;
}

.followed-login-btn-secondary {
    background: white;
    color: #1a1a2e;
    border: 2px solid #e0e0e0;
}

.followed-login-btn-secondary:hover {
    border-color: #ff6b6b;
    color: #ff6b6b;
    background: #fff5f5;
}

/* Contenedor demo con efecto blur */
.followed-stores-demo {
    filter: blur(1px);
    opacity: 0.6;
    pointer-events: none;
    user-select: none;
}

/* Cards de demo */
.followed-store-demo {
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Estadísticas de demo */
.followed-stats-demo {
    filter: blur(0);
    opacity: 1;
    background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
    padding: 20px;
    border-radius: 12px;
    margin-top: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.followed-stats-demo .followed-stat-item {
    background: white;
    padding: 10px 16px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* ================================================================
   RESPONSIVE: DEMO DE COMERCIOS SEGUIDOS
   ================================================================ */

@media (max-width: 768px) {
    .followed-stores-login-overlay {
        padding: 15px;
    }
    
    .followed-login-content {
        padding: 25px 20px;
        margin: 0 10px;
    }
    
    .followed-login-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 15px;
    }
    
    .followed-login-icon i {
        font-size: 28px;
    }
    
    .followed-login-content h3 {
        font-size: 1.25rem;
    }
    
    .followed-login-content p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .followed-login-btn-primary,
    .followed-login-btn-secondary {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    .followed-stats-demo {
        flex-direction: column;
        gap: 10px;
    }
    
    .followed-stats-demo .followed-stat-item {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .followed-login-content {
        padding: 20px 15px;
    }
    
    .followed-login-icon {
        width: 55px;
        height: 55px;
    }
    
    .followed-login-icon i {
        font-size: 24px;
    }
    
    .followed-login-content h3 {
        font-size: 1.1rem;
    }
    
    .followed-login-content p {
        font-size: 0.85rem;
    }
    
    .followed-login-buttons {
        gap: 10px;
    }
    
    .followed-login-btn-primary,
    .followed-login-btn-secondary {
        padding: 11px 16px;
        font-size: 0.9rem;
    }
}

/* Animación sutil para las cards demo */
@keyframes demoCardPulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 0.5;
    }
}

.followed-stores-demo .followed-store-card {
    animation: demoCardPulse 3s ease-in-out infinite;
}

.followed-stores-demo .followed-store-card:nth-child(2) {
    animation-delay: 0.5s;
}

.followed-stores-demo .followed-store-card:nth-child(3) {
    animation-delay: 1s;
}

.followed-stores-demo .followed-store-card:nth-child(4) {
    animation-delay: 1.5s;
}

.followed-stores-demo .followed-store-card:nth-child(5) {
    animation-delay: 2s;
}

.followed-stores-demo .followed-store-card:nth-child(6) {
    animation-delay: 2.5s;
}

/* PWA: Ajustes para modo standalone en demo */
@media (display-mode: standalone) {
    .followed-stores-preview-wrapper {
        margin-top: 10px;
    }
}

/* Touch feedback para el overlay */
@media (hover: none) and (pointer: coarse) {
    .followed-login-btn-primary:active,
    .followed-login-btn-secondary:active {
        transform: scale(0.98);
    }
}

/* ================================================================
   FIX: PWA INSTALL POPUP - Corrección móvil (centrado correcto)
   Agregar al FINAL del archivo landing.css
   ================================================================ */

/* Reset completo del popup para evitar conflictos */
.pwa-install-popup {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    display: none;
    align-items: flex-end;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    box-sizing: border-box;
}

.pwa-install-popup.active {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Contenido del popup - centrado y responsivo */
.pwa-install-popup-content {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    left: auto !important;
    right: auto !important;
    transform: translateY(100%) !important;
    background: #ffffff;
    border-radius: 20px 20px 0 0;
    padding: 24px 20px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    max-height: 85vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pwa-install-popup.active .pwa-install-popup-content {
    transform: translateY(0) !important;
}

/* Botón cerrar */
.pwa-install-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    border: none;
    background: #f1f3f4;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5f6368;
    font-size: 16px;
    transition: all 0.2s ease;
    z-index: 5;
    padding: 0;
    margin: 0;
}

.pwa-install-popup-close:hover,
.pwa-install-popup-close:active {
    background: #e8eaed;
    color: #202124;
}

/* Icono del popup */
.pwa-install-popup-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    min-height: 64px;
    background: linear-gradient(135deg, #ff3731 0%, #ff6b6b 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
    box-shadow: 0 6px 20px rgba(255, 55, 49, 0.3);
}

.pwa-install-popup-icon i {
    font-size: 28px;
    color: white;
}

/* Texto del popup */
.pwa-install-popup-text {
    text-align: center;
    margin-bottom: 20px;
    padding: 0 10px;
}

.pwa-install-popup-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
    line-height: 1.3;
    word-wrap: break-word;
}

.pwa-install-popup-text p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
    word-wrap: break-word;
}

/* Botones de acción */
.pwa-install-popup-actions {
    display: flex;
    flex-direction: row;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
}

.pwa-install-popup-btn-secondary,
.pwa-install-popup-btn-primary {
    flex: 1;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    box-sizing: border-box;
    min-height: 48px;
}

.pwa-install-popup-btn-secondary {
    background: #f1f3f4;
    color: #5f6368;
}

.pwa-install-popup-btn-secondary:hover,
.pwa-install-popup-btn-secondary:active {
    background: #e8eaed;
    color: #202124;
}

.pwa-install-popup-btn-primary {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.pwa-install-popup-btn-primary:hover,
.pwa-install-popup-btn-primary:active {
    box-shadow: 0 6px 16px rgba(255, 107, 107, 0.4);
}

/* ================================================================
   RESPONSIVE MÓVIL - PWA Install Popup
   ================================================================ */

@media screen and (max-width: 480px) {
    .pwa-install-popup-content {
        padding: 20px 16px;
        padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
        border-radius: 16px 16px 0 0;
    }
    
    .pwa-install-popup-close {
        top: 12px;
        right: 12px;
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
        font-size: 14px;
    }
    
    .pwa-install-popup-icon {
        width: 56px;
        height: 56px;
        min-width: 56px;
        min-height: 56px;
        border-radius: 14px;
        margin-bottom: 14px;
    }
    
    .pwa-install-popup-icon i {
        font-size: 24px;
    }
    
    .pwa-install-popup-text {
        margin-bottom: 18px;
        padding: 0 5px;
    }
    
    .pwa-install-popup-text h3 {
        font-size: 1.1rem;
        margin-bottom: 6px;
    }
    
    .pwa-install-popup-text p {
        font-size: 0.85rem;
    }
    
    .pwa-install-popup-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .pwa-install-popup-btn-secondary,
    .pwa-install-popup-btn-primary {
        width: 100%;
        flex: none;
        padding: 14px 16px;
        font-size: 0.95rem;
        min-height: 50px;
    }
}

/* Pantallas muy pequeñas */
@media screen and (max-width: 360px) {
    .pwa-install-popup-content {
        padding: 18px 14px;
        padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    }
    
    .pwa-install-popup-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        min-height: 50px;
    }
    
    .pwa-install-popup-icon i {
        font-size: 22px;
    }
    
    .pwa-install-popup-text h3 {
        font-size: 1rem;
    }
    
    .pwa-install-popup-text p {
        font-size: 0.8rem;
    }
    
    .pwa-install-popup-btn-secondary,
    .pwa-install-popup-btn-primary {
        padding: 12px 14px;
        font-size: 0.9rem;
        min-height: 46px;
    }
}

/* Fix para iOS Safari - Safe areas */
@supports (padding: max(0px)) {
    .pwa-install-popup-content {
        padding-bottom: max(24px, calc(24px + env(safe-area-inset-bottom)));
    }
    
    @media screen and (max-width: 480px) {
        .pwa-install-popup-content {
            padding-bottom: max(20px, calc(20px + env(safe-area-inset-bottom)));
        }
    }
}

/* Prevenir scroll del body cuando el popup está activo */
body.pwa-popup-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* ================================================================
   FIX DEFINITIVO: NOMBRES DE COMERCIOS EN CARRUSEL - MÚLTIPLES LÍNEAS
   Soluciona superposición permitiendo 2-3 líneas de texto legible
   Agregar al FINAL del archivo landing.css
   ================================================================ */

/* Reset de los estilos problemáticos anteriores */
.featured-store-item {
    min-width: 120px !important;
    max-width: 120px !important;
    flex-shrink: 0;
    padding: 0 5px;
    box-sizing: border-box;
}

/* Nombre del comercio en círculos - PERMITIR MÚLTIPLES LÍNEAS */
.store-circle-name {
    font-size: 0.8rem !important;
    font-weight: 600;
    color: #2d3748;
    text-align: center;
    line-height: 1.25 !important;
    
    /* Permitir 2 líneas máximo */
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    
    /* IMPORTANTE: Permitir wrap */
    white-space: normal !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    hyphens: auto;
    
    /* Dimensiones fijas para evitar superposición */
    width: 100%;
    max-width: 110px;
    min-height: 2.5em; /* Espacio para 2 líneas */
    margin-top: 8px;
}

/* Contenedor del círculo - asegurar espacio */
.store-circle-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Ajustar círculo para dar más espacio al texto */
.store-circle {
    width: 70px !important;
    height: 70px !important;
    font-size: 1.8rem !important;
    flex-shrink: 0;
}

/* Carrusel de comercios - más espacio entre items */
.stores-carousel {
    display: flex;
    gap: 15px !important;
    overflow-x: auto;
    padding: 15px 10px 20px 10px !important;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* ================================================================
   RESPONSIVE MÓVIL - COMERCIOS DESTACADOS
   ================================================================ */

@media (max-width: 768px) {
    .featured-store-item {
        min-width: 100px !important;
        max-width: 100px !important;
        padding: 0 3px;
    }
    
    .store-circle {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.5rem !important;
    }
    
    .store-circle-name {
        font-size: 0.72rem !important;
        max-width: 94px;
        -webkit-line-clamp: 2 !important;
        min-height: 2.4em;
        line-height: 1.2 !important;
        margin-top: 6px;
    }
    
    .stores-carousel {
        gap: 10px !important;
        padding: 10px 8px 15px 8px !important;
    }
    
    /* Botón seguir más pequeño */
    .follow-btn-circle {
        width: 26px !important;
        height: 26px !important;
        bottom: auto;
        top: -5px;
        right: -5px;
        border-width: 2px !important;
    }
    
    .follow-btn-circle i {
        font-size: 0.65rem !important;
    }
    
    /* Badge premium más pequeño */
    .premium-badge-circle {
        width: 24px !important;
        height: 24px !important;
        font-size: 0.65rem !important;
        top: -3px;
        right: -3px;
    }
}

@media (max-width: 480px) {
    .featured-store-item {
        min-width: 90px !important;
        max-width: 90px !important;
        padding: 0 2px;
    }
    
    .store-circle {
        width: 52px !important;
        height: 52px !important;
        font-size: 1.3rem !important;
    }
    
    .store-circle-name {
        font-size: 0.68rem !important;
        max-width: 86px;
        -webkit-line-clamp: 2 !important;
        min-height: 2.3em;
        line-height: 1.15 !important;
        margin-top: 5px;
    }
    
    .stores-carousel {
        gap: 8px !important;
        padding: 8px 5px 12px 5px !important;
    }
    
    .follow-btn-circle {
        width: 24px !important;
        height: 24px !important;
    }
    
    .follow-btn-circle i {
        font-size: 0.6rem !important;
    }
    
    .premium-badge-circle {
        width: 22px !important;
        height: 22px !important;
        font-size: 0.6rem !important;
    }
}

@media (max-width: 360px) {
    .featured-store-item {
        min-width: 82px !important;
        max-width: 82px !important;
    }
    
    .store-circle {
        width: 48px !important;
        height: 48px !important;
        font-size: 1.2rem !important;
    }
    
    .store-circle-name {
        font-size: 0.65rem !important;
        max-width: 78px;
        min-height: 2.2em;
    }
    
    .stores-carousel {
        gap: 6px !important;
    }
}

/* ================================================================
   FIX: OFERTAS IMPERDIBLES - TÍTULOS LARGOS
   ================================================================ */

.hot-deal-title {
    font-size: 0.9rem !important;
    line-height: 1.3 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    white-space: normal !important;
    word-break: break-word !important;
    height: auto !important;
    min-height: 2.6em;
    max-height: 2.6em;
}

@media (max-width: 768px) {
    .hot-deal-card {
        min-width: 220px !important;
        max-width: 220px !important;
    }
    
    .hot-deal-title {
        font-size: 0.82rem !important;
        min-height: 2.4em;
        max-height: 2.4em;
    }
}

@media (max-width: 480px) {
    .hot-deal-card {
        min-width: 200px !important;
        max-width: 200px !important;
    }
    
    .hot-deal-title {
        font-size: 0.78rem !important;
    }
}

/* ================================================================
   FIX: STORE CARDS - NOMBRES EN GRID DE COMERCIOS
   ================================================================ */

.store-card .store-name {
    font-size: 1.2rem !important;
    line-height: 1.25 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    white-space: normal !important;
    word-break: break-word !important;
    min-height: 2.5em;
}

@media (max-width: 768px) {
    .store-card .store-name {
        font-size: 1.05rem !important;
        min-height: 2.4em;
    }
}

@media (max-width: 480px) {
    .store-card .store-name {
        font-size: 0.95rem !important;
        -webkit-line-clamp: 2 !important;
    }
}

/* ================================================================
   FIX: COMERCIOS QUE SIGO - CARDS HORIZONTALES
   ================================================================ */

.followed-store-name {
    font-size: 1rem !important;
    line-height: 1.25 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    white-space: normal !important;
    word-break: break-word !important;
    min-height: 2.5em;
}

.followed-store-card {
    flex: 0 0 260px !important;
    min-width: 260px !important;
    max-width: 260px !important;
}

@media (max-width: 768px) {
    .followed-store-card {
        flex: 0 0 240px !important;
        min-width: 240px !important;
        max-width: 240px !important;
    }
    
    .followed-store-name {
        font-size: 0.92rem !important;
        min-height: 2.3em;
    }
}

@media (max-width: 480px) {
    .followed-store-card {
        flex: 0 0 220px !important;
        min-width: 220px !important;
        max-width: 220px !important;
    }
    
    .followed-store-name {
        font-size: 0.85rem !important;
    }
}

/* ================================================================
   FIX: INFO CARD DEL MAPA - NOMBRES LARGOS
   ================================================================ */

.info-card-title h4 {
    font-size: 1rem !important;
    line-height: 1.25 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    white-space: normal !important;
    word-break: break-word !important;
    margin: 0 !important;
}

@media (max-width: 480px) {
    .info-card-title h4 {
        font-size: 0.9rem !important;
    }
    
    .map-info-card {
        max-width: calc(100vw - 30px) !important;
    }
}

/* ================================================================
   FIX: SUGERENCIAS DE COMERCIOS - NOMBRES LARGOS
   ================================================================ */

.suggestion-name {
    font-size: 0.9rem !important;
    line-height: 1.2 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    white-space: normal !important;
    word-break: break-word !important;
    text-overflow: ellipsis;
}

@media (max-width: 480px) {
    .suggestion-name {
        font-size: 0.82rem !important;
    }
    
    .suggestion-logo {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
    }
    
    .suggestion-logo i {
        font-size: 14px !important;
    }
}

/* ================================================================
   FIX: OFERTAS CAROUSEL (SWIPER) - TÍTULOS
   ================================================================ */

.offer-title {
    font-size: 1.15rem !important;
    line-height: 1.25 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    white-space: normal !important;
    word-break: break-word !important;
    min-height: 2.5em;
}

@media (max-width: 768px) {
    .offer-title {
        font-size: 1.05rem !important;
    }
}

@media (max-width: 480px) {
    .offer-title {
        font-size: 0.95rem !important;
    }
}

/* ================================================================
   GLOBAL: PREVENIR OVERFLOW DE TEXTO EN TODA LA LANDING
   ================================================================ */

.landing-page,
.landing-page * {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Asegurar que los contenedores horizontales no causen overflow */
.stores-carousel,
.hot-deals-scroll,
.followed-stores-scroll {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

/* Ocultar scrollbar horizontal en móvil para mejor UX */
@media (max-width: 768px) {
    .stores-carousel::-webkit-scrollbar,
    .hot-deals-scroll::-webkit-scrollbar,
    .followed-stores-scroll::-webkit-scrollbar {
        height: 4px;
    }
    
    .stores-carousel::-webkit-scrollbar-thumb,
    .hot-deals-scroll::-webkit-scrollbar-thumb,
    .followed-stores-scroll::-webkit-scrollbar-thumb {
        background: rgba(255, 107, 107, 0.3);
        border-radius: 4px;
    }
}

/* ================================================================
   PWA STANDALONE MODE - AJUSTES ADICIONALES
   ================================================================ */

@media (display-mode: standalone) {
    .featured-store-item {
        min-width: 95px !important;
        max-width: 95px !important;
    }
    
    .store-circle {
        width: 55px !important;
        height: 55px !important;
    }
    
    .store-circle-name {
        font-size: 0.7rem !important;
        max-width: 90px;
    }
}

@media (display-mode: standalone) and (max-width: 400px) {
    .featured-store-item {
        min-width: 85px !important;
        max-width: 85px !important;
    }
    
    .store-circle {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.2rem !important;
    }
    
    .store-circle-name {
        font-size: 0.65rem !important;
        max-width: 80px;
    }
}

/* ================================================================
   FIX DEFINITIVO V2: COMERCIOS DESTACADOS - SIN SUPERPOSICIÓN
   El texto DEBE estar contenido dentro de cada item
   Agregar al FINAL del archivo landing.css
   ================================================================ */

/* Contenedor del carrusel - controlar el layout */
.featured-stores-section .stores-carousel {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0 !important; /* Sin gap, usamos padding interno */
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 15px 10px 25px 10px !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

/* Cada item del carrusel - CONTENEDOR AISLADO */
.featured-store-item {
    /* Dimensiones fijas que no colapsan */
    flex: 0 0 140px !important;
    width: 140px !important;
    min-width: 140px !important;
    max-width: 140px !important;
    
    /* Layout interno */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    
    /* CRÍTICO: Contener todo el contenido */
    overflow: hidden !important;
    
    /* Espaciado interno */
    padding: 10px 5px !important;
    box-sizing: border-box !important;
    
    /* Scroll snap */
    scroll-snap-align: start;
}

/* Wrapper del círculo */
.featured-store-item .store-circle-wrapper {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
}

/* Círculo del comercio */
.featured-store-item .store-circle {
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
    min-height: 80px !important;
    font-size: 2rem !important;
    flex-shrink: 0 !important;
}

/* NOMBRE DEL COMERCIO - CRÍTICO */
.featured-store-item .store-circle-name,
.featured-store-item > .store-name {
    /* Dimensiones controladas */
    width: 100% !important;
    max-width: 130px !important;
    
    /* Tipografía */
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    text-align: center !important;
    color: #2d3748 !important;
    
    /* Permitir múltiples líneas (hasta 3) */
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    
    /* CRÍTICO: Contener el texto */
    overflow: hidden !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
    
    /* Espacio y altura */
    margin-top: 10px !important;
    min-height: 3.9em !important; /* Espacio para 3 líneas */
    max-height: 3.9em !important;
    
    /* Asegurar que no se salga */
    position: relative !important;
    z-index: 1 !important;
}

/* Botón seguir - reposicionar para no interferir */
.featured-store-item .follow-btn-circle {
    position: absolute !important;
    top: -5px !important;
    right: calc(50% - 45px) !important; /* Centrado relativo al círculo */
    width: 28px !important;
    height: 28px !important;
    z-index: 10 !important;
}

/* Badge premium - reposicionar */
.featured-store-item .premium-badge-circle {
    position: absolute !important;
    top: -5px !important;
    right: calc(50% - 45px) !important;
    width: 28px !important;
    height: 28px !important;
    z-index: 10 !important;
}

/* ================================================================
   RESPONSIVE MÓVIL - COMERCIOS DESTACADOS
   ================================================================ */

@media screen and (max-width: 768px) {
    .featured-stores-section .stores-carousel {
        padding: 10px 5px 20px 5px !important;
    }
    
    .featured-store-item {
        flex: 0 0 115px !important;
        width: 115px !important;
        min-width: 115px !important;
        max-width: 115px !important;
        padding: 8px 3px !important;
    }
    
    .featured-store-item .store-circle {
        width: 65px !important;
        height: 65px !important;
        min-width: 65px !important;
        min-height: 65px !important;
        font-size: 1.6rem !important;
    }
    
    .featured-store-item .store-circle-name,
    .featured-store-item > .store-name {
        font-size: 0.72rem !important;
        max-width: 108px !important;
        line-height: 1.25 !important;
        margin-top: 8px !important;
        min-height: 3.75em !important;
        max-height: 3.75em !important;
        -webkit-line-clamp: 3 !important;
    }
    
    .featured-store-item .follow-btn-circle {
        width: 24px !important;
        height: 24px !important;
        right: calc(50% - 38px) !important;
    }
    
    .featured-store-item .follow-btn-circle i {
        font-size: 0.6rem !important;
    }
    
    .featured-store-item .premium-badge-circle {
        width: 22px !important;
        height: 22px !important;
        right: calc(50% - 38px) !important;
        font-size: 0.6rem !important;
    }
}

@media screen and (max-width: 480px) {
    .featured-store-item {
        flex: 0 0 100px !important;
        width: 100px !important;
        min-width: 100px !important;
        max-width: 100px !important;
        padding: 6px 2px !important;
    }
    
    .featured-store-item .store-circle {
        width: 55px !important;
        height: 55px !important;
        min-width: 55px !important;
        min-height: 55px !important;
        font-size: 1.4rem !important;
    }
    
    .featured-store-item .store-circle-name,
    .featured-store-item > .store-name {
        font-size: 0.65rem !important;
        max-width: 94px !important;
        line-height: 1.2 !important;
        margin-top: 6px !important;
        min-height: 3.6em !important;
        max-height: 3.6em !important;
    }
    
    .featured-store-item .follow-btn-circle {
        width: 22px !important;
        height: 22px !important;
        top: -3px !important;
        right: calc(50% - 32px) !important;
    }
    
    .featured-store-item .premium-badge-circle {
        width: 20px !important;
        height: 20px !important;
        top: -3px !important;
        right: calc(50% - 32px) !important;
        font-size: 0.55rem !important;
    }
}

@media screen and (max-width: 360px) {
    .featured-store-item {
        flex: 0 0 90px !important;
        width: 90px !important;
        min-width: 90px !important;
        max-width: 90px !important;
        padding: 5px 2px !important;
    }
    
    .featured-store-item .store-circle {
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        min-height: 48px !important;
        font-size: 1.2rem !important;
    }
    
    .featured-store-item .store-circle-name,
    .featured-store-item > .store-name {
        font-size: 0.6rem !important;
        max-width: 84px !important;
        min-height: 3.6em !important;
        max-height: 3.6em !important;
    }
    
    .featured-store-item .follow-btn-circle {
        width: 20px !important;
        height: 20px !important;
        right: calc(50% - 28px) !important;
    }
    
    .featured-store-item .premium-badge-circle {
        width: 18px !important;
        height: 18px !important;
        right: calc(50% - 28px) !important;
    }
}

/* ================================================================
   PWA STANDALONE MODE
   ================================================================ */

@media (display-mode: standalone) {
    .featured-store-item {
        flex: 0 0 105px !important;
        width: 105px !important;
        min-width: 105px !important;
        max-width: 105px !important;
    }
    
    .featured-store-item .store-circle {
        width: 58px !important;
        height: 58px !important;
        min-width: 58px !important;
        min-height: 58px !important;
    }
    
    .featured-store-item .store-circle-name,
    .featured-store-item > .store-name {
        font-size: 0.68rem !important;
        max-width: 98px !important;
    }
}

/* ================================================================
   FIX ADICIONAL: OTRAS SECCIONES CON NOMBRES LARGOS
   ================================================================ */

/* Hot deals - títulos */
.hot-deal-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.3 !important;
    height: auto !important;
    min-height: 2.6em !important;
    max-height: 2.6em !important;
}

/* Store cards - nombres */
.store-card .store-name {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.25 !important;
}

/* Comercios seguidos */
.followed-store-name {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.25 !important;
}

/* Sugerencias */
.suggestion-name {
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    white-space: normal !important;
    word-break: break-word !important;
}

/* Info card mapa */
.info-card-title h4 {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.25 !important;
}

/* Ofertas carousel */
.offer-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.25 !important;
}

/* ================================================================
   BOTONES FAVORITOS Y COMPARTIR EN OFERTAS LANDING
   ================================================================ */

/* Botón favorito en cards del carrusel */
.offer-card .favorite-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.offer-card .favorite-btn:hover {
    transform: scale(1.1);
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.offer-card .favorite-btn i {
    font-size: 1rem;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.offer-card .favorite-btn.active i,
.offer-card .favorite-btn:hover i {
    color: #ff6b6b;
}

.offer-card .favorite-btn.active {
    background: #fff5f5;
}

.offer-card .favorite-btn.active i {
    animation: heartPop 0.3s ease;
}

/* Botón compartir en cards del carrusel */
.share-offer-btn-landing {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 107, 107, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

.share-offer-btn-landing:hover {
    transform: scale(1.1);
    background: #ff6b6b;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

.share-offer-btn-landing i {
    font-size: 0.85rem;
    color: white;
}

.share-offer-btn-landing.sharing i {
    animation: spin 0.5s linear infinite;
}

/* Botón favorito en ofertas imperdibles (hot deals) */
.hot-deal-card {
    position: relative;
}

.favorite-btn-hot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.favorite-btn-hot:hover {
    transform: scale(1.1);
    background: white;
}

.favorite-btn-hot i {
    font-size: 0.9rem;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.favorite-btn-hot.active i,
.favorite-btn-hot:hover i {
    color: #ff6b6b;
}

.favorite-btn-hot.active {
    background: #fff5f5;
}

/* Botón compartir en ofertas imperdibles */
.share-btn-hot {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 107, 107, 0.85);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.share-btn-hot:hover {
    transform: scale(1.1);
    background: #ff6b6b;
}

.share-btn-hot i {
    font-size: 0.75rem;
    color: white;
}

/* Animación del corazón */
@keyframes heartPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ================================================================
   MODAL DE COMPARTIR LANDING
   ================================================================ */


.share-modal-overlay-landing {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 99999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.share-modal-overlay-landing.active {
    opacity: 1;
    visibility: visible;
}

.share-modal-landing {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    max-height: 90vh;
    z-index: 100000000;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.share-modal-landing {
    transform: scale(1) translateY(0);
    z-index: 100000000;
    
}

.share-modal-header-landing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
}

.share-modal-header-landing h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.share-modal-close-landing {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.2s ease;
}

.share-modal-close-landing:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.share-modal-content-landing {
    padding: 1.5rem;
}

.share-modal-title-landing {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.25rem 0;
    line-height: 1.4;
}

.share-modal-store-landing {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0 0 1.25rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.share-modal-store-landing i {
    color: #ff6b6b;
}

.share-options-landing {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.share-option-landing {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 0.5rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    background: transparent;
    cursor: pointer;
}

.share-option-landing:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

.share-option-landing i {
    font-size: 1.5rem;
}

.share-option-landing span {
    font-size: 0.7rem;
    font-weight: 500;
    color: #64748b;
}

.share-option-landing.share-whatsapp i { color: #25D366; }
.share-option-landing.share-telegram i { color: #0088cc; }
.share-option-landing.share-facebook i { color: #1877F2; }
.share-option-landing.share-twitter i { color: #1DA1F2; }
.share-option-landing.share-copy i { color: #64748b; }

.share-link-container-landing {
    display: flex;
    gap: 0.5rem;
    background: #f8fafc;
    border-radius: 12px;
    padding: 0.5rem;
}

.share-link-input-landing {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.85rem;
    color: #64748b;
    padding: 0.5rem;
    outline: none;
    min-width: 0;
}

.share-link-copy-btn-landing {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #ff6b6b;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.share-link-copy-btn-landing:hover {
    background: #ff5252;
    transform: scale(1.05);
}

/* ================================================================
   MODAL DE DETALLE DE OFERTA (offer_modal.js)
   ================================================================ */

.offer-detail-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1rem;
    overflow-y: auto;
}

.offer-detail-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.offer-detail-modal {
    background: white;
    border-radius: 24px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.9) translateY(30px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
}

.offer-detail-modal-overlay.active .offer-detail-modal {
    transform: scale(1) translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.modal-close-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.modal-close-btn i {
    font-size: 1.1rem;
    color: #64748b;
}

/* Loading state */
.modal-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    gap: 1rem;
}

.modal-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #f1f5f9;
    border-top-color: #ff6b6b;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.modal-loading span {
    font-size: 0.95rem;
    color: #64748b;
}

/* Error state */
.modal-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    gap: 1rem;
    text-align: center;
}

.modal-error i {
    font-size: 3rem;
    color: #ef4444;
}

.modal-error p {
    color: #64748b;
    margin: 0;
}

.btn-retry {
    padding: 0.75rem 1.5rem;
    background: #ff6b6b;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-retry:hover {
    background: #ff5252;
    transform: translateY(-2px);
}

/* Modal content */
.modal-content {
    overflow-y: auto;
    max-height: 90vh;
}

/* Header del modal */
.modal-header {
    position: relative;
}

.modal-image-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.modal-offer-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-offer-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-offer-image-placeholder i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.8);
}

.modal-badge-featured {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #ffd700, #ffb347);
    color: #1e293b;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.modal-badge-type {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
}

.modal-badge-type.badge-2x1 { background: linear-gradient(135deg, #667eea, #764ba2); }
.modal-badge-type.badge-3x2 { background: linear-gradient(135deg, #f093fb, #f5576c); }
.modal-badge-type.badge-gratis { background: linear-gradient(135deg, #11998e, #38ef7d); }
.modal-badge-type.badge-cupon { background: linear-gradient(135deg, #fa709a, #fee140); }
.modal-badge-type.badge-stock { background: linear-gradient(135deg, #f7971e, #ffd200); color: #1e293b; }
.modal-badge-type.badge-descuento { background: linear-gradient(135deg, #ff6b6b, #ff8e8e); }
.modal-badge-type.badge-otro { background: #64748b; }

.modal-favorite-btn {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.modal-favorite-btn:hover {
    transform: scale(1.1);
    background: white;
}

.modal-favorite-btn i {
    font-size: 1.2rem;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.modal-favorite-btn.active i,
.modal-favorite-btn:hover i {
    color: #ff6b6b;
}

.modal-favorite-btn.active {
    background: #fff5f5;
}

/* Contenido principal */
.modal-main-content {
    padding: 1.5rem;
}

.modal-category-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.modal-category {
    background: #f1f5f9;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.modal-category i {
    color: #ff6b6b;
}

.modal-views {
    font-size: 0.8rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

/* Precios */
.modal-pricing {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #fef3f3, #fff5f5);
    border-radius: 12px;
}

.modal-pricing .price-original {
    font-size: 1rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.modal-pricing .price-current {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ff6b6b;
}

.modal-pricing .price-current.price-free {
    color: #10b981;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-pricing .discount-badge {
    background: #ff6b6b;
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
}

.modal-pricing .price-savings {
    width: 100%;
    font-size: 0.9rem;
    color: #10b981;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.25rem;
}

.price-nxm-detail {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.price-nxm-detail .price-nxm-label {
    width: 100%;
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

/* Validez */
.modal-validity {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    background: #f1f5f9;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 1rem;
}

.modal-validity.urgente {
    background: #fef2f2;
    color: #ef4444;
}

.modal-validity.pronto {
    background: #fef3c7;
    color: #d97706;
}

.modal-validity.vencida {
    background: #fee2e2;
    color: #dc2626;
}

.modal-validity.stock {
    background: #fef3c7;
    color: #b45309;
}

/* Stock info */
.modal-stock-info {
    margin-bottom: 1rem;
}

.modal-stock-info .stock-bar-container {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.modal-stock-info .stock-bar {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #34d399);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.modal-stock-info span {
    font-size: 0.85rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Descripción */
.modal-description {
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.modal-description h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-description h4 i {
    color: #ff6b6b;
}

.modal-description p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
    white-space: pre-line;
}

/* Sección comercio */
.modal-comercio-section {
    padding: 1.5rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.modal-comercio-section h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-comercio-section h4 i {
    color: #ff6b6b;
}

.comercio-card {
    background: white;
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.comercio-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.comercio-avatar {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.comercio-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comercio-avatar-letter {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.comercio-name-info h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.25rem 0;
}

.premium-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: linear-gradient(135deg, #ffd700, #ffb347);
    color: #1e293b;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
}

.comercio-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.comercio-stats span {
    font-size: 0.85rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.comercio-stats span i {
    color: #ff6b6b;
}

.delivery-badge {
    background: #dcfce7;
    color: #16a34a !important;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
}

.comercio-info-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.comercio-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #64748b;
}

.comercio-info-item i {
    color: #ff6b6b;
    width: 16px;
    text-align: center;
    margin-top: 0.2rem;
}

.comercio-info-item a {
    color: #3b82f6;
    text-decoration: none;
}

.comercio-info-item a:hover {
    text-decoration: underline;
}

/* Horarios */
.comercio-horarios {
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.comercio-horarios h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.comercio-horarios h5 i {
    color: #ff6b6b;
}

.horarios-grid {
    display: grid;
    gap: 0.3rem;
}

.horario-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    padding: 0.3rem 0;
}

.horario-row .dia {
    font-weight: 500;
    color: #475569;
    min-width: 40px;
}

.horario-row .horas {
    color: #64748b;
}

.horario-row.cerrado .horas {
    color: #ef4444;
}

/* Redes sociales */
.comercio-redes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.red-social-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.red-social-btn:hover {
    transform: translateY(-2px);
}

.red-social-btn i {
    font-size: 1.1rem;
    color: white;
}

.red-social-btn.whatsapp { background: #25D366; }
.red-social-btn.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.red-social-btn.facebook { background: #1877F2; }
.red-social-btn.twitter { background: #1DA1F2; }
.red-social-btn.tiktok { background: #000; }
.red-social-btn.website { background: #64748b; }

/* Métodos de pago */
.comercio-metodos-pago {
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.comercio-metodos-pago h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.comercio-metodos-pago h5 i {
    color: #ff6b6b;
}

.metodos-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.metodo-pago-tag {
    background: #f1f5f9;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    font-size: 0.8rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.metodo-pago-tag i {
    color: #94a3b8;
}

/* Descripción del comercio */
.comercio-descripcion {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.comercio-descripcion p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* Ofertas relacionadas */
.modal-related-section {
    padding: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.modal-related-section h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-related-section h4 i {
    color: #ff6b6b;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.related-card {
    background: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
}

.related-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.related-card .rel-image {
    height: 80px;
    background-size: cover;
    background-position: center;
}

.related-card .rel-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-card .rel-placeholder i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.related-card .rel-info {
    padding: 0.75rem;
}

.related-card .rel-store {
    font-size: 0.7rem;
    color: #94a3b8;
    display: block;
    margin-bottom: 0.2rem;
}

.related-card .rel-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
    display: block;
    line-height: 1.3;
    margin-bottom: 0.4rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-card .rel-pricing {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.related-card .rel-price-old {
    font-size: 0.75rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.related-card .rel-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ff6b6b;
}

.related-card .rel-discount {
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    background: #ff6b6b;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}

/* Acciones del modal */
.modal-actions {
    display: flex;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    background: white;
    border-top: 1px solid #e2e8f0;
}

.modal-action-btn {
    flex: 1;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-action-btn.share-btn {
    background: #f1f5f9;
    color: white;
}

.modal-action-btn.share-btn:hover {
    background: #e2e8f0;
}

.modal-action-btn.comercio-btn {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
}

.modal-action-btn.comercio-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3);
}

/* ================================================================
   RESPONSIVE PARA MODAL
   ================================================================ */

@media (max-width: 640px) {
    .offer-detail-modal-overlay {
        padding: 0;
        align-items: flex-end;
    }
    
    .offer-detail-modal {
        max-width: 100%;
        max-height: 95vh;
        border-radius: 24px 24px 0 0;
        transform: translateY(100%);
    }
    
    .offer-detail-modal-overlay.active .offer-detail-modal {
        transform: translateY(0);
    }
    
    .modal-image-container {
        height: 200px;
    }
    
    .modal-title {
        font-size: 1.25rem;
    }
    
    .modal-pricing .price-current {
        font-size: 1.5rem;
    }
    
    .related-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    
    .related-card .rel-image {
        height: 70px;
    }
    
    .share-options-landing {
        grid-template-columns: repeat(5, 1fr);
        gap: 0.5rem;
    }
    
    .share-option-landing {
        padding: 0.5rem 0.25rem;
    }
    
    .share-option-landing i {
        font-size: 1.25rem;
    }
    
    .share-option-landing span {
        font-size: 0.65rem;
    }
}

/* Ajustes para las cards de oferta en el carrusel */
.carousel-section .offer-card {
    position: relative;
}

.carousel-section .offer-content {
    position: relative;
}

/* Hacer que las cards del carrusel tengan cursor pointer */
.landing-offer-card {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.landing-offer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Prevenir conflictos con body cuando modal está abierto */
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* =============================================================================
   MODAL DE DETALLE DE OFERTA - LANDING PAGE
   ============================================================================= */

/* Overlay y contenedor principal */
.offer-detail-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10001;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.offer-detail-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (min-width: 769px) {
    .offer-detail-modal-overlay {
        align-items: center;
        padding: 2rem;
    }
}

.offer-detail-modal {
    background: #fff;
    width: 100%;
    max-width: 580px;
    max-height: 95vh;
    max-height: 95dvh;
    border-radius: 24px 24px 0 0;
    overflow: hidden;
    position: relative;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 -10px 50px rgba(0, 0, 0, 0.3);
}

.offer-detail-modal-overlay.active .offer-detail-modal {
    transform: translateY(0);
}

@media (min-width: 769px) {
    .offer-detail-modal {
        border-radius: 24px;
        max-height: 90vh;
        box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
        transform: scale(0.9) translateY(30px);
    }
    
    .offer-detail-modal-overlay.active .offer-detail-modal {
        transform: scale(1) translateY(0);
    }
}

/* Botón cerrar */
.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.modal-close-btn:hover {
    background: #ff6b6b;
    color: white;
    transform: scale(1.1);
}

.modal-close-btn:active {
    transform: scale(0.95);
}

.modal-close-btn i {
    font-size: 1.1rem;
    color: #64748b;
    transition: color 0.2s;
}

.modal-close-btn:hover i {
    color: white;
}

/* Estados: Loading y Error */
.modal-loading,
.modal-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    min-height: 300px;
}

.modal-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #f1f5f9;
    border-top-color: #ff6b6b;
    border-radius: 50%;
    animation: modalSpin 0.8s linear infinite;
    margin-bottom: 1rem;
}

@keyframes modalSpin {
    to { transform: rotate(360deg); }
}

.modal-loading span {
    color: #64748b;
    font-weight: 500;
}

.modal-error i {
    font-size: 3rem;
    color: #ef4444;
    margin-bottom: 1rem;
}

.modal-error p {
    color: #64748b;
    margin-bottom: 1rem;
}

.btn-retry {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-retry:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

/* Contenido del modal */
.modal-content {
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f8fafc;
}

.modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ff6b6b 0%, #ff8e8e 100%);
    border-radius: 3px;
}

/* Header con imagen */
.modal-header {
    position: relative;
    width: 100%;
}

.modal-image-container {
    position: relative;
    width: 100%;
    background: #f8fafc;
}

.modal-offer-image {
    width: 100%;
    max-height: 320px;
    object-fit: contain;
    background: #f8fafc;
    display: block;
}

.modal-offer-image-placeholder {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-offer-image-placeholder i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Badges en modal */
.modal-badge-featured {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #2d3748;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    z-index: 5;
}

.modal-badge-type {
    position: absolute;
    bottom: 16px;
    left: 16px;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 5;
}

.modal-badge-type.badge-gratis {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.modal-badge-type.badge-2x1,
.modal-badge-type.badge-3x2 {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
}

.modal-badge-type.badge-cupon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.modal-badge-type.badge-stock {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.modal-badge-type.badge-descuento {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.modal-badge-type.badge-otro {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    color: white;
}

/* Botón favorito en modal */
.modal-favorite-btn {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 5;
}

.modal-favorite-btn i {
    font-size: 1.3rem;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.modal-favorite-btn:hover {
    transform: scale(1.1);
}

.modal-favorite-btn:hover i {
    color: #ff6b6b;
}

.modal-favorite-btn.active {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
}

.modal-favorite-btn.active i {
    color: white;
}

/* Contenido principal del modal */
.modal-main-content {
    padding: 1.5rem;
}

.modal-category-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.modal-category {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    background: #f1f5f9;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
}

.modal-category i {
    color: #ff6b6b;
}

.modal-views {
    font-size: 0.8rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.modal-title {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

/* Precios en modal */
.modal-pricing {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #fff5f5 0%, #fef2f2 100%);
    border-radius: 16px;
    border: 1px solid #fecaca;
}

.modal-pricing .price-original {
    font-size: 1rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.modal-pricing .price-current {
    font-size: 2rem;
    font-weight: 800;
    color: #ff6b6b;
}

.modal-pricing .price-current.price-free {
    color: #10b981;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-pricing .discount-badge {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

/* Precios NxM en modal */
.price-nxm-detail {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    width: 100%;
}

.price-nxm-detail .price-nxm-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #8b5cf6;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.price-nxm-detail .price-original {
    font-size: 0.95rem;
}

.price-nxm-detail .price-current {
    font-size: 1.75rem;
}

.price-nxm-detail .price-savings {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #10b981;
    background: #ecfdf5;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    margin-top: 0.25rem;
    width: fit-content;
}

/* Validez y stock */
.modal-validity {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: #f1f5f9;
    color: #64748b;
}

.modal-validity i {
    font-size: 1rem;
}

.modal-validity.urgente {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
}

.modal-validity.pronto {
    background: #fef3c7;
    color: #d97706;
}

.modal-validity.vencida {
    background: #fee2e2;
    color: #dc2626;
}

.modal-validity.stock {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.modal-stock-info {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.modal-stock-info .stock-bar-container {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.modal-stock-info .stock-bar {
    height: 100%;
    background: linear-gradient(90deg, #ef4444 0%, #f97316 50%, #10b981 100%);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.modal-stock-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #92400e;
}

/* Descripción */
.modal-description {
    margin-bottom: 1.5rem;
}

.modal-description h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-description h4 i {
    color: #ff6b6b;
}

.modal-description p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
    white-space: pre-wrap;
}

/* Sección del comercio */
.modal-comercio-section {
    padding: 0 1.5rem 1.5rem;
}

.modal-comercio-section > h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-comercio-section > h4 i {
    color: #ff6b6b;
}

.comercio-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    padding: 1.25rem;
    border: 1px solid #e2e8f0;
}

.comercio-header {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 1rem;
}

.comercio-avatar {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.comercio-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comercio-avatar-letter {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.comercio-name-info {
    flex: 1;
    min-width: 0;
}

.comercio-name-info h5 {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
}

.premium-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: #d97706;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
}

.comercio-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed #e2e8f0;
}

.comercio-stats span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: #64748b;
}

.comercio-stats span i {
    color: #ff6b6b;
}

.comercio-stats .delivery-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-weight: 600;
}

.comercio-info-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.comercio-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #475569;
}

.comercio-info-item i {
    color: #ff6b6b;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.comercio-info-item a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.comercio-info-item a:hover {
    text-decoration: underline;
}

/* Horarios */
.comercio-horarios {
    margin-bottom: 1rem;
}

.comercio-horarios h5 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comercio-horarios h5 i {
    color: #ff6b6b;
}

.horarios-grid {
    display: grid;
    gap: 0.35rem;
}

.horario-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
    background: white;
}

.horario-row .dia {
    font-weight: 600;
    color: #1e293b;
    width: 40px;
}

.horario-row .horas {
    color: #64748b;
}

.horario-row.cerrado {
    opacity: 0.6;
}

.horario-row.cerrado .horas {
    color: #ef4444;
}

.comercio-horarios-simple {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 1rem;
}

.comercio-horarios-simple i {
    color: #ff6b6b;
}

/* Redes sociales */
.comercio-redes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.red-social-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.red-social-btn i {
    font-size: 1.25rem;
    color: white;
}

.red-social-btn:hover {
    transform: translateY(-3px);
}

.red-social-btn.whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.red-social-btn.instagram {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 4px 12px rgba(225, 48, 108, 0.3);
}

.red-social-btn.facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0d65d9 100%);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.red-social-btn.website {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    box-shadow: 0 4px 12px rgba(100, 116, 139, 0.3);
}

.red-social-btn.tiktok {
    background: linear-gradient(135deg, #000000 0%, #25f4ee 50%, #fe2c55 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Métodos de pago */
.comercio-metodos-pago {
    margin-bottom: 1rem;
}

.comercio-metodos-pago h5 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comercio-metodos-pago h5 i {
    color: #ff6b6b;
}

.metodos-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.metodo-pago-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    background: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.metodo-pago-tag i {
    color: #10b981;
}

.comercio-descripcion {
    padding-top: 0.75rem;
    border-top: 1px dashed #e2e8f0;
}

.comercio-descripcion p {
    margin: 0;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.6;
}

/* Ofertas relacionadas */
.modal-related-section {
    padding: 0 1.5rem 1.5rem;
}

.modal-related-section > h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-related-section > h4 i {
    color: #ff6b6b;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.related-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.related-card:active {
    transform: translateY(-1px);
}

.rel-image {
    width: 100%;
    height: 90px;
    background-size: cover;
    background-position: center;
    background-color: #f8fafc;
}

.rel-image.rel-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.rel-image.rel-placeholder i {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.7);
}

.rel-info {
    padding: 0.75rem;
}

.rel-store {
    display: block;
    font-size: 0.7rem;
    color: #94a3b8;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rel-title {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rel-pricing {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.rel-price-old {
    font-size: 0.75rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.rel-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ff6b6b;
}

.rel-discount {
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
}

/* Acciones del modal */
.modal-actions {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.5rem 1.5rem;
    background: linear-gradient(180deg, transparent 0%, #f8fafc 100%);
    position: sticky;
    bottom: 0;
}

.modal-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.modal-action-btn.share-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.modal-action-btn.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.modal-action-btn.comercio-btn {
    background: white;
    color: #1e293b;
    border: 2px solid #e2e8f0;
}

.modal-action-btn.comercio-btn:hover {
    border-color: #ff6b6b;
    color: #ff6b6b;
    transform: translateY(-2px);
}

/* Prevenir scroll del body cuando modal abierto */
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* Fix para iOS */
@supports (-webkit-touch-callout: none) {
    body.modal-open {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }
}

/* Responsive modal */
@media (max-width: 480px) {
    .offer-detail-modal {
        max-height: 92vh;
        max-height: 92dvh;
        border-radius: 20px 20px 0 0;
    }
    
    .modal-close-btn {
        width: 40px;
        height: 40px;
        top: 12px;
        right: 12px;
    }
    
    .modal-title {
        font-size: 1.3rem;
    }
    
    .modal-main-content {
        padding: 1.25rem;
    }
    
    .modal-pricing {
        padding: 0.875rem;
    }
    
    .modal-pricing .price-current {
        font-size: 1.75rem;
    }
    
    .modal-comercio-section,
    .modal-related-section {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    
    .comercio-card {
        padding: 1rem;
    }
    
    .comercio-avatar {
        width: 48px;
        height: 48px;
    }
    
    .comercio-name-info h5 {
        font-size: 1rem;
    }
    
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .rel-image {
        height: 75px;
    }
    
    .rel-info {
        padding: 0.6rem;
    }
    
    .rel-title {
        font-size: 0.8rem;
    }
    
    .modal-actions {
        padding: 0.875rem 1.25rem calc(0.875rem + env(safe-area-inset-bottom, 0px));
    }
    
    .modal-action-btn {
        padding: 0.75rem 0.875rem;
        font-size: 0.9rem;
    }
}

/* iOS safe area */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .modal-actions {
        padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
    }
}

/* Landscape móvil */
@media (max-height: 500px) and (orientation: landscape) {
    .offer-detail-modal {
        max-height: 100vh;
        max-height: 100dvh;
    }
    
    .modal-offer-image {
        max-height: 180px;
    }
    
    .related-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ================================================================
   LONG PRESS INDICATOR - Feedback visual para abrir modal
   ================================================================ */
.long-press-indicator {
    position: fixed;
    width: 60px;
    height: 60px;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.15s ease;
}

.long-press-indicator.active {
    opacity: 1;
}

@keyframes longPressPulse {
    0% {
        transform: scale(0.5);
        opacity: 0.5;
    }
    50% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Prevenir selección de texto en cards durante touch */
.landing-offer-card,
.hot-deal-card,
.swiper-slide {
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

/* ================================================================
   COMERCIOS DESTACADOS - ESTADO VACÍO
   ================================================================ */
.featured-stores-empty {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
    width: 100%;
}

.featured-stores-empty p {
    margin: 0;
    font-size: 0.95rem;
}

.featured-stores-empty i {
    color: #ffc107;
    margin-right: 0.5rem;
}

/* ================================================================
   ESTILOS PARA COMERCIO LOGUEADO - OCULTAR ACCIONES PROPIAS
   ================================================================ */

/* Ocultar botón seguir en el propio comercio */
.store-card.mi-propio-comercio .follow-btn-card {
    display: none !important;
}

/* Badge indicador de "Tu comercio" */
.store-card.mi-propio-comercio::before {
    content: 'Tu comercio';
    position: absolute;
    top: 60px;
    right: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Estilo sutil para indicar que es tu propio comercio */
.store-card.mi-propio-comercio {
    border: 2px solid var(--color-primary, #ff6b6b);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.15);
}

/* ================================================================
   FIX: BADGE PREMIUM DUPLICADO EN INFO CARD DEL MAPA
   Sobreescribe las reglas anteriores que causan duplicación
   ================================================================ */

/* Eliminar el ::before que genera badge duplicado */
.map-info-card .info-card-header.premium::before {
    display: none !important;
    content: none !important;
}

/* Eliminar el ::after que genera badge duplicado */
.map-info-card .info-card-header.premium::after {
    display: none !important;
    content: none !important;
}

/* Badge premium único y bien posicionado para info card del mapa */
.map-info-card .info-card-premium-badge {
    position: absolute;
    top: -10px;
    right: 45px; /* Alejado del botón cerrar */
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #2d3748;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.4);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.map-info-card .info-card-premium-badge i {
    font-size: 0.6rem;
    color: #ff6b6b;
}

/* Asegurar que el logo premium tenga borde dorado */
.map-info-card .info-card-header.premium .info-card-logo {
    border: 2px solid #ffd700;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.map-info-card {
    position: absolute;
    overflow: visible;
}

/* Reposicionar badge premium dentro del modal */
.map-info-card .info-card-premium-badge {
    position: absolute;
    top: 12px !important;
    right: 50px !important;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #2d3748;
    padding: 0.3rem 0.7rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.4);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.map-info-card .info-card-premium-badge i {
    font-size: 0.65rem;
    color: #ff6b6b;
}

/* ===========================================
   BOTÓN COMPARTIR EN CARDS DE OFERTAS
   =========================================== */

.offer-card .share-offer-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    margin-top: 0.75rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.offer-card .share-offer-btn:hover {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.offer-card .share-offer-btn:active {
    transform: translateY(0);
}

.offer-card .share-offer-btn.sharing {
    pointer-events: none;
    opacity: 0.7;
}

.offer-card .share-offer-btn i {
    font-size: 0.9rem;
}

/* ===========================================
   MODAL DE COMPARTIR OFERTA
   =========================================== */



.share-modal {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.share-modal {
    transform: scale(1) translateY(0);
}

.share-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: white;
}

.share-modal-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.share-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: white;
}

.share-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.share-modal-content {
    padding: 1.5rem;
}

.share-modal-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.25rem 0;
    line-height: 1.4;
}

.share-modal-store {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0 0 1.25rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.share-modal-store i {
    color: #ff6b6b;
}

.share-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    background: #f8fafc;
    color: #475569;
}

.share-option i {
    font-size: 1.5rem;
}

.share-option:hover {
    transform: translateY(-3px);
}

.share-option.share-whatsapp {
    background: #dcfce7;
    color: #166534;
}

.share-option.share-whatsapp:hover {
    background: #25d366;
    color: white;
}

.share-option.share-telegram {
    background: #e0f2fe;
    color: #0369a1;
}

.share-option.share-telegram:hover {
    background: #0088cc;
    color: white;
}

.share-option.share-facebook {
    background: #dbeafe;
    color: #1e40af;
}

.share-option.share-facebook:hover {
    background: #1877f2;
    color: white;
}

.share-option.share-twitter {
    background: #e0f2fe;
    color: #0369a1;
}

.share-option.share-twitter:hover {
    background: #1da1f2;
    color: white;
}

.share-option.share-email {
    background: #fef3c7;
    color: #92400e;
}

.share-option.share-email:hover {
    background: #f59e0b;
    color: white;
}

.share-option.share-copy {
    background: #f1f5f9;
    color: #475569;
}

.share-option.share-copy:hover {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: white;
}

.share-link-container {
    display: flex;
    gap: 0.5rem;
    background: #f8fafc;
    border-radius: 10px;
    padding: 0.5rem;
    border: 1px solid #e2e8f0;
}

.share-link-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.8rem;
    color: #64748b;
    padding: 0.5rem;
    min-width: 0;
}

.share-link-input:focus {
    outline: none;
}

.share-link-copy-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: all 0.2s;
    flex-shrink: 0;
}

.share-link-copy-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

/* Responsive modal compartir */
@media (max-width: 480px) {
    .share-modal {
        max-width: 100%;
        border-radius: 20px 20px 0 0;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        max-height: 85vh;
        overflow-y: auto;
    }
    

    
    .share-modal {
        transform: translateY(0);
    }
    
    .share-options {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===========================================
   INDICADOR DE CLICK EN CARDS (para modal)
   =========================================== */

.offers-grid .offer-card {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.offers-grid .offer-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primario, #ff6b6b) 0%, var(--color-secundario, #ff8e53) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 0 0 16px 16px;
}

.offers-grid .offer-card:hover::after {
    opacity: 1;
}

@media (hover: none) {
    .offers-grid .offer-card:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    .offers-grid .offer-card::after {
        display: none;
    }
}

/* ================================================================
   FIX: NAVBAR HAMBURGUESA - Z-INDEX MÓVIL
   Corrige el problema donde el contenido aparece sobre el menú
   ================================================================ */

/* Navbar base - asegurar z-index alto */
.navbar {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999 !important;
}

/* Overlay del menú - debe cubrir todo el contenido */
.nav-overlay {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000 !important;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    display: block !important;
    opacity: 1;
}

/* Menú desplegable - debe estar sobre el overlay */
@media (max-width: 768px) {
    .nav-buttons {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 280px;
        max-width: 85vw;
        height: 100vh !important;
        height: 100dvh !important;
        background: white !important;
        flex-direction: column;
        align-items: stretch;
        padding: 80px 1.5rem 2rem;
        padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
        gap: 0.8rem;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
        transition: right 0.3s ease;
        z-index: 10001 !important;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-buttons.active {
        right: 0 !important;
    }

    /* Botón hamburguesa */
    .nav-toggle {
        position: relative;
        z-index: 10002 !important;
    }
}

/* Prevenir que el body haga scroll cuando el menú está abierto */
body.nav-menu-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
}

/* Asegurar que las secciones del landing no tengan z-index problemáticos */
.hero,
.all-offers-cta,
.carousel-section,
.hot-deals-section,
.featured-stores-section,
.categories-section,
.mid-cta,
#stores,
.my-followed-stores-section,
.map-section,
.pwa-install-section,
.access-section,
.how-it-works {
    position: relative;
    z-index: 1;
}

/* Fix para elementos flotantes que podrían interferir */
.floating-catalog-btn {
    z-index: 998 !important;
}

.tour-start-btn {
    z-index: 997 !important;
}



/* Overlay mejorado con blur más pronunciado */
.offer-detail-modal-overlay {
    background: rgba(15, 23, 42, 0.75) !important;
    backdrop-filter: blur(12px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(180%) !important;
}

/* Modal container con sombra dramática */
.offer-detail-modal {
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%) !important;
    border-radius: 28px 28px 0 0 !important;
    box-shadow: 
        0 -8px 32px rgba(0, 0, 0, 0.12),
        0 -2px 8px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-bottom: none !important;
}

@media (min-width: 769px) {
    .offer-detail-modal {
        border-radius: 28px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
        box-shadow: 
            0 25px 80px rgba(0, 0, 0, 0.25),
            0 10px 32px rgba(0, 0, 0, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    }
}

/* Botón cerrar rediseñado */
.offer-detail-modal .modal-close-btn {
    width: 42px !important;
    height: 42px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.1),
        0 1px 3px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.offer-detail-modal .modal-close-btn:hover {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%) !important;
    border-color: transparent !important;
    transform: scale(1.08) rotate(90deg) !important;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4) !important;
}

.offer-detail-modal .modal-close-btn:hover i {
    color: white !important;
}

/* Imagen container con overlay gradiente */
.offer-detail-modal .modal-image-container {
    position: relative !important;
    overflow: hidden !important;
}

.offer-detail-modal .modal-image-container::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 100px !important;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 100%) !important;
    pointer-events: none !important;
}

.offer-detail-modal .modal-offer-image {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.offer-detail-modal:hover .modal-offer-image {
    transform: scale(1.02) !important;
}

/* Badge destacada con brillo animado */
.offer-detail-modal .modal-badge-featured {
    background: linear-gradient(135deg, #ffd700 0%, #ffb347 50%, #ffd700 100%) !important;
    background-size: 200% 200% !important;
    animation: shimmerBadge 3s ease infinite !important;
    border: 2px solid rgba(255, 255, 255, 0.5) !important;
    box-shadow: 
        0 4px 15px rgba(255, 193, 7, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
}

@keyframes shimmerBadge {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Badges de tipo con diseño pill moderno */
.offer-detail-modal .modal-badge-type {
    border-radius: 25px !important;
    padding: 0.5rem 1.1rem !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    font-weight: 800 !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(4px) !important;
}

/* Botón favorito mejorado */
.offer-detail-modal .modal-favorite-btn {
    width: 52px !important;
    height: 52px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(8px) !important;
    border: 2px solid rgba(255, 255, 255, 0.5) !important;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.offer-detail-modal .modal-favorite-btn i {
    font-size: 1.4rem !important;
    transition: all 0.3s ease !important;
}

.offer-detail-modal .modal-favorite-btn:hover {
    transform: scale(1.12) !important;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.35) !important;
}

.offer-detail-modal .modal-favorite-btn:hover i {
    color: #ff6b6b !important;
    transform: scale(1.1) !important;
}

.offer-detail-modal .modal-favorite-btn.active {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%) !important;
    border-color: transparent !important;
    box-shadow: 
        0 6px 25px rgba(255, 107, 107, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.offer-detail-modal .modal-favorite-btn.active i {
    color: white !important;
    animation: heartPulse 0.6s ease !important;
}

@keyframes heartPulse {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(0.95); }
    75% { transform: scale(1.15); }
}

/* Contenido principal con mejor espaciado */
.offer-detail-modal .modal-main-content {
    padding: 1.75rem !important;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%) !important;
}

/* Categoría y vistas con estilo chip */
.offer-detail-modal .modal-category {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    padding: 0.4rem 0.9rem !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

.offer-detail-modal .modal-category i {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.offer-detail-modal .modal-views {
    background: rgba(100, 116, 139, 0.08) !important;
    padding: 0.35rem 0.75rem !important;
    border-radius: 20px !important;
    font-weight: 500 !important;
}

/* Título con gradiente sutil */
.offer-detail-modal .modal-title {
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    margin-bottom: 1.25rem !important;
}

/* Pricing box rediseñado */
.offer-detail-modal .modal-pricing {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe4e6 50%, #fef2f2 100%) !important;
    border: 1px solid rgba(255, 107, 107, 0.15) !important;
    border-radius: 20px !important;
    padding: 1.25rem !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 
        0 4px 15px rgba(255, 107, 107, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

.offer-detail-modal .modal-pricing::before {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    right: -50% !important;
    width: 100% !important;
    height: 100% !important;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.1) 0%, transparent 70%) !important;
    pointer-events: none !important;
}

.offer-detail-modal .modal-pricing .price-original {
    font-size: 1.05rem !important;
    color: #94a3b8 !important;
    font-weight: 500 !important;
    text-decoration-color: #cbd5e1 !important;
    text-decoration-thickness: 2px !important;
}

.offer-detail-modal .modal-pricing .price-current {
    font-size: 2.2rem !important;
    font-weight: 900 !important;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 50%, #ff6b6b 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    letter-spacing: -0.5px !important;
}

.offer-detail-modal .modal-pricing .discount-badge {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%) !important;
    padding: 0.4rem 0.85rem !important;
    border-radius: 25px !important;
    font-size: 0.85rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.3px !important;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.35) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
}

/* Savings banner */
.offer-detail-modal .modal-pricing .price-savings,
.offer-detail-modal .price-nxm-detail .price-savings {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%) !important;
    color: #15803d !important;
    padding: 0.5rem 0.9rem !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    border: 1px solid rgba(34, 197, 94, 0.2) !important;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.15) !important;
}

/* Validez con iconos más expresivos */
.offer-detail-modal .modal-validity {
    border-radius: 14px !important;
    padding: 0.7rem 1.1rem !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.6rem !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
}

.offer-detail-modal .modal-validity.urgente {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%) !important;
    color: #92400e !important;
    border-color: rgba(245, 158, 11, 0.3) !important;
    animation: pulseUrgent 2s ease-in-out infinite !important;
}

@keyframes pulseUrgent {
    0%, 100% { box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2); }
    50% { box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4); }
}

.offer-detail-modal .modal-validity.stock {
    background: linear-gradient(135deg, #fae8ff 0%, #e9d5ff 100%) !important;
    color: #7c3aed !important;
    border-color: rgba(167, 139, 250, 0.3) !important;
}

/* Stock info mejorado */
.offer-detail-modal .modal-stock-info {
    background: linear-gradient(135deg, #fef9c3 0%, #fef08a 100%) !important;
    border-radius: 16px !important;
    padding: 1rem 1.25rem !important;
    border: 1px solid rgba(234, 179, 8, 0.2) !important;
    box-shadow: 0 4px 12px rgba(234, 179, 8, 0.12) !important;
}

.offer-detail-modal .modal-stock-info .stock-bar-container {
    height: 10px !important;
    border-radius: 5px !important;
    background: rgba(255, 255, 255, 0.7) !important;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.offer-detail-modal .modal-stock-info .stock-bar {
    border-radius: 5px !important;
    background: linear-gradient(90deg, #ef4444 0%, #f97316 30%, #eab308 60%, #22c55e 100%) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
}

/* Descripción con borde lateral */
.offer-detail-modal .modal-description {
    border-top: none !important;
    padding-top: 0 !important;
    margin-top: 0.5rem !important;
    position: relative !important;
    padding-left: 1rem !important;
    border-left: 3px solid transparent !important;
    border-image: linear-gradient(180deg, #ff6b6b 0%, #ff8e53 100%) 1 !important;
}

.offer-detail-modal .modal-description h4 {
    font-size: 0.9rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: #64748b !important;
    margin-bottom: 0.6rem !important;
}

.offer-detail-modal .modal-description h4 i {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.offer-detail-modal .modal-description p {
    font-size: 0.95rem !important;
    line-height: 1.75 !important;
    color: #475569 !important;
}

/* Sección comercio con card elevada */
.offer-detail-modal .modal-comercio-section {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
    padding: 1.75rem !important;
    border-top: 1px solid rgba(0, 0, 0, 0.04) !important;
}

.offer-detail-modal .modal-comercio-section > h4 {
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: #64748b !important;
    margin-bottom: 1.25rem !important;
}

.offer-detail-modal .comercio-card {
    background: white !important;
    border-radius: 20px !important;
    padding: 1.5rem !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
    transition: all 0.3s ease !important;
}

.offer-detail-modal .comercio-card:hover {
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.1),
        0 2px 6px rgba(0, 0, 0, 0.06) !important;
    transform: translateY(-2px) !important;
}

/* Avatar del comercio */
.offer-detail-modal .comercio-avatar {
    width: 60px !important;
    height: 60px !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12) !important;
    border: 2px solid white !important;
}

.offer-detail-modal .comercio-avatar-letter {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%) !important;
    font-size: 1.6rem !important;
    font-weight: 800 !important;
}

.offer-detail-modal .comercio-name-info h5 {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
}

.offer-detail-modal .premium-tag {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%) !important;
    color: #b45309 !important;
    padding: 0.3rem 0.6rem !important;
    border-radius: 20px !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.2) !important;
}

/* Stats del comercio */
.offer-detail-modal .comercio-stats {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
    padding: 0.75rem !important;
    border-radius: 12px !important;
    margin-bottom: 1.25rem !important;
    border: none !important;
}

.offer-detail-modal .comercio-stats span {
    background: white !important;
    padding: 0.4rem 0.8rem !important;
    border-radius: 20px !important;
    font-size: 0.8rem !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
}

.offer-detail-modal .comercio-stats .delivery-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: white !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3) !important;
}

/* Info items del comercio */
.offer-detail-modal .comercio-info-item {
    padding: 0.5rem 0 !important;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.06) !important;
}

.offer-detail-modal .comercio-info-item:last-child {
    border-bottom: none !important;
}

.offer-detail-modal .comercio-info-item i {
    width: 20px !important;
    height: 20px !important;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe4e6 100%) !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.7rem !important;
}

/* Redes sociales con hover vibrante */
.offer-detail-modal .red-social-btn {
    width: 46px !important;
    height: 46px !important;
    border-radius: 14px !important;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.offer-detail-modal .red-social-btn:hover {
    transform: translateY(-4px) scale(1.05) !important;
}

.offer-detail-modal .red-social-btn i {
    font-size: 1.3rem !important;
}

/* Métodos de pago como chips */
.offer-detail-modal .metodo-pago-tag {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
    border-radius: 25px !important;
    padding: 0.45rem 0.85rem !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}

.offer-detail-modal .metodo-pago-tag:hover {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%) !important;
    transform: translateY(-1px) !important;
}

/* Ofertas relacionadas */
.offer-detail-modal .modal-related-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    padding: 1.75rem !important;
}

.offer-detail-modal .modal-related-section > h4 {
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: #64748b !important;
}

.offer-detail-modal .related-card {
    background: white !important;
    border-radius: 16px !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: hidden !important;
}

.offer-detail-modal .related-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12) !important;
    border-color: rgba(255, 107, 107, 0.2) !important;
}

.offer-detail-modal .related-card .rel-image {
    height: 95px !important;
    transition: transform 0.4s ease !important;
}

.offer-detail-modal .related-card:hover .rel-image {
    transform: scale(1.05) !important;
}

.offer-detail-modal .related-card .rel-info {
    padding: 0.85rem !important;
}

.offer-detail-modal .related-card .rel-title {
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

.offer-detail-modal .related-card .rel-price {
    font-size: 1rem !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.offer-detail-modal .related-card .rel-discount {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%) !important;
    border-radius: 20px !important;
    padding: 0.25rem 0.55rem !important;
    font-weight: 800 !important;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3) !important;
}

/* Acciones del modal - botones premium */
.offer-detail-modal .modal-actions {
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(248,250,252,1) 30%) !important;
    padding: 1.25rem 1.75rem 1.75rem !important;
    gap: 0.875rem !important;
}

.offer-detail-modal .modal-action-btn {
    border-radius: 16px !important;
    padding: 1rem 1.25rem !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.offer-detail-modal .modal-action-btn.share-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 50%, #ff6b6b 100%) !important;
    background-size: 200% 200% !important;
    box-shadow: 
        0 6px 20px rgba(255, 107, 107, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    border: none !important;
}

.offer-detail-modal .modal-action-btn.share-btn:hover {
    background-position: 100% 0 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.45) !important;
}

.offer-detail-modal .modal-action-btn.comercio-btn {
    background: white !important;
    border: 2px solid #e2e8f0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

.offer-detail-modal .modal-action-btn.comercio-btn:hover {
    border-color: #ff6b6b !important;
    color: #ff6b6b !important;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe4e6 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.15) !important;
}

/* Loading spinner mejorado */
.offer-detail-modal .modal-spinner {
    width: 52px !important;
    height: 52px !important;
    border-width: 4px !important;
    border-color: rgba(255, 107, 107, 0.15) !important;
    border-top-color: #ff6b6b !important;
    border-right-color: #ff8e53 !important;
}

.offer-detail-modal .modal-loading span {
    font-weight: 600 !important;
    color: #64748b !important;
    margin-top: 1rem !important;
}

/* Error state mejorado */
.offer-detail-modal .modal-error {
    padding: 4rem 2rem !important;
}

.offer-detail-modal .modal-error i {
    font-size: 3.5rem !important;
    background: linear-gradient(135deg, #fecaca 0%, #fee2e2 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.offer-detail-modal .btn-retry {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%) !important;
    border-radius: 14px !important;
    padding: 0.85rem 2rem !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3) !important;
}

.offer-detail-modal .btn-retry:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 25px rgba(255, 107, 107, 0.4) !important;
}

/* Scrollbar personalizada */
.offer-detail-modal .modal-content::-webkit-scrollbar {
    width: 8px !important;
}

.offer-detail-modal .modal-content::-webkit-scrollbar-track {
    background: #f1f5f9 !important;
    border-radius: 4px !important;
}

.offer-detail-modal .modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ff6b6b 0%, #ff8e53 100%) !important;
    border-radius: 4px !important;
    border: 2px solid #f1f5f9 !important;
}

/* Responsive ajustes finos */
@media (max-width: 480px) {
    .offer-detail-modal .modal-main-content {
        padding: 1.25rem !important;
    }
    
    .offer-detail-modal .modal-title {
        font-size: 1.35rem !important;
    }
    
    .offer-detail-modal .modal-pricing .price-current {
        font-size: 1.85rem !important;
    }
    
    .offer-detail-modal .modal-comercio-section,
    .offer-detail-modal .modal-related-section {
        padding: 1.25rem !important;
    }
    
    .offer-detail-modal .comercio-card {
        padding: 1.25rem !important;
    }
    
    .offer-detail-modal .comercio-avatar {
        width: 52px !important;
        height: 52px !important;
    }
    
    .offer-detail-modal .modal-action-btn {
        padding: 0.875rem 1rem !important;
        font-size: 0.9rem !important;
    }
    
    .offer-detail-modal .related-card .rel-image {
        height: 80px !important;
    }
}

/* Animación de entrada del modal mejorada */
.offer-detail-modal-overlay.active .offer-detail-modal {
    animation: modalSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
}

@keyframes modalSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (min-width: 769px) {
    .offer-detail-modal-overlay.active .offer-detail-modal {
        animation: modalPopIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
    }
    
    @keyframes modalPopIn {
        0% {
            opacity: 0;
            transform: scale(0.92) translateY(20px);
        }
        100% {
            opacity: 1;
            transform: scale(1) translateY(0);
        }
    }
}

/* ================================================================
   LOGO EN CÍRCULOS DE COMERCIOS DESTACADOS
   ================================================================ */

/* Círculo con logo - fondo neutro */
.store-circle.has-logo {
    background: #ffffff !important;
    border: 3px solid #e2e8f0;
    overflow: hidden;
    padding: 0 !important;
}

.store-circle.has-logo.premium-circle {
    border-color: #ffd700 !important;
}

/* Imagen del logo dentro del círculo */
.store-circle-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 50%;
    padding: 8px;
    box-sizing: border-box;
}

/* Responsive - Tablets */
@media (max-width: 768px) {
    .store-circle-logo {
        padding: 6px;
    }
}

/* Responsive - Móviles */
@media (max-width: 480px) {
    .store-circle-logo {
        padding: 5px;
    }
}

/* Responsive - Móviles pequeños */
@media (max-width: 360px) {
    .store-circle-logo {
        padding: 4px;
    }
}

/* PWA Standalone */
@media (display-mode: standalone) {
    .store-circle-logo {
        padding: 5px;
    }
}

/* Hover en círculos con logo */
.featured-store-item:hover .store-circle.has-logo {
    border-color: #ff6b6b;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.featured-store-item:hover .store-circle.has-logo.premium-circle {
    border-color: #ffd700;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}


/* ================================================================
   FIX: BADGES EN COMERCIOS DESTACADOS - SUPERPOSICIÓN Y OVERFLOW
   ================================================================ */

/* Ocultar badge premium cuando hay botón de seguir (evitar superposición) */
.store-circle-wrapper:has(.follow-btn-circle) .premium-badge-circle {
    display: none !important;
}

/* Permitir que el badge "mi comercio" sobresalga del círculo */
.store-circle-wrapper {
    overflow: visible !important;
}

.store-circle {
    overflow: visible !important;
}

/* Badge "Mi comercio" - reposicionar y hacer visible fuera del círculo */
.featured-store-item .mi-comercio-badge {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 700;
    white-space: nowrap;
    z-index: 15;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
    border: 2px solid white;
}

/* Fallback para navegadores sin :has() - ocultar premium badge con JS */
.store-circle-wrapper.has-follow-btn .premium-badge-circle {
    display: none !important;
}

/* Asegurar que el botón seguir esté siempre visible */
.follow-btn-circle {
    z-index: 20 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .featured-store-item .mi-comercio-badge {
        font-size: 0.6rem;
        padding: 3px 8px;
        bottom: -6px;
    }
}

@media (max-width: 480px) {
    .featured-store-item .mi-comercio-badge {
        font-size: 0.55rem;
        padding: 2px 6px;
        bottom: -5px;
    }
}

/* ================================================================
   CLICK EN TODO EL ITEM DE COMERCIO DESTACADO
   ================================================================ */

.featured-store-item {
    cursor: pointer;
}

/* Evitar que el click en botón seguir propague al item */
.featured-store-item .follow-btn-circle,
.featured-store-item .mi-comercio-badge {
    cursor: pointer;
}

/* Efecto hover en el nombre también */
.featured-store-item:hover .store-name,
.featured-store-item:hover > .store-name {
    color: #ff6b6b;
}

.featured-store-item .store-circle-name,
.featured-store-item > .store-name {
    transition: color 0.2s ease;
}

.featured-store-item:hover .store-circle-name {
    color: #ff6b6b;
}

/* ================================================================
   INDICADOR ABIERTO/CERRADO - COMERCIOS
   ================================================================ */

/* Store cards - Comercios cerca tuyo */
.store-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 8px;
    width: fit-content;
}

.store-status-badge.status-open {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.store-status-badge.status-closed {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.store-status-badge .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.store-status-badge.status-open .status-dot {
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    animation: pulse-green 2s infinite;
}

.store-status-badge.status-closed .status-dot {
    background: #ef4444;
}

@keyframes pulse-green {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
}

/* Followed store cards - Comercios que sigo */
.followed-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
    margin-top: 4px;
    margin-bottom: 6px;
    width: fit-content;
}

.followed-status-badge.status-open {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
}

.followed-status-badge.status-closed {
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
}

.followed-status-badge .status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.followed-status-badge.status-open .status-dot {
    background: #10b981;
    animation: pulse-green 2s infinite;
}

.followed-status-badge.status-closed .status-dot {
    background: #ef4444;
}

/* Responsive */
@media (max-width: 480px) {
    .store-status-badge {
        font-size: 0.7rem;
        padding: 3px 8px;
        gap: 5px;
    }
    
    .store-status-badge .status-dot {
        width: 6px;
        height: 6px;
    }
    
    .followed-status-badge {
        font-size: 0.65rem;
        padding: 2px 6px;
    }
    
    .followed-status-badge .status-dot {
        width: 5px;
        height: 5px;
    }
}

/* ================================================================
   RECOMENDACIONES DE IMAGEN EN MODAL DE OFERTA
   ================================================================ */

.offer-image-recommendations {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
    border-left: 4px solid #667eea;
}

.offer-image-recommendations h5 {
    font-size: 0.85rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.offer-image-recommendations h5 i {
    color: #667eea;
}

.offer-image-recommendations ul {
    margin: 0;
    padding-left: 1.25rem;
    font-size: 0.8rem;
    color: #718096;
    list-style-type: disc;
}

.offer-image-recommendations ul li {
    margin-bottom: 0.25rem;
}

.offer-image-recommendations ul li strong {
    color: #2d3748;
}

/* Responsive */
@media (max-width: 480px) {
    .offer-image-recommendations {
        padding: 0.75rem;
    }
    
    .offer-image-recommendations ul {
        font-size: 0.75rem;
        padding-left: 1rem;
    }
}

/* ================================================================
   OVERLAY DE CARGA FULLSCREEN PARA CREAR OFERTA (LANDING)
   ================================================================ */

.offer-saving-overlay-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.97);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999999999;
    animation: fadeInOverlayFull 0.3s ease;
}

@keyframes fadeInOverlayFull {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOutOverlay {
    from { opacity: 1; }
    to { opacity: 0; }
}

.offer-saving-overlay-fullscreen .saving-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.offer-saving-overlay-fullscreen .saving-spinner {
    width: 70px;
    height: 70px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #ff6b6b;
    border-radius: 50%;
    animation: spinLoaderFull 0.8s linear infinite;
    margin-bottom: 2rem;
}

@keyframes spinLoaderFull {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.offer-saving-overlay-fullscreen .saving-icon {
    font-size: 3rem;
    color: #ff6b6b;
    margin-bottom: 1rem;
    animation: pulseIcon 1.5s ease-in-out infinite;
}

@keyframes pulseIcon {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.offer-saving-overlay-fullscreen .saving-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.offer-saving-overlay-fullscreen .saving-subtext {
    font-size: 1rem;
    color: #718096;
    max-width: 300px;
}

.offer-saving-overlay-fullscreen .saving-dots {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.offer-saving-overlay-fullscreen .saving-dots span {
    width: 10px;
    height: 10px;
    background: #ff6b6b;
    border-radius: 50%;
    animation: bounceDot 1.4s ease-in-out infinite;
}

.offer-saving-overlay-fullscreen .saving-dots span:nth-child(1) { animation-delay: 0s; }
.offer-saving-overlay-fullscreen .saving-dots span:nth-child(2) { animation-delay: 0.2s; }
.offer-saving-overlay-fullscreen .saving-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounceDot {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    .offer-saving-overlay-fullscreen .saving-spinner {
        width: 60px;
        height: 60px;
    }
    
    .offer-saving-overlay-fullscreen .saving-text {
        font-size: 1.25rem;
    }
    
    .offer-saving-overlay-fullscreen .saving-subtext {
        font-size: 0.9rem;
    }
}

/* ================================================================
   BOTÓN ELIMINAR IMAGEN EN PREVIEW (MODAL CREAR OFERTA)
   ================================================================ */

.offer-image-preview {
    position: relative;
    margin-top: 1rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.offer-image-preview img {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.remove-image-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.95);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.4);
    z-index: 10;
}

.remove-image-btn:hover {
    background: #dc3545;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.5);
}

.remove-image-btn:active {
    transform: scale(0.95);
}

/* Responsive */
@media (max-width: 768px) {
    .remove-image-btn {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .offer-image-preview img {
        max-height: 200px;
    }
}

/* ================================================================
   VALIDACIÓN DE FORMATO DE IMAGEN - ERROR STYLES
   ================================================================ */

/* Error de formato en área de upload */
.image-format-error,
.image-format-error-modal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
    border: 1px solid #fc8181;
    border-left: 4px solid #e53e3e;
    border-radius: 8px;
    padding: 0.875rem 1rem;
    margin-top: 0.75rem;
    animation: slideInError 0.3s ease;
}

.image-format-error .error-content,
.image-format-error-modal .error-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.image-format-error i.fa-exclamation-triangle,
.image-format-error-modal i.fa-exclamation-triangle {
    color: #e53e3e;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.image-format-error span,
.image-format-error-modal span {
    color: #c53030;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
}

.error-dismiss-btn,
.error-dismiss-btn-modal {
    background: transparent;
    border: none;
    color: #c53030;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.error-dismiss-btn:hover,
.error-dismiss-btn-modal:hover {
    background: rgba(229, 62, 62, 0.1);
    color: #9b2c2c;
}

/* Estado de error en área de upload */
#imageUploadArea.upload-error,
.offer-image-upload-area.upload-error {
    border-color: #fc8181 !important;
    background: rgba(254, 215, 215, 0.3) !important;
}

/* Animaciones */
@keyframes slideInError {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.image-format-error-modal.fade-out {
    animation: fadeOutError 0.2s ease forwards;
}

@keyframes fadeOutError {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-5px);
    }
}

/* Responsive */
@media (max-width: 480px) {
    .image-format-error,
    .image-format-error-modal {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.75rem;
    }
    
    .image-format-error span,
    .image-format-error-modal span {
        font-size: 0.85rem;
    }
    
    .error-dismiss-btn,
    .error-dismiss-btn-modal {
        align-self: flex-end;
        margin-top: -1.5rem;
    }
}

/* ================================================================
   Esto está dentro de landing.css: BOTÓN FLOTANTE COMPARTIR APP - ESTILO BURBUJA COMO CHATBOT
   ================================================================ */

.share-app-container {
    position: fixed;
    bottom: 95px; 
    left: 20px;
    z-index: 998;
}

/* Burbuja principal - Estilo idéntico al chatbot */
.share-app-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b6b 0%, #e63946 100%);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.35);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    outline: none;
    position: relative;
    animation: bounceInShare 0.5s ease 0.7s both;
}

@keyframes bounceInShare {
    0% { transform: scale(0); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.share-app-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.5);
}

.share-app-btn:active {
    transform: scale(0.95);
}

.share-app-btn i {
    font-size: 1.5rem;
    color: white;
    transition: transform 0.3s ease;
}

.share-app-btn:hover i {
    transform: rotate(15deg);
}

/* Ocultar texto en la burbuja */
.share-app-btn span {
    display: none;
}

/* Tooltip al hacer hover */
.share-app-tooltip {
    position: absolute;
    left: calc(100% + 15px);
    top: 50%;
    transform: translateY(-50%);
    background: #2d3748;
    color: white;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.share-app-tooltip::after {
    content: '';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-right: 6px solid #2d3748;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.share-app-btn:hover + .share-app-tooltip,
.share-app-container:hover .share-app-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Ocultar tooltip cuando el panel está abierto */
.share-app-container.panel-open .share-app-tooltip {
    display: none;
}

/* Badge indicador de "compartir" con pulso */
.share-app-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    background: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: white;
    border: 2px solid white;
    animation: pulse-share-badge 2s infinite;
}

@keyframes pulse-share-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.share-app-badge i {
    font-size: 0.6rem;
}

/* ================================================================
   PANEL DESPLEGABLE DE COMPARTIR
   ================================================================ */

.share-app-panel {
    position: fixed; 
    bottom: 170px; 
    left: 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2),
                0 0 0 1px rgba(0, 0, 0, 0.05);
    width: 300px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transform-origin: bottom left;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    z-index: 1000001; /* Por encima de la navbar */
}
.share-app-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    z-index: 999999999;
}

/* Flecha del panel */
.share-app-panel::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 25px;
    width: 20px;
    height: 20px;
    background: white;
    transform: rotate(45deg);
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.05);
}

/* Header del panel */
.share-app-panel-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 24px 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Efecto de brillo en el header */
.share-app-panel-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: shimmer-share 3s ease-in-out infinite;
}

@keyframes shimmer-share {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10%, 10%); }
}

.share-app-panel-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    animation: heartbeat-share 1.5s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes heartbeat-share {
    0%, 100% { transform: scale(1); }
    15% { transform: scale(1.15); }
    30% { transform: scale(1); }
    45% { transform: scale(1.1); }
}

.share-app-panel-icon i {
    font-size: 1.6rem;
    color: white;
}

.share-app-panel-header h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 6px 0;
    position: relative;
    z-index: 1;
}

.share-app-panel-header p {
    font-size: 0.85rem;
    opacity: 0.9;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Opciones de compartir */
.share-app-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 20px;
}

.share-app-option {
    background: #f8f9fa;
    border: none;
    border-radius: 16px;
    padding: 16px 10px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.share-app-option:hover {
    background: #f0f0f0;
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.share-app-option:active {
    transform: translateY(0) scale(0.95);
}

.share-option-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.share-app-option:hover .share-option-icon {
    transform: scale(1.1) rotate(5deg);
}

.share-option-icon i {
    font-size: 1.3rem;
    color: white;
}

/* Colores de cada red social */
.share-option-icon.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.share-option-icon.telegram {
    background: linear-gradient(135deg, #0088cc 0%, #0077b5 100%);
}

.share-option-icon.facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0d65d9 100%);
}

.share-option-icon.twitter {
    background: linear-gradient(135deg, #1da1f2 0%, #0c85d0 100%);
}

.share-option-icon.copy {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
}

.share-option-icon.native {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
}

.share-app-option span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #444;
}

/* Footer del panel */
.share-app-panel-footer {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    padding: 14px 18px;
    border-top: 1px solid #eee;
    text-align: center;
}

.share-app-panel-footer span {
    font-size: 0.78rem;
    color: #777;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.share-app-panel-footer i {
    color: #ff6b6b;
    font-size: 0.85rem;
}

/* ================================================================
   TOAST DE CONFIRMACIÓN COMPARTIR
   ================================================================ */

.share-app-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
}

.share-app-toast.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.share-app-toast i {
    font-size: 1.2rem;
}

/* ================================================================
   RESPONSIVE - COMPARTIR APP
   ================================================================ */

@media (max-width: 768px) {
    .share-app-container {
        bottom: 160px;
        left: 20px; /* Exactamente igual que chatbot-container */
    }
    
    .share-app-btn {
        width: 55px;
        height: 55px;
    }
    
    .share-app-btn i {
        font-size: 1.3rem;
    }
    
    .share-app-tooltip {
        display: none;
    }
    
    .share-app-panel {
        bottom: 230px; /* Ajustar para móviles */
        left: 15px;
        width: 280px;
    }
    
    .share-app-options {
        padding: 16px;
        gap: 8px;
    }
    
    .share-app-option {
        padding: 12px 8px;
    }
    
    .share-option-icon {
        width: 42px;
        height: 42px;
    }
    
    .share-option-icon i {
        font-size: 1.1rem;
    }
    
    .share-app-option span {
        font-size: 0.75rem;
    }
    
    .share-app-panel-header {
        padding: 18px 16px;
    }
    
    .share-app-panel-icon {
        width: 48px;
        height: 48px;
    }
    
    .share-app-panel-header h4 {
        font-size: 1.05rem;
    }
    
    .share-app-panel-header p {
        font-size: 0.8rem;
    }

    .share-app-badge {
        width: 18px;
        height: 18px;
        top: -3px;
        right: -3px;
    }
    
    .share-app-badge i {
        font-size: 0.5rem;
    }
}

@media (max-width: 480px) {
    .share-app-container {
        bottom: 150px;
        left: 15px; /* Exactamente igual que chatbot en 480px */
    }
    
    .share-app-btn {
        width: 50px;
        height: 50px;
    }
    
    .share-app-btn i {
        font-size: 1.2rem;
    }
    
    .share-app-panel {
        bottom: 215px;
        left: 12px;
        width: calc(100vw - 24px);
        max-width: 300px;
    }

    .share-app-badge {
        width: 16px;
        height: 16px;
        top: -2px;
        right: -2px;
    }
    
    .share-app-badge i {
        font-size: 0.45rem;
    }
}

/* PWA standalone mode */
@media (display-mode: standalone) {
    .share-app-container {
        bottom: calc(95px + env(safe-area-inset-bottom, 0px));
    }
    
    @media (max-width: 768px) {
        .share-app-container {
            bottom: calc(160px + env(safe-area-inset-bottom, 0px));
        }
    }
}

@supports (padding-bottom: env(safe-area-inset-bottom)) {
    @media (max-width: 768px) {
        .share-app-container {
            bottom: calc(160px + env(safe-area-inset-bottom, 0px));
        }
    }
}

/* ================================================================
   CHECKBOX NO APLICA Y MODO PORCENTAJE - Ofertas
   ================================================================ */

/* Contenedor del checkbox */
.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    transition: all 0.2s ease;
}

.checkbox-container:hover {
    border-color: #cbd5e1;
    background: #f1f5f9;
}

.checkbox-container input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-container .checkmark {
    height: 22px;
    width: 22px;
    background-color: white;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.checkbox-container:hover .checkmark {
    border-color: #94a3b8;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary-color, #ff6b6b);
    border-color: var(--primary-color, #ff6b6b);
}

.checkbox-container .checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
    color: white;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
}

.checkbox-container input:checked ~ .checkmark::after {
    opacity: 1;
    transform: scale(1);
}

.checkbox-container .checkbox-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-container .checkbox-text i {
    color: #64748b;
    font-size: 1rem;
}

/* Estilo cuando está checked */
.checkbox-container:has(input:checked) {
    border-color: var(--primary-color, #ff6b6b);
    background: rgba(255, 107, 107, 0.05);
}

.checkbox-container:has(input:checked) .checkbox-text {
    color: var(--primary-color, #ff6b6b);
}

.checkbox-container:has(input:checked) .checkbox-text i {
    color: var(--primary-color, #ff6b6b);
}

/* Input de porcentaje wrapper */
.porcentaje-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.porcentaje-input-wrapper input {
    padding-right: 70px !important;
}

.porcentaje-input-wrapper .porcentaje-suffix {
    position: absolute;
    right: 12px;
    color: var(--primary-color, #ff6b6b);
    font-weight: 600;
    font-size: 0.95rem;
    pointer-events: none;
}

/* Sección de porcentaje activa */
#porcentajeInputSection {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Disabled state para secciones */
#precioNoAplicaSection[style*="opacity: 0.5"],
#modoPorcentajeSection[style*="opacity: 0.5"] {
    pointer-events: none;
}

/* Info banner para porcentaje */
.porcentaje-preview-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(255, 142, 83, 0.1) 100%);
    border-radius: 10px;
    border: 1px solid rgba(255, 107, 107, 0.2);
    margin-top: 0.75rem;
}

.porcentaje-preview-banner i {
    color: var(--primary-color, #ff6b6b);
    font-size: 1.5rem;
}

.porcentaje-preview-banner .preview-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color, #ff6b6b);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .checkbox-container {
        padding: 0.6rem 0.75rem;
    }
    
    .checkbox-container .checkmark {
        height: 20px;
        width: 20px;
        margin-right: 10px;
    }
    
    .checkbox-container .checkbox-text {
        font-size: 0.9rem;
    }
}

/* ================================================================
   MODAL NUEVA OFERTA - Estilos para checkboxes y porcentaje
   ================================================================ */

/* Checkbox container para modal de oferta */
.offer-checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    transition: all 0.2s ease;
}

.offer-checkbox-container:hover {
    border-color: #ff6b6b;
    background: #fff5f5;
}

.offer-checkbox-container input[type="checkbox"] {
    display: none;
}

.offer-checkmark {
    width: 22px;
    height: 22px;
    border: 2px solid #cbd5e0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.offer-checkbox-container input[type="checkbox"]:checked + .offer-checkmark {
    background: #ff6b6b;
    border-color: #ff6b6b;
}

.offer-checkbox-container input[type="checkbox"]:checked + .offer-checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: white;
    font-size: 12px;
}

.offer-checkbox-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #2d3748;
}

.offer-checkbox-text i {
    color: #ff6b6b;
}

/* Wrapper para input de porcentaje */
.offer-porcentaje-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.offer-porcentaje-input-wrapper input {
    padding-right: 70px !important;
}

.offer-porcentaje-suffix {
    position: absolute;
    right: 12px;
    color: #ff6b6b;
    font-weight: 600;
    font-size: 0.95rem;
    pointer-events: none;
}

/* Estilos para secciones deshabilitadas */
#precioNoAplicaSection,
#modoPorcentajeSection,
#porcentajeInputSection,
#precioNoAplicaNxMSection {
    margin-top: 1rem;
}

/* Cuando está deshabilitado por otro checkbox */
.offer-checkbox-container[style*="opacity: 0.5"] {
    pointer-events: none;
}

/* Input deshabilitado */
.offer-form-input:disabled,
.offer-form-select:disabled {
    background-color: #f1f3f4;
    cursor: not-allowed;
    opacity: 0.7;
}

/* ================================================================
   FIX Z-INDEX PANEL COMPARTIR + SECCIÓN QR
   ================================================================ */

/* Fix navbar z-index para que el panel quede encima */
.navbar {
    z-index: 999 !important;
}

/* Panel de compartir con z-index superior */
.share-app-panel {
    z-index: 10001 !important;
}

.share-app-panel.active {
    z-index: 10001 !important;
}

/* Fix posicionamiento botón compartir - alineado con chatbot */
.share-app-container {
    position: fixed;
    bottom: 95px;
    left: 20px;
    right: auto;
    z-index: 998;
}

/* ================================================================
   SECCIÓN QR EN PANEL COMPARTIR
   ================================================================ */

.share-qr-section {
    background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
    border-bottom: 1px solid #f0f0f0;
}

.share-qr-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.share-qr-toggle:hover {
    background: rgba(255, 107, 107, 0.05);
}

.share-qr-toggle-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ff6b6b 0%, #e63946 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.35);
    animation: pulse-qr 2s ease-in-out infinite;
}

@keyframes pulse-qr {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 15px rgba(255, 107, 107, 0.35); }
    50% { transform: scale(1.05); box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5); }
}

.share-qr-toggle-icon i {
    font-size: 1.4rem;
    color: white;
}

.share-qr-toggle-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.share-qr-toggle-title {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
}

.share-qr-toggle-desc {
    font-size: 0.8rem;
    color: #888;
}

.share-qr-arrow {
    color: #999;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

/* Contenido QR colapsable */
.share-qr-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
}

.share-qr-section.expanded .share-qr-content {
    max-height: 300px;
    opacity: 1;
    padding: 15px 20px 20px;
}

.share-qr-section.expanded .share-qr-arrow {
    transform: rotate(180deg);
}

.share-qr-image {
    width: 180px;
    height: 180px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: 4px solid #ff6b6b;
    background: white;
    padding: 8px;
}

.share-qr-placeholder {
    width: 180px;
    height: 180px;
    border-radius: 16px;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #aaa;
}

.share-qr-placeholder i {
    font-size: 3rem;
}

.share-qr-placeholder span {
    font-size: 0.85rem;
}

.share-qr-hint {
    margin-top: 12px;
    font-size: 0.85rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f8f9fa;
    padding: 8px 16px;
    border-radius: 20px;
}

.share-qr-hint i {
    color: #ff6b6b;
}

/* Divisor entre QR y opciones */
.share-app-divider {
    display: flex;
    align-items: center;
    padding: 0 20px;
    margin: 5px 0;
}

.share-app-divider::before,
.share-app-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

.share-app-divider span {
    padding: 0 12px;
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ================================================================
   FIX RESPONSIVE BOTÓN COMPARTIR
   ================================================================ */

@media (max-width: 768px) {
    .share-app-container {
        bottom: 160px;
        left: 20px;
        right: auto;
    }
    
    .share-app-panel {
        position: fixed;
        bottom: auto;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.9);
        transform-origin: center center;
        width: 92%;
        max-width: 340px;
        max-height: 80vh;
        overflow-y: auto;
        border-radius: 24px;
    }
    
    .share-app-panel.active {
        transform: translate(-50%, -50%) scale(1);
    }
    
    .share-app-panel::after {
        display: none;
    }
    
    .share-qr-image {
        width: 150px;
        height: 150px;
    }
    
    .share-qr-toggle-icon {
        width: 42px;
        height: 42px;
    }
    
    .share-qr-toggle-icon i {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .share-app-container {
        bottom: 150px;
        left: 15px;
        right: auto;
    }
    
    .share-app-panel {
        width: 94%;
        max-width: 320px;
        max-height: 85vh;
    }
    
    .share-qr-image {
        width: 140px;
        height: 140px;
    }
    
    .share-qr-toggle {
        padding: 14px 16px;
        gap: 10px;
    }
    
    .share-qr-toggle-icon {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }
    
    .share-qr-toggle-icon i {
        font-size: 1.1rem;
    }
    
    .share-qr-toggle-title {
        font-size: 0.95rem;
    }
    
    .share-qr-toggle-desc {
        font-size: 0.75rem;
    }
}

/* PWA safe area fix */
@media (display-mode: standalone) {
    .share-app-container {
        bottom: calc(95px + env(safe-area-inset-bottom, 0px));
    }
    
    @media (max-width: 768px) {
        .share-app-container {
            bottom: calc(160px + env(safe-area-inset-bottom, 0px));
        }
    }
}

/* Overlay para móvil cuando panel está abierto */
@media (max-width: 768px) {
    .share-app-container.panel-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 10000;
        animation: fadeIn 0.3s ease;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
}



/* Scrollbar estilizado para el panel */
.share-app-panel::-webkit-scrollbar {
    width: 6px;
}

.share-app-panel::-webkit-scrollbar-track {
    background: transparent;
}

.share-app-panel::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 3px;
}

.share-app-panel::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.25);
}

/* QR más compacto en móvil */
@media (max-width: 480px) {
    .share-qr-image {
        width: 130px;
        height: 130px;
        padding: 6px;
    }
    
    .share-qr-toggle {
        padding: 12px 16px;
    }
    
    .share-qr-toggle-icon {
        width: 40px;
        height: 40px;
    }
    
    .share-app-options {
        padding: 15px;
        gap: 8px;
    }
    
    .share-option-icon {
        width: 44px;
        height: 44px;
    }
    
    .share-app-panel-header {
        padding: 18px 16px;
    }
    
    .share-app-panel-icon {
        width: 48px;
        height: 48px;
    }
}

/* ================================================================
   FIX Z-INDEX PANEL COMPARTIR v2.7.1
   Solo ajustes de z-index, sin romper posicionamiento
   ================================================================ */

/* Navbar: bajar z-index pero NO cambiar position */
.navbar {
    z-index: 900 !important;
}

/* Overlay: solo visible en móvil, DETRÁS del panel */
.share-app-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

@media (max-width: 768px) {
    .share-app-overlay {
        display: block;
    }
    
    .share-app-overlay.active {
        opacity: 0;
        visibility: hidden; 
    }
}

/* Panel: SIEMPRE encima del overlay y navbar */
.share-app-panel {
    z-index: 9999999 !important;
}

.share-app-panel.active {
    z-index: 9500 !important;
}

/* Asegurar que el panel sea scrolleable */
.share-app-panel {
    max-height: 70vh;
    overflow-y: auto;
}

/* Bloquear scroll del body en móvil cuando está abierto */
body.share-panel-open {
    overflow: hidden;
}

/* ================================================================
   AJUSTES MÓVIL - Panel centrado
   ================================================================ */

@media (max-width: 768px) {
    .share-app-panel {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        bottom: auto !important;
        right: auto !important;
        transform: translate(-50%, -50%) scale(0.95);
        width: 90%;
        max-width: 320px;
        max-height: 80vh;
    }
    
    .share-app-panel.active {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
        visibility: visible;
    }
    
    /* Ocultar la flechita del panel en móvil */
    .share-app-panel::after {
        display: none;
    }
}

@media (max-width: 400px) {
    .share-app-panel {
        width: 95%;
        max-height: 85vh;
    }
    
    .share-qr-image {
        width: 120px;
        height: 120px;
    }
}

.share-modal-landing {
    z-index: 100000000;
    
}

/* ================================================================
   FIX DEFINITIVO: ELIMINAR OVERLAY DEL PANEL COMPARTIR
   Desactiva completamente el overlay oscuro en móviles
   ================================================================ */

/* Eliminar el pseudo-elemento ::before que genera el overlay */
.share-app-container.panel-open::before {
    display: none !important;
    content: none !important;
    background: transparent !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Eliminar también cualquier overlay con clase */
.share-app-overlay,
.share-app-overlay.active {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    background: transparent !important;
}

/* Asegurar que el panel esté siempre visible y clickeable */
.share-app-panel.active {
    z-index: 999999 !important;
    pointer-events: auto !important;
}

/* Fix para móviles específicamente */
@media (max-width: 768px) {
    .share-app-container.panel-open::before {
        display: none !important;
        content: none !important;
    }
    
    .share-app-overlay {
        display: none !important;
    }
    
    .share-app-panel.active {
        z-index: 999999 !important;
    }
}

/* ================================================================
   FIX: ALINEACIÓN SHARE BUTTON CON CHATBOT
   Sincroniza posición horizontal en todas las resoluciones
   ================================================================ */

/* Base: Alinear con chatbot (left: 20px siempre) */
.share-app-container {
    left: 20px !important;
    right: auto !important;
}

/* Desktop: chatbot bottom=20px, height=60px, gap=15px → share bottom=95px */
.share-app-container {
    bottom: 95px !important;
}

/* Tablet/Mobile 768px: chatbot bottom=90px, height=55px, gap=15px → share bottom=160px */
@media (max-width: 768px) {
    .share-app-container {
        bottom: 160px !important;
        left: 20px !important;
    }
}

/* Mobile pequeño 480px: chatbot bottom=15px, height=55px, gap=15px → share bottom=85px */
@media (max-width: 480px) {
    .share-app-container {
        bottom: 85px !important;
        left: 15px !important;
    }
    
    /* También ajustar chatbot para que coincida */
    .chatbot-container {
        left: 15px !important;
    }
}

/* PWA safe area */
@media (display-mode: standalone) {
    .share-app-container {
        bottom: calc(95px + env(safe-area-inset-bottom, 0px)) !important;
    }
    
    @media (max-width: 768px) {
        .share-app-container {
            bottom: calc(160px + env(safe-area-inset-bottom, 0px)) !important;
        }
    }
    
    @media (max-width: 480px) {
        .share-app-container {
            bottom: calc(85px + env(safe-area-inset-bottom, 0px)) !important;
        }
    }
}

/* ================================================================
   FIX: POSICIÓN CHATBOT Y SHARE - POR ENCIMA DE FLOATING CATALOG
   Alineados con tour-start-btn (lado izquierdo)
   ================================================================ */

/* Desktop: Subir chatbot por encima del floating-catalog-btn */
.chatbot-container {
    bottom: 100px !important;
    left: 20px !important;
    right: auto !important;
}

/* Share: encima del chatbot (chatbot height=60px + gap=15px = 75px) */
.share-app-container {
    bottom: 175px !important;
    left: 20px !important;
    right: auto !important;
}

/* Tablet 768px */
@media (max-width: 768px) {
    .chatbot-container {
        bottom: 100px !important;
        left: 20px !important;
    }
    
    .share-app-container {
        bottom: 170px !important;
        left: 20px !important;
    }
}

/* Mobile 480px */
@media (max-width: 480px) {
    .chatbot-container {
        bottom: 90px !important;
        left: 15px !important;
    }
    
    .share-app-container {
        bottom: 155px !important;
        left: 15px !important;
    }
}

/* PWA safe area */
@media (display-mode: standalone) {
    .chatbot-container {
        bottom: calc(100px + env(safe-area-inset-bottom, 0px)) !important;
    }
    
    .share-app-container {
        bottom: calc(175px + env(safe-area-inset-bottom, 0px)) !important;
    }
    
    @media (max-width: 768px) {
        .chatbot-container {
            bottom: calc(100px + env(safe-area-inset-bottom, 0px)) !important;
        }
        
        .share-app-container {
            bottom: calc(170px + env(safe-area-inset-bottom, 0px)) !important;
        }
    }
    
    @media (max-width: 480px) {
        .chatbot-container {
            bottom: calc(90px + env(safe-area-inset-bottom, 0px)) !important;
        }
        
        .share-app-container {
            bottom: calc(155px + env(safe-area-inset-bottom, 0px)) !important;
        }
    }
}

/* ================================================================
   FIX: TAMAÑO SHARE BUTTON = CHATBOT BUBBLE
   Mismas dimensiones en todas las resoluciones
   ================================================================ */

/* Desktop: ambos 60px */
.share-app-btn {
    width: 60px !important;
    height: 60px !important;
}

.share-app-btn i {
    font-size: 1.5rem !important;
}

/* Tablet 768px: ambos 60px */
@media (max-width: 768px) {
    .share-app-btn {
        width: 60px !important;
        height: 60px !important;
    }
    
    .share-app-btn i {
        font-size: 1.5rem !important;
    }
}

/* Mobile 480px: ambos 55px (igual que chatbot-bubble) */
@media (max-width: 480px) {
    .share-app-btn {
        width: 55px !important;
        height: 55px !important;
    }
    
    .share-app-btn i {
        font-size: 1.3rem !important;
    }
}

/* ================================================================
   FIX: BANNER DE COMERCIOS EN SECCIÓN "COMERCIOS CERCA TUYO"
   Muestra banner_url del comercio si existe
   ================================================================ */

/* Store image con banner - asegurar que la imagen se vea bien */
.store-card .store-image.store-image-with-banner {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Ocultar icono cuando hay banner */
.store-card .store-image.store-image-with-banner i {
    display: none !important;
}

/* Asegurar que el contenedor mantenga proporciones */
.store-card .store-image {
    width: 100%;
    height: 180px;
    position: relative;
    overflow: hidden;
}

/* Responsive - mantener altura proporcional */
@media (max-width: 768px) {
    .store-card .store-image {
        height: 160px;
    }
}

@media (max-width: 480px) {
    .store-card .store-image {
        height: 140px;
    }
}

/* ================================================================
   BANNER SESIÓN COMERCIO - Landing Page
   Solo visible cuando un comercio está logueado
   ================================================================ */

.comercio-session-banner {
    background: #f7fafc;
    padding: 14px 20px;
    position: relative;
    z-index: 50;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    border-bottom: 3px solid var(--primary-color, #ff3731);
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.comercio-banner-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-right: 40px;
}

.comercio-banner-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

.comercio-banner-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: linear-gradient(135deg, var(--primary-color, #ff3731) 0%, #ff6b5b 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 55, 49, 0.3);
}

.comercio-banner-icon i {
    color: white;
    font-size: 1.2rem;
}

.comercio-banner-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.comercio-banner-greeting {
    color: rgb(45, 55, 72);;
    font-size: 1rem;
    line-height: 1.3;
}

.comercio-banner-greeting strong {
    color: var(--primary-color, #ff3731);
    font-weight: 600;
}

.comercio-banner-subtitle {
    color: #718096;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    line-height: 1.4;
}

.comercio-banner-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.comercio-banner-status.status-aprobada {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.comercio-banner-status.status-revision {
    background: rgba(241, 196, 15, 0.2);
    color: #f1c40f;
    border: 1px solid rgba(241, 196, 15, 0.3);
}

.comercio-banner-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.comercio-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-family: inherit;
}

.comercio-banner-btn i {
    font-size: 0.9rem;
}

.comercio-banner-btn-primary {
    background: linear-gradient(135deg, var(--primary-color, #ff3731) 0%, #ff6b5b 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 55, 49, 0.3);
}

.comercio-banner-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 55, 49, 0.4);
    color: white;
}

.comercio-banner-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.comercio-banner-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
}

.comercio-banner-btn-outline {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.comercio-banner-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.comercio-banner-dismiss {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: darkgray;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.comercio-banner-dismiss:hover {
    background: red;
    color: white;
}

.comercio-banner-dismiss i {
    font-size: 0.85rem;
}

/* ================================================================
   RESPONSIVE - Banner Comercio - TABLET
   ================================================================ */

@media (max-width: 992px) {
    .comercio-banner-content {
        gap: 15px;
    }
    
    .comercio-banner-btn {
        padding: 9px 14px;
        font-size: 0.85rem;
    }
}

/* ================================================================
   RESPONSIVE - Banner Comercio - MÓVIL
   ================================================================ */

@media (max-width: 768px) {
    .comercio-session-banner {
        padding: 12px 15px;
    }
    
    .comercio-banner-content {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding-right: 35px;
    }
    
    .comercio-banner-left {
        gap: 12px;
    }
    
    .comercio-banner-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
        border-radius: 8px;
    }
    
    .comercio-banner-icon i {
        font-size: 1rem;
    }
    
    .comercio-banner-greeting {
        font-size: 0.9rem;
    }
    
    .comercio-banner-subtitle {
        font-size: 0.8rem;
        gap: 8px;
    }
    
    .comercio-banner-status {
        font-size: 0.7rem;
        padding: 2px 8px;
    }
    
    .comercio-banner-actions {
        display: flex;
        gap: 8px;
    }
    
    .comercio-banner-btn {
        flex: 1;
        justify-content: center;
        padding: 10px 12px;
        font-size: 0.8rem;
    }
    
    .comercio-banner-dismiss {
        right: 10px;
        top: 12px;
        transform: none;
        width: 28px;
        height: 28px;
    }
}

/* ================================================================
   RESPONSIVE - Banner Comercio - MÓVIL PEQUEÑO
   ================================================================ */

@media (max-width: 480px) {
    .comercio-session-banner {
        padding: 10px 12px;
    }
    
    .comercio-banner-content {
        padding-right: 30px;
        gap: 10px;
    }
    
    .comercio-banner-left {
        gap: 10px;
    }
    
    .comercio-banner-icon {
        width: 34px;
        height: 34px;
        min-width: 34px;
    }
    
    .comercio-banner-icon i {
        font-size: 0.9rem;
    }
    
    .comercio-banner-greeting {
        font-size: 0.85rem;
    }
    
    .comercio-banner-subtitle {
        font-size: 0.75rem;
    }
    
    .comercio-banner-actions {
        gap: 6px;
    }
    
    .comercio-banner-btn {
        padding: 9px 10px;
        font-size: 0.75rem;
        gap: 5px;
    }
    
    .comercio-banner-btn i {
        font-size: 0.8rem;
    }
    
    .comercio-banner-dismiss {
        right: 8px;
        top: 10px;
        width: 26px;
        height: 26px;
    }
    
    .comercio-banner-dismiss i {
        font-size: 0.75rem;
    }
}

/* Banner ocultado por el usuario 
.comercio-session-banner.banner-hidden {
    display: none !important;
}*/

/* ================================================================
   FIX v2.8.0: BANNER COMERCIO - Posicionamiento correcto
   Sobrescribe reglas anteriores para fix definitivo
   ================================================================ */

/* El banner debe aparecer DEBAJO del navbar fixed */
.comercio-session-banner {
    margin-top: 80px !important;
    display: flex !important;
    position: relative !important;
    z-index: 100 !important;
}

/* Contenido del banner - flex para alineación */
.comercio-session-banner .comercio-banner-content {
    display: flex !important;
    width: 100% !important;
}

/* Cuando el banner está VISIBLE, el hero no necesita margin-top */
.comercio-session-banner:not(.banner-hidden) + .hero {
    margin-top: 0 !important;
}

/* Banner oculto - colapsar SIN display:none para mantener selector adyacente */
.comercio-session-banner.banner-hidden {
    display: block !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Cuando banner oculto, restaurar margin del hero */
.comercio-session-banner.banner-hidden + .hero {
    margin-top: 80px !important;
}

/* ================================================================
   RESPONSIVE - BANNER COMERCIO FIX
   ================================================================ */

@media (max-width: 992px) {
    .comercio-session-banner {
        margin-top: 75px !important;
    }
    
    .comercio-session-banner.banner-hidden + .hero {
        margin-top: 75px !important;
    }
}

@media (max-width: 768px) {
    .comercio-session-banner {
        margin-top: 70px !important;
        padding: 12px 15px !important;
    }
    
    .comercio-session-banner .comercio-banner-content {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        padding-right: 35px !important;
    }
    
    .comercio-session-banner .comercio-banner-actions {
        flex-direction: row !important;
        flex-wrap: wrap !important;
    }
    
    .comercio-session-banner.banner-hidden + .hero {
        margin-top: 70px !important;
    }
}

@media (max-width: 480px) {
    .comercio-session-banner {
        margin-top: 65px !important;
        padding: 10px 12px !important;
    }
    
    .comercio-session-banner .comercio-banner-content {
        padding-right: 30px !important;
        gap: 10px !important;
    }
    
    .comercio-session-banner .comercio-banner-left {
        gap: 10px !important;
    }
    
    .comercio-session-banner .comercio-banner-icon {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
    }
    
    .comercio-session-banner .comercio-banner-greeting {
        font-size: 0.85rem !important;
    }
    
    .comercio-session-banner .comercio-banner-subtitle {
        font-size: 0.75rem !important;
        flex-wrap: wrap !important;
    }
    
    .comercio-session-banner .comercio-banner-btn {
        padding: 8px 10px !important;
        font-size: 0.75rem !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }
    
    .comercio-session-banner .comercio-banner-btn span {
        display: inline !important;
    }
    
    .comercio-session-banner .comercio-banner-dismiss {
        right: 8px !important;
        top: 10px !important;
        width: 26px !important;
        height: 26px !important;
    }
    
    .comercio-session-banner.banner-hidden + .hero {
        margin-top: 65px !important;
    }
}

/* PWA safe area */
@media (display-mode: standalone) {
    .comercio-session-banner {
        margin-top: calc(80px + env(safe-area-inset-top, 0px)) !important;
    }
    
    .comercio-session-banner.banner-hidden + .hero {
        margin-top: calc(80px + env(safe-area-inset-top, 0px)) !important;
    }
    
    @media (max-width: 768px) {
        .comercio-session-banner {
            margin-top: calc(70px + env(safe-area-inset-top, 0px)) !important;
        }
        
        .comercio-session-banner.banner-hidden + .hero {
            margin-top: calc(70px + env(safe-area-inset-top, 0px)) !important;
        }
    }
}

/* ================================================================
   OVERLAY PRÓXIMAMENTE - MODO PRELANZAMIENTO
   ================================================================ */

.proximamente-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    z-index: 999999;
    background: linear-gradient(135deg, #ff3731 40%, #ff5a4a 50%, #ff6b6b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    overflow-x: hidden;
}

.proximamente-container {
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    box-sizing: border-box;
    position: relative;
}

/* Partículas de fondo */
.proximamente-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.proximamente-particles span {
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: proximamenteFloat 12s infinite linear;
}

.proximamente-particles span:nth-child(1) { left: 5%; animation-delay: 0s; width: 6px; height: 6px; }
.proximamente-particles span:nth-child(2) { left: 15%; animation-delay: 1.5s; width: 10px; height: 10px; }
.proximamente-particles span:nth-child(3) { left: 25%; animation-delay: 3s; width: 5px; height: 5px; }
.proximamente-particles span:nth-child(4) { left: 35%; animation-delay: 0.5s; width: 12px; height: 12px; }
.proximamente-particles span:nth-child(5) { left: 45%; animation-delay: 2s; width: 8px; height: 8px; }
.proximamente-particles span:nth-child(6) { left: 55%; animation-delay: 4s; width: 6px; height: 6px; }
.proximamente-particles span:nth-child(7) { left: 65%; animation-delay: 1s; width: 14px; height: 14px; }
.proximamente-particles span:nth-child(8) { left: 75%; animation-delay: 2.5s; width: 7px; height: 7px; }
.proximamente-particles span:nth-child(9) { left: 85%; animation-delay: 3.5s; width: 9px; height: 9px; }
.proximamente-particles span:nth-child(10) { left: 95%; animation-delay: 0.8s; width: 8px; height: 8px; }

@keyframes proximamenteFloat {
    0% {
        top: 110%;
        opacity: 0;
        transform: translateX(0) rotate(0deg);
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        top: -10%;
        opacity: 0;
        transform: translateX(50px) rotate(360deg);
    }
}

/* Contenido principal */
.proximamente-content {
    text-align: center;
    z-index: 2;
    width: 100%;
    max-width: 650px;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Logo con fondo blanco */
.proximamente-logo-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    margin-top: 150px;
}

.proximamente-logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, transparent 70%);
    border-radius: 50%;
    animation: proximamenteGlow 3s ease-in-out infinite;
}

.proximamente-logo {
    width: 90px;
    height: 90px;
    padding: 18px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
    animation: proximamentePulse 2.5s ease-in-out infinite;
    object-fit: contain;
}

@keyframes proximamenteGlow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.4; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.7; }
}

@keyframes proximamentePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

/* Título */
.proximamente-title {
    margin-bottom: 20px;
}

.proximamente-title-main {
    display: block;
    font-size: clamp(2rem, 8vw, 3.5rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 3px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 0;
}

.proximamente-title-sub {
    display: block;
    font-size: clamp(0.9rem, 3vw, 1.2rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 8px;
    letter-spacing: 2px;
}

/* Badge próximamente */
.proximamente-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #ffffff;
    color: #ff3731;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    animation: proximamenteBadgePulse 2.5s ease-in-out infinite;
}

.proximamente-badge i {
    font-size: 1.1rem;
}

@keyframes proximamenteBadgePulse {
    0%, 100% { box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15); }
    50% { box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2); }
}

/* Mensaje */
.proximamente-message {
    color: #ffffff;
    font-size: clamp(0.95rem, 3vw, 1.1rem);
    line-height: 1.8;
    margin-bottom: 30px;
}

.proximamente-message strong {
    color: #ffffff;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.2);
    padding: 3px 12px;
    border-radius: 6px;
    white-space: nowrap;
}

/* Countdown decorativo */
.proximamente-countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    min-width: 110px;
    flex: 1;
    max-width: 150px;
    transition: all 0.3s ease;
}

.countdown-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.countdown-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 50%;
    color: #ff3731;
    font-size: 1.3rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.countdown-text {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
}

/* Redes sociales */
.proximamente-social {
    margin-top: 10px;
}

.proximamente-social-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin-bottom: 18px;
    font-weight: 500;
}

.proximamente-social-links {
    display: flex;
    justify-content: center;
    gap: 18px;
}

.proximamente-social-btn {
    width: 55px;
    height: 55px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    color: #ff3731;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.proximamente-social-btn.instagram {
    color: #E1306C;
}

.proximamente-social-btn.twitter {
    color: #1da1f2;
}

.proximamente-social-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.proximamente-social-btn.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #ffffff;
}

.proximamente-social-btn.twitter:hover {
    background: #1da1f2;
    color: #ffffff;
}

.proximamente-social-btn.facebook {
    color: #1877f2;
}

.proximamente-social-btn.tiktok {
    color: #000000;
}

.proximamente-social-btn.facebook:hover {
    background: #1877f2;
    color: #ffffff;
}

.proximamente-social-btn.tiktok:hover {
    background: #000000;
    color: #ffffff;
}

/* Footer */
.proximamente-footer {
    margin-top: 30px;
    text-align: center;
    z-index: 2;
}

.proximamente-footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 500;
    margin: 0;
}

.proximamente-footer i {
    margin-right: 5px;
}

/* ========== RESPONSIVE ========== */

/* Tablets */
@media (max-width: 768px) {
    .proximamente-container {
        padding: 30px 15px;
    }
    
    .proximamente-logo {
        width: 75px;
        height: 75px;
        padding: 15px;
        border-radius: 20px;
    }
    
    .proximamente-logo-glow {
        width: 120px;
        height: 120px;
    }
    
    .proximamente-badge {
        padding: 10px 22px;
        letter-spacing: 2px;
    }
    
    .countdown-item {
        min-width: 95px;
        padding: 14px 12px;
    }
    
    .countdown-icon {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
    
    .countdown-text {
        font-size: 0.75rem;
    }
    
    .proximamente-social-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

/* Móviles */
@media (max-width: 480px) {
    .proximamente-container {
        padding: 25px 12px;
        justify-content: flex-start;
        padding-top: 50px;
    }
    
    .proximamente-logo {
        width: 65px;
        height: 65px;
        padding: 12px;
        border-radius: 16px;
    }
    
    .proximamente-logo-glow {
        width: 100px;
        height: 100px;
    }
    
    .proximamente-title {
        margin-bottom: 15px;
    }
    
    .proximamente-badge {
        padding: 10px 20px;
        font-size: 0.85rem;
        letter-spacing: 2px;
        margin-bottom: 20px;
    }
    
    .proximamente-message {
        margin-bottom: 25px;
        padding: 0 5px;
    }
    
    .proximamente-message br {
        display: none;
    }
    
    .proximamente-countdown {
        gap: 10px;
        margin-bottom: 25px;
    }
    
    .countdown-item {
        min-width: 85px;
        padding: 12px 10px;
        flex: 1 1 calc(33% - 10px);
    }
    
    .countdown-icon {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    
    .countdown-text {
        font-size: 0.7rem;
    }
    
    .proximamente-social-text {
        font-size: 0.85rem;
    }
    
    .proximamente-social-btn {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
    
    .proximamente-footer {
        margin-top: 25px;
    }
    
    .proximamente-footer p {
        font-size: 0.8rem;
    }
}

/* Pantallas muy pequeñas */
@media (max-width: 350px) {
    .countdown-item {
        flex: 1 1 100%;
        max-width: 100%;
        flex-direction: row;
        justify-content: flex-start;
        gap: 15px;
        padding: 12px 20px;
    }
    
    .countdown-icon {
        flex-shrink: 0;
    }
    
    .countdown-text {
        text-align: left;
    }
}

/* Pantallas grandes (PC) */
@media (min-width: 1200px) {
    .proximamente-logo {
        width: 100px;
        height: 100px;
        padding: 20px;
    }
    
    .proximamente-logo-glow {
        width: 160px;
        height: 160px;
    }
    
    .countdown-item {
        min-width: 140px;
        padding: 22px 25px;
    }
    
    .countdown-icon {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }
    
    .countdown-text {
        font-size: 0.9rem;
    }
    
    .proximamente-social-btn {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }
}