/* ============================================
   MARKETPLACE - CSS PERSONALIZADO
   Sistema moderno para cualquier tipo de negocio
   ============================================ */

/* Nav items - indicadores animados */
.nav-item:hover .nav-indicator {
    width: 60% !important;
}

/* ============================================
   CONTADOR DE VISITANTES - Flotante
   ============================================ */
.visitor-counter {
    position: fixed;
    left: 16px;
    bottom: 24px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #134e4a, #0f766e);
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(15,118,110,0.3);
    border: 1px solid rgba(212,175,55,0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
}
.visitor-counter:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 32px rgba(15,118,110,0.4);
}
.visitor-counter .visitor-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37, #f59e0b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
    position: relative;
}
.visitor-counter .visitor-info {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.visitor-counter .visitor-number {
    font-size: 18px;
    font-weight: 800;
    color: white;
}
.visitor-counter .visitor-label {
    font-size: 10px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.visitor-counter .visitor-pulse {
    position: absolute;
    top: 50%;
    left: 28px;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #22c55e;
    border-radius: 50%;
    border: 2px solid #134e4a;
}
.visitor-counter .visitor-pulse::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    width: 12px;
    height: 12px;
    background: #22c55e;
    border-radius: 50%;
    animation: visitorPulse 2s ease-out infinite;
}
@keyframes visitorPulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}
@media (max-width: 768px) {
    .visitor-counter {
        left: 10px;
        bottom: 16px;
        padding: 8px 14px;
        gap: 8px;
    }
    .visitor-counter .visitor-icon {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    .visitor-counter .visitor-number {
        font-size: 15px;
    }
    .visitor-counter .visitor-label {
        font-size: 9px;
    }
    .visitor-counter .visitor-pulse {
        left: 23px;
    }
}
.visitor-counter .visitor-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0;
    min-width: 160px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
    padding: 12px 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}
.visitor-counter:hover .visitor-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.visitor-tooltip-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #64748b;
    padding: 4px 0;
}
.visitor-tooltip-row i {
    color: #0f766e;
    width: 16px;
}
.visitor-tooltip-row strong {
    color: #134e4a;
    font-weight: 700;
    margin-left: auto;
}
.visitor-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 24px;
    border: 6px solid transparent;
    border-top-color: white;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

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

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-fadeInUp { animation: fadeInUp 0.6s ease-out; }
.animate-fadeIn { animation: fadeIn 0.4s ease-out; }
.animate-slideInLeft { animation: slideInLeft 0.5s ease-out; }
.animate-pulse-soft { animation: pulse-soft 2s infinite; }
.animate-float { animation: float 3s ease-in-out infinite; }

/* Delays para animaciones escalonadas */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

/* Cards de productos */
.product-card {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(15, 118, 110, 0.15), 0 4px 12px rgba(249, 115, 22, 0.08);
}

.product-card .product-image {
    overflow: hidden;
    border-radius: 0.75rem 0.75rem 0 0;
}

.product-card .product-image img {
    transition: transform 0.5s ease;
    object-fit: contain;
}

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

.product-card .quick-actions {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .quick-actions {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #134e4a 0%, #0f766e 50%, #0d9488 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(15, 118, 110, 0.3) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 40%;
    height: 150%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.2) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite reverse;
}

/* Categorías */
.category-card {
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(15, 118, 110, 0.2);
}

/* Botón agregar al carrito */
.btn-add-cart {
    position: relative;
    overflow: hidden;
}

.btn-add-cart::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-add-cart:active::after {
    width: 200px;
    height: 200px;
}

/* Badges */
.badge-new {
    background: linear-gradient(135deg, #10b981, #059669);
}

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

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

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

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

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #0f766e, #14b8a6);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #0d9488, #0d9488);
}

/* Efectos de glass */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

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

/* Toast notifications */
.toast {
    animation: slideInRight 0.3s ease-out;
}

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

/* Responsive helpers */
@media (max-width: 640px) {
    .hero-section {
        min-height: 60vh;
    }

    .product-card {
        border-radius: 12px;
    }

    .filter-sidebar.open > div {
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 16px !important;
    }

    .sort-select {
        width: 100% !important;
        font-size: 13px !important;
    }

    .mobile-filter-btn {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* Estilos para el carrito */
.cart-item {
    transition: all 0.3s ease;
}

.cart-item:hover {
    background-color: #f8fafc;
}

/* Input quantity */
.qty-input {
    -moz-appearance: textfield;
    appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Tabs activos */
.tab-active {
    border-bottom: 3px solid #0f766e;
    color: #0f766e;
    font-weight: 600;
}

/* Swiper override */
.swiper-pagination-bullet-active {
    background: #0f766e !important;
}

/* Modal overlay */
.modal-overlay {
    background: rgba(19, 78, 74, 0.5);
    backdrop-filter: blur(4px);
}

/* Gradientes de texto */
.text-gradient {
    background: linear-gradient(135deg, #10b981, #059669);
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Rating stars */
.star-filled { color: #f59e0b; }
.star-empty { color: #d1d5db; }

/* Mega Menu Scroll */
.mega-menu-scroll::-webkit-scrollbar {
    width: 5px;
}
.mega-menu-scroll::-webkit-scrollbar-track {
    background: transparent;
}
.mega-menu-scroll::-webkit-scrollbar-thumb {
    background: #99f6e4;
    border-radius: 3px;
}

/* Brand cards */
.brand-card {
    transition: all 0.3s ease;
}
.brand-card:hover {
    transform: translateY(-3px);
}

/* Filter sidebar */
.filter-section {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}
.filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    cursor: pointer;
    transition: color 0.2s;
}
.filter-checkbox:hover {
    color: #0f766e;
}
.filter-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #0f766e;
    cursor: pointer;
}

/* Price range slider */
.price-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    outline: none;
}
.price-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #0f766e;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}
.price-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}
.price-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #0f766e;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

/* Line clamp utilities */
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Product detail gallery */
.gallery-thumb {
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
}
.gallery-thumb:hover {
    border-color: #0f766e;
}
.gallery-thumb.active {
    border-color: #0f766e;
}

/* Color swatch */
.color-swatch {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.2s;
    display: inline-block;
}
.color-swatch:hover {
    transform: scale(1.1);
}
.color-swatch.active {
    border-color: #0f766e;
    box-shadow: 0 0 0 2px white, 0 0 0 4px #0f766e;
}

/* Sort dropdown */
.sort-select {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 0.625rem 2.5rem 0.625rem 1rem;
    font-size: 0.875rem;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230f766e'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.25rem;
}
.sort-select:hover, .sort-select:focus {
    border-color: #0f766e;
}

/* Mobile filter toggle */
.mobile-filter-btn {
    display: none;
}
@media (max-width: 1023px) {
    .mobile-filter-btn {
        display: flex;
    }
    .filter-sidebar {
        display: none;
    }
    .filter-sidebar.open {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 60;
        background: white;
        overflow-y: auto;
        padding: 1rem;
    }
}

/* ============================================
   CARRUSEL / SLIDER HERO
   ============================================ */
.hero-carousel {
    position: relative;
    overflow: hidden;
}
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}
.hero-slide.active {
    opacity: 1;
    z-index: 2;
}
.hero-slide-content {
    transform: translateX(50px);
    opacity: 0;
    transition: all 0.8s ease 0.3s;
}
.hero-slide.active .hero-slide-content {
    transform: translateX(0);
    opacity: 1;
}
.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}
.hero-dot.active {
    background: white;
    transform: scale(1.3);
}
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    border: 1px solid rgba(255,255,255,0.2);
}
.hero-arrow:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-50%) scale(1.1);
}
.hero-arrow.prev { left: 20px; }
.hero-arrow.next { right: 20px; }

