/* -------------------------------------------------------------
 * Uvik Design System & Global CSS
 * ------------------------------------------------------------- */
:root {
    --primary-color: #024059;      /* Dark Blue Uvik */
    --accent-color: #28BC9B;       /* Teal Accent */
    --accent-hover: #009FFE;       /* Cyan Hover */
    --border-color: #E2E8F0;       /* Cool Grey Border */
    --text-main: #1E293B;          /* Dark Slate Text */
    --text-muted: #64748B;         /* Slate Muted Text */
    --bg-light: #F8FAFC;           /* Ultra light slate background */
    --bg-white: #FFFFFF;           /* Pure white */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-premium: 0 10px 25px -5px rgba(42, 17, 75, 0.08), 0 8px 10px -6px rgba(42, 17, 75, 0.08);
    --shadow-dropdown: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.uvik-main-content { min-height: 70vh; }

/* ===== HEADER AMAZON HYBRID PRO ===== */
.uvik-header-amazon {
    background-color: var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-bottom: 2px solid var(--accent-color);
}

.uvik-header-top {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 999;
}

.uvik-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.uvik-logo-img {
    height: 48px;
    max-height: 48px;
    width: auto;
    object-fit: contain;
}
.uvik-logo-text {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -1px;
}
.uvik-logo-text span { color: var(--accent-color); }

.uvik-location-block {
    flex-shrink: 0;
    position: relative;
    z-index: 9999;
}
.city-selector-amazon {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 8px 14px;
    cursor: pointer;
    color: #fff;
    font-size: 13.5px;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 9999;
}
.city-selector-amazon:hover { background: rgba(255, 255, 255, 0.2); border-color: var(--accent-color); }
.location-current { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.current-city { max-width: 140px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.city-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff !important;
    background: #ffffff !important;
    min-width: 230px;
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3) !important;
    border: 1px solid var(--border-color) !important;
    padding: 8px 0;
    display: none;
    flex-direction: column;
    z-index: 999999 !important;
    overflow: hidden;
}
.city-dropdown-menu.open { display: flex !important; }
.city-dropdown-menu a {
    padding: 10px 16px;
    font-size: 13.5px;
    color: var(--text-main) !important;
    font-weight: 500;
    background-color: #ffffff !important;
    background: #ffffff !important;
    transition: var(--transition-smooth);
    text-decoration: none !important;
    display: block !important;
}
.city-dropdown-menu a:hover, .city-dropdown-menu a.active {
    background: var(--bg-light) !important;
    background-color: var(--bg-light) !important;
    color: var(--primary-color) !important;
    font-weight: 700 !important;
}

.uvik-search-block { flex-grow: 1; max-width: 580px; }
.search-form-amazon {
    display: flex;
    width: 100%;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.search-field-amazon {
    flex-grow: 1;
    border: none;
    padding: 12px 16px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
}
.search-submit-amazon {
    background: var(--accent-color);
    border: none;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.search-submit-amazon:hover { background: var(--accent-hover); }

.uvik-actions-block {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}
.btn-local-blue {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}
.btn-local-blue:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); }
.action-link { color: #fff; display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13.5px; }

.mobile-nav-toggle { display: none; background: none; border: none; flex-direction: column; gap: 4px; cursor: pointer; }
.mobile-nav-toggle span { width: 22px; height: 2px; background: #fff; border-radius: 2px; }

.uvik-header-bottom {
    background: rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 10;
}
.uvik-bottom-nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}
.uvik-bottom-nav::-webkit-scrollbar { display: none; }
.nav-item {
    color: rgba(255, 255, 255, 0.85);
    padding: 12px 0;
    font-size: 13.5px;
    font-weight: 500;
    transition: var(--transition-smooth);
}
.nav-item:hover { color: var(--accent-color); }
.nav-item-highlight {
    color: var(--accent-color);
    font-weight: 700;
    padding: 12px 0;
    font-size: 13.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Mega Dropdown */
.uvik-categories-mega-wrapper { position: relative; }
.uvik-mega-dropdown-panel {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    width: 320px;
    border-radius: 12px;
    box-shadow: var(--shadow-dropdown);
    border: 1px solid var(--border-color);
    padding: 12px;
    display: none;
    z-index: 10000;
}
.uvik-categories-mega-wrapper:hover .uvik-mega-dropdown-panel { display: block; }
.mega-panel-grid { display: flex; flex-direction: column; gap: 4px; }
.mega-cat-link {
    padding: 8px 12px;
    font-size: 13px;
    color: var(--text-main);
    border-radius: 6px;
    font-weight: 500;
    transition: var(--transition-smooth);
}
.mega-cat-link:hover { background: var(--bg-light); color: var(--primary-color); font-weight: 700; }
.mega-all-link { background: var(--primary-color); color: #fff; text-align: center; font-weight: 700; margin-top: 6px; }

/* ===== HERO SECTION ===== */
.uvik-hero {
    background: linear-gradient(to right, rgba(16, 6, 28, 0.75) 0%, rgba(16, 6, 28, 0.3) 100%),
                url('../../img/hero-reposteria.png') center/cover no-repeat;
    border-radius: 24px;
    padding: 70px 50px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    color: #ffffff;
}
.uvik-hero-container { max-width: 900px; position: relative; z-index: 2; }
.badge-online {
    background: rgba(40, 188, 155, 0.9);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}
.uvik-hero h1 {
    font-size: 54px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -1px;
    color: #ffffff;
}
.uvik-hero h1 span { color: var(--accent-color); }
.hero-subtitle {
    font-size: 19px;
    color: rgba(255, 255, 255, 0.92);
    max-width: 750px;
    margin-bottom: 30px;
    line-height: 1.55;
}
.hero-cta-group { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-hero-primary {
    background: var(--accent-color);
    color: #ffffff;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 16.5px;
    box-shadow: 0 6px 20px rgba(40, 188, 155, 0.45);
    transition: var(--transition-smooth);
}
.btn-hero-primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-3px); box-shadow: 0 10px 25px rgba(40, 188, 155, 0.55); }
.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center; gap: 8px;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 16.5px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
}
.btn-hero-secondary:hover { background: rgba(255, 255, 255, 0.25); transform: translateY(-3px); }

/* ===== LAYOUT & SECTIONS ===== */
.uvik-home-main { max-width: 1400px; margin: 0 auto; padding: 40px 24px; }
.uvik-section { margin-bottom: 60px; }

.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 24px; }
.section-center-header { text-align: center; max-width: 600px; margin: 0 auto 36px auto; }
.section-tagline { font-size: 11px; font-weight: 800; letter-spacing: 1px; color: var(--accent-hover); display: block; margin-bottom: 6px; }
.section-header h2, .section-center-header h2 { font-size: 28px; font-weight: 800; color: var(--primary-color); }
.section-center-header .section-tagline { font-size: 13px; }
.section-center-header h2 { font-size: 32px; }
.see-all-btn { color: var(--accent-hover); font-weight: 700; font-size: 14px; }

/* ===== GRIDS & CARDS ===== */
.uvik-grid { display: grid; gap: 24px; }
.products-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.homepage-products-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.product-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-premium); }
.product-badge-flash {
    position: absolute; top: 12px; left: 12px; background: #EF4444; color: #fff;
    font-size: 10px; font-weight: 800; padding: 4px 8px; border-radius: 6px; z-index: 10;
}
.product-img-wrapper { position: relative; padding-top: 100%; background: var(--bg-light); overflow: hidden; border-bottom: 1px solid var(--border-color); }
.product-img-wrapper img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: var(--transition-smooth); }
.product-card:hover .product-img-wrapper img { transform: scale(1.05); }

.product-info { padding: 18px; display: flex; flex-direction: column; flex-grow: 1; }
.product-store-tag { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; margin-bottom: 6px; }
.product-info h3 { font-size: 15px; font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
.product-price-wrapper { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.old-price { font-size: 12px; text-decoration: line-through; color: var(--text-muted); }
.current-price { font-size: 18px; font-weight: 800; color: var(--primary-color); }
.product-card-actions { display: flex; gap: 8px; margin-top: auto; }
.btn-product-detail {
    flex: 1; background: var(--bg-light); border: 1px solid var(--border-color); color: var(--text-main);
    text-align: center; padding: 10px 0; border-radius: 8px; font-size: 12px; font-weight: 600;
}
.btn-product-whatsapp {
    flex: 1.2; background: var(--accent-color); color: #ffffff; text-align: center;
    padding: 10px 0; border-radius: 8px; font-size: 13.5px; font-weight: 800; box-shadow: 0 4px 10px rgba(40,188,155,0.25);
    border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 4px;
}
.btn-product-whatsapp:hover { background: var(--accent-hover); color: #ffffff; transform: translateY(-1px); }

.tienda-main .homepage-products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tienda-main .homepage-products-grid .product-info { padding: 14px; }
.tienda-main .homepage-products-grid .product-price-wrapper { flex-wrap: wrap; gap: 4px 7px; }
.tienda-main .homepage-products-grid .current-price { font-size: 16px; }
.tienda-main .homepage-products-grid .product-card-actions { gap: 6px; }
.tienda-main .homepage-products-grid .btn-product-detail,
.tienda-main .homepage-products-grid .btn-product-whatsapp {
    min-width: 0;
    white-space: nowrap;
    box-sizing: border-box;
}
.tienda-main .homepage-products-grid .btn-product-detail {
    flex: 0.9;
    padding: 10px 4px;
    font-size: 11px;
}
.tienda-main .homepage-products-grid .btn-product-whatsapp {
    flex: 1.1;
    padding: 10px 4px;
    font-size: 12px;
}

/* ===== CATEGORY CARDS ===== */
.uvik-category-grid { 
    display: grid; 
    grid-template-columns: repeat(5, 1fr); 
    gap: 16px; 
}
@media (max-width: 1024px) { .uvik-category-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .uvik-category-grid { grid-template-columns: repeat(2, 1fr); } }

.category-card {
    background: #ffffff; 
    border: 1px solid #ebebeb; 
    border-radius: 8px;
    display: flex; 
    align-items: center; 
    padding: 0; 
    overflow: hidden; 
    transition: var(--transition-smooth);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    text-decoration: none;
}
.category-card:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 6px 16px rgba(0,0,0,0.1); 
    border-color: var(--accent-color); 
}
.cat-card-icon {
    width: 70px; 
    height: 70px; 
    background-color: #f5f5f5;
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-size: 28px; 
    flex-shrink: 0;
    border-right: 1px solid #ebebeb;
}
.emoji-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    line-height: 1;
}
.cat-card-info { 
    padding: 0 15px; 
    flex-grow: 1;
    display: flex;
    align-items: center;
}
.category-card h3 { 
    font-size: 14px; 
    font-weight: 600; 
    color: #333333;
    line-height: 1.3;
    margin: 0;
}

/* ===== STORE CARDS ===== */
.stores-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.homepage-stores-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.store-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: var(--transition-smooth);
}
.store-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-premium);
    border-color: var(--accent-color);
}

