[x-cloak]{display:none!important}
:root {
    --bq-primary: #FF6B35;
    --bq-primary-dark: #e55a2a;
    --bq-primary-light: rgba(255,107,53,0.1);
    --bq-primary-glow: rgba(255,107,53,0.15);
    --bq-secondary: #4ECDC4;
    --bq-success: #10B981;
    --bq-error: #EF4444;
    --bq-warning: #F59E0B;
    --bq-text: #f0f0f0;
    --bq-text-primary: #ffffff;
    --bq-text-secondary: #9ca3af;
    --bq-bg: #0d0d0f;
    --bq-bg-secondary: #0d0d0f;
    --bq-bg-card: #1a1a1f;
    --bq-bg-elevated: #22222a;
    --bq-bg-surface: #16161b;
    --bq-border: rgba(255,255,255,0.08);
    --bq-border-light: rgba(255,255,255,0.04);
    --bq-shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
    --bq-shadow: 0 4px 12px rgba(0,0,0,0.5);
    --bq-shadow-lg: 0 10px 30px rgba(0,0,0,0.6);
    --bq-radius: 14px;
    --bq-radius-sm: 10px;
    --bq-radius-lg: 18px;
    --bq-font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --bq-font-display: 'Outfit', 'DM Sans', sans-serif;
    --bq-transition: 0.25s cubic-bezier(0.4,0,0.2,1);
    --bq-gradient-card: linear-gradient(145deg, rgba(255,107,53,0.06), rgba(255,255,255,0.02));
    --bq-gradient-accent: linear-gradient(135deg, #FF6B35, #FF8F5E);
    --bq-gradient-hero: linear-gradient(180deg, #1a1a1f 0%, #0d0d0f 100%);
}

/* MODO CLARO — Se activa con .bq-light-mode en .buyaca-app     */
.buyaca-app.bq-light-mode {
    --bq-text: #1a1a1a;
    --bq-text-primary: #1a1a1a;
    --bq-text-secondary: #6b7280;
    --bq-bg: #f8f9fa;
    --bq-bg-secondary: #f3f4f6;
    --bq-bg-card: #ffffff;
    --bq-bg-elevated: #ffffff;
    --bq-bg-surface: #f9fafb;
    --bq-border: #e5e7eb;
    --bq-border-light: #f3f4f6;
    --bq-shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --bq-shadow: 0 4px 12px rgba(0,0,0,0.08);
    --bq-shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --bq-primary-light: #fff5f2;
    --bq-gradient-card: linear-gradient(145deg, rgba(255,107,53,0.04), rgba(0,0,0,0.01));
    --bq-gradient-hero: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}
/* LIGHT MODE page: Header DARK for contrast */
.buyaca-app.bq-light-mode .bq-header-backdrop {
    background: linear-gradient(180deg, rgba(10,10,12,0.98) 0%, rgba(15,15,18,0.96) 100%);
    border-bottom: none;
    box-shadow: none;
}
.buyaca-app.bq-light-mode .bq-header-backdrop::after {
    display: none;
}
/* Light mode page + dark header → search bar WHITE, text dark */
.buyaca-app.bq-light-mode .bq-app-header-search {
    background: rgba(255,255,255,0.95);
    border-color: rgba(255,255,255,0.3);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.buyaca-app.bq-light-mode .bq-app-header-search:focus-within {
    border-color: var(--bq-primary);
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
.buyaca-app.bq-light-mode .bq-app-header-search-input { color: #1f2937; }
.buyaca-app.bq-light-mode .bq-app-header-search-input::placeholder { color: #9ca3af; }
.buyaca-app.bq-light-mode .bq-app-header-search-icon svg { stroke: #6b7280; }
.buyaca-app.bq-light-mode .bq-app-header-search-btn { background: var(--bq-primary); }
.buyaca-app.bq-light-mode .bq-header-logo-wrap .logo { filter: brightness(1.1); }
/* Light page + dark header → show LIGHT logo */
.buyaca-app.bq-light-mode .bq-header-logo-wrap .bq-logo-dark { display: none; }
.buyaca-app.bq-light-mode .bq-header-logo-wrap .bq-logo-light { display: block; }
/* Dark page + white header → show DARK logo */
.buyaca-app:not(.bq-light-mode) .bq-header-logo-wrap .bq-logo-dark { display: block; }
.buyaca-app:not(.bq-light-mode) .bq-header-logo-wrap .bq-logo-light { display: none; }
.bq-header-logo-wrap .logo:not(.bq-logo-dark):not(.bq-logo-light) { display: block; }
/* Light page dark header: pills */
.buyaca-app.bq-light-mode .bq-header-chips-wrap .bq-home-filter-pill {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
}
.buyaca-app.bq-light-mode .bq-header-chips-wrap .bq-home-filter-pill.active {
    background: var(--bq-primary-light);
    color: var(--bq-primary);
    border-color: rgba(255,107,53,0.35);
}
.buyaca-app.bq-light-mode .bq-header-chips-wrap .bq-home-filter-select {
   background-color: transparent !important;
    color: #ffe0d3 !important;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}
.buyaca-app.bq-light-mode .bq-header-chips-wrap .bq-filter-select-icon { color: rgba(255,255,255,0.7); }
.buyaca-app.bq-light-mode .bq-header-chips-wrap .bq-filter-select-icon svg { stroke: rgba(255,255,255,0.7); fill: rgba(255,255,255,0.7); }
.buyaca-app.bq-light-mode .bq-header-chips-wrap .bq-home-filter-select option {
    background: #1a1a1f;
    color: #f0f0f0;
}
/* DARK MODE page: Header WHITE for contrast */
.buyaca-app:not(.bq-light-mode) .bq-header-backdrop {
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.96) 80%);
    border-bottom: none;
    box-shadow: none;
}
.buyaca-app:not(.bq-light-mode) .bq-header-backdrop::after {
    display: none;
}
/* Dark mode page + white header → search bar DARK, text light */
.buyaca-app:not(.bq-light-mode) .bq-app-header-search {
    background: #16161b;
    border-color: rgba(0,0,0,0.15);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.buyaca-app:not(.bq-light-mode) .bq-app-header-search:focus-within {
    border-color: var(--bq-primary);
    background: #12122a;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
.buyaca-app:not(.bq-light-mode) .bq-app-header-search-input { color: #f0f0f0; }
.buyaca-app:not(.bq-light-mode) .bq-app-header-search-input::placeholder { color: rgba(255,255,255,0.45); }
.buyaca-app:not(.bq-light-mode) .bq-app-header-search-icon svg { stroke: rgba(255,255,255,0.4); }
.buyaca-app:not(.bq-light-mode) .bq-app-header-search-btn { background: var(--bq-primary); }
.buyaca-app:not(.bq-light-mode) .bq-header-logo-wrap .logo { filter: brightness(1) drop-shadow(0 1px 4px rgba(0,0,0,0.08)); }
.buyaca-app:not(.bq-light-mode) .bq-header-chips-wrap .bq-home-filter-pill {
    background: #f3f4f6; border-color: #e5e7eb; color: #374151;
}
.buyaca-app:not(.bq-light-mode) .bq-header-chips-wrap .bq-home-filter-pill.active {
    background: rgba(255,107,53,0.1); color: var(--bq-primary); border-color: rgba(255,107,53,0.35);
}
.buyaca-app:not(.bq-light-mode) .bq-header-chips-wrap .bq-home-filter-select {
    background: #f3f4f6; border-color: #e5e7eb; color: #374151;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' stroke='%23374151' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}
.buyaca-app:not(.bq-light-mode) .bq-header-chips-wrap .bq-filter-select-icon { color: #374151; }
.buyaca-app:not(.bq-light-mode) .bq-header-chips-wrap .bq-filter-select-icon svg { stroke: #374151; fill: #374151; }
.buyaca-app:not(.bq-light-mode) .bq-header-chips-wrap .bq-home-filter-select option {
    background: #fff; color: #1f2937;
}
/* Light mode: hide dark decorative overlays */
.buyaca-app.bq-light-mode .buyaca-bottom-nav {
    background: rgba(255,255,255,0.96);
    border-top-color: #e5e7eb;
    box-shadow: none;
}
.buyaca-app.bq-light-mode .bq-home-card-name { color: #1a1a1a; }
.buyaca-app.bq-light-mode .buyaca-business-name { color: #1a1a1a; }
.buyaca-app.bq-light-mode .bq-filters-card {
    background: rgba(255,255,255,0.85);
    border-color: rgba(0,0,0,0.06);
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}
.buyaca-app.bq-light-mode .bq-home-filter-pill {
    background: white;
    border-color: #e5e7eb;
    color: #6b7280;
}
.buyaca-app.bq-light-mode .bq-home-filter-select {
    background: white;
    border-color: #e5e7eb;
    color: #1a1a1a;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' stroke='%23374151' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}
.buyaca-app.bq-light-mode .bq-footer { background: #1a1a1f; color: #d1d5db; }
.buyaca-app.bq-light-mode .bq-footer-links a { color: #d1d5db; }
.buyaca-app.bq-light-mode .bq-footer-copy { color: #9ca3af; }
.buyaca-app.bq-light-mode .bq-home-card-logo-img { filter: none; }
.buyaca-app.bq-light-mode .buyaca-autocomplete { background: rgba(255,255,255,0.98); border-color: rgba(0,0,0,0.06); }
.buyaca-app.bq-light-mode .bq-recomendados-zone { background: #f8f9fa; box-shadow: none; }

/* Toggle de modo — botón flotante */
/* Toggle de modo — oculto del header, solo en perfil */
.bq-mode-toggle {
    display: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bq-bg-card);
    border: 1px solid var(--bq-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--bq-shadow-sm);
    transition: all 0.3s;
    color: var(--bq-text-secondary);
}
.bq-mode-toggle:hover { transform: scale(1.1); box-shadow: var(--bq-shadow); }

/* ANIMACIONES GLOBALES                                           */
@keyframes bq-fade-up {
    from { opacity:0; transform:translateY(18px); }
    to   { opacity:1; transform:translateY(0); }
}
@keyframes bq-underline-grow {
    from { width:0; }
    to   { width:100%; }
}
@keyframes bq-heart-pop {
    0%   { transform:scale(1); }
    30%  { transform:scale(1.45); }
    60%  { transform:scale(0.9); }
    100% { transform:scale(1); }
}
/* [v8.8.17] @keyframes bq-sparkle y bq-glow-pulse eliminados — solo eran
   usados por .bq-red-zone-sparkles y .bq-red-zone-glow que ya no se renderizan. */




* { box-sizing: border-box; }

/* APP HEADER: Premium collapsible — Logo fade + sticky search    */
.bq-app-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    padding: 0;
    will-change: transform;
}

/* ── Glass backdrop ── */
.bq-header-backdrop {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13,13,15,0.97) 0%, rgba(13,13,15,0.94) 70%, rgba(13,13,15,0.88) 100%);
    backdrop-filter: blur(28px) saturate(1.6);
    -webkit-backdrop-filter: blur(28px) saturate(1.6);
    border-bottom: none;
    transition: opacity 0.4s cubic-bezier(0.22,1,0.36,1);
    z-index: 0;
    border-radius: 0px 0px 15px 15px;
    box-shadow: none;
}

.bq-header-backdrop::after {
    content: '';
    display: none;
}
.bq-app-header-inner {
    position: relative;
    z-index: 2;
    padding: 10px 16px 0;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ── Logo wrap (collapsible) ── */
.bq-header-logo-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px 0 10px;
    will-change: transform, opacity;
    transition: transform 0.5s cubic-bezier(0.22,1,0.36,1),
                opacity 0.4s cubic-bezier(0.22,1,0.36,1),
                max-height 0.5s cubic-bezier(0.22,1,0.36,1),
                padding 0.5s cubic-bezier(0.22,1,0.36,1);
    max-height: 80px;
    overflow: hidden;
    transform-origin: top center;
}

.bq-header-logo-wrap.collapsed {
    opacity: 0;
    max-height: 0;
    padding: 0;
    transform: translateY(-10px) scale(0.92);
    pointer-events: none;
}

.bq-header-logo-wrap .logo {
    max-width: 100px;
    height: auto;
    filter: brightness(1.1) drop-shadow(0 2px 8px rgba(0,0,0,0.2));
    flex-shrink: 0;
}

/* ── Search wrap (always visible) ── */
.bq-header-search-wrap {
    padding: 0 0 10px;
}

.bq-app-header-search {
    flex: 1;
    position: relative;
    background: rgba(255,255,255,0.95);
    border: 1.5px solid rgba(0,0,0,0.08);
    border-radius: 100px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.2), 0 1px 4px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    overflow: visible;
    transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
}

.bq-app-header-search:focus-within {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,107,53,0.35);
    box-shadow: 0 4px 24px rgba(0,0,0,0.2), 0 0 20px rgba(255,107,53,0.08);
    transform: translateY(-1px);
}

.bq-app-header-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    pointer-events: none;
    z-index: 2;
    opacity: 0.5;
}

.bq-app-header-search-input {
    width: 100%;
    padding: 13px 52px 13px 42px;
    border: none;
    border-radius: 100px;
    font-size: 14.5px;
    font-family: var(--bq-font-family);
    font-weight: 500;
    background: transparent;
    outline: none;
    color: #374151;
    letter-spacing: -0.1px;
}

.bq-app-header-search-input::placeholder {
    color: #9ca3af;
    font-size: 14px;
    font-family: var(--bq-font-family);
    font-weight: 400;
}

.bq-app-header-search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bq-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(255,107,53,0.25);
    transition: all 0.25s cubic-bezier(0.22,1,0.36,1);
}

.bq-app-header-search-btn:hover {
    background: var(--bq-primary);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 2px 16px rgba(255,107,53,0.3);
}

.bq-app-header-search-btn:active {
    transform: translateY(-50%) scale(0.96);
}

/* ── Chips wrap (collapsible) ── */
.bq-header-chips-wrap {
    overflow: hidden;
    will-change: max-height, opacity;
    transition: max-height 0.5s cubic-bezier(0.22,1,0.36,1),
                opacity 0.4s cubic-bezier(0.22,1,0.36,1),
                padding 0.45s cubic-bezier(0.22,1,0.36,1);
    max-height: 65px;
    padding: 0 0 10px;
}
svg.icon {
    margin: 5px 0px 0px 6px;
}
.bq-header-chips-wrap.collapsed {
    max-height: 0;
    opacity: 0;
    padding: 0;
    pointer-events: none;
}

/* ── Scrolled state (legacy compat) ── */
.bq-app-header.scrolled .bq-header-backdrop {
    box-shadow: none;
}


/* <span class="bq-i bq-i-dot-red"></span> ZONA ROJA: Banner + Filtros + Destacados (slider extendido) */
/* <span class="bq-i bq-i-check"></span> NUEVO — Se agrega padding-top para compensar el header fijo */
.bq-wordmar{
    color:#fff;
}
/* BANNER PROMOCIONAL (dentro de la zona roja)                    */
.logo{
    max-width: 100px;
    height: auto;
    filter: brightness(1.1) drop-shadow(0 2px 8px rgba(0,0,0,0.2));
    flex-shrink: 0;
}
@media (min-width: 768px) {
    .bq-featured-card-v2 { flex: 0 0 400px; }
    .bq-featured-v2-name { font-size: 22px; }
    .bq-featured-v2-logo-wrap { width: 68px; height: 68px; top: 14px; left: 16px; }
    .bq-featured-v2-wa-btn { font-size: 15px; padding: 15px 24px; }
    .logo { max-width: 120px; }
    .bq-header-logo-wrap { padding: 8px 0 12px; }
}

/* FILTROS: Tarjeta blanca dentro de la zona roja                 */
.bq-filters-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 6px 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    margin-bottom: 20px;
}

/* SECCIÓN DESTACADOS: Dentro de zona roja, sin fondo propio      */
.bq-destacados-section {
    padding: 0 0 4px;
}
.bq-destacados-section .bq-home-section-title::after {
    background: linear-gradient(90deg, #FFD700, #FFA500);
}

/* ⬜ ZONA RECOMENDADOS: Fondo blanco independiente y limpio       */
.bq-recomendados-zone {
    background: var(--bq-bg);
    margin-top: 0;
    padding: 44px 0 24px;
    position: relative;
    z-index: 8;
    border-radius: 28px 28px 0 0;
    box-shadow: none;
}
.bq-recomendados-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3px;
}
svg.play {
    margin: 5px 6px;
}
.buyaca-app {
    font-family: var(--bq-font-family);
    color: var(--bq-text);
    background: var(--bq-bg);
    min-height: 100vh;
    padding-bottom: 1px !important;
    touch-action: manipulation;
    -ms-touch-action: manipulation;
    -webkit-text-size-adjust: 100%;
    -webkit-user-select: text;
    overscroll-behavior: none;
}
@media (min-width: 1024px) {
    .buyaca-app { max-width: 80%; margin-left: auto; margin-right: auto; box-shadow: 0 0 40px rgba(0,0,0,0.15); }
    .buyaca-bottom-nav { max-width: 80%; left: 50% !important; transform: translateX(-50%); }
}
.buyaca-app * {
    touch-action: pan-x pan-y;
}

/* ── Performance: GPU compositing + layout containment ── */
.buyaca-app img {
    content-visibility: auto;
}
.buyaca-business-card,
.bq-home-card,
.bq-featured-card-v2,
.bq-cv2-product-card {
    contain: layout style;
}
/* content-visibility: offscreen sections skip rendering (reduce TBT) */
.buyaca-reviews-list,
.bq-info-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 400px;
}

.buyaca-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 16px;
}

/* Typography */
.buyaca-h1 { font-size: 28px; font-weight: 800; margin: 0 0 8px; line-height: 1.2; }
.buyaca-h2 { font-size: 24px; font-weight: 700; margin: 0 0 16px; }
.buyaca-h3 { font-size: 20px; font-weight: 600; margin: 0 0 12px; }
.buyaca-text-secondary { color: var(--bq-text-secondary); }

/* Hero */
/* HOME: Banner, Filtros, Destacados, Recomendados               */

img.image {max-width: 50%;}
.bq-home-banner {
    position: relative;
    width: 100%;
    border-radius: 0 0 20px 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1f 0%, #22222a 40%, #1a1a1f 100%);
    min-height: 180px;
}
.bq-home-banner-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.bq-home-banner-default {
    padding: 50px 20px 70px;
    text-align: center;
}
.bq-home-banner-title {
    font-size: 28px;
    font-weight: 900;
    color: white;
    margin: 0 0 6px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    letter-spacing: 0.5px;
}
.bq-home-banner-sub {
    font-size: 15px;
    color: rgba(255,255,255,0.9);
    margin: 0;
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.bq-home-search-overlay {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    z-index: 10;
}
.bq-home-search-bar {
    position: relative;
    background: var(--bq-bg-card);
    border-radius: 100px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    overflow: visible;
}
.bq-home-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bq-text-secondary);
    pointer-events: none;
    display: flex;
}
.bq-home-search-input {
    width: 100%;
    padding: 14px 16px 14px 46px;
    border: none;
    border-radius: 100px;
    font-size: 14px;
    font-family: var(--bq-font-family);
    background: transparent;
    outline: none;
    color: var(--bq-text-primary);
}
.bq-home-search-input::placeholder { color: #9ca3af; }

/* Filtros */
.bq-home-filters {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    align-items: center;
}
.bq-home-filters::-webkit-scrollbar { display: none; }
.bq-home-filter-pill {
    flex-shrink: 0;
    padding: 8px 18px;
    border-radius: 100px;
    font-family: var(--bq-font-display);
    font-size: 13px;
    font-weight: 600;
    border: 1.5px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
    color: var(--bq-text-secondary);
    cursor: pointer;
    transition: all 0.25s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.bq-home-filter-pill.active,
.bq-home-filter-pill:hover {
    background: var(--bq-primary-light);
    color: var(--bq-primary);
    border-color: rgba(255,107,53,0.35);
    box-shadow: 0 2px 12px rgba(255,107,53,0.12);
}
.bq-home-filter-dropdown { flex-shrink: 0; }
.bq-filter-select-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.bq-filter-select-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 2;
    opacity: 0.7;
    COLOR: var(--bq-primary);
}
.bq-home-filter-select {
    padding: 9px 32px 9px 30px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    border: 1.5px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
    color: var(--bq-text);
    cursor: pointer;
    font-family: var(--bq-font-display);
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 30px;
    white-space: nowrap;
    transition: all 0.25s;
}
.bq-home-filter-select:focus { outline: none; border-color: var(--bq-primary); box-shadow: 0 0 0 3px rgba(255,107,53,0.15); }
.bq-home-filter-select:hover { border-color: rgba(255,255,255,0.3); }
.bq-home-filter-select option { background: var(--bq-bg-card); color: var(--bq-text); }
/* Light mode arrow fix — dark arrow on light backgrounds */
.buyaca-app.bq-light-mode .bq-home-filter-select {
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' stroke='%23374151' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
    border-color: rgba(0,0,0,0.15);
}
.buyaca-app.bq-light-mode .bq-home-filter-select:hover { border-color: rgba(0,0,0,0.3); }

/* Section headers */
.bq-home-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.bq-home-section-title {
    font-family: var(--bq-font-display);
    font-size: 22px;
    font-weight: 400;
    color: var(--bq-text-primary);
    margin: 0;
    position: relative;
    display: inline-block;
    animation: bq-fade-up 0.5s var(--bq-transition) both;
    cursor: default;
    letter-spacing: -0.3px;
    line-height: 1.2;
}
.bq-home-section-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    height: 2.5px;
    width: 0;
    background: linear-gradient(90deg, var(--bq-primary), var(--bq-secondary));
    border-radius: 2px;
    transition: width 0.4s var(--bq-transition);
}
.bq-home-section-title:hover::after,
.bq-home-section-header:hover .bq-home-section-title::after {
    animation: bq-underline-grow 0.4s var(--bq-transition) forwards;
}
/* Generic section title */
.bq-section-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--bq-primary);
    margin: 0 0 16px;
    position: relative;
    display: inline-block;
    animation: bq-fade-up 0.5s var(--bq-transition) both;
}
.bq-section-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    height: 3px;
    width: 36px;
    background: linear-gradient(90deg, var(--bq-primary), var(--bq-secondary));
    border-radius: 2px;
    transition: width 0.35s var(--bq-transition);
}
.bq-section-title:hover::after { width: 100%; }

/* === DESTACADOS: Horizontal scroll cards V2 (App style) === */
.bq-featured-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 4px 0 16px;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    cursor: grab;
}
.bq-featured-scroll::-webkit-scrollbar { display: none; }
.bq-featured-scroll.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}

/* FEATURED CARD V2: Full-overlay app style — todo sobre imagen  */
.bq-featured-card-v2 {
    flex: 0 0 min(88vw, 390px);
    border-radius: 22px;
    overflow: hidden;
    scroll-snap-align: start;
    position: relative;
    height: 190px;
    box-shadow: none;
    transition: transform 0.35s;
    cursor: pointer;
    display: block;
    text-decoration: none !important;
    color: inherit !important;
}
.bq-featured-card-v2:hover {
    box-shadow: none;
    transform: translateY(-3px);
}

/* Logo circular sobre la imagen */
.bq-featured-v2-logo-wrap {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 10;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(30,30,30,0.85);
    border: 2.5px solid rgba(255,255,255,0.5);
    box-shadow: none;
}
.bq-featured-v2-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.bq-featured-v2-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30,30,40,0.9);
}

/* Image: fills entire card */
.bq-featured-v2-image-link {
    display: block;
    text-decoration: none !important;
    position: absolute;
    inset: 0;
    z-index: 1;
}
.bq-featured-v2-image-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.bq-featured-v2-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.4,0,0.2,1);
}
.bq-featured-card-v2:hover .bq-featured-v2-image {
    transform: scale(1.05);
}
/* Gradient overlay — bottom to top */
.bq-featured-v2-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 8%);
    pointer-events: none;
}

/* Stars badge top-right — ahora en contenedor compartido con estado */
.bq-featured-v2-top-badges {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    z-index: 10;
}

/* [v8.1] Badge dorado de Negocio Pautado (solo estrella, sin texto) */
.bq-featured-v2-star-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #5C3A00;
    border: 1.5px solid rgba(184,134,11,0.6);
    box-shadow: 0 4px 14px rgba(255,193,7,0.45), 0 0 0 1px rgba(255,255,255,0.2) inset;
}
.bq-featured-v2-star-badge svg {
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

/* Estado abierto/cerrado en tarjetas destacadas */
.bq-featured-v2-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--bq-font-display);
    font-size: 9.5px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.bq-featured-v2-status::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    flex-shrink: 0;
}
.bq-featured-v2-status.open {
    background: rgba(16,185,129,0.2);
    color: #4ade80;
    border: 1px solid rgba(74,222,128,0.3);
}
.bq-featured-v2-status.open::before { background: #4ade80; box-shadow: 0 0 5px rgba(74,222,128,0.6); }
.bq-featured-v2-status.closed {
    background: rgba(239,68,68,0.18);
    color: #f87171;
    border: 1px solid rgba(248,113,113,0.25);
}
.bq-featured-v2-status.closed::before { background: #f87171; }

.bq-featured-v2-stars {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(0,0,0,0.42);
    border-radius: 100px;
    padding: 5px 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.bq-featured-v2-stars .bq-feat-rating-num {
    font-family: var(--bq-font-display);
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    margin-left: 3px;
    letter-spacing: 0.2px;
}

/* Info overlay — all content sits on top */
.bq-featured-v2-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 0 14px 6px;
    pointer-events: none;
}
.bq-featured-v2-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 4px;
    pointer-events: auto;
}
.bq-featured-v2-name {
    font-family: var(--bq-font-display);
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.3px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.bq-featured-v2-cat-badge {
    display: inline-block;
    font-family: var(--bq-font-display);
    font-size: 10px;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.28);
    padding: 3px 10px;
    border-radius: 100px;
    white-space: nowrap;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
.bq-featured-v2-address {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--bq-font-family);
    font-size: 12px;
    color: rgba(255,255,255,0.72);
    line-height: 1.4;
    margin-bottom: 3px;
    pointer-events: auto;
}
.bq-featured-v2-address svg { flex-shrink: 0; }
.bq-featured-v2-distance {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--bq-font-family);
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: rgba(255,107,53,0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

/* WhatsApp / CTA button — pill style inside overlay */
.bq-featured-v2-wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin: 10px 0 14px;
    padding: 13px 20px;
    border-radius: 100px;
    background: var(--bq-primary);
    color: white !important;
    font-family: var(--bq-font-display);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;

    transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
    text-decoration: none !important;
    pointer-events: auto;
    position: relative;
    z-index: 11;
}
.bq-featured-v2-wa-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255,107,53,0.55);
    background: #ff7a45;
}
.bq-featured-v2-wa-btn:active {
    transform: scale(0.97);
    box-shadow: 0 2px 8px rgba(255,107,53,0.3);
}

/* Light mode — invert overlay text just for readability */
.buyaca-app.bq-light-mode .bq-featured-card-v2 {
    box-shadow: none;
}
.bq-featured-section-title { color: #fff; }
.buyaca-app.bq-light-mode .bq-featured-section-title { color: var(--bq-text-primary); }


/* === RECOMENDADOS: Grid responsive multi-columna === */
.bq-home-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
@media (min-width: 640px) {
    .bq-home-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}
@media (min-width: 900px) {
    .bq-home-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
}
@media (min-width: 1200px) {
    .bq-home-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; }
}

/* ═══ PRODUCTS HOME CSS ═══ */
.bq-pf-zone{padding:16px 0 0}.bq-pf-inner{max-width:1200px;margin:0 auto}
.bq-pf-scroll{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:0 16px 16px}.bq-pf-scroll::-webkit-scrollbar{display:none}
.bq-pf-card,.bq-pf-card-v2{flex:0 0 200px;scroll-snap-align:start;border-radius:14px;overflow:hidden;background:var(--bq-bg-card);border:1px solid var(--bq-border,rgba(0,0,0,0.06));cursor:pointer;transition:transform 0.25s,box-shadow 0.25s}.bq-pf-card:hover,.bq-pf-card-v2:hover{transform:translateY(-3px);box-shadow:0 6px 20px rgba(0,0,0,0.12)}
.bq-pf-img-w{width:100%;aspect-ratio:1;overflow:hidden;position:relative;background:var(--bq-bg-elevated,#f3f4f6)}.bq-pf-img{width:100%;height:100%;object-fit:cover}
.bq-pf-badge{position:absolute;top:8px;left:8px;background:rgba(0,0,0,0.65);color:#FFD700;font-size:10px;font-weight:700;padding:3px 8px;border-radius:8px;display:flex;align-items:center;gap:4px;backdrop-filter:blur(6px)}
.bq-pf-info{padding:10px 12px 12px}.bq-pf-price{font-size:16px;font-weight:800;color:var(--bq-primary);display:block;line-height:1.2}.bq-pf-name{font-size:13px;font-weight:500;color:var(--bq-text-primary);margin:4px 0 2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.3}.bq-pf-loc{font-size:11px;color:var(--bq-text-secondary);display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:2px}.bq-pf-date{font-size:10px;color:var(--bq-text-secondary);display:block;opacity:0.6;margin-top:2px}
.bq-feed-inner{max-width: 98%;
    margin: 0 auto;
    padding: 0px 0px;
    
    border-radius: 13px 13px 0px 0px;}
.bq-pgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:3px}
@media(min-width:480px){.bq-pgrid{grid-template-columns:repeat(3,1fr);gap:10px}}
@media(min-width:768px){.bq-pgrid{grid-template-columns:repeat(4,1fr);gap:12px}}
@media(min-width:1024px){.bq-pgrid{grid-template-columns:repeat(5,1fr);gap:14px}}
@media(min-width:1280px){.bq-pgrid{grid-template-columns:repeat(6,1fr);gap:14px}}
.bq-pc{background:var(--bq-bg-card);border-radius:12px;overflow:hidden;cursor:pointer;transition:transform 0.2s,box-shadow 0.2s;border:1px solid var(--bq-border,rgba(0,0,0,0.04));contain:layout style;display:block}
.bq-pc:hover{transform:translateY(-2px);box-shadow:0 4px 16px rgba(0,0,0,0.1)}.bq-pc:active{transform:scale(0.98)}
.bq-pc-iw{width:100%;aspect-ratio:1;overflow:hidden;position:relative;background:var(--bq-bg-elevated,#f3f4f6)}
.bq-pc-img{width:100%;height:100%;object-fit:cover;transition:transform 0.3s}.bq-pc:hover .bq-pc-img{transform:scale(1.05)}
.bq-pc-pin{position:absolute;top:6px;right:6px;background:rgba(0,0,0,0.5);border-radius:50%;width:24px;height:24px;display:flex;align-items:center;justify-content:center;backdrop-filter:blur(6px)}
.bq-pc-dist{position:absolute;bottom:6px;left:6px;background:rgba(0,0,0,0.6);color:#fff;font-size:10px;font-weight:700;padding:2px 7px;border-radius:6px;backdrop-filter:blur(6px)}
.bq-pc-dots{position:absolute;bottom:6px;left:50%;transform:translateX(-50%);display:flex;gap:4px;pointer-events:none}
.bq-pc-dot{width:5px;height:5px;border-radius:50%;background:rgba(255,255,255,0.45);transition:all 0.2s}
.bq-pc-dot.active{background:#fff;width:6px;height:6px}
.bq-pc-body{padding:8px 10px 10px}.bq-pc-price{font-size:15px;font-weight:800;color:var(--bq-primary);display:block;line-height:1.2;letter-spacing:-0.3px}.bq-pc-name{font-size:12px;font-weight:400;color:var(--bq-text-primary);margin:3px 0 2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.3}.bq-pc-loc{font-size:10px;color:var(--bq-text-secondary);display:block;opacity:0.7;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.buyaca-app.bq-light-mode .bq-pc,.buyaca-app.bq-light-mode .bq-pf-card{border-color:rgba(0,0,0,0.06);background:#fff}

/* ============================================================== */
/* v7.3.0 — Etiqueta de categoría del negocio en tarjetas         */
/* Chip compacto, esquina inferior-izquierda sobre la imagen,     */
/* con glass-morphism y tamaño reducido para no robar espacio.    */
/* ============================================================== */
.bq-bizcat-tag{
    position:absolute;
    bottom:6px;
    left:6px;
    max-width:calc(100% - 12px);
    padding:3px 8px;
    background:#14141863;
    color:#fff;
    font-size:9.5px;
    font-weight:700;
    letter-spacing:0.15px;
    text-transform:uppercase;
    line-height:1.25;
    border-radius:6px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    backdrop-filter:blur(6px);
    -webkit-backdrop-filter:blur(6px);
    box-shadow:0 2px 6px rgba(0,0,0,0.18);
    pointer-events:none;
    z-index:2;
}
/* En la tarjeta destacados, la etiqueta sube a esquina superior-derecha
   (no choca con la estrella dorada en superior-izquierda). */
.bq-pf-card .bq-bizcat-tag{
    bottom:19px;
    left:4px;
    font-size:9px;
    padding:2.5px 7px;
}
/* Si hay badge de distancia en el feed, subir el chip para no solaparse. */
.bq-pc-iw:has(.bq-pc-dist) .bq-bizcat-tag{ bottom:30px; }

/* ============================================================== */
/* === BUYACÃ v7.2 — MEJORAS DE DISEÃO (Me Interesa + Grid) === */
/* ============================================================== */

/* --- 1. Ãcono corazÃ³n premium con animaciÃ³n --- */
.buyaca-app .bq-header-interest-btn .bq-heart-icon{
    width:22px;height:22px;
    transition:transform 0.35s cubic-bezier(0.34,1.56,0.64,1),fill 0.25s ease,stroke 0.25s ease;
}
.buyaca-app .bq-header-interest-btn:hover .bq-heart-icon{
    transform:scale(1.15) rotate(-4deg);
    fill:rgba(255,107,53,0.22);
    stroke:var(--bq-primary);
}
.buyaca-app .bq-header-interest-btn.bq-has-items .bq-heart-icon{
    fill:var(--bq-primary);
    stroke:var(--bq-primary);
    animation:bq-heart-beat 1.6s ease-in-out infinite;
}
@keyframes bq-heart-beat{
    0%,100%{transform:scale(1)}
    14%{transform:scale(1.18)}
    28%{transform:scale(1)}
    42%{transform:scale(1.12)}
    70%{transform:scale(1)}
}

/* Badge de conteo mÃ¡s legible */
.buyaca-app .bq-header-interest-btn .bq-nav-badge{
    background:linear-gradient(135deg,#FF4757,#FF6B35);
    box-shadow:0 3px 10px rgba(255,71,87,0.45),inset 0 1px 0 rgba(255,255,255,0.25);
    font-weight:800;
    letter-spacing:-0.3px;
}

/* ============================================================== */
/* --- 2. PRODUCTOS DESTACADOS â Grid 3 columnas premium ------- */
/* ============================================================== */
.bq-pf-zone{padding:22px 0 6px}
.bq-pf-inner .bq-home-section-header{
    padding:0 16px 16px!important;
    display:flex;align-items:center;gap:10px;
}
.bq-pf-inner .bq-home-section-title{
    font-family:var(--bq-font-display,'Outfit','DM Sans',sans-serif);
    font-size:21px;font-weight:700;letter-spacing:-0.6px;margin:0;
    display:inline-flex;align-items:center;gap:12px;position:relative;
}
.bq-pf-inner .bq-home-section-title::before{
    content:"";width:4px;height:22px;border-radius:3px;flex-shrink:0;
    background:linear-gradient(180deg,#FFD700,var(--bq-primary));
    box-shadow:0 0 14px rgba(255,170,0,0.55);
}

/* Grid responsivo: 1 col mÃ³vil Â· 2 tablet Â· 3 desktop */
.bq-pf-grid{
    display:grid;grid-template-columns:1fr;gap:14px;
    padding:0 16px 22px;max-width:1200px;margin:0 auto;
    scroll-snap-type:none;overflow:visible;
}
@media(min-width:560px){.bq-pf-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@media(min-width:900px){.bq-pf-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:0 16px 28px}}

/* Tarjeta destacada premium */
.bq-pf-grid .bq-pf-card{
    flex:initial;scroll-snap-align:none;
    border-radius:18px;overflow:hidden;position:relative;
    background:var(--bq-bg-card);
    border:1px solid var(--bq-border,rgba(0,0,0,0.06));
    cursor:pointer;display:flex;flex-direction:column;
    box-shadow:0 2px 10px rgba(0,0,0,0.05);
    transition:transform 0.4s cubic-bezier(0.22,1,0.36,1),box-shadow 0.4s,border-color 0.3s;
    isolation:isolate;
}
.bq-pf-grid .bq-pf-card::before{
    content:"";position:absolute;inset:0;border-radius:18px;padding:1.5px;
    background:linear-gradient(135deg,rgba(255,215,0,0.55),rgba(255,107,53,0.4) 45%,transparent 70%);
    -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
    -webkit-mask-composite:xor;mask-composite:exclude;
    opacity:0;transition:opacity 0.35s;pointer-events:none;z-index:3;
}
.bq-pf-grid .bq-pf-card:hover{
    transform:translateY(-6px);
    box-shadow:0 22px 44px rgba(255,107,53,0.18),0 8px 20px rgba(0,0,0,0.14);
    border-color:transparent;
}
.bq-pf-grid .bq-pf-card:hover::before{opacity:1}

/* Imagen mÃ¡s prominente (4:3) con zoom al hover */
.bq-pf-grid .bq-pf-img-w{
    width:100%;aspect-ratio:4/3;position:relative;overflow:hidden;
    background:var(--bq-bg-elevated,#f3f4f6);
}
.bq-pf-grid .bq-pf-img{
    width:100%;height:100%;object-fit:cover;
    transition:transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.bq-pf-grid .bq-pf-card:hover .bq-pf-img{transform:scale(1.08)}
.bq-pf-grid .bq-pf-img-w::after{
    content:"";position:absolute;inset:0;pointer-events:none;
    background:linear-gradient(180deg,transparent 55%,rgba(0,0,0,0.32) 100%);
}

/* Badge DESTACADO con gradiente dorado */
.bq-pf-grid .bq-pf-badge{
    position:absolute;top:12px;left:12px;z-index:4;
    background:linear-gradient(135deg,#FFD700,#FFA500);
    color:#1a1a1a;font-size:10.5px;font-weight:800;letter-spacing:0.6px;
    padding:6px 12px 6px 10px;border-radius:999px;
    display:inline-flex;align-items:center;gap:5px;
    box-shadow:0 4px 14px rgba(255,170,0,0.42),inset 0 1px 0 rgba(255,255,255,0.55);
    text-transform:uppercase;line-height:1;
}
.bq-pf-grid .bq-pf-badge svg{fill:#1a1a1a!important;flex-shrink:0}

/* Chip de distancia (cuando "Cerca de mÃ­") */
.bq-pf-grid .bq-pf-dist-chip{
    position:absolute;bottom:10px;right:10px;z-index:4;
    background:rgba(0,0,0,0.6);color:#fff;
    font-size:10.5px;font-weight:700;padding:4px 10px;border-radius:999px;
    backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
    box-shadow:0 2px 8px rgba(0,0,0,0.3);
}

/* Info layout: precio destacado â nombre â meta compacta */
.bq-pf-grid .bq-pf-info{
    padding:14px 16px 16px;display:flex;flex-direction:column;gap:6px;
}
.bq-pf-grid .bq-pf-price-row{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.bq-pf-grid .bq-pf-price{
    font-size:20px;font-weight:800;color:var(--bq-primary);
    letter-spacing:-0.6px;line-height:1.1;display:block;
}
.bq-pf-grid .bq-pf-name{
    font-size:14.5px;font-weight:600;color:var(--bq-text-primary);
    margin:0;line-height:1.35;
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
    overflow:hidden;min-height:2.7em;white-space:normal;text-overflow:initial;
}
.bq-pf-grid .bq-pf-meta{
    display:flex;flex-wrap:wrap;align-items:center;gap:10px;
    font-size:11.5px;color:var(--bq-text-secondary);margin-top:2px;
    padding-top:8px;border-top:1px solid var(--bq-border,rgba(0,0,0,0.05));
}
.bq-pf-grid .bq-pf-loc{
    display:inline-flex;align-items:center;gap:4px;
    overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
    max-width:100%;min-width:0;flex:1;
}
.bq-pf-grid .bq-pf-loc svg{flex-shrink:0;color:var(--bq-primary);opacity:0.85}
.bq-pf-grid .bq-pf-loc span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bq-pf-grid .bq-pf-date{
    font-size:10.5px;opacity:0.7;display:inline-block;flex-shrink:0;
}

/* Badges de estado dentro del carrusel pautado */
.bq-pf-grid .bq-product-status-badges{
    position:absolute;top:12px;right:12px;z-index:4;
    display:flex;flex-direction:column;gap:4px;align-items:flex-end;
}
.bq-pf-grid .bq-product-status-badge{
    font-size:9.5px;font-weight:800;letter-spacing:0.4px;
    padding:4px 9px;border-radius:999px;color:#fff;
    text-transform:uppercase;line-height:1;
    box-shadow:0 2px 8px rgba(0,0,0,0.25);
}

/* ============================================================== */
/* --- 3. CARDS DE PRODUCTOS (feed) â mÃ¡s aire y jerarquÃ­a --- */
/* ============================================================== */
.bq-pc{
    background:var(--bq-bg-card);
    border-radius:14px;overflow:hidden;cursor:pointer;position:relative;
    border:1px solid var(--bq-border,rgba(0,0,0,0.05));
    box-shadow:0 1px 4px rgba(0,0,0,0.04);
    transition:transform 0.3s cubic-bezier(0.22,1,0.36,1),box-shadow 0.3s,border-color 0.3s;
    contain:layout style;display:flex;flex-direction:column;
}
.bq-pc:hover{
    transform:translateY(-4px);
    box-shadow:0 14px 30px rgba(0,0,0,0.12),0 4px 12px rgba(255,107,53,0.1);
    border-color:rgba(255,107,53,0.2);
}
.bq-pc:active{transform:scale(0.98)}

/* Pin dorado premium sobre la imagen */
.bq-pc-pin{
    top:8px!important;right:8px!important;
    width:28px!important;height:28px!important;
    background:linear-gradient(135deg,#FFD700,#FFA500)!important;
    box-shadow:0 3px 10px rgba(255,170,0,0.45),inset 0 1px 0 rgba(255,255,255,0.35)!important;
    border:1.5px solid rgba(255,255,255,0.3);
    backdrop-filter:none!important;
}
.bq-pc-pin svg{fill:#1a1a1a!important;width:14px;height:14px}

/* Chip de distancia y dots mÃ¡s refinados */
.bq-pc-dist{
    background:rgba(0,0,0,0.68);
    padding:3px 9px;border-radius:999px;
    backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
    font-weight:700;
}

/* Body con mejor espaciado */
.bq-pc-body{
    padding:10px 12px 12px;display:flex;flex-direction:column;gap:2px;
}
.bq-pc-price{
    font-size:15.5px;font-weight:800;color:var(--bq-primary);
    display:block;line-height:1.15;letter-spacing:-0.3px;margin-bottom:2px;
}
.bq-pc-name{
    font-size:13px;font-weight:600;color:var(--bq-text-primary);
    margin:2px 0 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.3;
}
.bq-pc-loc{
    font-size:11px;color:var(--bq-text-secondary);display:block;
    opacity:0.75;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:1px;
}

/* ============================================================== */
/* --- 4. TÃ­tulo de secciÃ³n "Descubre productos cerca de ti" --- */
/* ============================================================== */
.bq-feed-zone .bq-home-section-header{
    padding:16px 16px 12px;
    display:flex;align-items:center;gap:10px;
}
.bq-feed-zone .bq-home-section-title{
    font-family:var(--bq-font-display,'Outfit','DM Sans',sans-serif);
    font-size:20px;font-weight:800;letter-spacing:-0.5px;margin:0;
    display:inline-flex;align-items:center;gap:10px;
}
.bq-feed-zone .bq-home-section-title::before{
    content:"";width:4px;height:20px;border-radius:3px;flex-shrink:0;
    background:linear-gradient(180deg,var(--bq-primary),#FF8F5E);
    box-shadow:0 0 10px rgba(255,107,53,0.4);
}

/* ============================================================== */
/* --- 5. Responsive tweaks --- */
/* ============================================================== */
@media(max-width:559px){
    .bq-pf-grid .bq-pf-name{font-size:14px;min-height:2.6em}
    .bq-pf-grid .bq-pf-price{font-size:18px}
    .bq-pf-grid .bq-pf-info{padding:12px 14px 14px}
    .bq-pf-inner .bq-home-section-title{font-size:18px}
    .bq-feed-zone .bq-home-section-title{font-size:17px}
}

/* Light mode — corazÃ³n con mejor contraste */
.buyaca-app.bq-light-mode .bq-header-interest-btn{
    background:#ffffff;
    border-color:#e5e7eb;
    color:#374151;
}
.buyaca-app.bq-light-mode .bq-header-interest-btn:hover{
    background:var(--bq-primary-light);
    border-color:var(--bq-primary);
    color:var(--bq-primary);
}

/* === FIN MEJORAS v7.2 === */

/* ================================================================== */
/* === BUYACÁ v7.5 — FIX DEFINITIVO + NUEVOS PEDIDOS (Abr 2026)  === */
/* ================================================================== */

/* --- ANTI-OVERFLOW GLOBAL PARA TODAS LAS CARDS -------------------- */
/* Ningún texto se desborda de su contenedor. Se trunca con ... */
.bq-pc, .bq-pf-card, .bq-cv2-product-card, .bq-featured-card-v2,
.bq-home-card, .bq-cv2-card {
    overflow:hidden;
    min-width:0;
}
.bq-pc *, .bq-pf-card *, .bq-cv2-product-card *, .bq-home-card *{
    min-width:0;
}

/* Títulos: 1 línea con ellipsis (cards compactas) */
.bq-pf-name, .bq-pc-name, .bq-home-card-name, .bq-featured-v2-name{
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    display:block!important;
    -webkit-line-clamp:initial!important;
    -webkit-box-orient:initial!important;
    min-height:0!important;
}

/* Precios, ubicaciones, fechas — nowrap con ellipsis */
.bq-pf-price, .bq-pf-loc, .bq-pf-loc span, .bq-pf-date,
.bq-pc-price, .bq-pc-loc,
.bq-cv2-product-price, .bq-cv2-product-name, .bq-cv2-product-cat-label,
.bq-featured-v2-address, .bq-featured-v2-address span{
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    max-width:100%;
}

/* --- FEATURED (Productos Pautados) - SOLO ICONO ESTRELLA -------- */
/* El badge ahora es solo el ícono dorado, sin texto */
.bq-pf-row .bq-pf-badge{
    position:absolute;top:6px;left:6px;z-index:4;
    background:linear-gradient(135deg,#FFD700,#FFA500);
    color:#1a1a1a;
    padding:5px!important;
    border-radius:50%!important;
    width:22px;height:22px;
    display:inline-flex;align-items:center;justify-content:center;
    box-shadow:0 2px 8px rgba(255,170,0,0.45),inset 0 1px 0 rgba(255,255,255,0.5);
    line-height:1;
    font-size:0!important;
    gap:0!important;
    letter-spacing:0!important;
}
.bq-pf-row .bq-pf-badge svg{
    fill:#1a1a1a!important;
    flex-shrink:0;
    width:12px!important;height:12px!important;
    display:block;
}

/* --- HEADER OVERLAP - SOLUCIÓN ROBUSTA --------------------------- */
/* Aumentado a 220px en desktop para que nunca choque con las cards */
.bq-products-header ~ .bq-pf-zone,
#bq-products-topbar ~ .bq-pf-zone,
.buyaca-app .bq-pf-zone{padding-top:170px!important}
@media(min-width:768px){
    .bq-products-header ~ .bq-pf-zone,
    #bq-products-topbar ~ .bq-pf-zone,
    .buyaca-app .bq-pf-zone{padding-top:220px!important}
}
@media(max-width:560px){
    .bq-products-header ~ .bq-pf-zone,
    #bq-products-topbar ~ .bq-pf-zone,
    .buyaca-app .bq-pf-zone{padding-top:158px!important}
}

/* --- CARRUSEL 3 cards visibles con mejor diseño ------------------ */
.bq-pf-row{
    display:flex;gap:10px;
    overflow-x:auto;overflow-y:hidden;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;scrollbar-width:none;
    padding:4px 14px 22px;scroll-padding:14px;
    max-width:1400px;margin:0 auto;
}
.bq-pf-row::-webkit-scrollbar{display:none}

.bq-pf-row .bq-pf-card{
    flex:0 0 calc((100% - 20px) / 3);
    min-width:110px;max-width:200px;
    scroll-snap-align:start;scroll-margin-left:14px;
    border-radius:14px;overflow:hidden;position:relative;
    background:var(--bq-bg-card);
    border:1px solid var(--bq-border,rgba(0,0,0,0.06));
    cursor:pointer;
    display:flex;flex-direction:column;
    box-shadow:0 1px 6px rgba(0,0,0,0.05);
    transition:transform 0.3s cubic-bezier(0.22,1,0.36,1),box-shadow 0.3s,border-color 0.3s;
    isolation:isolate;
}
@media(min-width:560px){
    .bq-pf-row{gap:12px;padding:4px 16px 26px}
    .bq-pf-row .bq-pf-card{flex:0 0 calc((100% - 36px) / 4);max-width:220px}
}
@media(min-width:900px){
    .bq-pf-row{gap:14px;padding:4px 20px 28px}
    .bq-pf-row .bq-pf-card{flex:0 0 calc((100% - 56px) / 5);max-width:240px}
}
@media(min-width:1280px){
    .bq-pf-row .bq-pf-card{flex:0 0 calc((100% - 72px) / 6);max-width:220px}
}

.bq-pf-row .bq-pf-card:hover{
    transform:translateY(-4px);
    box-shadow:0 14px 28px rgba(255,107,53,0.18),0 6px 16px rgba(0,0,0,0.1);
}

.bq-pf-row .bq-pf-img-w{
    width:100%;aspect-ratio:1;position:relative;overflow:hidden;
    background:var(--bq-bg-elevated,#f3f4f6);
}
.bq-pf-row .bq-pf-img{
    width:100%;height:100%;object-fit:cover;
    transition:transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.bq-pf-row .bq-pf-card:hover .bq-pf-img{transform:scale(1.08)}

/* Info SIN espacio en blanco - padding mínimo + sin gap */
.bq-pf-row .bq-pf-info{padding:8px 10px!important;display:flex;flex-direction:column;gap:2px!important}
.bq-pf-row .bq-pf-price{
    font-size:14px!important;font-weight:800;color:var(--bq-primary);
    letter-spacing:-0.4px;line-height:1.1!important;margin:0!important;
}
@media(min-width:768px){.bq-pf-row .bq-pf-price{font-size:15px!important}}
/* Nombre: 1 línea con ... */
.bq-pf-row .bq-pf-name{
    font-size:11.5px!important;font-weight:600;color:var(--bq-text-primary);
    margin:0!important;line-height:1.25!important;
    white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
    display:block!important;min-height:0!important;
}
@media(min-width:768px){.bq-pf-row .bq-pf-name{font-size:12.5px!important}}
/* Meta compacta — sin border-top + sin margin */
.bq-pf-row .bq-pf-meta{
    display:flex;flex-wrap:nowrap;align-items:center;gap:4px;
    font-size:9.5px!important;color:var(--bq-text-secondary);
    padding-top:0!important;border-top:none!important;margin-top:1px!important;
    overflow:hidden;
}
.bq-pf-row .bq-pf-loc{display:inline-flex;align-items:center;gap:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;flex:1}
.bq-pf-row .bq-pf-loc svg{flex-shrink:0;color:var(--bq-primary);opacity:0.85;width:8px!important;height:8px!important}
.bq-pf-row .bq-pf-loc span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.bq-pf-row .bq-pf-date{font-size:8.5px;opacity:0.65;flex-shrink:0;display:none}
@media(min-width:560px){.bq-pf-row .bq-pf-date{display:inline-block}}

.bq-pf-row .bq-pf-dist-chip{
    position:absolute;bottom:4px;right:4px;z-index:4;
    background:rgba(0,0,0,0.65);color:#fff;
    font-size:9px;font-weight:700;padding:2px 6px;border-radius:999px;
    backdrop-filter:blur(8px);
}
.bq-pf-row .bq-product-status-badges{
    position:absolute;top:6px;right:6px;z-index:4;
    display:flex;flex-direction:column;gap:2px;align-items:flex-end;max-width:60%;
}
.bq-pf-row .bq-product-status-badge{
    font-size:8px;font-weight:800;letter-spacing:0.3px;
    padding:2px 6px;border-radius:999px;color:#fff;
    text-transform:uppercase;line-height:1;
    box-shadow:0 2px 4px rgba(0,0,0,0.25);white-space:nowrap;
    overflow:hidden;text-overflow:ellipsis;max-width:100%;
        margin-left: 25px;
}
.bq-pf-grid{display:none!important}

/* --- CATÁLOGO TABS: NO STICKY (se queda en su posición) ----------- */
.bq-cv2-tabs{
    position:relative!important;
    top:auto!important;
    z-index:auto!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
    box-shadow:none!important;
}

/* --- LOGO DEL NEGOCIO: centrado por defecto + ajuste fino vía CSS vars --- */
.buyaca-app .bq-cv2-logo{
    left:50%!important;
    right:auto!important;
    transform:translate(calc(-50% + var(--bq-logo-x, 0px)), var(--bq-logo-y, 0px))!important;
    overflow:visible!important; /* v7.2: permitir que el botón de upload sobresalga */
}
.bq-vc-layout-left .bq-cv2-logo{
    left:50%!important;
    transform:translate(calc(-50% + var(--bq-logo-x, 0px)), calc(-50% + var(--bq-logo-y, 0px)))!important;
}
/* v7.2: mantener el recorte circular/redondeado en el IMG, no en el contenedor */
.buyaca-app .bq-cv2-logo > img,
.buyaca-app .bq-cv2-logo > .bq-cv2-logo-placeholder{
    width:100%;height:100%;
    border-radius:inherit;
    overflow:hidden;
}
/* v7.2: botón upload que viaja junto al logo */
.buyaca-app .bq-cv2-logo-upload{
    transition:transform .15s ease, box-shadow .15s ease;
}
.buyaca-app .bq-cv2-logo-upload:hover{
    transform:scale(1.08);
    box-shadow:0 4px 14px rgba(0,0,0,0.35);
}

/* --- v11 · Redondear esquinas del bloque de información del negocio --- */
.buyaca-app .bq-vc-info-rounded .bq-cv2-info,
.buyaca-business-profile.bq-vc-info-rounded .bq-cv2-info {
    border-radius: var(--bq-info-radius, 20px) !important;
}

/* --- LOCALES DESTACADOS - badges controlados --------------------- */
.bq-featured-v2-top-badges{
    max-width:calc(100% - 80px)!important;
    gap:4px!important;
    overflow:hidden;
}
.bq-featured-v2-status{
    max-width:100%;white-space:nowrap;
    overflow:hidden;text-overflow:ellipsis;
    font-size:8.5px!important;padding:3px 7px!important;
    letter-spacing:0.3px!important;
}
.bq-featured-v2-name{
    white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
    max-width:100%;display:block!important;
}
.bq-featured-v2-address span{
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:inline-block;max-width:100%;
}

/* --- REDES SOCIALES CARRUSEL -------------------------------------- */
.buyaca-app .bq-cv2-socials{
    display:flex;flex-wrap:nowrap!important;
    overflow-x:auto;overflow-y:hidden;
    scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;
    scrollbar-width:none;gap:10px!important;
    padding:4px 2px 8px;margin:0 -4px 10px;
    -webkit-mask-image:linear-gradient(to right,transparent 0,#000 8px,#000 calc(100% - 24px),transparent 100%);
            mask-image:linear-gradient(to right,transparent 0,#000 8px,#000 calc(100% - 24px),transparent 100%);
}
.buyaca-app .bq-cv2-socials::-webkit-scrollbar{display:none}
.buyaca-app .bq-cv2-socials .bq-cv2-social-btn{flex:0 0 42px;scroll-snap-align:start;width:42px;height:42px;border-radius:14px}
@media(min-width:820px){
    .buyaca-app .bq-cv2-socials{flex-wrap:wrap!important;overflow:visible;-webkit-mask-image:none;mask-image:none}
}

/* Botones flotantes share/report ocultar al scroll */
.bq-cv2-header-actions{
    transition:opacity 0.35s cubic-bezier(0.22,1,0.36,1),transform 0.35s cubic-bezier(0.22,1,0.36,1),visibility 0.35s;
}
.bq-cv2-header-actions.bq-hide-on-scroll{
    opacity:0;transform:translateY(-8px) scale(0.92);visibility:hidden;pointer-events:none;
}

/* --- MODAL DE INTERESES siempre arriba ---------------------------- */
#bq-cart-modal.bq-modal-overlay{
    z-index:99999!important;position:fixed!important;inset:0!important;
    background:rgba(0,0,0,0.55)!important;
    backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);
    align-items:center;justify-content:center;padding:20px;
}
#bq-cart-modal .bq-cart-modal-content{
    animation:bq-cart-slide-in 0.3s cubic-bezier(0.22,1,0.36,1);
    max-width:520px;width:100%;max-height:85vh;
    background:#ffffff;border-radius:20px;overflow:hidden;
    display:flex;flex-direction:column;
    box-shadow:0 30px 80px rgba(0,0,0,0.45);
}
@keyframes bq-cart-slide-in{
    from{transform:translateY(30px) scale(0.96);opacity:0}
    to{transform:translateY(0) scale(1);opacity:1}
}
.bq-cart-empty-msg{padding:50px 20px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:12px}
.bq-cart-empty-msg-icon{font-size:54px;opacity:0.6;animation:bq-empty-float 3s ease-in-out infinite}
@keyframes bq-empty-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
.bq-cart-empty-msg-text{font-size:15px;font-weight:600;color:var(--bq-text-secondary)}

/* Card negocio spacing + precio naranja + pin dorado */
.bq-cv2-info{padding:22px 18px 16px!important}
.bq-cv2-name{letter-spacing:-0.7px}
.bq-cv2-product-price{color:var(--bq-primary)!important}
.bq-cv2-product-pinned-badge{
    background:linear-gradient(135deg,#FFD700,#FFA500)!important;
    color:#1a1a1a!important;
    box-shadow:0 3px 10px rgba(255,170,0,0.45)!important;
    border:1.5px solid rgba(255,255,255,0.4)!important;
}
.bq-cv2-product-pinned-badge svg{fill:#1a1a1a!important}
.bq-cv2-product-gallery-badge{
    background:rgba(0,0,0,0.6)!important;backdrop-filter:blur(6px);
    font-weight:700;padding:3px 8px!important;border-radius:999px!important;
    bottom:6px!important;right:6px!important;font-size:11px!important;
}

/* === FIN MEJORAS v7.5 === */

/* Advanced filters */
.bq-adv-panel{background:var(--bq-bg-card);border:1px solid var(--bq-border,rgba(0,0,0,0.06));border-radius:12px;padding:14px 16px;margin-top:8px}
.bq-adv-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}@media(max-width:640px){.bq-adv-grid{grid-template-columns:1fr 1fr}}@media(max-width:400px){.bq-adv-grid{grid-template-columns:1fr}}
.bq-adv-g{display:flex;flex-direction:column;gap:4px}.bq-adv-lbl{font-size:11px;font-weight:600;color:var(--bq-text-secondary);text-transform:uppercase;letter-spacing:0.5px}
.bq-adv-inp{padding:8px 12px;border-radius:8px;border:1px solid var(--bq-border,rgba(0,0,0,0.1));background:var(--bq-bg);font-size:13px;color:var(--bq-text);font-family:var(--bq-font-family);outline:none;transition:border-color 0.2s;width:100%;box-sizing:border-box}.bq-adv-inp:focus{border-color:var(--bq-primary)}
.bq-adv-clear{font-size:12px;color:var(--bq-primary);background:none;border:none;cursor:pointer;font-weight:600;padding:4px 8px}
/* Autocomplete */
.bq-prod-autocomplete{position:absolute;top:100%;left:0;right:0;background:var(--bq-bg-card);border-radius:0 0 12px 12px;box-shadow:0 8px 24px rgba(0,0,0,0.15);z-index:100;max-height:300px;overflow-y:auto;border:1px solid var(--bq-border,rgba(0,0,0,0.06));border-top:none}
.bq-prod-auto-item{display:flex;align-items:center;gap:10px;padding:10px 14px;cursor:pointer;transition:background 0.15s}.bq-prod-auto-item:hover{background:var(--bq-bg-elevated,rgba(0,0,0,0.03))}
.bq-prod-auto-thumb{width:40px;height:40px;border-radius:8px;object-fit:cover;flex-shrink:0}.bq-prod-auto-name{font-size:13px;font-weight:600;color:var(--bq-text-primary)}.bq-prod-auto-price{font-size:12px;font-weight:700;color:var(--bq-primary)}
/* Quick View Modal */
.bq-qv-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,0.6);z-index:10000;display:flex;align-items:center;justify-content:center;padding:16px;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
.bq-qv-modal{background:var(--bq-bg-card);border-radius:20px;max-width:560px;width:100%;max-height:90vh;overflow-y:auto;position:relative;box-shadow:0 20px 60px rgba(0,0,0,0.25);will-change:transform,opacity}
.bq-form-enter{transition:all 0.3s cubic-bezier(0.22,1,0.36,1)}
.bq-form-leave{transition:all 0.2s ease-in}
.bq-form-enter-start{opacity:0;transform:translateY(-12px) scale(0.98);max-height:0;overflow:hidden}
.bq-form-enter-end{opacity:1;transform:translateY(0) scale(1);max-height:2000px}
.bq-qv-enter{transition:all 0.15s cubic-bezier(0.22,1,0.36,1)}
.bq-qv-enter-start{opacity:0;transform:scale(0.95) translateY(10px)}
.bq-qv-enter-end{opacity:1;transform:scale(1) translateY(0)}
.bq-qv-leave{transition:all 0.1s ease-in}
.bq-qv-c{padding:0;position:relative}.bq-qv-gal{position:relative;border-radius:0px ;overflow:hidden;background:var(--bq-bg-elevated,#f3f4f6)}
/* Instagram-style horizontal scroll gallery */
.bq-qv-scroll{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;scroll-behavior:auto}
.bq-qv-scroll::-webkit-scrollbar{display:none}
.bq-qv-slide{flex:0 0 100%;width:100%;aspect-ratio:1;scroll-snap-align:start;scroll-snap-stop:always;cursor:zoom-in}
.bq-qv-slide-img{width:100%;height:100%;object-fit:cover;display:block}
/* Dot indicators */
.bq-qv-dots{display:flex;justify-content:center;gap:6px;padding:10px 0;position:absolute;bottom:8px;left:0;right:0;z-index:5;pointer-events:none}
.bq-qv-dot{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,0.4);transition:all 0.2s ease;pointer-events:auto}
.bq-qv-dot.active{background:#fff;transform:scale(1.2)}
.buyaca-app.bq-light-mode .bq-qv-dot{color:#fff;}
.buyaca-app.bq-light-mode .bq-qv-dot.active{color:#fff;}
.bq-qv-info{padding:16px 20px 8px}
.bq-qv-actions{display:none}
.bq-qv-float-actions{position:absolute;top:12px;left:12px;display:flex;flex-direction:column;gap:10px;z-index:10}
.bq-qv-float-btn{width:42px;height:42px;border-radius:50%;border:none;background:rgba(0,0,0,0.35);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all 0.2s cubic-bezier(0.22,1,0.36,1);color:#fff;box-shadow:0 2px 8px rgba(0,0,0,0.15)}
.bq-qv-float-btn:hover{transform:scale(1.1);background:rgba(0,0,0,0.5)}
.bq-qv-float-btn:active{transform:scale(0.92)}
.bq-qv-float-btn svg{stroke:#333!important; fill:none;transition:all 0.2s}
.bq-qv-interest-active{background:var(--bq-primary)!important;box-shadow:0 4px 16px rgba(255,107,53,0.4)!important}
.bq-qv-interest-active svg{stroke:#fff!important;fill:#fff!important}
.bq-qv-share-float svg{stroke:#fff}
/* Gallery arrows */
/* Gallery arrows and counter removed — using scroll-snap + dots */
/* Compact attributes with dots */
.bq-qv-attrs-line{display:flex;flex-wrap:wrap;align-items:center;gap:2px 0;padding:6px 0;font-size:13px;color:var(--bq-text-secondary);line-height:1.5}
.bq-qv-attr-item{display:inline-flex;align-items:center;white-space:nowrap}
.bq-qv-attr-dot{margin:0 6px;color:var(--bq-text-secondary);opacity:0.4;font-size:10px}
/* Sticky CTA */
.bq-qv-cta-sticky{position:sticky;bottom:0;left:0;right:0;padding:12px 16px 16px;background:linear-gradient(to top,var(--bq-bg-card) 80%,transparent);z-index:9}
.bq-qv-act-btn{width:36px;height:36px;border-radius:50%;border:1px solid var(--bq-border,rgba(0,0,0,0.1));background:var(--bq-bg);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all 0.2s;color:var(--bq-text-secondary)}.bq-qv-act-btn:hover{border-color:var(--bq-primary);color:var(--bq-primary)}
.bq-qv-fav-active{border-color:var(--bq-primary)!important;color:var(--bq-primary)!important;background:rgba(255,107,53,0.08)!important}
.bq-qv-name{font-size:20px;font-weight:700;margin:0 0 4px;color:var(--bq-text-primary);line-height:1.3}
.bq-qv-price{font-size:22px;font-weight:800;color:var(--bq-primary);margin-bottom:12px}
.bq-qv-meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:12px}
.bq-qv-cat{background:var(--bq-primary-light,rgba(255,107,53,0.1));color:var(--bq-primary);padding:3px 10px;border-radius:8px;font-size:11px;font-weight:600}
.bq-qv-loc{display:flex;align-items:center;gap:4px;font-size:12px;color:var(--bq-text-secondary)}
.bq-qv-dist{font-size:11px;font-weight:700;color:var(--bq-primary);background:rgba(255,107,53,0.1);padding:2px 8px;border-radius:6px}
.bq-qv-attrs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}.bq-qv-attr{font-size:11px;background:var(--bq-bg-elevated,#f3f4f6);padding:4px 10px;border-radius:8px;color:var(--bq-text-secondary)}.bq-qv-attr strong{color:var(--bq-text-primary);font-weight:600}
.bq-qv-desc{font-size:13px;color:var(--bq-text-secondary);line-height:1.6;margin:0 0 16px}
.bq-qv-biz{margin-bottom:12px}.bq-qv-biz-name{font-size:14px;font-weight:700;color:var(--bq-primary);text-decoration:none;display:block}.bq-qv-biz-name:hover{text-decoration:underline}
.bq-qv-cta-btn{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;padding:14px;background:var(--bq-primary);color:#fff;border:none;border-radius:12px;font-size:15px;font-weight:700;cursor:pointer;transition:background 0.2s;font-family:var(--bq-font-family)}.bq-qv-cta-btn:hover{background:var(--bq-primary-dark,#e55a28)}
/* Interest popup */
.bq-interest-popup{position:fixed;top:0;left:0;right:0;bottom:0;z-index:10001;background:rgba(0,0,0,0.5);display:flex;align-items:center;justify-content:center;padding:20px;backdrop-filter:blur(3px)}
.bq-interest-popup-box{background:var(--bq-bg-card);border-radius:20px;padding:32px 24px;text-align:center;max-width:340px;width:100%;box-shadow:0 20px 50px rgba(0,0,0,0.2)}
/* Image Zoom/Swipe Viewer */
.bq-imgzoom-overlay{position:fixed;top:0;left:0;right:0;bottom:0;z-index:10002;background:rgba(0,0,0,0.95);display:flex;align-items:center;justify-content:center;touch-action:none}
.bq-imgzoom-close{position:absolute;top:16px;right:16px;width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,0.1);border:none;color:#fff;font-size:24px;cursor:pointer;z-index:10;display:flex;align-items:center;justify-content:center;backdrop-filter:blur(8px)}
.bq-imgzoom-nav{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,0.1);border:none;color:#fff;font-size:28px;cursor:pointer;z-index:10;display:flex;align-items:center;justify-content:center;backdrop-filter:blur(8px)}.bq-imgzoom-prev{left:12px}.bq-imgzoom-next{right:12px}
.bq-imgzoom-body{width:100%;height:100%;display:flex;align-items:center;justify-content:center;overflow:hidden;touch-action:none}
.bq-imgzoom-img{max-width:100%;max-height:90vh;object-fit:contain;transition:transform 0.15s ease-out;will-change:transform;user-select:none;-webkit-user-drag:none}
.bq-imgzoom-hint{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);color:rgba(255,255,255,0.5);font-size:12px;text-align:center;pointer-events:none}
.bq-imgzoom-counter{position:absolute;top:20px;left:50%;transform:translateX(-50%);color:rgba(255,255,255,0.7);font-size:14px;font-weight:600;background:rgba(0,0,0,0.4);padding:4px 14px;border-radius:20px;backdrop-filter:blur(8px)}
/* Favorites tabs */
.bq-fav-tab{padding:12px 16px;border:none;background:var(--bq-bg);color:var(--bq-text-secondary);font-size:14px;font-weight:600;cursor:pointer;transition:all 0.2s;display:flex;align-items:center;justify-content:center;gap:6px;font-family:var(--bq-font-family)}
.bq-fav-tab-active{background:var(--bq-primary)!important;color:#fff!important}
/* ═══ END PRODUCTS CSS ═══ */

.bq-home-card {
    background: var(--bq-bg-card);
    border-radius: 18px;
    box-shadow: none;
    border: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
    transition: transform 0.35s, border-color 0.35s;
    position: relative;
}
.bq-home-card:hover {
    box-shadow: none;
    transform: translateY(-4px);
    border-color: rgba(255,107,53,0.12);
}
.bq-home-card-link { text-decoration: none !important; color: inherit !important; display: block; }
.bq-home-card-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: linear-gradient(145deg, #1e1e26, #14141a);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Logo display in cards - fills entire card frame */
.bq-home-card-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
}
.bq-home-card:hover .bq-home-card-logo-img { transform: scale(1.06); }

.bq-home-card-placeholder {
    font-size: 48px;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.15);
    width: 100%;
    height: 100%;
    background: var(--bq-bg-elevated);
}

/* Heart favorite button — left float */
.bq-home-card-heart {
    position: absolute;
    top: 9px; left: 9px;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.94);
    border: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: #bbb;
    box-shadow: 0 2px 10px rgba(0,0,0,0.18);
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    z-index: 3;
}
.bq-home-card-heart:hover { color: var(--bq-error); transform: scale(1.1); }
.bq-home-card-heart.active {
    color: var(--bq-error);
    background: rgba(255,255,255,0.97);
    animation: bq-heart-pop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}
.bq-home-card-heart.active svg { fill: var(--bq-error); }
.bq-home-card-heart svg { pointer-events: none; transition: fill 0.3s, transform 0.3s; width: 16px; height: 16px; fill: none; }

/* Share button — right float */
.bq-home-card-share {
    position: absolute;
    top: 9px;
    right: 9px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    box-shadow: 0 2px 10px rgba(0,0,0,0.18);
    transition: all 0.25s;
    z-index: 3;
}
.bq-home-card-share:hover { background: var(--bq-primary); color: white; transform: scale(1.1); }

/* Card body */
.bq-home-card-body { padding: 10px 12px 12px; }

/* Metadata row: ciudad + categoria */
.bq-home-card-meta-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}
.bq-home-card-location-pill {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    color: var(--bq-text-secondary);
    white-space: nowrap;
}
.bq-home-card-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    color: var(--bq-text-secondary);
    white-space: nowrap;
}
.bq-home-card-cat-pill svg { opacity: 0.6; }

/* Rating row with stars */
.bq-home-card-rating-row {
    display: flex;
    align-items: center;
    gap: 6px;
}
.bq-home-card-stars {
    display: flex;
    gap: 1px;
}
.bq-home-card-reviews-count {
    font-size: 11px;
    color: var(--bq-text-secondary);
    font-weight: 500;
}

/* Premium badge */
.bq-badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    background: linear-gradient(135deg, rgba(255,215,0,0.15), rgba(255,165,0,0.1));
    color: #FFD700;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
    vertical-align: middle;
    border: 1px solid rgba(255,215,0,0.2);
    letter-spacing: 0.02em;
}

/* Light mode card overrides */
.buyaca-app.bq-light-mode .bq-home-card {
    background: #ffffff;
    border-color: #e8e8e8;
    box-shadow: none;
}
.buyaca-app.bq-light-mode .bq-home-card:hover {
    box-shadow: none;
}
.buyaca-app.bq-light-mode .bq-home-card-image-wrap {
    background: linear-gradient(145deg, #f3f4f6, #e5e7eb);
}
.buyaca-app.bq-light-mode .bq-home-card-share {
    background: rgba(255,255,255,0.95);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.buyaca-app.bq-light-mode .bq-home-card-heart {
    background: rgba(255,255,255,0.95);
    color: #c0c0c0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* PROFILE CARDS: Modern social-profile style for recommended     */
.bq-profile-card {
    background: var(--bq-bg-card);
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid var(--bq-border);
    transition: transform 0.35s;
    position: relative;
}
.bq-profile-card:hover {
    box-shadow: none;
    transform: translateY(-3px);
}
.bq-profile-card-link {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
}

/* Banner */
.bq-profile-card-banner {
    position: relative;
    width: 100%;
    height: 90px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bq-bg-elevated), var(--bq-bg-surface));
}
.bq-profile-card-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.bq-profile-card:hover .bq-profile-card-banner-img { transform: scale(1.06); }

/* [v8.1] Estrella dorada pautado en card profile */
.bq-profile-card-feat-star {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,215,0,0.95), rgba(255,165,0,0.95));
    border: 1.5px solid rgba(184,134,11,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255,193,7,0.5), inset 0 1px 0 rgba(255,255,255,0.3);
    z-index: 5;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.bq-profile-card-feat-star svg {
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

/* [v8.6] Estrella mini para tarjetas del grid "Descubre lo mejor cerca de ti".
   Reescrita: por defecto SIEMPRE oculta. Solo se muestra cuando Alpine inyecta
   la clase `is-featured` (vía :class="biz.is_featured ? 'is-featured' : ''").
   Antes se usaba [style*="display:none"], que era frágil porque el elemento
   ya tenía un style inline con background y border-color, y Alpine concatenaba
   display:none al final — el selector funcionaba pero dependía del orden y
   formato exactos de la propiedad inyectada. Ahora es robusto al 100%. */
.bq-profile-card-feat-star-mini,
.buyaca-app .bq-profile-card-feat-star-mini {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    left: auto !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg,#FFD700,#FFA500) !important;
    border: 1.5px solid rgba(184,134,11,0.6) !important;
    box-shadow: 0 4px 12px rgba(255,193,7,0.5), inset 0 1px 0 rgba(255,255,255,0.3) !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 6 !important;
    pointer-events: none;
    display: none !important;          /* OCULTO por defecto */
}
.bq-profile-card-feat-star-mini.is-featured,
.buyaca-app .bq-profile-card-feat-star-mini.is-featured {
    display: flex !important;          /* Solo visible si Alpine añade la clase */
}
.bq-profile-card-feat-star-mini svg {
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

/* Action buttons on banner */
.bq-profile-card-action {
    position: absolute;
    top: 8px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(0,0,0,0.35);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    z-index: 3;
    transition: all 0.25s;
}
.bq-profile-card-action:hover { background: rgba(0,0,0,0.55); transform: scale(1.08); }
.bq-profile-card-heart { left: 8px; }
.bq-profile-card-heart.active { color: var(--bq-error); }
.bq-profile-card-heart.active svg { fill: var(--bq-error); }
.bq-profile-card-share { right: 8px; }

/* Logo centered on divider */
.bq-profile-card-logo-wrap {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--bq-bg-card);
    background: var(--bq-bg-elevated);
    position: relative;
    margin: -28px auto 0;
    z-index: 4;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.bq-profile-card-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.bq-profile-card-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bq-bg-surface);
}

/* Divider */
.bq-profile-card-divider {
    height: 1px;
    background: var(--bq-border);
    margin: 0 16px;
}

/* Body */
.bq-profile-card-body {
    padding: 10px 14px 14px;
    text-align: center;
}
.bq-profile-card-name {
    font-family: var(--bq-font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--bq-text-primary);
    margin: 0 0 6px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bq-profile-card-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.bq-profile-card-pill {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    color: var(--bq-text-secondary);
    white-space: nowrap;
}
.bq-profile-card-pill svg { opacity: 0.6; }

/* Footer: rating + open/closed */
.bq-profile-card-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.bq-profile-card-rating {
    display: flex;
    align-items: center;
    gap: 2px;
}
.bq-profile-card-rating span {
    font-size: 11px;
    color: var(--bq-text-secondary);
    margin-left: 4px;
    font-weight: 500;
}

/* Open / Closed status badge */
.bq-profile-card-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 8px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.bq-profile-card-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}
.bq-profile-card-status.open {
    background: rgba(16,185,129,0.1);
    color: #10B981;
}
.bq-profile-card-status.open::before { background: #10B981; box-shadow: 0 0 6px rgba(16,185,129,0.4); }
.bq-profile-card-status.closed {
    background: rgba(239,68,68,0.08);
    color: #EF4444;
}
.bq-profile-card-status.closed::before { background: #EF4444; }

/* Light mode profile cards */
.buyaca-app.bq-light-mode .bq-profile-card {
    background: #fff;
    border-color: #e8e8e8;
    box-shadow: none;
}
.buyaca-app.bq-light-mode .bq-profile-card:hover {
    box-shadow: none;
}
.buyaca-app.bq-light-mode .bq-profile-card-banner {
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
}
.buyaca-app.bq-light-mode .bq-profile-card-logo-wrap {
    border-color: #fff;
    background: #f3f4f6;
}
.buyaca-app.bq-light-mode .bq-profile-card-name { color: #1a1a1a; }
.buyaca-app.bq-light-mode .bq-profile-card-divider { background: #eee; }

/* PREMIUM CTA BUTTON — on business profile page                  */
.bq-premium-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--bq-primary), #FF8F5E);
    color: #fff !important;
    font-family: var(--bq-font-display);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    text-align: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255,107,53,0.35);
    transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
    margin-bottom: 4px;
}
.bq-premium-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255,107,53,0.45);
}
.bq-premium-cta-btn:active { transform: scale(0.98); }

/* Spinner */
.bq-home-spinner {
    width: 36px; height: 36px;
    border: 3px solid rgba(255,255,255,0.08);
    border-top-color: var(--bq-primary);
    border-radius: 50%;
    animation: bq-spin 0.7s linear infinite;
    margin: 0 auto;
}
@keyframes bq-spin { to { transform: rotate(360deg); } }

/* BOTÓN VER MÁS CON SPINNER DE CARGA ANIMADO                    */
.bq-load-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 36px;
    border: 1.5px solid rgba(255,107,53,0.3);
    border-radius: 100px;
    background: rgba(255,107,53,0.08);
    color: var(--bq-primary);
    font-size: 14px;
    font-weight: 700;
    font-family: var(--bq-font-family);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 210px;
    box-shadow: 0 2px 10px rgba(255,107,53,0.1);
}
.bq-load-more-btn:hover {
    background: var(--bq-primary);
    color: white;
    border-color: var(--bq-primary);
    box-shadow: 0 4px 20px rgba(255,107,53,0.3);
    transform: translateY(-2px);
}
.bq-load-more-spinner-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.bq-load-more-spinner {
    animation: bq-spin 0.8s linear infinite;
}

/* CTA: REGISTRAR NEGOCIO CARD                                     */
.bq-cta-register-card {
    background: linear-gradient(135deg, rgba(255,107,53,0.1), rgba(255,107,53,0.03));
    border: 1.5px solid rgba(255,107,53,0.15);
    border-radius: 20px;
    padding: 36px 24px;
    text-align: center;
    margin-top: 24px;
    position: relative;
    overflow: hidden;
}
.bq-cta-register-card::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 50%;
    height: 120%;
    background: radial-gradient(ellipse, rgba(255,107,53,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.bq-cta-register-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(255,107,53,0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.bq-cta-register-title {
    color: var(--bq-text-primary);
    margin: 0 0 8px;
    font-family: var(--bq-font-display);
    font-size: 22px;
    font-weight: 800;
}
.bq-cta-register-text {
    color: var(--bq-text-secondary);
    margin: 0 0 22px;
    font-family: var(--bq-font-family);
    font-size: 14px;
    line-height: 1.5;
}
.bq-cta-register-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--bq-primary), var(--bq-primary-dark));
    color: white !important;
    padding: 13px 30px;
    border-radius: 100px;
    font-family: var(--bq-font-display);
    font-weight: 800;
    font-size: 14px;
    text-decoration: none !important;
    box-shadow: 0 4px 16px rgba(255,107,53,0.3);
    transition: all 0.3s;
    letter-spacing: 0.2px;
}
.bq-cta-register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255,107,53,0.4);
}

/* STICKY SEARCH HEADER (elegant slide animation)                 */
@keyframes bq-sticky-slide-down {
    0%   { transform: translateY(-100%); opacity: 0; }
    60%  { transform: translateY(4px); opacity: 1; }
    80%  { transform: translateY(-2px); }
    100% { transform: translateY(0); }
}
@keyframes bq-sticky-slide-up {
    0%   { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(-100%); opacity: 0; }
}
.bq-sticky-search {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    padding: 10px 16px;
    background: rgba(13,13,15,0.92);
    box-shadow: 0 4px 24px rgba(0,0,0,0.4);
    transform: translateY(-100%);
    opacity: 0;
    transition: none;
    will-change: transform, opacity;
}
.bq-sticky-search.visible {
    animation: bq-sticky-slide-down 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.bq-sticky-search.hiding {
    animation: bq-sticky-slide-up 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.bq-sticky-search-inner {
    display: flex; gap: 10px; align-items: center;
    max-width: 600px; margin: 0 auto;
}
.bq-sticky-search-bar {
    flex: 1;
    position: relative;
    background: rgba(255,255,255,0.08);
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: box-shadow var(--bq-transition);
    overflow: visible;
}
.bq-sticky-search-bar:focus-within {
    box-shadow: 0 2px 12px rgba(255,107,53,0.15);
    border-color: rgba(255,107,53,0.3);
}
.bq-sticky-search-icon {
    position: absolute; left: 12px; top: 50%;
    transform: translateY(-50%);
    color: var(--bq-text-secondary); pointer-events: none;
    display: flex;
}
.bq-sticky-search-input {
    width: 100%;
    padding: 10px 12px 10px 38px;
    border: none;
    border-radius: 100px;
    font-size: 14px;
    font-family: var(--bq-font-family);
    background: transparent;
    outline: none;
    color: #ffffff;
}
h2.space {
    padding-left: 0px;
}
/* BANNER LOGO FADE ON SCROLL                                     */
.bq-home-logo-wrap {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* BANNER SLIDER / CAROUSEL                                       */
.bq-banner-slider {
    position: relative;
    width: 100%;

    border-radius: 0 0 20px 20px;
    min-height: 200px;
}
/* Fade mode for text-only banner */
.bq-banner-fade { min-height: 220px; }
.bq-banner-fade .bq-banner-fade-track {
    position: relative;
    width: 100%;
    min-height: 220px;
}
.bq-banner-fade .bq-fade-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1);
    pointer-events: none;
}
.bq-banner-fade .bq-fade-slide.active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
 border-radius: 0 0 20px 20px;
}
.bq-banner-fade .bq-banner-slide-title {
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -0.5px;
    line-height: 1.15;
}
@media (max-width: 480px) {
    .bq-banner-fade .bq-banner-slide-title { font-size: 24px; }
}
.bq-banner-track {
    display: flex;
    width: 100%;
    transition: transform 0.55s cubic-bezier(0.4,0,0.2,1);
}
.bq-banner-slide {
    flex: 0 0 100%;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 48px 24px 80px;
    text-align: center;
    position: relative;
}
.bq-banner-slide-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.38) 100%);
}
/* Image-based slides */
.bq-slide-has-image {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}
.bq-slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    transition: opacity 0.4s ease;
    border-radius: 0 0 20px 20px;
}
.bq-banner-slide-content {
    position: relative; z-index: 2;
}
.bq-banner-slide-title {
    font-size: 28px; font-weight: 900;
    color: white; margin: 0 0 10px;
    text-shadow: 0 2px 16px rgba(0,0,0,0.2);
    letter-spacing: -0.5px;
    line-height: 1.15;
}
.bq-banner-slide-sub {
    font-size: 15px; color: rgba(255,255,255,0.88);
    margin: 0; text-shadow: 0 1px 6px rgba(0,0,0,0.15);
    font-weight: 400;
    letter-spacing: 0.02em;
}
.bq-banner-slide-tag {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 100px;
    padding: 5px 16px;
    font-size: 12px; font-weight: 600;
    color: white;
    margin-bottom: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
/* Dots nav */
.bq-banner-dots {
    position: absolute; bottom: 74px; left: 50%;
    transform: translateX(-50%);
    display: flex; gap: 6px; z-index: 10;
}
.bq-banner-fade .bq-banner-dots {
    bottom: 10px;
}
.bq-banner-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
    border: none; padding: 0;
}
.bq-banner-dot.active {
    background: var(--bq-bg-card); width: 20px; border-radius: 4px;
}
/* Arrow buttons */
.bq-banner-arrow {
    position: absolute; top: 50%;
    transform: translateY(-50%);
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: white; font-size: 18px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 10;
    transition: all var(--bq-transition);
    line-height: 1;
}
.bq-banner-arrow:hover { background: rgba(255,255,255,0.35); transform: translateY(-50%) scale(1.08); }
.bq-banner-arrow-prev { left: 12px; }
.bq-banner-arrow-next { right: 12px; }
@media (max-width: 480px) { .bq-banner-arrow { display: none; } }


/* HOME CARD address & barrio (legacy — kept for search/other pages) */
.bq-home-card-address {
    font-size: 11px; color: var(--bq-text-secondary);
    margin-bottom: 2px; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
    display: flex; gap: 3px; align-items: center;
}
.bq-home-card-barrio {
    font-size: 10.5px; color: var(--bq-text-secondary);
    margin-bottom: 6px;
}
.bq-home-card-name {
    font-family: var(--bq-font-display);
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 4px;
    line-height: 1.3;
    color: #ffffff;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bq-home-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}
.bq-home-card-rating { font-size: 12px; color: var(--bq-text-secondary); }
.bq-home-card-btn {
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--bq-primary), var(--bq-primary-dark));
    color: white !important;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(255,107,53,0.25);
    transition: all 0.2s;
}
.bq-home-card-btn:hover { opacity: 0.92; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255,107,53,0.35); }
.bq-home-card-cat {
    font-size: 11.5px;
    color: var(--bq-text-secondary);
    margin-bottom: 8px;
}

.buyaca-hero {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, rgba(255,107,53,0.06), rgba(0,0,0,0.1));
    border-radius: var(--bq-radius-lg);
    margin-bottom: 32px;
    border: 1px solid rgba(255,255,255,0.04);
}
.buyaca-hero-title {
    font-size: 32px;
    font-weight: 900;
    margin: 0 0 8px;
    background: linear-gradient(135deg, var(--bq-primary), #e55a2a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.buyaca-hero-subtitle {
    font-size: 16px;
    color: var(--bq-text-secondary);
    margin: 0 0 24px;
}

/* Search */
.buyaca-search-input-wrapper {
    position: relative;
}
.buyaca-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    pointer-events: none;
}
.buyaca-search-input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 100px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s;
    background: rgba(255,255,255,0.04);
    color: var(--bq-text);
}
.buyaca-search-input:focus {
    outline: none;
    border-color: var(--bq-primary);
    box-shadow: 0 0 0 4px rgba(255,107,53,0.12);
    background: rgba(255,255,255,0.06);
}

/* Autocomplete */
.buyaca-autocomplete {
    position: absolute;
    top: calc(100% + 8px);
    left: -10px;
    right: -10px;
    background: rgba(26,26,31,0.96);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    margin-top: 0;
    max-height: 420px;
    overflow-y: auto;
    box-shadow:
        0 12px 48px rgba(0,0,0,0.5),
        0 4px 16px rgba(0,0,0,0.3),
        0 0 0 1px rgba(255,255,255,0.04);
    z-index: 1000;
    display: none;
    padding: 8px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
}
.buyaca-autocomplete::-webkit-scrollbar { width: 4px; }
.buyaca-autocomplete::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.1); border-radius: 4px; }
.buyaca-autocomplete.active { display: block; animation: bq-fade-up 0.2s ease-out; }
.buyaca-autocomplete-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    cursor: pointer;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    transition: background 0.15s, transform 0.15s;
    text-decoration: none !important;
    color: inherit !important;
    border-radius: 12px;
    margin: 0 8px;
}
.buyaca-autocomplete-item:last-child { border-bottom: none; }
.buyaca-autocomplete-item:hover {
    background: linear-gradient(135deg, rgba(255,107,53,0.08), rgba(255,107,53,0.03));
    transform: translateX(3px);
}
.buyaca-autocomplete-item img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Filter buttons */
.buyaca-filter-btn {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bq-bg-card);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--bq-text);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s;
}
.buyaca-filter-btn:hover,
.buyaca-filter-btn.active {
    background: var(--bq-primary);
    color: white;
    border-color: var(--bq-primary);
}

.buyaca-grid {
    display: grid;
    gap: 16px;
}
.buyaca-grid-2 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.buyaca-grid-3 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.buyaca-grid-4 { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

@media (max-width: 768px) {
    .buyaca-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (min-width: 769px) {
    .buyaca-grid-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1000px) {
    .buyaca-grid-4 { grid-template-columns: repeat(4, 1fr); gap: 18px; }
}
@media (min-width: 1300px) {
    .buyaca-grid-4 { grid-template-columns: repeat(5, 1fr); gap: 20px; }
}

/* Business Card */
.buyaca-business-card {
    background: var(--bq-bg-card);
    border-radius: var(--bq-radius);
    overflow: hidden;
    box-shadow: var(--bq-shadow-sm);
    transition: transform var(--bq-transition), box-shadow var(--bq-transition);
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
}
.buyaca-business-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.4);
}
.buyaca-business-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.buyaca-business-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--bq-bg-secondary);
    overflow: hidden;
}
.buyaca-business-card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--bq-transition);
}
.buyaca-business-card:hover .buyaca-business-card-image img {
    transform: scale(1.04);
}
.buyaca-verified-badge {
    position: absolute;
    top: 8px; right: 8px;
    background: linear-gradient(135deg, #10B981, #059669);
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px; font-weight: 700;
    box-shadow: 0 2px 8px rgba(16,185,129,0.3);
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
}
/* Heart favorite button — SVG icon */
.buyaca-card-favorite-btn {
    position: absolute;
    top: 8px; left: 8px;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--bq-transition);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    color: rgba(255,255,255,0.6);
    z-index: 3;
}
.buyaca-card-favorite-btn svg {
    transition: fill 0.25s, stroke 0.25s, transform 0.25s;
    pointer-events: none;
    width: 18px; height: 18px;
    fill: none; /* ← CRITICAL: forzar outline cuando NO tiene .active */
}
.buyaca-card-favorite-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
    color: var(--bq-error);
}
.buyaca-card-favorite-btn.active {
    color: var(--bq-error);
    background: rgba(239,68,68,0.15);
    animation: bq-heart-pop 0.4s ease both;
}
.buyaca-card-favorite-btn.active svg {
    fill: var(--bq-error);
    stroke: var(--bq-error);
}
.buyaca-business-card-body { padding: 14px; }
.buyaca-business-card-title {
    font-size: 15px; font-weight: 700;
    margin: 0 0 4px; line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--bq-transition);
}
.buyaca-business-card:hover .buyaca-business-card-title { color: var(--bq-primary); }
.buyaca-business-card-category {
    font-size: 11px; color: var(--bq-primary);
    background: var(--bq-primary-light);
    padding: 2px 8px; border-radius: 12px;
    display: inline-block; margin-bottom: 6px;
    font-weight: 600;
}
/* Address & barrio row */
.buyaca-card-address {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    font-size: 11.5px;
    color: var(--bq-text-secondary);
    margin-bottom: 4px;
    line-height: 1.3;
}
.buyaca-card-address svg { flex-shrink:0; margin-top:1px; }
.buyaca-card-barrio {
    font-size: 11px;
    color: var(--bq-text-secondary);
    margin-bottom: 8px;
    display: flex; gap: 4px; align-items: center;
}
.buyaca-business-card-description {
    font-size: 13px; color: var(--bq-text-secondary);
    margin: 0 0 10px; line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.buyaca-business-card-footer {
    display: flex;
    justify-content: space-between; align-items: center;
    font-size: 12px;
}
.buyaca-business-card-rating {
    display: flex; align-items: center;
    gap: 4px; font-weight: 600;
}
.buyaca-business-card-rating span { color: var(--bq-text-secondary); font-weight: 400; }

/* Buttons */
.buyaca-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--bq-transition);
    text-decoration: none;
    border: none;
    letter-spacing: 0.01em;
    white-space: nowrap;
}
.buyaca-btn-primary {
    background: linear-gradient(135deg, var(--bq-primary), var(--bq-primary-dark));
    color: white;
    box-shadow: 0 2px 8px rgba(255,107,53,0.25);
}
.buyaca-btn-primary:hover {
    background: linear-gradient(135deg, var(--bq-primary-dark), #cc4d20);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255,107,53,0.35);
    color: white;
}
.buyaca-btn-primary:active { transform: translateY(0); }
.buyaca-btn-outline {
    background: var(--bq-bg-card);
    color: var(--bq-text);
    border: 1.5px solid rgba(255,255,255,0.1);
}
.buyaca-btn-outline:hover {
    border-color: var(--bq-primary);
    color: var(--bq-primary);
    background: rgba(255,107,53,0.08);
}
.buyaca-btn-ghost {
    background: transparent;
    color: var(--bq-text-secondary);
}
.buyaca-btn-ghost:hover { background: rgba(255,255,255,0.04); color: var(--bq-text); }
.buyaca-btn-social {
    background: var(--bq-bg-card);
    color: var(--bq-text);
    border: 1.5px solid rgba(255,255,255,0.08);
    font-size: 13px;
}
.buyaca-btn-sm  { padding: 7px 16px; font-size: 13px; border-radius: 100px; }
.buyaca-btn-lg  { padding: 14px 30px; font-size: 16px; }
.buyaca-btn-block { width: 100%; justify-content: center; }
.buyaca-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* Forms */
.buyaca-form { max-width: 600px; }
.buyaca-form-section {
    background: var(--bq-bg-card);
    border-radius: var(--bq-radius);
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,0.06);
}
.buyaca-form-section-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--bq-primary);
}
.buyaca-form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
@media (max-width: 640px) {
    .buyaca-form-row { grid-template-columns: 1fr; }
}
.buyaca-form-group {
    margin-bottom: 16px;
}
.buyaca-form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--bq-text);
}
.buyaca-form-label .required {
    color: var(--bq-error);
}
.buyaca-form-input,
.buyaca-form-select,
.buyaca-form-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--bq-radius-sm);
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s;
    background: rgba(255,255,255,0.04);
    color: var(--bq-text);
}
.buyaca-form-input:focus,
.buyaca-form-select:focus,
.buyaca-form-textarea:focus {
    outline: none;
    border-color: var(--bq-primary);
    box-shadow: 0 0 0 3px rgba(255,107,53,0.15);
    background: rgba(255,255,255,0.06);
}
.buyaca-form-select option { background: var(--bq-bg-card); color: var(--bq-text); }
.buyaca-form-hint {
    font-size: 12px;
    color: var(--bq-text-secondary);
    margin-top: 4px;
}
.buyaca-form-counter {
    font-size: 12px;
    color: var(--bq-text-secondary);
    text-align: right;
    margin-top: 4px;
}

/* Empty state */
.buyaca-empty {
    text-align: center;
    padding: 60px 20px;
}
.buyaca-empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
}
.buyaca-empty-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px;
}
.buyaca-empty-text {
    font-size: 14px;
    color: var(--bq-text-secondary);
    margin: 0 0 20px;
}

/* Bottom Nav */
.buyaca-bottom-nav {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: rgba(16,16,18,0.97);
    backdrop-filter: blur(24px) saturate(1.6);
    -webkit-backdrop-filter: blur(24px) saturate(1.6);
    border-top: 1px solid rgba(255,255,255,0.07);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 4px max(10px, env(safe-area-inset-bottom));
    z-index: 100;
    box-shadow: none;
    border-radius: 20px 20px 0 0;
}
.buyaca-bottom-nav-item {
    display: flex; flex-direction: column;
    align-items: center; gap: 3px;
    color: var(--bq-text-secondary);
    text-decoration: none;
    padding: 5px 10px 3px;
    transition: color var(--bq-transition), transform var(--bq-transition);
    flex: 1; max-width: 72px;
    border-radius: 12px;
    position: relative;
}
/* Active top-line indicator */
.buyaca-bottom-nav-item::before {
    content: '';
    position: absolute; top: -1px;
    left: 50%; transform: translateX(-50%);
    width: 0; height: 3px;
    background: var(--bq-primary);
    border-radius: 0 0 4px 4px;
    transition: width 0.3s cubic-bezier(0.4,0,0.2,1);
}
.buyaca-bottom-nav-item.active::before { width: 24px; }
.buyaca-bottom-nav-item.active { color: var(--bq-primary); }
.buyaca-bottom-nav-item:active { transform: scale(0.92); opacity: 0.8; }
.buyaca-bottom-nav-item:hover { color: var(--bq-primary); }
.buyaca-bottom-nav-icon {
    width: 24px; height: 24px;
    display: flex; align-items: center; justify-content: center;
    transition: transform var(--bq-transition);
}
.buyaca-bottom-nav-item.active .buyaca-bottom-nav-icon { transform: scale(1.12); }
.buyaca-bottom-nav-icon svg { width: 22px; height: 22px; }
.buyaca-bottom-nav-label { font-family: var(--bq-font-display); font-size: 9.5px; font-weight: 700; letter-spacing: 0.02em; }

/* PROFILE SECTION: fix button overflow                          */
.bq-profile-header-card {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255,107,53,0.08), rgba(255,107,53,0.02));
    border-radius: 20px;
    border: 1px solid rgba(255,107,53,0.1);
}
.bq-profile-avatar {
    width: 68px; height: 68px;
    border-radius: 50%;
    border: 3px solid var(--bq-primary);
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255,107,53,0.2);
}
.bq-profile-header-info { min-width: 0; }
.bq-profile-greeting {
    font-size: 18px; font-weight: 700;
    margin: 0 0 3px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bq-profile-email {
    font-size: 13px;
    color: var(--bq-text-secondary);
    margin: 0;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* Tabs — pill style, horizontal scroll on mobile */
.bq-profile-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
}
.bq-profile-tabs::-webkit-scrollbar { display: none; }
.bq-profile-tab {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--bq-font-family);
    border: 1.5px solid rgba(255,255,255,0.08);
    background: var(--bq-bg-card);
    color: var(--bq-text-secondary);
    cursor: pointer;
    transition: all var(--bq-transition);
    white-space: nowrap;
}
.bq-profile-tab svg { flex-shrink: 0; transition: stroke var(--bq-transition); }
.bq-profile-tab:hover {
    border-color: var(--bq-primary);
    color: var(--bq-primary);
    background: rgba(255,107,53,0.08);
}
.bq-profile-tab.active {
    background: var(--bq-primary);
    border-color: var(--bq-primary);
    color: white;
    box-shadow: 0 3px 10px rgba(255,107,53,0.3);
}
.bq-profile-tab.active svg { stroke: white; }
.bq-tab-badge {
    background: rgba(255,255,255,0.3);
    border-radius: 100px;
    padding: 1px 7px;
    font-size: 11px;
    font-weight: 700;
}
.bq-profile-tab:not(.active) .bq-tab-badge {
    background: var(--bq-primary-light);
    color: var(--bq-primary);
}
/* v7.3.2: Badge en modo alerta (invitaciones pendientes) — siempre con texto blanco
   sobre fondo naranja, incluso cuando el tab no está activo. */
.bq-profile-tab .bq-tab-badge--alert,
.bq-profile-tab:not(.active) .bq-tab-badge--alert {
    background: #FF6B35 !important;
    color: #fff !important;
    font-weight: 800;
    box-shadow: 0 0 0 2px rgba(255,107,53,0.18);
    animation: bqBadgePulse 1.8s ease-in-out infinite;
}
@keyframes bqBadgePulse {
    0%,100% { transform: scale(1); }
    50%     { transform: scale(1.08); }
}
.bq-profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}
.bq-profile-actions .buyaca-btn {
    flex: 1 1 auto;
    min-width: 130px;
    max-width: 100%;
    justify-content: center;
}
@media (max-width: 400px) {
    .bq-profile-actions .buyaca-btn { flex: 1 1 100%; }
    /* 5-item bottom nav fits on very small screens */
    .buyaca-bottom-nav-item { padding: 4px 4px; max-width: 64px; }
    .buyaca-bottom-nav-label { font-size: 8.5px; }
    .buyaca-bottom-nav-icon svg { width: 20px; height: 20px; }
    .bq-featured-v2-name { font-size: 16px; }
    .bq-featured-v2-wa-btn { font-size: 12px; padding: 11px 14px; letter-spacing: 0.3px; }
    .bq-featured-v2-address { font-size: 12px; }
    .bq-cta-register-title { font-size: 19px; }
    .bq-cta-register-text { font-size: 13px; }
}

/* BRAND TOPBAR — logo over banner                               */
.bq-brand-topbar {
    position: fixed;
    z-index: 10;
}
.bq-brand-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 12px;
}
.bq-brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}
.bq-brand-logo-icon {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--bq-primary), var(--bq-primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(255,107,53,0.3);
    flex-shrink: 0;
}
.bq-brand-wordmark {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.bq-brand-name {
    font-size: 17px;
    font-weight: 800;
    color: var(--bq-text-primary);
    letter-spacing: -0.3px;
    font-family: var(--bq-font-family);
    background: linear-gradient(135deg, var(--bq-primary), var(--bq-primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.bq-brand-tagline {
    font-size: 10px;
    color: var(--bq-text-secondary);
    font-weight: 500;
    letter-spacing: 0.04em;
}
.bq-brand-topbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.bq-brand-action-btn {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--bq-bg-secondary);
    color: var(--bq-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all var(--bq-transition);
    border: 1px solid var(--bq-border-light);
}
.bq-brand-action-btn:hover {
    background: var(--bq-primary-light);
    color: var(--bq-primary);
    border-color: rgba(255,107,53,0.2);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(255,107,53,0.15);
}
.bq-brand-topbar-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 100px;
    background: linear-gradient(135deg, var(--bq-primary), var(--bq-primary-dark));
    color: white !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--bq-font-family);
    transition: all var(--bq-transition);
    box-shadow: 0 2px 8px rgba(255,107,53,0.25);
}
.bq-brand-topbar-login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(255,107,53,0.4);
}
/* Sticky logo pill inside sticky search bar */
.bq-sticky-logo-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    font-weight: 800;
    font-size: 14px;
    color: white;
    font-family: var(--bq-font-family);
    letter-spacing: 0.3px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
/* Adjust sticky search inner to accommodate logo pill */
.bq-sticky-search-inner {
    display: flex; gap: 10px; align-items: center;
    max-width: 700px; margin: 0 auto;
}

/* HOME GRID: responsive columns                                 */

/* CATALOG V2 — Perfil social moderno, compacto, alta conversión   */

/* Botones flotantes (Volver + Favorito) */
.bq-float-btn {
    position: fixed;
    top: 16px;
    z-index: 9999;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(13,13,15,0.82);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    
    transition: all 0.22s cubic-bezier(0.4,0,0.2,1);
}
.bq-float-btn:hover { transform: scale(1.08); box-shadow: 0 6px 20px rgba(0,0,0,0.5); }
.bq-float-btn--back { left: 14px; }
.bq-float-btn--fav  { right: 14px; }
.bq-float-btn--fav.active { color: var(--bq-primary); background: rgba(255,107,53,0.15); border-color: rgba(255,107,53,0.25); }
.bq-float-btn--fav.active svg { fill: var(--bq-primary); }

/* Banner wrap + logo midpoint */
.bq-cv2-banner-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 20px;
    overflow: visible;
}
/* [v8.8.4] REVERT v8.8.3 sticky banner — el banner NO debe ser sticky en el catálogo
 * del usuario. Se vuelve al comportamiento natural: el banner hace scroll junto con
 * el contenido del catálogo y desaparece al subir la página. */
.bq-cv2-banner {
    width: 100%;
    height: 145px;
    max-height: 200px;
    background: linear-gradient(135deg, #1e1e28 0%, #0d0d12 100%);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}
.bq-cv2-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media (min-width: 480px) { .bq-cv2-banner { height: 220px; max-height: 220px; } }
.bq-cv2-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.42) 70%, rgba(13,13,15,0.82) 100%);
}
.bq-cv2-banner-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,107,53,0.07) 0%, rgba(13,13,15,0.9) 100%);
}
.bq-cv2-logo {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 88px;
    height: 88px;
    border-radius: 50%;
    overflow: hidden;
    border: 3.5px solid var(--bq-primary);
    background: var(--bq-bg-elevated);

    z-index: 10;
}
.bq-cv2-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bq-cv2-logo-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--bq-bg-elevated); }

/* Info section */
.bq-cv2-info {
    background: var(--bq-bg);
    padding: 35px 16px 14px;
    position: relative;
    z-index: 5;
    margin-top: -34px;
    border-radius: 15px;
}
.bq-cv2-name-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 5px;
}
.bq-cv2-name-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.bq-cv2-name {
    font-family: var(--bq-font-display);
    font-size: 21px;
    font-weight: 800;
    color: var(--bq-text-primary);
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.3px;
}
.bq-cv2-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(16,185,129,0.15), rgba(5,150,105,0.08));
    color: #10B981;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid rgba(16,185,129,0.25);
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
}
.bq-cv2-verified-badge::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px; right: -1px; bottom: -1px;
    border-radius: 20px;
    background: linear-gradient(135deg, #10B981, #059669);
    opacity: 0.1;
    z-index: -1;
}

/* ── Badge Icons System ── */
.bq-badge-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 20px; height: 20px; flex-shrink: 0; cursor: help;
    transition: transform 0.2s, filter 0.2s;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15));
}
.bq-badge-icon:hover { transform: scale(1.25); filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3)); }
.bq-badge-icon svg { width: 16px; height: 16px; }
.bq-badge-icon--profile { width: 22px; height: 22px; }
.bq-badge-icon--profile svg { width: 18px; height: 18px; }
.bq-cv2-badges-row { display: inline-flex; align-items: center; gap: 3px; margin-left: 2px; }
.bq-cv2-header-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.bq-cv2-icon-btn {
    width: 32px; height: 32px;
    border-radius: 10px;
    background: var(--bq-bg-card);
    border: 1px solid var(--bq-border);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; text-decoration: none;
    transition: all 0.2s;
    color: var(--bq-text-secondary);
}
.bq-cv2-icon-btn--edit  { color: var(--bq-primary); background: var(--bq-primary-light); border-color: rgba(255,107,53,0.2); }
.bq-cv2-icon-btn:hover  { transform: scale(1.08); box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.bq-cv2-icon-btn--edit:hover { background: rgba(255,107,53,0.2); }
.bq-cv2-icon-btn--share { color: var(--bq-primary); background: var(--bq-primary-light); border-color: rgba(255,107,53,0.2); }
.bq-cv2-icon-btn--share:hover { background: rgba(255,107,53,0.2); }

/* ── Dark Mode Toggle Switch ── */
.bq-dark-toggle-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 44px;
    height: 24px;
    cursor: pointer;
    margin-left: 4px;
}
.bq-dark-toggle-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.bq-dark-toggle-slider {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 100px;
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.15), 0 1px 4px rgba(0,0,0,0.1);
}
.bq-dark-toggle-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    top: 3px;
    background: white;
    border-radius: 50%;
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    z-index: 2;
}
bq-cv2-cta.bq-cv2-cta--default {
color: var(--bq-primary);
}
.bq-dark-toggle-switch input:checked + .bq-dark-toggle-slider {
    background: linear-gradient(135deg, #3b4f7a 0%, #1e2a4a 100%);
}
.bq-dark-toggle-switch input:checked + .bq-dark-toggle-slider::before {
    transform: translateX(20px);
}
.bq-dark-toggle-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    transition: opacity 0.3s;
}
.bq-dark-toggle-sun  { left: 6px;  color: #fff; }
.bq-dark-toggle-moon { right: 6px; color: #cbd5e1; }
.bq-dark-toggle-switch input:not(:checked) ~ .bq-dark-toggle-slider .bq-dark-toggle-moon { opacity: 0.3; }
.bq-dark-toggle-switch input:checked ~ .bq-dark-toggle-slider .bq-dark-toggle-sun { opacity: 0.3; }
.bq-cv2-meta-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 9px; font-size: 12.5px; }
.bq-cv2-rating { display: inline-flex; align-items: center; gap: 3px; }
.bq-cv2-rating-score { font-weight: 700; color: var(--bq-primary); font-size: 13px; font-family: var(--bq-font-display); }
.bq-cv2-rating-count { color: var(--bq-text-secondary); font-size: 11.5px; }
.bq-cv2-meta-sep { color: var(--bq-text-secondary); opacity: 0.4; font-size: 11px; }
.bq-cv2-status {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 100px; letter-spacing: 0.3px;
}
.bq-cv2-status::before { content: ''; width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
.bq-cv2-status.open  { background: rgba(16,185,129,0.1); color: #10B981; }
.bq-cv2-status.open::before  { background: #10B981; box-shadow: 0 0 5px rgba(16,185,129,0.5); }
.bq-cv2-status.closed { background: rgba(239,68,68,0.08); color: #EF4444; }
.bq-cv2-status.closed::before { background: #EF4444; }
.bq-cv2-cat { font-size: 11.5px; color: var(--bq-primary); font-weight: 600; background:
color-mix(in srgb, var(--bq-primary) 10%, transparent);
    padding: 2px 8px;
    border-radius: 8px;}
.bq-cv2-description { font-size: 13px; line-height: 1.55; color: var(--bq-text-secondary); margin: 0 0 9px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bq-cv2-detail-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.bq-cv2-detail-item { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--bq-text-secondary); min-width: 0; }
.bq-cv2-detail-item span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
.bq-cv2-socials { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.bq-cv2-social-btn {
    width: 34px; height: 34px; border-radius: 10px;
    background:
color-mix(in srgb, var(--bq-primary) 10%, transparent);
    color: var(--bq-primary); display: flex; align-items: center; justify-content: center;
    text-decoration: none; transition: all 0.2s; flex-shrink: 0;
}
.bq-cv2-social-btn:hover { background: var(--bq-primary); color: white; border-color: var(--bq-primary); transform: translateY(-2px);  }
.bq-cv2-cta-wrap { padding: 2px 0 0; }
.bq-cv2-cta {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    width: 100%; padding: 12px 20px; border-radius: 14px;
    background: linear-gradient(135deg, var(--bq-primary), var(--bq-primary-dark));
    color: white; font-family: var(--bq-font-display); font-size: 14px; font-weight: 700;
    text-decoration: none !important; border: none; cursor: pointer;

    transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
}
.bq-cv2-cta:hover  { transform: translateY(-2px);  }
.bq-cv2-cta:active { transform: scale(0.98);  }

/* ═══ STICKY CTA — only for client view (not admin) ═══ */
/* [v9.0.4] Rediseño premium: el botón fijo inferior ocupa ~30% del viewport
   (no todo el ancho), perfectamente centrado, con glassmorphism suave,
   hover elegante y transiciones fluidas. En móvil se adapta al ancho. */
.bq-cv2-cta-wrap.bq-cta-sticky {
    position: fixed;
    bottom: max(14px, env(safe-area-inset-bottom, 14px));
    left: 50%;
    transform: translateX(-50%);
    z-index: 90;
    width: 30vw;
    min-width: 280px;
    max-width: 420px;
    padding: 0;
    animation: bq-cta-slide-in 0.32s cubic-bezier(0.22,0.61,0.36,1);
}
.bq-cv2-cta-wrap.bq-cta-sticky .bq-cv2-cta {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--bq-primary) 90%, transparent),
        color-mix(in srgb, var(--bq-primary-dark) 90%, transparent));
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.22), 0 2px 6px rgba(0,0,0,0.16),
                inset 0 1px 0 rgba(255,255,255,0.18);
    transition: transform 0.22s cubic-bezier(0.4,0,0.2,1), box-shadow 0.22s ease;
}
.bq-cv2-cta-wrap.bq-cta-sticky .bq-cv2-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 38px rgba(0,0,0,0.28), 0 4px 10px rgba(0,0,0,0.2),
                inset 0 1px 0 rgba(255,255,255,0.24);
}
.bq-cv2-cta-wrap.bq-cta-sticky .bq-cv2-cta:active {
    transform: translateY(-1px) scale(0.99);
}
@media (max-width: 720px) {
    .bq-cv2-cta-wrap.bq-cta-sticky {
        width: calc(100% - 28px);
        min-width: 0;
        max-width: 460px;
    }
}
@keyframes bq-cta-slide-in {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.bq-cv2-tabs {
    display: flex; background: var(--bq-bg-card);
    border-bottom: 2px solid var(--bq-border-light); overflow-x: auto; scrollbar-width: none;
    position: sticky; top: 0; z-index: 20;
}
.bq-cv2-tabs::-webkit-scrollbar { display: none; }
.bq-cv2-tab {
    flex: 1; min-width: max-content; padding: 13px 16px;
    background: none; border: none; border-bottom: 2.5px solid transparent;
    font-size: 13px; font-weight: 600; color: var(--bq-text-secondary); cursor: pointer;
    transition: all 0.22s; white-space: nowrap; display: flex; align-items: center; gap: 6px; justify-content: center;
    font-family: var(--bq-font-family);
}
.bq-cv2-tab.active, .bq-cv2-tab:hover { color: var(--bq-primary); border-bottom-color: var(--bq-primary); }
.bq-cv2-tab-count { background:
color-mix(in srgb, var(--bq-primary) 10%, transparent);
    padding: 2px 8px;
    border-radius: 8px; color: var(--bq-primary); font-size: 10.5px; font-weight: 700; padding: 1px 6px; border-radius: 100px; }
.bq-cv2-tab.active .bq-cv2-tab-count { background: var(--bq-primary); color: white; }
.bq-cv2-tab-content { background: var(--bq-bg); padding: 0 12px 0px; max-width: 1200px; margin: 0 auto; }
.bq-cv2-filters { display: flex; gap: 7px; overflow-x: auto; padding: 12px 0 6px; scrollbar-width: none; flex-wrap: wrap; align-items: center; }
.bq-cv2-filters::-webkit-scrollbar { display: none; }

/* v7.3.0 — Slider horizontal de categorías del catálogo del negocio.
   Wrapper con flechas laterales + scroll-snap + fade edges. */
.bq-cat-slider-wrap{
    position:relative;
    padding:8px 0 0px;
  
}
.bq-cat-slider-wrap::before,
.bq-cat-slider-wrap::after{
    content:'';
    position:absolute;
    top:12px;bottom:8px;
    width:28px;
    pointer-events:none;
    z-index:2;
    transition:opacity .2s;
}
.bq-cat-slider-wrap::before{
    left:0;
    background:linear-gradient(90deg, var(--bq-bg) 0%, rgba(0,0,0,0) 100%);
}
.bq-cat-slider-wrap::after{
    right:0;
    background:linear-gradient(270deg, var(--bq-bg) 0%, rgba(0,0,0,0) 100%);
}
.bq-cat-slider-wrap.at-start::before{opacity:0}
.bq-cat-slider-wrap.at-end::after{opacity:0}

.bq-cat-slider{
    display:flex;
    gap:8px;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-behavior:smooth;
    scroll-snap-type:x proximity;
    padding:4px 40px;
    scrollbar-width:none;
    -ms-overflow-style:none;
    flex-wrap:nowrap !important;
    width:100%;
}
.bq-cat-slider::-webkit-scrollbar{display:none}
.bq-cat-slider .bq-cv2-cat-pill{
    scroll-snap-align:start;
    flex:0 0 auto;
}

/* Flechas de navegación del slider */
.bq-cat-slider-nav{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:34px;
    height:34px;
    border-radius:50%;
    background:var(--bq-bg-card);
    border:1px solid var(--bq-border);
    color:var(--bq-text-primary);
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    z-index:3;
    box-shadow:0 2px 10px rgba(0,0,0,0.1);
    transition:all .2s ease;
    opacity:0;
    pointer-events:none;
}
.bq-cat-slider-wrap:hover .bq-cat-slider-nav{ opacity:1; pointer-events:auto; }
.bq-cat-slider-nav:hover{
    background:var(--bq-primary);
    color:#fff;
    border-color:transparent;
    transform:translateY(-50%) scale(1.08);
}
.bq-cat-slider-prev{left:4px}
.bq-cat-slider-next{right:4px}
.bq-cat-slider-wrap.at-start .bq-cat-slider-prev,
.bq-cat-slider-wrap.at-end .bq-cat-slider-next{
    opacity:0 !important;
    pointer-events:none !important;
}
/* En móvil, las flechas siempre visibles pero más pequeñas */
@media (max-width: 768px){
    .bq-cat-slider-nav{
        opacity:1;pointer-events:auto;
        width:30px;height:30px;
        /* [v8.8.3] FIX contraste: forzar fondo oscuro sólido + flecha blanca con shadow,
         * antes el fondo blanco-semi y el color heredado quedaban iguales en modo oscuro
         * y la flecha era invisible. */
        background:rgba(0,0,0,0.55) !important;
        color:#fff !important;
        border-color:rgba(255,255,255,0.18) !important;
        backdrop-filter:blur(6px);
        -webkit-backdrop-filter:blur(6px);
        box-shadow:0 2px 8px rgba(0,0,0,0.35);
    }
    .bq-cat-slider-nav svg{
        filter: drop-shadow(0 1px 1px rgba(0,0,0,0.4));
    }
    .bq-cat-slider-nav:hover{
        background:var(--bq-primary,#FF6B35) !important;
        color:#fff !important;
    }
    .bq-cat-slider-prev{left:2px}
    .bq-cat-slider-next{right:2px}
    .bq-cat-slider{padding:4px 32px}
    .bq-cat-slider-wrap::before,
    .bq-cat-slider-wrap::after{width:20px}
}

/* ── Category Pills — Hermoso fondo resaltado ── */
.bq-cv2-cat-pills {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 4px 0;
    width: 100%;
    flex-wrap: nowrap;
}
.bq-cv2-cat-pills::-webkit-scrollbar { display: none; }
.bq-cv2-cat-pill {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 18px;
    border-radius: 100px;
    border: 1.5px solid var(--bq-border);
    background: var(--bq-bg-card);
    color: var(--bq-text-secondary);
    font-family: var(--bq-font-display);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    white-space: nowrap;
    letter-spacing: 0.2px;
    position: relative;
    overflow: hidden;
}
.bq-cv2-cat-pill::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 100px;
    opacity: 0;
    background: linear-gradient(135deg, var(--bq-primary), #ff8a50);
    transition: opacity 0.3s;
}
.bq-cv2-cat-pill:hover {
    border-color: rgba(255,107,53,0.4);
    color: var(--bq-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(255,107,53,0.15);
}
.bq-cv2-cat-pill.active {
    background: linear-gradient(135deg, var(--bq-primary), #ff7b3a);
    color: white;
    border-color: transparent;

    font-weight: 700;
}
.bq-cv2-cat-pill.active:hover {
    transform: translateY(-1px);

    color: white;
}
.bq-cv2-cat-pill.active svg { stroke: white; }
.buyaca-app.bq-light-mode .bq-cv2-cat-pill { background: #f8f9fb; border-color: #e5e7eb; color: #6b7280; }
.buyaca-app.bq-light-mode .bq-cv2-cat-pill:hover { color: var(--bq-primary); border-color: rgba(255,107,53,0.35); background: #fff4ef; }
.buyaca-app.bq-light-mode .bq-cv2-cat-pill.active { background: var(--bq-primary); color: white; border-color: transparent; }
.bq-cv2-filter-select {
    flex-shrink: 0; appearance: none; -webkit-appearance: none;
    background: var(--bq-bg-card); border: 1px solid var(--bq-border);
    color: var(--bq-text-secondary); border-radius: 10px; padding: 7px 30px 7px 12px;
    font-size: 12.5px; font-family: var(--bq-font-family); font-weight: 500; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 10px center; transition: border-color 0.2s;
}
.bq-cv2-filter-select:focus { outline: none; border-color: var(--bq-primary); box-shadow: 0 0 0 3px rgba(255,107,53,0.1); }
.bq-cv2-product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding-top: 8px; }
@media (min-width: 768px) { .bq-cv2-product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .bq-cv2-product-grid { grid-template-columns: repeat(3, 1fr); } }
.bq-cv2-product-card {
    background: var(--bq-bg-card); border-radius: 0; overflow: hidden;
    border: none; box-shadow: none;
    border-right: 1px solid var(--bq-border-light, rgba(255,255,255,0.06));
    border-bottom: 1px solid var(--bq-border-light, rgba(255,255,255,0.06));
    transition: transform 0.28s cubic-bezier(0.4,0,0.2,1), box-shadow 0.28s;
    cursor: pointer; position: relative;
}
.bq-cv2-product-card:nth-child(3n) { border-right: none; }
.bq-cv2-product-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,107,53,0.1); }
.bq-cv2-product-img { position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; background: linear-gradient(145deg, #1e1e26, #14141a); }
.bq-img-shimmer::before { content:''; position:absolute; inset:0; z-index:1; background:linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.04) 50%, transparent 100%); background-size:200% 100%; animation:bq-shimmer 1.2s ease infinite; }
@keyframes bq-shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }
.bq-cv2-product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.25,0.1,0.25,1), opacity 0.4s ease; display: block; opacity: 1; }
.bq-cv2-product-card:hover .bq-cv2-product-img img { transform: scale(1.08); }
.bq-cv2-product-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.bq-cv2-product-gallery-badge { position: absolute; bottom: 6px; right: 6px; background: rgba(0,0,0,0.55); color: white; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 100px; display: flex; align-items: center; gap: 3px; pointer-events: none; }
.bq-cv2-product-pinned-badge { position: absolute; top: 6px; left: 6px; display: flex; align-items: center; justify-content: center; pointer-events: none; filter: drop-shadow(0 1px 3px rgba(0,0,0,0.4)); }
.bq-dash-pin-btn { color: var(--bq-text-secondary); transition: all 0.2s; }
.bq-dash-pin-btn.bq-pinned-active { color: #FF6B35; background: rgba(255,107,53,0.1); border-color: rgba(255,107,53,0.3); }
.bq-dash-pin-btn:hover { color: #FF6B35; }

/* ── Video Play Button (on product cards) ── */
/* v12.3: Movido a la derecha y z-index elevado para no colisionar con
   .bq-product-status-badges ni con .bq-cv2-product-pinned-badge (ambos en top:6px;left:6px). */
.bq-video-play-btn {
    position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border-radius: 50%;
    background: var(--bq-primary); border: 2px solid rgba(255,255,255,0.4);
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    transition: all 0.25s ease; z-index: 5; padding: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.bq-video-play-btn:hover { transform: scale(1.12); background: var(--bq-primary-dark); }
.bq-video-play-btn svg { margin-left: 1px; }

/* ── Video Inline Button (in info tab) ── */
.bq-video-inline-btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px;
    background: var(--bq-primary-light); border: 1px solid var(--bq-primary);
    border-radius: 12px; color: var(--bq-text-primary); font-size: 13px; font-weight: 600;
    font-family: var(--bq-font-family); cursor: pointer; transition: all 0.2s ease;
}
.bq-video-inline-btn:hover { background: var(--bq-primary); color: #fff; border-color: var(--bq-primary); transform: translateY(-1px); }

/* ── Video Modal Overlay ── */
.bq-video-modal {
    position: fixed; inset: 0; z-index: 100010; display: none;
    align-items: center; justify-content: center; padding: 16px;
    background: rgba(0,0,0,0.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    animation: bqVideoFadeIn 0.25s ease;
}
.bq-video-modal.active { display: flex; }
@keyframes bqVideoFadeIn { from { opacity: 0; } to { opacity: 1; } }
.bq-video-modal-content {
    position: relative; width: 100%; max-width: 640px; border-radius: 18px;
    overflow: hidden; background: #000; box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    animation: bqVideoSlideUp 0.3s cubic-bezier(0.4,0,0.2,1);
}
@keyframes bqVideoSlideUp { from { opacity: 0; transform: translateY(24px) scale(0.96); } to { opacity: 1; transform: none; } }
.bq-video-modal-content iframe {
    width: 100%; aspect-ratio: 16/9; border: none; display: block;
}
.bq-video-modal-close {
    position: absolute; top: -40px; right: 0; width: 34px; height: 34px;
    border-radius: 50%; background: rgba(255,255,255,0.12); border: none;
    color: white; font-size: 22px; cursor: pointer; display: flex;
    align-items: center; justify-content: center; transition: all 0.2s;
}
.bq-video-modal-close:hover { background: rgba(255,255,255,0.25); transform: scale(1.1); }
.bq-cv2-product-body { padding: 9px 10px 11px; }
.bq-cv2-product-name { font-family: var(--bq-font-display); font-size: 13px; font-weight: 700; color: var(--bq-text-primary); margin-bottom: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.3; }
.bq-cv2-product-name--minimal { font-family: var(--bq-font-family); font-size: 12.5px; font-weight: 300; letter-spacing: 0.2px; color: var(--bq-text-primary); line-height: 1.35; margin-bottom: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bq-cv2-product-cat-label { font-family: var(--bq-font-family); font-size: 10px; font-weight: 400; color: var(--bq-text-secondary); letter-spacing: 0.3px; text-transform: uppercase; opacity: 0.7; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.bq-cv2-product-attr { font-size: 10px; color: var(--bq-text-secondary); opacity: 0.6; margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bq-cv2-product-date { font-size: 10px; color: var(--bq-text-secondary); opacity: 0.5; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bq-product-status-badges { position: absolute; top: 6px; left: 6px; display: flex; flex-wrap: wrap; gap: 4px; z-index: 3; }
.bq-product-status-badge { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 10px; font-weight: 700; color: #fff; letter-spacing: 0.3px; text-transform: uppercase; line-height: 1.4; box-shadow: 0 2px 6px rgba(0,0,0,0.25); }
.bq-spinner-inline { display: inline-block; width: 14px; height: 14px; border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: bq-spin 0.6s linear infinite; vertical-align: middle; }
@keyframes bq-spin { to { transform: rotate(360deg); } }
.bq-cv2-product-desc { font-size: 11px; color: var(--bq-text-secondary); margin-bottom: 5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; }
.bq-cv2-product-price { font-size: 13px; font-weight: 800; color: var(--bq-primary); font-family: var(--bq-font-display); margin-bottom: 7px; }
.bq-cv2-product-btn {
    display: flex; align-items: center; justify-content: center; gap: 5px; width: 100%;
    padding: 7px 6px; border-radius: 10px; font-size: 11px; font-weight: 700; font-family: var(--bq-font-family);
    border: 1.5px solid rgba(255,107,53,0.3); background: rgba(255,107,53,0.06); color: var(--bq-primary);
    cursor: pointer; transition: all 0.2s cubic-bezier(0.4,0,0.2,1); text-decoration: none;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 32px;
}
.bq-cv2-product-btn svg { flex-shrink: 0; }
.bq-cv2-product-btn.bq-custom-url-btn { font-size: clamp(8px, 2.5vw, 12px); }
.bq-cv2-product-btn:hover { background: var(--bq-primary); color: white; border-color: var(--bq-primary); box-shadow: 0 4px 14px rgba(255,107,53,0.3); transform: translateY(-1px); }
.bq-cv2-product-btn--primary { background: var(--bq-primary); color: white !important; border-color: var(--bq-primary); box-shadow: 0 2px 8px rgba(255,107,53,0.25); }
.bq-cv2-product-btn.bq-added, .bq-add-to-cart.bq-added { background: var(--bq-primary) !important; color: white !important; border-color: var(--bq-primary) !important; pointer-events: none;  }
.bq-cv2-info-blocks { padding-top: 12px; display: flex; flex-direction: column; gap: 8px; margin-bottom: 20%; }
.bq-cv2-info-block { display: flex; align-items: flex-start; gap: 12px; background: var(--bq-bg-card); border-radius: 14px; padding: 13px 15px; border: 1px solid var(--bq-border-light); }
.bq-cv2-info-block-icon { width: 34px; height: 34px; border-radius: 10px; background:
color-mix(in srgb, var(--bq-primary) 10%, transparent);
    padding: 2px 8px;
    border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--bq-primary); }
.bq-cv2-info-block-content { flex: 1; min-width: 0; }
.bq-cv2-info-block-label { font-size: 11px; color: var(--bq-text-secondary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 3px; }
.bq-cv2-info-block-value { font-size: 14px; font-weight: 500; color: var(--bq-text-primary); line-height: 1.4; }
.bq-cv2-info-link { color: var(--bq-primary) !important; text-decoration: none; }
.bq-cv2-location-card:hover { border-color: var(--bq-primary); background: linear-gradient(135deg, rgba(255,107,53,0.12), rgba(78,205,196,0.1)) !important; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,107,53,0.15); }
.bq-cv2-schedule-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--bq-primary); padding: 6px 12px; background: rgba(255,107,53,0.08); border-radius: 10px; margin-top: 2px; }
.bq-cv2-schedule-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--bq-primary); box-shadow: 0 0 6px rgba(255,107,53,0.5); flex-shrink: 0; }
.bq-cv2-schedule-list { margin-top: 4px; }
.bq-cv2-schedule-row { display: flex; justify-content: space-between; padding: 3px 0; font-size: 13px; border-bottom: 1px solid var(--bq-border-light); }
.bq-cv2-schedule-row:last-child { border-bottom: none; }
.bq-cv2-schedule-row span:first-child { color: var(--bq-text-secondary); }
.bq-cv2-schedule-row span:last-child  { font-weight: 600; color: var(--bq-text-primary); }
.bq-cv2-review-cta { padding: 12px 0 8px; }
.bq-cv2-review-form { background: var(--bq-bg-card); border-radius: 16px; border: 1px solid var(--bq-border-light); padding: 16px; margin: 12px 0; }
.bq-cv2-review-done { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--bq-primary); background: rgba(255,107,53,0.08); border-radius: 12px; padding: 12px 16px; margin: 12px 0; }
.bq-cv2-reviews-list { padding-top: 8px; }
.bq-cv2-review { display: flex; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--bq-border-light); }
.bq-cv2-review:last-child { border-bottom: none; }
.bq-cv2-review-avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--bq-border); }
.bq-cv2-review-body { flex: 1; min-width: 0; }
.bq-cv2-review-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 5px; }
.bq-cv2-review-author  { font-size: 13px; font-weight: 700; color: var(--bq-text-primary); }
.bq-cv2-review-actions { display: flex; align-items: center; gap: 6px; }
.bq-cv2-review-time    { font-size: 11px; color: var(--bq-text-secondary); }
.bq-cv2-review-del { background: none; border: none; cursor: pointer; color: var(--bq-text-secondary); padding: 2px; display: flex; transition: color 0.2s; }
.bq-cv2-review-del:hover { color: var(--bq-error); }
.bq-cv2-review-text { font-size: 13px; color: var(--bq-text-secondary); line-height: 1.5; margin: 0; }
.bq-cv2-empty { text-align: center; padding: 48px 20px 32px; }
.bq-cv2-empty-icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,107,53,0.06); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.bq-cv2-empty-title { font-size: 16px; font-weight: 700; color: var(--bq-text-primary); margin: 0 0 6px; }
.bq-cv2-empty-text  { font-size: 13px; color: var(--bq-text-secondary); margin: 0; line-height: 1.5; }

.buyaca-app.bq-light-mode .bq-cv2-info  { background: #f8f9fa; }
.buyaca-app.bq-light-mode .bq-cv2-product-card { background: #fff; border: none; box-shadow: none; border-right: 1px solid #f0f0f0; border-bottom: 1px solid #f0f0f0; }
.buyaca-app.bq-light-mode .bq-cv2-product-card:nth-child(3n) { border-right: none; }
.buyaca-app.bq-light-mode .bq-cv2-product-img { background: linear-gradient(145deg, #f3f4f6, #e5e7eb); }
.buyaca-app.bq-light-mode .bq-img-shimmer::before { background: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.03) 50%, transparent 100%); background-size: 200% 100%; animation: bq-shimmer 1.2s ease infinite; }
.buyaca-app.bq-light-mode .bq-cv2-info-block { background: #fff; border-color: #eee; }
.buyaca-app.bq-light-mode .bq-cv2-filter-select { background: #fff; border-color: #e5e7eb; color: #374151; }
.buyaca-app.bq-light-mode .bq-cv2-tabs { background: #fff; }
.buyaca-app.bq-light-mode .bq-cv2-product-name { color: #1a1a1a; }
.buyaca-app.bq-light-mode .bq-cv2-tab-content { background: #f8f9fa; }
.buyaca-app.bq-light-mode .bq-float-btn { background: rgba(255,255,255,0.9); color: #333; border-color: #ddd; }
.buyaca-business-profile { padding-bottom: 0; }
.buyaca-business-header { background: var(--bq-bg); padding: 20px; position: relative; z-index: 5; }

.buyaca-business-name {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 8px;
    color: #ffffff;
}
.buyaca-business-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 8px;
    align-items: center;
    color: var(--bq-text-secondary);
}
.buyaca-business-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.buyaca-business-description {
    font-size: 14px;
    color: var(--bq-text-secondary);
    line-height: 1.5;
    margin: 12px 0;
}
/* ── Carrusel de botones de acción ── */
.bq-actions-carousel-wrap {
    margin-top: 20px;
    margin-left: -20px;
    margin-right: -20px;
    position: relative;
}
.bq-actions-carousel-wrap::before,
.bq-actions-carousel-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 24px;
    z-index: 2;
    pointer-events: none;
}
.bq-actions-carousel-wrap::before {
    left: 0;
    background: linear-gradient(to right, var(--bq-bg), transparent);
}
.bq-actions-carousel-wrap::after {
    right: 0;
    background: linear-gradient(to left, var(--bq-bg), transparent);
}
.bq-actions-carousel {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 8px 24px 12px;
    cursor: grab;
    user-select: none;
}
.bq-actions-carousel::-webkit-scrollbar { display: none; }
.bq-actions-carousel.is-dragging { cursor: grabbing; }

/* Tarjeta individual */
.bq-action-card {
    flex-shrink: 0;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 80px;
    padding: 14px 6px 12px;
    border-radius: 18px;
    text-decoration: none !important;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    color: rgba(255,255,255,0.7) !important;
    -webkit-tap-highlight-color: transparent;
}
.bq-action-card:active {
    transform: scale(0.94);
    box-shadow: 0 1px 6px rgba(0,0,0,0.3);
}
.bq-action-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.bq-action-card:hover .bq-action-card__icon {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}
.bq-action-card__label {
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
    color: rgba(255,255,255,0.6);
    font-size: 10.5px;
}

/* Colores por red — dark theme */
/* ── Redes sociales: unicolor naranja uniforme ── */
.bq-action-card--whatsapp,
.bq-action-card--maps,
.bq-action-card--instagram,
.bq-action-card--facebook,
.bq-action-card--tiktok,
.bq-action-card--twitter,
.bq-action-card--web { color: var(--bq-primary) !important; }

.bq-action-card--whatsapp .bq-action-card__icon,
.bq-action-card--maps .bq-action-card__icon,
.bq-action-card--instagram .bq-action-card__icon,
.bq-action-card--facebook .bq-action-card__icon,
.bq-action-card--tiktok .bq-action-card__icon,
.bq-action-card--twitter .bq-action-card__icon,
.bq-action-card--web .bq-action-card__icon {
    background: linear-gradient(135deg, var(--bq-primary), var(--bq-primary-dark));
    color: white;
    border: none;
    box-shadow: 0 4px 14px rgba(255,107,53,0.3);
}

.bq-action-card--whatsapp .bq-action-card__label,
.bq-action-card--maps .bq-action-card__label,
.bq-action-card--instagram .bq-action-card__label,
.bq-action-card--facebook .bq-action-card__label,
.bq-action-card--tiktok .bq-action-card__label,
.bq-action-card--twitter .bq-action-card__label,
.bq-action-card--web .bq-action-card__label { color: var(--bq-primary); }

/* Tabs */
.buyaca-tabs {
    display: flex;
    background: var(--bq-bg-card);
    border-bottom: 2px solid var(--bq-border-light);
    overflow-x: auto;
    scrollbar-width: none;
}
.buyaca-tabs::-webkit-scrollbar { display: none; }
.buyaca-tab {
    flex: 1;
    min-width: max-content;
    padding: 14px 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 14px;
    font-weight: 600;
    color: var(--bq-text-secondary);
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}
.buyaca-tab.active,
.buyaca-tab:hover {
    color: var(--bq-primary);
    border-bottom-color: var(--bq-primary);
}

/* Catalog Grid */
.buyaca-catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 20px 0;
}
@media (min-width: 480px) {
    .buyaca-catalog-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
    .buyaca-catalog-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
}
@media (min-width: 1100px) {
    .buyaca-catalog-grid { grid-template-columns: repeat(5, 1fr); }
}
.buyaca-catalog-item {
    background: var(--bq-bg-card);
    border-radius: var(--bq-radius);
    overflow: hidden;
    box-shadow: var(--bq-shadow-sm);
    transition: all 0.3s;
    position: relative;
}
.buyaca-catalog-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--bq-shadow);
}
.buyaca-catalog-item:hover .product-actions {
    opacity: 1;
}
/* Drag handle — top-right corner */
.bq-catalog-drag-handle {
    position: absolute;
    top: 8px; right: 8px;
    z-index: 4;
    width: 30px; height: 30px;
    border-radius: 8px;
    background: rgba(255,255,255,0.92);
    display: flex; align-items: center; justify-content: center;
    cursor: grab;
    color: var(--bq-text-secondary);
    box-shadow: 0 1px 6px rgba(0,0,0,0.1);
    transition: all var(--bq-transition);
    border: 1px solid rgba(0,0,0,0.06);
}
.bq-catalog-drag-handle:hover {
    background: var(--bq-primary);
    color: white;
    border-color: var(--bq-primary);
    transform: scale(1.08);
    box-shadow: 0 3px 10px rgba(255,107,53,0.3);
}
.bq-catalog-drag-handle:active { cursor: grabbing; }
.buyaca-catalog-item-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background: var(--bq-bg-secondary);
    overflow: hidden;
}
.buyaca-catalog-item-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.buyaca-catalog-item-body {
    padding: 12px;
}
.buyaca-catalog-item-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Info blocks */
.buyaca-info-section {
    padding: 20px 0;
}
.buyaca-info-block {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: var(--bq-bg-card);
    border-radius: var(--bq-radius);
    margin-bottom: 12px;
    border: 1px solid var(--bq-border-light);
}
.buyaca-info-icon {
    font-size: 24px;
    flex-shrink: 0;
}
.buyaca-info-label {
    font-size: 12px;
    color: var(--bq-text-secondary);
    margin-bottom: 4px;
}
.buyaca-info-value {
    font-size: 14px;
    font-weight: 600;
}

/* Reviews */
.buyaca-review {
    background: var(--bq-bg-card);
    border-radius: var(--bq-radius);
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid var(--bq-border-light);
}
.buyaca-stars {
    color: #FFA500;
    font-size: 14px;
}
/* [v8.7] Estrellas para escribir reseña — REWRITE: ahora usan SVG inline directo
   en lugar de máscaras CSS (que dependían de la carga de bq-i-star vía data-uri).
   Tamaño 36px, contraste alto (#94a3b8 vacío, #FFA500 lleno) y hover preview robusto.
   El SVG hereda fill via currentColor y stroke se ajusta dinámicamente con la clase. */
.buyaca-star-rating {
    display: flex;
    gap: 8px;
    line-height: 1;
    cursor: pointer;
    user-select: none;
    margin: 6px 0 10px;
    -webkit-tap-highlight-color: transparent;
}
.buyaca-star-rating .star {
    color: #94a3b8;             /* gris medio — alto contraste sobre fondos claros y oscuros */
    transition: color 0.15s, transform 0.15s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    cursor: pointer;
    border-radius: 6px;
}
.buyaca-star-rating .star .bq-star-svg {
    width: 32px;
    height: 32px;
    display: block;
    fill: transparent;
    stroke: currentColor;
    stroke-width: 2;
    transition: fill 0.15s, stroke 0.15s, transform 0.15s;
}
.buyaca-star-rating .star:hover {
    color: #FFB347;
    transform: scale(1.15);
}
.buyaca-star-rating .star:hover .bq-star-svg,
.buyaca-star-rating .star.filled .bq-star-svg {
    fill: currentColor;
}
.buyaca-star-rating .star.filled {
    color: #FFA500;
}
/* Modo oscuro: estrellas vacías más visibles, llenas naranja vivo */
.buyaca-app:not(.bq-light-mode) .buyaca-star-rating .star {
    color: #64748b;
}
.buyaca-app:not(.bq-light-mode) .buyaca-star-rating .star.filled {
    color: #FFB72E;
}
/* Compatibilidad legacy: si alguna parte del código aún inyecta .bq-i bq-i-star
   dentro de .star, también se rellena con currentColor para que se vea. */
.buyaca-star-rating .star .bq-i {
    width: 1em;
    height: 1em;
    background-color: currentColor;
}

/* CARRITO FAB FLOTANTE — siempre visible                        */
/* FAB FLOTANTE — OCULTO (interés se abre desde bottom nav) */
.bq-cart-fab {
    display: none !important;
}
.bq-cart-fab:hover { transform: scale(1.08); box-shadow: 0 6px 20px rgba(255,107,53,0.5); }
.bq-cart-fab:active { transform: scale(0.95); }
.bq-cart-fab-icon { font-size: 26px; line-height: 1; display: flex; align-items: center; justify-content: center; }
.bq-cart-fab-badge {
    position: absolute;
    top: -4px; right: -4px;
    background: var(--bq-error);
    color: white;
    font-size: 12px;
    font-weight: 700;
    min-width: 22px; height: 22px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    font-family: var(--bq-font-family);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* MODAL OVERLAY COMPARTIDO                                      */
.bq-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bq-fade-in 0.2s ease;
}
@keyframes bq-fade-in { from { opacity: 0; } to { opacity: 1; } }
.bq-modal-close-btn {
 position: sticky;
    top: 55px;
    left: 87%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 0.2s;
    margin-top: -40px;
}
/* Close button fixed in catalog modal */
#bq-catalog-modal .bq-modal-close-btn {
    position: sticky;
    top: 12px;
    float: right;
    margin-right: 14px;
    margin-bottom: -36px;
    z-index: 20;
}
.bq-modal-close-btn:hover { background: rgba(0,0,0,0.7); }

/* MODAL CATÁLOGO SLIDER                                         */
.bq-catalog-card-clickable { cursor: pointer; }
.bq-catalog-modal-content {
    background: var(--bq-bg-card);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--bq-radius-lg);
    width: 92%; max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    animation: bq-slide-up 0.35s cubic-bezier(0.16,1,0.3,1);
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.bq-catalog-modal-content::-webkit-scrollbar { display: none; }
/* Prevent background scroll when modal is open */
body.bq-modal-open { overflow: hidden !important; position: fixed; width: 100%; }
.bq-modal-overlay.bq-prevent-scroll { overscroll-behavior: contain; }
@keyframes bq-slide-up {
    from { opacity: 0; transform: translateY(60px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.bq-slider-container { position: relative; overflow: hidden; width: 100%; }
.bq-slider-track { display: flex; transition: transform 0.4s cubic-bezier(0.25,0.1,0.25,1); }
.bq-slider-slide { min-width: 100%; box-sizing: border-box; }
.bq-slider-slide-image {
    width: 100%;
    aspect-ratio: 1/1;
    background: var(--bq-bg-elevated);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.bq-slider-slide-image img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: opacity 0.3s ease; }
/* Botón zoom esquina inferior derecha de la imagen */
.bq-zoom-btn {
    position: absolute;
    bottom: 12px; right: 12px;
    width: 42px; height: 42px;
    background: rgba(0,0,0,0.55);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    z-index: 3;
}
.bq-zoom-btn:hover { background: rgba(0,0,0,0.75); transform: scale(1.1); }
.bq-slider-slide-body { padding: 16px 20px 20px; }
.bq-slider-slide-name { font-size: 18px; font-weight: 700; margin-bottom: 4px; line-height: 1.3; }
.bq-slider-slide-desc {
    font-size: 14px;
    color: var(--bq-text-secondary);
    margin-bottom: 10px;
    line-height: 1.6;
    max-height: 80px;
    overflow-y: auto;
}
.bq-slider-slide-cats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin-bottom: 10px;
    font-size: 12px;
    color: var(--bq-text-secondary);
}
.bq-slider-slide-cats span { white-space: nowrap; }
.bq-slider-slide-cats .bq-cat-dot {
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--bq-text-secondary);
    opacity: 0.5;
    display: inline-block;
    margin: 0 8px;
    flex-shrink: 0;
}
.bq-slider-video-wrap {
    margin: 12px 0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/9;
    background: #000;
}
.bq-slider-video-wrap iframe {
    width: 100%; height: 100%;
    border: none;
}
.bq-slider-video-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,0,0,0.08);
    border: 1px solid rgba(255,0,0,0.15);
    color: #EF4444;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 12px;
    transition: all 0.2s;
    font-family: inherit;
    width: 100%;
    justify-content: center;
}
.bq-slider-video-btn:hover { background: rgba(255,0,0,0.12); }
.bq-slider-slide-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--bq-primary);
    margin-bottom: 12px;
}
.bq-slider-arrow {
    position: absolute;
    top: 35%; transform: translateY(-50%);
    background: rgba(255,255,255,0.95);
    border: none;
    width: 36px; height: 36px;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
    display: none; /* hidden by default, shown by JS when multi-image */
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.15s;
    color: #333;
}
.bq-slider-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.1); }
.bq-slider-arrow:active { transform: translateY(-50%) scale(0.95); }
.bq-slider-prev { left: 8px; }
.bq-slider-next { right: 8px; }
.bq-slider-dots { display: flex; justify-content: center; gap: 6px; padding: 12px 0 16px; }
.bq-slider-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}
.bq-slider-dot.active { background: var(--bq-primary); width: 20px; border-radius: 4px; }

/* ZOOM OVERLAY — visor de imagen ampliada                       */
.bq-zoom-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.95);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bq-fade-in 0.15s ease;
    cursor: pointer;
    touch-action: none; /* Desactivar gestos del navegador */
    -webkit-user-select: none;
    user-select: none;
}
.bq-zoom-close {
    position: fixed;
    top: 16px; right: 16px;
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.15);
    color: white;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 50%;
    font-size: 26px;
    cursor: pointer;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    line-height: 1;
}
.bq-zoom-close:hover { background: rgba(255,255,255,0.3); }

/* Zoom gallery navigation arrows */
.bq-zoom-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.12);
    color: white;
    border: 1.5px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    z-index: 100002;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
    line-height: 1;
}
.bq-zoom-nav:hover { background: rgba(255,255,255,0.25); transform: translateY(-50%) scale(1.1); }
.bq-zoom-nav-prev { left: 12px; }
.bq-zoom-nav-next { right: 12px; }
@media (max-width: 480px) {
    .bq-zoom-nav { width: 38px; height: 38px; font-size: 22px; }
    .bq-zoom-nav-prev { left: 6px; }
    .bq-zoom-nav-next { right: 6px; }
}
.bq-zoom-body {
    width: 90%; height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    overflow: visible;
}
.bq-zoom-body img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: auto;
    cursor: grab;
    transform-origin: center center;
    transition: none; /* Sin transición para que el pinch sea fluido */
    will-change: transform;
    touch-action: none;
}
/* Indicador de zoom */
.bq-zoom-hint {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.6);
    color: rgba(255,255,255,0.8);
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 20px;
    z-index: 10002;
    pointer-events: none;
    animation: bq-fade-in 0.3s ease;
}
}

/* MODAL CARRITO AGRUPADO POR NEGOCIO                            */
.bq-cart-modal-content {
    background: #ffffff;
    border: none;
    border-radius: 24px;
    width: 92%; max-width: 480px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 72px rgba(0,0,0,0.22), 0 8px 24px rgba(0,0,0,0.12);
    animation: bq-slide-up 0.3s cubic-bezier(0.22,1,0.36,1);
    overflow: hidden;
    position: relative;
}
.bq-cart-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 16px;
    border-bottom: 1px solid #f1f1f1;
    background: #ffffff;
}
.bq-cart-modal-header h3,
.bq-cart-modal-header strong {
    color: #1a1a1a !important;
    font-size: 17px;
    font-weight: 700;
}
.bq-cart-modal-header .bq-modal-close-btn {
    position: static;
    background: #f5f5f5;
    color: #555;
    width: 32px; height: 32px; font-size: 18px;
    border-radius: 50%;
    margin-top:8px;
}
.bq-cart-modal-header .bq-modal-close-btn:hover { background: #e8e8e8; color: #1a1a1a; }
.bq-cart-grouped-items { flex: 1; overflow-y: auto; padding: 12px 20px; background: #ffffff; }
.bq-cart-business-group {
    margin-bottom: 12px;
    border: 1px solid #efefef;
    border-radius: 14px;
    overflow: hidden;
    background: #fafafa;
}
.bq-cart-business-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: #f7f7f7;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
}
.bq-cart-business-header:hover { background: #f0f0f0; }
.bq-cart-business-header-left { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: #1a1a1a; }
.bq-cart-business-count {
    background: rgba(255,107,53,0.1);
    color: var(--bq-primary);
    font-size: 12px; font-weight: 700;
    padding: 2px 10px; border-radius: 20px;
}
.bq-cart-business-arrow { font-size: 14px; transition: transform 0.2s; color: #888; }
.bq-cart-business-group.open .bq-cart-business-arrow { transform: rotate(180deg); }
.bq-cart-business-items { display: none; padding: 8px 16px 16px; background: #ffffff; }
.bq-cart-business-group.open .bq-cart-business-items { display: block; }
.bq-cart-item-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f1f1f1;
    font-size: 14px;
}
.bq-cart-item-row:last-of-type { border-bottom: none; }
.bq-cart-item-row img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.bq-cart-item-row-info { flex: 1; }
.bq-cart-item-row-name { font-weight: 500; color: #1a1a1a; }
.bq-cart-item-row-price { font-size: 12px; color: var(--bq-primary); font-weight: 600; }
.bq-cart-item-remove {
    background: none; border: none; cursor: pointer;
    font-size: 16px; color: #bbb; padding: 4px;
    transition: color 0.2s; border-radius: 50%;
}
.bq-cart-item-remove:hover { color: var(--bq-error); background: rgba(239,68,68,0.08); }
.bq-cart-whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px;
    margin-top: 12px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 14px; font-weight: 700;
    cursor: pointer;
    font-family: var(--bq-font-family);
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 16px rgba(37,211,102,0.3);
}
.bq-cart-whatsapp-btn:hover { background: #1fb855; transform: translateY(-1px); }
.bq-cart-modal-footer { padding: 12px 20px 16px; border-top: 1px solid #f1f1f1; background: #ffffff; }
.bq-cart-empty-msg { text-align: center; padding: 40px 20px; color: #888; }
.bq-cart-empty-msg-icon { font-size: 48px; margin-bottom: 12px; }
.bq-cart-empty-msg-text { font-size: 15px; font-weight: 500; color: #555; }

/* Login page */
.buyaca-login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}
.buyaca-login-box {
    background: var(--bq-bg-card);
    border-radius: var(--bq-radius-lg);
    padding: 32px;
    max-width: 440px;
    width: 100%;
    box-shadow: var(--bq-shadow-lg);
}
.buyaca-login-logo {
    text-align: center;
    margin-bottom: 24px;
}
.buyaca-login-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 8px;
}
.buyaca-login-subtitle {
    text-align: center;
    color: var(--bq-text-secondary);
    margin: 0 0 24px;
}
.buyaca-login-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.buyaca-divider {
    text-align: center;
    position: relative;
    margin: 20px 0;
    color: var(--bq-text-secondary);
    font-size: 13px;
}
.buyaca-divider::before,
.buyaca-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: var(--bq-border);
}
.buyaca-divider::before { left: 0; }
.buyaca-divider::after { right: 0; }
.buyaca-login-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--bq-text-secondary);
}
.buyaca-login-footer a {
    color: var(--bq-primary);
    text-decoration: none;
    font-weight: 600;
}

/* Stats */
.buyaca-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}
.buyaca-stat-card {
    background: var(--bq-bg-card);
    border-radius: var(--bq-radius);
    padding: 16px;
    text-align: center;
    border: 1px solid var(--bq-border-light);
}
.buyaca-stat-value {
    font-size: 28px;
    font-weight: 800;
    margin: 4px 0;
}
.buyaca-stat-label {
    font-size: 12px;
    color: var(--bq-text-secondary);
}

/* SEARCH PANEL — Modern filter design                           */
.bq-search-panel {
    background: var(--bq-bg-card);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    border: 1px solid var(--bq-border-light);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.bq-search-main-bar {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--bq-bg-secondary);
    border-radius: 14px;
    border: 1.5px solid var(--bq-border);
    transition: all 0.3s;
    overflow: visible;
}
.bq-search-main-bar:focus-within {
    border-color: var(--bq-primary);
    box-shadow: 0 0 0 3px var(--bq-primary-light);
    background: var(--bq-bg-card);
}
.bq-search-main-icon {
    position: absolute;
    left: 14px; top: 50%;
    transform: translateY(-50%);
    color: var(--bq-text-secondary);
    pointer-events: none;
    display: flex;
}
.bq-search-main-input {
    width: 100%;
    padding: 13px 50px 13px 44px;
    border: none;
    border-radius: 14px;
    font-size: 15px;
    font-family: var(--bq-font-family);
    background: transparent;
    outline: none;
    color: var(--bq-text-primary);
}
.bq-search-main-input::placeholder { color: #9ca3af; }
.bq-search-submit-btn {
    position: absolute;
    right: 6px; top: 50%;
    transform: translateY(-50%);
    width: 36px; height: 36px;
    border-radius: 10px;
    background: var(--bq-primary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
}
.bq-search-submit-btn:hover { background: var(--bq-primary-dark); transform: translateY(-50%) scale(1.05); }
.bq-search-filters-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 16px;
}
@media (min-width: 640px) {
    .bq-search-filters-grid { grid-template-columns: repeat(4, 1fr); }
}
.bq-search-filter-item { display: flex; flex-direction: column; gap: 4px; }
.bq-search-filter-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--bq-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.bq-search-filter-select {
    width: 100%;
    padding: 9px 30px 9px 12px;
    border: 1.5px solid var(--bq-border);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    font-family: var(--bq-font-family);
    background: var(--bq-bg-card);
    color: var(--bq-text-primary);
    cursor: pointer;
    transition: all 0.2s;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='%236b7280' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}
.bq-search-filter-select:focus {
    outline: none;
    border-color: var(--bq-primary);
    box-shadow: 0 0 0 3px var(--bq-primary-light);
}
.bq-search-filter-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--bq-border-light);
}

/* SEARCH: List view items */
.bq-list-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transform: translateY(-1px);
}
.bq-search-list-view { display: flex; flex-direction: column; }
/* Nearby button active state */
.bq-nearby-btn { font-family: var(--bq-font-family) !important; }

/* DASHBOARD: Business cards redesign                            */
.bq-dash-business-card {
    background: var(--bq-bg-card);
    border-radius: 14px;
    border: 1px solid var(--bq-border-light);
    padding: 16px;
    transition: box-shadow 0.2s;
}
.bq-dash-business-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.bq-dash-business-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.bq-dash-business-info {
    display: flex;
    gap: 12px;
    align-items: center;
    min-width: 0;
}
.bq-dash-business-logo {
    width: 44px; height: 44px;
    border-radius: 12px;
    object-fit: cover;
    background: var(--bq-bg-secondary);
    flex-shrink: 0;
}
.bq-dash-business-name {
    font-size: 15px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bq-dash-plan-badge {
    color: white;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}
.bq-dash-business-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}
.bq-dash-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    font-family: var(--bq-font-family);
    background: var(--bq-bg-secondary);
    color: var(--bq-text-secondary);
    text-decoration: none;
    border: 1px solid var(--bq-border-light);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.bq-dash-action-btn:hover {
    background: var(--bq-primary-light);
    color: var(--bq-primary);
    border-color: rgba(255,107,53,0.2);
}
.bq-dash-action-btn--primary {
    background: var(--bq-primary);
    color: white;
    border-color: var(--bq-primary);
}
.bq-dash-action-btn--primary:hover {
    background: var(--bq-primary-dark);
    color: white;
    border-color: var(--bq-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(255,107,53,0.3);
}
.bq-dash-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-top: 12px;
    background: var(--bq-bg-secondary);
    border-radius: 10px;
    padding: 10px 8px;
}
.bq-dash-stat-mini {
    text-align: center;
}
.bq-dash-stat-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--bq-primary);
    line-height: 1.2;
}
.bq-dash-stat-label {
    font-size: 10px;
    color: var(--bq-text-secondary);
    margin-top: 1px;
}

/* DASHBOARD: Business dashboard header                          */
.bq-biz-dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}
.bq-biz-dash-header-btns {
    display: flex;
    gap: 8px;
}


/* COMPACT STATS GRID                                            */
.bq-compact-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
@media (max-width: 480px) {
    .bq-compact-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
.bq-compact-stat {
    background: var(--bq-bg-card);
    border-radius: 12px;
    padding: 12px 8px;
    text-align: center;
    border: 1px solid var(--bq-border-light);
    transition: box-shadow 0.2s;
}
.bq-compact-stat:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.bq-compact-stat-value {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
}
.bq-compact-stat-label {
    font-size: 11px;
    color: var(--bq-text-secondary);
    margin-top: 2px;
}

/* Loading */
.buyaca-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--bq-border);
    border-top-color: var(--bq-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Media upload */
.buyaca-media-upload {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.buyaca-media-preview {
    border: 2px dashed var(--bq-border);
    border-radius: var(--bq-radius-sm);
    overflow: hidden;
    background: var(--bq-bg-secondary);
}
.buyaca-media-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.buyaca-media-preview-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--bq-text-secondary);
}
/* Clickable upload areas */
.bq-upload-area { transition: border-color 0.2s, background 0.2s, transform 0.15s; }
.bq-upload-area:hover { border-color: var(--bq-primary); background: rgba(255,107,53,0.05); transform: scale(1.02); }
.bq-upload-area:active { transform: scale(0.98); }

/* Toast notifications */
.buyaca-toast {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bq-text);
    color: white;
    padding: 12px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--bq-shadow-lg);
    z-index: 999999999;
    animation: toast-in 0.3s ease-out;
}
.buyaca-toast.success { background: var(--bq-success); }
.buyaca-toast.error { background: var(--bq-error); }
@keyframes toast-in {
    from { opacity: 0; transform: translate(-50%, 20px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

/* DASHBOARD: Tarjetas de catálogo con botones siempre visibles  */
.bq-dashboard-card { position: relative; cursor: default !important; }
.bq-dash-card-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}
.bq-dash-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    font-family: var(--bq-font-family);
    line-height: 1;
    letter-spacing: 0.01em;
}
.bq-dash-action-btn svg {
    flex-shrink: 0;
}
.bq-dash-edit-btn {
    flex: 1;
    color: white;
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    box-shadow: 0 2px 6px rgba(59,130,246,0.3);
}
.bq-dash-edit-btn:hover {
    background: linear-gradient(135deg, #2563EB, #1D4ED8);
    box-shadow: 0 4px 12px rgba(59,130,246,0.45);
    transform: translateY(-1px);
}
.bq-dash-edit-btn:active { transform: translateY(0); box-shadow: 0 1px 3px rgba(59,130,246,0.3); }
.bq-dash-delete-btn {
    flex: 0 0 38px;
    color: #EF4444;
    background: #fef2f2;
    border: 1.5px solid #fecaca;
    padding: 7px;
}
.bq-dash-delete-btn:hover {
    background: #fee2e2;
    border-color: #f87171;
    color: #DC2626;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(239,68,68,0.2);
}
.bq-dash-delete-btn:active { transform: translateY(0); }

/* Selector de tipo de botón en formulario */
.bq-btn-type-selector { display: flex; flex-direction: column; gap: 8px; }
.bq-btn-type-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 2px solid var(--bq-border-light);
    border-radius: var(--bq-radius);
    cursor: pointer;
    transition: all 0.2s;
}
.bq-btn-type-option:has(input:checked) { border-color: var(--bq-primary); background: var(--bq-primary-light); }
.bq-btn-type-option input[type="radio"] { accent-color: var(--bq-primary); width: 18px; height: 18px; margin: 0; }
.bq-btn-type-label { font-size: 14px; font-weight: 500; }
.bq-btn-type-label small { display: block; font-size: 12px; color: var(--bq-text-secondary); font-weight: 400; }

/* Botón URL personalizada en tarjetas del perfil */
.bq-custom-url-btn {
    text-decoration: none !important;
    text-align: center;
    font-size: 13px !important;
}

/* UPGRADE LOCK CARD — CTA para desbloquear URL personalizada    */
.bq-upgrade-lock-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 50%, #fef9c3 100%);
    border: 2px solid #f59e0b;
    border-radius: 14px;
    padding: 18px;
    position: relative;
    overflow: hidden;
}
.bq-upgrade-lock-card::before {
    content: '';
    position: absolute;
    top: -20px; right: -20px;
    width: 80px; height: 80px;
    background: radial-gradient(circle, rgba(245,158,11,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.bq-upgrade-lock-icon {
    font-size: 32px;
    line-height: 1;
    flex-shrink: 0;
    width: 48px; height: 48px;
    background: rgba(245,158,11,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bq-upgrade-lock-content { flex: 1; min-width: 0; }
.bq-upgrade-lock-title {
    font-size: 14px;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 6px;
}
.bq-upgrade-lock-text {
    font-size: 12.5px;
    color: #78350f;
    line-height: 1.5;
    margin-bottom: 12px;
}
.bq-upgrade-lock-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white !important;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(245,158,11,0.35);
    font-family: var(--bq-font-family);
}
.bq-upgrade-lock-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(245,158,11,0.5);
    background: linear-gradient(135deg, #d97706, #b45309);
}
.bq-upgrade-lock-btn:active { transform: translateY(0); }
.bq-upgrade-lock-hint {
    font-size: 11px;
    color: #a16207;
    margin-top: 8px;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 640px) {
    .buyaca-hero-title { font-size: 24px; }
    .buyaca-h1 { font-size: 24px; }
    /* [v8.5] Modal catálogo fullscreen móvil — ocupa 100vh y 100vw, sin radios. */
    .bq-catalog-modal-content {
        width: 100% !important;
        max-width: 100% !important;
        height: 100vh !important;
        max-height: 100vh !important;
        min-height: 100dvh !important;
        border-radius: 0 !important;
        position: fixed !important;
        top: 0 !important; bottom: 0 !important;
        left: 0 !important; right: 0 !important;
        margin: 0 !important;
        animation: bq-slide-up-mobile 0.32s cubic-bezier(0.16,1,0.3,1);
        display: flex !important;
        flex-direction: column !important;
    }
    @keyframes bq-slide-up-mobile { from { transform: translateY(100%); } to { transform: translateY(0); } }
    #bq-catalog-modal { align-items: stretch !important; padding: 0 !important; }
    #bq-catalog-modal .bq-modal-close-btn {
        top: max(12px, env(safe-area-inset-top, 12px)) !important;
        right: 12px !important;
        margin: 0 !important;
        position: fixed !important;
        background: rgba(0,0,0,0.65) !important;
        z-index: 100 !important;
    }
    .bq-cart-modal-content { width: 96%; max-height: 90vh; }
    .bq-cart-fab { bottom: 74px; right: 14px; width: 50px; height: 50px; }
    .bq-cart-fab-icon { font-size: 22px; }
    .bq-slider-arrow { width: 34px; height: 34px; font-size: 20px; }
    .bq-zoom-btn { width: 38px; height: 38px; font-size: 18px; bottom: 10px; left: 10px; }
    .bq-dash-action-btn { padding: 6px 10px; font-size: 11.5px; }
    .bq-dash-delete-btn { flex: 0 0 20px; padding: 0px; }
    .bq-upgrade-lock-card { flex-direction: column; gap: 10px; padding: 14px; }
    .bq-upgrade-lock-icon { width: 40px; height: 40px; font-size: 24px; }
    /* Home responsive */
    .bq-home-banner-img { height: 170px; }
    .bq-home-banner-title { font-size: 22px; }
    .bq-home-search-overlay { width: 92%; }
    .bq-home-search-input { font-size: 13px; padding: 12px 12px 12px 42px; }
    .bq-home-filters { padding-top: 8px; }
    .bq-home-filter-pill, .bq-home-filter-select { font-size: 12px; }
    .bq-home-section-title { font-size: 17px; }
    .bq-featured-card-v2 { flex: 0 0 min(88vw, 340px); }
    .bq-featured-v2-name { font-size: 17px; }
    .bq-featured-v2-wa-btn { font-size: 13px; padding: 12px 16px; }
    .bq-featured-v2-logo-wrap { width: 52px; height: 52px; }
    .bq-home-grid { gap: 3px; }
    .bq-home-card-body { padding: 10px; }
    .bq-home-card-meta-row { gap: 4px; }
    .bq-home-card-location-pill, .bq-home-card-cat-pill { font-size: 10px; }
    .bq-home-card-reviews-count { font-size: 10px; }
    .bq-header-logo-wrap .logo { max-width: 85px; }
    .bq-header-logo-wrap { padding: 4px 0 8px; }
    .bq-app-header-search-input { padding: 11px 48px 11px 38px; font-size: 13.5px; }
    .bq-header-chips-wrap { max-height: 58px; padding: 0 0 8px; }
    .bq-app-header-inner { padding: 8px 14px 0; }
    .bq-filters-card { padding: 4px 10px; border-radius: 14px; }
    .bq-recomendados-zone { border-radius: 24px 24px 0 0; padding: 20px 0 20px; margin-top: 0; }
    .buyaca-autocomplete { left: -4px; right: -4px; border-radius: 16px; max-height: 360px; }
    .buyaca-autocomplete-item { padding: 10px 14px; margin: 0 6px; }
    img.image {max-width: 100%;}
    .logo{max-width:120px;}
    /* Fix: header tapa featured slider — agregar espacio */
    /* moved to global v7.3 rule */
    /* Fix: bottom nav tapa catálogo en perfil de negocio */
    .buyaca-business-profile .bq-cv2-product-grid { padding-bottom: 90px; }
    .buyaca-business-profile .bq-admin-panel { padding-bottom: 90px; }
    /* Fix: close button en modal de producto siempre visible */
    #bq-catalog-modal .bq-modal-close-btn { position: sticky; top: 24px; z-index: 30; background:#ffffff59;  }
}

/* FOOTER                                                          */
.bq-footer {
    background: #1a1a1f;
    color: #d1d5db;
    padding: 24px 16px 1px;
    text-align: center;
    font-size: 12px;
    line-height: 1.6;
    border-top: 1px solid rgba(255,255,255,0.04);
    margin-top:30px;
    border-radius: 15px 10px 0 0;
}
.bq-footer-inner {
    max-width: 600px;
    margin: 0 auto;
}
.bq-footer-brand {
    font-size: 18px;
    font-weight: 800;
    color: var(--bq-primary);
    margin-bottom: 10px;
}
.bq-footer-links {
    margin-bottom: 10px;
}
.bq-footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color .2s;
}
.bq-footer-links a:hover { color: var(--bq-primary); }
.bq-footer-sep { color: #4b5563; margin: 0 6px; }
.bq-footer-copy { color: #6b7280; font-size: 11px; }

/* LEGAL PAGE ACCORDIONS                                           */
.bq-legal-accordions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.bq-legal-accordion {
    background: var(--bq-bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow .2s;
}
.bq-legal-accordion:hover { box-shadow: var(--bq-shadow-sm); }
.bq-legal-accordion-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: var(--bq-text);
    font-family: var(--bq-font-family);
    text-align: left;
    gap: 12px;
}
.bq-legal-chevron {
    font-size: 18px;
    transition: transform .3s;
    color: var(--bq-text-secondary);
    flex-shrink: 0;
}
.bq-legal-accordion.open .bq-legal-chevron { transform: rotate(180deg); }
.bq-legal-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, padding .3s;
    padding: 0 20px;
}
.bq-legal-accordion.open .bq-legal-accordion-body {
    max-height: 1200px;
    padding: 0 20px 20px;
}
.bq-legal-accordion-body p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--bq-text-secondary);
    margin: 0 0 12px;
}
.bq-legal-accordion-body p:last-child { margin-bottom: 0; }
.bq-legal-accordion-body strong { color: var(--bq-text); }

/* REPORT MODAL                                                    */
.bq-report-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--bq-bg-secondary);
    border: 1px solid var(--bq-border);
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all .2s;
}
.bq-report-option:hover { border-color: var(--bq-primary); background: var(--bq-primary-light); }
.bq-report-option input[type="radio"] { accent-color: var(--bq-primary); width: 16px; height: 16px; }

/* NAV BADGE (favorites counter)                                   */
.bq-nav-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--bq-primary);
    color: white;
    font-size: 9px;
    font-weight: 800;
    min-width: 17px;
    height: 17px;
    line-height: 17px;
    text-align: center;
    border-radius: 100px;
    padding: 0 4px;

    border: 1.5px solid var(--bq-bg, #0d0d0f);
    font-family: var(--bq-font-display);
    letter-spacing: 0;
}
.bq-cart-nav-badge {
    background: var(--bq-primary);
    border-color: var(--bq-bg, #0d0d0f);
}

/* "Me Interesa" CHECK STATE — Naranja uniforme                   */
.bq-add-to-cart.bq-added {
    background: var(--bq-primary) !important;
    color: white !important;
    border-color: var(--bq-primary) !important;
    pointer-events: none;

}
.bq-add-to-cart.bq-added svg {
    stroke: white !important;
    fill: none !important;
}
/* Estado activo general naranja — eliminar verde completamente */
.bq-btn-subscribed {
    background: var(--bq-primary) !important;
    border-color: var(--bq-primary) !important;
}

/* <span class="bq-i bq-i-refresh"></span> LIVE UPDATE — Animaciones de actualización en tiempo real   */

/* Toast mejorado con animación */
.buyaca-toast {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    z-index: 100001;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    max-width: 90vw;
    text-align: center;
}
.buyaca-toast.bq-toast-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.buyaca-toast.success {
    background: rgba(16, 185, 129, 0.95);
    color: white;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}
.buyaca-toast.error {
    background: rgba(239, 68, 68, 0.95);
    color: white;
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.3);
}

/* Sección actualizándose */
.bq-live-updating {
    opacity: 0.4;
    transform: scale(0.98);
    transition: all 0.15s ease;
    pointer-events: none;
}

/* Sección recién actualizada */
.bq-live-updated {
    animation: bqLiveUpdated 0.6s ease;
}
@keyframes bqLiveUpdated {
    0% { opacity: 0.6; transform: scale(0.98); }
    50% { opacity: 1; transform: scale(1.005); }
    100% { opacity: 1; transform: scale(1); }
}

/* Flash para elementos individuales */
.bq-flash-update {
    animation: bqFlashUpdate 0.8s ease;
}
@keyframes bqFlashUpdate {
    0% { box-shadow: 0 0 0 0 rgba(78, 205, 196, 0.6); }
    40% { box-shadow: 0 0 0 6px rgba(78, 205, 196, 0.3); }
    100% { box-shadow: 0 0 0 0 rgba(78, 205, 196, 0); }
}

/* Elemento entrando al DOM */
.bq-live-enter {
    opacity: 0;
    transform: translateY(-12px) scale(0.95);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Elemento saliendo del DOM */
.bq-live-exit {
    animation: bqLiveExit 0.35s ease forwards;
}
@keyframes bqLiveExit {
    0% { opacity: 1; transform: scale(1); max-height: 200px; }
    100% { opacity: 0; transform: scale(0.9) translateY(-8px); max-height: 0; padding: 0; margin: 0; overflow: hidden; }
}

/* Botón suscrito */
.bq-btn-subscribed {
    background: var(--bq-primary) !important;
    color: white !important;
    border-color: var(--bq-primary) !important;
    opacity: 0.85;
    cursor: default !important;
}

/* ═══════════════════════════════════════════════════════════════ */
/* <span class="bq-i bq-i-palette"></span> VISUAL CUSTOMIZATION PANEL v2 (Premium) — Vanilla JS       */
/* ═══════════════════════════════════════════════════════════════ */

/* Layout: controls + preview side by side */
.bq-vc-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
    align-items: start;
}
@media (max-width: 768px) {
    .bq-vc-layout { grid-template-columns: 1fr; }
    .bq-vc-preview-wrap { order: -1; position: static !important; }
}
.bq-vc-controls { display: flex; flex-direction: column; gap: 0; }

/* Hero banner */
.bq-vc-hero-banner {
    margin-bottom: 20px; padding: 16px;
    background: linear-gradient(135deg, rgba(255,107,53,0.08), rgba(78,205,196,0.06));
    border-radius: 14px; border: 1px solid rgba(255,107,53,0.15);
}
.bq-vc-badge-premium {
    font-size: 10px; font-weight: 700;
    background: var(--bq-primary); color: #fff;
    padding: 2px 8px; border-radius: 20px;
}

/* Section cards */
.bq-vc-section {
    background: var(--bq-bg-card);
    border: 1px solid var(--bq-border-light);
    border-radius: 12px; padding: 14px; margin-bottom: 10px;
}
.bq-vc-section-title {
    margin: 0 0 10px; font-size: 12px; font-weight: 700;
    display: flex; align-items: center; gap: 6px;
    text-transform: uppercase; letter-spacing: 0.5px;
    color: var(--bq-text-primary);
}
.bq-vc-field-label {
    display: block; font-size: 12px; font-weight: 600;
    color: var(--bq-text-secondary); margin-bottom: 6px;
}

/* ── Color swatches ── */
.bq-vc-color-grid { display: flex; gap: 7px; flex-wrap: wrap; }
.bq-vc-swatch {
    width: 30px; height: 30px; border-radius: 50%;
    border: 3px solid transparent; cursor: pointer;
    transition: all 0.2s; position: relative; padding: 0;
}
.bq-vc-swatch:hover { transform: scale(1.18); }
.bq-vc-swatch.active {
    border-color: var(--bq-text-primary);
    box-shadow: 0 0 0 2px var(--bq-bg), 0 0 0 4px var(--bq-text-primary);
}
.bq-vc-swatch.active::after {
    content: '✓'; position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 13px; font-weight: 800;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    line-height: 1;
}

/* ── Radio group (card styles) ── */
.bq-vc-radio-group { display: flex; flex-direction: column; gap: 6px; }
.bq-vc-radio {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; border-radius: 10px; cursor: pointer;
    border: 2px solid var(--bq-border-light);
    background: var(--bq-bg-elevated); transition: all 0.2s;
}
.bq-vc-radio input { display: none; }
.bq-vc-radio-dot {
    width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
    border: 2px solid var(--bq-border); position: relative;
    transition: all 0.2s; background: var(--bq-bg);
}
.bq-vc-radio.active .bq-vc-radio-dot {
    border-color: var(--bq-primary);
}
.bq-vc-radio.active .bq-vc-radio-dot::after {
    content: ''; position: absolute;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--bq-primary);
    top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.bq-vc-radio.active {
    border-color: var(--bq-primary);
    background: var(--bq-primary-light);
}
.bq-vc-radio strong { font-size: 13px; display: block; }
.bq-vc-radio small { font-size: 11px; color: var(--bq-text-secondary); display: block; margin-top: 1px; }

/* ── Segmented controls ── */
.bq-vc-seg {
    display: flex; border-radius: 10px; overflow: hidden;
    border: 1px solid var(--bq-border); background: var(--bq-bg-elevated);
}
.bq-vc-seg--vertical { flex-direction: column; }
.bq-vc-seg-btn {
    flex: 1; padding: 9px 10px; border: none; cursor: pointer;
    font-size: 13px; font-weight: 600;
    color: var(--bq-text-secondary); background: transparent;
    transition: all 0.2s;
}
.bq-vc-seg-btn:not(:last-child) { border-right: 1px solid var(--bq-border); }
.bq-vc-seg--vertical .bq-vc-seg-btn:not(:last-child) { border-right: none; border-bottom: 1px solid var(--bq-border); }
.bq-vc-seg-btn.active { background: var(--bq-primary); color: white; }
.bq-vc-seg-btn:hover:not(.active) { background: rgba(255,107,53,0.06); }

/* ── Toggle switches ── */
.bq-vc-toggle {
    display: flex; align-items: center; gap: 10px; cursor: pointer;
    font-size: 13px; margin-bottom: 8px; color: var(--bq-text-primary);
}
.bq-vc-toggle input { display: none; }
.bq-vc-toggle-track {
    width: 38px; height: 22px; border-radius: 100px; flex-shrink: 0;
    background: var(--bq-border); position: relative;
    transition: background 0.25s;
}
.bq-vc-toggle input:checked + .bq-vc-toggle-track { background: var(--bq-primary); }
.bq-vc-toggle-thumb {
    position: absolute; width: 16px; height: 16px; border-radius: 50%;
    background: white; top: 3px; left: 3px;
    transition: transform 0.25s; box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.bq-vc-toggle input:checked + .bq-vc-toggle-track .bq-vc-toggle-thumb {
    transform: translateX(16px);
}

/* ── Range slider ── */
.bq-vc-range {
    flex: 1; accent-color: var(--bq-primary);
    height: 4px; -webkit-appearance: none; appearance: none;
    background: var(--bq-border); border-radius: 4px; outline: none;
}
.bq-vc-range::-webkit-slider-thumb {
    -webkit-appearance: none; width: 18px; height: 18px;
    border-radius: 50%; background: var(--bq-primary);
    border: 2px solid white; box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    cursor: pointer;
}
.bq-vc-range-val {
    font-size: 12px; color: var(--bq-text-secondary);
    min-width: 40px; text-align: right; font-weight: 600;
    font-variant-numeric: tabular-nums;
}

/* ── Live preview ── */
.bq-vc-preview-wrap { position: sticky; top: 16px; }
.bq-vc-live-dot {
    font-size: 10px; padding: 3px 8px; font-weight: 600;
    background: rgba(16,185,129,0.1); color: #10B981;
    border-radius: 20px; animation: bq-vc-pulse 2s infinite;
}
@keyframes bq-vc-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
.bq-vc-preview {
    background: var(--bq-bg-card); border: 1px solid var(--bq-border);
    border-radius: 16px; overflow: hidden; box-shadow: var(--bq-shadow);
    transition: all 0.35s ease;
}

/* Preview: banner */
.bq-vcp-banner {
    height: 110px; background-size: cover; background-position: center;
    position: relative; background-color: var(--bq-bg-elevated);
    transition: background-position 0.4s;
}
.bq-vcp-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.4); transition: background 0.35s;
}
.bq-vcp-cta {
    position: absolute; bottom: 10px; right: 10px; z-index: 2;
    padding: 5px 12px; border-radius: 20px;
    font-size: 11px; font-weight: 700; color: white;
    background: var(--bq-primary); border: 2px solid var(--bq-primary);
    transition: all 0.3s;
}

/* Preview: logo */
.bq-vcp-logo-ring {
    width: 50px; height: 50px; border-radius: 50%;
    background: var(--bq-bg-card); border: 3px solid var(--bq-bg-card);
    margin: -25px auto 0; position: relative; z-index: 3;
    overflow: hidden; transition: margin 0.35s;
    display: flex; align-items: center; justify-content: center;
}
.bq-vcp-logo-ring img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* Preview: body */
.bq-vcp-body {
    padding: 6px 14px 14px; text-align: center;
    transition: text-align 0.35s;
}
.bq-vcp-name {
    margin: 3px 0 5px; font-size: 14px; font-weight: 700;
    color: var(--bq-text-primary); transition: font-family 0.35s;
}
.bq-vcp-stars-row {
    display: flex; align-items: center; justify-content: center;
    gap: 4px; margin-bottom: 5px;
}
.bq-vcp-stars {
    font-size: 12px; letter-spacing: 0.5px;
    color: var(--bq-primary); transition: color 0.3s;
}
.bq-vcp-stars-text { font-size: 11px; color: var(--bq-text-secondary); }
.bq-vcp-status {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 10px; font-weight: 700; color: #10B981;
    background: rgba(16,185,129,0.1);
    padding: 2px 9px; border-radius: 20px; margin-bottom: 8px;
    transition: all 0.3s;
}
.bq-vcp-dot {
    width: 5px; height: 5px; border-radius: 50%;
    background: #10B981; transition: opacity 0.3s;
}

/* Preview: product card */
.bq-vcp-product {
    background: var(--bq-bg-elevated); border-radius: 10px;
    overflow: hidden; display: flex; gap: 8px; padding: 7px;
    transition: all 0.3s;
}
.bq-vcp-product-img {
    width: 44px; height: 44px; border-radius: 8px;
    background: var(--bq-border); flex-shrink: 0;
}
.bq-vcp-product-info {
    display: flex; flex-direction: column; justify-content: center;
    gap: 1px; text-align: left;
}
.bq-vcp-product-name { font-size: 11px; font-weight: 600; color: var(--bq-text-primary); }
.bq-vcp-product-price {
    font-size: 12px; font-weight: 800;
    color: var(--bq-primary); transition: color 0.3s;
}

/* ═══ Styles applied to public business profile ═══ */
.bq-catalog-v2.bq-vc-typo-elegant,
.bq-vc-typo-elegant .bq-cv2-name,
.bq-vc-typo-elegant .bq-catalog-product-name {
    font-family: 'Georgia', 'Playfair Display', 'Times New Roman', serif !important;
}
.bq-vc-cards-minimal .bq-catalog-product-card { box-shadow: none; border: 1px solid var(--bq-border-light); }
.bq-vc-cards-featured .bq-catalog-product-card { box-shadow: 0 4px 20px rgba(0,0,0,0.15); border: none; }
.bq-vc-cards-featured .bq-catalog-product-card .buyaca-btn { padding: 12px 20px; font-size: 14px; font-weight: 700; }
.bq-vc-cards-compact .bq-catalog-product-card { padding: 8px; }
.bq-vc-cards-compact .bq-catalog-product-img { height: 100px; }
.bq-vc-layout-left .bq-cv2-logo { left: 20px; transform: translateX(0) translateY(-50%); }
.bq-vc-layout-left .bq-cv2-info { text-align: left; }
.bq-vc-layout-left .bq-cv2-name-row { justify-content: flex-start; }
.bq-vc-icons-filled .bq-cv2-social-link svg { fill: currentColor; stroke: none; }
.bq-vc-no-status .bq-cv2-status { display: none !important; }
.bq-vc-no-dot .bq-cv2-status::before { display: none !important; }

/* Gradient mode (Élite) — applies gradient accent to key elements */
.bq-vc-gradient-on .bq-cv2-cta { background: var(--bq-gradient-accent) !important; border: none; }
.bq-vc-gradient-on .bq-cv2-cta:hover { filter: brightness(1.1); }
.bq-vc-gradient-on .bq-cv2-tab.active::after { background: var(--bq-gradient-accent); }
.bq-vc-gradient-on .bq-cv2-badge { background: var(--bq-gradient-accent); }
.bq-vc-gradient-on .bq-catalog-product-card { background: var(--bq-gradient-card, var(--bq-bg-card)); }
.bq-vc-gradient-on .buyaca-btn-primary { background: var(--bq-gradient-accent) !important; border: none; }
.bq-vc-gradient-on .bq-cv2-name-row svg { color: var(--bq-primary); }
.bq-vc-gradient-preset:hover { transform: scale(1.15); }
.bq-vc-gradient-preset:active { transform: scale(0.95); }

/* Light mode */
.buyaca-app.bq-light-mode .bq-vc-section { background: #fff; border-color: rgba(0,0,0,0.06); }
.buyaca-app.bq-light-mode .bq-vc-radio { background: #f9fafb; border-color: rgba(0,0,0,0.08); }
.buyaca-app.bq-light-mode .bq-vc-radio.active { background: rgba(255,107,53,0.06); }
.buyaca-app.bq-light-mode .bq-vc-seg { border-color: rgba(0,0,0,0.08); background: #f3f4f6; }
.buyaca-app.bq-light-mode .bq-vc-preview { background: #fff; border-color: rgba(0,0,0,0.08); box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.buyaca-app.bq-light-mode .bq-vcp-product { background: #f3f4f6; }
.buyaca-app.bq-light-mode .bq-vcp-logo-ring { background: #fff; border-color: #fff; }
.buyaca-app.bq-light-mode .bq-vc-swatch.active { border-color: #1a1a1a; }
.buyaca-app.bq-light-mode .bq-vc-hero-banner { background: linear-gradient(135deg, rgba(255,107,53,0.06), rgba(78,205,196,0.04)); }

/* ═══════════════════════════════════════════════════════════════ */
/* ADMIN PANEL — In-view business administration                   */
/* ═══════════════════════════════════════════════════════════════ */

/* Admin indicator bar */
.bq-admin-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(255,107,53,0.08), rgba(255,107,53,0.03));
    border-bottom: 1px solid rgba(255,107,53,0.12);
    gap: 10px;
    flex-wrap: wrap;
    margin: 0;
}
.bq-admin-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--bq-primary);
    letter-spacing: 0.02em;
    font-family: var(--bq-font-display);
    white-space: nowrap;
}

/* Toggle switch */
.bq-admin-toggle-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}
.bq-admin-toggle-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--bq-text-secondary);
    transition: color 0.25s;
    font-family: var(--bq-font-display);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.bq-admin-toggle-label.active {
    color: var(--bq-primary);
}
.bq-admin-toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    background: rgba(255,255,255,0.08);
    border: 2px solid rgba(255,255,255,0.12);
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    outline: none;
}
.bq-admin-toggle-switch.on {
    background: var(--bq-primary);
    border-color: var(--bq-primary);
}
.bq-admin-toggle-knob {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.bq-admin-toggle-switch.on .bq-admin-toggle-knob {
    transform: translateX(20px);
}

/* Admin tab accent */
.bq-cv2-tab--admin {
    color: var(--bq-primary) !important;
    position: relative;
}
.bq-cv2-tab--admin.active {
    border-bottom-color: var(--bq-primary) !important;
}

/* Customizer option buttons */
.bq-vc-opt-btn.active {
    border-color: var(--bq-primary) !important;
    background: rgba(255,107,53,0.08) !important;
}
/* ── Visual Customizer Cards ── */
.bq-vc-card {
    background: var(--bq-bg-card);
    border-radius: 14px;
    border: 1px solid var(--bq-border);
    padding: 16px;
    margin-bottom: 12px;
}
.bq-vc-card-title {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--bq-text);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.bq-vc-card-title svg { color: var(--bq-primary); }

/* [v8.1] Modo Color/Degradado dentro del card de Color */
.bq-vc-color-mode {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 4px;
    background: var(--bq-bg-elevated, rgba(0,0,0,0.15));
    border-radius: 12px;
    margin-bottom: 14px;
    border: 1px solid var(--bq-border-light, rgba(255,255,255,0.05));
}
.bq-vc-mode-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--bq-text-secondary);
    cursor: pointer;
    transition: all 0.2s var(--bq-ease, ease);
    font-family: inherit;
}
.bq-vc-mode-btn:hover {
    color: var(--bq-text-primary);
    background: rgba(255,255,255,0.04);
}
.bq-vc-mode-btn.on {
    background: var(--bq-bg-card);
    border-color: var(--bq-primary);
    color: var(--bq-primary);
    box-shadow: 0 2px 8px rgba(255,107,53,0.18);
}
.bq-vc-mode-swatch {
    width: 18px; height: 18px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.15);
    flex-shrink: 0;
}
.bq-vc-mini-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--bq-text-secondary);
    margin-bottom: 6px;
}
.bq-vc-gradient-block {
    margin-top: 4px;
    padding-top: 14px;
    border-top: 1px solid var(--bq-border-light, rgba(255,255,255,0.05));
}
.bq-vc-gradient-preset:hover span:first-child {
    transform: scale(1.08);
    border-color: var(--bq-primary);
}

.bq-vc-swatches {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 12px;
}
.bq-vc-sw {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s;
    padding: 0;
    outline: none;
    flex-shrink: 0;
}
.bq-vc-sw:hover { transform: scale(1.15); }
.bq-vc-sw.on { border-color: #fff; box-shadow: 0 0 0 2px var(--bq-primary); transform: scale(1.1); }
.bq-vc-color-input {
    width: 34px; height: 34px;
    border: 2px dashed var(--bq-border);
    padding: 0; cursor: pointer;
    border-radius: 50%;
    overflow: hidden;
    background: none;
    flex-shrink: 0;
}
.bq-vc-hex-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.bq-vc-hex-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--bq-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.bq-vc-hex-input {
    width: 100px;
    padding: 7px 10px;
    border-radius: 8px;
    border: 1.5px solid var(--bq-border);
    background: var(--bq-bg-elevated);
    color: var(--bq-text);
    font-size: 14px;
    font-weight: 700;
    font-family: 'DM Sans', monospace;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    outline: none;
    transition: border-color 0.2s;
}
.bq-vc-hex-input:focus { border-color: var(--bq-primary); }
.bq-vc-hex-preview {
    width: 22px; height: 22px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.1);
    flex-shrink: 0;
    transition: background 0.2s;
}
.bq-vc-range {
    flex: 1;
    accent-color: var(--bq-primary);
    height: 6px;
}
.bq-vc-range-val {
    font-size: 13px;
    font-weight: 700;
    min-width: 40px;
    text-align: right;
    color: var(--bq-text);
}
.bq-vc-btn-group {
    display: flex;
    gap: 8px;
}
.bq-vc-opt {
    flex: 1;
    padding: 11px 10px;
    border-radius: 10px;
    border: 1.5px solid var(--bq-border);
    background: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--bq-text);
    transition: all 0.2s;
    font-family: inherit;
    text-align: center;
}
.bq-vc-opt:hover { border-color: var(--bq-primary); }
.bq-vc-opt.on {
    border-color: var(--bq-primary);
    background: rgba(255,107,53,0.1);
    color: var(--bq-primary);
}
/* Light mode customizer */
.buyaca-app.bq-light-mode .bq-vc-card { background: #fff; border-color: #e5e7eb; }
.buyaca-app.bq-light-mode .bq-vc-hex-input { background: #f9fafb; border-color: #e5e7eb; color: #1a1a1a; }
.buyaca-app.bq-light-mode .bq-vc-sw.on { border-color: #1a1a1a; }
.buyaca-app.bq-light-mode .bq-vc-opt { border-color: #e5e7eb; color: #374151; }
.buyaca-app.bq-light-mode .bq-vc-opt.on { background: var(--bq-primary); }

/* Admin panel sections */
.bq-admin-panel {
    /* [v8.8] Eliminado padding-top de 16px que generaba un hueco entre la barra de tabs admin
       (Catálogo / Estadísticas / Destacar / Productos Pautados / Diseño / Ajustes) y el contenido. */
    padding: 0 14px 14px;
    animation: bq-fade-up 0.3s ease both;
}
.bq-admin-panel > *:first-child {
    /* Si la primera tarjeta hijo tenía margin-top, lo neutralizamos para pegar el contenido a los tabs. */
    margin-top: 0 !important;
}
/* Design tab ahora vive dentro del bottom sheet (.bq-ds-body) */
.bq-admin-panel.bq-design-panel {
    padding: 18px 16px 0;
    animation: none;
}
/* Sticky save button antiguo — ya no se usa (reemplazado por .bq-ds-footer) */
.bq-vc-save-sticky { display: none !important; }
.bq-admin-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.bq-admin-section-header h3 {
    font-size: 17px;
    font-weight: 800;
    color: var(--bq-text);
    margin: 0;
    font-family: var(--bq-font-display);
}
.bq-admin-description {
    font-size: 13px;
    color: var(--bq-text-secondary);
    margin: 0 0 16px;
    line-height: 1.5;
}

/* Stats grid */
.bq-admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}
.bq-admin-stat-card {
    background: var(--bq-bg-card);
    border: 1px solid var(--bq-border);
    border-radius: 16px;
    padding: 16px;
    text-align: center;
    transition: transform 0.2s;
}
.bq-admin-stat-card:hover { transform: translateY(-2px); }
.bq-admin-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}
.bq-admin-stat-value {
    font-size: 26px;
    font-weight: 800;
    color: var(--bq-text);
    font-family: var(--bq-font-display);
    line-height: 1.1;
}
.bq-admin-stat-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--bq-text-secondary);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Plan card */
.bq-admin-plan-card {
    background: var(--bq-bg-card);
    border: 1px solid var(--bq-border);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
}
.bq-admin-plan-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.bq-admin-plan-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--bq-primary);
    font-family: var(--bq-font-display);
}
.bq-admin-plan-active {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 100px;
    background: rgba(16,185,129,0.12);
    color: #10B981;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.bq-admin-plan-details { display: flex; flex-direction: column; gap: 8px; }
.bq-admin-plan-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--bq-text-secondary);
}
.bq-admin-plan-row strong {
    color: var(--bq-text);
    font-weight: 700;
}
.bq-text-warning { color: #F59E0B !important; }
.bq-admin-plan-alert {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(245,158,11,0.08);
    border: 1px solid rgba(245,158,11,0.15);
    font-size: 12px;
    font-weight: 600;
    color: #F59E0B;
    line-height: 1.4;
}

/* Link buttons */
.bq-admin-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--bq-primary), #e55a2a);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s;
    font-family: var(--bq-font-display);
    border: none;
    cursor: pointer;
}
.bq-admin-link-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* Empty state */
.bq-admin-empty-state {
    text-align: center;
    padding: 24px 16px;
    background: var(--bq-bg-card);
    border: 1px dashed var(--bq-border);
    border-radius: 16px;
    margin-bottom: 16px;
}
.bq-admin-empty-state p {
    font-size: 13px;
    color: var(--bq-text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Edit form */
.bq-admin-edit-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.bq-admin-form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.bq-admin-form-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--bq-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-family: var(--bq-font-display);
}
.bq-admin-form-input,
.bq-admin-form-textarea {
    width: 100%;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1.5px solid var(--bq-border);
    background: var(--bq-bg-card);
    color: var(--bq-text);
    font-size: 14px;
    font-family: var(--bq-font-body);
    transition: border-color 0.25s;
    box-sizing: border-box;
    outline: none;
}
.bq-admin-form-input:focus,
.bq-admin-form-textarea:focus {
    border-color: var(--bq-primary);
}
.bq-admin-form-textarea { resize: vertical; min-height: 70px; }
.bq-admin-form-row {
    display: flex;
    gap: 10px;
}
.bq-admin-save-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--bq-primary), #e55a2a);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.25s;
    font-family: var(--bq-font-display);
    margin-top: 4px;
}
.bq-admin-save-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}
.bq-admin-save-btn:disabled {
    opacity: 0.6;
    pointer-events: none;
}

/* Light mode admin overrides */
.buyaca-app.bq-light-mode .bq-admin-bar {
    background: linear-gradient(135deg, rgba(255,107,53,0.06), rgba(255,107,53,0.02));
    border-color: rgba(255,107,53,0.1);
}
.buyaca-app.bq-light-mode .bq-admin-toggle-switch {
    background: #e5e7eb;
    border-color: #d1d5db;
}
.buyaca-app.bq-light-mode .bq-admin-toggle-switch.on {
    background: var(--bq-primary);
    border-color: var(--bq-primary);
}
.buyaca-app.bq-light-mode .bq-admin-stat-card {
    background: #fff;
    border-color: #e5e7eb;
}
.buyaca-app.bq-light-mode .bq-admin-plan-card {
    background: #fff;
    border-color: #e5e7eb;
}
.buyaca-app.bq-light-mode .bq-admin-form-input,
.buyaca-app.bq-light-mode .bq-admin-form-textarea {
    background: #fff;
    border-color: #e5e7eb;
    color: #1a1a1a;
}
.buyaca-app.bq-light-mode .bq-admin-empty-state {
    background: #f9fafb;
    border-color: #e5e7eb;
}

/* Responsive admin adjustments */
@media (max-width: 400px) {
    .bq-admin-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .bq-admin-stat-card { padding: 12px; }
    .bq-admin-stat-value { font-size: 22px; }
    .bq-admin-form-row { flex-direction: column; }
    .bq-admin-bar { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/*                                                                             */
/*   ██████╗ ███████╗██████╗ ███████╗███████╗██╗ ██████╗ ███╗   ██╗    ██╗   ██╗ █████╗   */
/*   ██╔══██╗██╔════╝██╔══██╗██╔════╝██╔════╝██║██╔════╝ ████╗  ██║    ██║   ██║██╔══██╗  */
/*   ██████╔╝█████╗  ██║  ██║█████╗  ███████╗██║██║  ███╗██╔██╗ ██║    ██║   ██║╚█████╔╝  */
/*   ██╔══██╗██╔══╝  ██║  ██║██╔══╝  ╚════██║██║██║   ██║██║╚██╗██║    ╚██╗ ██╔╝██╔══██╗  */
/*   ██║  ██║███████╗██████╔╝███████╗███████║██║╚██████╔╝██║ ╚████║     ╚████╔╝ ╚█████╔╝  */
/*   ╚═╝  ╚═╝╚══════╝╚═════╝ ╚══════╝╚══════╝╚═╝ ╚═════╝ ╚═╝  ╚═══╝      ╚═══╝   ╚════╝   */
/*                                                                             */
/*   BUYACÁ · Redesign v8 — Modern Marketplace × Social                        */
/*   Sistema de diseño premium, minimalista, tipo red social                   */
/* ═══════════════════════════════════════════════════════════════════════════ */

/* ── Design Tokens v8 · Sobrescriben los originales con criterio actualizado ── */
.buyaca-app {
    /* Paleta refinada */
    --bq-primary: #FF6A2C;
    --bq-primary-dark: #E5551A;
    --bq-primary-light: rgba(255,106,44,0.08);
    --bq-primary-soft: rgba(255,106,44,0.12);
    --bq-primary-glow: rgba(255,106,44,0.22);
    --bq-accent: #1F2937;
    --bq-secondary: #0EA5A4;

    /* Escala de radios */
    --bq-radius-xs: 8px;
    --bq-radius-sm: 12px;
    --bq-radius: 16px;
    --bq-radius-lg: 22px;
    --bq-radius-xl: 28px;
    --bq-radius-pill: 999px;

    /* Escala de espaciado (4px base) */
    --bq-s-1: 4px;
    --bq-s-2: 8px;
    --bq-s-3: 12px;
    --bq-s-4: 16px;
    --bq-s-5: 20px;
    --bq-s-6: 24px;
    --bq-s-7: 32px;
    --bq-s-8: 40px;
    --bq-s-9: 56px;
    --bq-s-10: 72px;

    /* Sombras refinadas (profundidad sutil, no dramática) */
    --bq-shadow-xs: 0 1px 2px rgba(17,24,39,0.04);
    --bq-shadow-sm: 0 1px 3px rgba(17,24,39,0.06), 0 1px 2px rgba(17,24,39,0.04);
    --bq-shadow:    0 4px 12px -2px rgba(17,24,39,0.08), 0 2px 4px -1px rgba(17,24,39,0.04);
    --bq-shadow-md: 0 10px 20px -6px rgba(17,24,39,0.10), 0 4px 8px -2px rgba(17,24,39,0.04);
    --bq-shadow-lg: 0 20px 40px -12px rgba(17,24,39,0.18), 0 8px 16px -4px rgba(17,24,39,0.06);
    --bq-shadow-xl: 0 30px 60px -15px rgba(17,24,39,0.25);
    --bq-shadow-primary: 0 10px 30px -8px rgba(255,106,44,0.38);
    --bq-shadow-primary-sm: 0 4px 14px -4px rgba(255,106,44,0.45);

    /* Transiciones */
    --bq-ease: cubic-bezier(0.32, 0.72, 0, 1);
    --bq-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --bq-ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --bq-dur-fast: 0.15s;
    --bq-dur: 0.24s;
    --bq-dur-slow: 0.42s;

    /* Tipografías (se mantienen las fuentes cargadas, mejoramos tracking) */
    --bq-font-family: 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --bq-font-display: 'Outfit', 'DM Sans', sans-serif;
}

/* ── LIGHT MODE v8 — base limpia, gris pizarra suave ── */
.buyaca-app.bq-light-mode {
    --bq-text: #0F172A;
    --bq-text-primary: #0F172A;
    --bq-text-secondary: #64748B;
    --bq-text-muted: #94A3B8;
    --bq-bg: #F8FAFC;
    --bq-bg-secondary: #F1F5F9;
    --bq-bg-card: #FFFFFF;
    --bq-bg-elevated: #FFFFFF;
    --bq-bg-surface: #F8FAFC;
    --bq-border: #E2E8F0;
    --bq-border-strong: #CBD5E1;
    --bq-border-light: #F1F5F9;
    --bq-gradient-card: linear-gradient(180deg, #FFFFFF 0%, #FAFBFC 100%);
    --bq-gradient-hero: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

/* ── DARK MODE v8 — negro profundo elegante, no gris plano ── */
.buyaca-app:not(.bq-light-mode) {
    --bq-text: #F1F5F9;
    --bq-text-primary: #F8FAFC;
    --bq-text-secondary: #94A3B8;
    --bq-text-muted: #64748B;
    --bq-bg: #0A0A0C;
    --bq-bg-secondary: #0D0D10;
    --bq-bg-card: #141418;
    --bq-bg-elevated: #1A1A20;
    --bq-bg-surface: #101014;
    --bq-border: rgba(255,255,255,0.06);
    --bq-border-strong: rgba(255,255,255,0.12);
    --bq-border-light: rgba(255,255,255,0.04);
    --bq-gradient-card: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.005) 100%);
    --bq-gradient-hero: linear-gradient(180deg, #141418 0%, #0A0A0C 100%);
}

/* ── Tipografía base refinada ── */
.buyaca-app {
    font-family: var(--bq-font-family);
    font-feature-settings: 'cv02','cv03','cv04','cv11';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    letter-spacing: -0.005em;
    color: var(--bq-text);
    background: var(--bq-bg);
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/*   1 · HEADER v8 — Compacto, limpio, sticky elegante                         */
/* ═══════════════════════════════════════════════════════════════════════════ */

.buyaca-app .bq-app-header {
    z-index: 200;
}

.buyaca-app .bq-app-header-inner {
    padding: 10px 16px 0;
    gap: 0;
}

/* Backdrop refinado: blur más sutil, sin gradiente exagerado */
.buyaca-app .bq-header-backdrop {
    background: var(--bq-bg-card);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-radius: 0 0 0px 0px;
    box-shadow: var(--bq-shadow-sm);
    border-bottom: 1px solid var(--bq-border-light);
    transition: background var(--bq-dur) var(--bq-ease), box-shadow var(--bq-dur) var(--bq-ease);
}
.buyaca-app:not(.bq-light-mode) .bq-header-backdrop {
    background: rgba(10,10,12,0.82);
    border-bottom-color: var(--bq-border);
    box-shadow: 0 0px 0 rgba(255,255,255,0.04), 0 4px 16px rgba(0,0,0,0.3);
}
.buyaca-app.bq-light-mode .bq-header-backdrop {
    background: rgba(255,255,255,0.88);
}

/* Header scrolled: más compacto, sombra más marcada */
.buyaca-app .bq-app-header.scrolled .bq-header-backdrop {
    box-shadow: var(--bq-shadow-md);
}

/* Logo compacto */
.buyaca-app .bq-header-logo-wrap {
    padding: 6px 0 8px;
    max-height: 60px;
}
.buyaca-app .bq-header-logo-wrap .logo {
    max-width: 88px;
    filter: none;
}

/* ── Search + Intereses: layout horizontal v8 ── */
.buyaca-app .bq-header-search-wrap-v8 {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 0 10px;
}

.buyaca-app .bq-header-search-wrap-v8 .bq-app-header-search {
    flex: 1;
    min-width: 0;
    background: var(--bq-bg-surface);
    border: 1px solid var(--bq-border);
    border-radius: var(--bq-radius-pill);
    box-shadow: var(--bq-shadow-xs);
    height: 44px;
    transition: border-color var(--bq-dur) var(--bq-ease), background var(--bq-dur) var(--bq-ease), box-shadow var(--bq-dur) var(--bq-ease);
}

.buyaca-app.bq-light-mode .bq-header-search-wrap-v8 .bq-app-header-search {
    background: #F1F5F9;
    border-color: transparent;
}
.buyaca-app:not(.bq-light-mode) .bq-header-search-wrap-v8 .bq-app-header-search {
    background: #1A1A20;
    border-color: var(--bq-border);
}

.buyaca-app .bq-header-search-wrap-v8 .bq-app-header-search:focus-within {
    border-color: var(--bq-primary);
    background: var(--bq-bg-card);
    box-shadow: 0 0 0 4px var(--bq-primary-light), var(--bq-shadow-xs);
    transform: none;
}

.buyaca-app .bq-header-search-wrap-v8 .bq-app-header-search-input {
    padding: 11px 48px 11px 44px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--bq-text);
    letter-spacing: -0.01em;
    background: transparent;
}
.buyaca-app .bq-header-search-wrap-v8 .bq-app-header-search-input::placeholder {
    color: var(--bq-text-muted);
    font-weight: 400;
}

.buyaca-app .bq-header-search-wrap-v8 .bq-app-header-search-icon {
    left: 15px;
    opacity: 1;
}
.buyaca-app .bq-header-search-wrap-v8 .bq-app-header-search-icon svg {
    stroke: var(--bq-text-muted);
}

.buyaca-app .bq-header-search-wrap-v8 .bq-app-header-search-btn {
    right: 4px;
    width: 36px;
    height: 36px;
    background: var(--bq-primary);
    box-shadow: var(--bq-shadow-primary-sm);
}
.buyaca-app .bq-header-search-wrap-v8 .bq-app-header-search-btn:hover {
    background: var(--bq-primary-dark);
    transform: translateY(-50%) scale(1.05);
}

/* Botón "Me interesa" en el header (junto al buscador) */
.buyaca-app .bq-header-interest-btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: var(--bq-radius-pill);
    border: 1px solid var(--bq-border);
    background: var(--bq-bg-surface);
    color: var(--bq-text);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: var(--bq-shadow-xs);
    transition: all var(--bq-dur) var(--bq-ease);
}
.buyaca-app.bq-light-mode .bq-header-interest-btn {
    background: #F1F5F9;
    border-color: transparent;
}
.buyaca-app:not(.bq-light-mode) .bq-header-interest-btn {
    background: #1A1A20;
}
.buyaca-app .bq-header-interest-btn svg {
    width: 20px;
    height: 20px;
    transition: transform var(--bq-dur) var(--bq-ease-bounce);
}
.buyaca-app .bq-header-interest-btn:hover {
    color: var(--bq-primary);
    border-color: var(--bq-primary-soft);
    background: var(--bq-primary-light);
    transform: translateY(-1px);
}
.buyaca-app .bq-header-interest-btn:hover svg {
    transform: scale(1.1) rotate(-6deg);
}
.buyaca-app .bq-header-interest-btn:active {
    transform: scale(0.94);
}
.buyaca-app .bq-header-interest-btn .bq-nav-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: var(--bq-primary);
    color: #fff;
    font-size: 10.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bq-bg-card);
    letter-spacing: 0;
    line-height: 1;
}

/* Chips de filtros — más compactos, suaves */
.buyaca-app .bq-header-chips-wrap {
    padding: 0 0 12px;
    max-height: 56px;
}
.buyaca-app .bq-header-chips-wrap .bq-home-filters {
    gap: 8px;
    padding: 7px 0;
}
.buyaca-app .bq-header-chips-wrap .bq-home-filter-pill {
    height: 36px;
    padding: 0 14px;
    border-radius: var(--bq-radius-pill);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.01em;
    gap: 6px;
    background: transparent;
   
    color: var(--bq-text-secondary);
    transition: all var(--bq-dur) var(--bq-ease);
}
.buyaca-app .bq-header-chips-wrap .bq-home-filter-pill:hover {
    border-color: var(--bq-border-strong);
    color: var(--bq-text);
}
.buyaca-app .bq-header-chips-wrap .bq-home-filter-pill.active {
    background: var(--bq-primary);
    border-color: var(--bq-primary);
    color: #fff;
    box-shadow: var(--bq-shadow-primary-sm);
}

.buyaca-app .bq-header-chips-wrap .bq-home-filter-select {
    height: 36px;
    padding: 0 32px 0 34px;
    border-radius: var(--bq-radius-pill);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.01em;
    background-color: transparent;
    
    color: var(--bq-text-secondary);
}
.buyaca-app .bq-header-chips-wrap .bq-filter-select-icon {
    left: 12px;
}

/* Scroll collapsed: solo buscador sticky */
.buyaca-app .bq-app-header.scrolled .bq-header-logo-wrap,
.buyaca-app .bq-app-header.scrolled .bq-header-chips-wrap {
    max-height: 0;
    opacity: 0;
    padding: 0;
    pointer-events: none;
}
.buyaca-app .bq-app-header.scrolled .bq-header-search-wrap-v8 {
    padding-top: 8px;
    padding-bottom: 10px;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/*   2 · BOTTOM NAV v8 — Tabbar con FAB central "Publicar"                     */
/* ═══════════════════════════════════════════════════════════════════════════ */

.buyaca-app .buyaca-bottom-nav.bq-bottom-nav-v8,
.bq-bottom-nav-v8 {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    background: var(--bq-bg-card, #fff);
    backdrop-filter: saturate(180%) blur(24px);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    border-top: 1px solid var(--bq-border, #E2E8F0);
    padding: 6px 6px env(safe-area-inset-bottom, 8px);
    box-shadow: 0 -2px 16px rgba(17,24,39,0.04);
    overflow: visible;
}
.buyaca-app:not(.bq-light-mode) .buyaca-bottom-nav.bq-bottom-nav-v8 {
    background: rgba(10,10,12,0.92);
    border-top-color: rgba(255,255,255,0.06);
    box-shadow: 0 -2px 20px rgba(0,0,0,0.5);
}
.buyaca-app.bq-light-mode .buyaca-bottom-nav.bq-bottom-nav-v8 {
    background: rgba(255,255,255,0.96);
}

.bq-bottom-nav-v8 .buyaca-bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 4px 6px;
    border-radius: 14px;
    text-decoration: none;
    color: var(--bq-text-muted, #94A3B8);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.01em;
    background: none;
    border: none;
    cursor: pointer;
    transition: color var(--bq-dur) var(--bq-ease), transform var(--bq-dur) var(--bq-ease);
    position: relative;
    -webkit-tap-highlight-color: transparent;
}
.bq-bottom-nav-v8 .buyaca-bottom-nav-item::before { display: none; }
.bq-bottom-nav-v8 .buyaca-bottom-nav-item:hover { color: var(--bq-primary); }
.bq-bottom-nav-v8 .buyaca-bottom-nav-item.active { color: var(--bq-primary); }
.bq-bottom-nav-v8 .buyaca-bottom-nav-item:active { transform: scale(0.94); }

.bq-bottom-nav-v8 .buyaca-bottom-nav-icon {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--bq-dur) var(--bq-ease-bounce);
}
.bq-bottom-nav-v8 .buyaca-bottom-nav-icon svg {
    width: 22px;
    height: 22px;
}
.bq-bottom-nav-v8 .buyaca-bottom-nav-item.active .buyaca-bottom-nav-icon {
    transform: translateY(-2px) scale(1.05);
}
.bq-bottom-nav-v8 .buyaca-bottom-nav-label {
    font-family: var(--bq-font-family);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1;
}

/* Active underline pill — indicador sutil */
.bq-bottom-nav-v8 .buyaca-bottom-nav-item.active::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 50%;
    width: 22px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: var(--bq-primary);
    transform: translateX(-50%);
    animation: bqNavInOut var(--bq-dur) var(--bq-ease-out);
}
@keyframes bqNavInOut {
    from { width: 0; opacity: 0; }
    to { width: 22px; opacity: 1; }
}

/* FAB central · Publicar */
.bq-bottom-nav-v8 .bq-nav-publish {
    flex: 0 0 auto;
    padding: 0 6px 6px;
    transform: translateY(-14px);
}
.bq-bottom-nav-v8 .bq-nav-publish-fab {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bq-primary) 0%, #FF8A4A 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    
    transition: transform var(--bq-dur) var(--bq-ease-bounce), box-shadow var(--bq-dur) var(--bq-ease);
    margin-bottom: 4px;
   position: absolute;
    top: -60px;
}
.bq-bottom-nav-v8 .bq-nav-publish-fab::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    
    opacity: 0.18;
    filter: blur(8px);
    z-index: -1;
    transition: opacity var(--bq-dur) var(--bq-ease);
}
.bq-bottom-nav-v8 .bq-nav-publish-fab svg {
    width: 28px;
    height: 28px;
    transition: transform var(--bq-dur) var(--bq-ease-bounce);
}
.bq-bottom-nav-v8 .bq-nav-publish:hover .bq-nav-publish-fab {
    transform: scale(1.06) rotate(90deg);
    box-shadow: 0 14px 32px -6px rgba(255,106,44,0.6), 0 4px 8px rgba(255,106,44,0.3);
}
.bq-bottom-nav-v8 .bq-nav-publish:hover .bq-nav-publish-fab svg {
    transform: rotate(-90deg);
}
.bq-bottom-nav-v8 .bq-nav-publish:active .bq-nav-publish-fab {
    transform: scale(0.94);
}
.bq-bottom-nav-v8 .bq-nav-publish .buyaca-bottom-nav-label {
    color: var(--bq-primary);
    font-weight: 700;
}

/* Badges en tabbar v8 */
.bq-bottom-nav-v8 .bq-nav-badge {
    position: absolute;
    top: 2px;
    right: 0;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: var(--bq-primary);
    color: #fff;
    font-size: 9.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bq-bg-card);
    line-height: 1;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/*   [v8.1] MODAL: Gestión de Categorías de Productos por negocio              */
/* ═══════════════════════════════════════════════════════════════════════════ */
.bq-cats-modal {
    position: fixed;
    inset: 0;
    z-index: 100050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.bq-cats-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.bq-cats-modal-panel {
    position: relative;
    width: 100%;
    max-width: 480px;
    max-height: 86vh;
    background: var(--bq-bg-card, #1a1a1f);
    border-radius: 18px;
    border: 1px solid var(--bq-border, rgba(255,255,255,0.08));
    box-shadow: 0 24px 64px -20px rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: bq-cats-pop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes bq-cats-pop {
    from { opacity: 0; transform: scale(0.95) translateY(8px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.bq-cats-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 22px 12px;
    border-bottom: 1px solid var(--bq-border-light, rgba(255,255,255,0.04));
}
.bq-cats-modal-title {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: var(--bq-text-primary, #fff);
}
.bq-cats-modal-sub {
    margin: 4px 0 0;
    font-size: 12px;
    color: var(--bq-text-secondary, #9ca3af);
    line-height: 1.4;
}
.bq-cats-modal-close {
    background: var(--bq-bg-elevated, rgba(255,255,255,0.06));
    border: 1px solid var(--bq-border, rgba(255,255,255,0.08));
    color: var(--bq-text-secondary);
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}
.bq-cats-modal-close:hover {
    color: var(--bq-text-primary);
    background: rgba(255,255,255,0.1);
}
.bq-cats-modal-body {
    padding: 18px 22px;
    overflow-y: auto;
    flex: 1;
}
.bq-cats-add-row {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}
.bq-cats-add-row input {
    flex: 1;
}
.bq-cats-add-row .buyaca-btn {
    flex-shrink: 0;
}
.bq-cats-msg {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    margin-bottom: 10px;
}
.bq-cats-msg.is-ok {
    background: rgba(16,185,129,0.12);
    color: #10B981;
    border: 1px solid rgba(16,185,129,0.25);
}
.bq-cats-msg.is-error {
    background: rgba(239,68,68,0.12);
    color: #EF4444;
    border: 1px solid rgba(239,68,68,0.25);
}
.bq-cats-list-wrap {
    margin-top: 16px;
}
.bq-cats-list-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--bq-text-secondary);
    margin-bottom: 10px;
}
.bq-cats-counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    background: var(--bq-primary, #FF6B35);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}
.bq-cats-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.bq-cats-empty {
    margin: 16px 0;
    text-align: center;
    font-size: 13px;
    color: var(--bq-text-secondary);
    padding: 24px 12px;
    border: 1px dashed var(--bq-border);
    border-radius: 12px;
}
.bq-cats-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: var(--bq-bg-surface, rgba(255,255,255,0.03));
    border: 1px solid var(--bq-border-light, rgba(255,255,255,0.05));
    border-radius: 10px;
    transition: all 0.2s ease;
}
.bq-cats-item:hover {
    border-color: var(--bq-primary);
    background: rgba(255,107,53,0.05);
}
.bq-cats-item-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--bq-text-primary);
}
.bq-cats-item-del {
    background: transparent;
    border: 1px solid transparent;
    color: var(--bq-text-secondary);
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.bq-cats-item-del:hover {
    background: rgba(239,68,68,0.12);
    color: #EF4444;
    border-color: rgba(239,68,68,0.3);
}
.bq-cats-modal-footer {
    padding: 14px 22px 18px;
    border-top: 1px solid var(--bq-border-light, rgba(255,255,255,0.04));
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}
.buyaca-app.bq-light-mode .bq-cats-modal-panel,
html.bq-page-light .bq-cats-modal-panel {
    background: #fff;
    border-color: #e5e7eb;
}
.buyaca-app.bq-light-mode .bq-cats-item,
html.bq-page-light .bq-cats-item {
    background: #f8f9fa;
    border-color: #e5e7eb;
}
@media (max-width: 480px) {
    .bq-cats-modal { padding: 0; align-items: flex-end; }
    .bq-cats-modal-panel { max-width: 100%; max-height: 88vh; border-radius: 22px 22px 0 0; }
    .bq-cats-add-row { flex-direction: column; }
    .bq-cats-add-row .buyaca-btn { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/*   3 · PUBLISH BOTTOM SHEET — Menú de opciones de Publicar                   */
/* ═══════════════════════════════════════════════════════════════════════════ */

.bq-publish-sheet {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--bq-dur) var(--bq-ease);
}
.bq-publish-sheet.is-open {
    opacity: 1;
    pointer-events: auto;
}
.bq-publish-sheet-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.bq-publish-sheet-panel {
    position: relative;
    width: 100%;
    max-width: 520px;
    background: var(--bq-bg-card, #fff);
    color: var(--bq-text, #0F172A);
    border-radius: 24px 24px 0 0;
    padding: 10px 20px calc(24px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -10px 40px rgba(15,23,42,0.25);
    transform: translateY(100%);
    transition: transform var(--bq-dur-slow) var(--bq-ease-out);
    max-height: 88vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.buyaca-app:not(.bq-light-mode) ~ .bq-publish-sheet .bq-publish-sheet-panel,
body:has(.buyaca-app:not(.bq-light-mode)) .bq-publish-sheet-panel {
    background: #141418;
    color: #F1F5F9;
}
@media (min-width: 640px) {
    .bq-publish-sheet-panel {
        margin-bottom: 84px;
        border-radius: 24px;
        max-width: 440px;
    }
}
.bq-publish-sheet.is-open .bq-publish-sheet-panel {
    transform: translateY(0);
}
.bq-publish-sheet-handle {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: rgba(148,163,184,0.35);
    margin: 0 auto 12px;
}
.bq-publish-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px 4px 14px;
}
.bq-publish-sheet-header h3 {
    font-family: var(--bq-font-display);
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.02em;
}
.bq-publish-sheet-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: var(--bq-bg-surface);
    color: var(--bq-text-secondary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--bq-dur) var(--bq-ease);
}
.bq-publish-sheet-close:hover {
    background: var(--bq-primary-light);
    color: var(--bq-primary);
}
.bq-publish-sheet-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.bq-publish-section-label {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bq-text-muted);
    padding: 8px 8px 4px;
}
.bq-publish-biz-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.bq-publish-divider {
    height: 1px;
    background: var(--bq-border-light);
    margin: 8px 4px;
}

/* ═══════════════════════════════════════════════════════════════════════
   [v8.1] Banners y badges para "Negocio Pautado"
   ═══════════════════════════════════════════════════════════════════════ */
/* Mini badge inline en lista de negocios (publish sheet, dashboard, etc.) */
.bq-feat-mini-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-left: 6px;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 999px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #5C3A00;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(255,193,7,0.3);
    vertical-align: middle;
    line-height: 1;
}

/* [v8.7] Etiqueta "Destacar" inline dentro de la tarjeta del negocio cuando NO está destacado.
   Reemplaza al banner externo bq-feat-banner / bq-feat-hero-banner. Al hacer clic redirige
   al perfil del negocio en sección plans para abrir el modal de compra. */
.bq-feat-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 6px;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255,215,0,0.18), rgba(255,165,0,0.12));
    color: #B8860B;
    border: 1.5px solid rgba(255,165,0,0.45);
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
    vertical-align: middle;
    box-shadow: 0 1px 4px rgba(255,193,7,0.18);
}
.bq-feat-tag:hover {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #5C3A00;
    transform: translateY(-1px) scale(1.04);
    box-shadow: 0 4px 14px rgba(255,193,7,0.4);
    border-color: rgba(184,134,11,0.6);
}
.bq-feat-tag svg { flex-shrink: 0; }

/* Banner CTA compacto (publish sheet) */
.bq-feat-banner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    margin: 4px 0;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255,215,0,0.08), rgba(255,107,53,0.08));
    border: 1px solid rgba(255,193,7,0.25);
    color: var(--bq-text);
    text-decoration: none;
    overflow: hidden;
    transition: transform var(--bq-dur) var(--bq-ease), box-shadow var(--bq-dur) var(--bq-ease);
}
.bq-feat-banner:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(255,193,7,0.18);
}
.bq-feat-banner-glow {
    position: absolute; top: -40px; right: -40px;
    width: 140px; height: 140px;
    background: radial-gradient(circle, rgba(255,215,0,0.35) 0%, transparent 70%);
    pointer-events: none;
}
.bq-feat-banner-icon {
    flex-shrink: 0;
    width: 44px; height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255,215,0,0.18), rgba(255,165,0,0.12));
    border: 1px solid rgba(255,193,7,0.35);
    display: flex; align-items: center; justify-content: center;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}
.bq-feat-banner-body {
    flex: 1; min-width: 0;
    display: flex; flex-direction: column; gap: 3px;
}
.bq-feat-banner-title {
    font-size: 14px; font-weight: 800; line-height: 1.25;
    color: var(--bq-text-primary);
}
.bq-feat-banner-text {
    font-size: 12px; line-height: 1.35;
    color: var(--bq-text-secondary);
}
.bq-feat-banner-cta {
    flex-shrink: 0;
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 12px; font-weight: 800;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #5C3A00;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    box-shadow: 0 4px 12px rgba(255,193,7,0.35);
}

/* ═════════════════════════════════════════════════════════════════════
   [v8.8] HERO ULTRA-MEJORADO · Destaca tu negocio en BUYACÁ
   Diseño premium con tarjetas de plan integradas y clic directo a checkout
   ═════════════════════════════════════════════════════════════════════ */
.bq-feat-hero-v2 {
    position: relative;
    border-radius: 24px;
    padding: 28px 22px 24px;
    margin-bottom: 18px;
    background:
        radial-gradient(circle at 15% 0%, rgba(255,193,7,0.18) 0%, transparent 55%),
        radial-gradient(circle at 85% 100%, rgba(255,107,53,0.15) 0%, transparent 50%),
        linear-gradient(160deg, rgba(35,15,5,0.92) 0%, rgba(20,10,4,0.95) 60%, rgba(10,8,4,0.98) 100%);
    border: 1px solid rgba(255,193,7,0.35);
    overflow: hidden;
    box-shadow:
        0 20px 60px -20px rgba(255,150,30,0.35),
        0 0 0 1px rgba(255,255,255,0.04) inset,
        0 1px 0 rgba(255,193,7,0.25) inset;
}
.bq-feat-hero-v2__glow-a,
.bq-feat-hero-v2__glow-b {
    position: absolute; inset: 0; pointer-events: none;
}
.bq-feat-hero-v2__glow-a {
    background:
        radial-gradient(circle at 25% 30%, rgba(255,215,0,0.22) 0%, transparent 45%),
        radial-gradient(circle at 75% 70%, rgba(255,107,53,0.18) 0%, transparent 45%);
    animation: bq-feat-hero-v2-glow 7s ease-in-out infinite;
}
.bq-feat-hero-v2__glow-b {
    background: radial-gradient(circle at 50% 0%, rgba(255,235,150,0.10) 0%, transparent 60%);
    mix-blend-mode: screen;
}
@keyframes bq-feat-hero-v2-glow {
    0%, 100% { opacity: 0.65; transform: scale(1); }
    50%      { opacity: 1;    transform: scale(1.05); }
}
.bq-feat-hero-v2__stars {
    position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.bq-feat-hero-v2__stars span {
    position: absolute;
    width: 3px; height: 3px;
    border-radius: 50%;
    background: #FFE07A;
    box-shadow: 0 0 8px rgba(255,224,122,0.9);
    animation: bq-feat-hero-v2-twinkle 3s ease-in-out infinite;
}
.bq-feat-hero-v2__stars span:nth-child(1) { top: 12%; left: 8%;  animation-delay: 0s; }
.bq-feat-hero-v2__stars span:nth-child(2) { top: 22%; left: 88%; animation-delay: 0.5s; width: 2px; height: 2px; }
.bq-feat-hero-v2__stars span:nth-child(3) { top: 65%; left: 12%; animation-delay: 1s;   width: 4px; height: 4px; }
.bq-feat-hero-v2__stars span:nth-child(4) { top: 78%; left: 78%; animation-delay: 1.5s; }
.bq-feat-hero-v2__stars span:nth-child(5) { top: 38%; left: 50%; animation-delay: 2s;   width: 2px; height: 2px; }
.bq-feat-hero-v2__stars span:nth-child(6) { top: 90%; left: 35%; animation-delay: 2.5s; }
.bq-feat-hero-v2__stars span:nth-child(7) { top: 8%;  left: 62%; animation-delay: 0.8s; width: 2px; height: 2px; }
@keyframes bq-feat-hero-v2-twinkle {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50%      { opacity: 1;   transform: scale(1.4); }
}
.bq-feat-hero-v2__head {
    position: relative; z-index: 2;
    text-align: center;
    margin-bottom: 22px;
}
.bq-feat-hero-v2__icon {
    position: relative;
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 64px; height: 64px;
    margin-bottom: 12px;
    border-radius: 18px;
    background: linear-gradient(135deg, #FFE066 0%, #FFB347 50%, #FF8A00 100%);
    box-shadow:
        0 12px 32px -6px rgba(255,150,30,0.6),
        0 0 0 1px rgba(255,255,255,0.18) inset,
        0 -2px 0 rgba(0,0,0,0.12) inset;
}
.bq-feat-hero-v2__icon-pulse {
    position: absolute; inset: -6px;
    border-radius: 22px;
    border: 2px solid rgba(255,193,7,0.5);
    animation: bq-feat-hero-v2-pulse 2.4s ease-out infinite;
    pointer-events: none;
}
@keyframes bq-feat-hero-v2-pulse {
    0%   { transform: scale(0.9); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}
.bq-feat-hero-v2__title {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #FFE066 0%, #FFB347 50%, #FFD700 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #FFD700;
}
.bq-feat-hero-v2__sub {
    margin: 0 auto;
    max-width: 540px;
    font-size: 13.5px;
    line-height: 1.55;
    color: rgba(255,238,200,0.85);
}
.bq-feat-hero-v2__sub strong { color: #FFE07A; font-weight: 700; }

.bq-feat-hero-v2__active {
    position: relative; z-index: 2;
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 18px;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(16,185,129,0.18), rgba(255,193,7,0.12));
    border: 1px solid rgba(16,185,129,0.4);
    border-radius: 14px;
}
.bq-feat-hero-v2__active-dot {
    flex-shrink: 0;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 0 4px rgba(16,185,129,0.25), 0 0 14px rgba(16,185,129,0.7);
    animation: bq-feat-hero-v2-dot 1.6s ease-in-out infinite;
}
@keyframes bq-feat-hero-v2-dot {
    0%, 100% { opacity: 1;   transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(0.85); }
}
.bq-feat-hero-v2__active-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bq-feat-hero-v2__active-text strong { font-size: 14px; color: #fff; font-weight: 800; }
.bq-feat-hero-v2__active-text span   { font-size: 12px; color: rgba(255,255,255,0.75); line-height: 1.4; }

.bq-feat-hero-v2__plans-label {
    position: relative; z-index: 2;
    display: flex; align-items: center; gap: 6px; justify-content: center;
    margin-bottom: 14px;
    font-size: 11px; font-weight: 800;
    letter-spacing: 0.7px; text-transform: uppercase;
    color: rgba(255,224,122,0.85);
}
.bq-feat-hero-v2__plans-label svg { color: #FFD700; }

.bq-feat-hero-v2__plans {
    position: relative; z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 22px;
}
.bq-feat-hero-v2__plan {
    position: relative;
    display: flex; flex-direction: column; gap: 6px;
    padding: 18px 14px 14px;
    border-radius: 16px;
    background: linear-gradient(165deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
    border: 1.5px solid rgba(255,193,7,0.28);
    color: #fff;
    cursor: pointer;
    text-align: center;
    overflow: hidden;
    transition: transform .25s ease, border-color .25s ease, box-shadow .3s ease, background .3s ease;
    font-family: inherit;
}
/* [v8.8.3] Estado "Plan en curso" — solo aplicado a la tarjeta del plan activo,
 * los demás siguen completamente operativos para extender. */
.bq-feat-hero-v2__plan.is-current,
.bq-feat-hero-v2__plan[disabled] {
    opacity: 0.55;
    cursor: not-allowed !important;
    pointer-events: none;
    transform: none !important;
    box-shadow: none !important;
    border-color: rgba(34,197,94,0.55) !important;
    background: linear-gradient(165deg, rgba(34,197,94,0.10) 0%, rgba(34,197,94,0.04) 100%) !important;
}
.bq-feat-hero-v2__plan.is-current::before { display: none; }
.bq-feat-hero-v2__plan.is-current:hover { transform: none; }
.bq-feat-hero-v2__plan-badge--current {
    background: linear-gradient(90deg,#22c55e,#16a34a) !important;
    color: #fff !important;
}
.bq-feat-hero-v2__plan::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,215,0,0) 0%, rgba(255,215,0,0.08) 50%, rgba(255,215,0,0) 100%);
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
}
.bq-feat-hero-v2__plan:hover {
    transform: translateY(-4px);
    border-color: rgba(255,215,0,0.7);
    background: linear-gradient(165deg, rgba(255,215,0,0.12) 0%, rgba(255,107,53,0.06) 100%);
    box-shadow: 0 16px 36px -10px rgba(255,150,30,0.5), 0 0 0 1px rgba(255,215,0,0.4);
}
.bq-feat-hero-v2__plan:hover::before { opacity: 1; }
.bq-feat-hero-v2__plan.is-recommended {
    border-color: rgba(255,193,7,0.85);
    background: linear-gradient(165deg, rgba(255,215,0,0.18) 0%, rgba(255,107,53,0.10) 100%);
    box-shadow: 0 14px 30px -10px rgba(255,150,30,0.55), 0 0 0 1px rgba(255,215,0,0.3) inset;
}
.bq-feat-hero-v2__plan.is-best-value {
    border-color: rgba(190,140,255,0.6);
    background: linear-gradient(165deg, rgba(168,85,247,0.16) 0%, rgba(255,193,7,0.10) 100%);
}
.bq-feat-hero-v2__plan-badge {
    position: absolute;
    top: -1px; left: 50%;
    transform: translateX(-50%) translateY(-50%);
    padding: 3px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #5C3A00;
    font-size: 9.5px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(255,150,30,0.4);
}
.bq-feat-hero-v2__plan-badge--gold {
    background: linear-gradient(135deg, #c084fc 0%, #FFD700 100%);
    color: #2d1b4e;
}
.bq-feat-hero-v2__plan-period {
    font-size: 13px;
    font-weight: 800;
    color: rgba(255,224,122,0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}
.bq-feat-hero-v2__plan-price {
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    letter-spacing: -1px;
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}
.bq-feat-hero-v2__plan-price-currency {
    font-size: 14px;
    font-weight: 800;
    color: rgba(255,224,122,0.85);
}
.bq-feat-hero-v2__plan-price-cop {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255,255,255,0.55);
    margin-left: 4px;
    letter-spacing: 1px;
}
.bq-feat-hero-v2__plan-days {
    display: inline-flex; align-items: center; justify-content: center; gap: 4px;
    font-size: 11px;
    color: rgba(255,255,255,0.65);
    margin-bottom: 6px;
}
.bq-feat-hero-v2__plan-cta {
    display: inline-flex; align-items: center; justify-content: center; gap: 4px;
    padding: 8px 12px;
    border-radius: 10px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #5C3A00;
    font-size: 12px;
    font-weight: 800;
    margin-top: auto;
    box-shadow: 0 4px 12px rgba(255,150,30,0.35);
    transition: transform .2s ease, box-shadow .25s ease;
}
.bq-feat-hero-v2__plan:hover .bq-feat-hero-v2__plan-cta {
    transform: scale(1.04);
    box-shadow: 0 6px 18px rgba(255,150,30,0.6);
}
.bq-feat-hero-v2__plan-loader {
    display: none;
    align-items: center; justify-content: center; gap: 4px;
    margin-top: 8px; padding: 4px;
}
.bq-feat-hero-v2__plan-loader span {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #FFD700;
    animation: bq-feat-hero-v2-bounce 1.2s ease-in-out infinite both;
}
.bq-feat-hero-v2__plan-loader span:nth-child(1) { animation-delay: 0s;     }
.bq-feat-hero-v2__plan-loader span:nth-child(2) { animation-delay: 0.15s; }
.bq-feat-hero-v2__plan-loader span:nth-child(3) { animation-delay: 0.3s;  }
@keyframes bq-feat-hero-v2-bounce {
    0%, 80%, 100% { transform: scale(0.4); opacity: 0.5; }
    40%           { transform: scale(1);   opacity: 1;   }
}
.bq-feat-hero-v2__plan.is-loading {
    pointer-events: none;
}
.bq-feat-hero-v2__plan.is-loading .bq-feat-hero-v2__plan-cta { display: none; }
.bq-feat-hero-v2__plan.is-loading .bq-feat-hero-v2__plan-loader { display: inline-flex; }
.bq-feat-hero-v2__plan:disabled { opacity: 0.55; cursor: not-allowed; }
.bq-feat-hero-v2__plan.is-loading { opacity: 1; }

.bq-feat-hero-v2__benefits {
    position: relative; z-index: 2;
    padding: 16px 18px;
    background: rgba(0,0,0,0.28);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
}
.bq-feat-hero-v2__benefits h4 {
    margin: 0 0 10px;
    font-size: 12.5px;
    font-weight: 800;
    color: rgba(255,224,122,0.9);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    display: flex; align-items: center; gap: 6px;
}
.bq-feat-hero-v2__benefits h4::before {
    content: '✓';
    display: inline-flex; align-items: center; justify-content: center;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #5C3A00;
    font-size: 11px;
    font-weight: 900;
}
.bq-feat-hero-v2__benefits ul {
    list-style: none;
    margin: 0; padding: 0;
    display: grid;
    gap: 8px;
}
.bq-feat-hero-v2__benefits li {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: 12.5px;
    line-height: 1.45;
    color: rgba(255,255,255,0.8);
}
.bq-feat-hero-v2__benefits li svg { flex-shrink: 0; margin-top: 1px; }
.bq-feat-hero-v2__benefits li strong { color: #fff; font-weight: 700; }

@media (min-width: 640px) {
    .bq-feat-hero-v2 { padding: 32px 28px 26px; }
    .bq-feat-hero-v2__title { font-size: 28px; }
    .bq-feat-hero-v2__sub { font-size: 14.5px; }
    .bq-feat-hero-v2__plans { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .bq-feat-hero-v2__plan-price { font-size: 26px; }
}
@media (min-width: 1024px) {
    .bq-feat-hero-v2__title { font-size: 32px; }
}
@media (max-width: 480px) {
    .bq-feat-hero-v2__plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .bq-feat-hero-v2__plan-badge { font-size: 8.5px; padding: 2px 8px; }
}

/* Hero banner grande (perfil de usuario, tab Negocios) */
.bq-feat-hero-banner {
    position: relative;
    border-radius: 22px;
    padding: 24px 22px;
    background: linear-gradient(135deg, rgba(255,107,53,0.12) 0%, rgba(255,193,7,0.18) 50%, rgba(139,92,246,0.10) 100%);
    border: 1px solid rgba(255,193,7,0.3);
    overflow: hidden;
    text-align: center;
    box-shadow: 0 10px 40px -10px rgba(255,107,53,0.25), 0 0 0 1px rgba(255,255,255,0.04) inset;
}
.bq-feat-hero-glow {
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255,215,0,0.25) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255,107,53,0.20) 0%, transparent 50%);
    pointer-events: none;
    animation: bq-feat-glow 6s ease-in-out infinite;
}
@keyframes bq-feat-glow {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}
.bq-feat-hero-stars {
    position: absolute; inset: 0; pointer-events: none;
}
.bq-feat-hero-stars span {
    position: absolute;
    width: 4px; height: 4px;
    background: #FFD700;
    border-radius: 50%;
    box-shadow: 0 0 8px #FFD700, 0 0 16px rgba(255,215,0,0.5);
    opacity: 0.8;
    animation: bq-feat-twinkle 3s ease-in-out infinite;
}
.bq-feat-hero-stars span:nth-child(1) { top: 18%; left: 12%; animation-delay: 0s; }
.bq-feat-hero-stars span:nth-child(2) { top: 28%; right: 18%; animation-delay: 0.6s; }
.bq-feat-hero-stars span:nth-child(3) { bottom: 22%; left: 20%; animation-delay: 1.2s; width: 3px; height: 3px; }
.bq-feat-hero-stars span:nth-child(4) { bottom: 30%; right: 12%; animation-delay: 1.8s; width: 5px; height: 5px; }
.bq-feat-hero-stars span:nth-child(5) { top: 50%; left: 50%; animation-delay: 2.4s; width: 3px; height: 3px; }
@keyframes bq-feat-twinkle {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}
.bq-feat-hero-content {
    position: relative;
    display: flex; flex-direction: column; align-items: center;
    gap: 10px;
}
.bq-feat-hero-icon-wrap {
    width: 58px; height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255,215,0,0.22), rgba(255,165,0,0.15));
    border: 1px solid rgba(255,193,7,0.4);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(255,193,7,0.3), inset 0 0 0 1px rgba(255,255,255,0.1);
    margin-bottom: 4px;
}
.bq-feat-hero-icon-wrap svg { filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15)); }
.bq-feat-hero-title {
    margin: 0;
    font-size: 18px; font-weight: 900;
    line-height: 1.2;
    color: var(--bq-text-primary);
    background: linear-gradient(135deg, #FFD700, #FF8F5E);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.bq-feat-hero-text {
    margin: 0;
    font-size: 13px; line-height: 1.5;
    color: var(--bq-text-secondary);
    max-width: 380px;
}
.bq-feat-hero-cta {
    margin-top: 6px;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 11px 22px;
    border: none;
    border-radius: 999px;
    font-size: 13px; font-weight: 800;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF6B35 100%);
    color: #fff;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 24px rgba(255,107,53,0.35), 0 0 0 1px rgba(255,255,255,0.1) inset;
    transition: transform var(--bq-dur) var(--bq-ease), box-shadow var(--bq-dur) var(--bq-ease);
}
.bq-feat-hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255,107,53,0.45);
}
.bq-feat-hero-cta:active { transform: translateY(0); }
@media (max-width: 480px) {
    .bq-feat-hero-banner { padding: 22px 18px; }
    .bq-feat-hero-title { font-size: 16px; }
    .bq-feat-hero-text { font-size: 12.5px; }
}

.bq-publish-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 16px;
    text-decoration: none;
    color: var(--bq-text);
    background: var(--bq-bg-surface);
    border: 1px solid transparent;
    transition: all var(--bq-dur) var(--bq-ease);
    cursor: pointer;
}
.buyaca-app:not(.bq-light-mode) ~ .bq-publish-sheet .bq-publish-option,
body:has(.buyaca-app:not(.bq-light-mode)) .bq-publish-option {
    background: #1A1A20;
    color: #F1F5F9;
}
.bq-publish-option:hover {
    background: var(--bq-primary-light);
    border-color: var(--bq-primary-soft);
    transform: translateX(2px);
}
.bq-publish-option--primary {
    background: linear-gradient(135deg, rgba(255,106,44,0.10) 0%, rgba(255,106,44,0.04) 100%);
    border-color: var(--bq-primary-soft);
}
.bq-publish-option--primary:hover {
    background: linear-gradient(135deg, rgba(255,106,44,0.16) 0%, rgba(255,106,44,0.06) 100%);
}
.bq-publish-option--cta {
    background: linear-gradient(135deg, var(--bq-primary) 0%, #FF8A4A 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: var(--bq-shadow-primary-sm);
}
.bq-publish-option--cta:hover {
    background: linear-gradient(135deg, var(--bq-primary-dark) 0%, var(--bq-primary) 100%);
    transform: translateY(-1px);
    box-shadow: var(--bq-shadow-primary);
}
.bq-publish-option--cta .bq-publish-option-desc {
    color: rgba(255,255,255,0.85);
}
.bq-publish-option--cta .bq-publish-option-icon {
    background: rgba(255,255,255,0.18) !important;
    color: #fff !important;
}
.bq-publish-option-icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--bq-bg-card);
    color: var(--bq-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--bq-border-light);
}
.bq-publish-option-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.bq-publish-option-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.bq-publish-option-desc {
    font-size: 13px;
    font-weight: 400;
    color: var(--bq-text-secondary);
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.bq-publish-option-chev {
    flex: 0 0 auto;
    color: var(--bq-text-muted);
    opacity: 0.7;
    transition: transform var(--bq-dur) var(--bq-ease);
}
.bq-publish-option:hover .bq-publish-option-chev {
    transform: translateX(3px);
    color: var(--bq-primary);
    opacity: 1;
}

/* Responsive ajustes mínimos para tabbar y header */
@media (max-width: 380px) {
    .buyaca-app .bq-header-interest-btn { width: 40px; height: 40px; }
    .buyaca-app .bq-header-search-wrap-v8 .bq-app-header-search { height: 42px; }
    .bq-bottom-nav-v8 .bq-nav-publish-fab { width: 50px; height: 50px; }
    .bq-bottom-nav-v8 .bq-nav-publish-fab svg { width: 26px; height: 26px; }
    .bq-bottom-nav-v8 .buyaca-bottom-nav-label { font-size: 10px; }
}
@media (max-width: 400px) {
    .buyaca-app .bq-app-header-inner { padding: 8px 12px 0; }
    .buyaca-app .bq-header-search-wrap-v8 { gap: 8px; }
}

/* Reduce motion preferences */
@media (prefers-reduced-motion: reduce) {
    .buyaca-app *, .bq-publish-sheet *, .bq-publish-sheet-panel {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/*   BLOQUE 2 · Home · Cards · Perfil de Negocio · Dashboard                   */
/* ═══════════════════════════════════════════════════════════════════════════ */

/* ── 4 · Red zone + Recomendados zone — más limpios, menos dramáticos ── */
/* Quitar sparkles y glows decorativos — estética más sobria */
.buyaca-app .bq-red-zone::before,
.buyaca-app .bq-red-zone-sparkles,
.buyaca-app .bq-recomendados-zone {
    background: var(--bq-bg);
    border-radius: 0px;
    
    position: relative;
    padding: 0px 0 40px;
    box-shadow: 0 -1px 0 var(--bq-border-light);
}
.buyaca-app.bq-light-mode .bq-recomendados-zone {
    background: #FFFFFF;
    box-shadow: 0px;
}
.buyaca-app:not(.bq-light-mode) .bq-recomendados-zone {
    background: #0D0D10;
    box-shadow: 0 -1px 0 rgba(255,255,255,0.04);
}
.buyaca-app .bq-recomendados-inner {
    padding: 0 5px;
    max-width: 1280px;
    margin: 0 auto;
}

/* ── 5 · Section headers — tipografía más marcada, menos ruidosa ── */
.buyaca-app .bq-home-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 14px;
    margin: 0;
    gap: 12px;
}
.buyaca-app .bq-home-section-title,
.buyaca-app .bq-home-section-title.space,
.buyaca-app .bq-featured-section-title {
    font-family: var(--bq-font-display);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--bq-text-primary);
    margin: 0;
    line-height: 1.2;
}
/* Quitar el subrayado decorativo viejo */
.buyaca-app .bq-destacados-section .bq-home-section-title::after {
    display: none !important;
}
.buyaca-app .bq-destacados-section {
    padding: 4px 16px 20px;
    max-width: 1280px;
    margin: 0 auto;
}

/* ── 6 · Featured scroll — slider horizontal refinado ── */
.buyaca-app .bq-featured-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 4px 0 8px;
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
    scrollbar-width: none;
}
.buyaca-app .bq-featured-scroll::-webkit-scrollbar { display: none; }

.buyaca-app .bq-featured-card-v2 {
    flex: 0 0 72%;
    max-width: 300px;
    scroll-snap-align: start;
    aspect-ratio: 4 / 5;
    border-radius: var(--bq-radius-lg);
    overflow: hidden;
    position: relative;
    background: var(--bq-bg-card);
    border: 1px solid var(--bq-border-light);
    box-shadow: var(--bq-shadow-xs);
    transition: transform var(--bq-dur) var(--bq-ease), box-shadow var(--bq-dur) var(--bq-ease);
    cursor: pointer;
}
@media (min-width: 640px) {
    .buyaca-app .bq-featured-card-v2 { flex: 0 0 260px; }
}
.buyaca-app .bq-featured-card-v2:hover {
    transform: translateY(-3px);
    box-shadow: var(--bq-shadow-md);
}

.buyaca-app .bq-featured-v2-image-wrap {
    position: absolute;
    inset: 0;
}
.buyaca-app .bq-featured-v2-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--bq-dur-slow) var(--bq-ease);
}
.buyaca-app .bq-featured-card-v2:hover .bq-featured-v2-image {
    transform: scale(1.05);
}
.buyaca-app .bq-featured-v2-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55) 85%, rgba(0,0,0,0.75) 100%);
}

.buyaca-app .bq-featured-v2-logo-wrap {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--bq-shadow);
    border: 2px solid #fff;
}
.buyaca-app .bq-featured-v2-logo,
.buyaca-app .bq-featured-v2-logo-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    align-items: center;
    justify-content: center;
    display: flex;
    background: #F1F5F9;
}

.buyaca-app .bq-featured-v2-top-badges {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}
.buyaca-app .bq-featured-v2-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 9px;
    border-radius: var(--bq-radius-pill);
    font: 600 11px/1 var(--bq-font-family);
    letter-spacing: 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.buyaca-app .bq-featured-v2-status.open {
    background: rgba(16,185,129,0.96);
    color: #fff;
}
.buyaca-app .bq-featured-v2-status.closed {
    background: rgba(15,23,42,0.7);
    color: #fff;
}

/* ── 7 · Home grid — layout responsivo con mínima fricción ── */
.buyaca-app .bq-home-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px;
}
@media (min-width: 520px) { .buyaca-app .bq-home-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 780px) { .buyaca-app .bq-home-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1040px) { .buyaca-app .bq-home-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; } }

/* ── 8 · Profile cards (negocios del home) — estilo red social ── */
.buyaca-app .bq-profile-card {
    background: var(--bq-bg-card);
    border: 1px solid var(--bq-border-light);
    border-radius: var(--bq-radius);
    overflow: hidden;
    transition: transform var(--bq-dur) var(--bq-ease), box-shadow var(--bq-dur) var(--bq-ease), border-color var(--bq-dur) var(--bq-ease);
    box-shadow: var(--bq-shadow-xs);
    position: relative;
}
.buyaca-app.bq-light-mode .bq-profile-card { background: #FFFFFF; border-color: #E2E8F0; }
.buyaca-app:not(.bq-light-mode) .bq-profile-card { background: #141418; border-color: rgba(255,255,255,0.06); }
.buyaca-app .bq-profile-card:hover {
    transform: translateY(-3px);
    border-color: var(--bq-border-strong);
    box-shadow: var(--bq-shadow-md);
}
.buyaca-app .bq-profile-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.buyaca-app .bq-profile-card-banner {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: var(--bq-bg-secondary);
    overflow: hidden;
}
.buyaca-app .bq-profile-card-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--bq-dur-slow) var(--bq-ease);
}
.buyaca-app .bq-profile-card:hover .bq-profile-card-banner-img {
    transform: scale(1.04);
}

/* Action buttons sobre el banner */
.buyaca-app .bq-profile-card-action {
    position: absolute;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    color: #0F172A;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: var(--bq-shadow-sm);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: all var(--bq-dur) var(--bq-ease);
    top: 10px;
}
.buyaca-app .bq-profile-card-heart { right: 10px; }
.buyaca-app .bq-profile-card-share { right: 50px; }
.buyaca-app .bq-profile-card-action:hover {
    transform: scale(1.08);
    background: #fff;
    color: var(--bq-primary);
}
.buyaca-app .bq-profile-card-heart.active {
    background: var(--bq-primary);
    color: #fff;
}
.buyaca-app .bq-profile-card-heart.active svg { fill: currentColor; }

/* Logo centered en el borde inferior del banner */
.buyaca-app .bq-profile-card-logo-wrap {
    position: absolute;
    left: 12px;
    bottom: -16px;
    width: 44px;
    height: 44px;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    border: 2px solid var(--bq-bg-card);
    box-shadow: var(--bq-shadow-sm);
    z-index: 2;
}
.buyaca-app .bq-profile-card-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.buyaca-app .bq-profile-card-logo-placeholder {
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: #F1F5F9;
    color: #94A3B8;
}

/* Ocultar divider viejo, ya no aplica */
.buyaca-app .bq-profile-card-divider { display: none !important; }

.buyaca-app .bq-profile-card-body {
    padding: 20px 14px 14px;
}
.buyaca-app .bq-profile-card-name {
    font-family: var(--bq-font-display);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.3;
    color: var(--bq-text-primary);
    margin: 0 0 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
.buyaca-app .bq-profile-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 2px 0 10px;
}
.buyaca-app .bq-profile-card-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 1px 5px;
    border-radius: var(--bq-radius-pill);
    background: var(--bq-bg-surface);
    color: var(--bq-text-secondary);
    font: 500 8px/1.3 var(--bq-font-family);
    letter-spacing: 0;
    max-width: 100%;
    overflow: hidden;
}
.buyaca-app .bq-profile-card-pill svg { flex-shrink: 0; opacity: 0.7; }
.buyaca-app .bq-profile-card-pill span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.buyaca-app .bq-profile-card-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 8px;
    border-top: 1px solid var(--bq-border-light);
}
.buyaca-app .bq-profile-card-rating {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font: 600 11px/1 var(--bq-font-family);
    color: var(--bq-text-secondary);
}
.buyaca-app .bq-profile-card-rating svg { margin-right: -1px; }
.buyaca-app .bq-profile-card-rating span { margin-left: 4px; }
.buyaca-app .bq-profile-card-status {
    font: 700 8px/1 var(--bq-font-family);
    letter-spacing: 0.02em;
    padding: 3px 8px;
    border-radius: var(--bq-radius-pill);
    margin-left: auto;
}
.buyaca-app .bq-profile-card-status.open {
    color: #059669;
    background: rgba(16,185,129,0.12);
}
.buyaca-app .bq-profile-card-status.closed {
    color: #64748B;
    background: var(--bq-bg-surface);
}

/* ── 9 · Favorites cards (buyaca-business-card) — estilo colección ── */
.buyaca-app .buyaca-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
@media (min-width: 520px) { .buyaca-app .buyaca-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 780px) { .buyaca-app .buyaca-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.buyaca-app .buyaca-business-card {
    background: var(--bq-bg-card);
    border: 1px solid var(--bq-border-light);
    border-radius: var(--bq-radius);
    overflow: hidden;
    box-shadow: var(--bq-shadow-xs);
    transition: transform var(--bq-dur) var(--bq-ease), box-shadow var(--bq-dur) var(--bq-ease), border-color var(--bq-dur) var(--bq-ease);
}
.buyaca-app.bq-light-mode .buyaca-business-card { background: #FFFFFF; border-color: #E2E8F0; }
.buyaca-app:not(.bq-light-mode) .buyaca-business-card { background: #141418; border-color: rgba(255,255,255,0.06); }
.buyaca-app .buyaca-business-card:hover {
    transform: translateY(-3px);
    border-color: var(--bq-border-strong);
    box-shadow: var(--bq-shadow-md);
}
.buyaca-app .buyaca-business-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}
.buyaca-app .buyaca-business-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: var(--bq-bg-secondary);
    overflow: hidden;
}
.buyaca-app .buyaca-business-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--bq-dur-slow) var(--bq-ease);
}
.buyaca-app .buyaca-business-card:hover .buyaca-business-card-image img {
    transform: scale(1.04);
}
.buyaca-app .buyaca-verified-badge {
    position: absolute;
    left: 10px;
    bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    border-radius: var(--bq-radius-pill);
    background: rgba(16,185,129,0.96);
    color: #fff;
    font: 700 10px/1 var(--bq-font-family);
    letter-spacing: 0.02em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.buyaca-app .buyaca-card-favorite-btn {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.95);
    color: #0F172A;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--bq-shadow-sm);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: all var(--bq-dur) var(--bq-ease);
}
.buyaca-app .buyaca-card-favorite-btn:hover {
    transform: scale(1.08);
    color: var(--bq-primary);
}
.buyaca-app .buyaca-card-favorite-btn.active {
    background: var(--bq-primary);
    color: #fff;
}

.buyaca-app .buyaca-business-card-body { padding: 12px 14px 14px; }
.buyaca-app .buyaca-business-card-title {
    font-family: var(--bq-font-display);
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.3;
    margin: 0 0 4px;
    color: var(--bq-text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
.buyaca-app .buyaca-business-card-category {
    font: 500 11.5px/1.3 var(--bq-font-family);
    color: var(--bq-primary);
    margin: 0 0 6px;
    letter-spacing: 0;
}
.buyaca-app .buyaca-card-address,
.buyaca-app .buyaca-card-barrio {
    display: flex;
    align-items: center;
    gap: 4px;
    font: 400 11.5px/1.4 var(--bq-font-family);
    color: var(--bq-text-secondary);
    margin: 2px 0;
}
.buyaca-app .buyaca-business-card-description {
    font: 400 12px/1.45 var(--bq-font-family);
    color: var(--bq-text-secondary);
    margin: 8px 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.buyaca-app .buyaca-business-card-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 10px;
    margin-top: 10px;
    border-top: 1px solid var(--bq-border-light);
}
.buyaca-app .buyaca-business-card-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font: 600 12px/1 var(--bq-font-family);
    color: var(--bq-text-primary);
}
.buyaca-app .buyaca-business-card-rating span { color: var(--bq-text-secondary); font-weight: 500; }

/* Favorites page header */
.buyaca-app .buyaca-h1 {
    font-family: var(--bq-font-display);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--bq-text-primary);
    margin: 0 0 20px;
    text-align:center;
}
.buyaca-app .buyaca-h2 {
    font-family: var(--bq-font-display);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--bq-text-primary);
    margin: 0 0 8px;
}

.buyaca-app .buyaca-empty {
    padding: 48px 24px;
    text-align: center;
    background: var(--bq-bg-card);
    border: 1px dashed var(--bq-border);
    border-radius: var(--bq-radius-lg);
    margin: 20px 0;
}
.buyaca-app .buyaca-empty-icon { margin: 0 auto 16px; opacity: 0.5; }
.buyaca-app .buyaca-empty-title {
    font: 700 17px/1.3 var(--bq-font-display);
    letter-spacing: -0.02em;
    margin: 0 0 4px;
    color: var(--bq-text-primary);
}
.buyaca-app .buyaca-empty-text {
    font: 400 13.5px/1.5 var(--bq-font-family);
    color: var(--bq-text-secondary);
    margin: 0 0 20px;
}

/* ── 10 · Buttons sistema base ── */
.buyaca-app .buyaca-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 40px;
    padding: 0 18px;
    border-radius: var(--bq-radius-pill);
    font-family: var(--bq-font-family);
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: -0.005em;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all var(--bq-dur) var(--bq-ease);
    white-space: nowrap;
}
.buyaca-app .buyaca-btn-primary {
    background: var(--bq-primary);
    color: #fff;
    box-shadow: var(--bq-shadow-primary-sm);
}
.buyaca-app .buyaca-btn-primary:hover {
    background: var(--bq-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--bq-shadow-primary);
}
.buyaca-app .buyaca-btn-outline {
    background: transparent;
    color: var(--bq-text-primary);
    border-color: var(--bq-border-strong);
}
.buyaca-app .buyaca-btn-outline:hover {
    border-color: var(--bq-primary);
    color: var(--bq-primary);
    background: var(--bq-primary-light);
}
.buyaca-app .buyaca-btn-sm { height: 34px; padding: 0 14px; font-size: 12.5px; }

/* ═══════════════════════════════════════════════════════════════════════════ */
/*   11 · BUSINESS PROFILE (bq-cv2-*) — estilo red social premium              */
/* ═══════════════════════════════════════════════════════════════════════════ */

.buyaca-app.buyaca-business-profile {
    background: var(--bq-bg);
    padding-bottom: 84px;
}

/* Banner hero más limpio, sin gradientes excesivos */
.buyaca-app .bq-cv2-banner-wrap {
    position: relative;
    max-width: 1080px;
    margin: -40px auto;
}
.buyaca-app .bq-cv2-banner {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 7;
    min-height: 180px;
    max-height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bq-primary) 0%, #FF8A4A 100%);
}
@media (min-width: 640px) {
    .buyaca-app .bq-cv2-banner { border-radius: 0 0 24px 24px; }
}
.buyaca-app .bq-cv2-banner-gradient,
.buyaca-app .bq-cv2-banner-overlay {
    position: absolute;
    inset: 0;
}
.buyaca-app .bq-cv2-banner-gradient {
    background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.35) 100%);
}

/* Logo flotante grande */
.buyaca-app .bq-cv2-logo {
    position: absolute;
    left: 20px;
    bottom: -40px;
    width: 88px;
    height: 88px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bq-bg-card);
    border: 3px solid var(--bq-bg);
    box-shadow: var(--bq-shadow-md);
    z-index: 10;
}
@media (min-width: 640px) {
    .buyaca-app .bq-cv2-logo {
        width: 112px;
        height: 112px;
        border-radius: 24px;
        left: 32px;
    }
}
.buyaca-app .bq-cv2-logo img,
.buyaca-app .bq-cv2-logo-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bq-bg-secondary);
}

/* Info zone — ancho cómodo, padding amplio */
.buyaca-app .bq-cv2-info {
    max-width: 1080px;
    margin: 0 auto;
    padding: 52px 20px 20px;
}
@media (min-width: 640px) {
    .buyaca-app .bq-cv2-info { padding: 60px 32px 24px; }
}

.buyaca-app .bq-cv2-name-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.buyaca-app .bq-cv2-name-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    flex: 1;
    min-width: 0;
}
.buyaca-app .bq-cv2-name {
    font-family: var(--bq-font-display);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--bq-text-primary);
    margin: 0;
}
@media (min-width: 640px) { .buyaca-app .bq-cv2-name { font-size: 30px; } }
.buyaca-app .bq-cv2-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #10B981;
    font-weight: 700;
    margin-top: 2px;
}

.buyaca-app .bq-cv2-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.buyaca-app .bq-cv2-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--bq-border);
    background: var(--bq-bg-card);
    color: var(--bq-text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--bq-dur) var(--bq-ease);
}
.buyaca-app .bq-cv2-icon-btn:hover {
    color: var(--bq-primary);
    border-color: var(--bq-primary-soft);
    background: var(--bq-primary-light);
    transform: translateY(-1px);
}

.buyaca-app .bq-cv2-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font: 500 13px/1.4 var(--bq-font-family);
    color: var(--bq-text-secondary);
    margin-bottom: 12px;
}
.buyaca-app .bq-cv2-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--bq-text-primary);
    font-weight: 600;
}
.buyaca-app .bq-cv2-rating-score { font-weight: 700; }
.buyaca-app .bq-cv2-rating-count { color: var(--bq-text-secondary); font-weight: 500; }
.buyaca-app .bq-cv2-meta-sep { color: var(--bq-text-muted); opacity: 0.6; }
.buyaca-app .bq-cv2-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: var(--bq-radius-pill);
    font: 700 11px/1 var(--bq-font-family);
    letter-spacing: 0.02em;
}
.buyaca-app .bq-cv2-status.open { color: #059669; background: rgba(16,185,129,0.12); }
.buyaca-app .bq-cv2-status.closed { color: #64748B; background: var(--bq-bg-surface); }
.buyaca-app .bq-cv2-cat {
    color: var(--bq-primary);
    font-weight: 600;
}

.buyaca-app .bq-cv2-description {
    font: 400 14.5px/1.55 var(--bq-font-family);
    color: var(--bq-text);
    margin: 8px 0 16px;
    max-width: 68ch;
}

/* Detail row (ubicación, teléfono, etc.) */
.buyaca-app .bq-cv2-detail-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin: 12px 0 16px;
}
.buyaca-app .bq-cv2-detail-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font: 500 13px/1.4 var(--bq-font-family);
    color: var(--bq-text-secondary);
}

/* Socials row — botones circulares consistentes */
.buyaca-app .bq-cv2-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0px;
}
.buyaca-app .bq-cv2-social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bq-bg-card);
    border: 1px solid var(--bq-border);
    color: var(--bq-text-secondary);
    transition: all var(--bq-dur) var(--bq-ease);
    text-decoration: none;
}
.buyaca-app .bq-cv2-social-btn:hover {
    color: var(--bq-primary);
    border-color: var(--bq-primary-soft);
    background: var(--bq-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--bq-shadow-sm);
}
.buyaca-app .bq-cv2-social-btn svg { width: 18px; height: 18px; }

/* CTA principal */
.buyaca-app .bq-cv2-cta-wrap { margin: 16px 0 4px; }
.buyaca-app .bq-cv2-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    padding: 0 24px;
    border-radius: var(--bq-radius-pill);
    background: var(--bq-primary);
    color: #fff;
    font-family: var(--bq-font-family);
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: -0.005em;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 1px rgba(0,0,0,0.35), 0 2px 8px rgba(0,0,0,0.2);
    transition: all var(--bq-dur) var(--bq-ease);
}
.buyaca-app .bq-cv2-cta:hover {
    background: var(--bq-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--bq-shadow-primary);
}

/* Tabs — barra sticky bajo el header, underline estilo social */
.buyaca-app .bq-cv2-tabs {
    display: flex;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    padding: 0 20px;
    margin: 4px auto 0;
    max-width: 1080px;
    border-bottom: 1px solid var(--bq-border);
    scrollbar-width: none;
    position: sticky;
    top: 70px;
    z-index: 50;
    background: var(--bq-bg);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
}
.buyaca-app .bq-cv2-tabs::-webkit-scrollbar { display: none; }
@media (min-width: 640px) {
    .buyaca-app .bq-cv2-tabs { padding: 0 32px; }
}

.buyaca-app .bq-cv2-tab {
    flex-shrink: 0;
    height: 48px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: var(--bq-text-secondary);
    font: 600 13.5px/1 var(--bq-font-family);
    letter-spacing: -0.005em;
    cursor: pointer;
    position: relative;
    transition: color var(--bq-dur) var(--bq-ease);
}
.buyaca-app .bq-cv2-tab:hover { color: var(--bq-text-primary); }
.buyaca-app .bq-cv2-tab.active {
    color: var(--bq-primary);
}
.buyaca-app .bq-cv2-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 12px;
    right: 12px;
    height: 2.5px;
    border-radius: 2px 2px 0 0;
    background: var(--bq-primary);
    animation: bqTabIn var(--bq-dur) var(--bq-ease-out);
}
@keyframes bqTabIn {
    from { transform: scaleX(0); opacity: 0; }
    to { transform: scaleX(1); opacity: 1; }
}
.buyaca-app .bq-cv2-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: var(--bq-bg-surface);
    color: var(--bq-text-secondary);
    font-size: 10.5px;
    font-weight: 700;
    margin-left: 2px;
    letter-spacing: 0;
}
.buyaca-app .bq-cv2-tab.active .bq-cv2-tab-count {
    background: var(--bq-primary-light);
    color: var(--bq-primary);
}
.buyaca-app .bq-cv2-tab--admin {
    color: var(--bq-text-muted);
}

.buyaca-app .bq-cv2-tab-content {
    max-width: 1080px;
    margin-bottom: 5px;
   padding:0px 6px 0px 6px;
}

/* ════════════════════════════════════════════════════════════════════════
 *  [v9.0.5] ALINEACIÓN UNIFICADA DEL CATÁLOGO ADMINISTRATIVO
 *  Todas las secciones administrativas (información del negocio, panel admin,
 *  reseñas, campañas, productos, servicios, estadísticas y widgets) comparten
 *  EXACTAMENTE el mismo ancho del banner y quedan centradas, con espaciado
 *  lateral consistente en PC y tablet.
 * ════════════════════════════════════════════════════════════════════════ */
.buyaca-app .bq-cv2-banner-wrap,
.buyaca-app .bq-cv2-info,
.buyaca-app .bq-cv2-tab-content {
    max-width: 1080px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
/* Padding lateral homogéneo en el contenedor de pestañas */
.buyaca-app .bq-cv2-tab-content {
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box;
}
/* El panel admin y el módulo de campañas no añaden ancho ni padding extra:
 * heredan la columna alineada del contenedor de pestañas. */
.buyaca-app .bq-admin-panel {
    max-width: 100% !important;
    
    box-sizing: border-box;
}
.buyaca-app .bq-camp-root {
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
@media (max-width: 600px) {
    .buyaca-app .bq-cv2-tab-content {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}


/* Product grid + cards minimalistas */
.buyaca-app .bq-cv2-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
@media (min-width: 520px) { .buyaca-app .bq-cv2-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 780px) { .buyaca-app .bq-cv2-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1040px) { .buyaca-app .bq-cv2-product-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; } }

.buyaca-app .bq-cv2-product-card {
    background: var(--bq-bg-card);
    border: 1px solid var(--bq-border-light);
    border-radius: var(--bq-radius);
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--bq-dur) var(--bq-ease), box-shadow var(--bq-dur) var(--bq-ease), border-color var(--bq-dur) var(--bq-ease);
    box-shadow: var(--bq-shadow-xs);
}
.buyaca-app .bq-cv2-product-card:hover {
    transform: translateY(-3px);
    border-color: var(--bq-border-strong);
    box-shadow: var(--bq-shadow-md);
}
.buyaca-app .bq-cv2-product-img {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: var(--bq-bg-secondary);
    overflow: hidden;
}
.buyaca-app .bq-cv2-product-img img,
.buyaca-app .bq-cv2-product-img-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--bq-dur-slow) var(--bq-ease);
}
.buyaca-app .bq-cv2-product-card:hover .bq-cv2-product-img img {
    transform: scale(1.04);
}
.buyaca-app .bq-cv2-product-gallery-badge,
.buyaca-app .bq-cv2-product-pinned-badge {
    position: absolute;
    
    right: 8px;
    background: rgba(15,23,42,0.78);
    color: #fff;
    padding: 3px 7px;
    border-radius: var(--bq-radius-pill);
    font: 700 10.5px/1 var(--bq-font-family);
    letter-spacing: 0;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    height: fit-content;
}
.buyaca-app .bq-cv2-product-pinned-badge {
    left: 8px;
    right: auto;
    background: var(--bq-primary);
}

.buyaca-app .bq-cv2-product-body { padding: 12px 12px 14px; }
.buyaca-app .bq-cv2-product-price {
    font-family: var(--bq-font-display);
    font-size: 15.5px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--bq-primary);
    margin-bottom: 4px;
    line-height: 1.1;
}
.buyaca-app .bq-cv2-product-name,
.buyaca-app .bq-cv2-product-name--minimal {
    font: 500 13px/1.35 var(--bq-font-family);
    color: var(--bq-text-primary);
    margin: 0;
    letter-spacing: -0.005em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    min-height: 2.7em;
}
.buyaca-app .bq-cv2-product-cat-label {
    font: 600 10.5px/1 var(--bq-font-family);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--bq-text-muted);
    margin-top: 6px;
}
.buyaca-app .bq-cv2-product-attr {
    font: 500 11.5px/1.4 var(--bq-font-family);
    color: var(--bq-text-secondary);
    margin-top: 4px;
}
.buyaca-app .bq-cv2-product-date {
    font: 400 10.5px/1 var(--bq-font-family);
    color: var(--bq-text-muted);
    margin-top: 6px;
    display: block;
}


.buyaca-app .bq-cv2-cat-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.buyaca-app .bq-cv2-cat-pill {
    height: 34px;
    padding: 0 14px;
    border-radius: var(--bq-radius-pill);
    font: 600 12.5px/1 var(--bq-font-family);
    background: transparent;
    border: 1px solid var(--bq-border);
    color: var(--bq-text-secondary);
    cursor: pointer;
    letter-spacing: -0.005em;
    transition: all var(--bq-dur) var(--bq-ease);
}
.buyaca-app .bq-cv2-cat-pill:hover {
    color: var(--bq-text-primary);
    border-color: var(--bq-border-strong);
}
.buyaca-app .bq-cv2-cat-pill.active {
    background: var(--bq-primary);
    color: #fff;
    border-color: var(--bq-primary);
  
}

/* Float buttons (back, favorite flotantes sobre el banner) */
.buyaca-app .bq-float-btn {
    position: absolute;
    top: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    color: #0F172A;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--bq-shadow);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all var(--bq-dur) var(--bq-ease);
    z-index: 15;
}
.buyaca-app .bq-float-btn--back { left: 14px; }
.buyaca-app .bq-float-btn--fav { right: 14px; }
.buyaca-app .bq-float-btn:hover { transform: scale(1.06); color: var(--bq-primary); }
.buyaca-app .bq-float-btn--fav.active { background: var(--bq-primary); color: #fff; }

/* ═══════════════════════════════════════════════════════════════════════════ */
/*   12 · CLIENT DASHBOARD — estilo dashboard clean                            */
/* ═══════════════════════════════════════════════════════════════════════════ */

.buyaca-app .buyaca-container {
    max-width: 1080px;
    margin: 0 auto;
    padding-bottom: 84px;
}

.buyaca-app .bq-profile-header-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bq-bg-card);
    border: 1px solid var(--bq-border-light);
    border-radius: var(--bq-radius-lg);
    box-shadow: var(--bq-shadow-xs);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}
.buyaca-app .bq-profile-header-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(135deg, var(--bq-primary) 0%, #FF8A4A 100%);
    opacity: 0.9;
    z-index: 0;
}
.buyaca-app .bq-profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bq-bg-card);
    box-shadow: var(--bq-shadow-sm);
    position: relative;
    z-index: 1;
    margin-top: 8px;
    flex-shrink: 0;
}
.buyaca-app .bq-profile-header-info {
    flex: 1;
    min-width: 0;
    padding-top: 30px;
    position: relative;
    z-index: 1;
}
.buyaca-app .bq-profile-greeting {
    font-family: var(--bq-font-display);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--bq-text-primary);
    margin: 0 0 2px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.buyaca-app .bq-profile-email {
    font: 400 13px/1.4 var(--bq-font-family);
    color: var(--bq-text-secondary);
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Tabs del dashboard */
.buyaca-app .bq-profile-tabs {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    background: var(--bq-bg-surface);
    border: 1px solid var(--bq-border-light);
    border-radius: var(--bq-radius-pill);
    margin-bottom: 20px;
    overflow-x: auto;
    scrollbar-width: none;
}
.buyaca-app .bq-profile-tabs::-webkit-scrollbar { display: none; }
.buyaca-app .bq-profile-tab {
    flex: 1;
    min-width: 0;
    height: 40px;
    padding: 0 14px;
    border-radius: var(--bq-radius-pill);
    background: transparent;
    border: none;
    color: var(--bq-text-secondary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font: 600 13px/1 var(--bq-font-family);
    letter-spacing: -0.005em;
    transition: all var(--bq-dur) var(--bq-ease);
    white-space: nowrap;
}
.buyaca-app .bq-profile-tab:hover { color: var(--bq-text-primary); }
.buyaca-app .bq-profile-tab.active {
    background: var(--bq-bg-card);
    color: var(--bq-primary);
    box-shadow: var(--bq-shadow-xs);
}
.buyaca-app .bq-tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: var(--bq-bg-elevated);
    color: var(--bq-text-secondary);
    font: 700 10px/1 var(--bq-font-family);
    margin-left: 2px;
}
.buyaca-app .bq-profile-tab.active .bq-tab-badge {
    background: var(--bq-primary-light);
    color: var(--bq-primary);
}

/* Responsive adjustments Bloque 2 */
@media (max-width: 480px) {
    .buyaca-app .bq-cv2-name { font-size: 22px; }
    .buyaca-app .bq-cv2-info { padding-top: 48px; }
    .buyaca-app .bq-cv2-logo { width: 95px; height: 95px; border-radius: 16px; bottom: -20px; left: 16px; }
    .buyaca-app .bq-profile-greeting { font-size: 17px; }
    .buyaca-app .bq-profile-avatar { width: 68px; height: 68px; }
    .buyaca-app .bq-home-section-title { font-size: 17px; }
    .buyaca-app .buyaca-h1 { font-size: 22px; }
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/*   BLOQUE 3 · Formularios · Modales · Checkout · Legal · Contacto           */
/* ═══════════════════════════════════════════════════════════════════════════ */

/* ── 13 · Sistema de formularios ── */
.buyaca-app .buyaca-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin:0 auto;
}
.buyaca-app .buyaca-form-section {
    background: var(--bq-bg-card);
    border: 1px solid var(--bq-border-light);
    border-radius: var(--bq-radius-lg);
    padding: 20px 20px 16px;
    box-shadow: var(--bq-shadow-xs);
}
@media (min-width: 640px) {
    .buyaca-app .buyaca-form-section { padding: 24px 28px 20px; }
}
.buyaca-app .buyaca-form-section-title {
    font-family: var(--bq-font-display);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--bq-text-primary);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--bq-border-light);
    display: flex;
    align-items: center;
    gap: 8px;
}
.buyaca-app .buyaca-form-section-title svg {
    color: var(--bq-primary);
    vertical-align: middle;
}

.buyaca-app .buyaca-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 14px;
}
@media (min-width: 640px) {
    .buyaca-app .buyaca-form-row { grid-template-columns: 1fr 1fr; gap: 16px; }
    .buyaca-app .buyaca-form-row.three { grid-template-columns: repeat(3, 1fr); }
}
.buyaca-app .buyaca-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}
.buyaca-app .buyaca-form-group:last-child { margin-bottom: 0; }

.buyaca-app .buyaca-form-label {
    font: 600 12px/1.3 var(--bq-font-family);
    letter-spacing: 0;
    text-transform: none;
    color: var(--bq-text-primary);
    display: flex;
    align-items: center;
    gap: 4px;
}
.buyaca-app .buyaca-form-label .required {
    color: var(--bq-primary);
    font-weight: 700;
}

.buyaca-app .buyaca-form-input,
.buyaca-app .buyaca-form-select,
.buyaca-app .buyaca-form-textarea {
    width: 100%;
    min-height: 44px;
    padding: 11px 14px;
    border: 1px solid var(--bq-border);
    border-radius: var(--bq-radius-sm);
    background: var(--bq-bg-card);
    color: var(--bq-text-primary);
    font: 500 14px/1.4 var(--bq-font-family);
    letter-spacing: -0.005em;
    outline: none;
    box-sizing: border-box;
    transition: border-color var(--bq-dur) var(--bq-ease), box-shadow var(--bq-dur) var(--bq-ease), background var(--bq-dur) var(--bq-ease);
    appearance: none;
    -webkit-appearance: none;
}
.buyaca-app .buyaca-form-input::placeholder,
.buyaca-app .buyaca-form-textarea::placeholder {
    color: var(--bq-text-muted);
    font-weight: 400;
}
.buyaca-app .buyaca-form-input:hover,
.buyaca-app .buyaca-form-select:hover,
.buyaca-app .buyaca-form-textarea:hover {
    border-color: var(--bq-border-strong);
}
.buyaca-app .buyaca-form-input:focus,
.buyaca-app .buyaca-form-select:focus,
.buyaca-app .buyaca-form-textarea:focus {
    border-color: var(--bq-primary);
    box-shadow: 0 0 0 4px var(--bq-primary-light);
    background: var(--bq-bg-card);
}
.buyaca-app .buyaca-form-input[readonly],
.buyaca-app .buyaca-form-input:disabled {
    background: var(--bq-bg-surface);
    color: var(--bq-text-secondary);
    cursor: not-allowed;
}
.buyaca-app .buyaca-form-textarea {
    min-height: 96px;
    padding-top: 11px;
    resize: vertical;
    line-height: 1.5;
}
.buyaca-app .buyaca-form-select {
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}
.buyaca-app .buyaca-form-counter {
    font: 500 11px/1 var(--bq-font-family);
    color: var(--bq-text-muted);
    letter-spacing: 0;
    margin-top: 4px;
    text-align: right;
}

/* Estilos universales para inputs/selects/textarea con style inline (dentro de .buyaca-app) */
.buyaca-app .buyaca-container input[type="text"]:not(.buyaca-form-input):not(.bq-app-header-search-input),
.buyaca-app .buyaca-container input[type="email"]:not(.buyaca-form-input),
.buyaca-app .buyaca-container input[type="tel"]:not(.buyaca-form-input),
.buyaca-app .buyaca-container input[type="number"]:not(.buyaca-form-input),
.buyaca-app .buyaca-container input[type="password"]:not(.buyaca-form-input),
.buyaca-app .buyaca-container input[type="url"]:not(.buyaca-form-input),
.buyaca-app .buyaca-container select:not(.buyaca-form-select):not(.bq-home-filter-select),
.buyaca-app .buyaca-container textarea:not(.buyaca-form-textarea) {
    border-radius: var(--bq-radius-sm) !important;
    transition: border-color var(--bq-dur) var(--bq-ease), box-shadow var(--bq-dur) var(--bq-ease) !important;
    font-family: var(--bq-font-family) !important;
    letter-spacing: -0.005em !important;
}
.buyaca-app .buyaca-container input:focus:not(.buyaca-form-input):not(.bq-app-header-search-input),
.buyaca-app .buyaca-container select:focus:not(.buyaca-form-select):not(.bq-home-filter-select),
.buyaca-app .buyaca-container textarea:focus:not(.buyaca-form-textarea) {
    border-color: var(--bq-primary) !important;
    box-shadow: 0 0 0 4px var(--bq-primary-light) !important;
    outline: none !important;
}

/* Labels en uppercase con style inline — suavizar estilo */
.buyaca-app .buyaca-container label[style*="uppercase"] {
    text-transform: none !important;
    letter-spacing: 0 !important;
    font: 600 12px/1.3 var(--bq-font-family) !important;
    color: var(--bq-text-primary) !important;
}

/* Botón largo / block */
.buyaca-app .buyaca-btn-block { width: 100%; }
.buyaca-app .buyaca-btn-lg { height: 48px; font-size: 15px; padding: 0 24px; font-weight: 700; }

/* ── 14 · Login / Register ── */
.buyaca-app.buyaca-login-page,
.buyaca-app.buyaca-register-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, var(--bq-bg) 0%, var(--bq-bg-secondary) 100%);
    padding: 24px 16px;
}
.buyaca-app.bq-light-mode.buyaca-login-page,
.buyaca-app.bq-light-mode.buyaca-register-page {
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

.buyaca-app .buyaca-login-box {
    width: 100%;
    max-width: 420px;
    background: var(--bq-bg-card);
    border: 1px solid var(--bq-border-light);
    border-radius: var(--bq-radius-xl);
    padding: 32px 28px;
    box-shadow: var(--bq-shadow-lg);
    position: relative;
    overflow: hidden;
}
.buyaca-app .buyaca-login-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--bq-primary), #FF8A4A);
}

.buyaca-app .buyaca-login-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-bottom: 28px;
}
.buyaca-app .buyaca-login-logo img {
    max-width: 120px;
    height: auto;
}
.buyaca-app .buyaca-login-title {
    font-family: var(--bq-font-display);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--bq-text-primary);
    margin: 10px 0 4px;
    text-align: center;
}
.buyaca-app .buyaca-login-subtitle {
    font: 400 14px/1.5 var(--bq-font-family);
    color: var(--bq-text-secondary);
    margin: 0 0 20px;
    text-align: center;
}
.buyaca-app .buyaca-login-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}
.buyaca-app .buyaca-login-methods .buyaca-btn-outline {
    height: 46px;
    border: 1.5px solid var(--bq-border-strong);
    background: var(--bq-bg-card);
    font-weight: 600;
}
.buyaca-app .buyaca-login-methods .buyaca-btn-outline:hover {
    background: var(--bq-primary-light);
}
.buyaca-app .buyaca-divider {
    text-align: center;
    position: relative;
    margin: 20px 0;
    font: 500 12px/1 var(--bq-font-family);
    color: var(--bq-text-muted);
    letter-spacing: 0;
}
.buyaca-app .buyaca-divider::before,
.buyaca-app .buyaca-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 58px);
    height: 1px;
    background: var(--bq-border);
}
.buyaca-app .buyaca-divider::before { left: 0; }
.buyaca-app .buyaca-divider::after { right: 0; }

/* ═══════════════════════════════════════════════════════════════════════════ */
/*   15 · MODALES — Overlays, slider catálogo, zoom, carrito, reportar, video */
/* ═══════════════════════════════════════════════════════════════════════════ */

.buyaca-app .bq-modal-overlay,
.bq-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(15,23,42,0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: bqOverlayIn var(--bq-dur) var(--bq-ease);
}
@keyframes bqOverlayIn {
    from { opacity: 0; backdrop-filter: blur(0px); }
    to { opacity: 1; }
}

.bq-modal-close-btn {
    position: absolute;
    top: 55px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(15,23,42,0.08);
    color: var(--bq-text-primary);
    font-size: 24px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--bq-dur) var(--bq-ease);
    z-index: 10;
}
.bq-modal-close-btn:hover {
    background: var(--bq-primary);
    color: #fff;
    transform: scale(1.05) rotate(90deg);
}

/* Cart modal (Mis intereses) */
.bq-cart-modal-content {
    width: 100%;
    max-width: 480px;
    background: var(--bq-bg-card, #fff);
    color: var(--bq-text-primary, #0F172A);
    border-radius: var(--bq-radius-lg);
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--bq-shadow-xl);
    animation: bqModalIn var(--bq-dur-slow) var(--bq-ease-out);
    position: relative;
}
@keyframes bqModalIn {
    from { opacity: 0; transform: translateY(16px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.bq-cart-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid var(--bq-border-light, #F1F5F9);
}
.bq-cart-modal-header > span {
    font-family: var(--bq-font-display) !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    letter-spacing: -0.025em !important;
    color: var(--bq-text-primary) !important;
}
.bq-cart-modal-header .bq-modal-close-btn {
    position: static;
    margin-left: auto;
}
.bq-cart-grouped-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
    -webkit-overflow-scrolling: touch;
}
.bq-cart-modal-footer {
    padding: 14px 22px 18px;
    border-top: 1px solid var(--bq-border-light, #F1F5F9);
    background: var(--bq-bg-surface);
}

/* Catalog slider modal */
.bq-catalog-modal-content {
    width: 100%;
    max-width: 980px;
    height: 85vh;
   
    background: var(--bq-bg-card);
    border-radius: var(--bq-radius-lg);
    position: relative;
    overflow: hidden;
    box-shadow: var(--bq-shadow-xl);
    animation: bqModalIn var(--bq-dur-slow) var(--bq-ease-out);
}
.bq-slider-container {
    position: relative;
    width: 100%;
    height: calc(100% - 40px);
    overflow: hidden;
}
.bq-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform var(--bq-dur-slow) var(--bq-ease-out);
}
.bq-slider-arrow {
    position: absolute;
    top: 30%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.95);
    color: #0F172A;
    font-size: 22px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--bq-shadow);
    z-index: 5;
    transition: all var(--bq-dur) var(--bq-ease);
}
.bq-slider-arrow:hover {
    background: var(--bq-primary);
    color: #fff;
    transform: translateY(-50%) scale(1.06);
}
.bq-slider-prev { left: 14px; }
.bq-slider-next { right: 14px; }
.bq-slider-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 40px;
    background: var(--bq-bg-card);
    border-top: 1px solid var(--bq-border-light);
}
.bq-slider-dots > span,
.bq-slider-dots button {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--bq-border-strong);
    cursor: pointer;
    border: none;
    padding: 0;
    transition: all var(--bq-dur) var(--bq-ease);
}
.bq-slider-dots > .active,
.bq-slider-dots button.active {
    width: 22px;
    border-radius: 4px;
    background: var(--bq-primary);
}

/* Zoom image overlay */
.bq-zoom-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(10,10,12,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    animation: bqOverlayIn var(--bq-dur) var(--bq-ease);
}
.bq-zoom-body {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bq-zoom-body img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--bq-radius-sm);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.bq-zoom-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all var(--bq-dur) var(--bq-ease);
    z-index: 10;
}
.bq-zoom-close:hover {
    background: var(--bq-primary);
    transform: scale(1.05) rotate(90deg);
}
.bq-zoom-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.14);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all var(--bq-dur) var(--bq-ease);
    z-index: 10;
}
.bq-zoom-nav:hover {
    background: rgba(255,255,255,0.22);
    transform: translateY(-50%) scale(1.06);
}
.bq-zoom-nav-prev { left: 20px; }
.bq-zoom-nav-next { right: 20px; }
.bq-zoom-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.72);
    font: 500 12px/1.4 var(--bq-font-family);
    background: rgba(0,0,0,0.4);
    padding: 6px 14px;
    border-radius: var(--bq-radius-pill);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    letter-spacing: 0;
    text-align: center;
    max-width: 90%;
}

/* Video modal */
.bq-video-modal {
    position: fixed;
    inset: 0;
    z-index: 9800;
    background: rgba(10,10,12,0.92);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.bq-video-modal.is-open { display: flex; }
.bq-video-modal-content {
    position: relative;
    width: 100%;
    max-width: 960px;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--bq-radius-lg);
    overflow: hidden;
    box-shadow: var(--bq-shadow-xl);
}
.bq-video-modal-close {
    position: absolute;
    top: -44px;
    right: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.18);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: all var(--bq-dur) var(--bq-ease);
}
.bq-video-modal-close:hover {
    background: var(--bq-primary);
    transform: scale(1.08) rotate(90deg);
}

/* Report modal */
.buyaca-app #bq-report-modal .bq-modal-overlay,
#bq-report-modal > div:not(.bq-modal-close-btn) {
    max-width: 440px;
    background: var(--bq-bg-card);
    border-radius: var(--bq-radius-lg);
    padding: 24px;
    position: relative;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/*   16 · CHECKOUT (.bco-*) — compra de plan                                   */
/* ═══════════════════════════════════════════════════════════════════════════ */

.bco-w {
    max-width: 560px;
    margin: 0 auto;
    padding: 20px 16px 84px;
    font-family: var(--bq-font-family);
    color: var(--bq-text-primary);
}
.bco-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--bq-text-secondary);
    font: 500 13px/1 var(--bq-font-family);
    text-decoration: none;
    margin-bottom: 14px;
    transition: color var(--bq-dur) var(--bq-ease);
}
.bco-back:hover { color: var(--bq-primary); }

.bco-hdr {
    text-align: center;
    margin-bottom: 22px;
}
.bco-hdr h1 {
    font-family: var(--bq-font-display);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 4px;
    color: var(--bq-text-primary);
}
.bco-hdr p {
    font: 400 14px/1.5 var(--bq-font-family);
    color: var(--bq-text-secondary);
    margin: 0;
}

.bco-card {
    background: var(--bq-bg-card);
    border: 1px solid var(--bq-border-light);
    border-radius: var(--bq-radius-lg);
    padding: 22px;
    margin-bottom: 16px;
    box-shadow: var(--bq-shadow-xs);
}

.bco-plan-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--bq-radius-pill);
    font: 700 11px/1 var(--bq-font-family);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.bco-feat {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.bco-feat li {
    position: relative;
    padding: 3px 0 3px 26px;
    font: 500 13.5px/1.4 var(--bq-font-family);
    color: var(--bq-text);
}
.bco-feat li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--bq-primary-light);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF6A2C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 12px 12px;
    background-repeat: no-repeat;
    background-position: center;
}

.bco-toggle-wrap {
    display: flex;
    gap: 4px;
    padding: 4px;
    background: var(--bq-bg-surface);
    border: 1px solid var(--bq-border-light);
    border-radius: var(--bq-radius-pill);
    margin: 16px 0;
}
.bco-toggle-btn {
    flex: 1;
    height: 38px;
    padding: 0 14px;
    border-radius: var(--bq-radius-pill);
    background: transparent;
    border: none;
    color: var(--bq-text-secondary);
    font: 600 13px/1 var(--bq-font-family);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all var(--bq-dur) var(--bq-ease);
}
.bco-toggle-btn.active {
    background: var(--bq-bg-card);
    color: var(--bq-primary);
    box-shadow: var(--bq-shadow-xs);
}
.bco-save {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    border-radius: var(--bq-radius-pill);
    background: var(--bq-primary-light);
    color: var(--bq-primary);
    font: 700 10px/1 var(--bq-font-family);
    letter-spacing: 0;
}
.bco-toggle-btn.active .bco-save {
    background: var(--bq-primary);
    color: #fff;
}

.bco-price-box {
    text-align: center;
    padding: 16px 0 4px;
}
.bco-price {
    font-family: var(--bq-font-display);
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--bq-text-primary);
    line-height: 1;
}
.bco-price small {
    font-size: 14px;
    color: var(--bq-text-muted);
    font-weight: 600;
    margin-left: 2px;
    letter-spacing: 0;
}
.bco-price-period {
    font: 500 13px/1.4 var(--bq-font-family);
    color: var(--bq-text-secondary);
    margin-top: 4px;
}

.bco-section {
    margin: 20px 0 10px;
    font-family: var(--bq-font-display);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--bq-text-primary);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.bco-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}
.bco-input-group:last-child { margin-bottom: 0; }
.bco-input-group label {
    font: 600 12px/1.3 var(--bq-font-family);
    color: var(--bq-text-primary);
}
.bco-input-group input,
.bco-input-group select,
.bco-input-group textarea {
    width: 100%;
    min-height: 44px;
    padding: 11px 14px;
    border: 1px solid var(--bq-border);
    border-radius: var(--bq-radius-sm);
    background: var(--bq-bg-card);
    color: var(--bq-text-primary);
    font: 500 14px/1.4 var(--bq-font-family);
    outline: none;
    transition: border-color var(--bq-dur) var(--bq-ease), box-shadow var(--bq-dur) var(--bq-ease);
    box-sizing: border-box;
}
.bco-input-group input:focus,
.bco-input-group select:focus,
.bco-input-group textarea:focus {
    border-color: var(--bq-primary);
    box-shadow: 0 0 0 4px var(--bq-primary-light);
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/*   17 · LEGAL + CONTACTO + FOOTER                                            */
/* ═══════════════════════════════════════════════════════════════════════════ */

.buyaca-app .bq-legal-accordions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
}
.buyaca-app .bq-legal-accordion {
    background: var(--bq-bg-card);
    border: 1px solid var(--bq-border-light);
    border-radius: var(--bq-radius);
    overflow: hidden;
    transition: border-color var(--bq-dur) var(--bq-ease), box-shadow var(--bq-dur) var(--bq-ease);
}
.buyaca-app .bq-legal-accordion:hover { border-color: var(--bq-border-strong); }
.buyaca-app .bq-legal-accordion.open {
    border-color: var(--bq-primary-soft);
    box-shadow: var(--bq-shadow-xs);
}
.buyaca-app .bq-legal-accordion-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: var(--bq-font-display);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--bq-text-primary);
    gap: 10px;
    transition: color var(--bq-dur) var(--bq-ease);
}
.buyaca-app .bq-legal-accordion-btn:hover { color: var(--bq-primary); }
.buyaca-app .bq-legal-chevron {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--bq-text-muted);
    font-size: 14px;
    transition: transform var(--bq-dur) var(--bq-ease), color var(--bq-dur) var(--bq-ease);
}
.buyaca-app .bq-legal-accordion.open .bq-legal-chevron {
    transform: rotate(180deg);
    color: var(--bq-primary);
}
.buyaca-app .bq-legal-accordion-body {
    display: none;
    padding: 4px 20px 20px;
    font: 400 14px/1.65 var(--bq-font-family);
    color: var(--bq-text);
    letter-spacing: -0.005em;
}
.buyaca-app .bq-legal-accordion.open .bq-legal-accordion-body { display: block; }
.buyaca-app .bq-legal-accordion-body p,
.buyaca-app .bq-legal-accordion-body ul,
.buyaca-app .bq-legal-accordion-body ol {
    margin: 0 0 12px;
}
.buyaca-app .bq-legal-accordion-body strong { color: var(--bq-text-primary); font-weight: 700; }

/* Contact form — contenedor */
.buyaca-app #bq-contact-form-wrap {
    border-radius: var(--bq-radius-lg) !important;
    border-color: var(--bq-border-light) !important;
    box-shadow: var(--bq-shadow-xs) !important;
    padding: 24px !important;
}
@media (min-width: 640px) {
    .buyaca-app #bq-contact-form-wrap { padding: 28px !important; }
}

/* Footer */
.buyaca-app .bq-footer-copy,
.bq-footer-copy {
    padding: 24px 16px;
    text-align: center;
    font: 400 12px/1.6 var(--bq-font-family);
    color: var(--bq-text-muted);
    letter-spacing: 0;
    margin-bottom: 84px; /* espacio para bottom nav */
}

/* Invite card (dashboard) — suavizar al estilo v8 */
.buyaca-app .bq-invite-card {
    background: linear-gradient(135deg, var(--bq-primary-light), rgba(255,255,255,0)) !important;
    border: 1px solid var(--bq-primary-soft) !important;
    border-radius: var(--bq-radius-lg) !important;
    box-shadow: var(--bq-shadow-xs) !important;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/*   18 · Microinteracciones globales + refinamientos                          */
/* ═══════════════════════════════════════════════════════════════════════════ */

/* Autocomplete */
.buyaca-app .buyaca-autocomplete {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: var(--bq-bg-card);
    border: 1px solid var(--bq-border);
    border-radius: var(--bq-radius-sm);
    box-shadow: var(--bq-shadow-lg);
    max-height: 320px;
    overflow-y: auto;
    z-index: 300;
    display: none;
}
.buyaca-app .buyaca-autocomplete.is-open { display: block; }

/* Spinner v8 */
.buyaca-app .bq-home-spinner {
    display: inline-block;
    width: 32px;
    height: 32px;
    border: 2.5px solid var(--bq-border);
    border-top-color: var(--bq-primary);
    border-radius: 50%;
    animation: bqSpin 0.8s linear infinite;
}
@keyframes bqSpin {
    to { transform: rotate(360deg); }
}

/* Load-more button */
.buyaca-app .bq-load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 22px;
    border-radius: var(--bq-radius-pill);
    background: var(--bq-bg-card);
    border: 1px solid var(--bq-border-strong);
    color: var(--bq-text-primary);
    font: 600 13.5px/1 var(--bq-font-family);
    cursor: pointer;
    transition: all var(--bq-dur) var(--bq-ease);
}
.buyaca-app .bq-load-more-btn:hover {
    border-color: var(--bq-primary);
    color: var(--bq-primary);
    background: var(--bq-primary-light);
    transform: translateY(-1px);
}

/* [v8.5] Toast — Forzamos colores fijos para evitar conflicto con variables CSS
   en modo oscuro/claro. Antes se usaban var(--bq-text-primary) y var(--bq-bg-card)
   con !important, lo que en algunos contextos producía blanco sobre blanco
   (ej. mensaje "Estadísticas actualizadas" en panel de stats). */
.buyaca-toast, #bq-toast-container > div {
    background: #0f172a !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    font: 600 13.5px/1.4 var(--bq-font-family, 'Inter', system-ui, sans-serif) !important;
    padding: 12px 20px !important;
    box-shadow: 0 12px 32px rgba(0,0,0,0.25), 0 2px 6px rgba(0,0,0,0.15) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
}
.buyaca-toast.success, #bq-toast-container > div.success {
    background: linear-gradient(135deg, #10B981, #059669) !important;
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.18) !important;
}
.buyaca-toast.error, #bq-toast-container > div.error {
    background: linear-gradient(135deg, #EF4444, #DC2626) !important;
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.18) !important;
}
.buyaca-toast.info, #bq-toast-container > div.info {
    background: linear-gradient(135deg, #3B82F6, #2563EB) !important;
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.18) !important;
}
.buyaca-toast.warning, #bq-toast-container > div.warning {
    background: linear-gradient(135deg, #F59E0B, #D97706) !important;
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.18) !important;
}

/* Focus-visible global — accesibilidad */
.buyaca-app *:focus-visible {
    outline: 2px solid var(--bq-primary);
    outline-offset: 2px;
    border-radius: var(--bq-radius-sm);
}

/* Selection */
.buyaca-app ::selection {
    background: var(--bq-primary-soft);
    color: var(--bq-text-primary);
}

/* Scrollbar slim (webkit) */
.buyaca-app ::-webkit-scrollbar { width: 10px; height: 10px; }
.buyaca-app ::-webkit-scrollbar-track { background: transparent; }
.buyaca-app ::-webkit-scrollbar-thumb {
    background: var(--bq-border-strong);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
}
.buyaca-app ::-webkit-scrollbar-thumb:hover { background: var(--bq-text-muted); background-clip: padding-box; }

/* Stagger entrance animation para grids y secciones */
@keyframes bqFadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
.buyaca-app .bq-home-grid > *,
.buyaca-app .buyaca-grid > *,
.buyaca-app .bq-cv2-product-grid > * {
    animation: bqFadeUp 0.42s var(--bq-ease-out) backwards;
}
.buyaca-app .bq-home-grid > *:nth-child(1) { animation-delay: 0.02s; }
.buyaca-app .bq-home-grid > *:nth-child(2) { animation-delay: 0.06s; }
.buyaca-app .bq-home-grid > *:nth-child(3) { animation-delay: 0.10s; }
.buyaca-app .bq-home-grid > *:nth-child(4) { animation-delay: 0.14s; }
.buyaca-app .bq-home-grid > *:nth-child(5) { animation-delay: 0.18s; }
.buyaca-app .bq-home-grid > *:nth-child(6) { animation-delay: 0.22s; }
.buyaca-app .bq-home-grid > *:nth-child(7) { animation-delay: 0.26s; }
.buyaca-app .bq-home-grid > *:nth-child(8) { animation-delay: 0.30s; }
@media (prefers-reduced-motion: reduce) {
    .buyaca-app .bq-home-grid > *,
    .buyaca-app .buyaca-grid > *,
    .buyaca-app .bq-cv2-product-grid > * {
        animation: none;
    }
}

/* Responsive refinements bloque 3 */
@media (max-width: 480px) {
    .buyaca-app .buyaca-login-box { padding: 24px 20px; border-radius: var(--bq-radius-lg); }
    .buyaca-app .buyaca-login-title { font-size: 20px; }
    .bco-w { padding-left: 14px; padding-right: 14px; }
    .bco-price { font-size: 32px; }
    .buyaca-app .buyaca-form-section { padding: 18px 16px 14px; }
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/*   BLOQUE 4 · v9 — Fixes quirúrgicos                                         */
/*   Wordmark BUY ACÁ · contraste light/dark · logos cards · close modal       */
/* ═══════════════════════════════════════════════════════════════════════════ */

/* ── 19 · Wordmark "BUY ACÁ" — typography-based logo ── */
.buyaca-app .bq-wordmark,
.bq-wordmark {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    font-family: var(--bq-font-display, 'Outfit', sans-serif);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--bq-text-primary);
    text-decoration: none;
    user-select: none;
    white-space: nowrap;
}
.buyaca-app .bq-wordmark-1,
.bq-wordmark-1 {
    color: var(--bq-text-primary);
    font-weight: 800;
}
.buyaca-app .bq-wordmark-2,
.bq-wordmark-2 {
    color: var(--bq-primary);
    font-weight: 800;
}
.buyaca-app .bq-wordmark--login {
    font-size: 26px;
    letter-spacing: -0.045em;
    gap: 8px;
}
.buyaca-app .bq-wordmark--footer,
.bq-wordmark--footer {
    font-size: 22px;
    letter-spacing: -0.04em;
}

/* Contraste correcto según modo */
.buyaca-app:not(.bq-light-mode) .bq-wordmark-1 { color: #F8FAFC; }
.buyaca-app.bq-light-mode .bq-wordmark-1 { color: #FFF;
font-weight: bold;
    font-family: 'Outfit'!important;
    font-size: 18px;
    
}

/* Logo wrap ajustado para el wordmark (ya no hay img que necesite filtros) */
.buyaca-app .bq-header-logo-wrap {
    padding: 8px 0 6px;
    max-height: 52px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.buyaca-app .bq-header-logo-wrap .logo {
    display: none !important; /* silenciar cualquier img.logo huérfana del CSS viejo */
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/*   20 · FIX — Header contraste correcto según modo (mata "inverse header")  */
/* ═══════════════════════════════════════════════════════════════════════════ */

/* LIGHT MODE → header blanco con texto oscuro */
.buyaca-app.bq-light-mode .bq-header-backdrop {
    background: #fd6322 !important;
    
  
}

/* Buscador en light mode: bg gris claro, texto oscuro */
.buyaca-app.bq-light-mode .bq-app-header-search {
    background: #F1F5F9 !important;
    border: 1px solid transparent !important;
    box-shadow: none !important;
}
.buyaca-app.bq-light-mode .bq-app-header-search:focus-within {
    border-color: var(--bq-primary) !important;
    background: #FFFFFF !important;
    box-shadow: 0 0 0 4px var(--bq-primary-light) !important;
}
.buyaca-app.bq-light-mode .bq-app-header-search-input { color: #0F172A !important; }
.buyaca-app.bq-light-mode .bq-app-header-search-input::placeholder { color: #94A3B8 !important; }
.buyaca-app.bq-light-mode .bq-app-header-search-icon svg { stroke: #94A3B8 !important; }

/* Botón "Me interesa" en header light mode */
.buyaca-app.bq-light-mode .bq-header-interest-btn {
    background: #F1F5F9 !important;
    border-color: transparent !important;
    color: #0F172A !important;
}
.buyaca-app.bq-light-mode .bq-header-interest-btn:hover {
    background: var(--bq-primary-light) !important;
    color: var(--bq-primary) !important;
    border-color: var(--bq-primary-soft) !important;
}

/* Chips light mode: fondo neutro, texto oscuro */
.buyaca-app.bq-light-mode .bq-header-chips-wrap .bq-home-filter-pill {
    background: transparent !important;
   
}
.buyaca-app.bq-light-mode .bq-header-chips-wrap .bq-home-filter-pill:hover {
    border-color: #CBD5E1 !important;
    color: #0F172A !important;
}
.buyaca-app.bq-light-mode .bq-header-chips-wrap .bq-home-filter-pill.active {
    background: var(--bq-primary) !important;
    color: #FFFFFF !important;
    border-color: var(--bq-primary) !important;
}
.buyaca-app.bq-light-mode .bq-header-chips-wrap .bq-home-filter-select {
    background-color: transparent !important;

    color: #ffe0d3 !important;
  
}
.buyaca-app.bq-light-mode .bq-header-chips-wrap .bq-home-filter-select option {
    background: #FFFFFF !important;
    color: #0F172A !important;
}
.buyaca-app.bq-light-mode .bq-header-chips-wrap .bq-filter-select-icon,
.buyaca-app.bq-light-mode .bq-header-chips-wrap .bq-filter-select-icon svg {
       color: #ffffff !important;
    stroke: #ffffff !important;
    fill: #ffffff !important;
}

/* DARK MODE → header oscuro con texto claro */
.buyaca-app:not(.bq-light-mode) .bq-header-backdrop {
    background: rgba(10,10,12,0.88) !important;
    backdrop-filter: saturate(180%) blur(20px) !important;
    -webkit-backdrop-filter: saturate(180%) blur(20px) !important;
    border-bottom: 0px solid rgba(255,255,255,0.06) !important;
    box-shadow: 0 0px 0 rgba(0,0,0,0.3) !important;
}
.buyaca-app:not(.bq-light-mode) .bq-app-header-search {
    background: #1A1A20 !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
    box-shadow: none !important;
}
.buyaca-app:not(.bq-light-mode) .bq-app-header-search:focus-within {
    border-color: var(--bq-primary) !important;
    background: #141418 !important;
    box-shadow: 0 0 0 4px rgba(255,106,44,0.14) !important;
}
.buyaca-app:not(.bq-light-mode) .bq-app-header-search-input { color: #F1F5F9 !important; }
.buyaca-app:not(.bq-light-mode) .bq-app-header-search-input::placeholder { color: #64748B !important; }
.buyaca-app:not(.bq-light-mode) .bq-app-header-search-icon svg { stroke: #64748B !important; }

.buyaca-app:not(.bq-light-mode) .bq-header-interest-btn {
    background: #1A1A20 !important;
    border-color: rgba(255,255,255,0.06) !important;
    color: #F1F5F9 !important;
}
.buyaca-app:not(.bq-light-mode) .bq-header-interest-btn:hover {
    background: rgba(255,106,44,0.12) !important;
    color: var(--bq-primary) !important;
    border-color: rgba(255,106,44,0.25) !important;
}

.buyaca-app:not(.bq-light-mode) .bq-header-chips-wrap .bq-home-filter-pill {
    background: transparent !important;
    border: 0px solid rgba(255,255,255,0.08) !important;
    color: #ffe7e7 !important;
}
.buyaca-app:not(.bq-light-mode) .bq-header-chips-wrap .bq-home-filter-pill:hover {
    border-color: rgba(255,255,255,0.16) !important;
    color: #F1F5F9 !important;
}
.buyaca-app:not(.bq-light-mode) .bq-header-chips-wrap .bq-home-filter-pill.active {
    background: #ff6a2c26 !important;
    color: #ffe7e7 !important;
  
}
.buyaca-app:not(.bq-light-mode) .bq-header-chips-wrap .bq-home-filter-select {
    background-color: transparent !important;
    border: 0px solid rgba(255,255,255,0.08) !important;
    color: #ffe7e7 !important;
    background-image:url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E") !important;
}
.buyaca-app:not(.bq-light-mode) .bq-header-chips-wrap .bq-home-filter-select option {
    background: #141418 !important;
    color: #F1F5F9 !important;
}
.buyaca-app:not(.bq-light-mode) .bq-header-chips-wrap .bq-filter-select-icon,
.buyaca-app:not(.bq-light-mode) .bq-header-chips-wrap .bq-filter-select-icon svg {
    color: #ffe7e7 !important;
    stroke: #ffe7e7 !important;
    fill: #ffe7e7 !important;
}

/* Red-zone: fondo correcto en cada modo (no más gradient oscuro en light) */
/* ═══════════════════════════════════════════════════════════════════════════ */
/*   21 · FIX — Profile cards: logo bien posicionado (margin-top negativo)    */
/* ═══════════════════════════════════════════════════════════════════════════ */

.buyaca-app .bq-profile-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    position: relative; /* para que action buttons queden anclados */
}

/* Banner — sin cambios estructurales, solo clean-up */
.buyaca-app .bq-profile-card-banner {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: var(--bq-bg-secondary);
    overflow: hidden;
}

/* Logo wrap — POSICIÓN RELATIVA con margin-top negativo para superponer el banner */
.buyaca-app .bq-profile-card-logo-wrap {
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    top: auto !important;
    margin-top: -24px !important;
    margin-left: 12px !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 27px !important;
    overflow: hidden;
    background: var(--bq-bg-card) !important;
    border: 2px solid var(--bq-bg-card) !important;
    box-shadow: 0 2px 6px rgba(15,23,42,0.12) !important;
    z-index: 3 !important;
}
.buyaca-app.bq-light-mode .bq-profile-card-logo-wrap {
    background: #FFFFFF !important;
    border-color: #FFFFFF !important;
}
.buyaca-app:not(.bq-light-mode) .bq-profile-card-logo-wrap {
    background: #141418 !important;
    border-color: #141418 !important;
}
.buyaca-app .bq-profile-card-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.buyaca-app .bq-profile-card-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bq-bg-surface);
    color: var(--bq-text-muted);
}

/* Body — padding-top normal (ya no hace falta compensar logo absoluto) */
.buyaca-app .bq-profile-card-body {
    padding: 8px 14px 14px !important;
}

/* Action buttons del banner (corazón / compartir) — anclados al BANNER */
.buyaca-app .bq-profile-card-action {
    position: absolute;
    top: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    color: #0F172A;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(15,23,42,0.12);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: all var(--bq-dur) var(--bq-ease);
    z-index: 2;
}
.buyaca-app .bq-profile-card-heart { right: 10px; }
.buyaca-app .bq-profile-card-share { right: 10px; }

/* ═══════════════════════════════════════════════════════════════════════════ */
/*   22 · FIX — Close button del Quick View modal (oculto detrás de galería)  */
/* ═══════════════════════════════════════════════════════════════════════════ */

.bq-qv-overlay {
    z-index: 10000 !important;
}
.bq-qv-modal {
    overflow: hidden !important; /* que no recorte el botón de cerrar */
    position: relative !important;
}
.bq-qv-modal .bq-modal-close-btn {
    position: absolute !important;
    top: 55px !important;
    right: 12px !important;
    z-index: 50 !important; /* por encima de galería (z-index 1) y float-actions (z-index 10) */
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    border: none !important;
    background: rgb(0 0 0 / 67%) !important;
    color: #0F172A !important;
    font-size: 24px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(15,23,42,0.15), 0 1px 3px rgba(15,23,42,0.08) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    transition: all var(--bq-dur, 0.24s) var(--bq-ease, cubic-bezier(0.32,0.72,0,1)) !important;
}
.bq-qv-modal .bq-modal-close-btn:hover {
    background: #FFFFFF !important;
    
    transform: scale(1.08) rotate(90deg) !important;
    box-shadow: 0 6px 16px rgba(15,23,42,0.18) !important;
}

/* Asegurar que la galería no tape el botón */
.bq-qv-modal .bq-qv-gal {
    position: relative !important;
    z-index: 1 !important;
}
.bq-qv-modal .bq-qv-float-actions {
    z-index: 10 !important;
}

/* Botones flotantes del quick view — estilo consistente con cards */
.bq-qv-float-btn {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    border: none !important;
    background: rgba(255,255,255,0.96) !important;
    color: #0F172A !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(15,23,42,0.15) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    transition: all var(--bq-dur, 0.24s) var(--bq-ease, cubic-bezier(0.32,0.72,0,1)) !important;
}
.bq-qv-float-btn:hover {
    transform: scale(1.08) !important;
    color: var(--bq-primary, #FF6A2C) !important;
    background: #FFFFFF !important;
}
.bq-qv-interest-active {
    background: var(--bq-primary, #FF6A2C) !important;
    color: #FFFFFF !important;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/*   23 · Refinamientos adicionales + consistencia light/dark de todo el app  */
/* ═══════════════════════════════════════════════════════════════════════════ */

/* Bottom nav — contraste correcto en ambos modos */
.buyaca-app.bq-light-mode .buyaca-bottom-nav.bq-bottom-nav-v8,
.buyaca-app.bq-light-mode .buyaca-bottom-nav {
    background: rgba(255,255,255,0.96) !important;
    border-top: 1px solid #E2E8F0 !important;
}
.buyaca-app.bq-light-mode .buyaca-bottom-nav .buyaca-bottom-nav-item {
    color: #94A3B8;
}
.buyaca-app.bq-light-mode .buyaca-bottom-nav .buyaca-bottom-nav-item.active {
    color: var(--bq-primary);
}
.buyaca-app:not(.bq-light-mode) .buyaca-bottom-nav.bq-bottom-nav-v8 {
    background: rgba(10,10,12,0.92) !important;
    border-top: 1px solid rgba(255,255,255,0.06) !important;
}

/* Featured card — logo correcto en light/dark */
.buyaca-app.bq-light-mode .bq-featured-v2-logo-wrap {
    background: #FFFFFF !important;
    border-color: #FFFFFF !important;
}
.buyaca-app:not(.bq-light-mode) .bq-featured-v2-logo-wrap {
    background: #141418 !important;
    border-color: #141418 !important;
}

/* Cards en dark mode — borde más visible */
.buyaca-app:not(.bq-light-mode) .bq-profile-card,
.buyaca-app:not(.bq-light-mode) .buyaca-business-card,
.buyaca-app:not(.bq-light-mode) .bq-cv2-product-card {
    background: #141418 !important;
    border-color: rgba(255,255,255,0.06) !important;
}
.buyaca-app:not(.bq-light-mode) .bq-profile-card:hover,
.buyaca-app:not(.bq-light-mode) .buyaca-business-card:hover,
.buyaca-app:not(.bq-light-mode) .bq-cv2-product-card:hover {
    border-color: rgba(255,255,255,0.12) !important;
}

/* Publish sheet en dark mode */
.buyaca-app:not(.bq-light-mode) ~ .bq-publish-sheet .bq-publish-sheet-panel,
html:has(.buyaca-app:not(.bq-light-mode)) .bq-publish-sheet-panel {
    background: #141418;
    color: #F1F5F9;
}
.buyaca-app:not(.bq-light-mode) ~ .bq-publish-sheet .bq-publish-option,
html:has(.buyaca-app:not(.bq-light-mode)) .bq-publish-option {
    background: #1A1A20;
    color: #F1F5F9;
}
.buyaca-app:not(.bq-light-mode) ~ .bq-publish-sheet .bq-publish-option-icon,
html:has(.buyaca-app:not(.bq-light-mode)) .bq-publish-option-icon {
    background: #0A0A0C;
    border-color: rgba(255,255,255,0.08);
}

/* Recomendados zone en dark */
.buyaca-app:not(.bq-light-mode) .bq-recomendados-zone {
    background: #0D0D10 !important;
    box-shadow: 0 -1px 0 rgba(255,255,255,0.04) !important;
}
.buyaca-app.bq-light-mode .bq-recomendados-zone {
    background: #FFFFFF !important;
    box-shadow: 0px !important;
}

/* Business profile banner ajuste en light mode */
.buyaca-app.bq-light-mode.buyaca-business-profile {
    background: #F8FAFC !important;
   
}
.buyaca-app:not(.bq-light-mode).buyaca-business-profile {
    background: #0A0A0C !important;
}

/* Tabs del business profile — contraste correcto */
.buyaca-app.bq-light-mode .bq-cv2-tabs {
    background: rgba(255,255,255,0.88) !important;
    border-bottom-color: #E2E8F0 !important;
}
.buyaca-app:not(.bq-light-mode) .bq-cv2-tabs {
    background: rgba(10,10,12,0.88) !important;
    border-bottom-color: rgba(255,255,255,0.06) !important;
}

/* Logo del business profile (bq-cv2-logo) — borde adapta modo */
.buyaca-app.bq-light-mode .bq-cv2-logo {
    background: #FFFFFF !important;
    border-color: #F8FAFC !important;
}
.buyaca-app:not(.bq-light-mode) .bq-cv2-logo {
    background: #141418 !important;
    border-color: #0A0A0C !important;
}

/* Social buttons del perfil negocio en dark mode */
.buyaca-app:not(.bq-light-mode) .bq-cv2-social-btn,
.buyaca-app:not(.bq-light-mode) .bq-cv2-icon-btn {
    background: #141418 !important;
    border-color: rgba(255,255,255,0.08) !important;
    color: #94A3B8 !important;
}

/* Float buttons (back/fav) sobre banner — mejor visibilidad en ambos modos */
.buyaca-app .bq-float-btn {
    background: rgba(255,255,255,0.96) !important;
    color: #0F172A !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

/* Form inputs en dark mode — mejor contraste */
.buyaca-app:not(.bq-light-mode) .buyaca-form-input,
.buyaca-app:not(.bq-light-mode) .buyaca-form-select,
.buyaca-app:not(.bq-light-mode) .buyaca-form-textarea {
    background: #1A1A20 !important;
    border-color: rgba(255,255,255,0.08) !important;
    color: #F1F5F9 !important;
}
.buyaca-app:not(.bq-light-mode) .buyaca-form-input::placeholder,
.buyaca-app:not(.bq-light-mode) .buyaca-form-textarea::placeholder {
    color: #64748B !important;
}
.buyaca-app:not(.bq-light-mode) .buyaca-form-section {
    background: #141418 !important;
    border-color: rgba(255,255,255,0.06) !important;
}

/* Dashboard cards en dark mode */
.buyaca-app:not(.bq-light-mode) .bq-profile-header-card {
    background: #141418 !important;
    border-color: rgba(255,255,255,0.06) !important;
}
.buyaca-app:not(.bq-light-mode) .bq-profile-tabs {
    background: #1A1A20 !important;
    border-color: rgba(255,255,255,0.06) !important;
}
.buyaca-app:not(.bq-light-mode) .bq-profile-tab.active {
    background: #0A0A0C !important;
}

/* Modales en dark mode */
.buyaca-app:not(.bq-light-mode) ~ .bq-modal-overlay .bq-cart-modal-content,
html:has(.buyaca-app:not(.bq-light-mode)) .bq-cart-modal-content,
html:has(.buyaca-app:not(.bq-light-mode)) .bq-catalog-modal-content {
    background: #141418;
    color: #F1F5F9;
}

/* Modales en light mode — fondo blanco y texto oscuro */
html:has(.buyaca-app.bq-light-mode) .bq-catalog-modal-content,
html.bq-page-light .bq-catalog-modal-content {
    background: #FFFFFF !important;
    color: #0F172A !important;
}
html:has(.buyaca-app.bq-light-mode) .bq-catalog-modal-content .bq-slider-slide-name,
html.bq-page-light .bq-catalog-modal-content .bq-slider-slide-name {
    color: #0F172A !important;
}
html:has(.buyaca-app.bq-light-mode) .bq-catalog-modal-content .bq-slider-slide-desc,
html:has(.buyaca-app.bq-light-mode) .bq-catalog-modal-content .bq-slider-slide-cats,
html.bq-page-light .bq-catalog-modal-content .bq-slider-slide-desc,
html.bq-page-light .bq-catalog-modal-content .bq-slider-slide-cats {
    color: #64748B !important;
}
html:has(.buyaca-app.bq-light-mode) .bq-catalog-modal-content .bq-slider-slide-body,
html.bq-page-light .bq-catalog-modal-content .bq-slider-slide-body {
    color: #0F172A !important;
}
html:has(.buyaca-app.bq-light-mode) .bq-catalog-modal-content #bq-prev-product,
html:has(.buyaca-app.bq-light-mode) .bq-catalog-modal-content #bq-next-product,
html.bq-page-light .bq-catalog-modal-content #bq-prev-product,
html.bq-page-light .bq-catalog-modal-content #bq-next-product {
    color: #475569 !important;
    border-color: #E2E8F0 !important;
}
html:has(.buyaca-app.bq-light-mode) .bq-cart-modal-content,
html.bq-page-light .bq-cart-modal-content {
    background: #FFFFFF !important;
    color: #0F172A !important;
}
html:has(.buyaca-app.bq-light-mode) .bq-cart-modal-header,
html.bq-page-light .bq-cart-modal-header {
    border-bottom-color: #E2E8F0 !important;
}
html:has(.buyaca-app.bq-light-mode) .bq-cart-modal-title,
html.bq-page-light .bq-cart-modal-title {
    color: #0F172A !important;
}
html:has(.buyaca-app.bq-light-mode) .bq-cart-modal-footer,
html.bq-page-light .bq-cart-modal-footer {
    background: #F8FAFC !important;
    border-top-color: #E2E8F0 !important;
}
html:has(.buyaca-app.bq-light-mode) .bq-cart-grouped-items,
html.bq-page-light .bq-cart-grouped-items {
    color: #0F172A !important;
}
html:has(.buyaca-app.bq-light-mode) .bq-cart-grouped-items *,
html.bq-page-light .bq-cart-grouped-items * {
    color: inherit;
}
html:has(.buyaca-app.bq-light-mode) .bq-cart-business-group,
html.bq-page-light .bq-cart-business-group {
    background: #F8FAFC !important;
    border-color: #E2E8F0 !important;
}
html:has(.buyaca-app.bq-light-mode) .bq-cart-business-header,
html.bq-page-light .bq-cart-business-header {
    background: #F1F5F9 !important;
    color: #0F172A !important;
}

/* Legal accordion en dark mode */
.buyaca-app:not(.bq-light-mode) .bq-legal-accordion {
    background: #141418 !important;
    border-color: rgba(255,255,255,0.06) !important;
}

/* Typography adjustments — fix contraste en dark mode */
.buyaca-app:not(.bq-light-mode) .bq-profile-card-name,
.buyaca-app:not(.bq-light-mode) .buyaca-business-card-title,
.buyaca-app:not(.bq-light-mode) .bq-cv2-product-name,
.buyaca-app:not(.bq-light-mode) .buyaca-h1,
.buyaca-app:not(.bq-light-mode) .buyaca-h2,
.buyaca-app:not(.bq-light-mode) .bq-cv2-name,
.buyaca-app:not(.bq-light-mode) .bq-profile-greeting {
    color: #F8FAFC !important;
}

/* Light mode page + elementos residuales */
.buyaca-app.bq-light-mode .bq-profile-card-pill {
    background: #F1F5F9 !important;
    color: #64748B !important;
}
.buyaca-app:not(.bq-light-mode) .bq-profile-card-pill {
    background: #1A1A20 !important;
    color: #94A3B8 !important;
}

/* Status pills */
.buyaca-app.bq-light-mode .bq-profile-card-status.closed {
    background: #F1F5F9 !important;
    color: #64748B !important;
}
.buyaca-app:not(.bq-light-mode) .bq-profile-card-status.closed {
    background: #1A1A20 !important;
    color: #94A3B8 !important;
}

/* Silenciar cualquier residuo visual de sparkles/glow que quedara */
.bq-red-zone::before,
.bq-red-zone-sparkles,
/* Responsive v9 — wordmark responsive */
@media (max-width: 400px) {
    .buyaca-app .bq-wordmark { font-size: 16px; }
    .buyaca-app .bq-wordmark--login { font-size: 22px; }
    .buyaca-app .bq-profile-card-logo-wrap {
        margin-top: -20px !important;
        width: 44px !important;
        height: 44px !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/*   BLOQUE v10 · CSS PARA CONTROLES AVANZADOS DEL PANEL DISEÑO                */
/*   Responde a data-vc-* attributes del .buyaca-business-profile              */
/* ═══════════════════════════════════════════════════════════════════════════ */

/* ── 24 · Fecha en quick view modal ── */
.buyaca-app .bq-qv-date {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font: 500 12px/1.3 var(--bq-font-family);
    color: var(--bq-text-muted);
    letter-spacing: 0;
}
.buyaca-app .bq-qv-date svg {
    flex-shrink: 0;
    opacity: 0.8;
}

/* ── 25 · BANNER como <img> cover/contain con fallback para cualquier ratio ── */
.buyaca-app .bq-cv2-banner {
    width: 100%;
    height: 180px;
    min-height: 180px;
    max-height: 320px;
    background: linear-gradient(135deg, var(--bq-primary, #FF6A2C) 0%, #FF8A4A 100%);
    position: relative;
    overflow: hidden;
}
@media (min-width: 480px) {
    .buyaca-app .bq-cv2-banner { height: 240px; max-height: 200px; }
}
@media (min-width: 768px) {
    .buyaca-app .bq-cv2-banner { height: 300px; max-height: 360px; }
}

.buyaca-app .bq-cv2-banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* Ajuste "Ver todo" — muestra la imagen entera con padding y fondo suave */
.buyaca-app[data-vc-banner-fit="contain"] .bq-cv2-banner-img {
    object-fit: contain;
    background: var(--bq-bg-secondary);
}
.buyaca-app[data-vc-banner-fit="contain"] .bq-cv2-banner {
    background: var(--bq-bg-secondary);
}
.buyaca-app.bq-light-mode[data-vc-banner-fit="contain"] .bq-cv2-banner,
.buyaca-app.bq-light-mode[data-vc-banner-fit="contain"] .bq-cv2-banner-img {
    background: #F1F5F9;
}
.buyaca-app:not(.bq-light-mode)[data-vc-banner-fit="contain"] .bq-cv2-banner,
.buyaca-app:not(.bq-light-mode)[data-vc-banner-fit="contain"] .bq-cv2-banner-img {
    background: #141418;
}

.buyaca-app .bq-cv2-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.35) 100%);
    pointer-events: none;
    z-index: 1;
}
/* En contain, quitamos el overlay oscuro que taparía los bordes claros */
.buyaca-app[data-vc-banner-fit="contain"] .bq-cv2-banner-overlay {
    display: none;
}

/* ── 26 · FORMA DEL LOGO — círculo / rounded / square ── */
.buyaca-app[data-vc-logo-shape="circle"] .bq-cv2-logo,
.buyaca-app[data-vc-logo-shape="circle"] .bq-cv2-logo img,
.buyaca-app[data-vc-logo-shape="circle"] .bq-featured-v2-logo-wrap,
.buyaca-app[data-vc-logo-shape="circle"] .bq-featured-v2-logo,
.buyaca-app[data-vc-logo-shape="circle"] .bq-profile-card-logo-wrap,
.buyaca-app[data-vc-logo-shape="circle"] .bq-profile-card-logo {
    border-radius: 50% !important;
}
.buyaca-app[data-vc-logo-shape="rounded"] .bq-cv2-logo,
.buyaca-app[data-vc-logo-shape="rounded"] .bq-cv2-logo img,
.buyaca-app[data-vc-logo-shape="rounded"] .bq-featured-v2-logo-wrap,
.buyaca-app[data-vc-logo-shape="rounded"] .bq-featured-v2-logo,
.buyaca-app[data-vc-logo-shape="rounded"] .bq-profile-card-logo-wrap,
.buyaca-app[data-vc-logo-shape="rounded"] .bq-profile-card-logo {
    border-radius: 18px !important;
}
.buyaca-app[data-vc-logo-shape="square"] .bq-cv2-logo,
.buyaca-app[data-vc-logo-shape="square"] .bq-cv2-logo img,
.buyaca-app[data-vc-logo-shape="square"] .bq-featured-v2-logo-wrap,
.buyaca-app[data-vc-logo-shape="square"] .bq-featured-v2-logo,
.buyaca-app[data-vc-logo-shape="square"] .bq-profile-card-logo-wrap,
.buyaca-app[data-vc-logo-shape="square"] .bq-profile-card-logo {
    border-radius: 6px !important;
}

/* ── 27 · BORDE DEL LOGO — none / thin / medium / thick ── */
.buyaca-app[data-vc-logo-border="none"] .bq-cv2-logo {
    border: 0 !important;
    box-shadow: 0 4px 12px rgba(15,23,42,0.15) !important;
}
.buyaca-app[data-vc-logo-border="thin"] .bq-cv2-logo {
    border: 2px solid var(--bq-bg-card) !important;
    box-shadow: 0 4px 10px rgba(15,23,42,0.12) !important;
}
.buyaca-app[data-vc-logo-border="medium"] .bq-cv2-logo {
    border: 4px solid var(--bq-bg-card) !important;
    box-shadow: 0 6px 14px rgba(15,23,42,0.15) !important;
}
.buyaca-app[data-vc-logo-border="thick"] .bq-cv2-logo {
    border: 6px solid var(--bq-bg-card) !important;
    box-shadow: 0 8px 18px rgba(15,23,42,0.18) !important;
}
.buyaca-app.bq-light-mode[data-vc-logo-border="thin"] .bq-cv2-logo,
.buyaca-app.bq-light-mode[data-vc-logo-border="medium"] .bq-cv2-logo,
.buyaca-app.bq-light-mode[data-vc-logo-border="thick"] .bq-cv2-logo {
    border-color: #FFFFFF !important;
}
.buyaca-app:not(.bq-light-mode)[data-vc-logo-border="thin"] .bq-cv2-logo,
.buyaca-app:not(.bq-light-mode)[data-vc-logo-border="medium"] .bq-cv2-logo,
.buyaca-app:not(.bq-light-mode)[data-vc-logo-border="thick"] .bq-cv2-logo {
    border-color: #141418 !important;
}

/* ── 28 · RADIO GENERAL — var(--bq-vc-radius) custom ── */
.buyaca-app .bq-cv2-product-card {
    border-radius: var(--bq-vc-radius, 16px) !important;
}
.buyaca-app .bq-cv2-product-img {
    border-radius: calc(var(--bq-vc-radius, 16px) - 2px) calc(var(--bq-vc-radius, 16px) - 2px) 0 0;
}
.buyaca-app .bq-profile-card {
    border-radius: var(--bq-vc-radius, 16px) !important;
}
.buyaca-app .buyaca-business-card {
    border-radius: var(--bq-vc-radius, 16px) !important;
}
.buyaca-app .bq-cv2-cta {
    border-radius: calc(var(--bq-vc-radius, 16px) + 100px) !important; /* mantiene pill shape con escala */
}

/* ── 29 · ESTILO DE TARJETAS DEL CATÁLOGO — modern / minimal / bold ── */
/* modern (default): ya definido arriba */

.buyaca-app[data-vc-card-style="minimal"] .bq-cv2-product-card {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding-bottom: 10px;
}
.buyaca-app[data-vc-card-style="minimal"] .bq-cv2-product-img {
    border-radius: var(--bq-vc-radius, 16px) !important;
    overflow: hidden;
}
.buyaca-app[data-vc-card-style="minimal"] .bq-cv2-product-body {
    padding: 10px 2px 0 !important;
}
.buyaca-app[data-vc-card-style="minimal"] .bq-cv2-product-card:hover {
    transform: translateY(-2px);
    box-shadow: none !important;
}

.buyaca-app[data-vc-card-style="bold"] .bq-cv2-product-card {
    background: var(--bq-bg-card);
    border: 2px solid var(--bq-primary-soft) !important;
    box-shadow: 0 6px 18px rgba(15,23,42,0.1);
}
.buyaca-app[data-vc-card-style="bold"] .bq-cv2-product-card:hover {
    border-color: var(--bq-primary) !important;
    box-shadow: 0 12px 28px -4px rgba(255,106,44,0.25);
    transform: translateY(-4px);
}
.buyaca-app[data-vc-card-style="bold"] .bq-cv2-product-price {
    font-size: 17px !important;
}
.buyaca-app[data-vc-card-style="bold"] .bq-cv2-product-body {
    padding: 14px !important;
}

/* ── 30 · SOMBRAS GLOBALES — none / soft / medium / strong ── */
.buyaca-app[data-vc-shadow="none"] .bq-cv2-product-card,
.buyaca-app[data-vc-shadow="none"] .bq-profile-card,
.buyaca-app[data-vc-shadow="none"] .buyaca-business-card {
    box-shadow: none !important;
}
.buyaca-app[data-vc-shadow="soft"] .bq-cv2-product-card,
.buyaca-app[data-vc-shadow="soft"] .bq-profile-card,
.buyaca-app[data-vc-shadow="soft"] .buyaca-business-card {
    box-shadow: 0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04) !important;
}
.buyaca-app[data-vc-shadow="medium"] .bq-cv2-product-card,
.buyaca-app[data-vc-shadow="medium"] .bq-profile-card,
.buyaca-app[data-vc-shadow="medium"] .buyaca-business-card {
    box-shadow: 0 6px 16px -2px rgba(15,23,42,0.1), 0 3px 6px -1px rgba(15,23,42,0.06) !important;
}
.buyaca-app[data-vc-shadow="strong"] .bq-cv2-product-card,
.buyaca-app[data-vc-shadow="strong"] .bq-profile-card,
.buyaca-app[data-vc-shadow="strong"] .buyaca-business-card {
    box-shadow: 0 20px 40px -10px rgba(15,23,42,0.2), 0 8px 16px -4px rgba(15,23,42,0.1) !important;
}

/* ── 31 · ANIMACIÓN HOVER — none / lift / zoom / glow ── */
.buyaca-app[data-vc-hover="none"] .bq-cv2-product-card:hover,
.buyaca-app[data-vc-hover="none"] .bq-profile-card:hover,
.buyaca-app[data-vc-hover="none"] .buyaca-business-card:hover {
    transform: none !important;
}
.buyaca-app[data-vc-hover="none"] .bq-cv2-product-card:hover .bq-cv2-product-img img,
.buyaca-app[data-vc-hover="none"] .bq-profile-card:hover .bq-profile-card-banner-img,
.buyaca-app[data-vc-hover="none"] .buyaca-business-card:hover .buyaca-business-card-image img {
    transform: none !important;
}

.buyaca-app[data-vc-hover="lift"] .bq-cv2-product-card:hover,
.buyaca-app[data-vc-hover="lift"] .bq-profile-card:hover,
.buyaca-app[data-vc-hover="lift"] .buyaca-business-card:hover {
    transform: translateY(-6px) !important;
}

.buyaca-app[data-vc-hover="zoom"] .bq-cv2-product-card:hover,
.buyaca-app[data-vc-hover="zoom"] .bq-profile-card:hover,
.buyaca-app[data-vc-hover="zoom"] .buyaca-business-card:hover {
    transform: scale(1.03) !important;
}
.buyaca-app[data-vc-hover="zoom"] .bq-cv2-product-card:hover .bq-cv2-product-img img {
    transform: scale(1.08) !important;
}

.buyaca-app[data-vc-hover="glow"] .bq-cv2-product-card:hover,
.buyaca-app[data-vc-hover="glow"] .bq-profile-card:hover,
.buyaca-app[data-vc-hover="glow"] .buyaca-business-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 0 2px var(--bq-primary-soft), 0 12px 32px -4px rgba(255,106,44,0.35) !important;
    border-color: var(--bq-primary) !important;
}

/* ── 32 · ESTILOS DEL PANEL DE DISEÑO v10 ── */

/* Visual-group para selector de forma del logo */
.bq-vc-visual-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.bq-vc-visual-opt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 8px;
    background: var(--bq-bg-surface);
    border: 1.5px solid var(--bq-border);
    border-radius: 12px;
    cursor: pointer;
    color: var(--bq-text-secondary);
    font: 600 11px/1.2 var(--bq-font-family);
    letter-spacing: -0.005em;
    transition: all 0.18s var(--bq-ease);
}
.bq-vc-visual-opt:hover {
    border-color: var(--bq-border-strong);
    color: var(--bq-text-primary);
}
.bq-vc-visual-opt.on {
    border-color: var(--bq-primary);
    color: var(--bq-primary);
    background: var(--bq-primary-light);
}
.bq-vc-preview-shape {
    display: block;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--bq-primary), #FF8A4A);
    border: 2px solid var(--bq-bg-card);
    box-shadow: 0 2px 6px rgba(15,23,42,0.15);
}

/* Radius preview (v10) */
.bq-vc-radius-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 0 4px;
}
.bq-vc-radius-chip {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, var(--bq-primary, #FF6A2C), #FF8A4A);
    border-radius: 16px;
    transition: border-radius 0.2s var(--bq-ease);
    box-shadow: 0 4px 12px -4px rgba(255,106,44,0.35);
}

/* Range slider refinado */
.buyaca-app .bq-vc-range {
    flex: 1;
    height: 6px;
    background: var(--bq-bg-surface);
    border: 1px solid var(--bq-border);
    border-radius: 999px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    outline: none;
}
.buyaca-app .bq-vc-range::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bq-primary);
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(255,106,44,0.4);
    cursor: pointer;
}
.buyaca-app .bq-vc-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bq-primary);
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(255,106,44,0.4);
    cursor: pointer;
}
.buyaca-app .bq-vc-range-val {
    min-width: 48px;
    text-align: right;
    font: 700 13px/1 var(--bq-font-family);
    color: var(--bq-primary);
    letter-spacing: -0.01em;
}

/* Cards del panel de diseño */
.buyaca-app .bq-vc-card {
    background: var(--bq-bg-card);
    border: 1px solid var(--bq-border-light);
    border-radius: var(--bq-radius-lg);
    padding: 16px 18px;
    margin-bottom: 12px;
    box-shadow: var(--bq-shadow-xs);
    transition: border-color var(--bq-dur) var(--bq-ease);
}
.buyaca-app .bq-vc-card:hover {
    border-color: var(--bq-border);
}
.buyaca-app .bq-vc-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--bq-font-display);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--bq-text-primary);
    margin: 0 0 12px;
}
.buyaca-app .bq-vc-card-title svg {
    color: var(--bq-primary);
    flex-shrink: 0;
}

/* Button group (opciones tipo pill) del panel diseño */
.buyaca-app .bq-vc-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.buyaca-app .bq-vc-opt {
    flex: 1;
    min-width: fit-content;
    padding: 9px 14px;
    background: var(--bq-bg-surface);
    border: 1.5px solid var(--bq-border);
    border-radius: var(--bq-radius-pill);
    color: var(--bq-text-secondary);
    font: 600 12.5px/1 var(--bq-font-family);
    letter-spacing: -0.005em;
    cursor: pointer;
    transition: all 0.18s var(--bq-ease);
    white-space: nowrap;
}
.buyaca-app .bq-vc-opt:hover {
    border-color: var(--bq-border-strong);
    color: var(--bq-text-primary);
}
.buyaca-app .bq-vc-opt.on {
    background: var(--bq-primary);
    color: #fff;
    border-color: var(--bq-primary);
    box-shadow: var(--bq-shadow-primary-sm);
}

/* ── 33 · Alineaciones globales refinadas ── */

/* bq-qv-info — padding consistente + alineamiento */
.buyaca-app .bq-qv-info {
    padding: 20px 22px 12px !important;
}
.buyaca-app .bq-qv-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    margin: 8px 0 12px;
    font-size: 12.5px;
}

/* bq-cv2-info — max-width consistente */
.buyaca-app .bq-cv2-info {
    max-width: 1080px;
    margin: 0 auto;
    padding: 52px 20px 20px;
}

/* Responsive refinements v10 */
@media (max-width: 480px) {
    .buyaca-app .bq-cv2-banner { height: 160px; min-height: 200px; }
    .buyaca-app .bq-qv-info { padding: 16px 18px 10px !important; }
    .bq-vc-visual-group { gap: 6px; }
    .bq-vc-visual-opt { padding: 10px 6px; }
    .bq-vc-preview-shape { width: 30px; height: 30px; }
}

/* El design panel ahora es un bottom sheet — padding manejado por .bq-ds-body */
.buyaca-app .bq-design-panel {
    padding-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/*   <span class="bq-i bq-i-palette"></span> BOTTOM SHEET DE DISEÑO — v3 premium                                    */
/*   Panel overlay con animación desde abajo, drag-handle, preview en vivo      */
/* ═══════════════════════════════════════════════════════════════════════════ */

/* ── Backdrop translúcido (no bloquea visibilidad del preview) ── */
.buyaca-app .bq-ds-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(10, 10, 15, 0.28);
   
    pointer-events: auto;
}
.buyaca-app.bq-light-mode .bq-ds-backdrop {
    background: rgba(15, 23, 42, 0.18);
}

/* ── Contenedor principal del sheet ── */
.buyaca-app .bq-ds-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    height: var(--bq-ds-h, 50vh);
    max-height: 95vh;
    min-height: 200px;
    background: var(--bq-bg-card);
    border-radius: 28px 28px 0 0;
    box-shadow:
        0 -24px 64px -12px rgba(17, 24, 39, 0.35),
        0 -8px 24px -6px rgba(17, 24, 39, 0.18),
        0 -1px 0 0 var(--bq-border-light);
    overflow: hidden;
    transition: height 0.35s var(--bq-ease);
    will-change: height, transform;
    /* Respeta el safe-area-inset inferior en iOS */
    padding-bottom: env(safe-area-inset-bottom, 0);
}
.buyaca-app.bq-light-mode .bq-ds-sheet {
    box-shadow:
        0 -20px 60px -12px rgba(15, 23, 42, 0.20),
        0 -6px 18px -4px rgba(15, 23, 42, 0.08);
}

/* Borde superior sutil tipo "shine" con el color primario */
.buyaca-app .bq-ds-sheet::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(440px, 80%);
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 106, 44, 0.45) 50%,
        transparent 100%);
    z-index: 1;
    pointer-events: none;
}

/* ── Drag zone (handle bar) ── */
.buyaca-app .bq-ds-drag-zone {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 22px;
    padding-top: 10px;
    cursor: grab;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    position: relative;
}
.buyaca-app .bq-ds-drag-zone:active {
    cursor: grabbing;
}
.buyaca-app .bq-ds-handle {
    width: 42px;
    height: 5px;
    border-radius: 999px;
    background: var(--bq-border-strong);
    transition: background 0.18s var(--bq-ease), width 0.2s var(--bq-ease);
}
.buyaca-app .bq-ds-drag-zone:hover .bq-ds-handle,
.buyaca-app .bq-ds-sheet.bq-ds-dragging .bq-ds-handle {
    background: var(--bq-primary);
    width: 56px;
}

/* ── Header ── */
.buyaca-app .bq-ds-header {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 18px 14px;
    border-bottom: 1px solid var(--bq-border-light);
    background: var(--bq-bg-card);
    position: relative;
    z-index: 2;
}
.buyaca-app .bq-ds-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1 1 auto;
}
.buyaca-app .bq-ds-icon-badge {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--bq-primary) 0%, var(--bq-primary-dark) 100%);
    color: #fff;
    box-shadow: var(--bq-shadow-primary-sm);
}
.buyaca-app .bq-ds-title-text {
    min-width: 0;
    flex: 1 1 auto;
}
.buyaca-app .bq-ds-title {
    margin: 0;
    font: 700 16px/1.2 var(--bq-font-display, var(--bq-font-family));
    color: var(--bq-text-primary);
    letter-spacing: -0.015em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.buyaca-app .bq-ds-subtitle {
    margin: 3px 0 0;
    font-size: 11.5px;
    font-weight: 500;
    color: var(--bq-text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: -0.005em;
}
.buyaca-app .bq-ds-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: bq-ds-pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes bq-ds-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55); }
    50%      { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

/* ── Botones del header ── */
.buyaca-app .bq-ds-header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
}
.buyaca-app .bq-ds-snap-btn,
.buyaca-app .bq-ds-close {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    border: 1px solid var(--bq-border);
    background: var(--bq-bg-surface);
    color: var(--bq-text-secondary);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 0.18s var(--bq-ease);
    padding: 0;
    position: relative;
}
.buyaca-app .bq-ds-snap-btn .bq-ds-snap-ico-down { display: none; }
.buyaca-app .bq-ds-sheet.bq-ds-snap-full .bq-ds-snap-btn .bq-ds-snap-ico-up { display: none; }
.buyaca-app .bq-ds-sheet.bq-ds-snap-full .bq-ds-snap-btn .bq-ds-snap-ico-down { display: block; }

.buyaca-app .bq-ds-snap-btn:hover,
.buyaca-app .bq-ds-close:hover {
    border-color: var(--bq-border-strong);
    color: var(--bq-text-primary);
    background: var(--bq-bg-elevated);
    transform: translateY(-1px);
}
.buyaca-app .bq-ds-close:hover {
    color: #EF4444;
    border-color: rgba(239, 68, 68, 0.35);
    background: rgba(239, 68, 68, 0.08);
}
.buyaca-app .bq-ds-snap-btn:active,
.buyaca-app .bq-ds-close:active {
    transform: translateY(0);
}

/* ── Body scrollable ── */
.buyaca-app .bq-ds-sheet .bq-ds-body {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 18px 18px 24px;
    animation: none; /* desactivamos la fade-up del bq-admin-panel aquí */
}
.buyaca-app .bq-ds-sheet .bq-ds-body::-webkit-scrollbar {
    width: 6px;
}
.buyaca-app .bq-ds-sheet .bq-ds-body::-webkit-scrollbar-track {
    background: transparent;
}
.buyaca-app .bq-ds-sheet .bq-ds-body::-webkit-scrollbar-thumb {
    background: var(--bq-border-strong);
    border-radius: 999px;
}
.buyaca-app .bq-ds-sheet .bq-ds-body::-webkit-scrollbar-thumb:hover {
    background: var(--bq-primary);
}

/* Espaciado mejorado entre cards dentro del sheet */
.buyaca-app .bq-ds-sheet .bq-vc-card {
    margin-bottom: 12px;
}
.buyaca-app .bq-ds-sheet .bq-vc-card:last-child {
    margin-bottom: 0;
}

/* ── Footer con botón Guardar ── */
.buyaca-app .bq-ds-footer {
    flex: 0 0 auto;
    padding: 12px 18px 14px;
    background: var(--bq-bg-card);
    border-top: 1px solid var(--bq-border-light);
    position: relative;
    z-index: 2;
    box-shadow: 0 -8px 16px -8px rgba(17, 24, 39, 0.08);
}

.buyaca-app .bq-ds-save-btn {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--bq-primary) 0%, var(--bq-primary-dark) 100%);
    color: #fff;
    font: 700 14.5px/1 var(--bq-font-family);
    letter-spacing: -0.01em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: var(--bq-shadow-primary);
    transition: transform 0.18s var(--bq-ease), box-shadow 0.18s var(--bq-ease), filter 0.18s var(--bq-ease);
    position: relative;
    overflow: hidden;
}
.buyaca-app .bq-ds-save-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.22) 0%, transparent 45%);
    opacity: 0;
    transition: opacity 0.22s var(--bq-ease);
    pointer-events: none;
}
.buyaca-app .bq-ds-save-btn:hover {
    transform: translateY(-1.5px);
    box-shadow: 0 18px 38px -10px rgba(255, 106, 44, 0.55);
    filter: brightness(1.05);
}
.buyaca-app .bq-ds-save-btn:hover::before { opacity: 1; }
.buyaca-app .bq-ds-save-btn:active {
    transform: translateY(0);
    filter: brightness(0.97);
}
.buyaca-app .bq-ds-save-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}
.buyaca-app .bq-ds-save-btn svg {
    flex-shrink: 0;
}

/* ── Transiciones Alpine ── */
.bq-ds-backdrop-enter { transition: opacity 0.28s var(--bq-ease, cubic-bezier(0.32, 0.72, 0, 1)); }
.bq-ds-backdrop-enter-start { opacity: 0; }
.bq-ds-backdrop-enter-end { opacity: 1; }
.bq-ds-backdrop-leave { transition: opacity 0.22s var(--bq-ease, cubic-bezier(0.32, 0.72, 0, 1)); }
.bq-ds-backdrop-leave-start { opacity: 1; }
.bq-ds-backdrop-leave-end { opacity: 0; }

.bq-ds-sheet-enter {
    transition:
        transform 0.42s cubic-bezier(0.32, 0.72, 0, 1),
        opacity 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}
.bq-ds-sheet-enter-start {
    transform: translateY(100%);
    opacity: 0.85;
}
.bq-ds-sheet-enter-end {
    transform: translateY(0);
    opacity: 1;
}
.bq-ds-sheet-leave {
    transition:
        transform 0.34s cubic-bezier(0.4, 0, 0.6, 1),
        opacity 0.28s cubic-bezier(0.4, 0, 0.6, 1);
}
.bq-ds-sheet-leave-start {
    transform: translateY(0);
    opacity: 1;
}
.bq-ds-sheet-leave-end {
    transform: translateY(100%);
    opacity: 0;
}

/* Desactivar la transición de altura mientras se está arrastrando */
.buyaca-app .bq-ds-sheet.bq-ds-dragging {
    transition: none !important;
}

/* x-cloak para evitar flash antes de Alpine montar */
[x-cloak] { display: none !important; }

/* ── Ajustes móviles (< 480px) ── */
@media (max-width: 480px) {
    .buyaca-app .bq-ds-sheet {
        border-radius: 22px 22px 0 0;
    }
    .buyaca-app .bq-ds-header {
        padding: 4px 14px 12px;
    }
    .buyaca-app .bq-ds-icon-badge {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }
    .buyaca-app .bq-ds-title { font-size: 15px; }
    .buyaca-app .bq-ds-subtitle { font-size: 11px; }
    .buyaca-app .bq-ds-sheet .bq-ds-body { padding: 14px 14px 18px; }
    .buyaca-app .bq-ds-footer { padding: 10px 14px 12px; }
    .buyaca-app .bq-ds-save-btn { height: 46px; font-size: 14px; }
    .buyaca-app .bq-ds-snap-btn,
    .buyaca-app .bq-ds-close {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }
}

/* ── Cuando el sheet está activo, ocultamos las tabs admin que quedarían detrás ── */
/* (el contenido de los otros tabs admin se oculta con su propio x-show, pero nos aseguramos de no
   pintar el tab "design" del content-area original — ya lo hicimos sacándolo de .bq-cv2-tab-content) */

/* ── Evitar scroll del body cuando el sheet está abierto (opcional, suave) ── */
body.bq-ds-open {
    overflow: hidden;
}


/* ═══════════════════════════════════════════════════════════════════════════ */
/*   BLOQUE v11 · Fixes finales                                                */
/* ═══════════════════════════════════════════════════════════════════════════ */

/* ── 34 · LIKE ICON: padding + proporción ── */
.buyaca-app .bq-like-svg,
.bq-like-svg {
    padding: 0;
    margin: 0;
    display: block;
}
.buyaca-app .bq-header-interest-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
}
.buyaca-app .bq-header-interest-btn .bq-like-svg,
.buyaca-app .bq-header-interest-btn .bq-like-icon {
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
}
.buyaca-app .bq-qv-interest-float,
.bq-qv-interest-float {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px !important;
    width: 40px !important;
    height: 40px !important;
}
.buyaca-app .bq-qv-interest-float .bq-like-svg,
.bq-qv-interest-float .bq-like-svg {
    width: 20px !important;
    height: 20px !important;
}

/* ── 35 · CATÁLOGO: toggle selector + vistas grid2/grid3/list ── */
.buyaca-app .bq-catalog-view-toggle {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 4px;
    margin: 0 0 12px auto;
    background: var(--bq-bg-surface);
    border: 1px solid var(--bq-border-light);
    border-radius: var(--bq-radius-pill);
}
.buyaca-app .bq-view-btn {
    width: 34px;
    height: 32px;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: var(--bq-text-secondary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--bq-dur) var(--bq-ease);
}
.buyaca-app .bq-view-btn:hover { color: var(--bq-text-primary); }
.buyaca-app .bq-view-btn.active {
    background: var(--bq-primary);
    color: #fff;
    box-shadow: 0 1px 3px rgba(15,23,42,0.1);
}

/* Grid layouts — SIN GAPS inútiles, espaciado coherente */
.buyaca-app .bq-cv2-product-grid.bq-view-grid2 {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 2px !important;
    padding: 0px !important;
}
.buyaca-app .bq-cv2-product-grid.bq-view-grid3 {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 2px !important;
    padding: 0px !important;
    
}
/* [v8.8] Vista de cuadrícula auto-adaptativa para tablet/portátil/escritorio:
   - Tablet  (768–1023px): 3 columnas
   - Portátil (1024–1439px): 4 columnas
   - Escritorio (≥1440px): 5 columnas */
.buyaca-app .bq-cv2-product-grid.bq-view-gridauto {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
    padding: 12px !important;
}
@media (min-width: 1024px) {
    .buyaca-app .bq-cv2-product-grid.bq-view-gridauto {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }
}
@media (min-width: 1440px) {
    .buyaca-app .bq-cv2-product-grid.bq-view-gridauto {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }
}
@media (min-width: 640px) {
    .buyaca-app .bq-cv2-product-grid.bq-view-grid2 { gap: 14px !important; padding: 12px !important; }
    .buyaca-app .bq-cv2-product-grid.bq-view-grid3 { gap: 12px !important; padding: 12px !important; }
}

/* [v8.8] Visibilidad de botones del toggle según dispositivo:
   - Móvil (<768px): grid2, grid3, list  →  ocultar gridauto
   - Tablet+ (≥768px): gridauto, list    →  ocultar grid2/grid3 */
@media (max-width: 767px) {
    .buyaca-app .bq-view-btn--desktop { display: none !important; }
}
@media (min-width: 768px) {
    .buyaca-app .bq-view-btn--mobile { display: none !important; }
}

/* [v8.8.2] Filtro de catálogo: clase con !important para vencer la regla `.bq-view-list .bq-cv2-product-card { display:grid !important }`
 * que antes hacía que en vista lista el filtro por categoría no surtiera efecto. */
.buyaca-app .bq-cv2-product-card.bq-filter-hidden,
.buyaca-app .bq-cv2-product-grid .bq-cv2-product-card.bq-filter-hidden,
.buyaca-app .bq-cv2-product-grid.bq-view-list .bq-cv2-product-card.bq-filter-hidden {
    display: none !important;
}

/* Vista de lista: un producto por fila, layout horizontal */
.buyaca-app .bq-cv2-product-grid.bq-view-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    padding: 8px !important;
    grid-template-columns: none !important;
}
.buyaca-app .bq-cv2-product-grid.bq-view-list .bq-cv2-product-card {
    display: grid !important;
    grid-template-columns: 110px 1fr !important;
    align-items: stretch !important;
}
.buyaca-app .bq-cv2-product-grid.bq-view-list .bq-cv2-product-img {
    aspect-ratio: 1 !important;
    border-radius: var(--bq-vc-radius, 16px) 0 0 var(--bq-vc-radius, 16px) !important;
}
.buyaca-app .bq-cv2-product-grid.bq-view-list .bq-cv2-product-body {
    padding: 12px 14px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-width: 0;
}
.buyaca-app .bq-cv2-product-grid.bq-view-list .bq-cv2-product-price {
    font-size: 16px !important;
    margin-bottom: 6px;
}
.buyaca-app .bq-cv2-product-grid.bq-view-list .bq-cv2-product-name,
.buyaca-app .bq-cv2-product-grid.bq-view-list .bq-cv2-product-name--minimal {
    min-height: 0 !important;
    -webkit-line-clamp: 2 !important;
    font-size: 13.5px;
}

@media (min-width: 640px) {
    .buyaca-app .bq-cv2-product-grid.bq-view-list .bq-cv2-product-card {
        grid-template-columns: 160px 1fr !important;
    }
}

/* ── 36 · INFO → CATÁLOGO: reducir padding sobrante ── */
.buyaca-app .bq-cv2-info {
    padding-bottom: 12px !important;
}
.buyaca-app .bq-cv2-tabs {
    margin-top: 4px !important;
}


/* ── 37 · QUICK VIEW MOBILE FULLSCREEN + flechas centradas + close visible ── */
@media (max-width: 640px) {
    .buyaca-app .bq-qv-overlay,
    .bq-qv-overlay {
        padding: 0 !important;
        align-items: stretch !important;
    }
    /* [v8.5] Modal del producto en home — FULLSCREEN total (100vh, sin radios). */
    .buyaca-app .bq-qv-modal,
    .bq-qv-modal {
        width: 100% !important;
        max-width: 100% !important;
        height: 100vh !important;
        max-height: 100vh !important;
        min-height: 100dvh !important;
        border-radius: 0 !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
    }
    .bq-qv-modal .bq-qv-c,
    .bq-qv-modal > .bq-qv-c {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .bq-qv-modal .bq-qv-gal {
        aspect-ratio: 1 !important;
        max-height: 55vh !important;
        flex-shrink: 0 !important;
    }
    .bq-qv-modal .bq-qv-info {
        padding: 16px 18px 12px !important;
    }
    .bq-qv-modal .bq-qv-cta-sticky {
        position: sticky !important;
        bottom: 0 !important;
        padding: 14px 18px calc(14px + env(safe-area-inset-bottom, 0px)) !important;
        background: var(--bq-bg-card) !important;
        border-top: 1px solid var(--bq-border-light) !important;
        z-index: 40 !important;
    }
    .bq-qv-modal .bq-modal-close-btn {
        top: max(14px, env(safe-area-inset-top, 14px)) !important;
        right: 14px !important;
    }
}

/* [v8.5] Modal del producto en home — vista escritorio: scroll vertical funcional */
@media (min-width: 641px) {
    .buyaca-app .bq-qv-modal,
    .bq-qv-modal {
        max-height: 90vh !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
    .bq-qv-modal .bq-qv-c {
        overflow: visible !important;
    }
}

/* Close button del quick view — siempre visible con mejor contraste */
.bq-qv-modal .bq-modal-close-btn {
    position: absolute !important;
    top: 55px !important;
    right: 14px !important;
    z-index: 60 !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: rgb(0 0 0 / 67%) !important;
    color: #fff !important;
    border: 0px solid rgba(255,255,255,0.15) !important;
    font-size: 22px !important;
    line-height: 1 !important;
    box-shadow: 0 4px 12px rgba(15,23,42,0.25), 0 0 0 1px rgba(255,255,255,0.05) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all var(--bq-dur) var(--bq-ease) !important;
}
.bq-qv-modal .bq-modal-close-btn:hover {
    background: var(--bq-primary) !important;
    transform: scale(1.08) rotate(90deg) !important;
    border-color: rgba(255,255,255,0.3) !important;
}

/* Flechas de navegación (si las hay en zoom overlay) — centradas verticalmente */
.buyaca-app .bq-imgzoom-nav,
.bq-imgzoom-nav {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    background: rgba(15,23,42,0.6) !important;
    color: #fff !important;
    border: 1.5px solid rgba(255,255,255,0.12) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 28px !important;
    line-height: 1 !important;
    padding: 0 !important;
    box-shadow: 0 6px 16px rgba(0,0,0,0.3) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    z-index: 20 !important;
    cursor: pointer;
    transition: all var(--bq-dur) var(--bq-ease) !important;
}
.buyaca-app .bq-imgzoom-prev,
.bq-imgzoom-prev { left: 16px !important; }
.buyaca-app .bq-imgzoom-next,
.bq-imgzoom-next { right: 16px !important; }
.buyaca-app .bq-imgzoom-nav:hover,
.bq-imgzoom-nav:hover {
    background: var(--bq-primary) !important;
    transform: translateY(-50%) scale(1.06) !important;
}

/* Botones flotantes del quick view (share, like) — NO interferir con close */
.bq-qv-float-actions {
    top: 14px !important;
    left: 14px !important;
    z-index: 20 !important;
}

/* ── 38 · MODAL MIS INTERESES — contraste correcto en dark mode ── */
.buyaca-app .bq-cart-modal-content,
#bq-cart-modal .bq-cart-modal-content {
    background: var(--bq-bg-card) !important;
    color: var(--bq-text-primary) !important;
    border: 1px solid var(--bq-border-light) !important;
}
.buyaca-app.bq-light-mode ~ * .bq-cart-modal-content,
html:has(.buyaca-app.bq-light-mode) .bq-cart-modal-content {
    background: #FFFFFF !important;
    color: #0F172A !important;
}
.buyaca-app:not(.bq-light-mode) ~ * .bq-cart-modal-content,
html:has(.buyaca-app:not(.bq-light-mode)) .bq-cart-modal-content {
    background: #141418 !important;
    color: #F1F5F9 !important;
    border-color: rgba(255,255,255,0.08) !important;
}

.bq-cart-modal-title {
    font-family: var(--bq-font-display) !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    letter-spacing: -0.025em !important;
    color: inherit !important;
}

.bq-cart-modal-header {
    border-bottom: 1px solid var(--bq-border-light) !important;
    padding: 16px 20px !important;
}
html:has(.buyaca-app:not(.bq-light-mode)) .bq-cart-modal-header {
    border-bottom-color: rgba(255,255,255,0.06) !important;
}
html:has(.buyaca-app:not(.bq-light-mode)) .bq-cart-grouped-items {
    background: transparent !important;
    color: #F1F5F9 !important;
}
html:has(.buyaca-app:not(.bq-light-mode)) .bq-cart-grouped-items * {
    color: inherit;
}
html:has(.buyaca-app:not(.bq-light-mode)) .bq-cart-grouped-items .bq-cart-biz-name,
html:has(.buyaca-app:not(.bq-light-mode)) .bq-cart-grouped-items strong,
html:has(.buyaca-app:not(.bq-light-mode)) .bq-cart-grouped-items h3,
html:has(.buyaca-app:not(.bq-light-mode)) .bq-cart-grouped-items h4 {
    color: #F8FAFC !important;
}
html:has(.buyaca-app:not(.bq-light-mode)) .bq-cart-grouped-items [style*="color:#000"],
html:has(.buyaca-app:not(.bq-light-mode)) .bq-cart-grouped-items [style*="color: #000"],
html:has(.buyaca-app:not(.bq-light-mode)) .bq-cart-grouped-items [style*="color:black"] {
    color: #F1F5F9 !important;
}
html:has(.buyaca-app:not(.bq-light-mode)) .bq-cart-grouped-items [style*="background:#fff"],
html:has(.buyaca-app:not(.bq-light-mode)) .bq-cart-grouped-items [style*="background: #fff"],
html:has(.buyaca-app:not(.bq-light-mode)) .bq-cart-grouped-items [style*="background:white"] {
    background: #1A1A20 !important;
}

/* ─── v11 · Mis intereses · Contraste en modo oscuro ─────────────────── */
html:has(.buyaca-app:not(.bq-light-mode)) .bq-cart-modal-content {
    background: #15151A !important;
    color: #F1F5F9 !important;
}
html:has(.buyaca-app:not(.bq-light-mode)) .bq-cart-business-group {
    background: #1C1C22 !important;
    border-color: rgba(255,255,255,0.08) !important;
}
html:has(.buyaca-app:not(.bq-light-mode)) .bq-cart-business-header {
    background: #22222A !important;
}
html:has(.buyaca-app:not(.bq-light-mode)) .bq-cart-business-header:hover {
    background: #2A2A33 !important;
}
html:has(.buyaca-app:not(.bq-light-mode)) .bq-cart-business-header-left {
    color: #F8FAFC !important;
}
html:has(.buyaca-app:not(.bq-light-mode)) .bq-cart-business-header-left span,
html:has(.buyaca-app:not(.bq-light-mode)) .bq-cart-business-header-left svg {
    color: #F8FAFC !important;
    stroke: #F8FAFC !important;
}
html:has(.buyaca-app:not(.bq-light-mode)) .bq-cart-business-arrow {
    color: #CBD5E1 !important;
}
html:has(.buyaca-app:not(.bq-light-mode)) .bq-cart-business-items {
    background: #17171C !important;
}
html:has(.buyaca-app:not(.bq-light-mode)) .bq-cart-item-row {
    border-bottom-color: rgba(255,255,255,0.06) !important;
}
html:has(.buyaca-app:not(.bq-light-mode)) .bq-cart-item-row-name {
    color: #F1F5F9 !important;
}
html:has(.buyaca-app:not(.bq-light-mode)) .bq-cart-item-remove {
    color: #94A3B8 !important;
}
html:has(.buyaca-app:not(.bq-light-mode)) .bq-cart-empty-msg,
html:has(.buyaca-app:not(.bq-light-mode)) .bq-cart-empty-msg-text {
    color: #CBD5E1 !important;
}
/* Encabezado del modal (título "Mis intereses") */
html:has(.buyaca-app:not(.bq-light-mode)) .bq-cart-modal-header {
    background: transparent !important;
}
html:has(.buyaca-app:not(.bq-light-mode)) .bq-cart-modal-header span,
html:has(.buyaca-app:not(.bq-light-mode)) .bq-cart-modal-title {
    color: #F8FAFC !important;
}

.bq-cart-modal-footer {
    border-top: 1px solid var(--bq-border-light) !important;
    background: var(--bq-bg-surface) !important;
    padding: 12px 20px 16px !important;
}
html:has(.buyaca-app:not(.bq-light-mode)) .bq-cart-modal-footer {
    border-top-color: rgba(255,255,255,0.06) !important;
    background: #0A0A0C !important;
}

/* ── 39 · CARDS DE NEGOCIO — bloques claros + ellipsis consistente ── */
.buyaca-app .bq-profile-card-name {
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;
}
.buyaca-app .bq-profile-card-pill span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}
.buyaca-app .bq-profile-card-body {
    padding: 10px 14px 14px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}
.buyaca-app .bq-profile-card-meta {
    margin: 0 !important;
}
.buyaca-app .bq-profile-card-footer {
    margin-top: auto !important;
    padding-top: 8px !important;
}

/* Featured card — evitar overflow de nombre largo */
.buyaca-app .bq-featured-v2-image-wrap + * {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── 40 · SELECTOR DE RATING — sin shadow naranja, solo color primary ── */
.buyaca-app .bq-cv2-rating {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none !important;
}
.buyaca-app .bq-cv2-rating svg {
    fill: var(--bq-primary);
    filter: none !important;
    box-shadow: none !important;
}
.buyaca-app .bq-cv2-rating-score {
    color: var(--bq-text-primary);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: -0.01em;
}
.buyaca-app .bq-cv2-rating-count {
    color: var(--bq-text-secondary);
    font-weight: 500;
    font-size: 13px;
}

/* Rating ratios en reviews/card */
.buyaca-app .bq-star-input {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
.buyaca-app .bq-star-input svg {
    filter: none !important;
    box-shadow: none !important;
    transition: fill var(--bq-dur) var(--bq-ease) !important;
}
.buyaca-app .bq-star-input:hover svg,
.buyaca-app .bq-star-input.selected svg,
.buyaca-app .bq-star-input[aria-checked="true"] svg {
    fill: var(--bq-primary) !important;
}

/* ── 41 · Controles personalización banner (radio bottom) ── */
/* Controlado por data-vc-banner-radius en el profile root */
.buyaca-app[data-vc-banner-radius="0"] .bq-cv2-banner { border-radius: 0 !important; }
.buyaca-app[data-vc-banner-radius="sm"] .bq-cv2-banner { border-radius: 0 0 12px 12px !important; }
.buyaca-app[data-vc-banner-radius="md"] .bq-cv2-banner { border-radius: 0 0 24px 24px !important; }
.buyaca-app[data-vc-banner-radius="lg"] .bq-cv2-banner { border-radius: 0 0 36px 36px !important; }
.buyaca-app[data-vc-banner-radius="concave"] .bq-cv2-banner {
    mask: radial-gradient(60px at 50% 100%, transparent 98%, #000 100%);
    -webkit-mask: radial-gradient(60px at 50% 100%, transparent 98%, #000 100%);
}

/* ── 42 · Jerarquía tipográfica global refinada ── */
.buyaca-app,
.buyaca-app p,
.buyaca-app span,
.buyaca-app a,
.buyaca-app li {
    font-family: var(--bq-font-family) !important;
    letter-spacing: -0.005em;
}
.buyaca-app h1, .buyaca-app h2, .buyaca-app h3, .buyaca-app h4, .buyaca-app h5 {
    font-family: var(--bq-font-display) !important;
    letter-spacing: -0.025em !important;
    line-height: 1.2 !important;
}
.buyaca-app h1 { font-weight: 800; }
.buyaca-app h2 { font-weight: 700; }
.buyaca-app h3, .buyaca-app h4 { font-weight: 700; }

/* Responsive tune v11 */
@media (max-width: 480px) {
    .buyaca-app .bq-catalog-view-toggle {
        margin: 0 0 10px auto;
        padding: 3px;
    }
    .buyaca-app .bq-view-btn {
        width: 30px;
        height: 28px;
    }
}

/* Silenciar estilos viejos del cart modal que quedaran con background:#fff hardcoded */
.bq-cart-modal-content,
.bq-cart-grouped-items {
    background: inherit !important;
}
.bq-cart-modal-content { background: var(--bq-bg-card) !important; }

/* ═══════════════════════════════════════════════════════════════════════════ */
/*   FIX v3.0.38 · Redondeo del bloque de info del negocio (debajo del banner) */
/*   Y refuerzo del resaltado activo del menú inferior (ícono + texto)         */
/* ═══════════════════════════════════════════════════════════════════════════ */

/* ---- 1) Esquinas redondeadas del bloque info bajo el banner del catálogo ---
   Selector de alta especificidad para ganarle a todos los overrides previos
   (.buyaca-app .bq-cv2-info, .buyaca-business-profile .bq-cv2-info, etc).
   Se usa border-radius solo en las esquinas superiores + overflow:hidden
   para que el "card" suba del banner con apariencia redondeada limpia.      */
.buyaca-app.buyaca-business-profile .bq-cv2-info,
.buyaca-app .buyaca-business-profile .bq-cv2-info,
.buyaca-business-profile .bq-cv2-info {
    border-top-left-radius: var(--bq-info-radius, 24px) !important;
    border-top-right-radius: var(--bq-info-radius, 24px) !important;
    /* Mantiene suaves también las inferiores cuando no hay tabs pegadas */
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    overflow: visible; /* el logo flota fuera; no lo recortamos */
    position: relative;
    z-index: 5;
    /* sombra sutil para hacer visible el "levantamiento" del card */
    box-shadow: 0 -6px 18px -8px rgba(0,0,0,0.18);
}
/* Cuando el autor habilita el modo "rounded" desde el panel de diseño,
   respetamos su radio custom vía --bq-info-radius. */
.buyaca-app.bq-vc-info-rounded .bq-cv2-info,
.buyaca-business-profile.bq-vc-info-rounded .bq-cv2-info {
    border-top-left-radius: var(--bq-info-radius, 24px) !important;
    border-top-right-radius: var(--bq-info-radius, 24px) !important;
}
/* Light mode: reforzar contraste contra el banner */
.buyaca-app.bq-light-mode.buyaca-business-profile .bq-cv2-info,
.buyaca-app.bq-light-mode .buyaca-business-profile .bq-cv2-info {
    background: #ffffff !important;
    box-shadow: 0 -8px 22px -10px rgba(0,0,0,0.12) !important;
}

/* ---- 2) Menú inferior: estado activo resaltado en el color primario ------
   Tanto el ícono (SVG via currentColor) como la etiqueta comparten el color.
   Los ítems inactivos conservan el color muted por defecto.                */
.buyaca-app .buyaca-bottom-nav .buyaca-bottom-nav-item,
.buyaca-bottom-nav .buyaca-bottom-nav-item {
    color: var(--bq-text-muted, #94A3B8) !important;
}
.buyaca-app .buyaca-bottom-nav .buyaca-bottom-nav-item.active,
.buyaca-bottom-nav .buyaca-bottom-nav-item.active,
.buyaca-app .buyaca-bottom-nav .buyaca-bottom-nav-item[aria-current="page"],
.buyaca-bottom-nav .buyaca-bottom-nav-item[aria-current="page"] {
    color: var(--bq-primary) !important;
}
/* Ícono heredando color primario (stroke y fill via currentColor) */
.buyaca-bottom-nav .buyaca-bottom-nav-item.active .buyaca-bottom-nav-icon,
.buyaca-bottom-nav .buyaca-bottom-nav-item.active .buyaca-bottom-nav-icon svg,
.buyaca-bottom-nav .buyaca-bottom-nav-item[aria-current="page"] .buyaca-bottom-nav-icon,
.buyaca-bottom-nav .buyaca-bottom-nav-item[aria-current="page"] .buyaca-bottom-nav-icon svg {
    color: var(--bq-primary) !important;
    stroke: currentColor;
}
/* Etiqueta heredando color primario */
.buyaca-bottom-nav .buyaca-bottom-nav-item.active .buyaca-bottom-nav-label,
.buyaca-bottom-nav .buyaca-bottom-nav-item[aria-current="page"] .buyaca-bottom-nav-label {
    color: var(--bq-primary) !important;
    font-weight: 700;
}
/* Los ítems inactivos NUNCA deben tomar el primario (excepto en :hover) */
.buyaca-bottom-nav .buyaca-bottom-nav-item:not(.active):not([aria-current="page"]) .buyaca-bottom-nav-icon,
.buyaca-bottom-nav .buyaca-bottom-nav-item:not(.active):not([aria-current="page"]) .buyaca-bottom-nav-label {
    color: inherit;
}

/* ═════════════════════════════════════════════════════════════════════ */
/* v12 · FIX MODALES LIGHT MODE + REDISEÑO PROFESIONAL                   */
/* Los modales se inyectan en document.body, fuera de .buyaca-app.       */
/* Redefinimos las variables en html.bq-page-light y html.bq-page-dark   */
/* para garantizar contraste sin depender de :has()                      */
/* ═════════════════════════════════════════════════════════════════════ */

/* ── Variables por modo en el <html> — aseguran modales correctos ── */
html.bq-page-light {
    --bq-m-bg: #ffffff;
    --bq-m-bg-soft: #f8fafc;
    --bq-m-bg-alt: #f1f5f9;
    --bq-m-text: #0f172a;
    --bq-m-text-soft: #475569;
    --bq-m-text-dim: #94a3b8;
    --bq-m-border: #e5e7eb;
    --bq-m-border-soft: #f1f5f9;
    --bq-m-shadow: 0 24px 72px rgba(15,23,42,0.18), 0 8px 24px rgba(15,23,42,0.08);
    --bq-m-shadow-inner: 0 1px 2px rgba(15,23,42,0.04);
    --bq-m-overlay: rgba(15,23,42,0.55);
}
html.bq-page-dark, html:not(.bq-page-light) {
    --bq-m-bg: #15151a;
    --bq-m-bg-soft: #1c1c22;
    --bq-m-bg-alt: #22222a;
    --bq-m-text: #f8fafc;
    --bq-m-text-soft: #cbd5e1;
    --bq-m-text-dim: #64748b;
    --bq-m-border: rgba(255,255,255,0.08);
    --bq-m-border-soft: rgba(255,255,255,0.04);
    --bq-m-shadow: 0 24px 72px rgba(0,0,0,0.65), 0 8px 24px rgba(0,0,0,0.4);
    --bq-m-shadow-inner: 0 1px 2px rgba(0,0,0,0.3);
    --bq-m-overlay: rgba(0,0,0,0.7);
}

/* ── OVERLAY COMPARTIDO — profesional con blur ── */
#bq-cart-modal.bq-modal-overlay,
#bq-catalog-modal.bq-modal-overlay {
    background: var(--bq-m-overlay) !important;
    backdrop-filter: blur(8px) saturate(140%);
    -webkit-backdrop-filter: blur(8px) saturate(140%);
    padding: 20px;
    align-items: center;
    justify-content: center;
}

/* ══════════════════════════════════════════════════════════ */
/* MODAL INTERESES (Cart) — rediseño profesional                */
/* ══════════════════════════════════════════════════════════ */
#bq-cart-modal .bq-cart-modal-content {
    background: var(--bq-m-bg) !important;
    color: var(--bq-m-text) !important;
    border: none !important;
    border-radius: 22px !important;
    max-width: 480px !important;
    width: 100% !important;
    max-height: 85vh !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    box-shadow: var(--bq-m-shadow) !important;
    animation: bqModalInV12 0.35s cubic-bezier(0.22,1,0.36,1);
}
@keyframes bqModalInV12 {
    from { opacity: 0; transform: translateY(24px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Header */
#bq-cart-modal .bq-cart-modal-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 20px 22px 16px !important;
    background: var(--bq-m-bg) !important;
    border-bottom: 1px solid var(--bq-m-border-soft) !important;
    flex-shrink: 0;
}
#bq-cart-modal .bq-cart-modal-header .bq-cart-modal-title,
#bq-cart-modal .bq-cart-modal-header > span {
    font-family: var(--bq-font-display, 'Outfit', sans-serif) !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    color: var(--bq-m-text) !important;
    background: none !important;
}
#bq-cart-modal .bq-cart-modal-header .bq-modal-close-btn {
    position: static !important;
    margin: 0 !important;
    background: var(--bq-m-bg-alt) !important;
    color: var(--bq-m-text-soft) !important;
    width: 34px !important;
    height: 34px !important;
    font-size: 20px !important;
    border-radius: 50% !important;
    border: none !important;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
#bq-cart-modal .bq-cart-modal-header .bq-modal-close-btn:hover {
    background: var(--bq-primary) !important;
    color: #fff !important;
    transform: rotate(90deg) scale(1.05);
}

/* Contenedor de items */
#bq-cart-modal .bq-cart-grouped-items {
    flex: 1 !important;
    overflow-y: auto !important;
    padding: 14px 18px 6px !important;
    background: var(--bq-m-bg) !important;
    color: var(--bq-m-text) !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
#bq-cart-modal .bq-cart-grouped-items::-webkit-scrollbar { width: 5px; }
#bq-cart-modal .bq-cart-grouped-items::-webkit-scrollbar-thumb {
    background: var(--bq-m-border); border-radius: 10px;
}

/* Grupo por negocio — card elegante */
#bq-cart-modal .bq-cart-business-group {
    background: var(--bq-m-bg-soft) !important;
    border: 1px solid var(--bq-m-border) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    margin-bottom: 12px !important;
    box-shadow: var(--bq-m-shadow-inner);
    transition: box-shadow 0.2s, border-color 0.2s;
}
#bq-cart-modal .bq-cart-business-group:hover {
    border-color: var(--bq-primary-light, #ffcdb5) !important;
}
#bq-cart-modal .bq-cart-business-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 14px 16px !important;
    background: var(--bq-m-bg-alt) !important;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
}
#bq-cart-modal .bq-cart-business-header:hover {
    background: color-mix(in srgb, var(--bq-primary) 6%, var(--bq-m-bg-alt)) !important;
}
#bq-cart-modal .bq-cart-business-header-left {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    color: var(--bq-m-text) !important;
    font-family: var(--bq-font-display, 'Outfit', sans-serif);
    letter-spacing: -0.01em;
}
#bq-cart-modal .bq-cart-business-header-left svg {
    color: var(--bq-primary) !important;
    stroke: var(--bq-primary) !important;
    flex-shrink: 0;
}
#bq-cart-modal .bq-cart-business-count {
    background: var(--bq-primary) !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 3px 10px !important;
    border-radius: 20px !important;
    min-width: 22px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(255,107,53,0.35);
}
#bq-cart-modal .bq-cart-business-arrow {
    color: var(--bq-m-text-dim) !important;
    font-size: 12px !important;
    transition: transform 0.25s cubic-bezier(0.22,1,0.36,1);
}
#bq-cart-modal .bq-cart-business-group.open .bq-cart-business-arrow {
    transform: rotate(180deg);
}
#bq-cart-modal .bq-cart-business-items {
    display: none;
    padding: 10px 16px 14px !important;
    background: var(--bq-m-bg) !important;
}
#bq-cart-modal .bq-cart-business-group.open .bq-cart-business-items {
    display: block;
    animation: bqCartExpand 0.25s ease-out;
}
@keyframes bqCartExpand {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Item row */
#bq-cart-modal .bq-cart-item-row {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid var(--bq-m-border-soft) !important;
}
#bq-cart-modal .bq-cart-item-row:last-of-type { border-bottom: none !important; }
#bq-cart-modal .bq-cart-item-row img {
    width: 48px !important;
    height: 48px !important;
    border-radius: 10px !important;
    object-fit: cover !important;
    flex-shrink: 0;
    border: 1px solid var(--bq-m-border-soft);
}
#bq-cart-modal .bq-cart-item-row-info { flex: 1; min-width: 0; }
#bq-cart-modal .bq-cart-item-row-name {
    font-weight: 600 !important;
    font-size: 14px !important;
    color: var(--bq-m-text) !important;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#bq-cart-modal .bq-cart-item-row-price {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--bq-primary) !important;
    margin-top: 2px;
}
#bq-cart-modal .bq-cart-item-remove {
    background: var(--bq-m-bg-alt) !important;
    color: var(--bq-m-text-dim) !important;
    border: none !important;
    width: 28px; height: 28px;
    border-radius: 50% !important;
    font-size: 14px !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}
#bq-cart-modal .bq-cart-item-remove:hover {
    background: #fee2e2 !important;
    color: #dc2626 !important;
    transform: scale(1.08);
}
html.bq-page-dark #bq-cart-modal .bq-cart-item-remove:hover {
    background: rgba(239,68,68,0.18) !important;
    color: #fca5a5 !important;
}

/* Botón WhatsApp */
#bq-cart-modal .bq-cart-whatsapp-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 13px !important;
    margin-top: 14px !important;
    background: linear-gradient(135deg, #25D366, #1fb855) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer;
    font-family: var(--bq-font-family) !important;
    transition: all 0.2s;
    box-shadow: 0 6px 18px rgba(37,211,102,0.32);
    letter-spacing: 0.01em;
}
#bq-cart-modal .bq-cart-whatsapp-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(37,211,102,0.42);
}
#bq-cart-modal .bq-cart-whatsapp-btn:active {
    transform: translateY(0);
}

/* Footer */
#bq-cart-modal .bq-cart-modal-footer {
    padding: 14px 20px 18px !important;
    background: var(--bq-m-bg-soft) !important;
    border-top: 1px solid var(--bq-m-border-soft) !important;
    flex-shrink: 0;
}
#bq-cart-modal .bq-cart-modal-footer .buyaca-btn-outline {
    background: var(--bq-m-bg) !important;
    color: var(--bq-m-text-soft) !important;
    border: 1px solid var(--bq-m-border) !important;
    font-weight: 600 !important;
    transition: all 0.2s;
}
#bq-cart-modal .bq-cart-modal-footer .buyaca-btn-outline:hover {
    background: #fee2e2 !important;
    color: #dc2626 !important;
    border-color: #fecaca !important;
}
html.bq-page-dark #bq-cart-modal .bq-cart-modal-footer .buyaca-btn-outline:hover {
    background: rgba(239,68,68,0.15) !important;
    color: #fca5a5 !important;
    border-color: rgba(239,68,68,0.3) !important;
}

/* Empty state */
#bq-cart-modal .bq-cart-empty-msg {
    padding: 60px 20px !important;
    text-align: center;
    color: var(--bq-m-text-soft) !important;
}
#bq-cart-modal .bq-cart-empty-msg-icon {
    font-size: 58px !important;
    opacity: 0.55;
    margin-bottom: 14px;
    animation: bqEmptyFloatV12 3s ease-in-out infinite;
}
@keyframes bqEmptyFloatV12 {
    0%,100% { transform: translateY(0); }
    50%     { transform: translateY(-6px); }
}
#bq-cart-modal .bq-cart-empty-msg-text {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--bq-m-text-soft) !important;
}

/* ══════════════════════════════════════════════════════════ */
/* MODAL CATÁLOGO — rediseño idéntico al Quick View             */
/* ══════════════════════════════════════════════════════════ */
#bq-catalog-modal .bq-catalog-modal-content {
    background: var(--bq-m-bg) !important;
    color: var(--bq-m-text) !important;
    border: none !important;
    border-radius: 22px !important;
    width: 100% !important;
    max-width: 560px !important;
    max-height: 90vh !important;
    height: auto !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    position: relative;
    box-shadow: var(--bq-m-shadow) !important;
    animation: bqModalInV12 0.35s cubic-bezier(0.22,1,0.36,1);
    scrollbar-width: none;
}
#bq-catalog-modal .bq-catalog-modal-content::-webkit-scrollbar { display: none; }

/* Botón cerrar flotante */
#bq-catalog-modal .bq-modal-close-btn {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    left: auto !important;
    float: none !important;
    margin: 0 !important;
    width: 38px !important;
    height: 38px !important;
    background: rgba(0,0,0,0.5) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff !important;
    border: none !important;
    border-radius: 50% !important;
    font-size: 22px !important;
    cursor: pointer;
    z-index: 20 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.2s;
}
#bq-catalog-modal .bq-modal-close-btn:hover {
    background: var(--bq-primary) !important;
    transform: scale(1.08) rotate(90deg);
}

/* Contenedor slider — altura auto para que el body fluya */
#bq-catalog-modal .bq-slider-container {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
}

/* Track — scroll-snap horizontal estilo Instagram */
#bq-catalog-modal .bq-slider-track {
    display: flex !important;
    width: 100% !important;
    height: auto !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    transition: none !important;
    transform: none !important;
    scroll-behavior: smooth;
}
#bq-catalog-modal .bq-slider-track::-webkit-scrollbar { display: none; }

/* Cada slide ocupa 100% del ancho y hace snap */
#bq-catalog-modal .bq-slider-slide {
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    box-sizing: border-box;
}

/* Imagen cuadrada, similar a Instagram/QuickView */
#bq-catalog-modal .bq-slider-slide-image {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    background: var(--bq-m-bg-alt) !important;
    position: relative !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: zoom-in;
    border-radius: 22px 22px 0 0;
}
#bq-catalog-modal .bq-slider-slide-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

/* Body de cada slide */
#bq-catalog-modal .bq-slider-slide-body {
    padding: 18px 22px 22px !important;
    background: var(--bq-m-bg) !important;
    color: var(--bq-m-text) !important;
}
#bq-catalog-modal .bq-slider-slide-name {
    font-family: var(--bq-font-display, 'Outfit', sans-serif) !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    color: var(--bq-m-text) !important;
    line-height: 1.25 !important;
    letter-spacing: -0.025em !important;
    margin-bottom: 6px !important;
}
#bq-catalog-modal .bq-slider-slide-desc {
    font-size: 14px !important;
    color: var(--bq-m-text-soft) !important;
    line-height: 1.55 !important;
    margin-bottom: 12px !important;
    max-height: 90px;
    overflow-y: auto;
    scrollbar-width: thin;
}
#bq-catalog-modal .bq-slider-slide-desc::-webkit-scrollbar { width: 4px; }
#bq-catalog-modal .bq-slider-slide-desc::-webkit-scrollbar-thumb {
    background: var(--bq-m-border); border-radius: 10px;
}
#bq-catalog-modal .bq-slider-slide-cats {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 0 !important;
    margin-bottom: 12px !important;
    font-size: 13px !important;
    color: var(--bq-m-text-soft) !important;
}
#bq-catalog-modal .bq-slider-slide-cats .bq-cat-dot {
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--bq-m-text-dim);
    opacity: 0.6;
    display: inline-block;
    margin: 0 8px;
    flex-shrink: 0;
}
#bq-catalog-modal .bq-slider-slide-price {
    font-family: var(--bq-font-display, 'Outfit', sans-serif) !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    color: var(--bq-primary) !important;
    margin-bottom: 14px !important;
    letter-spacing: -0.02em;
}

/* Flechas del slider de imágenes (solo multi-image) */
#bq-catalog-modal .bq-slider-arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 40px !important;
    height: 40px !important;
    background: rgba(255,255,255,0.95) !important;
    color: #0f172a !important;
    border: none !important;
    border-radius: 50% !important;
    font-size: 22px !important;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0,0,0,0.22);
    z-index: 5;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
#bq-catalog-modal .bq-slider-arrow:hover {
    background: var(--bq-primary) !important;
    color: #fff !important;
    transform: translateY(-50%) scale(1.08);
}
#bq-catalog-modal .bq-slider-prev { left: 12px !important; }
#bq-catalog-modal .bq-slider-next { right: 12px !important; }

/* [v8.5] Dots indicador — pegados a la imagen, dentro del slider-container.
   Antes los dots eran hermanos del slider-container y position:absolute se
   calculaba respecto al modal-content (con scroll), por lo que terminaban
   visualmente DEBAJO de los botones, mal alineados con la imagen. */
#bq-catalog-modal .bq-slider-container {
    position: relative !important;
}
#bq-catalog-modal .bq-slider-dots {
    position: absolute !important;
    bottom: 12px !important;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 100px;
    z-index: 6;
    height: auto !important;
    border-top: none !important;
    pointer-events: auto;
    margin: 0 !important;
}
#bq-catalog-modal .bq-slider-dot,
#bq-catalog-modal .bq-slider-dots > span,
#bq-catalog-modal .bq-slider-dots button {
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.45) !important;
    cursor: pointer;
    border: none !important;
    padding: 0 !important;
    transition: all 0.2s;
}
#bq-catalog-modal .bq-slider-dot.active,
#bq-catalog-modal .bq-slider-dots > .active,
#bq-catalog-modal .bq-slider-dots button.active {
    width: 22px !important;
    border-radius: 100px !important;
    background: #fff !important;
}

/* Botones del slide (WhatsApp, Me interesa) */
#bq-catalog-modal .buyaca-btn-primary {
    background: var(--bq-primary) !important;
    color: #fff !important;
    border: none !important;
    padding: 14px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    box-shadow: 0 8px 22px rgba(255,107,53,0.32);
    transition: all 0.2s;
}
#bq-catalog-modal .buyaca-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(255,107,53,0.4);
}
#bq-catalog-modal .buyaca-btn-outline {
    background: var(--bq-m-bg) !important;
    color: var(--bq-m-text) !important;
    border: 1.5px solid var(--bq-m-border) !important;
    padding: 12px !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: all 0.2s;
}
#bq-catalog-modal .buyaca-btn-outline:hover {
    border-color: var(--bq-primary) !important;
    color: var(--bq-primary) !important;
    background: var(--bq-primary-light) !important;
}

/* Navegación entre productos */
#bq-catalog-modal #bq-prev-product,
#bq-catalog-modal #bq-next-product {
    background: var(--bq-m-bg) !important;
    color: var(--bq-m-text-soft) !important;
    border: 1px solid var(--bq-m-border) !important;
    padding: 8px 16px !important;
    border-radius: 10px !important;
    transition: all 0.2s;
}
#bq-catalog-modal #bq-prev-product:hover,
#bq-catalog-modal #bq-next-product:hover {
    background: var(--bq-primary-light) !important;
    color: var(--bq-primary) !important;
    border-color: var(--bq-primary) !important;
}

/* Botón zoom sobre la imagen */
#bq-catalog-modal .bq-zoom-btn {
    position: absolute !important;
    bottom: 12px !important;
    right: 12px !important;
    width: 40px !important;
    height: 40px !important;
    background: rgba(0,0,0,0.5) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff !important;
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: all 0.2s;
}
#bq-catalog-modal .bq-zoom-btn:hover {
    background: var(--bq-primary) !important;
    transform: scale(1.08);
}

/* Separador "X de N" */
#bq-catalog-modal .bq-slider-slide-body > div[style*="border-top"] {
    border-top-color: var(--bq-m-border-soft) !important;
}
#bq-catalog-modal .bq-slider-slide-body span[style*="color:var(--bq-text-secondary)"] {
    color: var(--bq-m-text-soft) !important;
}

/* Mobile: convertir en bottom sheet */
@media (max-width: 640px) {
    #bq-cart-modal.bq-modal-overlay,
    #bq-catalog-modal.bq-modal-overlay {
        align-items: flex-end !important;
        padding: 0 !important;
    }
    #bq-cart-modal .bq-cart-modal-content,
    #bq-catalog-modal .bq-catalog-modal-content {
        max-width: 100% !important;
        width: 100% !important;
        max-height: 92vh !important;
        border-radius: 22px 22px 0 0 !important;
        animation: bqSheetUpV12 0.35s cubic-bezier(0.16,1,0.3,1) !important;
    }
    #bq-catalog-modal .bq-slider-slide-image {
        border-radius: 22px 22px 0 0;
    }
    #bq-cart-modal .bq-cart-modal-content::before {
        content: '';
        display: block;
        width: 40px;
        height: 4px;
        background: var(--bq-m-border);
        border-radius: 100px;
        margin: 8px auto 0;
        flex-shrink: 0;
    }
    @keyframes bqSheetUpV12 {
        from { transform: translateY(100%); opacity: 0.5; }
        to   { transform: translateY(0); opacity: 1; }
    }
}

/* Contador de imágenes (X / N) flotante sobre la imagen */
#bq-catalog-modal .bq-cat-img-counter {
    position: absolute !important;
    top: 14px !important;
    left: 14px !important;
    background: rgba(0,0,0,0.55) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff !important;
    padding: 5px 12px !important;
    border-radius: 100px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    z-index: 6;
    letter-spacing: 0.02em;
    pointer-events: none;
}

/* Navegación entre productos — pill moderno */
#bq-catalog-modal .bq-cat-prodnav {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    margin-top: 16px !important;
    padding-top: 14px !important;
    border-top: 1px solid var(--bq-m-border-soft) !important;
}
#bq-catalog-modal .bq-cat-prodnav button {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: var(--bq-m-bg-alt) !important;
    color: var(--bq-m-text-soft) !important;
    border: 1px solid var(--bq-m-border) !important;
    border-radius: 10px !important;
    padding: 8px 14px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
}
#bq-catalog-modal .bq-cat-prodnav button:hover {
    background: var(--bq-primary) !important;
    color: #fff !important;
    border-color: var(--bq-primary) !important;
    transform: translateY(-1px);
}
#bq-catalog-modal .bq-cat-prodnav-count {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: var(--bq-m-text-dim) !important;
    flex-shrink: 0;
}

/* ═════════════════════════════════════════════════════════════════════ */
/* v12.2 · BOTÓN "Video presentación" al lado de la etiqueta del negocio  */
/* Diseño simple con color primario, a juego con .bq-cv2-cat              */
/* ═════════════════════════════════════════════════════════════════════ */
.bq-cv2-video-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 700;
    color: #fff;
    background: var(--bq-primary);
    border: none;
    padding: 3px 10px 3px 8px;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
    letter-spacing: 0.01em;
   
    transition: transform 0.18s cubic-bezier(0.22,1,0.36,1),
                box-shadow 0.18s cubic-bezier(0.22,1,0.36,1),
                background 0.18s;
    -webkit-tap-highlight-color: transparent;
    white-space: nowrap;
    vertical-align: middle;
    line-height: 1.3;
}
.bq-cv2-video-btn:hover,
.bq-cv2-video-btn:focus-visible {
    background: var(--bq-primary-dark, #e55a2a);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(255,107,53,0.4);
    color: #fff;
    outline: none;
}
.bq-cv2-video-btn:active {
    transform: translateY(0) scale(0.97);
    box-shadow: 0 1px 3px rgba(255,107,53,0.3);
    transition-duration: 0.08s;
}
.bq-cv2-video-btn:focus-visible {
    outline: 2px solid rgba(255,107,53,0.45);
    outline-offset: 2px;
}
.bq-cv2-video-btn svg {
    flex-shrink: 0;
    fill: currentColor;
}

/* ── FIX Video Modal: unificar clases .active y .is-open ── */
.bq-video-modal.active,
.bq-video-modal.is-open { display: flex !important; }
.bq-video-modal {
    z-index: 10050 !important;
    background: rgba(0,0,0,0.94) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.bq-video-modal-content {
    box-shadow: 0 30px 80px rgba(0,0,0,0.7) !important;
    border-radius: 18px !important;
}
.bq-video-modal-content iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Eliminar fondos/colores heredados conflictivos */
#bq-cart-modal [style*="color:#000"],
#bq-cart-modal [style*="color: #000"] {
    color: var(--bq-m-text) !important;
}
html.bq-page-light #bq-cart-modal [style*="background:#fff"],
html.bq-page-light #bq-cart-modal [style*="background: #fff"] {
    background: var(--bq-m-bg) !important;
}
/* ══════════════════════════════════════════════════════════════════ */
/* v7.2.1: MÓDULO "ACCESOS Y PERMISOS" — diseño profesional           */
/* ══════════════════════════════════════════════════════════════════ */

/* Header */
#bq-access-module .bq-ap-header{
    display:flex;align-items:center;gap:14px;
    background:linear-gradient(135deg,#FF6B35 0%,#e55a2a 100%);
    border-radius:16px;padding:20px 22px;margin-bottom:16px;
    box-shadow:0 8px 32px -8px rgba(255,107,53,0.5);
    color:#fff;
}
#bq-access-module .bq-ap-header-icon{
    width:52px;height:52px;border-radius:14px;
    background:rgba(255,255,255,0.2);
    display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
#bq-access-module .bq-ap-title{margin:0;font-size:19px;font-weight:800;color:#fff;letter-spacing:-.3px}
#bq-access-module .bq-ap-subtitle{margin:3px 0 0;font-size:13px;color:rgba(255,255,255,0.9);line-height:1.45}

/* Sub-tabs */
#bq-access-module .bq-ap-tabs{
    display:flex;gap:4px;background:var(--bq-bg-card);
    border:1px solid var(--bq-border);border-radius:14px;
    padding:4px;margin-bottom:14px;overflow-x:auto;
}
#bq-access-module .bq-ap-tab{
    flex:1 1 auto;min-width:fit-content;display:flex;align-items:center;justify-content:center;gap:6px;
    padding:12px 14px;background:transparent;border:none;border-radius:10px;
    font-size:13px;font-weight:700;color:var(--bq-text-secondary);
    cursor:pointer;transition:all .25s;font-family:inherit;
    white-space:nowrap;position:relative;
}
#bq-access-module .bq-ap-tab:hover{color:var(--bq-text);background:var(--bq-bg-elevated)}
#bq-access-module .bq-ap-tab.active{
    color:#fff;background:linear-gradient(135deg,#FF6B35,#e55a2a);
    box-shadow:0 4px 14px -4px rgba(255,107,53,0.5);
}
#bq-access-module .bq-ap-badge{
    display:inline-flex;align-items:center;justify-content:center;
    min-width:18px;height:18px;padding:0 6px;border-radius:99px;
    background:#FF6B35;color:#fff;font-size:10px;font-weight:800;
}
#bq-access-module .bq-ap-tab.active .bq-ap-badge{background:#fff;color:#FF6B35}

/* Paneles */
#bq-access-module .bq-ap-panel{
    background:var(--bq-bg-card);border:1px solid var(--bq-border);
    border-radius:16px;padding:22px;
}
#bq-access-module .bq-ap-card{
    background:var(--bq-bg-elevated);border:1px solid var(--bq-border);
    border-radius:14px;padding:18px;
}
#bq-access-module .bq-ap-label{
    display:block;font-size:11px;font-weight:800;
    color:var(--bq-text-secondary);margin-bottom:8px;
    text-transform:uppercase;letter-spacing:.6px;
}
#bq-access-module .bq-ap-hint{font-size:11px;color:var(--bq-text-secondary);margin:6px 0 14px;line-height:1.5}
#bq-access-module .bq-ap-section-title{margin:0 0 12px;font-size:14px;font-weight:800;color:var(--bq-text);display:flex;align-items:center}
#bq-access-module .bq-ap-section-sub{margin:0 0 10px;font-size:11px;font-weight:800;color:var(--bq-text-secondary);text-transform:uppercase;letter-spacing:.6px}
#bq-access-module .bq-ap-link-btn{
    background:none;border:1px solid var(--bq-border);border-radius:8px;
    padding:6px 12px;cursor:pointer;font-size:11px;font-weight:700;
    color:var(--bq-text-secondary);font-family:inherit;
}
#bq-access-module .bq-ap-link-btn:hover{color:var(--bq-primary);border-color:var(--bq-primary)}

/* Inputs */
#bq-access-module .bq-ap-input{
    width:100%;padding:12px 14px;background:var(--bq-bg-card);
    border:1.5px solid var(--bq-border);border-radius:10px;
    font-size:14px;color:var(--bq-text);font-family:inherit;
    box-sizing:border-box;
}
#bq-access-module .bq-ap-input:focus{
    outline:none;border-color:var(--bq-primary);
    box-shadow:0 0 0 3px rgba(255,107,53,0.12);
}
#bq-access-module textarea.bq-ap-input{resize:vertical;line-height:1.5}

/* Empty states */
#bq-access-module .bq-ap-empty{text-align:center;padding:40px 20px;color:var(--bq-text-secondary)}
#bq-access-module .bq-ap-empty svg{margin:0 auto 12px;opacity:.4;display:block}
#bq-access-module .bq-ap-empty-title{margin:0 0 4px;font-size:15px;font-weight:700;color:var(--bq-text)}
#bq-access-module .bq-ap-empty-text{margin:0 0 16px;font-size:13px;line-height:1.5}

/* Selector de negocio */
#bq-access-module .bq-biz-cards{
    display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));
    gap:10px;margin-bottom:4px;
}
#bq-access-module .bq-biz-card{
    background:var(--bq-bg-elevated);border:2px solid var(--bq-border);
    border-radius:12px;padding:14px 12px;cursor:pointer;
    transition:all .25s;text-align:center;position:relative;
}
#bq-access-module .bq-biz-card:hover{border-color:rgba(255,107,53,0.5);transform:translateY(-2px)}
#bq-access-module .bq-biz-card.selected{
    border-color:var(--bq-primary);
    background:linear-gradient(135deg,rgba(255,107,53,0.1),rgba(255,107,53,0.03));
    box-shadow:0 8px 20px -8px rgba(255,107,53,0.35);
}
#bq-access-module .bq-biz-card.selected::after{
    content:'✓';position:absolute;top:6px;right:6px;
    width:22px;height:22px;border-radius:50%;
    background:var(--bq-primary);color:#fff;
    display:flex;align-items:center;justify-content:center;
    font-size:13px;font-weight:800;
    line-height:1;
}
#bq-access-module .bq-biz-card-logo{
    width:48px;height:48px;border-radius:12px;margin:0 auto 8px;
    background:var(--bq-bg-card);display:flex;align-items:center;justify-content:center;
    font-size:20px;font-weight:800;color:var(--bq-primary);overflow:hidden;
}
#bq-access-module .bq-biz-card-logo img{width:100%;height:100%;object-fit:cover}
#bq-access-module .bq-biz-card-name{font-size:13px;font-weight:700;color:var(--bq-text);
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:2px}
#bq-access-module .bq-biz-card-meta{font-size:10px;color:var(--bq-text-secondary);font-weight:600}

/* Role cards */
#bq-access-module .bq-role-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
#bq-access-module .bq-role-card{
    display:block;padding:14px 12px;background:var(--bq-bg-card);
    border:2px solid var(--bq-border);border-radius:12px;cursor:pointer;
    transition:all .25s;text-align:center;
}
#bq-access-module .bq-role-card input[type=radio]{
    position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
    clip:rect(0,0,0,0);white-space:nowrap;border:0;opacity:0;pointer-events:none;
}
#bq-access-module .bq-role-card:hover{border-color:rgba(255,107,53,0.5)}
#bq-access-module .bq-role-card.selected{
    border-color:var(--bq-primary);
    background:linear-gradient(135deg,rgba(255,107,53,0.1),rgba(255,107,53,0.03));
    box-shadow:0 4px 14px -4px rgba(255,107,53,0.3);
}
#bq-access-module .bq-role-card-icon{font-size:26px;margin-bottom:6px;line-height:1}
#bq-access-module .bq-role-card-title{font-size:13px;font-weight:800;color:var(--bq-text);margin-bottom:3px}
#bq-access-module .bq-role-card-desc{font-size:11px;color:var(--bq-text-secondary);line-height:1.4}

/* Permission chips */
#bq-access-module .bq-perm-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#bq-access-module .bq-perm-chip{
    display:flex;align-items:center;gap:8px;padding:11px 12px;
    background:var(--bq-bg-card);border:1.5px solid var(--bq-border);
    border-radius:10px;cursor:pointer;transition:all .2s;
    font-size:13px;font-weight:600;color:var(--bq-text);
}
#bq-access-module .bq-perm-chip:hover{border-color:rgba(255,107,53,0.5)}
#bq-access-module .bq-perm-chip input[type=checkbox]{width:16px;height:16px;accent-color:var(--bq-primary);cursor:pointer;flex-shrink:0}
#bq-access-module .bq-perm-chip.checked{
    background:linear-gradient(135deg,rgba(255,107,53,0.1),rgba(255,107,53,0.03));
    border-color:var(--bq-primary);
}

/* v7.3.0: Aviso informativo de módulos otorgados (reemplaza la selección de checkboxes) */
#bq-access-module .bq-ap-modules-info{
    background:linear-gradient(135deg,rgba(255,107,53,0.08),rgba(255,107,53,0.02));
    border:1.5px solid rgba(255,107,53,0.25);
    border-radius:12px;
    padding:14px 14px 12px;
}
#bq-access-module .bq-ap-modules-info-title{
    display:flex;align-items:center;gap:7px;
    font-size:13px;font-weight:700;color:var(--bq-text);
    margin-bottom:10px;
}
#bq-access-module .bq-ap-modules-info-title svg{color:var(--bq-primary);flex-shrink:0}
#bq-access-module .bq-ap-modules-list{
    display:flex;flex-wrap:wrap;gap:6px;
}
#bq-access-module .bq-ap-module-badge{
    display:inline-flex;align-items:center;
    padding:6px 12px;
    background:var(--bq-bg-card);
    border:1px solid rgba(255,107,53,0.3);
    border-radius:100px;
    font-size:12px;font-weight:600;
    color:var(--bq-text);
}
#bq-access-module .bq-ap-modules-note{
    margin:10px 0 0;padding:0;
    font-size:11.5px;line-height:1.45;
    color:var(--bq-text-secondary);
    font-style:italic;
}

/* v7.3.1: Chip del negocio sub-administrado en cada colaborador */
#bq-access-module .bq-collab-biz-chip{
    display:inline-flex;
    align-items:center;
    gap:6px;
    margin-top:10px;
    padding:7px 11px;
    background:linear-gradient(135deg,rgba(255,107,53,0.1),rgba(255,107,53,0.03));
    border:1px solid rgba(255,107,53,0.25);
    border-radius:8px;
    font-size:11.5px;
    color:var(--bq-text);
    line-height:1.25;
    max-width:100%;
}
#bq-access-module .bq-collab-biz-chip svg{
    color:var(--bq-primary);
    flex-shrink:0;
}
#bq-access-module .bq-collab-biz-chip strong{
    font-weight:800;
    color:var(--bq-primary);
    word-break:break-word;
}

/* Botón enviar */
#bq-access-module .bq-ap-send-btn{width:100%;padding:14px;margin-top:18px;font-size:14px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:8px}

/* Buscador */
#bq-access-module .bq-search-wrap{position:relative}
#bq-access-module .bq-search-icon{
    position:absolute;left:14px;top:50%;transform:translateY(-50%);
    color:var(--bq-text-secondary);pointer-events:none;z-index:1;
}
#bq-access-module .bq-search-input{padding-left:40px;padding-right:40px;font-size:14px}
#bq-access-module .bq-search-spinner{
    position:absolute;right:14px;top:50%;transform:translateY(-50%);
    width:16px;height:16px;border:2px solid var(--bq-border);border-top-color:var(--bq-primary);
    border-radius:50%;animation:bqSpin .7s linear infinite;
}
#bq-access-module .bq-search-results{margin-top:12px;display:flex;flex-direction:column;gap:8px}
#bq-access-module .bq-search-result{
    display:flex;align-items:center;gap:12px;
    padding:12px;background:var(--bq-bg-card);
    border:1.5px solid var(--bq-border);border-radius:12px;
    cursor:pointer;transition:all .2s;text-align:left;
}
#bq-access-module .bq-search-result:hover:not(.disabled){
    border-color:var(--bq-primary);transform:translateY(-1px);
    box-shadow:0 4px 14px -4px rgba(255,107,53,0.2);
}
#bq-access-module .bq-search-result.disabled{opacity:.6;cursor:not-allowed}
#bq-access-module .bq-search-result-logo{
    width:44px;height:44px;border-radius:11px;flex-shrink:0;
    background:var(--bq-bg-elevated);display:flex;align-items:center;justify-content:center;
    overflow:hidden;font-weight:800;color:var(--bq-primary);font-size:18px;
}
#bq-access-module .bq-search-result-logo img{width:100%;height:100%;object-fit:cover}
#bq-access-module .bq-search-result-info{flex:1;min-width:0}
#bq-access-module .bq-search-result-name{font-size:14px;font-weight:700;color:var(--bq-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#bq-access-module .bq-search-result-meta{font-size:11px;color:var(--bq-text-secondary);margin-top:2px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
#bq-access-module .bq-search-empty{
    text-align:center;padding:24px 16px;color:var(--bq-text-secondary);
    font-size:13px;background:var(--bq-bg-card);border-radius:10px;
    border:1px dashed var(--bq-border);
}
#bq-access-module .bq-search-relation-badge{
    font-size:10px;font-weight:700;padding:3px 8px;border-radius:99px;
    white-space:nowrap;flex-shrink:0;
}

/* Selected business */
#bq-access-module .bq-selected-biz{
    display:flex;align-items:center;gap:12px;
    padding:14px;border-radius:12px;
    background:linear-gradient(135deg,rgba(255,107,53,0.12),rgba(255,107,53,0.03));
    border:2px solid rgba(255,107,53,0.3);
}
#bq-access-module .bq-selected-biz-logo{
    width:48px;height:48px;border-radius:12px;background:var(--bq-bg-card);
    display:flex;align-items:center;justify-content:center;overflow:hidden;
    font-weight:800;color:var(--bq-primary);font-size:20px;flex-shrink:0;
}
#bq-access-module .bq-selected-biz-logo img{width:100%;height:100%;object-fit:cover}
#bq-access-module .bq-selected-biz-info{flex:1;min-width:0}
#bq-access-module .bq-selected-biz-label{font-size:10px;font-weight:800;color:var(--bq-primary);text-transform:uppercase;letter-spacing:.6px;margin-bottom:2px}
#bq-access-module .bq-selected-biz-name{font-size:15px;font-weight:800;color:var(--bq-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

@media (max-width:520px){
    #bq-access-module .bq-role-grid,#bq-access-module .bq-perm-grid{grid-template-columns:1fr}
    #bq-access-module .bq-biz-cards{grid-template-columns:repeat(auto-fill,minmax(130px,1fr))}
    #bq-access-module .bq-ap-panel{padding:16px}
    #bq-access-module .bq-ap-header{padding:16px 18px}
    #bq-access-module .bq-ap-title{font-size:17px}
}

/* ═══════════════════ FIN v12 ═══════════════════ */