/* ============================================
   MARQUEE - Cards en movimiento horizontal
   ============================================ */
.marquee-container {
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}
.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}
.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, #f9fafb, transparent);
}
.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, #f9fafb, transparent);
}
.marquee-track {
    display: flex;
    gap: 16px;
    animation: marqueeScroll 30s linear infinite;
    width: max-content;
}
.marquee-track:hover {
    animation-play-state: paused;
}
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.marquee-item {
    flex-shrink: 0;
    width: 220px;
}

/* Marquee para marcas - VERSION PROFESIONAL */
.marquee-brands {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}
.marquee-brands::before,
.marquee-brands::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}
.marquee-brands::before {
    left: 0;
    background: linear-gradient(to right, rgba(19,78,74,0.95), transparent);
}
.marquee-brands::after {
    right: 0;
    background: linear-gradient(to left, rgba(19,78,74,0.95), transparent);
}
.marquee-brands-track {
    display: flex;
    gap: 24px;
    animation: marqueeScroll 30s linear infinite;
    width: max-content;
    align-items: center;
}
.marquee-brands-track:hover {
    animation-play-state: paused;
}
.marquee-brand-item {
    flex-shrink: 0;
    width: 200px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    position: relative;
    overflow: hidden;
}
.marquee-brand-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-color1, #0f766e), var(--brand-color2, #14b8a6));
    opacity: 0;
    transition: opacity 0.3s;
}
.marquee-brand-item:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.25);
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}
.marquee-brand-item:hover::before {
    opacity: 1;
}
.marquee-brand-item .brand-icon-wrapper {
    width: 64px;
    height: 64px;
    margin: 0 auto 12px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-color1, #0f766e), var(--brand-color2, #14b8a6));
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
    transition: transform 0.4s ease;
}
.marquee-brand-item:hover .brand-icon-wrapper {
    transform: scale(1.1) rotate(-5deg);
}
.marquee-brand-item .brand-icon-wrapper i {
    font-size: 28px;
    color: white;
}
.marquee-brand-item .brand-icon-wrapper img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}
.marquee-brand-item .brand-name {
    color: white;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}
.marquee-brand-item .brand-tag {
    color: rgba(255,255,255,0.5);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.marquee-brand-item .brand-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.6s ease;
}
.marquee-brand-item:hover .brand-shine {
    left: 100%;
}

/* Brand stats */
.brand-stats {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}
.brand-stat-item {
    text-align: center;
}
.brand-stat-item .stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.brand-stat-item .stat-label {
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   FLASH DEALS - Ofertas con contador
   ============================================ */
.flash-deals-section {
    background: linear-gradient(135deg, #134e4a 0%, #0f766e 50%, #0d9488 100%);
    position: relative;
    overflow: hidden;
}
.flash-deals-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 40%;
    height: 200%;
    background: radial-gradient(circle, rgba(245,158,11,0.15) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}
.countdown-box {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 8px 12px;
    text-align: center;
    min-width: 60px;
}
.countdown-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}
.countdown-label {
    font-size: 0.625rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    margin-top: 2px;
}

/* ============================================
   CARDS ANIMADAS - Efectos avanzados
   ============================================ */
@keyframes shimmer-card {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.shimmer-badge {
    background: linear-gradient(90deg, #f59e0b, #f97316, #f59e0b);
    background-size: 200% 100%;
    animation: shimmer-card 2s linear infinite;
}

@keyframes bounce-soft {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
.bounce-soft {
    animation: bounce-soft 2s ease-in-out infinite;
}

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.rotate-slow {
    animation: rotate-slow 20s linear infinite;
}

/* Badge flotante de descuento */
.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(239,68,68,0.4);
    z-index: 5;
}
.discount-badge span:first-child {
    font-size: 1rem;
}

/* Card hover con tilt */
.tilt-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
}
.tilt-card:hover {
    transform: perspective(1000px) rotateY(-3deg) translateY(-8px);
    box-shadow: 0 20px 40px rgba(15,118,110,0.2);
}

/* Sección de categorías circular */
.category-circle {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.category-circle:hover {
    transform: translateY(-8px) scale(1.05);
}
.category-circle .icon-wrapper {
    transition: all 0.4s ease;
}
.category-circle:hover .icon-wrapper {
    transform: rotate(360deg) scale(1.1);
}

/* Línea decorativa animada */
.animated-underline {
    position: relative;
    display: inline-block;
}
.animated-underline::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #0f766e, #14b8a6, #f59e0b);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.animated-underline:hover::after {
    transform: scaleX(1);
}

/* Newsletter section */
.newsletter-section {
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
    position: relative;
    overflow: hidden;
}
.newsletter-section::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -10%;
    width: 50%;
    height: 160%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

/* ============================================
   BARRA DE BENEFICIOS - Profesional
   ============================================ */
.benefit-card {
    position: relative;
    padding: 24px 20px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    cursor: default;
}
.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--bc1, #0f766e), var(--bc2, #14b8a6));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
    border-color: transparent;
}
.benefit-card:hover::before {
    transform: scaleX(1);
}
.benefit-card .benefit-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bc1, #0f766e), var(--bc2, #14b8a6));
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.benefit-card .benefit-icon-box::after {
    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 ease;
}
.benefit-card:hover .benefit-icon-box {
    transform: scale(1.1) rotate(-5deg);
}
.benefit-card:hover .benefit-icon-box::after {
    left: 100%;
}
.benefit-card .benefit-icon-box i {
    font-size: 24px;
    color: white;
}
.benefit-card .benefit-title {
    font-weight: 700;
    font-size: 15px;
    color: #134e4a;
    margin-bottom: 2px;
}
.benefit-card .benefit-subtitle {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
}
.benefit-card .benefit-number {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 36px;
    font-weight: 900;
    color: #f1f5f9;
    line-height: 1;
    z-index: 0;
    font-family: 'Arial', sans-serif;
}

/* ============================================
   CATEGORIAS - Cards profesionales
   ============================================ */
.category-card {
    position: relative;
    padding: 24px 12px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--cc1, #0f766e), var(--cc2, #14b8a6));
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    transform: scaleY(1);
    transform-origin: bottom;
    transition: transform 0.4s ease;
    z-index: 1;
    border-radius: 18px;
}
.category-card:hover::before {
    transform: scaleY(0);
}
.category-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}
.category-card:hover::after {
    opacity: 1;
}
.category-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}
.category-card .category-icon-box {
    width: 60px;
    height: 60px;
    margin: 0 auto 12px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--cc1, #0f766e), var(--cc2, #14b8a6));
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}
.category-card:hover .category-icon-box {
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.category-card .category-icon-box i {
    font-size: 24px;
    color: white;
    transition: all 0.3s;
}
.category-card:hover .category-icon-box i {
    color: white;
    transform: scale(1.1);
}
.category-card .category-name {
    font-weight: 700;
    font-size: 12px;
    color: #134e4a;
    transition: color 0.3s;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.category-card:hover .category-name {
    color: white;
}
.category-card .category-arrow {
    display: inline-block;
    margin-top: 6px;
    font-size: 10px;
    color: #94a3b8;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    font-weight: 600;
}
.category-card:hover .category-arrow {
    opacity: 1;
    transform: translateY(0);
    color: rgba(255,255,255,0.9);
}

/* ============================================
   CARDS DE LOCALES - Animacion tipo category-card
   ============================================ */
.negocio-card {
    position: relative;
    border-radius: 18px;
    background: var(--nc-gradient, linear-gradient(135deg, #0f766e, #14b8a6));
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    text-decoration: none;
    display: block;
}
.negocio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(160deg, #ffffff 0%, #f0fdfa 60%, #ecfdf5 100%);
    transform: scaleY(1);
    transform-origin: bottom;
    transition: transform 0.4s ease;
    z-index: 1;
    border-radius: 18px;
}
.negocio-card:hover::before {
    transform: scaleY(0);
}
.negocio-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}
.negocio-card:hover::after {
    opacity: 1;
}
.negocio-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}
.negocio-inner {
    padding: 16px;
    position: relative;
    z-index: 3;
}
.negocio-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #f1f5f9;
    color: #64748b;
    transition: all 0.3s ease;
}
.negocio-card:hover .negocio-tag {
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(8px);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
}
.negocio-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
    background: #dcfce7;
    color: #16a34a;
    transition: all 0.3s ease;
}
.negocio-card:hover .negocio-status {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    color: white;
    border: 1px solid rgba(255,255,255,0.15);
}
.negocio-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--nc1, #0f766e), #14b8a6);
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    flex-shrink: 0;
    overflow: hidden;
}
.negocio-card:hover .negocio-icon-box {
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.2);
}
.negocio-icon-box i {
    font-size: 20px;
    color: white;
    transition: all 0.3s;
}
.negocio-card:hover .negocio-icon-box i {
    transform: scale(1.1);
}
.negocio-icon-box img {
    transition: all 0.4s ease;
}
.negocio-card:hover .negocio-icon-box img {
    transform: scale(1.1);
}
.negocio-name {
    font-size: 14px;
    font-weight: 800;
    color: #134e4a;
    line-height: 1.3;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s;
}
.negocio-card:hover .negocio-name {
    color: white;
}
.negocio-desc {
    font-size: 11px;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s;
}
.negocio-card:hover .negocio-desc {
    color: rgba(255,255,255,0.7);
}
.negocio-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    margin-top: 4px;
    border-top: 1px solid #e2e8f0;
    transition: border-color 0.3s;
}
.negocio-card:hover .negocio-footer {
    border-top-color: rgba(255,255,255,0.15);
}
.negocio-count {
    font-size: 14px;
    font-weight: 800;
    color: #0f766e;
    transition: color 0.3s;
}
.negocio-count span {
    font-size: 10px;
    font-weight: 400;
    color: #94a3b8;
    transition: color 0.3s;
}
.negocio-card:hover .negocio-count {
    color: white;
}
.negocio-card:hover .negocio-count span {
    color: rgba(255,255,255,0.6);
}
.negocio-arrow {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    opacity: 0.6;
    transform: translateX(0);
    transition: all 0.3s ease;
}
.negocio-arrow i {
    font-size: 9px;
}
.negocio-card:hover .negocio-arrow {
    color: rgba(255,255,255,0.9);
    opacity: 1;
    gap: 8px;
}