.store-card-cover {
    position: relative;
    width: 100%;
    height: 160px;
    background: var(--bg-light);
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}
.store-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-smooth);
}
.store-card:hover .store-cover-img {
    transform: scale(1.06);
}
.store-cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: var(--text-muted);
    font-weight: 700;
    font-size: 14px;
}
.store-location-badge-floating {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(2, 64, 89, 0.88);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.store-card-content {
    padding: 18px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.store-header { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.store-icon-badge {
    font-size: 24px; background-color: rgba(2, 64, 89, 0.08); width: 44px; height: 44px;
    border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    overflow: hidden;
}
.store-header h3 { font-size: 16px; font-weight: 700; margin: 0 0 2px 0; }
.store-category-tag { font-size: 12px; color: var(--accent-hover); font-weight: 700; }
.store-location-badge { font-size: 12px; color: var(--text-muted); font-weight: 600; }
.store-body { flex-grow: 1; margin-bottom: 16px; font-size: 13.5px; color: var(--text-muted); line-height: 1.45; }
.store-footer { margin-top: auto; }
.btn-store-visit {
    display: block; background: var(--bg-light); border: 1px solid var(--border-color);
    color: var(--primary-color); text-align: center; padding: 10px 0; border-radius: 10px;
    font-size: 13px; font-weight: 700; transition: var(--transition-smooth);
}
.btn-store-visit:hover { background: var(--primary-color); color: #ffffff; border-color: var(--primary-color); }

/* ===== FOOTER ===== */
.uvik-footer {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    border-top: 4px solid var(--accent-color) !important;
    padding: 60px 0 0 0 !important;
    margin-top: 60px !important;
}
.uvik-footer-container {
    max-width: 1400px !important; margin: 0 auto !important; padding: 0 24px 50px 24px !important;
    display: grid !important; grid-template-columns: 1.8fr 1fr 1fr 1fr !important; gap: 40px !important;
}
.uvik-logo-footer-img { height: 55px !important; max-height: 55px !important; width: auto !important; margin-bottom: 20px !important; }
.brand-desc { color: rgba(255, 255, 255, 0.85) !important; font-size: 15.5px !important; line-height: 1.65 !important; margin-bottom: 22px !important; }
.brand-badge { background: rgba(255, 255, 255, 0.08) !important; border: 1px solid rgba(255, 255, 255, 0.15) !important; color: var(--accent-color) !important; font-size: 12px !important; font-weight: 700 !important; padding: 6px 12px !important; border-radius: 6px !important; display: inline-block !important; }

.uvik-footer-col h4 { color: #fff !important; font-size: 15px !important; font-weight: 700 !important; margin-bottom: 16px !important; position: relative !important; padding-bottom: 8px !important; }
.uvik-footer-col h4::after { content: '' !important; position: absolute !important; bottom: 0 !important; left: 0 !important; width: 32px !important; height: 2px !important; background-color: var(--accent-color) !important; }
.footer-links { list-style: none !important; display: flex !important; flex-direction: column !important; gap: 10px !important; }
.footer-links a { color: rgba(255, 255, 255, 0.75) !important; font-size: 13.5px !important; transition: var(--transition-smooth) !important; }
.footer-links a:hover { color: var(--accent-color) !important; }

.uvik-footer-bottom { background-color: rgba(0, 0, 0, 0.25) !important; padding: 20px 0 !important; border-top: 1px solid rgba(255, 255, 255, 0.08) !important; }
.uvik-footer-bottom-container { max-width: 1400px !important; margin: 0 auto !important; padding: 0 24px !important; display: flex !important; justify-content: space-between !important; align-items: center !important; flex-wrap: wrap !important; gap: 12px !important; color: rgba(255, 255, 255, 0.6) !important; font-size: 12.5px !important; }

/* ===== AI PROMO BANNER ===== */
.uvik-ai-promo {
    margin: 40px 0;
}
.ai-promo-container {
    background: linear-gradient(135deg, #023047 0%, #011f2e 100%);
    border: 2px solid var(--accent-color);
    border-radius: 20px;
    padding: 36px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: 0 10px 30px rgba(2, 48, 71, 0.25);
    position: relative;
    overflow: hidden;
}
.ai-promo-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(40, 188, 155, 0.14) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}
.ai-promo-text {
    flex: 1;
    max-width: 680px;
    position: relative;
    z-index: 2;
}
.ai-badge {
    background: rgba(40, 188, 155, 0.15);
    color: var(--accent-color);
    border: 1px solid rgba(40, 188, 155, 0.3);
    font-size: 11px;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 12px;
}
.ai-promo-text h2 {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px 0;
    line-height: 1.25;
}
.ai-promo-text p {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.5;
}
.btn-ai-chat {
    background: var(--accent-color);
    color: #023047;
    font-size: 14.5px;
    font-weight: 800;
    padding: 13px 28px;
    border-radius: 30px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(40, 188, 155, 0.35);
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
}
.btn-ai-chat:hover {
    background: #32d6b1;
    color: #011d2b;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(40, 188, 155, 0.55);
}

@media (max-width: 768px) {
    .ai-promo-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 26px;
        gap: 20px;
    }
    .btn-ai-chat {
        align-self: flex-start;
    }
}

/* ===== FLOATING AI CHATBOT WIDGET ===== */
.uvik-ai-widget-container {
    position: fixed !important;
    bottom: 0 !important;
    right: 0 !important;
    z-index: 999999 !important;
    pointer-events: none !important;
}

.uvik-ai-launcher-wrapper {
    position: fixed !important;
    bottom: 25px !important;
    right: 25px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    z-index: 999998 !important;
    pointer-events: auto !important;
}

.uvik-ai-launcher-tag {
    background: #ffffff !important;
    color: #023047 !important;
    font-weight: 700 !important;
    font-size: 13.5px !important;
    padding: 8px 16px !important;
    border-radius: 30px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12) !important;
    border: 1.5px solid rgba(2, 48, 71, 0.08) !important;
    white-space: nowrap !important;
    position: relative !important;
    line-height: 1.4 !important;
}

.uvik-ai-launcher-tag::after {
    content: '' !important;
    position: absolute !important;
    right: -7px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    border-width: 6px 0 6px 8px !important;
    border-style: solid !important;
    border-color: transparent transparent transparent #ffffff !important;
}

.uvik-ai-launcher {
    position: relative !important;
    width: 60px !important;
    height: 60px !important;
    background: radial-gradient(circle at 35% 35%, #082433 0%, #03131c 100%) !important;
    background-color: #03131c !important;
    border: 3.5px solid #28BC9B !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 28px !important;
    cursor: pointer !important;
    box-shadow: 0 0 0 6px rgba(40, 188, 155, 0.22), 0 10px 25px rgba(0, 0, 0, 0.4) !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    color: #ffffff !important;
    user-select: none !important;
}

.uvik-ai-launcher:hover {
    transform: scale(1.08) !important;
    box-shadow: 0 0 0 8px rgba(40, 188, 155, 0.35), 0 14px 35px rgba(0, 0, 0, 0.6) !important;
}

.uvik-ai-launcher.active-open {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    border-color: #f87171 !important;
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.25), 0 10px 25px rgba(220, 38, 38, 0.4) !important;
    font-size: 22px !important;
    font-weight: 800 !important;
}

.uvik-ai-drawer {
    position: fixed !important;
    bottom: 100px !important;
    right: 25px !important;
    width: 380px !important;
    max-width: calc(100vw - 32px) !important;
    height: 520px !important;
    max-height: calc(100vh - 130px) !important;
    background: #ffffff !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 50px rgba(2, 48, 71, 0.28) !important;
    border: 1px solid rgba(40, 188, 155, 0.25) !important;
    display: none !important;
    flex-direction: column !important;
    z-index: 999999 !important;
    overflow: hidden !important;
    pointer-events: auto !important;
}

.uvik-ai-drawer.open {
    display: flex !important;
}

.ai-drawer-header {
    background: #024059 !important;
    color: #ffffff !important;
    padding: 16px 20px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-radius: 20px 20px 0 0 !important;
}

.ai-drawer-title {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.ai-avatar {
    font-size: 24px !important;
    width: 40px !important;
    height: 40px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.ai-drawer-title h4 {
    font-size: 16px !important;
    font-weight: 800 !important;
    margin: 0 !important;
    color: #ffffff !important;
}

.ai-status {
    font-size: 11.5px !important;
    color: #28BC9B !important;
    font-weight: 600 !important;
}

.ai-drawer-close {
    background: rgba(255, 255, 255, 0.15) !important;
    border: none !important;
    color: #ffffff !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    font-size: 20px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.2s !important;
}

.ai-drawer-close:hover {
    background: rgba(255, 255, 255, 0.3) !important;
}

.ai-drawer-messages {
    flex-grow: 1 !important;
    padding: 18px !important;
    overflow-y: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    background: #f8fafc !important;
}

.ai-message {
    padding: 12px 16px !important;
    border-radius: 16px !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    max-width: 85% !important;
    word-break: break-word !important;
}

.ai-message.system, .ai-message.bot {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #1e293b !important;
    align-self: flex-start !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

.ai-message.user {
    background: #024059 !important;
    color: #ffffff !important;
    align-self: flex-end !important;
}

.ai-drawer-footer {
    padding: 14px 16px !important;
    background: #ffffff !important;
    border-top: 1px solid #f1f5f9 !important;
}

#ai-chat-input-form {
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
}

#ai-chat-input {
    flex-grow: 1 !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 30px !important;
    padding: 10px 18px !important;
    font-size: 14px !important;
    outline: none !important;
    font-family: inherit !important;
    transition: border-color 0.2s !important;
}

#ai-chat-input:focus {
    border-color: #024059 !important;
}

.ai-chat-send {
    background: #024059 !important;
    color: #ffffff !important;
    border: none !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    transition: background 0.2s, transform 0.2s !important;
}

.ai-chat-send:hover {
    background: #28BC9B !important;
    transform: scale(1.05) !important;
}
.ai-chat-send { background: none; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }

/* ===== TIENDA & VENDOR DASHBOARD ===== */
.tienda-layout { display: grid; grid-template-columns: 240px 1fr; gap: 30px; }
.filter-card { background: #fff; border: 1px solid var(--border-color); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.filter-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 10px; color: var(--primary-color); }
.filter-link { padding: 8px 12px; border-radius: 8px; font-size: 13.5px; color: var(--text-main); font-weight: 500; }
.filter-link:hover, .filter-link.active { background: var(--bg-light); color: var(--primary-color); font-weight: 700; }

.tienda-header-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.tienda-header-bar h1 { font-size: 24px; font-weight: 800; color: var(--primary-color); }
.tienda-count { font-size: 13px; color: var(--text-muted); font-weight: 600; }

.uvik-pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 40px; }
.pag-btn { padding: 8px 14px; border: 1px solid var(--border-color); border-radius: 8px; font-size: 13px; font-weight: 700; background: #fff; }
.pag-btn.active { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }

.dashboard-banner-hero { background: var(--primary-color); color: #fff; padding: 40px 24px; border-bottom: 4px solid var(--accent-color); text-align: center; }
.merchant-tagline { background: rgba(40,188,155,0.15); color: var(--accent-color); font-size: 11px; font-weight: 800; padding: 4px 12px; border-radius: 4px; display: inline-block; margin-bottom: 10px; }
.dashboard-container { max-width: 1200px; margin: 0 auto; padding: 40px 24px; }
.dashboard-alert { padding: 14px 20px; border-radius: 12px; margin-bottom: 24px; font-weight: 600; font-size: 14px; }
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-danger { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

.auth-box-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.auth-card, .wizard-card { background: #fff; border: 1px solid var(--border-color); border-radius: 20px; padding: 32px; box-shadow: var(--shadow-premium); }
.auth-card h2, .wizard-card h2 { font-size: 22px; font-weight: 800; color: var(--primary-color); margin-bottom: 6px; }
.auth-card p, .wizard-card p { color: var(--text-muted); font-size: 13.5px; margin-bottom: 24px; }
.dashboard-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 13px; font-weight: 700; color: var(--text-main); }
.form-row input, .form-row textarea, .dashboard-select { padding: 10px 14px; border: 1px solid var(--border-color); border-radius: 10px; font-size: 13.5px; font-family: inherit; outline: none; }
.form-row input:focus, .form-row textarea:focus, .dashboard-select:focus { border-color: var(--primary-color); }
.file-help { font-size: 11px; color: var(--text-muted); }
.btn-auth-submit { background: var(--primary-color); color: #fff; padding: 12px 0; border: none; border-radius: 10px; font-weight: 700; font-size: 14px; cursor: pointer; }
.btn-accent-submit { background: var(--accent-color); color: var(--primary-color); }

.wizard-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }

.vendor-tabs { display: flex; gap: 12px; border-bottom: 2px solid var(--border-color); margin-bottom: 30px; flex-wrap: wrap; }
.tab-btn { padding: 12px 20px; border: none; background: none; font-size: 14px; font-weight: 700; color: var(--text-muted); cursor: pointer; border-bottom: 3px solid transparent; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.tab-btn.active { color: var(--primary-color); border-bottom-color: var(--primary-color); }
.tab-btn-danger { color: #EF4444; margin-left: auto; }

.store-preview-banner { display: flex; align-items: center; gap: 20px; background: var(--bg-light); border: 1px solid var(--border-color); border-radius: 16px; padding: 20px; margin-bottom: 30px; }
.store-logo-preview { width: 80px; height: 80px; border-radius: 16px; object-fit: cover; border: 2px solid #fff; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }

.products-dashboard-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.btn-add-product { background: var(--accent-color); color: var(--primary-color); border: none; padding: 10px 18px; border-radius: 8px; font-weight: 700; cursor: pointer; }
.product-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
#addProductForm { background: var(--bg-light); border: 1px solid var(--border-color); border-radius: 16px; padding: 24px; margin-bottom: 30px; }
.products-admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 20px; }
.product-admin-card { background: #fff; border: 1px solid var(--border-color); border-radius: 12px; padding: 14px; display: flex; align-items: center; gap: 14px; }
.prod-admin-img { width: 60px; height: 60px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.prod-no-img { background: var(--bg-light); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.prod-admin-info { flex-grow: 1; display: flex; flex-direction: column; font-size: 13px; }
.prod-section-badge { font-size: 10px; color: var(--text-muted); background: var(--bg-light); padding: 2px 6px; border-radius: 4px; width: fit-content; margin-top: 4px; }
.btn-delete-prod { background: none; border: none; cursor: pointer; font-size: 18px; }

.sub-status-badge { display: inline-block; padding: 6px 16px; border-radius: 50px; font-size: 12px; font-weight: 800; margin: 12px 0; }
.sub-active { background: #d1fae5; color: #065f46; }
.sub-expired { background: #fee2e2; color: #991b1b; }
.plans-grid-sub { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 24px; }
.plan-sub-card { background: var(--bg-light); border: 1px solid var(--border-color); border-radius: 14px; padding: 20px; text-align: center; }

/* STORE PROFILE PUBLIC */
.store-profile-hero { display: flex; align-items: center; gap: 24px; background: var(--bg-light); border: 1px solid var(--border-color); border-radius: 20px; padding: 32px; margin-bottom: 24px; }
.store-profile-logo { width: 100px; height: 100px; border-radius: 20px; object-fit: cover; border: 3px solid #fff; box-shadow: var(--shadow-premium); }
.store-profile-desc { font-size: 15px; color: var(--text-main); line-height: 1.7; margin-bottom: 30px; }
.store-photos-row { display: flex; gap: 16px; margin-bottom: 40px; overflow-x: auto; }
.store-photo-thumb { height: 220px; border-radius: 16px; object-fit: cover; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .tienda-layout { grid-template-columns: 1fr; }
    .uvik-footer-container { grid-template-columns: 1fr 1fr !important; }
    .wizard-grid { grid-template-columns: 1fr; }
    .homepage-products-grid,
    .homepage-stores-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .uvik-header-top { padding: 10px 16px; }
    .uvik-location-block { display: none; }
    .mobile-nav-toggle { display: flex; }
    .uvik-actions-block .btn-local-blue { display: none; }
    
    /* Center Hero */
    .uvik-hero { text-align: center; padding: 50px 20px; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .uvik-hero h1 { font-size: 32px; }
    .hero-cta-group { justify-content: center; flex-direction: column; width: 100%; gap: 14px; }
    .hero-cta-group a { flex: 1; width: 100%; text-align: center; justify-content: center; }

    .homepage-products-grid,
    .homepage-stores-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    
    /* Center Footer */
    .uvik-footer { text-align: center; }
    .uvik-footer-container { grid-template-columns: 1fr !important; gap: 30px; }
    .uvik-footer-brand { display: flex; flex-direction: column; align-items: center; text-align: center; }
    .brand-badge { margin: 0 auto; }

    /* Vendor Tabs Mobile Grid (2 Cols x 3 Rows) */
    .vendor-tabs {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        border-bottom: none !important;
        margin-bottom: 24px !important;
    }

    .vendor-tabs .tab-btn {
        width: 100% !important;
        margin: 0 !important;
        padding: 12px 8px !important;
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
        font-size: 12.5px !important;
        font-weight: 700 !important;
        background: #f8fafc !important;
        border: 1.5px solid #e2e8f0 !important;
        border-radius: 12px !important;
        box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
        box-sizing: border-box !important;
        display: flex !important;
        border-bottom: 1.5px solid #e2e8f0 !important;
        transition: all 0.2s ease !important;
        white-space: normal !important;
        line-height: 1.25 !important;
    }
    .vendor-tabs .tab-btn.active {
        background: #024059 !important;
        color: #ffffff !important;
        border-color: #024059 !important;
        box-shadow: 0 4px 12px rgba(2, 64, 89, 0.25) !important;
    }
    .vendor-tabs .tab-btn-danger {
        color: #ef4444 !important;
        background: #fef2f2 !important;
        border-color: #fca5a5 !important;
        margin-left: 0 !important;
    }
}

@media (min-width: 769px) and (max-width: 900px) {
    .homepage-products-grid,
    .homepage-stores-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .tienda-main .homepage-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    .tienda-main .homepage-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 380px) {
    .homepage-products-grid,
    .homepage-stores-grid { grid-template-columns: minmax(0, 1fr); }
    .tienda-main .homepage-products-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ===== MOBILE DRAWER MENU ===== */
.uvik-mobile-menu {
    position: fixed;
    top: 0;
    left: -320px;
    width: 280px;
    height: 100vh;
    background: #ffffff;
    z-index: 100000;
    box-shadow: 4px 0 25px rgba(0,0,0,0.2);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}
.uvik-mobile-menu.active {
    transform: translateX(320px);
}
.mobile-menu-header {
    background: var(--primary-color);
    color: #fff;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.mobile-logo {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
}
.mobile-logo span {
    color: var(--accent-color);
}
.mobile-close-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}
.mobile-menu-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.mobile-menu-body a {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    transition: var(--transition-smooth);
}
.mobile-menu-body a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}
.mobile-btn-local-virtual {
    background: var(--accent-color) !important;
    color: var(--primary-color) !important;
    font-weight: 800 !important;
    text-align: center;
}
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 99999;
}
.uvik-mobile-menu.active + .mobile-overlay {
    display: block;
}




/* ===== PRICING & CUSTOM CTA STYLES ===== */
.home-pricing-section { margin-bottom: 60px; }
.home-pricing-header { text-align: center; margin-bottom: 36px; }
.home-pricing-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 24px; 
    max-width: 1100px; 
    margin: 0 auto; 
}
@media (max-width: 900px) { .home-pricing-grid { grid-template-columns: 1fr; } }

.home-plan-mini {
    background: #ffffff; 
    border: 1px solid var(--border-color); 
    border-radius: 20px; 
    padding: 32px 24px; 
    text-align: center;
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    transition: var(--transition-smooth);
}
.home-plan-mini.featured { 
    border: 2px solid var(--accent-color); 
    box-shadow: var(--shadow-premium); 
    position: relative; 
}
.plan-badge-icon { font-size: 36px; margin-bottom: 12px; }
.plan-price-mini { font-size: 32px; font-weight: 800; color: var(--primary-color); margin: 10px 0 2px 0; }
.plan-period-mini { font-size: 12px; color: var(--text-muted); margin-bottom: 20px; }
.plan-link {
    width: 100%; 
    background: var(--primary-color); 
    color: #ffffff; 
    padding: 12px 0; 
    border-radius: 10px;
    font-weight: 700; 
    font-size: 14px; 
    margin-top: auto;
    text-decoration: none;
    display: block;
}
.home-plan-mini.featured .plan-link { background: var(--accent-color); color: var(--primary-color); }

/* ===== CTA CUSTOM DOMAIN BANNER ===== */
.home-custom-cta {
    background: linear-gradient(135deg, #090c21 0%, #151b47 100%);
    border-radius: 20px;
    padding: 36px 44px;
    margin-bottom: 60px;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.home-custom-cta-container { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    gap: 24px; 
    flex-wrap: wrap; 
}
.home-custom-cta h3 { font-size: 22px; font-weight: 800; color: #ffffff; margin-bottom: 6px; }
.home-custom-cta p { color: rgba(255,255,255,0.85); font-size: 14.5px; }
.cta-link {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 14px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(40,188,155,0.3);
    text-decoration: none;
    display: inline-block;
}
.cta-link:hover { background: var(--accent-hover); color: #ffffff; transform: translateY(-2px); }

/* ===== FIXES EXACTOS PEDIDOS POR EL USUARIO ===== */
.uvik-ai-promo {
    background: #023047 !important;
    border-radius: 24px !important;
    padding: 36px 45px !important;
    position: relative !important;
    overflow: hidden !important;
    margin-bottom: 40px !important;
    border-top: 4px solid #28BC9B !important;
    color: #ffffff !important;
    box-shadow: 0 10px 30px rgba(2, 48, 71, 0.2) !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 30px !important;
}
.ai-promo-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 30px !important;
    width: 100% !important;
}
.ai-badge {
    display: inline-block !important;
    background-color: rgba(40, 188, 155, 0.18) !important;
    color: #28BC9B !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    padding: 6px 14px !important;
    border-radius: 6px !important;
    margin-bottom: 12px !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
}
.ai-promo-text {
    flex: 1 1 auto !important;
    max-width: 650px !important;
    width: auto !important;
}
.ai-promo-text h2 {
    color: #ffffff !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.25 !important;
}
.ai-promo-text p {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 14.5px !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}
.btn-ai-chat {
    background-color: #28BC9B !important;
    color: #024059 !important;
    text-decoration: none !important;
    font-weight: 800 !important;
    font-size: 14.5px !important;
    padding: 14px 30px !important;
    border-radius: 50px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
    margin-left: auto !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 18px rgba(40, 188, 155, 0.45) !important;
    transition: all 0.25s ease !important;
}
.btn-ai-chat:hover {
    background-color: #32d6b1 !important;
    color: #011d2b !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 24px rgba(40, 188, 155, 0.65) !important;
}

/* Banner Mi Local Virtual con borde verde arriba y abajo (Imagen 3) */
.dashboard-banner-hero {
    background: #024059 !important;
    color: #ffffff !important;
    padding: 40px 24px !important;
    border-top: 4px solid #28BC9B !important;
    border-bottom: 4px solid #28BC9B !important;
    text-align: center !important;
    width: 100% !important;
    margin-bottom: 40px !important;
}

/* Custom Domain Banner */
.home-custom-cta {
    background: #0B0E28 !important;
    border-radius: 20px !important;
    padding: 36px 44px !important;
    margin-bottom: 60px !important;
    color: #ffffff !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}
.home-custom-cta h3 { color: #ffffff !important; font-size: 22px !important; font-weight: 800 !important; }
.home-custom-cta p { color: rgba(255, 255, 255, 0.85) !important; font-size: 14.5px !important; }
.cta-link {
    background: #28BC9B !important;
    color: #024059 !important;
    padding: 12px 28px !important;
    border-radius: 50px !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    display: inline-block !important;
    box-shadow: 0 4px 15px rgba(40,188,155,0.4) !important;
}

/* ===== HEADER CENTERING & PERFECT BALANCE ===== */
.uvik-header-amazon {
    background-color: var(--primary-color) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    border-bottom: 2px solid var(--accent-color) !important;
    width: 100% !important;
}

.uvik-header-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 24px !important;
    gap: 20px !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
    z-index: 100 !important;
}

.uvik-logo-block { flex-shrink: 0; }
.uvik-location-block { flex-shrink: 0; position: relative !important; z-index: 999 !important; }

.uvik-search-block {
    flex: 1 1 auto !important;
    max-width: 650px !important;
    margin: 0 auto !important;
}

.uvik-actions-block {
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
}

.uvik-header-bottom {
    background: rgba(0, 0, 0, 0.25) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    width: 100% !important;
    position: relative !important;
    z-index: 1 !important;
}

.uvik-bottom-nav {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 6px 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
}
.uvik-bottom-nav::-webkit-scrollbar { display: none !important; }

/* ===== FULL RESPONSIVE MEDIA QUERIES ===== */
@media (max-width: 992px) {
    .uvik-header-top {
        padding: 10px 16px !important;
        gap: 12px !important;
        flex-wrap: wrap !important;
    }
    .uvik-search-block {
        order: 3 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 6px 0 0 0 !important;
    }
    .uvik-actions-block {
        gap: 10px !important;
    }
    .text-hide { display: none !important; }
    .mobile-nav-toggle { display: flex !important; }
    .btn-local-blue { padding: 8px 12px !important; font-size: 12px !important; }
    .uvik-header-bottom { display: none !important; }

    /* Footer Mobile */
    .uvik-footer-container {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        text-align: center !important;
    }
    .uvik-footer-col h4::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    .uvik-footer-bottom-container {
        flex-direction: column !important;
        text-align: center !important;
    }

    /* Banners Mobile */
    .home-custom-cta-container {
        flex-direction: column !important;
        text-align: center !important;
    }
}

@media (max-width: 480px) {
    .uvik-logo-img { height: 34px !important; }
    .current-city { max-width: 90px !important; font-size: 12px !important; }
    .city-selector-amazon { padding: 6px 8px !important; }
}

/* ===== LÍNEA VERDE SUPERIOR (border-top: 4px solid #28BC9B) EN TODOS LOS BANNERS Y HEROS ===== */
.uvik-hero,
.uvik-ai-promo,
.dashboard-banner-hero,
.home-custom-cta,
.store-profile-hero,
.page-header-banner,
.shop-header-banner {
    border-top: 4px solid #28BC9B !important;
}

/* ===== EXACT INTERNAL PAGE HERO BANNER CARD ===== */
.uvik-page-hero-banner {
    background: #024059 !important;
    color: #ffffff !important;
    border-radius: 20px !important;
    padding: 40px 45px !important;
    border-top: 4px solid #28BC9B !important;
    border-bottom: 4px solid #28BC9B !important;
    margin-bottom: 35px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12) !important;
    position: relative !important;
    overflow: hidden !important;
}

.locales-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../../img/hero-ropa.png") center 52% / cover no-repeat;
    opacity: 0.14;
    pointer-events: none;
}

.locales-hero > * {
    position: relative;
    z-index: 1;
}

.tienda-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../../uploads/stores/delicia_cover.png") center 52% / cover no-repeat;
    opacity: 0.2;
    pointer-events: none;
}

.tienda-hero > * {
    position: relative;
    z-index: 1;
}

.tienda-hero > * {
    max-width: 68%;
}

.uvik-page-hero-badge {
    display: inline-block !important;
    background-color: rgba(40, 188, 155, 0.18) !important;
    color: #28BC9B !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 6px 14px !important;
    border-radius: 6px !important;
    margin-bottom: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.uvik-page-hero-banner h1 {
    color: #ffffff !important;
    font-size: 32px !important;
    font-weight: 800 !important;
    margin: 0 0 10px 0 !important;
    letter-spacing: -0.5px !important;
}

.uvik-page-hero-banner p {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 14.5px !important;
    margin: 0 !important;
    max-width: 750px !important;
    line-height: 1.6 !important;
}

@media (max-width: 768px) {
    .uvik-page-hero-banner {
        padding: 28px 20px !important;
        border-radius: 16px !important;
        text-align: center !important;
    }
    .uvik-page-hero-banner h1 { font-size: 24px !important; }
    .uvik-page-hero-banner p { font-size: 13.5px !important; }
    .tienda-hero::before { opacity: 0.12; }
    .tienda-hero > * { max-width: 100%; }
}

/* ===== CATEGORIES MEGA DROPDOWN ENHANCEMENT ===== */
.uvik-categories-mega-wrapper { position: relative; }
.uvik-mega-dropdown-panel {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff !important;
    width: 310px !important;
    max-height: 440px !important;
    overflow-y: auto !important;
    border-radius: 14px !important;
    box-shadow: 0 12px 36px rgba(0,0,0,0.18) !important;
    border: 1px solid #e2e8f0 !important;
    padding: 10px !important;
    display: none;
    z-index: 10000;
}
.uvik-categories-mega-wrapper:hover .uvik-mega-dropdown-panel { display: block !important; }
.mega-panel-grid { display: flex; flex-direction: column; gap: 3px; }
.mega-cat-link {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 9px 12px !important;
    font-size: 13.5px !important;
    color: #1e293b !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
    transition: all 0.15s ease !important;
    text-decoration: none !important;
}
.cat-icon-emoji {
    font-size: 17px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 26px !important;
    height: 26px !important;
    background: #f8fafc;
    border-radius: 6px;
    flex-shrink: 0;
}
.mega-cat-link:hover {
    background: #f1f5f9 !important;
    color: #024059 !important;
    font-weight: 700 !important;
    transform: translateX(3px) !important;
}
.mega-cat-link:hover .cat-icon-emoji {
    background: #e2e8f0;
}
.mega-all-link {
    background: #024059 !important;
    color: #ffffff !important;
    text-align: center !important;
    font-weight: 700 !important;
    margin-top: 8px !important;
    justify-content: center !important;
    padding: 11px !important;
    border-radius: 8px !important;
}
.mega-all-link:hover {
    background: #28BC9B !important;
    transform: none !important;
}
.uvik-mega-dropdown-panel::-webkit-scrollbar {
    width: 6px;
}
.uvik-mega-dropdown-panel::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}
.uvik-mega-dropdown-panel::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.uvik-mega-dropdown-panel::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ===== CRITICAL FIX FOR CATEGORIES DROPDOWN HIDING/CLIPPING ===== */
.uvik-header, .uvik-header-amazon {
    position: sticky !important;
    top: 0;
    z-index: 99999 !important;
    overflow: visible !important;
}
.uvik-header-top {
    position: relative !important;
    z-index: 1000000 !important;
}
.uvik-header-bottom {
    position: relative !important;
    overflow: visible !important;
    z-index: 99999 !important;
}
.uvik-bottom-nav {
    position: relative !important;
    overflow: visible !important;
    z-index: 99999 !important;
}
.uvik-categories-mega-wrapper {
    position: relative !important;
    display: inline-block !important;
    z-index: 100000 !important;
}
.uvik-mega-dropdown-panel {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background: #ffffff !important;
    width: 320px !important;
    max-height: 480px !important;
    overflow-y: auto !important;
    border-radius: 14px !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22) !important;
    border: 1px solid #cbd5e1 !important;
    padding: 10px !important;
    display: none;
    z-index: 1000000 !important;
    margin-top: 0px !important;
}
/* Invisible hover bridge between button and panel to prevent closing on mouse move */
.uvik-mega-dropdown-panel::before {
    content: "" !important;
    position: absolute !important;
    top: -12px !important;
    left: 0 !important;
    right: 0 !important;
    height: 12px !important;
    background: transparent !important;
}
.uvik-categories-mega-wrapper:hover .uvik-mega-dropdown-panel,
.uvik-categories-mega-wrapper.active .uvik-mega-dropdown-panel {
    display: block !important;
}

/* =============================================================
 * STORE DETAIL PAGE (local.php)
 * Ported from: single-local_virtual.php (legacy astra-child)
 * ============================================================= */

.uvik-store-detail-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* Subscription expired warning banner (for owner) */
.sub-expired-banner {
    background: #fef2f2;
    border-bottom: 3px solid #f87171;
    padding: 14px 20px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 9999;
    font-size: 14px;
}
.sub-expired-banner a { color: #dc2626; font-weight: 700; margin-left: 8px; text-decoration: underline; }

/* Subscription gate — expired store visible to public */
.sub-gate-card {
    max-width: 600px;
    margin: 80px auto;
    padding: 48px 32px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    text-align: center;
}
.sub-gate-card .gate-emoji { font-size: 4rem; margin-bottom: 16px; }
.sub-gate-card h1 { font-size: 24px; color: #024059; margin-bottom: 12px; }
.sub-gate-card p { color: #64748b; font-size: 16px; line-height: 1.6; margin-bottom: 24px; }

/* Store Header Banner */
.store-detail-banner {
    background: linear-gradient(135deg, #024059 0%, #1e0c35 100%);
    border-radius: 24px;
    margin-top: 20px;
    margin-bottom: 40px;
    padding: 50px 40px;
    box-shadow: 0 10px 25px -5px rgba(42,17,75,0.08);
    border-bottom: 4px solid #28BC9B;
    position: relative;
    overflow: hidden;
}

.store-banner-overlay {
    position: absolute;
    top: 0; right: 0;
    width: 400px; height: 100%;
    background: radial-gradient(circle, rgba(40,188,155,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.store-banner-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.store-banner-logo {
    width: 90px;
    height: 90px;
    border-radius: 18px;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
    overflow: hidden;
}

.store-banner-logo img {
    width: 100%; height: 100%; object-fit: cover; border-radius: 16px;
}

.store-banner-info { flex: 1; }

.store-badge-live {
    display: inline-block;
    background: rgba(40,188,155,0.15);
    color: #28BC9B;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(40,188,155,0.3);
}

.store-banner-content h1 {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.store-meta-header {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.store-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.85);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.12);
}

.store-banner-rating {
    color: #fcd34d;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

.store-banner-actions {
    flex-shrink: 0;
    display: flex;
    gap: 12px;
    flex-direction: column;
    align-items: flex-end;
}

.btn-store-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #28BC9B;
    color: #024059 !important;
    text-decoration: none !important;
    padding: 12px 22px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(40,188,155,0.3);
    white-space: nowrap;
}

.btn-store-whatsapp:hover {
    background: #009FFE;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,159,254,0.35);
    color: #fff !important;
}

/* Two-column store layout */
.store-detail-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 40px;
    padding-bottom: 60px;
    align-items: flex-start;
}

/* Store sidebar */
.store-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.store-sidebar-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(42,17,75,0.04);
}

.store-sidebar-card h3 {
    font-size: 17px;
    font-weight: 800;
    color: #024059;
    margin: 0 0 16px 0;
}

.store-description {
    font-size: 14px;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 20px;
}

.store-contact-rows {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 14px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.contact-icon { font-size: 18px; flex-shrink: 0; margin-top: 2px; }

.contact-row strong {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.contact-row span { font-size: 14px; font-weight: 600; color: #024059; }

/* WhatsApp direct button in sidebar */
.btn-sidebar-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #28BC9B;
    color: #024059 !important;
    text-decoration: none !important;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    width: 100%;
    margin-top: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(40,188,155,0.25);
}

.btn-sidebar-whatsapp:hover {
    background: #009FFE;
    color: #fff !important;
    transform: translateY(-2px);
}

/* Store vendor contact form */
.store-web-contact-form {
    background: #f4f5f8;
    padding: 18px;
    border-radius: 14px;
    margin-top: 16px;
}

.store-web-contact-form h4 {
    margin: 0 0 12px 0;
    font-size: 15px;
    color: #024059;
    font-weight: 700;
}

.store-web-contact-form input,
.store-web-contact-form textarea {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    padding: 10px 12px;
    margin-bottom: 10px;
    font-size: 13px;
    font-family: inherit;
    color: #024059;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.store-web-contact-form input:focus,
.store-web-contact-form textarea:focus {
    outline: none;
    border-color: #28BC9B;
    box-shadow: 0 0 0 3px rgba(40,188,155,0.15);
}

/* Photo gallery card */
.store-photos-card h3 { font-size: 16px; margin-bottom: 14px; }

.store-photos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.store-photo-item {
    border-radius: 10px;
    overflow: hidden;
    height: 110px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: relative;
    cursor: pointer;
}

.store-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.store-photo-item:hover img { transform: scale(1.05); }

.store-photo-label {
    position: absolute;
    bottom: 4px;
    left: 4px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 4px;
    backdrop-filter: blur(2px);
    pointer-events: none;
}

/* Maps card */
.store-maps-card h3 { font-size: 16px; margin-bottom: 12px; }

.btn-sidebar-maps {
    display: block;
    text-align: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #024059 !important;
    text-decoration: none !important;
    padding: 10px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    margin-top: 10px;
    transition: all 0.2s;
}

.btn-sidebar-maps:hover {
    background: #024059;
    color: #fff !important;
    border-color: #024059;
}

/* Products area */
.store-products-area { min-width: 0; }

.store-section-title {
    font-size: 24px;
    font-weight: 800;
    color: #024059;
    margin: 0 0 24px 0;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.store-products-count {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 50px;
}

/* Store custom sections (Recién Llegados, Más Vendidos, etc.) */
.store-custom-section { margin-top: 50px; }

.store-custom-section .store-section-title {
    color: #024059;
    font-size: 22px;
    font-weight: 800;
    text-align: left;
}

/* Reviews Section */
.store-reviews-section {
    margin-top: 40px;
    border-top: 1px solid #e2e8f0;
    padding-top: 40px;
}

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

.reviews-header h3 {
    font-size: 1.6rem;
    color: #024059;
    margin: 0;
    font-weight: 800;
}

.btn-write-review {
    background: #28BC9B;
    color: #fff !important;
    border: none;
    padding: 10px 24px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-write-review:hover {
    background: #009FFE;
    transform: translateY(-1px);
}

/* Review form container */
.review-form-container {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    display: none;
}

.review-form-container h4 {
    margin: 0 0 16px 0;
    color: #024059;
    font-weight: 800;
}

.review-form-container select,
.review-form-container input[type="text"],
.review-form-container textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    color: #024059;
    background: #fff;
    margin-bottom: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.review-form-container select:focus,
.review-form-container input:focus,
.review-form-container textarea:focus {
    outline: none;
    border-color: #28BC9B;
    box-shadow: 0 0 0 3px rgba(40,188,155,0.15);
}

.btn-submit-review {
    background: #28BC9B;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    width: 100%;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s;
}

.btn-submit-review:hover { background: #009FFE; transform: translateY(-1px); }

/* Individual review cards */
.store-reviews-list { display: flex; flex-direction: column; gap: 16px; }

.review-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.review-card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    align-items: center;
}

.review-author { font-weight: 700; color: #024059; }

.review-stars { color: #f59e0b; letter-spacing: 2px; }

.review-text { color: #475569; line-height: 1.6; font-size: 14.5px; margin: 0; }

.review-date { display: block; font-size: 12px; color: #94a3b8; margin-top: 12px; }

/* Empty state */
.store-empty-state {
    text-align: center;
    padding: 40px;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px dashed #cbd5e1;
    color: #64748b;
}

/* Responsive store layout */
@media (max-width: 1024px) {
    .store-detail-layout { grid-template-columns: 300px 1fr; gap: 30px; }
    .store-banner-content { flex-direction: column; align-items: flex-start; }
    .store-banner-actions { align-items: flex-start; flex-direction: row; }
}

@media (max-width: 768px) {
    .store-detail-banner { padding: 32px 24px; }
    .store-detail-layout { grid-template-columns: 1fr; }
    .store-sidebar { position: static; }
    .store-banner-content h1 { font-size: 24px; }
}

@media (max-width: 768px) {
    .uvik-home-main.store-detail-page {
        width: 100%;
        padding: 24px 12px;
    }

    .store-detail-page .store-detail-banner {
        margin: 8px 0 28px;
        padding: 28px 18px;
        border-radius: 18px;
    }

    .store-detail-page .store-banner-overlay {
        width: 100%;
    }

    .store-detail-page .store-banner-content {
        align-items: center;
        justify-content: center;
        gap: 16px;
        text-align: center;
    }

    .store-detail-page .store-banner-logo {
        margin: 0 auto;
    }

    .store-detail-page .store-banner-info {
        flex: 1 1 100%;
        min-width: 0;
        text-align: center;
    }

    .store-detail-page .store-banner-content h1 {
        text-align: center;
        overflow-wrap: anywhere;
    }

    .store-detail-page .store-banner-info > div[style*="display:flex"] {
        justify-content: center;
        flex-wrap: wrap;
    }

    .store-detail-page .store-meta-header {
        justify-content: center;
    }

    .store-detail-page .store-meta-pill {
        justify-content: center;
        max-width: 100%;
        text-align: center;
        overflow-wrap: anywhere;
    }

    .store-detail-page .store-banner-actions {
        width: 100%;
        align-items: center !important;
    }

    .store-detail-page .btn-store-whatsapp {
        width: 100%;
        justify-content: center;
        white-space: normal;
        text-align: center;
        box-sizing: border-box;
    }

    .store-detail-page .store-banner-actions > div {
        justify-content: center !important;
        flex-wrap: wrap;
    }

    .store-detail-page .store-detail-layout {
        width: 100%;
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .store-detail-page .store-sidebar,
    .store-detail-page .store-products-area {
        width: 100%;
        min-width: 0;
    }

    .store-detail-page .store-sidebar-card {
        padding: 20px;
    }

    .store-detail-page .store-sidebar-card h3,
    .store-detail-page .store-products-area > .store-section-title,
    .store-detail-page .store-custom-section .store-section-title {
        text-align: center;
        justify-content: center;
        flex-wrap: wrap;
    }

    .store-detail-page .store-description {
        text-align: center;
        overflow-wrap: anywhere;
    }

    .store-detail-page .map-iframe-wrapper {
        width: 100%;
        box-sizing: border-box;
    }

    .store-detail-page .btn-sidebar-maps {
        display: flex;
        justify-content: center;
        text-align: center;
    }

    .store-detail-page .store-report-link {
        justify-content: center !important;
    }

    .store-detail-page .products-grid {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
    }

    .store-detail-page .products-grid > .product-card {
        width: 100%;
        max-width: 420px;
        min-width: 0;
    }

    .store-detail-page .reviews-header {
        justify-content: center;
        text-align: center;
    }

    .store-detail-page .reviews-header h3 {
        width: 100%;
        text-align: center;
    }

    .store-detail-page .review-form-container,
    .store-detail-page .review-card {
        padding: 18px;
    }

    .store-detail-page .review-form-container form > div {
        flex-direction: column;
    }

    .store-detail-page .review-form-container form > div > * {
        width: 100%;
        min-width: 0 !important;
        box-sizing: border-box;
    }
}

/* =============================================================
 * PHOTO POPUP MODAL
 * ============================================================= */

.uvik-photo-popup-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(15,7,28,0.78);
    backdrop-filter: blur(6px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: uvikFadeIn 0.25s ease-out forwards;
}

.uvik-photo-popup-container {
    width: 500px;
    height: 500px;
    max-width: 92vw;
    max-height: 92vw;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.45);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: uvikScaleUp 0.25s cubic-bezier(0.16,1,0.3,1) forwards;
}

.uvik-photo-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: #024059;
    color: #fff;
    flex-shrink: 0;
}

.uvik-photo-popup-title {
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
}

.uvik-photo-popup-close {
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    width: 32px; height: 32px;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
}

.uvik-photo-popup-close:hover { background: #28BC9B; color: #024059; transform: scale(1.1); }

.uvik-photo-popup-body {
    flex: 1;
    background: #0f071c;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.uvik-photo-popup-body img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes uvikFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes uvikScaleUp { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }

/* =============================================================
 * STANDARD PAGE HERO BANNER (contacto, planes, static pages)
 * ============================================================= */

.standard-page-header-banner {
    position: relative;
    background: linear-gradient(135deg, #024059 0%, #1e0c35 100%);
    border-radius: 24px;
    margin-top: 20px;
    margin-bottom: 40px;
    padding: 50px 40px;
    box-shadow: 0 10px 25px -5px rgba(42,17,75,0.08);
    border-bottom: 4px solid #28BC9B;
    overflow: hidden;
}

.standard-page-banner-overlay {
    position: absolute;
    top: 0; right: 0;
    width: 400px; height: 100%;
    background: radial-gradient(circle, rgba(40,188,155,0.12) 0%, transparent 70%);
}

.standard-page-banner-content { position: relative; z-index: 5; max-width: 700px; }

.standard-page-tagline {
    display: inline-block;
    background: rgba(40,188,155,0.15);
    color: #28BC9B;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid rgba(40,188,155,0.2);
}

.standard-page-banner-content h1 {
    color: #fff;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 14px 0;
    letter-spacing: -1px;
}

.standard-page-banner-content p {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* =============================================================
 * CONTACT PAGE (contacto.php)
 * ============================================================= */

.uvik-contact-page-main { background: #F8F9FD; padding-bottom: 80px; }

.uvik-contact-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

.contact-grid-container {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 30px;
    align-items: start;
}

.contact-left-column, .contact-right-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-channels-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-channel-card {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    border: 1.5px solid rgba(42,17,75,0.06);
    box-shadow: 0 4px 20px rgba(42,17,75,0.03);
    transition: all 0.3s ease;
}

.contact-channel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(42,17,75,0.07);
    border-color: rgba(40,188,155,0.3);
}

.channel-icon { font-size: 32px; margin-bottom: 20px; }

.contact-channel-card h3 {
    color: #024059 !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    margin-bottom: 12px !important;
}

.contact-channel-card p { color: #64748B; font-size: 14px; line-height: 1.6; margin-bottom: 20px; }

.channel-links { display: flex; flex-direction: column; gap: 12px; }

.channel-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none !important;
    transition: var(--transition-smooth, all 0.3s ease);
    border: 1px solid transparent;
}

.channel-link.email { background: #F1F4F9; color: #4B5563 !important; }
.channel-link.email:hover { background: #E2E8F0; color: #024059 !important; }
.channel-link.whatsapp { background: rgba(40,188,155,0.08); color: rgb(2,64,89) !important; border-color: rgba(40,188,155,0.2); }
.channel-link.whatsapp:hover { background: rgba(40,188,155,0.15); color: #28BC9B !important; border-color: #28BC9B; }
.channel-link span { font-size: 16px; }

/* Contact form card */
.uvik-form-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    border: 1.5px solid rgba(42,17,75,0.06);
    box-shadow: 0 4px 20px rgba(42,17,75,0.03);
}

.uvik-form-card h2 {
    color: #024059 !important;
    font-size: 26px !important;
    font-weight: 800 !important;
    margin-bottom: 8px !important;
}

.form-instructions { color: #64748B; font-size: 15px; margin-bottom: 30px; }

.uvik-custom-contact-form { display: flex; flex-direction: column; gap: 20px; }

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

.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-group label { font-size: 13.5px; font-weight: 700; color: #374151; }
.form-group label .required { color: #EF4444; }

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #D1D5DB;
    font-size: 14.5px;
    color: #024059;
    background: #FAFAFA;
    transition: all 0.2s ease;
    font-weight: 500;
    font-family: inherit;
}

.form-group select {
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #D1D5DB;
    font-size: 14.5px;
    color: #024059;
    background: #FAFAFA;
    transition: all 0.2s ease;
    font-weight: 500;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #28BC9B;
    box-shadow: 0 0 0 3px rgba(40,188,155,0.15);
    background: #fff;
}

.contact-submit-btn {
    align-self: flex-start;
    background: #28BC9B !important;
    color: #024059 !important;
    border: none !important;
    padding: 14px 32px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 12px rgba(40,188,155,0.25) !important;
    font-family: inherit !important;
}

.contact-submit-btn:hover {
    background: #009FFE !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(40,188,155,0.35) !important;
}

/* Alerts */
.contact-success-alert {
    background: rgba(40,188,155,0.08);
    border: 1.5px solid rgba(40,188,155,0.3);
    padding: 24px;
    border-radius: 12px;
    display: flex;
    gap: 16px;
    color: #1E293B;
}

.contact-success-alert h3 { color: rgb(2,64,89); font-size: 17px; font-weight: 800; margin: 0 0 6px; }
.contact-success-alert p { color: #475569; font-size: 14px; line-height: 1.6; margin: 0; }

.success-icon {
    width: 28px; height: 28px;
    background: #28BC9B; color: #024059;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 14px; flex-shrink: 0;
}

.contact-error-alert {
    background: #FEF2F2;
    border: 1px solid #FCA5A5;
    color: #991B1B;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    display: flex; align-items: center; gap: 10px;
}

/* Right column info cards */
.contact-info-card {
    background: #fff;
    border-radius: 16px;
    border: 1.5px solid rgba(42,17,75,0.06);
    box-shadow: 0 4px 20px rgba(42,17,75,0.03);
    overflow: hidden;
}

.schedules-card, .local-commercial-contact-bg {
    background-color: #024059 !important;
    background-image: linear-gradient(135deg, #024059 0%, #1e0c35 100%) !important;
    border: 1px solid rgba(255,255,255,0.08);
    position: relative;
    padding: 35px;
    color: #fff;
}

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

.card-tagline {
    font-size: 11px; font-weight: 800; letter-spacing: 1.5px;
    color: #28BC9B; display: block; margin-bottom: 12px;
    text-transform: uppercase;
}

.schedules-card h2 { font-size: 24px; font-weight: 800; margin-bottom: 24px; color: #fff !important; }

.schedule-rows { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }

.schedule-item {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding-bottom: 10px;
}
.schedule-item:last-child { border-bottom: none; padding-bottom: 0; }
.schedule-item strong { font-size: 14px; color: #28BC9B !important; }
.schedule-item span { font-size: 15px; font-weight: 500; color: #fff !important; }

.schedule-footer {
    background: rgba(255,255,255,0.08);
    padding: 16px;
    border-radius: 10px;
    border-left: 3px solid #28BC9B;
}

.schedule-footer strong { font-size: 13.5px; display: block; margin-bottom: 4px; color: #fff !important; }
.schedule-footer p { font-size: 13px; margin: 0; opacity: 0.9; color: #fff !important; }

.map-card { padding: 30px; }
.map-card h3 { color: #024059 !important; font-size: 18px !important; font-weight: 800 !important; margin-bottom: 8px !important; }
.map-desc { color: #64748B; font-size: 13.5px; line-height: 1.6; margin-bottom: 20px; }
.map-iframe-wrapper { position: relative; border: 1px solid rgba(42,17,75,0.1); border-radius: 10px; overflow: hidden; line-height: 0; }

/* Register CTA card */
.register-cta-card {
    padding: 40px;
    background: linear-gradient(135deg, #024059 0%, #1c0b33 100%) !important;
    border: none;
    text-align: center;
    color: #fff;
    border-radius: 20px;
}

.cta-emoji { font-size: 40px; margin-bottom: 16px; }
.register-cta-card h3 { color: #fff !important; font-size: 24px !important; font-weight: 800 !important; margin-bottom: 10px !important; }
.register-cta-card p { color: rgba(255,255,255,0.8); font-size: 15px; line-height: 1.6; margin-bottom: 24px; }

.cta-register-link {
    display: inline-block;
    background: #28BC9B !important;
    color: #024059 !important;
    padding: 14px 34px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 14.5px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(40,188,155,0.2);
}

.cta-register-link:hover {
    background: #009FFE !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40,188,155,0.35);
}

/* Contact responsive */
@media (max-width: 991px) { .contact-grid-container { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
    .contact-channels-grid { grid-template-columns: 1fr; }
    .form-row-two { grid-template-columns: 1fr; }
    .uvik-form-card { padding: 24px; }
    .contact-submit-btn { width: 100% !important; text-align: center !important; }
}

/* Banner Afiliados (contacto/index) — centrado en móvil */
@media (max-width: 768px) {
    .affiliate-promo-inner { justify-content: center !important; }
    .affiliate-text-col { text-align: center; min-width: 0 !important; }
    .affiliate-text-col p { margin-left: auto !important; margin-right: auto !important; }
    .affiliate-stats-col { align-items: center !important; width: 100%; }
    .affiliate-stats-inner { justify-content: center !important; }
    .affiliate-buttons { justify-content: center !important; }
}

/* =============================================================
 * PLANS PAGE (planes.php)
 * ============================================================= */

.uvik-plans-main { max-width: 1300px; margin: 0 auto; padding: 0 24px; }

/* Hero */
.plans-hero {
    background: linear-gradient(135deg, #024059 0%, #1a0a35 50%, #0f0520 100%);
    padding: 80px 24px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 1100px;
    margin: 30px auto;
    border-radius: 24px;
    border-bottom: 6px solid #28BC9B;
}

.plans-hero::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at 30% 70%, rgba(40,188,155,0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(40,188,155,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.plans-hero-container { max-width: 700px; margin: 0 auto; position: relative; z-index: 1; }

.plans-badge {
    background: rgba(40,188,155,0.15);
    color: #28BC9B;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
    border: 1px solid rgba(40,188,155,0.25);
}

.plans-hero h1 { font-size: 2.8rem; font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 16px; }
.plans-hero h1 span {
    background: linear-gradient(135deg, #28BC9B, #a3e635);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.plans-hero p { font-size: 1.1rem; color: rgba(255,255,255,0.7); line-height: 1.6; max-width: 550px; margin: 0 auto; }

/* Pricing Cards */
.plans-cards-section { padding: 60px 24px 40px; background: #f8fafc; }

.plans-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch;
}

.plan-card {
    background: #fff;
    border-radius: 24px;
    padding: 36px 28px 32px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
}

.plan-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.12); }

.plan-card-featured {
    border-color: #28BC9B;
    transform: scale(1.04);
    box-shadow: 0 8px 32px rgba(40,188,155,0.18);
}
.plan-card-featured:hover { transform: scale(1.04) translateY(-6px); box-shadow: 0 16px 48px rgba(40,188,155,0.25); }

.plan-card-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #024059, #3d1a6e);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 20px;
    border-radius: 50px;
    letter-spacing: 0.8px;
    white-space: nowrap;
}

.plan-badge-popular { background: linear-gradient(135deg, #28BC9B, #65a30d) !important; color: #fff !important; }
.plan-badge-savings { background: linear-gradient(135deg, #f59e0b, #d97706) !important; color: #fff !important; }

.plan-card-icon { font-size: 3rem; margin: 18px 0 10px; }
.plan-card h3 { font-size: 1.4rem; font-weight: 700; color: #024059; margin-bottom: 16px; }

.plan-card-price { margin-bottom: 8px; }
.price-amount { font-size: 3rem; font-weight: 800; color: #024059; line-height: 1; }
.price-period { display: block; font-size: 0.9rem; color: #64748b; margin-top: 4px; }

.plan-savings-tag {
    background: #fef3c7; color: #92400e;
    font-size: 12px; font-weight: 600;
    padding: 4px 12px; border-radius: 8px;
    display: inline-block; margin-bottom: 16px;
}

.plan-features { list-style: none; padding: 0; margin: 20px 0 24px; text-align: left; flex: 1; }
.plan-features li { padding: 7px 0; font-size: 14px; color: #475569; border-bottom: 1px solid #f1f5f9; }
.plan-features li:last-child { border-bottom: none; }

/* Plan buttons */
.plan-btn {
    display: block; width: 100%; padding: 14px 24px;
    border-radius: 14px; font-size: 15px; font-weight: 700;
    text-align: center; text-decoration: none;
    cursor: pointer; border: none; transition: all 0.25s ease;
    font-family: inherit;
}

.plan-btn-trial { background: linear-gradient(135deg, #024059, #3d1a6e); color: #fff; }
.plan-btn-trial:hover { background: linear-gradient(135deg, #3d1a6e, #024059); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(42,17,75,0.35); color: #fff; }

.plan-btn-monthly { background: linear-gradient(135deg, #28BC9B, #65a30d); color: #fff; }
.plan-btn-monthly:hover { background: linear-gradient(135deg, #65a30d, #28BC9B); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(40,188,155,0.35); color: #fff; }

.plan-btn-annual { background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff; }
.plan-btn-annual:hover { background: linear-gradient(135deg, #d97706, #f59e0b); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245,158,11,0.35); color: #fff; }

.plan-btn-disabled { background: #e2e8f0 !important; color: #94a3b8 !important; cursor: not-allowed !important; }

.plan-btn-custom { background: linear-gradient(135deg, #28BC9B, #65a30d); color: #fff; display: inline-block; padding: 16px 36px; font-size: 16px; }
.plan-btn-custom:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(40,188,155,0.35); color: #fff; }

.paypal-btn-container { min-height: 55px; margin-top: 4px; }

/* Unified Amazon Hybrid Gradient Banners (AI Promo & Custom Web CTA) */
.uvik-ai-promo,
.home-custom-cta-container,
.plans-custom-web-container {
    width: calc(100% - 40px);
    max-width: 1400px;
    margin: 48px auto;
    background: linear-gradient(135deg, #024059 0%, #032b3d 100%);
    border-top: 4px solid #28BC9B;
    border-left: 1px solid rgba(40, 188, 155, 0.2);
    border-right: 1px solid rgba(40, 188, 155, 0.2);
    border-bottom: 1px solid rgba(40, 188, 155, 0.2);
    border-radius: 20px;
    padding: 38px 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(2, 64, 89, 0.15);
    color: #ffffff;
}

.uvik-ai-promo::before,
.home-custom-cta-container::before,
.plans-custom-web-container::before {
    content: '';
    position: absolute;
    top: -50%; right: -15%;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(40, 188, 155, 0.14) 0%, transparent 70%);
    pointer-events: none;
}

.home-custom-cta-container,
.plans-custom-web-container {
    background: linear-gradient(135deg, rgba(2, 64, 89, 0.65) 0%, rgba(3, 43, 61, 0.70) 100%), url('../images/custom_web_bg.png') center/cover no-repeat !important;
}

.home-custom-cta-container .custom-web-content,
.home-custom-cta-container .cta-link,
.plans-custom-web-container .custom-web-content,
.plans-custom-web-container .cta-link {
    position: relative;
    z-index: 2;
}

.ai-promo-text,
.custom-web-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.ai-badge,
.custom-web-badge {
    display: inline-block;
    background: rgba(40, 188, 155, 0.15);
    color: #28BC9B;
    font-size: 12.5px;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(40, 188, 155, 0.3);
}

.uvik-ai-promo h2,
.home-custom-cta-container h3,
.plans-custom-web-container h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.25;
    font-family: 'Outfit', sans-serif;
}

.uvik-ai-promo p,
.home-custom-cta-container p,
.plans-custom-web-container p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0;
    max-width: 700px;
}

.btn-ai-chat,
.home-custom-cta-container .cta-link,
.plans-custom-web-container .cta-link {
    background: #28BC9B;
    color: #024059;
    font-weight: 900;
    font-size: 18px;
    padding: 18px 38px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 8px 24px rgba(40, 188, 155, 0.45);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.btn-ai-chat:hover,
.home-custom-cta-container .cta-link:hover,
.plans-custom-web-container .cta-link:hover {
    background: #32d0ac;
    color: #024059;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 30px rgba(40, 188, 155, 0.6);
}

/* Plans FAQ */
.plans-faq-section { padding: 60px 24px 80px; background: #fff; max-width: 900px; margin: 0 auto; }
.plans-faq-section h2 { text-align: center; font-size: 1.8rem; font-weight: 700; color: #024059; margin-bottom: 32px; }

.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.faq-item { background: #f8fafc; padding: 24px; border-radius: 16px; border: 1px solid #e2e8f0; }
.faq-item h4 { font-size: 15px; font-weight: 700; color: #024059; margin-bottom: 8px; }
.faq-item p { font-size: 14px; color: #64748b; line-height: 1.6; margin: 0; }

/* Homepage pricing mini section */
.home-pricing-section { padding: 90px 24px 50px; background: linear-gradient(180deg, #f8fafc 0%, #fff 100%); }
.home-pricing-header { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.home-pricing-header .section-tagline { font-size: 14px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: #009FFE; display: inline-block; margin-bottom: 8px; }
.home-pricing-header h2 { font-size: 2.5rem; font-weight: 800; color: #024059; margin-bottom: 12px; font-family: 'Outfit', sans-serif; }
.home-pricing-header p { color: #64748b; font-size: 1.15rem; line-height: 1.6; margin: 0; }

.home-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1050px;
    margin: 0 auto;
}

.home-plan-mini {
    background: #fff; border-radius: 20px; padding: 36px 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-plan-mini:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); }
.home-plan-mini.featured { border: 2px solid #28BC9B; box-shadow: 0 6px 26px rgba(40,188,155,0.2); }
.home-plan-mini .plan-badge-icon { font-size: 2.8rem; margin-bottom: 14px; line-height: 1; }
.home-plan-mini h3, .home-plan-mini h4 { font-size: 1.35rem; font-weight: 800; color: #024059; margin-bottom: 10px; font-family: 'Outfit', sans-serif; }
.home-plan-mini .plan-price-mini { font-size: 2.4rem; font-weight: 800; color: #024059; margin-bottom: 4px; line-height: 1; }
.home-plan-mini .plan-period-mini { font-size: 0.95rem; font-weight: 600; color: #64748b; display: block; margin-bottom: 22px; }
.home-plan-mini .plan-link {
    display: inline-block; padding: 13px 28px;
    border-radius: 14px; font-size: 15px; font-weight: 800;
    text-decoration: none; color: #fff;
    background: #024059; transition: all 0.25s ease;
    width: 100%; box-sizing: border-box; margin-top: auto;
}
.home-plan-mini .plan-link:hover { background: #28BC9B; transform: translateY(-2px); color: #fff; box-shadow: 0 4px 16px rgba(40,188,155,0.3); }
.home-plan-mini .plan-link:hover { background: #28BC9B; transform: translateY(-1px); color: #fff; }

.home-pricing-action {
    display: grid;
    justify-items: center;
    gap: 22px;
    max-width: 1050px;
    margin: 0 auto;
    padding: 42px 24px;
    border: 1px solid #b9e7d9;
    border-radius: 18px;
    background: linear-gradient(120deg, #e5f7f1 0%, #f0faf6 55%, #e8f8f1 100%);
    text-align: center;
}

.home-pricing-action p {
    max-width: 620px;
    color: #475569;
    font-size: 17px;
    line-height: 1.6;
}

.home-pricing-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: min(100%, 440px);
    min-height: 64px;
    padding: 16px 28px;
    border-radius: 12px;
    background: #024059;
    box-shadow: 0 8px 22px rgba(2, 64, 89, 0.18);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    text-align: center;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.home-pricing-button:hover {
    transform: translateY(-2px);
    background: #28BC9B;
    box-shadow: 0 10px 24px rgba(40, 188, 155, 0.28);
    color: #024059;
}

@media (max-width: 600px) {
    .home-pricing-action {
        gap: 18px;
        padding: 30px 18px;
    }

    .home-pricing-button {
        width: 100%;
        padding: 15px 18px;
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .plans-hero h1 { font-size: 1.8rem; }
    .plans-cards-grid, .home-pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .plan-card-featured { transform: scale(1); }
    .plan-card-featured:hover { transform: translateY(-6px); }
    .uvik-ai-promo, .home-custom-cta-container, .plans-custom-web-container, .home-newsletter-container { flex-direction: column; text-align: center; padding: 32px 24px; }
    .uvik-ai-promo p, .home-custom-cta-container p, .plans-custom-web-container p, .home-newsletter-container p { max-width: 100%; margin: 0 auto; }
    .faq-grid { grid-template-columns: 1fr; }
}

/* =============================================================
   404 ERROR PAGE STYLES
   ============================================================= */
.uvik-404-page {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
}

.uvik-404-hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 40px;
    text-align: center;
}

.uvik-404-container {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.uvik-404-number-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.uvik-404-digit {
    font-size: clamp(80px, 14vw, 150px);
    font-weight: 900;
    color: #024059;
    line-height: 1;
    letter-spacing: -6px;
    opacity: 0.12;
}

.uvik-404-digit-0 {
    position: relative;
    width: clamp(70px, 12vw, 130px);
    height: clamp(70px, 12vw, 130px);
    border: 6px solid #28BC9B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(40, 188, 155, 0.06);
    flex-shrink: 0;
}

.uvik-404-magnifier {
    width: 48px;
    height: 48px;
}

.uvik-404-title {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 800;
    color: #024059;
    margin: 0 0 16px;
    line-height: 1.2;
    font-family: 'Outfit', sans-serif;
}

.uvik-404-subtitle {
    font-size: 16px;
    color: #64748B;
    line-height: 1.7;
    margin: 0 auto 36px;
    max-width: 440px;
}

.uvik-404-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.uvik-404-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 15px;
    font-family: 'Outfit', sans-serif;
    text-decoration: none;
    transition: all 0.25s ease;
}

.uvik-404-btn svg {
    flex-shrink: 0;
}

.uvik-404-btn-primary {
    background: #28BC9B;
    color: #024059;
    box-shadow: 0 4px 14px rgba(40, 188, 155, 0.3);
}

.uvik-404-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 188, 155, 0.4);
    color: #024059;
}

.uvik-404-btn-secondary {
    background: #FFFFFF;
    color: #024059;
    border: 2px solid #E2E8F0;
}

.uvik-404-btn-secondary:hover {
    border-color: #28BC9B;
    background: rgba(40, 188, 155, 0.04);
    transform: translateY(-2px);
    color: #024059;
}

.uvik-404-search {
    max-width: 440px;
    margin: 0 auto;
}

.uvik-404-search-form {
    display: flex;
    background: #FFFFFF;
    border: 2px solid #E2E8F0;
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.25s ease;
}

.uvik-404-search-form:focus-within {
    border-color: #28BC9B;
}

.uvik-404-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 18px;
    font-size: 15px;
    font-family: 'Outfit', sans-serif;
    color: #1E293B;
    background: transparent;
}

.uvik-404-search-input::placeholder {
    color: #94A3B8;
}

.uvik-404-search-btn {
    background: #28BC9B;
    border: none;
    padding: 14px 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    color: #024059;
}

.uvik-404-search-btn:hover {
    background: #20a386;
}

.uvik-404-help {
    background: #F8FAFC;
    border-top: 1px solid #E2E8F0;
    padding: 36px 20px;
}

.uvik-404-help-container {
    max-width: 960px !important;
    margin: 0 auto;
}

.uvik-404-help-title {
    font-size: 12px;
    font-weight: 700;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 20px;
    text-align: center;
}

.uvik-404-help-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: nowrap;
}

.uvik-404-help-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: #024059;
    transition: all 0.2s ease;
    font-family: 'Outfit', sans-serif;
    white-space: nowrap;
}

.uvik-404-help-links a:hover {
    border-color: #28BC9B;
    background: rgba(40, 188, 155, 0.06);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 188, 155, 0.15);
}

.uvik-404-help-links .help-icon {
    font-size: 18px;
}

.uvik-404-help-links .help-label {
    white-space: nowrap;
}

@media (max-width: 860px) {
    .uvik-404-help-links {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 640px) {
    .uvik-ai-launcher-tag {
        display: none !important;
    }

    .uvik-404-hero { padding: 50px 20px 30px; }
    .uvik-404-number-wrap { margin-bottom: 24px; gap: 8px; }
    .uvik-404-magnifier { width: 34px; height: 34px; }
    .uvik-404-actions { flex-direction: column; align-items: center; }
    .uvik-404-btn { justify-content: center; width: 100%; max-width: 280px; }
    .uvik-404-help-links { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .uvik-404-help-links a { padding: 11px 14px; font-size: 13px; }
}

@media (max-width: 480px) {
    .uvik-404-help-links { grid-template-columns: 1fr; }
}

/* =============================================================
   FLOATING SHARE BUTTONS (RIGHT SIDE)
   ============================================================= */
.uvik-floating-share-bar {
    position: fixed;
    right: 18px;
    top: 48%;
    transform: translateY(-50%);
    z-index: 99990;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 8px;
    border-radius: 50px;
    box-shadow: 0 8px 30px rgba(2, 64, 89, 0.18);
    border: 1px solid rgba(40, 188, 155, 0.35);
    transition: all 0.3s ease;
}
.share-bar-title {
    font-size: 9px;
    font-weight: 800;
    color: #024059;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    margin-bottom: 2px;
    opacity: 0.75;
}
.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    position: relative;
    border: none;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.share-btn:hover {
    transform: scale(1.12);
}
.share-btn-wa { background: #25D366; box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4); }
.share-btn-fb { background: #1877F2; box-shadow: 0 4px 14px rgba(24, 119, 242, 0.4); }
.share-btn-tw { background: #000000; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4); }
.share-btn-copy { background: #024059; color: #28BC9B; box-shadow: 0 4px 14px rgba(2, 64, 89, 0.4); }

.share-tooltip {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: #024059;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.share-btn:hover .share-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(-4px);
}
@media (max-width: 640px) {
    .uvik-floating-share-bar {
        right: 8px;
        padding: 8px 6px;
        gap: 8px;
    }
    .share-btn {
        width: 36px;
        height: 36px;
    }
    .share-bar-title { display: none; }
}

/* =============================================================
   VENDOR DASHBOARD FORM ENHANCEMENTS
   ============================================================= */
.wizard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
}
@media (max-width: 768px) {
    .wizard-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
.dashboard-form .form-row {
    margin-bottom: 24px !important;
}
.dashboard-form .form-row label {
    display: block;
    font-weight: 700;
    font-size: 14px;
    color: #024059;
    margin-bottom: 8px;
}
.dashboard-form input[type="text"],
.dashboard-form input[type="email"],
.dashboard-form input[type="password"],
.dashboard-form input[type="url"],
.dashboard-form input[type="number"],
.dashboard-form input[type="file"],
.dashboard-form textarea,
.dashboard-select {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1.5px solid #cbd5e1;
    font-family: inherit;
    font-size: 14px;
    background-color: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.dashboard-form input:focus,
.dashboard-form textarea:focus,
.dashboard-select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(40, 188, 155, 0.15);
}
/* ===== UVIK GRADIENT CORPORATE BUTTON ===== */
.uvik-btn-gradient {
    background: linear-gradient(90deg, #28BC9B 0%, #65C656 100%) !important;
    color: #024059 !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 12px 24px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 800 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    box-shadow: 0 4px 12px rgba(40, 188, 155, 0.3) !important;
    text-decoration: none !important;
}
.uvik-btn-gradient:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(40, 188, 155, 0.45) !important;
    color: #024059 !important;
}

/* =============================================================
   TESTIMONIALS SECTION (Lo que dicen los negocios)
   ============================================================= */
.uvik-testimonials-section {
    max-width: 1200px;
    margin: 60px auto 80px;
    padding: 0 20px;
    box-sizing: border-box;
}
.testimonials-subtitle {
    color: #64748b;
    font-size: 1.05rem;
    margin-top: 6px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}
.testimonials-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 28px !important;
    margin-top: 40px !important;
    align-items: stretch !important;
}
.testimonial-card {
    background: #ffffff !important;
    border-radius: 20px !important;
    padding: 32px 26px 26px !important;
    box-shadow: 0 6px 24px rgba(2, 64, 89, 0.06) !important;
    border: 1px solid #e2e8f0 !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}
.testimonial-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 14px 36px rgba(2, 64, 89, 0.12) !important;
}
.testimonial-card.featured {
    border: 2px solid #28BC9B !important;
    background: linear-gradient(180deg, #ffffff 0%, #f0fdfa 100%) !important;
}
.testimonial-stars {
    color: #f59e0b !important;
    font-size: 1.25rem !important;
    letter-spacing: 2px !important;
    margin-bottom: 16px !important;
}
.testimonial-quote {
    color: #334155 !important;
    font-size: 0.95rem !important;
    line-height: 1.65 !important;
    font-style: italic !important;
    margin: 0 0 24px !important;
    flex: 1 !important;
}
.testimonial-author {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding-top: 16px !important;
    border-top: 1px solid #f1f5f9 !important;
}
.testimonial-author img.author-avatar {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    min-height: 52px !important;
    max-width: 52px !important;
    max-height: 52px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2.5px solid #28BC9B !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
    flex-shrink: 0 !important;
    display: block !important;
}
.author-info {
    display: flex !important;
    flex-direction: column !important;
}
.author-name {
    font-size: 1rem !important;
    font-weight: 800 !important;
    color: #024059 !important;
    margin: 0 0 2px !important;
    font-family: 'Outfit', sans-serif !important;
}
.author-role {
    font-size: 0.82rem !important;
    color: #64748b !important;
    font-weight: 600 !important;
}
.testimonial-badge-result {
    margin-top: 18px !important;
    background: rgba(40, 188, 155, 0.12) !important;
    color: #024059 !important;
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    padding: 8px 14px !important;
    border-radius: 50px !important;
    text-align: center !important;
    border: 1px solid rgba(40, 188, 155, 0.25) !important;
}
@media (max-width: 900px) {
    .testimonials-grid {
        grid-template-columns: 1fr !important;
        max-width: 500px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* ===== FOOTER MOBILE CENTERING ===== */
@media (max-width: 768px) {
    .uvik-footer-container {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        gap: 40px !important;
    }
    .uvik-footer-brand {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    .uvik-footer-col {
        padding-left: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    .uvik-footer-col h4::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    .footer-links {
        align-items: center !important;
    }
    .uvik-footer-bottom-container {
        justify-content: center !important;
        text-align: center !important;
        flex-direction: column !important;
        gap: 16px !important;
    }
}

/* Vendor dashboard tabs: prevent fixed-width content from overflowing on phones. */
@media (max-width: 768px) {
    .dashboard-container {
        padding-right: 12px;
        padding-left: 12px;
    }

    .vendor-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .vendor-tabs .tab-btn,
    .uvik-main-content > .tab-panel {
        min-width: 0;
    }

    .uvik-main-content > .tab-panel {
        margin-right: 12px;
        margin-left: 12px;
    }

    #tab-info .store-social-grid,
    #tab-products .product-form-grid,
    #editProductModal .product-edit-grid,
    #tab-subs .subscription-plans-grid,
    #tab-share .share-content-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    #tab-info .store-preview-banner > div:first-child {
        width: 100%;
        min-width: 0 !important;
        flex: none !important;
        justify-content: flex-start !important;
        gap: 12px !important;
    }

    #tab-info .store-preview-banner {
        align-items: stretch !important;
        flex-direction: column;
        gap: 14px !important;
        padding: 18px 16px !important;
    }

    #tab-info .store-preview-banner .store-logo-preview {
        flex: 0 0 60px;
    }

    #tab-info .store-preview-banner > div:first-child > div {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    #tab-info .store-preview-banner .btn-store-visit {
        width: 100%;
        margin-left: 0 !important;
        white-space: normal !important;
        box-sizing: border-box;
    }

    #tab-products .products-dashboard-header {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    #tab-products .btn-add-product {
        width: 100%;
    }

    #tab-products #addProductForm {
        padding: 18px;
    }

    #tab-products .product-admin-card {
        min-width: 0;
        width: 100%;
        flex-wrap: wrap;
        box-sizing: border-box;
    }

    #tab-products .products-admin-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    #tab-products .prod-admin-info {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    #tab-products .prod-admin-actions {
        margin-left: auto;
    }

    #tab-subs .subscription-plans-grid {
        gap: 18px !important;
    }

    #tab-qr .qr-intro-banner {
        align-items: flex-start !important;
        flex-direction: column;
        margin-bottom: 24px !important;
        padding: 20px !important;
    }

    #tab-qr .qr-print-card {
        width: 100% !important;
        max-width: 380px;
    }

    #tab-qr .qr-cards-layout > .qr-print-item {
        min-width: 0;
        max-width: 100%;
    }

    #tab-qr #cardPresentationPrint > div:first-child {
        flex-wrap: wrap;
    }

    #tab-qr #cardPresentationPrint > div:first-child > div:first-child {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    #tab-qr .qr-print-card + button {
        max-width: 100%;
        white-space: normal;
    }

    #tab-share > div {
        width: 100%;
        max-width: 1150px;
        margin-right: auto;
        margin-left: auto;
    }

    #tab-share .share-hero-banner {
        align-items: center !important;
        flex-direction: column;
        text-align: center;
        padding: 22px !important;
    }

    #tab-share .share-hero-banner > div {
        width: 100%;
        max-width: 750px;
        margin-right: auto;
        margin-left: auto;
    }

    #tab-share .share-content-grid {
        width: 100%;
        grid-template-columns: minmax(0, 1fr) !important;
        justify-items: center;
        gap: 20px !important;
    }

    #tab-share .share-content-grid > div {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    #tab-share .share-content-grid > div:last-child > h3 {
        text-align: center;
    }

    #tab-share .share-copy-row {
        flex-wrap: wrap;
    }

    #tab-share .share-url-input {
        flex: 1 1 100%;
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }

    #tab-share .share-copy-row button,
    #tab-share .share-content-grid > div:last-child > div,
    #tab-share .share-content-grid > div:last-child > div > a {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}


/* ===== Header móvil: logo e iconos más grandes y con separación táctil ===== */
@media (max-width: 992px) {
    .uvik-header-top .uvik-logo-img { height: 44px !important; width: auto; }
    .uvik-actions-block { gap: 14px !important; }
    .uvik-actions-block .action-link,
    .uvik-actions-block .mobile-nav-toggle {
        min-width: 46px;
        min-height: 46px;
        justify-content: center;
        align-items: center;
    }
    .uvik-actions-block .action-link svg { width: 26px; height: 26px; }
    .uvik-actions-block .mobile-nav-toggle { gap: 5px; padding: 8px; }
    .uvik-actions-block .mobile-nav-toggle span { width: 28px; height: 3px; }
    .uvik-actions-block #globalCartBadge { top: 2px !important; right: -2px !important; font-size: 11px !important; }
}
@media (max-width: 480px) {
    .uvik-header-top .uvik-logo-img { height: 42px !important; }
    .uvik-header-top { gap: 8px !important; }
    .uvik-actions-block { gap: 10px !important; }
}

/* ===== Portada móvil: banners más anchos (menos margen lateral) ===== */
@media (max-width: 768px) {
    .uvik-main-content > .uvik-home-main:not(.store-detail-page) { padding-left: 10px !important; padding-right: 10px !important; }
    .uvik-home-main .uvik-hero { border-radius: 18px; padding-left: 22px; padding-right: 22px; }
    .uvik-home-main .uvik-ai-promo-full,
    .uvik-home-main .affiliate-section,
    .uvik-home-main .home-custom-cta-container,
    .uvik-home-main .home-newsletter-container {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        border-radius: 20px !important;
    }
}
@media (max-width: 768px) {
    .uvik-home-main .enhanced-pricing-section {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 36px 20px !important;
        border-radius: 20px !important;
        margin: 40px 0 !important;
    }
    .uvik-home-main .enhanced-pricing-title { font-size: 1.9rem !important; overflow-wrap: anywhere; }
    .uvik-home-main .enhanced-pricing-inner,
    .uvik-home-main .enhanced-pricing-text,
    .uvik-home-main .enhanced-pricing-action-card { min-width: 0 !important; max-width: 100% !important; box-sizing: border-box; }
}
/* ===== MOBILE SHARE ICONS NEXT TO CHATBOT ===== */
@media (max-width: 640px) {
    #desktopShareBar.uvik-floating-share-bar {
        position: fixed;
        top: auto;
        left: auto;
        right: calc(25px + 60px + 12px);
        bottom: 28px;
        transform: none;
        flex-direction: row;
        gap: 6px;
        padding: 6px;
    }
    #desktopShareBar .share-bar-title { display: none; }
    #desktopShareBar .share-btn {
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
    }
    #desktopShareBar .share-tooltip { display: none; }
}

@media (max-width: 360px) {
    #desktopShareBar.uvik-floating-share-bar {
        right: calc(25px + 60px + 8px);
        bottom: 30px;
        gap: 4px;
        padding: 5px;
    }
    #desktopShareBar .share-btn {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 640px) {
    .uvik-ai-drawer {
        top: 50% !important;
        left: 50% !important;
        right: auto !important;
        bottom: auto !important;
        width: calc(100vw - 32px) !important;
        max-width: none !important;
        height: min(520px, calc(100vh - 32px)) !important;
        height: min(520px, calc(100dvh - 32px)) !important;
        max-height: calc(100vh - 32px) !important;
        max-height: calc(100dvh - 32px) !important;
        box-sizing: border-box !important;
        transform: translate(-50%, -50%) !important;
    }
}

.uvik-ai-drawer .ai-drawer-header {
    padding: 18px 20px !important;
}

.uvik-ai-drawer .ai-drawer-title h4 {
    font-size: 17px !important;
}

.uvik-ai-drawer .ai-status {
    font-size: 12.5px !important;
}

.uvik-ai-drawer .ai-message {
    font-size: 15px !important;
    line-height: 1.5 !important;
}

.uvik-ai-drawer #ai-chat-input {
    font-size: 15px !important;
}

.uvik-ai-drawer .ai-drawer-close {
    width: 36px !important;
    height: 36px !important;
    font-size: 22px !important;
}

.uvik-ai-drawer .ai-chat-send {
    width: 46px !important;
    height: 46px !important;
}

@media (max-width: 640px) {
    #locales-recientes .homepage-stores-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 16px !important;
    }

    #locales-recientes .store-card {
        width: 100%;
        min-width: 0;
    }

    #locales-recientes .store-card-cover {
        height: clamp(145px, 42vw, 180px);
    }

    #locales-recientes .store-card-content {
        min-width: 0;
        padding: 16px;
    }

    #locales-recientes .store-header {
        min-width: 0;
        gap: 12px;
    }

    #locales-recientes .store-icon-badge {
        flex: 0 0 48px;
        width: 48px;
        height: 48px;
    }

    #locales-recientes .store-header > div:last-child {
        flex: 1;
        min-width: 0;
    }

    #locales-recientes .store-header h3,
    #locales-recientes .store-header h3 a,
    #locales-recientes .store-category-tag {
        overflow-wrap: anywhere;
    }

    #locales-recientes .store-location-badge-floating {
        top: 8px;
        right: 8px;
        max-width: calc(100% - 16px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    #locales-recientes .btn-store-visit {
        padding: 12px 8px;
        font-size: 14px;
    }
}