/* === MOVIL: Mostrar color activo por defecto (sin hover) === */
@media (max-width: 768px) {
    .negocio-card::before {
        transform: scaleY(0) !important;
    }
    .negocio-card::after {
        opacity: 1 !important;
    }
    .negocio-card {
        box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    }
    .negocio-tag {
        background: rgba(255,255,255,0.25) !important;
        backdrop-filter: blur(8px);
        color: white !important;
        border: 1px solid rgba(255,255,255,0.2);
    }
    .negocio-status {
        background: rgba(255,255,255,0.2) !important;
        backdrop-filter: blur(8px);
        color: white !important;
        border: 1px solid rgba(255,255,255,0.15);
    }
    .negocio-icon-box {
        background: rgba(255,255,255,0.25) !important;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255,255,255,0.2);
    }
    .negocio-name {
        color: white !important;
    }
    .negocio-desc {
        color: rgba(255,255,255,0.7) !important;
    }
    .negocio-footer {
        border-top-color: rgba(255,255,255,0.15) !important;
    }
    .negocio-count {
        color: white !important;
    }
    .negocio-count span {
        color: rgba(255,255,255,0.6) !important;
    }
    .negocio-arrow {
        color: rgba(255,255,255,0.9) !important;
        opacity: 1 !important;
    }
    .category-card::before {
        transform: scaleY(0) !important;
    }
    .category-card::after {
        opacity: 1 !important;
    }
    .category-card {
        box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    }
    .category-card .category-name {
        color: white !important;
    }
    .category-card .category-arrow {
        color: rgba(255,255,255,0.9) !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    .category-card .category-icon-box {
        background: rgba(255,255,255,0.25) !important;
        backdrop-filter: blur(10px);
    }
}

/* ============================================
   POR QUE ELEGIRNOS - Profesional
   ============================================ */
.why-card {
    position: relative;
    padding: 40px 28px;
    border-radius: 20px;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4,0,0.2,1);
    text-align: center;
}
.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--wc1, #0f766e), var(--wc2, #14b8a6));
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}
.why-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255,255,255,0.25);
    box-shadow: 0 24px 56px rgba(0,0,0,0.25);
}
.why-card:hover::before {
    opacity: 0.12;
}
.why-card .why-icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--wc1, #0f766e), var(--wc2, #14b8a6));
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
    transition: all 0.5s ease;
    position: relative;
    z-index: 1;
}
.why-card:hover .why-icon-box {
    transform: scale(1.12) rotate(-8deg);
    box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.why-card .why-icon-box i {
    font-size: 32px;
    color: white;
}
.why-card .why-number {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 48px;
    font-weight: 900;
    color: rgba(255,255,255,0.06);
    line-height: 1;
    z-index: 0;
}
.why-card .why-title {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}
.why-card .why-desc {
    color: rgba(255,255,255,0.55);
    font-size: 14px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}
.why-card .why-divider {
    width: 40px;
    height: 3px;
    margin: 16px auto 0;
    background: linear-gradient(90deg, var(--wc1, #0f766e), var(--wc2, #14b8a6));
    border-radius: 2px;
    position: relative;
    z-index: 1;
    transition: width 0.4s ease;
}
.why-card:hover .why-divider {
    width: 80px;
}

/* ============================================
   TESTIMONIOS - Profesional
   ============================================ */
.testimonial-card {
    position: relative;
    padding: 32px 28px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}
.testimonial-card::before {
    content: '\f10d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 36px;
    color: #f1f5f9;
    z-index: 0;
}
.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(15,118,110,0.1);
    border-color: transparent;
}
.testimonial-card .testimonial-stars {
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}
.testimonial-card .testimonial-stars i {
    font-size: 16px;
    color: #f59e0b;
}
.testimonial-card .testimonial-stars i.empty {
    color: #e2e8f0;
}
.testimonial-card .testimonial-text {
    color: #475569;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}
.testimonial-card .testimonial-user {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 1;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}
.testimonial-card .testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, var(--tc1, #0f766e), var(--tc2, #14b8a6));
    box-shadow: 0 6px 16px rgba(15,118,110,0.2);
    flex-shrink: 0;
}
.testimonial-card .testimonial-name {
    font-weight: 700;
    font-size: 15px;
    color: #134e4a;
}
.testimonial-card .testimonial-date {
    font-size: 12px;
    color: #94a3b8;
}
.testimonial-card .testimonial-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--tc1, #0f766e), var(--tc2, #14b8a6));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.testimonial-card:hover .testimonial-badge {
    transform: scaleX(1);
}
.testimonial-summary {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 16px 32px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--tc1, #0f766e)15, var(--tc2, #14b8a6)15);
    border: 1px solid var(--tc1, #0f766e);
    border-color: rgba(15,118,110,0.2);
}

/* ============================================
   DETALLE DE PRODUCTO - Profesional
   ============================================ */
.detail-gallery-main {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}
.detail-gallery-main:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.detail-gallery-main .zoom-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f766e;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
    backdrop-filter: blur(8px);
}
.detail-gallery-main:hover .zoom-icon {
    opacity: 1;
}
.detail-gallery-main img {
    transition: transform 0.4s ease;
}
.detail-gallery-main:hover img {
    transform: scale(1.05);
}
.detail-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 5;
    backdrop-filter: blur(8px);
}
.detail-badge.featured {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    box-shadow: 0 4px 12px rgba(245,158,11,0.3);
}
.detail-badge.new {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    box-shadow: 0 4px 12px rgba(34,197,94,0.3);
}
.detail-thumb {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
    aspect-ratio: 1;
}
.detail-thumb:hover {
    border-color: #0f766e;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(15,118,110,0.12);
}
.detail-thumb.active {
    border-color: #0f766e;
    box-shadow: 0 0 0 3px rgba(15,118,110,0.15);
}
.detail-price-box {
    background: linear-gradient(135deg, #0f766e 08, #14b8a6 08);
    border-radius: 18px;
    padding: 24px;
    border: 1px solid rgba(15,118,110,0.1);
}
.detail-price-main {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.detail-stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
}
.detail-stock-badge.in-stock {
    background: rgba(34,197,94,0.1);
    color: #16a34a;
}
.detail-stock-badge.low-stock {
    background: rgba(245,158,11,0.1);
    color: #d97706;
}
.detail-stock-badge.out-stock {
    background: rgba(59,130,246,0.1);
    color: #3b82f6;
}
.detail-info-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #134e4a;
    transition: all 0.3s ease;
    text-decoration: none;
}
.detail-info-chip:hover {
    border-color: #0f766e;
    background: rgba(15,118,110,0.05);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15,118,110,0.1);
}
.detail-info-chip i {
    color: #0f766e;
}
.color-swatch-detail {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;
    border: 3px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.color-swatch-detail:hover {
    transform: scale(1.1);
    border-color: #0f766e;
}
.color-swatch-detail.active {
    border-color: #0f766e;
    box-shadow: 0 0 0 3px rgba(15,118,110,0.2);
    transform: scale(1.1);
}
.color-swatch-detail.active::after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.detail-qty-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    background: transparent;
    color: #64748b;
}

/* Talla Selector - Professional */
.talla-swatch-detail {
    min-width: 48px;
    height: 44px;
    padding: 0 14px;
    border-radius: 12px;
    cursor: pointer;
    border: 3px solid #e2e8f0;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #475569;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    user-select: none;
}
.talla-swatch-detail:hover {
    transform: scale(1.08);
    border-color: #0f766e;
    color: #0f766e;
}
.talla-swatch-detail.active {
    border-color: #0f766e;
    background: #0f766e;
    color: #fff;
    box-shadow: 0 0 0 3px rgba(15,118,110,0.2);
    transform: scale(1.08);
}

.detail-qty-btn:hover {
    background: rgba(15,118,110,0.1);
    color: #0f766e;
}
.detail-qty-input {
    width: 60px;
    height: 48px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-top: 2px solid #e2e8f0;
    border-bottom: 2px solid #e2e8f0;
    color: #134e4a;
    outline: none;
}
.detail-qty-container {
    display: inline-flex;
    align-items: center;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    background: #fff;
    transition: border-color 0.3s ease;
}
.detail-qty-container:focus-within {
    border-color: #0f766e;
}
.detail-btn-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(15,118,110,0.25);
}
.detail-btn-cart:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15,118,110,0.35);
}
.detail-btn-buy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(245,158,11,0.25);
}
.detail-btn-buy:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(245,158,11,0.35);
}
.detail-benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}
.detail-benefit-item:hover {
    border-color: rgba(15,118,110,0.3);
    box-shadow: 0 6px 16px rgba(15,118,110,0.06);
    transform: translateY(-2px);
}
.detail-benefit-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
/* ===== TABS PROFESIONALES MARKETPLACE ===== */
.detail-tab {
    padding: 18px 32px;
    font-size: 14px;
    font-weight: 700;
    color: #94a3b8;
    cursor: pointer;
    border: none;
    background: transparent;
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
    position: relative;
    border-bottom: 3px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}
.detail-tab::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #0f766e, #14b8a6);
    border-radius: 3px 3px 0 0;
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
    transform: translateX(-50%);
}
.detail-tab:hover {
    color: #0f766e;
    background: rgba(15,118,110,0.03);
}
.detail-tab.active {
    color: #0f766e;
    background: rgba(15,118,110,0.05);
}
.detail-tab.active::after {
    width: 100%;
}
.detail-tab i {
    font-size: 16px;
    transition: transform 0.3s ease;
}
.detail-tab.active i {
    transform: scale(1.15);
}
.detail-tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}
.detail-tab-content.active {
    display: block;
}
.detail-spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.25s ease;
    border-radius: 10px;
    margin-bottom: 2px;
}
.detail-spec-row:hover {
    background: linear-gradient(135deg, rgba(15,118,110,0.04), rgba(20,184,166,0.04));
    transform: translateX(4px);
}
.detail-spec-row dt {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}
.detail-spec-row dd {
    font-size: 14px;
    color: #134e4a;
    font-weight: 700;
}
/* ===== CONTENIDO TAB DESCRIPCION ===== */
.detail-desc-content {
    font-size: 15px;
    line-height: 1.8;
    color: #475569;
}
.detail-desc-content h1,
.detail-desc-content h2,
.detail-desc-content h3 {
    color: #0f766e;
    font-weight: 800;
    margin: 20px 0 10px;
}
.detail-desc-content ul,
.detail-desc-content ol {
    padding-left: 24px;
    margin: 12px 0;
}
.detail-desc-content li {
    margin-bottom: 8px;
    position: relative;
}
.detail-desc-content ul li::marker {
    color: #14b8a6;
}
/* ===== TAB COLORES CARDS ===== */
.detail-color-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 16px;
    border-radius: 18px;
    border: 2px solid #e2e8f0;
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.detail-color-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0f766e, #14b8a6);
    transform: scaleX(0);
    transition: transform 0.35s ease;
    transform-origin: left;
}
.detail-color-card:hover {
    border-color: #0f766e;
    box-shadow: 0 12px 28px rgba(15,118,110,0.12);
    transform: translateY(-4px);
}
.detail-color-card:hover::before {
    transform: scaleX(1);
}
.detail-color-swatch {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15), inset 0 0 0 3px rgba(255,255,255,0.3);
    transition: transform 0.3s ease;
}
.detail-color-card:hover .detail-color-swatch {
    transform: scale(1.1);
}
/* ===== TAB RESEÑAS ===== */
.detail-review-card {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}
.detail-review-card:hover {
    border-color: rgba(15,118,110,0.2);
    box-shadow: 0 4px 16px rgba(15,118,110,0.06);
}
.detail-review-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    flex-shrink: 0;
}
.detail-rating-bar {
    height: 8px;
    background: #f1f5f9;
    border-radius: 4px;
    overflow: hidden;
}
.detail-rating-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    border-radius: 4px;
    transition: width 0.5s ease;
}
.detail-related-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}
.detail-related-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(15,118,110,0.12);
    border-color: transparent;
}
.detail-related-card .related-img {
    position: relative;
    height: 180px;
    background: #f8fafc;
    overflow: hidden;
}
.detail-related-card .related-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
    transition: transform 0.4s ease;
}
.detail-related-card:hover .related-img img {
    transform: scale(1.08);
}
.detail-related-card .related-price {
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.detail-related-card .related-arrow {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}
.detail-related-card:hover .related-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   PRODUCT CARDS - Diseño dinámico
   (editable desde Diseño del Inicio > Cards de Producto)
   ============================================ */
.prod-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: var(--card-radius, 18px);
    overflow: hidden;
    background: var(--card-bg, #fff);
    border: 1px solid var(--card-border-color, #e2e8f0);
    box-shadow: var(--card-shadow, 0 8px 24px rgba(15,23,42,0.08));
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), box-shadow 0.35s cubic-bezier(0.4,0,0.2,1), border-color 0.35s;
}
.prod-card::before {
    content: '';
    display: var(--card-barra-display, block);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--card-barra, linear-gradient(90deg,#0f766e,#14b8a6,#f97316,#14b8a6,#0f766e));
    background-size: 200% 100%;
    animation: gradientShift 4s ease infinite;
    z-index: 5;
}
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
.prod-card:hover {
    transform: translateY(calc(var(--card-hover-lift, 8px) * -1));
    box-shadow: var(--card-hover-shadow, 0 16px 40px rgba(15,118,110,0.15));
    border-color: var(--card-btn1, #0f766e);
}
.prod-card .prod-img-box {
    position: relative;
    height: var(--card-img-h, 190px);
    background: var(--card-img-bg, #f8fafc);
    overflow: hidden;
}
.prod-card .prod-img-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 42%, transparent 58%, rgba(15,23,42,0.05) 100%);
    pointer-events: none;
}
.prod-card .prod-img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
    transition: transform 0.5s ease;
    filter: drop-shadow(0 6px 14px rgba(15,23,42,0.10));
}
.prod-card:hover .prod-img-box img {
    transform: scale(1.08);
}
.prod-card .prod-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 11px;
    border-radius: 10px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    z-index: 3;
    backdrop-filter: blur(8px);
}
.prod-card .prod-badge.featured {
    background: var(--card-badge, linear-gradient(135deg,#f59e0b,#d97706));
    color: #fff;
    box-shadow: 0 4px 12px rgba(15,23,42,0.18);
}
.prod-card .prod-cat-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 11px;
    background: rgba(255,255,255,0.95);
    border-radius: 10px;
    font-size: 9px;
    font-weight: 700;
    color: var(--card-btn1, #0f766e);
    z-index: 3;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(15,23,42,0.08);
}
.prod-card .prod-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px;
    background: var(--card-overlay, linear-gradient(to top, rgba(15,118,110,0.85), transparent));
    display: flex;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
    z-index: 3;
}
.prod-card:hover .prod-overlay {
    opacity: 1;
    transform: translateY(0);
}
.prod-card .prod-overlay-btn {
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    backdrop-filter: blur(10px);
}
.prod-card .prod-overlay-btn.cart {
    background: var(--card-boton, linear-gradient(135deg,#0f766e,#14b8a6));
    color: #fff;
    box-shadow: 0 4px 14px rgba(15,23,42,0.25);
}
.prod-card .prod-overlay-btn.cart:hover {
    transform: scale(1.06);
}
.prod-card .prod-overlay-btn.view {
    background: rgba(255,255,255,0.95);
    color: var(--card-titulo, #1e293b);
}
.prod-card .prod-overlay-btn.view:hover {
    background: #fff;
    transform: scale(1.06);
}
.prod-card .prod-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.prod-card .prod-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--card-titulo, #1e293b);
    margin-bottom: 6px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.prod-card .prod-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}
.prod-card .prod-title a:hover {
    color: var(--card-btn1, #0f766e);
}
.prod-card .prod-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.prod-card .prod-brand {
    font-size: 10px;
    font-weight: 700;
    color: var(--card-marca, #14b8a6);
    display: flex;
    align-items: center;
    gap: 3px;
}
.prod-card .prod-subcat {
    font-size: 10px;
    color: #64748b;
    padding: 2px 7px;
    background: #f1f5f9;
    border-radius: 6px;
}
.prod-card .prod-stars {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}
.prod-card .prod-desc {
    font-size: 11px;
    color: #64748b;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.prod-card .prod-colors {
    display: flex;
    gap: 5px;
    margin-bottom: 8px;
}
.prod-card .prod-color-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(15,23,42,0.08);
    cursor: pointer;
    transition: transform 0.2s ease;
}
.prod-card .prod-color-dot:hover {
    transform: scale(1.25);
    border-color: var(--card-btn1, #0f766e);
}
.prod-card .prod-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    margin-top: auto;
    border-top: 1px solid #e2e8f0;
}
.prod-card .prod-price {
    font-size: 20px;
    font-weight: 800;
    background: var(--card-precio, linear-gradient(135deg,#0f766e,#14b8a6,#f97316));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.prod-card .prod-stock {
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    border-radius: 6px;
}
.prod-card .prod-stock.in {
    color: #16a34a;
    background: #dcfce7;
}
.prod-card .prod-stock.out {
    color: #3b82f6;
    background: #dbeafe;
}
@media (max-width: 640px) {
    .prod-card .prod-img-box { height: calc(var(--card-img-h, 190px) * 0.78); }
    .prod-card .prod-overlay { opacity: 1; transform: none; padding: 8px; }
    .prod-card .prod-overlay-btn { padding: 7px 12px; font-size: 11px; }
}
/* Filtros sidebar profesional */
.filter-sidebar-pro {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.filter-section-pro {
    padding: 18px 0;
    border-bottom: 1px solid #f1f5f9;
}
.filter-section-pro:last-child {
    border-bottom: none;
}
.filter-section-pro h4 {
    font-size: 13px;
    font-weight: 800;
    color: #134e4a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.filter-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    transition: all 0.2s ease;
    text-decoration: none;
}
.filter-link:hover {
    background: rgba(15,118,110,0.06);
    color: #0f766e;
    transform: translateX(4px);
}
.filter-link.active {
    background: linear-gradient(135deg, rgba(15,118,110,0.1), rgba(20,184,166,0.1));
    color: #0f766e;
    font-weight: 700;
}
.sort-select-pro {
    padding: 10px 16px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: #134e4a;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}
.sort-select-pro:hover {
    border-color: #0f766e;
}
.sort-select-pro:focus {
    border-color: #0f766e;
    box-shadow: 0 0 0 3px rgba(15,118,110,0.1);
}

/* ===== CARRITO DE COMPRAS PROFESIONAL ===== */
.cart-item {
    transition: all 0.3s ease;
}
.cart-item:hover {
    background: linear-gradient(90deg, transparent, rgba(15,118,110,0.03));
}
.cart-qty-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 40px;
    padding: 0 16px;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    font-weight: 800;
    font-size: 15px;
    color: #0f766e;
}
.cart-remove-btn {
    width: 40px;
    height: 40px;
    background: rgba(239,68,68,0.08);
    color: #ef4444;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.cart-remove-btn:hover {
    background: #ef4444;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(239,68,68,0.3);
}
.cart-continue-btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    border: 2px solid #e2e8f0;
    color: #64748b;
    font-weight: 700;
    border-radius: 14px;
    transition: all 0.3s ease;
    font-size: 14px;
}
.cart-continue-btn:hover {
    border-color: #0f766e;
    color: #0f766e;
    background: rgba(15,118,110,0.04);
    transform: translateX(-4px);
}
.cart-summary-header {
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}
.cart-summary-header i {
    font-size: 20px;
}
.cart-summary-header h3 {
    font-size: 18px;
    font-weight: 800;
    margin: 0;
}
.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 14px;
    color: #64748b;
    border-bottom: 1px dashed #f1f5f9;
}
.cart-total-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: linear-gradient(135deg, rgba(15,118,110,0.06), rgba(20,184,166,0.06));
    border-radius: 16px;
    border: 1px solid rgba(15,118,110,0.1);
}
.cart-checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    color: #fff;
    font-weight: 800;
    border-radius: 14px;
    transition: all 0.3s ease;
    font-size: 15px;
    box-shadow: 0 4px 14px rgba(15,118,110,0.25);
}
.cart-checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15,118,110,0.35);
}
.cart-whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    font-weight: 800;
    border-radius: 14px;
    transition: all 0.3s ease;
    font-size: 15px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(37,211,102,0.25);
}
.cart-whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37,211,102,0.35);
}
.cart-trust-badges {
    display: flex;
    justify-content: space-around;
    gap: 8px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}
.cart-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #94a3b8;
    font-weight: 600;
    text-align: center;
}
.cart-trust-item i {
    font-size: 18px;
    color: #0f766e;
}

/* ============================================
   MEGA MENU - Categorias y Marcas Profesional
   ============================================ */
.mega-menu-panel {
    transform: translateY(-10px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.group:hover .mega-menu-panel {
    transform: translateY(0);
}
.mega-menu-header {
    background: linear-gradient(135deg, #f8fafc 0%, #f0fdfa 100%);
    border-bottom: 1px solid #e2e8f0;
}
.mega-menu-scroll::-webkit-scrollbar {
    width: 6px;
}
.mega-menu-scroll::-webkit-scrollbar-track {
    background: transparent;
}
.mega-menu-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    border-radius: 3px;
}

/* Mega Menu Category Cards */
.mega-menu-cat-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px;
    transition: all 0.25s ease;
}
.mega-menu-cat-card:hover {
    border-color: #0f766e;
    box-shadow: 0 4px 16px rgba(15, 118, 110, 0.12);
    transform: translateY(-2px);
}
.mega-menu-cat-link {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.mega-menu-cat-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(15,118,110,0.1), rgba(20,184,166,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.25s ease;
    color: #0f766e;
    font-size: 15px;
}
.mega-menu-cat-card:hover .mega-menu-cat-icon {
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    color: white;
    box-shadow: 0 4px 12px rgba(15,118,110,0.3);
}
.mega-menu-cat-name {
    font-weight: 700;
    font-size: 13px;
    color: #134e4a;
    display: block;
    transition: color 0.2s;
}
.mega-menu-cat-card:hover .mega-menu-cat-name {
    color: #0f766e;
}
.mega-menu-sublist {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0;
    border-top: 1px solid #e2e8f0;
    padding-top: 8px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}
.mega-menu-sublist li a {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    border-radius: 9px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    transition: all 0.18s ease;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
    line-height: 1.25;
}
.mega-menu-sublist li a i { flex-shrink: 0; }
.mega-menu-sublist li a:hover {
    color: #fff;
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    border-color: transparent;
    box-shadow: 0 4px 10px rgba(15,118,110,.25);
}
.mega-menu-sublist li a:hover i { color: #fff !important; }

/* Subcategorias en menu movil - grandes y legibles */
.mob-cat-subs { overflow: hidden; }
.mob-cat-subs a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e8edf3;
    margin-bottom: 5px;
    box-shadow: 0 1px 3px rgba(15,23,42,.04);
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
    line-height: 1.3;
    box-sizing: border-box;
}
.mob-cat-subs a i { flex-shrink: 0; }
.mob-cat-subs a:hover, .mob-cat-subs a:active {
    color: #fff !important;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)) !important;
    border-color: transparent;
}
.mob-cat-subs a:hover i, .mob-cat-subs a:active i { color: #fff !important; }
.mob-cat-subs a i { font-size: 11px !important; }

/* Mega Menu Brand Cards */
.mega-menu-brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 14px 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    transition: all 0.25s ease;
}
.mega-menu-brand-card:hover {
    border-color: #d4af37;
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    box-shadow: 0 4px 16px rgba(212,175,55,0.15);
    transform: translateY(-2px);
}
.mega-menu-brand-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(15,118,110,0.08), rgba(20,184,166,0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f766e;
    transition: all 0.25s ease;
}
.mega-menu-brand-card:hover .mega-menu-brand-icon {
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    color: white;
    box-shadow: 0 4px 12px rgba(15,118,110,0.25);
}
.mega-menu-brand-name {
    font-weight: 700;
    font-size: 12px;
    color: #134e4a;
    transition: color 0.2s;
}
.mega-menu-brand-card:hover .mega-menu-brand-name {
    color: #0f766e;
}

/* ============================================
   SCROLLBAR HIDE (barra de tags horizontales)
   ============================================ */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* ============================================
   BARRA DE NEGOCIOS / LOCALES - PROFESIONAL
   ============================================ */
.locales-bar {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 2px solid #e2e8f0;
}
.locales-bar-inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.locales-label {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.locales-label i {
    color: #0f766e;
    font-size: 14px;
}
/* Botones de navegacion (flechas) - GRANDES Y VISIBLES */
.locale-nav-btn {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    background: #ffffff;
    color: #0f766e;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    z-index: 5;
}
.locale-nav-btn:hover {
    background: #0f766e;
    color: #ffffff;
    border-color: #0f766e;
    box-shadow: 0 4px 16px rgba(15,118,110,0.35);
    transform: scale(1.08);
}
.locale-nav-btn:active {
    transform: scale(0.95);
}
.locale-nav-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
    transform: none;
}
/* Contenedor scrollable - CON SCROLL VISIBLE Y DRAG */
.locales-scroll {
    flex: 1 1 0;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: auto;
    scrollbar-color: #0f766e #e2e8f0;
    padding: 6px 4px;
    cursor: grab;
    user-select: none;
}
.locales-scroll.dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}
.locales-scroll::-webkit-scrollbar {
    height: 10px;
    -webkit-appearance: none;
}
.locales-scroll::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 10px;
    margin: 0 4px;
}
.locales-scroll::-webkit-scrollbar-thumb {
    background: #0f766e;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    min-width: 40px;
}
.locales-scroll::-webkit-scrollbar-thumb:hover {
    background: #14b8a6;
}
/* Contenedor flex de los tags */
.locales-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: max-content;
    padding: 2px 4px;
}
/* Cada tag/boton de negocio */
.locale-tag {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.25s ease;
    background: #f1f5f9;
    color: #475569;
    border: 2px solid transparent;
    cursor: pointer;
}
.locale-tag:hover {
    background: #e2e8f0;
    color: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.locale-tag.active {
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    color: #ffffff;
    border-color: #0f766e;
    box-shadow: 0 4px 14px rgba(15,118,110,0.35);
}
.locale-tag.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(15,118,110,0.45);
}
.locale-tag i {
    font-size: 12px;
}
.locale-tag .locale-name {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* Contador de negocios */
.locale-count {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 50px;
    white-space: nowrap;
}
/* Indicador de que hay mas contenido (sombra en los bordes) */
.locales-scroll-wrapper {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
}
.locales-scroll-wrapper::before,
.locales-scroll-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 24px;
    z-index: 4;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.locales-scroll-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #f8fafc, transparent);
}
.locales-scroll-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #f8fafc, transparent);
}
.locales-scroll-wrapper.has-left::before {
    opacity: 1;
}
.locales-scroll-wrapper.has-right::after {
    opacity: 1;
}

/* Boton VER TODOS */
.locale-more-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 3px 10px rgba(15,118,110,0.25);
}
.locale-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(15,118,110,0.4);
}
.locale-more-btn i {
    font-size: 12px;
}
.locale-more-count {
    background: rgba(255,255,255,0.25);
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
}

/* ====== PANEL FLOTANTE "VER TODOS" ====== */
.locales-panel-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(2px);
}
.locales-panel-overlay.open {
    opacity: 1;
    visibility: visible;
}
.locales-panel {
    position: fixed;
    top: 0; right: 0;
    width: 480px;
    max-width: 100%;
    height: 100vh;
    background: #ffffff;
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 40px rgba(0,0,0,0.15);
}
.locales-panel.open {
    transform: translateX(0);
}
.locales-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: linear-gradient(135deg, #0f766e, #134e4a);
    color: #ffffff;
}
.locales-panel-header h3 {
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}
.locales-panel-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.15);
    color: #ffffff;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.locales-panel-close:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}
.locales-panel-search {
    position: relative;
    padding: 16px 24px;
    border-bottom: 1px solid #e2e8f0;
}
.locales-panel-search > i {
    position: absolute;
    left: 36px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 14px;
}
.locales-panel-search input {
    width: 100%;
    padding: 12px 40px 12px 40px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}
.locales-panel-search input:focus {
    border-color: #0f766e;
}
.locales-panel-clear {
    position: absolute;
    right: 36px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 16px;
    padding: 4px;
}
.locales-panel-clear:hover {
    color: #ef4444;
}
.locales-panel-info {
    padding: 8px 24px;
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}
.locales-panel-grid {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    align-content: start;
}
.locale-panel-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    color: #334155;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}
.locale-panel-card:hover {
    background: #f1f5f9;
    border-color: #0f766e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.locale-panel-card.active {
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    color: #ffffff;
    border-color: #0f766e;
}
.locale-panel-card i {
    font-size: 16px;
    flex-shrink: 0;
}
.locale-panel-card span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.locales-panel-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    gap: 12px;
}
.locales-panel-empty i {
    font-size: 48px;
    opacity: 0.5;
}
.locales-panel-empty p {
    font-size: 16px;
    margin: 0;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .locales-bar-inner {
        padding: 8px 10px;
        gap: 6px;
    }
    .locales-label {
        font-size: 11px;
    }
    .locales-label span {
        display: none;
    }
    .locale-tag {
        padding: 7px 12px;
        font-size: 12px;
        gap: 5px;
    }
    .locale-tag .locale-name {
        max-width: 120px;
    }
    .locale-nav-btn {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }
    .locale-count {
        display: none;
    }
    .locale-more-btn {
        padding: 7px 10px;
        font-size: 11px;
        gap: 4px;
    }
    .locale-more-btn span:nth-child(2) {
        display: none;
    }
    .locales-panel {
        width: 100%;
    }
    .locales-panel-grid {
        grid-template-columns: 1fr;
        padding: 12px 16px;
    }
}
@media (max-width: 480px) {
    .locales-label {
        display: none;
    }
    .locale-tag {
        padding: 6px 10px;
        font-size: 11px;
    }
    .locale-tag .locale-name {
        max-width: 100px;
    }
    .locale-nav-btn {
        width: 30px;
        height: 30px;
        font-size: 11px;
    }
}

/* ============================================
   FILTROS SIDEBAR DINAMICO - RESPONSIVE
   ============================================ */
.filter-section {
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
}
.filter-section:last-child {
    border-bottom: none;
}
.filter-section h4 {
    font-size: 13px;
    font-weight: 700;
    color: #134e4a;
    margin-bottom: 10px;
}

/* Barra de tags de locales - scroll suave en movil */
@media (max-width: 640px) {
    .filter-sidebar.open > div {
        max-height: calc(100vh - 64px) !important;
        border-radius: 0 !important;
    }
    /* Grid de productos: 2 columnas en movil */
    #resultados {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
    }
    /* Tarjetas de producto compactas en movil */
    .product-card .product-image {
        height: 130px !important;
    }
    .product-card .p-3,
    .product-card .p-4 {
        padding: 10px !important;
    }
    .product-card h3 {
        font-size: 12px !important;
    }
    .quick-actions {
        opacity: 1 !important;
        position: relative !important;
        background: none !important;
        padding: 6px 0 0 0 !important;
        flex-direction: row !important;
    }
    .quick-actions button,
    .quick-actions a {
        font-size: 11px !important;
        padding: 5px 8px !important;
    }
}

/* Movil muy pequeño: 1 columna */
@media (max-width: 380px) {
    #resultados {
        grid-template-columns: 1fr !important;
    }
    .product-card .product-image {
        height: 160px !important;
    }
}

/* Tablet: 3 columnas */
@media (min-width: 641px) and (max-width: 1023px) {
    #resultados {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.75rem !important;
    }
}

/* Sidebar sticky con scroll en desktop */
@media (min-width: 1024px) {
    .filter-sidebar > div {
        max-height: calc(100vh - 6rem);
        overflow-y: auto;
    }
}

/* Tags de locales: scroll horizontal fluido en touch */
.overflow-x-auto {
    scroll-snap-type: x proximity;
}
.overflow-x-auto > a {
    scroll-snap-align: start;
}

/* ============================================
   RESPONSIVIDAD MOVIL - CORRECCIONES
   ============================================ */
@media (max-width: 640px) {
    .marquee-item { width: 160px !important; }
    .marquee-container::before, .marquee-container::after { width: 40px !important; }
    .marquee-brand-item { width: 150px !important; padding: 16px 12px !important; }
    .marquee-brands::before, .marquee-brands::after { width: 50px !important; }
    .marquee-brand-item .brand-icon-wrapper { width: 48px !important; height: 48px !important; }
    .marquee-brand-item .brand-icon-wrapper i { font-size: 22px !important; }
    .hero-arrow { width: 36px !important; height: 36px !important; }
    .hero-arrow.prev { left: 8px !important; }
    .hero-arrow.next { right: 8px !important; }
    .discount-badge { width: 40px !important; height: 40px !important; }
    .category-card { padding: 16px 8px !important; }
    .category-card .category-icon-box { width: 48px !important; height: 48px !important; }
    .category-card .category-icon-box i { font-size: 20px !important; }
    .negocio-icon-box { width: 40px !important; height: 40px !important; }
    .negocio-icon-box i { font-size: 18px !important; }
    .why-card { padding: 24px 16px !important; }
    .why-card .why-icon-box { width: 60px !important; height: 60px !important; }
    .why-card .why-icon-box i { font-size: 24px !important; }
    .why-card .why-number { font-size: 36px !important; right: 12px !important; }
    .why-card .why-title { font-size: 16px !important; }
    .testimonial-card { padding: 20px 16px !important; }
    .testimonial-card::before { font-size: 28px !important; right: 16px !important; }
    .testimonial-card .testimonial-avatar { width: 44px !important; height: 44px !important; font-size: 16px !important; }
    .benefit-card { padding: 16px 12px !important; }
    .benefit-card .benefit-icon-box i { font-size: 20px !important; }
    .benefit-card .benefit-number { font-size: 28px !important; right: 8px !important; }
    .detail-tab { padding: 12px 16px !important; font-size: 12px !important; }
    .detail-tab-content { padding: 16px !important; }
    .detail-gallery-main .zoom-icon { width: 32px !important; height: 32px !important; right: 8px !important; }
    .detail-badge { left: 8px !important; font-size: 10px !important; }
    .detail-qty-btn { width: 40px !important; height: 40px !important; font-size: 18px !important; }
    .detail-qty-input { width: 50px !important; height: 40px !important; }
    .detail-color-swatch { width: 44px !important; height: 44px !important; }
    .color-swatch-detail { width: 36px !important; height: 36px !important; }
    .detail-related-card .related-arrow { width: 30px !important; height: 30px !important; right: 8px !important; }
    .detail-related-card .related-price { font-size: 18px !important; }
    .detail-benefit-item { padding: 16px 12px !important; }
    .detail-color-card { padding: 16px !important; }
    .prod-card .prod-price { font-size: 18px !important; }
    .prod-card .prod-badge { left: 6px !important; padding: 3px 8px !important; }
    .prod-card .prod-cat-tag { right: 6px !important; padding: 3px 8px !important; }
    .prod-card .prod-color-dot { width: 12px !important; height: 12px !important; }
    .prod-price { font-size: 18px !important; }
    .prod-color-dot { width: 12px !important; height: 12px !important; }
    .cart-remove-btn { width: 36px !important; height: 36px !important; }
    .cart-summary-header { padding: 16px !important; }
    .cart-summary-header i { font-size: 18px !important; }
    .cart-summary-row { padding: 16px !important; }
}

@media (max-width: 380px) {
    .marquee-item { width: 140px !important; }
    .marquee-brand-item { width: 130px !important; padding: 12px 8px !important; }
}

/* Mega menu oculto en tablet/movil */
@media (max-width: 1023px) {
    .mega-menu-panel { display: none !important; }
}

/* ===== PULIDO PREMIUM TABS DETALLE PRODUCTO ===== */
.detail-spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    max-width: 100% !important;
}
@media (max-width: 640px) { .detail-spec-grid { grid-template-columns: 1fr; } }
.detail-spec-grid .detail-spec-row {
    border: 1.5px solid #eef2f7;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff, #f8fafc);
    padding: 14px 16px;
    border-bottom: 1.5px solid #eef2f7;
    margin-bottom: 0;
    box-shadow: 0 1px 3px rgba(15,23,42,.03);
}
.detail-spec-grid .detail-spec-row:hover {
    border-color: var(--color-primary, #0f766e);
    box-shadow: 0 8px 20px rgba(15,118,110,.12);
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(15,118,110,.05), rgba(20,184,166,.03));
}
.detail-spec-grid .detail-spec-row dt i {
    width: 36px; height: 36px; border-radius: 10px;
    background: linear-gradient(135deg, var(--color-primary, #0f766e), var(--color-secondary, #14b8a6));
    color: #fff; display: inline-flex; align-items: center; justify-content: center;
    font-size: 13px; margin-right: 4px; flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(15,118,110,.25);
}
.detail-spec-grid .detail-spec-row dd {
    font-size: 13px; text-align: right; line-height: 1.3;
}
.detail-color-swatch {
    width: 68px; height: 68px;
    border: 4px solid #fff;
    box-shadow: 0 0 0 2px #e2e8f0, 0 8px 16px rgba(0,0,0,.18), inset 0 0 0 4px rgba(255,255,255,.25);
}
.detail-color-card:hover .detail-color-swatch {
    box-shadow: 0 0 0 2px var(--color-primary, #0f766e), 0 10px 22px rgba(15,118,110,.3), inset 0 0 0 4px rgba(255,255,255,.25);
}
.detail-review-card {
    border-radius: 18px;
    background: linear-gradient(135deg, #fff, #fafcfd);
    box-shadow: 0 2px 6px rgba(15,23,42,.04);
}
.detail-review-card:hover {
    border-color: var(--color-primary, #0f766e);
    box-shadow: 0 10px 24px rgba(15,118,110,.12);
    transform: translateY(-2px);
}
.detail-review-avatar {
    width: 48px; height: 48px; font-size: 18px;
    box-shadow: 0 4px 10px rgba(15,118,110,.3);
}
@media (max-width: 640px) { .detail-color-swatch { width: 56px !important; height: 56px !important; } }
