﻿/* ================================================
   LETTERA — Global Styles
   ================================================ */

:root {
    --accent: #067283;
    --accent-dark: #055f6e;
    --accent-rgb: 37, 99, 235;
    --font: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 72px; /* altura del navbar fixed-top */
    overflow-x: hidden;
}

body {
    font-family: var(--font);
    color: #1e293b;
    background: #f8fafc;
    margin-bottom: 0;
    overflow-y: auto;
}

/* ---- Utility ---- */
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }
.text-accent { color: var(--accent) !important; }
.bg-accent { background-color: var(--accent) !important; }
.py-6 { padding-top: 5rem; padding-bottom: 5rem; }
.btn-ghost { background: transparent; border: none; }
.btn-accent {
    background: var(--accent);
    color: #fff;
    border: none;
    font-weight: 600;
}
.btn-accent:hover { background: var(--accent-dark); color: #fff; }

/* Soft badges */
.bg-success-soft { background: rgba(22,163,74,.12) !important; }
.bg-danger-soft  { background: rgba(220,38,38,.12) !important; }
.bg-warning-soft { background: rgba(234,179,8,.12) !important; }
.bg-primary-soft { background: rgba(6,114,131,.1) !important; }
.bg-info-soft    { background: rgba(6,182,212,.1) !important; }
.bg-secondary-soft { background: rgba(100,116,139,.1) !important; }
.bg-accent-soft  { background: rgba(6,114,131,.15) !important; color: var(--accent); }
.bg-green-soft   { background: rgba(22,163,74,.1) !important; }
.bg-blue-soft    { background: rgba(6,114,131,.1) !important; }
.bg-purple-soft  { background: rgba(139,92,246,.1) !important; }
.bg-orange-soft  { background: rgba(234,179,8,.1) !important; }
.bg-red-soft     { background: rgba(220,38,38,.1) !important; }
.text-purple { color: #7c3aed !important; }

/* ============ LANDING PAGE ============ */
.py-navbar {
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(10px);
    transition: all .3s;
}

.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #0c1a35 100%);
    padding-top: 80px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.text-white-70 { color: rgba(255,255,255,.7); }
.text-white-50 { color: rgba(255,255,255,.5); }

.step-circle {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #7c3aed);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto;
    box-shadow: 0 8px 20px rgba(6,114,131,.3);
}

.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.07);
    border: 1px solid #e2e8f0;
    transition: transform .2s, box-shadow .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,.1); }

.feature-icon {
    width: 52px; height: 52px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; margin-bottom: 1rem;
}

.price-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    border: 2px solid #e2e8f0;
    text-align: center;
    transition: all .2s;
}
.price-card:hover { border-color: var(--accent); box-shadow: 0 8px 24px rgba(6,114,131,.15); }
.price-card-featured {
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(6,114,131,.2);
    transform: scale(1.03);
}
.price-month { font-size: .85rem; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .5rem; }
.price-amount { font-size: 2.25rem; font-weight: 800; color: #0f172a; }
.price-period { font-size: 1rem; font-weight: 400; color: #64748b; }

/* ============ AUTH ============ */
.auth-page { background: linear-gradient(135deg, #0f172a, #1e3a5f); }
.auth-card {
    background: #fff;
    border-radius: 24px;
    padding: 2.5rem;
    width: 100%;
    max-width: 460px;
    box-shadow: 0 24px 64px rgba(0,0,0,.2);
}
.display-brand { font-size: 1.8rem; }

/* ============================================================
   STORE PUBLIC PAGE — HEADER REDISEÑADO
   ============================================================ */

/* Portada */
.store-cover-banner {
    height: 200px; position: relative; overflow: hidden;
    background: #1e293b;
}
@media (max-width: 576px) { .store-cover-banner { height: 140px; } }

.store-cover-gradient { position: absolute; inset: 0; }
.store-cover-gradient-0 { background: linear-gradient(135deg, #0f172a, #067283); }
.store-cover-gradient-1 { background: linear-gradient(135deg, #7c3aed, #db2777); }
.store-cover-gradient-2 { background: linear-gradient(135deg, #059669, #0284c7); }
.store-cover-gradient-3 { background: linear-gradient(135deg, #ea580c, #ca8a04); }
.store-cover-gradient-4 { background: linear-gradient(135deg, #0891b2, #7c3aed); }
.store-cover-gradient-5 { background: linear-gradient(135deg, #be185d, #9333ea); }

.store-cover-topbar {
    position: absolute; top: .85rem; left: 1rem; right: 1rem;
    display: flex; align-items: center; justify-content: space-between; z-index: 5;
}
.btn-cover-back {
    background: rgba(0,0,0,.35); backdrop-filter: blur(6px);
    color: #fff; border: 1px solid rgba(255,255,255,.2); border-radius: 10px;
    font-size: .78rem; font-weight: 600; transition: background .15s;
}
.btn-cover-back:hover { background: rgba(0,0,0,.5); color: #fff; }
.btn-cover-cart {
    background: rgba(255,255,255,.15); backdrop-filter: blur(6px);
    color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 10px;
    font-size: .82rem; font-weight: 600; transition: background .15s;
}
.btn-cover-cart:hover { background: rgba(255,255,255,.25); color: #fff; }

/* Header blanco bajo la portada */
.store-header-card {
    background: #fff; border-bottom: 1px solid #e2e8f0;
    padding-top: 0; padding-bottom: 1rem;
    position: sticky; top: 0; z-index: 100;
    box-shadow: 0 1px 8px rgba(0,0,0,.06);
}

.store-profile-row {
    display: flex; align-items: flex-start; gap: 1.25rem;
    padding-top: .75rem;
}

/* Avatar / Logo */
.store-avatar-wrap {
    flex-shrink: 0; margin-top: -44px; /* sube sobre la portada */
}
.store-avatar-img {
    width: 80px; height: 80px; border-radius: 20px;
    border: 4px solid #fff; object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.store-avatar-letter {
    width: 80px; height: 80px; border-radius: 20px;
    border: 4px solid #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; font-weight: 800; color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.store-avatar-color-0 { background: linear-gradient(135deg, #067283, #7c3aed); }
.store-avatar-color-1 { background: linear-gradient(135deg, #7c3aed, #db2777); }
.store-avatar-color-2 { background: linear-gradient(135deg, #059669, #0284c7); }
.store-avatar-color-3 { background: linear-gradient(135deg, #ea580c, #ca8a04); }
.store-avatar-color-4 { background: linear-gradient(135deg, #0891b2, #7c3aed); }
.store-avatar-color-5 { background: linear-gradient(135deg, #be185d, #9333ea); }

/* Info */
.store-profile-info { flex: 1; min-width: 0; }
.store-status-badge {
    font-size: .72rem; font-weight: 700; padding: .25rem .7rem;
    border-radius: 20px; display: inline-flex; align-items: center;
}
.store-status-badge.open  { background: rgba(22,163,74,.12); color: #15803d; }
.store-status-badge.closed { background: rgba(220,38,38,.1); color: #b91c1c; }

.store-meta-chip {
    font-size: .78rem; font-weight: 500; color: #475569;
    background: #f1f5f9; border-radius: 20px;
    padding: .2rem .7rem; display: inline-flex; align-items: center;
}
.store-description { font-size: .875rem; color: #475569; line-height: 1.5; }

/* Botón WhatsApp en header */
.store-profile-actions { flex-shrink: 0; padding-top: .25rem; }
.btn-wa-contact {
    background: #25d366; color: #fff; font-weight: 600; font-size: .82rem;
    padding: .5rem 1.1rem; border-radius: 12px; border: none;
    text-decoration: none; display: inline-flex; align-items: center;
    transition: background .15s;
}
.btn-wa-contact:hover { background: #1ebe5d; color: #fff; }
.btn-review-google {
    background: #fff; color: #1a1a1a; font-weight: 600; font-size: .82rem;
    padding: .5rem 1.1rem; border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    text-decoration: none; display: inline-flex; align-items: center;
    transition: border-color .15s, box-shadow .15s;
}
.btn-review-google:hover { border-color: #fbbc04; box-shadow: 0 2px 8px rgba(251,188,4,.25); color: #1a1a1a; }
.btn-review-google .bi-star-fill { color: #fbbc04; }

/* Promo drag handle */
.promo-drag-handle {
    position: absolute; top: .6rem; right: .5rem;
    cursor: grab; opacity: .35; transition: opacity .15s; z-index: 1;
    font-size: 1rem; line-height: 1;
}
.promo-drag-handle:hover { opacity: .7; }
.promo-drag-ghost { opacity: .4; }
.promo-card { position: relative; }

/* Horarios */
.store-hours-row {
    display: flex; flex-wrap: wrap; align-items: center; gap: .35rem;
    border-top: 1px solid #f1f5f9; padding-top: .65rem; margin-top: .65rem;
}
.hours-chip {
    font-size: .7rem; font-weight: 600; padding: .2rem .6rem;
    background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px;
    color: #334155; white-space: nowrap;
}
.hours-chip.closed-day { color: #94a3b8; }

/* Count en tab de categoría */
.cat-tab-count {
    display: inline-block; background: rgba(255,255,255,.35);
    border-radius: 10px; font-size: .66rem; font-weight: 700;
    padding: 0 .4rem; margin-left: .25rem;
    min-width: 18px; text-align: center;
}
.cat-tab.active .cat-tab-count { background: rgba(255,255,255,.3); }

@media (max-width: 576px) {
    .store-profile-row { flex-direction: column; gap: .75rem; }
    .store-avatar-wrap { margin-top: -40px; }
    .store-avatar-img, .store-avatar-letter { width: 68px; height: 68px; }
    .store-profile-actions { width: 100%; }
    .btn-wa-contact { width: 100%; justify-content: center; }
    .store-hours-row { overflow-x: auto; flex-wrap: nowrap; padding-bottom: .25rem; }
}

.store-category-tabs {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.sct-inner {
    display: flex;
    gap: .375rem;
    overflow-x: auto;
    padding: .5rem 0 .55rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.sct-inner::-webkit-scrollbar { display: none; }
.cat-tab {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    white-space: nowrap;
    padding: .42rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: .82rem;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    border: 1.5px solid transparent;
    transition: all .18s;
    flex-shrink: 0;
}
.cat-tab:hover {
    background: #e8f5f8;
    color: var(--accent);
    border-color: var(--accent);
}
.cat-tab.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 2px 8px rgba(6,114,131,.25);
}
.cat-tab-name { }
.cat-tab-count {
    background: rgba(0,0,0,.12);
    border-radius: 10px;
    padding: 0 .45rem;
    font-size: .7rem;
    font-weight: 700;
    line-height: 1.6;
    min-width: 1.4rem;
    text-align: center;
}
.cat-tab.active .cat-tab-count { background: rgba(255,255,255,.25); }

.section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    border-left: 4px solid var(--accent);
    padding-left: .75rem;
    margin-bottom: 1rem;
}

.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.07);
    border: 1px solid #e2e8f0;
    transition: all .2s;
    height: 100%;
    display: flex; flex-direction: column;
}
.product-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,.12); transform: translateY(-2px); }
.product-unavailable { opacity: .6; }

.product-img-wrap { position: relative; overflow: hidden; aspect-ratio: 1/1; }
.product-img { width: 100%; height: 100%; object-fit: cover; }
.product-img-placeholder {
    aspect-ratio: 1/1;
    background: #f1f5f9;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: #cbd5e1;
}
.sold-out-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,.45);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: .9rem; letter-spacing: .05em;
}

.local-only-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: rgba(30,64,175,.75);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: .75rem;
    padding: .25rem .4rem;
}

.badge-local-only {
    font-size: .7rem; font-weight: 700; color: #1e40af;
    background: #dbeafe; border: 1px solid #bfdbfe;
    border-radius: 8px; padding: .2rem .55rem;
    white-space: nowrap;
}

.product-info { padding: .75rem; flex: 1; display: flex; flex-direction: column; }
.product-name { font-size: .9rem; font-weight: 600; margin-bottom: .25rem; line-height: 1.3; }
.product-desc { font-size: .78rem; color: #64748b; margin-bottom: .5rem;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-price { font-size: 1.05rem; font-weight: 800; color: var(--accent); }

.btn-add-cart {
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--accent); color: #fff; border: none;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; font-weight: 700; cursor: pointer;
    transition: all .15s;
}
.btn-add-cart:hover { background: var(--accent-dark); transform: scale(1.1); }

/* Cart drawer */
.cart-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 1040; display: none;
    backdrop-filter: blur(2px);
}
.cart-overlay.open { display: block; }

.cart-drawer {
    position: fixed; right: 0; top: 0; bottom: 0;
    width: min(420px, 100vw);
    background: #fff;
    box-shadow: -4px 0 24px rgba(0,0,0,.15);
    z-index: 1050;
    transform: translateX(100%);
    transition: transform .32s cubic-bezier(.4,0,.2,1);
    display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }

/* En móvil: bottom sheet que sube desde abajo */
@media (max-width: 767px) {
    .cart-drawer {
        top: auto; bottom: 0; left: 0; right: 0;
        width: 100%;
        max-height: 88vh;
        border-radius: 20px 20px 0 0;
        transform: translateY(100%);
        box-shadow: 0 -8px 40px rgba(0,0,0,.18);
    }
    .cart-drawer.open { transform: translateY(0); }
}

/* Handle drag en móvil */
.cart-drawer-handle-wrap {
    display: none;
    justify-content: center;
    padding: .75rem 0 .25rem;
    cursor: pointer;
    flex-shrink: 0;
}
.cart-drawer-handle {
    width: 36px; height: 4px;
    background: #cbd5e1;
    border-radius: 2px;
    transition: background .2s;
}
.cart-drawer-handle-wrap:hover .cart-drawer-handle { background: #94a3b8; }
@media (max-width: 767px) {
    .cart-drawer-handle-wrap { display: flex; }
}

.cart-drawer-header {
    padding: 1rem 1.5rem 1.1rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex; align-items: center; justify-content: space-between;
    flex-shrink: 0;
}
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; -webkit-overflow-scrolling: touch; }
.cart-drawer-footer { padding: 1rem 1.5rem; border-top: 1px solid #e2e8f0; flex-shrink: 0; }

/* Botón cerrar visible */
.cart-close-btn {
    display: inline-flex; align-items: center; gap: .25rem;
    background: #f1f5f9; border: 1.5px solid #e2e8f0;
    border-radius: 10px; padding: .4rem .9rem;
    font-size: .82rem; font-weight: 600; color: #64748b;
    cursor: pointer; transition: all .18s;
    flex-shrink: 0;
}
.cart-close-btn:hover {
    background: #fee2e2; border-color: #fca5a5; color: #dc2626;
}

.cart-item {
    display: flex; align-items: center; gap: .75rem;
    padding: .75rem 0; border-bottom: 1px solid #f1f5f9;
}
.cart-item-img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: #f1f5f9; }
.cart-item-name { font-weight: 600; font-size: .9rem; }
.cart-item-price { color: var(--accent); font-weight: 700; }
.cart-qty-btn {
    width: 28px; height: 28px; border-radius: 50%;
    border: 1px solid #e2e8f0; background: #f8fafc;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 1rem; color: #0f172a;
}
.cart-qty-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ── Barra flotante del carrito ── */
.cart-fab-bar {
    position: fixed; bottom: 1.25rem; left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #067283, #0891b2);
    color: #fff; border: none;
    border-radius: 100px;
    padding: .9rem 1.5rem;
    display: flex; align-items: center; justify-content: space-between;
    gap: 2rem;
    min-width: 280px; max-width: calc(100vw - 2.5rem);
    box-shadow: 0 6px 28px rgba(6,114,131,.45);
    z-index: 900; cursor: pointer;
    transition: transform .25s, box-shadow .25s, opacity .25s;
    animation: fabBarSlideUp .3s ease;
    white-space: nowrap;
}
.cart-fab-bar:hover {
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 12px 36px rgba(6,114,131,.55);
}
@keyframes fabBarSlideUp {
    from { opacity: 0; transform: translateX(-50%) translateY(24px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.cart-fab-bar-left {
    display: flex; align-items: center; gap: .55rem;
    font-size: .88rem; font-weight: 600;
}
.cart-fab-bar-badge {
    background: rgba(255,255,255,.25);
    border-radius: 20px; padding: .1rem .55rem;
    font-size: .78rem; font-weight: 700;
}
.cart-fab-bar-right {
    display: flex; align-items: center; gap: .3rem;
    font-size: .9rem; font-weight: 800;
}

/* ── Toast "Producto agregado" ── */
.cart-toast {
    position: fixed; bottom: 5.5rem; left: 50%;
    transform: translateX(-50%) translateY(16px);
    background: #0f172a; color: #fff;
    border-radius: 16px; padding: .7rem 1rem .7rem .85rem;
    display: flex; align-items: center; gap: .75rem;
    min-width: 260px; max-width: calc(100vw - 2rem);
    box-shadow: 0 8px 32px rgba(0,0,0,.25);
    z-index: 1100; pointer-events: none;
    opacity: 0; transition: opacity .22s ease, transform .22s ease;
}
.cart-toast.show {
    opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: all;
}
.cart-toast-icon {
    width: 30px; height: 30px; border-radius: 50%;
    background: #16a34a; display: flex; align-items: center; justify-content: center;
    font-size: .88rem; flex-shrink: 0;
}
.cart-toast-text {
    flex: 1; font-size: .84rem; line-height: 1.35; min-width: 0;
}
.cart-toast-text strong {
    display: block; font-size: .72rem; font-weight: 500;
    opacity: .65; margin-bottom: .08rem;
}
.cart-toast-text span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.cart-toast-btn {
    background: rgba(255,255,255,.15); color: #fff; border: none;
    border-radius: 9px; padding: .4rem .8rem;
    font-size: .78rem; font-weight: 700; cursor: pointer;
    white-space: nowrap; flex-shrink: 0;
    transition: background .18s;
}
.cart-toast-btn:hover { background: rgba(255,255,255,.28); }

.store-footer { background: #f1f5f9; border-top: 1px solid #e2e8f0; }
.store-footer-dev {
    font-size: .75rem;
    color: #94a3b8;
    text-decoration: none;
    transition: color .15s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}
.store-footer-dev:hover { color: #067283; }
.store-footer-dev strong { color: #64748b; font-weight: 700; }
.store-footer-dev:hover strong { color: #067283; }

/* ── Product Detail Sheet ──────────────────────────────────── */
.pdsh-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.48);
    z-index: 1060; display: none;
    backdrop-filter: blur(3px);
}
.pdsh-overlay.open { display: block; }

.pdsh {
    position: fixed;
    background: #fff;
    z-index: 1070;
    display: flex; flex-direction: column;
}

/* Desktop: modal centrado */
@media (min-width: 768px) {
    .pdsh {
        top: 50%; left: 50%;
        transform: translate(-50%, -55%) scale(.97);
        width: min(520px, 94vw);
        max-height: 88vh;
        border-radius: 20px;
        box-shadow: 0 24px 70px rgba(0,0,0,.28);
        opacity: 0;
        transition: transform .28s cubic-bezier(.34,1.4,.64,1), opacity .22s ease;
    }
    .pdsh.open {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

/* Mobile: bottom sheet */
@media (max-width: 767px) {
    .pdsh {
        bottom: 0; left: 0; right: 0;
        width: 100%;
        max-height: 92vh;
        border-radius: 20px 20px 0 0;
        transform: translateY(100%);
        box-shadow: 0 -8px 40px rgba(0,0,0,.2);
        transition: transform .32s cubic-bezier(.4,0,.2,1);
    }
    .pdsh.open { transform: translateY(0); }
}

.pdsh-handle-wrap {
    display: none;
    justify-content: center;
    padding: .75rem 0 .5rem;
    cursor: pointer;
    flex-shrink: 0;
}
.pdsh-handle {
    width: 36px; height: 4px;
    background: #cbd5e1; border-radius: 2px;
}
@media (max-width: 767px) { .pdsh-handle-wrap { display: flex; } }

.pdsh-close-btn {
    position: absolute; top: .85rem; right: .85rem;
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(255,255,255,.92);
    border: none;
    display: none; align-items: center; justify-content: center;
    font-size: 1rem; z-index: 4; cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,.18);
    color: #0a0f1e;
    transition: background .15s;
}
.pdsh-close-btn:hover { background: #fff; }
@media (min-width: 768px) { .pdsh-close-btn { display: flex; } }

.pdsh-img-wrap {
    width: 100%;
    flex-shrink: 0;
    background: #f1f5f9;
    overflow: hidden;
    position: relative;
}
.pdsh-img-wrap img {
    width: 100%; display: block;
    max-height: 300px; object-fit: cover;
}
@media (max-width: 767px) { .pdsh-img-wrap img { max-height: 220px; } }

.pdsh-no-img {
    height: 120px;
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem; color: #cbd5e1;
}

.pdsh-body {
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    padding: 1.25rem 1.4rem .6rem;
    flex: 1;
}
.pdsh-badge-row {
    display: flex; gap: .5rem; margin-bottom: .6rem; flex-wrap: wrap;
}
.pdsh-badge {
    font-size: .7rem; font-weight: 700; letter-spacing: .04em;
    padding: .2rem .65rem; border-radius: 20px;
    background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0;
}
.pdsh-badge.sold-out {
    background: #fef2f2; color: #b91c1c; border-color: #fecaca;
}
.pdsh-badge.stock-low {
    background: #fffbeb; color: #92400e; border-color: #fde68a;
}
.pdsh-name {
    font-size: 1.3rem; font-weight: 800; line-height: 1.25;
    margin-bottom: .65rem; color: #0a0f1e;
}
.pdsh-desc {
    font-size: .9rem; color: #475569; line-height: 1.65;
    white-space: pre-line; margin: 0;
}
/* Option groups */
.pdsh-opt-group { margin-top: 1.1rem; }
.pdsh-opt-group-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #64748b; margin-bottom: .5rem; display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; }
.req-badge { font-size: .68rem; background: #fef3c7; color: #92400e; padding: .1rem .4rem; border-radius: 8px; font-weight: 700; }
.pdsh-opt-items { display: flex; flex-direction: column; gap: .4rem; }
.pdsh-opt-item { display: flex; align-items: center; gap: .6rem; background: #f8fafc; border: 1.5px solid #e2e8f0; border-radius: 10px; padding: .55rem .85rem; cursor: pointer; transition: border-color .15s, background .15s; user-select: none; }
.pdsh-opt-item:has(input:checked) { border-color: var(--accent); background: #f0fdf4; }
.pdsh-opt-item input { accent-color: var(--accent); width: 16px; height: 16px; flex-shrink: 0; }
.pdsh-opt-item-name { flex: 1; font-size: .9rem; font-weight: 600; color: #1e293b; }
.pdsh-opt-item-price { font-size: .82rem; color: #94a3b8; white-space: nowrap; }
.pdsh-opt-item-price.has-price { color: var(--accent); font-weight: 700; }
.pdsh-opt-group.opt-error .pdsh-opt-items { outline: 2px solid #ef4444; border-radius: 10px; }
.pdsh-opt-group.opt-error .pdsh-opt-group-label { color: #dc2626; }

.pdsh-footer {
    padding: 1rem 1.4rem;
    border-top: 1px solid #e2e8f0;
    display: flex; align-items: center; gap: .75rem;
    flex-shrink: 0;
    background: #fff;
    border-radius: 0 0 20px 20px;
}
@media (max-width: 767px) {
    .pdsh-footer {
        border-radius: 0;
        padding-bottom: calc(1rem + env(safe-area-inset-bottom));
    }
}

.pdsh-price {
    font-size: 1.5rem; font-weight: 900; color: var(--accent);
    white-space: nowrap; flex-shrink: 0;
}

.pdsh-qty {
    display: flex; align-items: center; gap: .45rem;
    margin-left: auto; flex-shrink: 0;
}
.pdsh-qty-btn {
    width: 34px; height: 34px; border-radius: 50%;
    border: 2px solid var(--accent); background: transparent;
    color: var(--accent); font-size: 1.1rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all .15s; line-height: 1;
}
.pdsh-qty-btn:hover { background: var(--accent); color: #fff; }
.pdsh-qty-btn:disabled { opacity: .35; cursor: default; }
.pdsh-qty-val {
    font-size: 1rem; font-weight: 800; min-width: 22px; text-align: center;
}

.pdsh-add-btn {
    height: 44px; padding: 0 1.2rem;
    background: var(--accent); color: #fff;
    border: none; border-radius: 12px;
    font-size: .9rem; font-weight: 700; cursor: pointer;
    transition: background .15s;
    white-space: nowrap; flex-shrink: 0;
}
.pdsh-add-btn:hover { background: var(--accent-dark); }
.pdsh-add-btn.added { background: #16a34a; }
.pdsh-add-btn:disabled { opacity: .45; cursor: default; }

.pdsh-sold-badge {
    margin-left: auto;
    font-size: .82rem; font-weight: 700; color: #94a3b8;
    background: #f1f5f9; padding: .4rem 1rem; border-radius: 20px;
    flex-shrink: 0;
}

.product-card[data-product-id] { cursor: pointer; }

/* ============ LEGAL ============ */
.legal-content h4 { margin-top: 2rem; font-weight: 700; }
.legal-content p, .legal-content li { line-height: 1.8; color: #334155; }

/* Responsive */
@media (max-width: 576px) {
    .auth-card { padding: 1.75rem; border-radius: 0; min-height: 100vh; }
    .price-card-featured { transform: scale(1); }
}

/* ============================================================
   NAVBAR & FOOTER NUEVOS (_Layout.cshtml)
   ============================================================ */
.text-white-40 { color: rgba(255,255,255,.4) !important; }

/* ---- Navbar base ---- */
.py-navbar {
    background: rgba(10, 16, 32, 0.55);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border-bottom: 1px solid rgba(255,255,255,.06);
    transition: background .35s, box-shadow .35s, border-color .35s;
    padding: .7rem 0;
}
.py-navbar.scrolled {
    background: rgba(9, 14, 28, 0.96);
    box-shadow: 0 4px 32px rgba(0,0,0,.4);
    border-bottom-color: rgba(255,255,255,.1);
}

/* ---- Brand ---- */
.nav-brand-lettera {
    font-family: 'ITC Benguiat', 'Benguiat Std', 'Playfair Display', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 0.18em;
    line-height: 1;
    background: linear-gradient(135deg, #ffffff 0%, #b2f0f0 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 0 6px rgba(13,115,119,.55));
    transition: filter .25s;
}
.navbar-brand:hover .nav-brand-lettera {
    filter: drop-shadow(0 0 10px rgba(13,115,119,.9));
}
.nav-brand-icon {
    width: 38px; height: 38px; border-radius: 11px;
    background: linear-gradient(135deg, #067283, #7c3aed);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.05rem; flex-shrink: 0;
    box-shadow: 0 0 0 0 rgba(6,114,131,.5);
    transition: box-shadow .3s, transform .2s;
}
.navbar-brand:hover .nav-brand-icon {
    box-shadow: 0 0 0 5px rgba(6,114,131,.2);
    transform: rotate(-5deg) scale(1.05);
}
.nav-brand-name {
    font-size: 1.1rem; font-weight: 800; color: #fff; letter-spacing: -.01em;
}
.nav-brand-accent {
    background: linear-gradient(90deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- Nav links ---- */
.nav-link-landing {
    font-size: .85rem; font-weight: 500;
    color: rgba(255,255,255,.72) !important;
    padding: .45rem .85rem !important;
    border-radius: 8px;
    position: relative;
    transition: color .18s, background .18s;
}
.nav-link-landing:hover { color: #fff !important; background: rgba(255,255,255,.08); }
.nav-link-landing.active { color: #fff !important; background: rgba(255,255,255,.1); }

/* Underline indicator */
.nav-link-landing::after {
    content: '';
    position: absolute;
    bottom: 5px; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 2px;
    background: linear-gradient(90deg, #60a5fa, #a78bfa);
    border-radius: 2px;
    transition: width .22s ease;
}
.nav-link-landing:hover::after,
.nav-link-landing.active::after { width: calc(100% - 1.7rem); }

/* ---- Action buttons ---- */
.btn-nav-login {
    font-size: .82rem; font-weight: 600;
    color: rgba(255,255,255,.8) !important;
    padding: .45rem 1rem;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 10px;
    text-decoration: none;
    transition: all .2s;
    white-space: nowrap;
}
.btn-nav-login:hover {
    color: #fff !important;
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.35);
}

.btn-nav-register {
    font-size: .82rem; font-weight: 700;
    color: #fff !important;
    padding: .45rem 1.15rem;
    background: linear-gradient(135deg, #067283 0%, #7c3aed 100%);
    border-radius: 10px;
    text-decoration: none;
    white-space: nowrap;
    border: none;
    box-shadow: 0 2px 12px rgba(6,114,131,.35);
    transition: all .2s;
    display: inline-flex; align-items: center;
}
.btn-nav-register:hover {
    color: #fff !important;
    opacity: .92;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(6,114,131,.5);
}

/* ---- Hamburger (mobile) ---- */
.nav-hamburger {
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    gap: 5px;
    width: 40px; height: 40px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 10px;
    cursor: pointer; padding: 0;
    transition: background .2s;
}
.nav-hamburger:hover { background: rgba(255,255,255,.12); }
.nav-hamburger span {
    display: block;
    width: 20px; height: 2px;
    background: rgba(255,255,255,.9);
    border-radius: 2px;
    transition: all .25s;
}
/* Animate to X when open */
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Mobile menu panel ---- */
@media (max-width: 991px) {
    #navMain {
        background: rgba(9, 14, 28, 0.97);
        backdrop-filter: blur(20px);
        border-radius: 16px;
        margin-top: .5rem;
        padding: 1rem .75rem 1.25rem;
        border: 1px solid rgba(255,255,255,.08);
    }
    .nav-actions {
        flex-direction: column;
        align-items: stretch !important;
    }
    .btn-nav-login,
    .btn-nav-register { text-align: center; justify-content: center; }
}

/* ---- Brand logo icon (backward compat) ---- */
.brand-logo-icon {
    width: 36px; height: 36px; border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), #7c3aed);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1rem; flex-shrink: 0;
}
.btn-nav-cta {
    background: linear-gradient(135deg, #044f5c, #067283);
    color: #fff !important; font-weight: 600; font-size: .875rem;
    padding: .45rem 1.1rem; border-radius: 10px; border: none;
    transition: opacity .15s, transform .15s;
}
.btn-nav-cta:hover { opacity: .9; transform: translateY(-1px); color: #fff !important; }

/* Footer */
.site-footer { background: #0f172a; color: rgba(255,255,255,.75); }
.footer-top { padding: 4rem 0 2rem; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 1.25rem 0; font-size: .8rem; color: rgba(255,255,255,.4);
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: .75rem;
}
.footer-divider {
    display: inline-block;
    width: 1px; height: 14px;
    background: rgba(255,255,255,.18);
    flex-shrink: 0;
}
.footer-dev-credit {
    color: rgba(255,255,255,.45);
    text-decoration: none;
    font-size: .78rem;
    transition: color .15s;
    white-space: nowrap;
}
.footer-dev-credit:hover { color: rgba(255,255,255,.85); }
.footer-dev-credit strong { color: rgba(255,255,255,.7); font-weight: 700; }
.footer-brand .fw-700 { color: #fff; font-size: 1.1rem; }
.footer-brand-lettera {
    font-family: 'ITC Benguiat', 'Benguiat Std', 'Playfair Display', Georgia, serif;
    font-size: 1.45rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    line-height: 1;
    background: linear-gradient(135deg, #ffffff 0%, #9ee5e5 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 5px rgba(13,115,119,.4));
}
.footer-heading { font-size: .75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .08em; color: rgba(255,255,255,.4); margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li + li { margin-top: .5rem; }
.footer-links a { color: rgba(255,255,255,.65); text-decoration: none; font-size: .875rem;
    transition: color .15s; }
.footer-links a:hover { color: #fff; }
.footer-social { display: flex; gap: .5rem; flex-wrap: wrap; }
.social-btn {
    width: 36px; height: 36px; border-radius: 10px;
    border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.7);
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; font-size: 1rem; transition: all .15s;
}
.social-btn:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.3); }

/* ============================================================
   LANDING v2 (Index.cshtml)
   ============================================================ */
.bg-f8 { background: #f8fafc; }
.section-badge {
    display: inline-flex; align-items: center; gap: .4rem;
    background: rgba(6,114,131,.1); color: var(--accent);
    font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    padding: .35rem .85rem; border-radius: 20px; margin-bottom: 1rem;
}
.section-badge.pricing-badge { background: rgba(139,92,246,.1); color: #7c3aed; }

/* Hero v2 */
.hero-mesh {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0c1a35 100%);
    padding-top: 90px; padding-bottom: 5rem;
}
.hero-mesh::before {
    content: '';
    position: absolute; top: -120px; right: -120px;
    width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(6,114,131,.25) 0%, transparent 70%);
    pointer-events: none;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px; padding: .35rem 1rem; font-size: .8rem;
    color: rgba(255,255,255,.85); margin-bottom: 1.5rem;
}
.hero-gradient-text {
    background: linear-gradient(90deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.btn-hero-primary {
    background: linear-gradient(135deg, #044f5c, #067283);
    color: #fff; font-weight: 700; font-size: 1.05rem;
    padding: .8rem 2rem; border-radius: 14px; border: none;
    box-shadow: 0 6px 20px rgba(6,114,131,.4);
    transition: all .2s; text-decoration: none; display: inline-block;
}
.btn-hero-primary:hover { opacity:.9; transform: translateY(-2px); color: #fff; }
.btn-hero-outline {
    background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.25);
    color: rgba(255,255,255,.9); font-weight: 600; font-size: 1.05rem;
    padding: .8rem 2rem; border-radius: 14px;
    transition: all .2s; text-decoration: none; display: inline-block;
}
.btn-hero-outline:hover { background: rgba(255,255,255,.12); color: #fff; transform: translateY(-2px); }

/* Hero wave */
.hero-wave { position: absolute; bottom: 0; left: 0; right: 0; line-height: 0; }
.hero-wave svg { display: block; width: 100%; }

/* Hero phone mockup */
.hero-phone-mockup { display: flex; justify-content: center; align-items: flex-end; }
.phone-frame {
    width: 280px; background: #1e293b; border-radius: 36px;
    padding: 12px; box-shadow: 0 32px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.06);
    position: relative;
}
.phone-screen {
    background: #f1f5f9; border-radius: 26px; overflow: hidden; min-height: 420px;
}
.mock-store-header {
    background: linear-gradient(135deg, var(--accent), #7c3aed);
    padding: 1rem; color: #fff;
}
.mock-tabs {
    display: flex; gap: .5rem; padding: .75rem 1rem;
    background: #fff; border-bottom: 1px solid #e2e8f0;
}
.mock-tab {
    font-size: .65rem; font-weight: 600; padding: .3rem .7rem;
    border-radius: 12px; background: #f1f5f9; color: #475569;
}
.mock-tab.active { background: var(--accent); color: #fff; }
.mock-products { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .75rem; }
.mock-product-card {
    background: #fff; border-radius: 12px; overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.mock-product-card .img-placeholder {
    height: 70px; background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
}
.mock-product-card .info { padding: .4rem .5rem; }
.mock-product-card .info p { font-size: .6rem; font-weight: 600; color: #0f172a; margin: 0; }
.mock-product-card .info span { font-size: .65rem; color: var(--accent); font-weight: 700; }
.mock-add-btn {
    float: right; background: var(--accent); color: #fff;
    border: none; border-radius: 50%; width: 20px; height: 20px;
    font-size: .8rem; line-height: 1; cursor: pointer;
}
.mock-fab {
    position: absolute; bottom: 20px; right: 20px;
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--accent); color: #fff; border: none;
    box-shadow: 0 3px 10px rgba(6,114,131,.4);
    display: flex; align-items: center; justify-content: center;
    font-size: .85rem;
}
.mock-badge {
    position: absolute; top: -3px; right: -3px;
    background: #ef4444; color: #fff;
    width: 14px; height: 14px; border-radius: 50%;
    font-size: .5rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}

/* Value pillars bar */
.pillar-item { display: flex; flex-direction: column; align-items: center; gap: .5rem; padding: .5rem 0; }
.pillar-icon { font-size: 1.5rem; color: #067283; }
.pillar-ic-wa    { color: #25d366; }
.pillar-ic-yellow{ color: #d97706; }
.pillar-ic-muted { color: #94a3b8; }
.pillar-text { font-size: .82rem; font-weight: 600; color: #374151; line-height: 1.35; text-align: center; }

/* Steps flow */
.steps-flow { display: flex; align-items: flex-start; gap: 0; }
.step-item { flex: 1; text-align: center; position: relative; }
.step-connector {
    position: absolute; top: 28px; left: calc(50% + 28px);
    right: calc(-50% + 28px); height: 2px;
    background: linear-gradient(90deg, #e2e8f0, #e2e8f0);
    z-index: 0;
}
.step-item:last-child .step-connector { display: none; }
.step-icon-wrap {
    width: 56px; height: 56px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin: 0 auto 1rem;
    position: relative; z-index: 1;
}
.step-green  { background: rgba(22,163,74,.12); color: #16a34a; }
.step-blue   { background: rgba(6,114,131,.1); color: var(--accent); }
.step-purple { background: rgba(139,92,246,.1); color: #7c3aed; }
.step-orange { background: rgba(234,88,12,.1); color: #ea580c; }

/* Feature cards v2 */
.feature-card-v2 {
    background: #fff; border-radius: 18px; padding: 1.75rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
    transition: transform .2s, box-shadow .2s;
    height: 100%;
}
.feature-card-v2:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.1); }
.fc-icon {
    width: 52px; height: 52px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; margin-bottom: 1.1rem;
}
.fc-green   { background: rgba(22,163,74,.12); color: #16a34a; }
.fc-blue    { background: rgba(6,114,131,.1); color: var(--accent); }
.fc-purple  { background: rgba(139,92,246,.1); color: #7c3aed; }
.fc-orange  { background: rgba(234,88,12,.1); color: #ea580c; }
.fc-pink    { background: rgba(236,72,153,.1); color: #db2777; }
.fc-teal    { background: rgba(20,184,166,.1); color: #0d9488; }
.fc-yellow  { background: rgba(234,179,8,.1); color: #ca8a04; }

/* Testimonials */
.testimonials-section { background: linear-gradient(135deg, #0f172a, #1e293b); }
.testimonial-card {
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px; padding: 2rem; height: 100%;
    transition: background .2s;
}
.testimonial-card:hover { background: rgba(255,255,255,.09); }
.featured-testimonial {
    background: rgba(6,114,131,.15); border-color: rgba(6,114,131,.4);
    transform: scale(1.02); box-shadow: 0 8px 24px rgba(6,114,131,.2);
}
.testimonial-stars { color: #f59e0b; font-size: 1rem; margin-bottom: .75rem; letter-spacing: .1em; }
.testimonial-text { color: rgba(255,255,255,.85); font-size: .95rem; line-height: 1.6; margin-bottom: 1.25rem; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #7c3aed);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 1rem;
}

/* Pricing v2 */
.price-card-v2 {
    background: #fff; border-radius: 22px; padding: 2.25rem;
    border: 2px solid #e2e8f0; position: relative;
    transition: all .2s; height: 100%;
}
.price-card-v2:hover { border-color: var(--accent); box-shadow: 0 8px 28px rgba(6,114,131,.12); }
.price-featured-v2 {
    border-color: var(--accent); background: linear-gradient(180deg, #eff6ff 0%, #fff 100%);
    box-shadow: 0 12px 36px rgba(6,114,131,.18); transform: scale(1.03);
}
.price-popular-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent), #7c3aed);
    color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .06em;
    padding: .3rem 1rem; border-radius: 20px; text-transform: uppercase;
}
.price-label { font-size: .8rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .08em; color: #64748b; margin-bottom: .5rem; }
.price-big { font-size: 2.5rem; font-weight: 800; color: #0f172a; }
.price-sub { font-size: .85rem; color: #64748b; margin-bottom: 1.25rem; }
.price-features { list-style: none; padding: 0; margin: 0; }
.price-features li { display: flex; align-items: flex-start; gap: .5rem;
    padding: .4rem 0; font-size: .875rem; border-bottom: 1px solid #f1f5f9; }
.price-features li:last-child { border-bottom: none; }

/* FAQ — card grid layout */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.faq-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 1.5rem 1.65rem;
    transition: box-shadow .2s, transform .2s;
}
.faq-card:hover {
    box-shadow: 0 6px 24px rgba(6,114,131,.12);
    transform: translateY(-2px);
}
.faq-icon-wrap {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    flex-shrink: 0;
}
.faq-ic-teal  { background: rgba(6,114,131,.12); color: #067283; }
.faq-ic-green { background: rgba(22,163,74,.12);  color: #16a34a; }
.faq-ic-wa    { background: rgba(37,211,102,.13); color: #25d366; }
.faq-ic-qr    { background: rgba(6,114,131,.10);  color: #0e9ab0; }
.faq-ic-coin  { background: rgba(245,158,11,.12); color: #d97706; }
.faq-ic-tools { background: rgba(99,102,241,.12); color: #6366f1; }
.faq-ic-warn  { background: rgba(239,68,68,.10);  color: #ef4444; }
.faq-ic-exit  { background: rgba(100,116,139,.12);color: #64748b; }
.faq-q {
    font-weight: 700;
    font-size: .95rem;
    color: #0f172a;
    margin-bottom: .55rem;
    line-height: 1.4;
}
.faq-a {
    font-size: .875rem;
    color: #475569;
    line-height: 1.75;
    margin: 0;
}
@media (max-width: 767px) {
    .faq-grid { grid-template-columns: 1fr; }
}

/* CTA section */
.cta-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0c1a35 100%);
    position: relative; overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute; top: -80px; left: -80px;
    width: 400px; height: 400px; border-radius: 50%;
    background: radial-gradient(circle, rgba(6,114,131,.2) 0%, transparent 70%);
    pointer-events: none;
}
.cta-icon-top {
    width: 64px; height: 64px; border-radius: 18px;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.75rem; margin: 0 auto 1.5rem;
}

/* ============================================================
   QUIÉNES SOMOS (About.cshtml)
   ============================================================ */
.about-hero {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    padding: 5rem 0 4rem;
}
.section-badge-dark {
    display: inline-flex; align-items: center; gap: .4rem;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.85); font-size: .78rem; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase;
    padding: .35rem .85rem; border-radius: 20px; margin-bottom: 1rem;
}
.about-icon-block {
    width: 80px; height: 80px; border-radius: 24px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.2rem;
}
.about-big-icon {
    width: 100px; height: 100px; border-radius: 28px;
    background: linear-gradient(135deg, rgba(6,114,131,.15), rgba(139,92,246,.15));
    border: 1px solid rgba(6,114,131,.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.75rem; margin: 0 auto 1.5rem;
}
.value-card {
    background: #fff; border-radius: 18px; padding: 1.75rem;
    border: 1px solid #e2e8f0; text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
    transition: transform .2s, box-shadow .2s; height: 100%;
}
.value-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,0,0,.09); }
.value-icon {
    width: 56px; height: 56px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; margin: 0 auto .75rem;
}
.problem-card {
    background: #fff; border-radius: 16px; padding: 1.5rem;
    border: 1px solid #fee2e2; display: flex; gap: 1rem; align-items: flex-start;
    box-shadow: 0 1px 3px rgba(0,0,0,.04); height: 100%;
}
.problem-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: rgba(220,38,38,.1); color: #dc2626;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; flex-shrink: 0;
}
.solution-banner {
    background: linear-gradient(135deg, rgba(22,163,74,.08), rgba(6,114,131,.06));
    border: 1.5px solid rgba(22,163,74,.2); border-radius: 20px; padding: 2.5rem;
}

/* ── About v2 ─────────────────────────────────────── */
.about-hero-v2 { padding: 5.5rem 0 4.5rem; }

.about-hero-stats {
    display: flex; align-items: center; justify-content: center;
    gap: 0; border: 1.5px solid rgba(255,255,255,.12);
    border-radius: 20px; padding: 1.25rem 2.5rem;
    background: rgba(255,255,255,.05); backdrop-filter: blur(8px);
    max-width: 540px; margin: 0 auto; flex-wrap: wrap;
}
.about-stat { text-align: center; padding: .5rem 1.75rem; }
.about-stat-num { display: block; font-size: 1.75rem; font-weight: 800; color: #fff; line-height: 1; }
.about-stat-label { display: block; font-size: .75rem; color: rgba(255,255,255,.65); margin-top: .2rem; }
.about-stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.15); }

.about-company-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.about-chip {
    display: inline-flex; align-items: center; gap: .3rem;
    background: #f1f5f9; border: 1px solid #e2e8f0;
    border-radius: 999px; padding: .3rem .85rem;
    font-size: .8rem; font-weight: 600; color: #475569;
}

.about-brand-card {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-radius: 28px; padding: 2.5rem 2.5rem 2rem;
    box-shadow: 0 20px 60px rgba(0,0,0,.18);
    text-align: center;
}
.about-brand-logo {
    display: flex; align-items: baseline; justify-content: center; gap: .5rem;
    margin-bottom: 1.25rem;
}
.about-brand-alg {
    font-size: 2.25rem; font-weight: 900; letter-spacing: -.02em;
    background: linear-gradient(135deg, #06b6d4, #8b5cf6);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.about-brand-coding { font-size: 1.5rem; font-weight: 700; color: rgba(255,255,255,.9); }
.about-brand-spa { font-size: .95rem; font-weight: 600; color: rgba(255,255,255,.4); letter-spacing: .08em; text-transform: uppercase; }
.about-brand-divider { height: 1px; background: rgba(255,255,255,.1); margin: 1.25rem 0; }
.about-brand-tagline { color: rgba(255,255,255,.6); font-size: 1rem; line-height: 1.6; font-style: italic; margin: 0; }
.about-product-badge {
    display: inline-flex; align-items: center; gap: .6rem;
    background: rgba(22,163,74,.12); border: 1px solid rgba(22,163,74,.25);
    border-radius: 999px; padding: .5rem 1.25rem;
    font-size: .85rem; color: rgba(255,255,255,.85);
}

.mission-card {
    background: #fff; border-radius: 20px; padding: 2rem;
    border: 1px solid #e2e8f0; border-top: 4px solid #067283;
    box-shadow: 0 2px 8px rgba(0,0,0,.04); height: 100%;
}
.mission-icon {
    width: 56px; height: 56px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 1rem;
}

.value-card-v2 {
    background: #fff; border-radius: 18px; padding: 1.75rem;
    border: 1px solid #e2e8f0; text-align: left;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
    transition: transform .2s, box-shadow .2s; height: 100%;
}
.value-card-v2:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,0,0,.09); }
.value-card-v2 .value-icon { margin: 0 0 .85rem 0; }

.problem-card-v2 {
    background: #fff; border-radius: 16px; padding: 1.5rem;
    border: 1px solid #fee2e2; display: flex; gap: 1.1rem; align-items: flex-start;
    box-shadow: 0 1px 3px rgba(0,0,0,.04); height: 100%;
    transition: box-shadow .2s;
}
.problem-card-v2:hover { box-shadow: 0 8px 24px rgba(220,38,38,.08); }
.problem-icon-wrap {
    width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0;
    background: rgba(220,38,38,.09); color: #dc2626;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.15rem;
}

.tech-pill {
    display: flex; align-items: center; justify-content: center;
    gap: .4rem; background: #f1f5f9; border: 1.5px solid #e2e8f0;
    border-radius: 12px; padding: .7rem .5rem;
    font-size: .82rem; font-weight: 600; color: #334155;
    text-align: center; transition: background .15s, border-color .15s;
}
.tech-pill:hover { background: rgba(6,114,131,.07); border-color: rgba(6,114,131,.3); color: #067283; }
.tech-pill .bi { font-size: 1rem; }

/* afv = about-feature-visual */
.about-feature-visual { padding: .5rem 0; }
.afv-card {
    display: flex; align-items: flex-start; gap: 1.1rem;
    background: #fff; border-radius: 16px; padding: 1.25rem 1.5rem;
    border: 1px solid #e2e8f0; box-shadow: 0 1px 4px rgba(0,0,0,.04);
    transition: box-shadow .2s, transform .2s;
}
.afv-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.08); transform: translateX(4px); }
.afv-icon {
    width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}

/* ============================================================
   CÓMO FUNCIONA (HowItWorks.cshtml)
   ============================================================ */
.howto-hero {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    padding: 5rem 0 4rem;
}
.howto-step {
    padding: 4rem 0;
    border-bottom: 1px solid #f1f5f9;
}
.howto-step:last-of-type { border-bottom: none; }
.howto-step-num {
    font-size: 4rem; font-weight: 800; line-height: 1;
    opacity: .08; position: absolute; top: -1rem; left: 0;
    font-family: inherit;
}
.howto-icon-big {
    width: 80px; height: 80px; border-radius: 24px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
}
.howto-visual {
    border-radius: 24px; padding: 2.5rem; min-height: 280px;
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; justify-content: center;
}
.step-visual-green  { background: linear-gradient(135deg, rgba(22,163,74,.08), rgba(22,163,74,.03)); border: 1.5px solid rgba(22,163,74,.15); }
.step-visual-blue   { background: linear-gradient(135deg, rgba(6,114,131,.08), rgba(6,114,131,.03)); border: 1.5px solid rgba(6,114,131,.15); }
.step-visual-purple { background: linear-gradient(135deg, rgba(139,92,246,.08), rgba(139,92,246,.03)); border: 1.5px solid rgba(139,92,246,.15); }
.step-visual-green2 { background: linear-gradient(135deg, rgba(20,184,166,.08), rgba(20,184,166,.03)); border: 1.5px solid rgba(20,184,166,.15); }
.howto-step-label {
    position: absolute; top: 1.25rem; right: 1.25rem;
    font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    padding: .3rem .85rem; border-radius: 20px;
}
.step-green-label   { background: rgba(22,163,74,.15); color: #15803d; }
.step-blue-label    { background: rgba(6,114,131,.12); color: var(--accent); }
.step-purple-label  { background: rgba(139,92,246,.12); color: #7c3aed; }
.howto-checklist { list-style: none; padding: 0; margin: 0; }
.howto-check { display: flex; align-items: flex-start; gap: .6rem; margin-bottom: .65rem; font-size: .9rem; }
.howto-check::before {
    content: ''; width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
    margin-top: .1rem;
}
.howto-mini-cards { display: flex; flex-direction: column; gap: .75rem; }
.howto-mini-card {
    background: rgba(255,255,255,.9); border-radius: 14px; padding: .85rem 1.1rem;
    border: 1px solid rgba(255,255,255,.5); display: flex; align-items: center; gap: .75rem;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.mini-card-img {
    width: 44px; height: 44px; border-radius: 10px;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1); flex-shrink: 0;
}
.mini-line {
    height: 10px; border-radius: 5px; background: #e2e8f0; margin-bottom: 6px;
}
.howto-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .75rem; }
.howto-feature-mini {
    display: flex; align-items: center; gap: .75rem;
    background: rgba(255,255,255,.7); border-radius: 12px; padding: .75rem 1rem;
    border: 1px solid rgba(255,255,255,.5);
}
.howto-share-ideas { display: grid; grid-template-columns: repeat(2,1fr); gap: .75rem; }
.share-idea {
    background: rgba(255,255,255,.85); border-radius: 14px; padding: .85rem;
    text-align: center; border: 1px solid rgba(255,255,255,.6);
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.share-idea-icon {
    width: 42px; height: 42px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; margin: 0 auto .4rem;
}
.howto-share-options { font-size: .7rem; text-align: center; margin-top: .5rem; color: #64748b; }
.share-option { display: inline-flex; align-items: center; gap: .2rem; margin: .2rem; font-size: .68rem; }
.howto-result-item {
    display: flex; align-items: center; gap: .75rem;
    background: rgba(255,255,255,.8); border-radius: 12px; padding: .85rem;
    border: 1px solid rgba(255,255,255,.6); margin-bottom: .65rem;
}
/* WhatsApp bubble */
.howto-whatsapp-preview {
    background: #e5ddd5;
    border-radius: 20px;
    overflow: hidden;
}
.wa-topbar {
    background: #075e54;
    padding: .65rem 1rem;
    display: flex;
    align-items: center;
    gap: .7rem;
}
.wa-avatar-circle {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem; flex-shrink: 0;
}
.wa-contact-name { font-size: .8rem; font-weight: 700; color: #fff; line-height: 1.2; }
.wa-contact-sub  { font-size: .65rem; color: rgba(255,255,255,.75); }
.wa-chat-area    { padding: 1rem; }
.wa-bubble {
    background: #dcf8c6;
    border-radius: 0 14px 14px 14px;
    padding: .85rem 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.12);
    max-width: 96%;
    position: relative;
}
.wa-bubble::before {
    content: '';
    position: absolute; top: 0; left: -7px;
    border-style: solid;
    border-width: 0 7px 7px 0;
    border-color: transparent #dcf8c6 transparent transparent;
}
.wa-msg-head {
    font-weight: 800; font-size: .83rem; color: #064e3b;
    margin-bottom: .45rem; padding-bottom: .4rem;
    border-bottom: 1.5px solid rgba(6,78,59,.15);
}
.wa-row    { font-size: .76rem; color: #1a1a1a; margin-bottom: .18rem; line-height: 1.4; }
.wa-divider { height: 1px; background: rgba(0,0,0,.1); margin: .45rem 0; }
.wa-item   { font-size: .76rem; color: #1a1a1a; display: flex; justify-content: space-between; gap: .5rem; margin-bottom: .18rem; }
.wa-total  { font-size: .82rem; font-weight: 800; color: #064e3b; display: flex; justify-content: space-between; margin-bottom: .2rem; }
.wa-time   { font-size: .6rem; color: rgba(0,0,0,.4); text-align: right; margin-top: .4rem; }

/* Admin panel mock */
.admin-panel-mock {
    border-radius: 16px; overflow: hidden;
    box-shadow: 0 16px 48px rgba(0,0,0,.12); border: 1px solid #e2e8f0;
}
.apm-titlebar {
    background: #f1f5f9; border-bottom: 1px solid #e2e8f0;
    padding: .55rem .9rem; display: flex; align-items: center; gap: .75rem;
}
.apm-dots { display: flex; gap: .3rem; }
.apm-dots span { width: 10px; height: 10px; border-radius: 50%; display: block; background: #cbd5e1; }
.apm-dots span:first-child  { background: #fc6058; }
.apm-dots span:nth-child(2) { background: #fec02f; }
.apm-dots span:nth-child(3) { background: #2aca44; }
.apm-url {
    background: #fff; border: 1px solid #e2e8f0; border-radius: 6px;
    padding: .18rem .7rem; font-size: .7rem; color: #94a3b8; flex: 1;
}
.apm-body   { display: flex; height: 210px; }
.apm-sidebar {
    width: 52px; background: #0f172a; padding: .7rem .5rem;
    display: flex; flex-direction: column; gap: .45rem; flex-shrink: 0;
}
.apm-logo-bar  { width: 32px; height: 7px; background: rgba(255,255,255,.3); border-radius: 4px; margin-bottom: .5rem; }
.apm-nav-item  { height: 7px; border-radius: 4px; background: rgba(255,255,255,.15); }
.apm-nav-item.active { background: #3b82f6; }
.apm-main   { flex: 1; background: #f8fafc; padding: .75rem; overflow: hidden; }
.apm-kpis   { display: flex; gap: .5rem; margin-bottom: .65rem; }
.apm-kpi    { flex: 1; height: 34px; background: var(--kpi-color); border-radius: 8px; }
.apm-chart-row  { display: flex; gap: .5rem; height: calc(100% - 50px); }
.apm-chart-area {
    flex: 2; background: #fff; border-radius: 8px; border: 1px solid #e2e8f0;
    padding: .5rem; display: flex; align-items: flex-end; gap: .3rem;
}
.apm-bar  { flex: 1; background: #3b82f6; border-radius: 3px 3px 0 0; opacity: .7; }
.apm-list-area {
    flex: 1; background: #fff; border-radius: 8px; border: 1px solid #e2e8f0;
    padding: .65rem .5rem; display: flex; flex-direction: column; gap: .45rem;
}
.apm-list-row { height: 7px; border-radius: 4px; background: #e2e8f0; }
.apm-list-row.active-row { background: rgba(59,130,246,.45); }

/* Admin feature cards v2 */
.af-card-v2 {
    background: #fff; border: 1.5px solid #e2e8f0; border-radius: 18px;
    padding: 1.5rem 1.1rem; text-align: center; height: 100%;
    transition: all .2s;
}
.af-card-v2:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,.09); border-color: transparent; }
.af-icon-v2 {
    width: 56px; height: 56px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.35rem; margin: 0 auto 1rem;
}

/* ============================================================
   DIRECTORIO PÚBLICO — rediseño completo
   ============================================================ */

/* ── Hero ── */
.dir-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #0c1a35 100%);
    padding: 5.5rem 0 4rem;
    position: relative;
    overflow: hidden;
}
.dir-hero::before {
    content: '';
    position: absolute; top: -80px; right: -80px;
    width: 420px; height: 420px; border-radius: 50%;
    background: radial-gradient(circle, rgba(6,114,131,.22) 0%, transparent 70%);
    pointer-events: none;
}
.dir-hero-wave {
    position: absolute; bottom: 0; left: 0; right: 0;
    line-height: 0;
}
.dir-hero-wave svg { width: 100%; height: 56px; display: block; }

/* Search box */
.dir-search-box {
    display: flex; align-items: center;
    background: rgba(255,255,255,.08);
    border: 1.5px solid rgba(255,255,255,.18);
    border-radius: 16px;
    padding: .35rem .35rem .35rem 1.1rem;
    backdrop-filter: blur(8px);
    transition: border-color .2s, background .2s;
}
.dir-search-box:focus-within {
    border-color: rgba(96,165,250,.6);
    background: rgba(255,255,255,.12);
}
.dir-search-icon { color: rgba(255,255,255,.5); font-size: 1rem; margin-right: .6rem; flex-shrink: 0; }
.dir-search-input {
    flex: 1; background: none; border: none; outline: none;
    color: #fff; font-size: .9rem; font-weight: 500;
    min-width: 0;
}
.dir-search-input::placeholder { color: rgba(255,255,255,.45); }
.dir-search-btn {
    background: linear-gradient(135deg, #067283, #7c3aed);
    color: #fff; font-weight: 700; font-size: .85rem;
    border: none; border-radius: 12px;
    padding: .6rem 1.5rem;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity .2s, transform .2s;
}
.dir-search-btn:hover { opacity: .9; transform: scale(.98); }

/* ── Sidebar ── */
.dir-sidebar-card {
    background: #fff;
    border-radius: 20px;
    padding: 1.4rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.dir-sidebar-icon {
    width: 30px; height: 30px; border-radius: 8px;
    background: rgba(6,114,131,.1); color: #067283;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: .9rem;
}
.dir-cat-btn {
    display: flex; align-items: center; gap: .6rem;
    text-decoration: none;
    padding: .5rem .75rem;
    border-radius: 12px;
    font-size: .82rem; font-weight: 500;
    color: #475569;
    transition: all .15s;
    border: 1px solid transparent;
}
.dir-cat-btn:hover {
    background: rgba(6,114,131,.07);
    color: #067283;
    border-color: rgba(6,114,131,.15);
}
.dir-cat-btn.active {
    background: rgba(6,114,131,.1);
    color: #067283;
    font-weight: 700;
    border-color: rgba(6,114,131,.2);
}
.dir-cat-icon-wrap {
    width: 28px; height: 28px; border-radius: 8px;
    background: #f1f5f9; color: #64748b;
    display: flex; align-items: center; justify-content: center;
    font-size: .78rem; flex-shrink: 0;
    transition: background .15s, color .15s;
}
.dir-cat-btn:hover .dir-cat-icon-wrap,
.dir-cat-btn.active .dir-cat-icon-wrap { background: rgba(6,114,131,.15); color: #067283; }
.dir-cat-count {
    font-size: .72rem; font-weight: 700;
    color: #94a3b8;
    background: #f1f5f9;
    border-radius: 8px;
    padding: .1rem .45rem;
    min-width: 22px; text-align: center;
    flex-shrink: 0;
}
.dir-cat-btn.active .dir-cat-count { background: rgba(6,114,131,.15); color: #067283; }

/* CTA sidebar */
.dir-cta-card {
    background: linear-gradient(145deg, #0f172a, #1e293b);
    border: 1px solid rgba(6,114,131,.25);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    color: #fff;
}
.dir-cta-icon {
    width: 48px; height: 48px; border-radius: 14px;
    background: linear-gradient(135deg, #067283, #7c3aed);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: #fff;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 16px rgba(6,114,131,.35);
}
.dir-cta-card .fw-700 { color: #fff; }
.dir-cta-card .text-muted { color: rgba(255,255,255,.55) !important; }

/* ── Store card (SDC = Store Directory Card) ── */
.store-card-link { text-decoration: none; color: inherit; display: block; }
.store-card-link:hover { color: inherit; }

.sdc {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    border: 1.5px solid #e8edf3;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s;
    height: 100%;
    display: flex; flex-direction: column;
    position: relative;
}
.store-card-link:hover .sdc {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0,0,0,.13);
    border-color: #d1d9e6;
}

/* Cover */
.sdc-cover {
    height: 130px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}
.sdc-cover-img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}
.sdc-cover-bg-icon {
    position: absolute;
    right: 1rem; bottom: -.5rem;
    font-size: 6rem;
    color: rgba(255,255,255,.18);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}
.sdc-type-chip {
    position: absolute;
    top: .75rem; left: .75rem;
    font-size: .68rem; font-weight: 700;
    padding: .28rem .75rem;
    border-radius: 20px;
    background: rgba(0,0,0,.35);
    color: #fff;
    border: 1px solid rgba(255,255,255,.25);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    letter-spacing: .02em;
    z-index: 2;
}

/* Body */
.sdc-body {
    padding: 0 1.1rem 1rem;
    flex: 1; display: flex; flex-direction: column;
    position: relative;
}

/* Logo flotante */
.sdc-logo-wrap {
    width: 64px; height: 64px;
    border-radius: 18px;
    border: 3px solid #fff;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,.14);
    margin-top: -32px; /* se mete sobre la portada */
    margin-bottom: .75rem;
    position: relative;
    z-index: 3;
    flex-shrink: 0;
    background: #fff;
}
.sdc-logo-img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.sdc-logo-letter {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.75rem; font-weight: 900; color: #fff;
    letter-spacing: -.02em;
}

/* Info */
.sdc-info { flex: 1; }
.sdc-name {
    font-size: 1rem; font-weight: 800;
    color: #0f172a; margin-bottom: .25rem;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sdc-city {
    font-size: .76rem; font-weight: 500; color: #64748b;
    display: flex; align-items: center; gap: .3rem;
    margin-bottom: .5rem;
}
.sdc-city i { color: #94a3b8; font-size: .7rem; }
.sdc-desc {
    font-size: .78rem; color: #64748b; line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
    margin: 0 0 .75rem;
}

/* Footer */
.sdc-footer {
    display: flex; align-items: center; justify-content: space-between;
    border-top: 1px solid #f1f5f9;
    padding-top: .75rem; margin-top: auto;
    flex-wrap: wrap; gap: .35rem;
}
.sdc-delivery-chip {
    font-size: .7rem; font-weight: 700; border-radius: 20px;
    padding: .15rem .55rem; display: inline-flex; align-items: center; gap: .2rem;
    white-space: nowrap;
}
.sdc-chip-pickup {
    background: #fef3c7; color: #92400e;
}
.sdc-chip-free {
    background: #d1fae5; color: #065f46;
}
.sdc-products {
    font-size: .76rem; font-weight: 600; color: #94a3b8;
    display: flex; align-items: center; gap: .35rem;
}
.sdc-products i { font-size: .78rem; }
.sdc-cta {
    font-size: .78rem; font-weight: 700; color: #067283;
    display: flex; align-items: center; gap: .3rem;
    transition: gap .2s;
}
.store-card-link:hover .sdc-cta { gap: .5rem; }
.sdc-cta i { font-size: .75rem; }

/* Empty state */
.dir-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 420px;
    padding: 4rem 2rem;
}
.dir-empty-icon {
    width: 88px; height: 88px; border-radius: 26px;
    background: linear-gradient(135deg,rgba(6,114,131,.1),rgba(6,114,131,.05));
    border: 1.5px dashed rgba(6,114,131,.25);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.2rem; color: #067283;
    margin: 0 auto;
}

/* Content wrapper — keeps footer at the bottom */
.dir-content-wrap { min-height: calc(100vh - 260px); }

/* Backward compat */
.store-dir-card { display: none; }
.store-dir-body { display: none; }
.store-dir-footer { display: none; }

/* ============================================================
   RESPONSIVE EXTRAS
   ============================================================ */
@media (max-width: 768px) {
    .hero-mesh { padding-top: 80px; }
    .phone-frame { width: 220px; }
    .phone-screen { min-height: 320px; }
    .steps-flow { flex-direction: column; align-items: center; gap: 1.5rem; }
    .step-connector { display: none; }
    .price-featured-v2 { transform: scale(1); }
    .howto-step { padding: 2.5rem 0; }
    .howto-share-ideas { grid-template-columns: repeat(2,1fr); }
    .featured-testimonial { transform: scale(1); }
}
@media (max-width: 576px) {

    .hero-gradient-text { font-size: 2.5rem; }
    .howto-share-ideas { grid-template-columns: 1fr 1fr; }
    .store-logo-wrap { width: 48px; height: 48px; bottom: -24px; }
}

/* ============================================================
   NAV — ACTIVE LINK INDICATOR + BETTER HOVER
   ============================================================ */
.nav-link-landing {
    position: relative;
}
.nav-link-landing::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #60a5fa, #a78bfa);
    border-radius: 2px;
    transition: width .25s ease;
}
.nav-link-landing:hover::after,
.nav-link-landing.active::after {
    width: calc(100% - 1.6rem);
}
.nav-link-landing.active { color: #fff !important; }

/* ============================================================
   PWA INSTALL BUTTON (navbar)
   ============================================================ */
.btn-pwa-install {
    background: rgba(96, 165, 250, .12);
    border: 1px solid rgba(96, 165, 250, .35);
    color: #93c5fd;
    border-radius: 20px;
    padding: .3rem .85rem;
    font-size: .78rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: .4rem;
    transition: all .2s;
    cursor: pointer;
    white-space: nowrap;
}
.btn-pwa-install:hover {
    background: rgba(96, 165, 250, .22);
    color: #dbeafe;
    border-color: rgba(96, 165, 250, .6);
    transform: translateY(-1px);
}

/* ============================================================
   PRICING — FREE TIER CARD
   ============================================================ */
.price-free-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #059669, #10b981);
    color: #fff;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .28rem .9rem;
    border-radius: 0 0 14px 14px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(5,150,105,.35);
}
.price-free.price-card-v2 {
    border-color: rgba(16,185,129,.35);
    padding-top: 2.2rem;
}
.price-free.price-card-v2:hover {
    border-color: rgba(16,185,129,.6);
    box-shadow: 0 20px 40px rgba(16,185,129,.13);
}
.price-free .price-big {
    background: linear-gradient(135deg, #059669, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.4rem;
}

/* ============================================================
   HOW IT WORKS — AUDIENCE NAVIGATION BUTTONS
   ============================================================ */
.howto-audience-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .65rem 1.8rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: .9rem;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all .2s;
}
.howto-audience-btn:hover { text-decoration: none; opacity: .88; transform: translateY(-1px); }
.howto-audience-btn.btn-buyers {
    border-color: #067283;
    color: #067283;
    background: rgba(6,114,131,.1);
}
.howto-audience-btn.btn-sellers {
    border-color: #059669;
    color: #059669;
    background: rgba(5,150,105,.1);
}

/* ============================================================
   HOW IT WORKS — BUYER STEP CARDS
   ============================================================ */
.buyer-step-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
    height: 100%;
    transition: transform .2s, box-shadow .2s;
    position: relative;
    overflow: hidden;
}
.buyer-step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(6,114,131,.1);
}
.buyer-step-num {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    font-size: 3.5rem;
    font-weight: 900;
    color: #067283;
    opacity: .07;
    line-height: 1;
}
.buyer-step-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}
.buyer-step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 1.4rem;
}

/* ============================================================
   HOW IT WORKS — SECTION TAGS + DIVIDER
   ============================================================ */
.howto-section-tag {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #eff6ff;
    color: #067283;
    border: 1px solid #bfdbfe;
    border-radius: 30px;
    padding: .4rem 1.2rem;
    font-weight: 700;
    font-size: .85rem;
    letter-spacing: .02em;
}
.howto-section-tag.tag-green {
    background: #f0fdf4;
    color: #059669;
    border-color: #a7f3d0;
}
.howto-divider {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: #94a3b8;
    font-weight: 600;
    font-size: .85rem;
    letter-spacing: .03em;
    text-transform: uppercase;
}
.howto-divider::before,
.howto-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, #e2e8f0, transparent);
}



/* ============================================================
   PRICING - PROGRESSIVE PLAN TIMELINE
   ============================================================ */
.pplan-timeline {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    position: relative;
    margin: 3rem auto 0;
    max-width: 960px;
}
.pplan-track {
    position: absolute;
    top: 28px;
    left: calc(16.6% + 18px);
    right: calc(16.6% + 18px);
    height: 3px;
    background: linear-gradient(90deg, #059669, #067283, #055f6e);
    border-radius: 4px;
    z-index: 0;
}
.pplan-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 0 .75rem;
}
.pplan-dot {
    width: 56px; height: 56px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0,0,0,.15);
    margin-bottom: 1.5rem;
}
.pplan-dot-free  { background: linear-gradient(135deg, #059669, #10b981); }
.pplan-dot-mid   { background: linear-gradient(135deg, #067283, #0891b2); }
.pplan-dot-full  { background: linear-gradient(135deg, #044f5c, #067283); }

.pplan-card {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    width: 100%;
    transition: box-shadow .2s, border-color .2s;
    position: relative;
}
.pplan-card:hover { box-shadow: 0 8px 28px rgba(6,114,131,.1); border-color: #b2d8dc; }
.pplan-card-free  { border-color: rgba(16,185,129,.35); }
.pplan-card-mid   { border-color: rgba(6,114,131,.4); box-shadow: 0 8px 28px rgba(6,114,131,.12); }

.pplan-badge-top {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, #067283, #044f5c);
    color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .06em;
    padding: .28rem 1rem; border-radius: 20px; text-transform: uppercase; white-space: nowrap;
}
.pplan-phase {
    font-size: .72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .1em; color: #64748b; margin-bottom: .4rem;
}
.pplan-price {
    font-size: 2.1rem; font-weight: 800; color: #0f172a; line-height: 1;
}
.pplan-price-free {
    background: linear-gradient(135deg, #059669, #10b981);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.pplan-price-note {
    font-size: .78rem; color: #64748b; margin: .3rem 0 1rem;
}
.pplan-off {
    display: inline-block; background: rgba(239,68,68,.12); color: #dc2626;
    font-size: .7rem; font-weight: 700; border-radius: 8px;
    padding: .1rem .45rem; margin-left: .25rem; vertical-align: middle;
}
.pplan-desc {
    font-size: .83rem; color: #475569; line-height: 1.55; margin: 0;
}

/* Includes row */
.pplan-includes {
    margin-top: 2.5rem;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    padding: 1.75rem 2rem;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}
.pplan-includes-title {
    font-size: .8rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .08em; color: #64748b; margin-bottom: 1.1rem; text-align: center;
}
.pplan-includes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .6rem 1.5rem;
}
.pplan-includes-grid span {
    display: flex; align-items: center; gap: .45rem;
    font-size: .85rem; color: #334155; font-weight: 500;
}
.pplan-includes-grid span i { color: #067283; font-size: .85rem; flex-shrink: 0; }

@media (max-width: 767px) {
    .pplan-timeline { flex-direction: column; align-items: stretch; gap: 1rem; }
    .pplan-track { display: none; }
    .pplan-step { padding: 0; flex-direction: row; align-items: flex-start; gap: 1rem; }
    .pplan-dot { margin-bottom: 0; width: 44px; height: 44px; font-size: 1rem; flex-shrink: 0; margin-top: .25rem; }
    .pplan-card { text-align: left; padding: 1.25rem; }
    .pplan-includes-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .pplan-includes-grid { grid-template-columns: 1fr; }
}

/* ── Plan único card ── */
.pplan-single-card {
    background: #fff;
    border: 2px solid rgba(6,114,131,.3);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 12px 40px rgba(6,114,131,.12);
    position: relative;
    overflow: hidden;
}
.pplan-single-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 5px;
    background: linear-gradient(90deg, #059669, #067283, #044f5c);
    border-radius: 24px 24px 0 0;
}
.pplan-single-badge {
    display: inline-block;
    background: linear-gradient(135deg, #059669, #067283);
    color: #fff; font-size: .72rem; font-weight: 700;
    letter-spacing: .07em; text-transform: uppercase;
    padding: .3rem 1.1rem; border-radius: 20px;
    margin-bottom: 1.5rem;
}
.pplan-single-header { margin-bottom: .5rem; }
.pplan-single-trial {
    font-size: 1rem; font-weight: 700; color: #059669;
    background: rgba(16,185,129,.1); border-radius: 12px;
    display: inline-block; padding: .4rem 1.2rem;
    margin-bottom: .75rem;
}
.pplan-single-then {
    font-size: .78rem; font-weight: 600; color: #94a3b8;
    text-transform: uppercase; letter-spacing: .08em; margin-bottom: .25rem;
}
.pplan-single-price {
    font-size: 3.5rem; font-weight: 900; color: #0f172a; line-height: 1;
}
.pplan-single-price sup {
    font-size: 1.5rem; font-weight: 800; vertical-align: super; margin-right: .1rem;
}
.pplan-single-period {
    font-size: 1.1rem; font-weight: 600; color: #475569;
}
.pplan-single-note {
    font-size: .82rem; color: #64748b; margin-top: .4rem;
}

/* ── Store card wrapper (para posicionar botón compartir) ── */
.store-card-wrap {
    position: relative;
}

/* ── Botón compartir ── */
.sdc-share-btn {
    position: absolute;
    top: .6rem; right: .6rem;
    z-index: 10;
    width: 34px; height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.92);
    color: #475569;
    font-size: .82rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
    transition: background .15s, color .15s, transform .15s, box-shadow .15s;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.sdc-share-btn:hover,
.sdc-share-btn:active {
    background: #067283;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 14px rgba(6,114,131,.35);
}

/* ── Toast feedback ── */
.share-toast {
    position: fixed;
    bottom: 1.5rem; left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #1e293b;
    color: #fff;
    padding: .55rem 1.2rem;
    border-radius: 24px;
    font-size: .85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s, transform .22s;
    z-index: 9999;
    box-shadow: 0 4px 18px rgba(0,0,0,.25);
}
.share-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ================================================
   HERO — Barra acceso comprador
   ================================================ */
.hero-buyer-bar {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.hero-buyer-link {
    display: inline-flex;
    align-items: center;
    font-size: .875rem;
    font-weight: 600;
    color: rgba(255,255,255,.85);
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    padding: .35rem .9rem;
    border-radius: 999px;
    text-decoration: none;
    transition: background .15s, color .15s;
}
.hero-buyer-link:hover {
    background: rgba(255,255,255,.15);
    color: #fff;
}

/* ================================================
   SECCIÓN PARA COMPRADORES
   ================================================ */
.buyer-section { overflow: hidden; }

.buyer-card {
    background: linear-gradient(135deg, #f0fafb 0%, #f8fafc 60%, #eef2ff 100%);
    border: 1.5px solid #e2e8f0;
    border-radius: 28px;
    padding: 3rem;
    display: flex;
    align-items: center;
    gap: 3rem;
    box-shadow: 0 4px 24px rgba(6,114,131,.07);
}
.buyer-text { flex: 1; min-width: 0; }

/* Pills de categorías */
.buyer-cats {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}
.buyer-cat-pill {
    display: inline-flex;
    align-items: center;
    padding: .35rem .85rem;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
    border: 1.5px solid #e2e8f0;
    color: #475569;
    background: #fff;
    text-decoration: none;
    transition: all .15s;
}
.buyer-cat-pill:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(6,114,131,.05);
    transform: translateY(-1px);
}
.buyer-cat-more { color: var(--accent); border-color: rgba(6,114,131,.3); }

/* Visual decorativa lado derecho */
.buyer-visual {
    position: relative;
    width: 260px;
    height: 260px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.buyer-visual-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(6,114,131,.15);
}
.buyer-ring-1 { width: 220px; height: 220px; }
.buyer-ring-2 { width: 160px; height: 160px; border-color: rgba(6,114,131,.25); }
.buyer-visual-center {
    width: 90px;
    height: 90px;
    border-radius: 24px;
    background: linear-gradient(135deg, #067283, #055f6e);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
    box-shadow: 0 8px 32px rgba(6,114,131,.35);
    z-index: 1;
}

/* Tarjetitas flotantes */
.buyer-float-card {
    position: absolute;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: .4rem .8rem;
    font-size: .75rem;
    font-weight: 600;
    color: #334155;
    display: flex;
    align-items: center;
    gap: .3rem;
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
    white-space: nowrap;
    z-index: 2;
}
.buyer-fc-1 { top: 10px;  left: -10px; }
.buyer-fc-2 { bottom: 30px; right: -15px; }
.buyer-fc-3 { bottom: 10px; left: 0px; }
.bfc-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.bfc-green { background: #16a34a; box-shadow: 0 0 0 3px rgba(22,163,74,.2); }
.text-accent { color: var(--accent) !important; }

/* Responsive */
@media (max-width: 991px) {
    .buyer-card { flex-direction: column; padding: 2rem; gap: 2rem; }
    .buyer-visual { width: 200px; height: 200px; }
    .buyer-ring-1 { width: 180px; height: 180px; }
    .buyer-ring-2 { width: 130px; height: 130px; }
}
@media (max-width: 575px) {
    .buyer-card { padding: 1.5rem; border-radius: 20px; }
    .buyer-visual { display: none; }
    .hero-buyer-bar { flex-direction: column; align-items: flex-start; gap: .4rem; }
}

/* ============================================================
   BUYER STEPS — Rediseño vertical moderno
   ============================================================ */
.buyer-section {
    background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 60%);
}

/* Wrapper vertical */
.buyer-steps-wrapper {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Cada fila de paso */
.bstep {
    display: flex;
    gap: 1.5rem;
    align-items: stretch;
}

/* Columna izquierda: número + línea */
.bstep-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 52px;
}
.bstep-num-wrap {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1d4ed8, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(29,78,216,.35);
    flex-shrink: 0;
    z-index: 1;
}
.bstep-num-wrap--purple { background: linear-gradient(135deg, #7c3aed, #a855f7); box-shadow: 0 4px 16px rgba(124,58,237,.35); }
.bstep-num-wrap--green  { background: linear-gradient(135deg, #059669, #10b981); box-shadow: 0 4px 16px rgba(5,150,105,.35); }

.bstep-num {
    font-size: 1.25rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.bstep-line {
    flex: 1;
    width: 3px;
    background: linear-gradient(to bottom, #bfdbfe, #e2e8f0);
    border-radius: 2px;
    margin: .5rem 0;
    min-height: 2rem;
}

/* Texto + visual */
.bstep-body {
    flex: 1;
    padding-bottom: 1.75rem;
    min-width: 0;
}
.bstep--last .bstep-body { padding-bottom: 0; }

/* Card del paso */
.bstep-card {
    border-radius: 20px;
    border: 1.5px solid #e2e8f0;
    overflow: hidden;
    display: flex;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.bstep-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,.1);
}

.bstep-card--blue   { border-color: #bfdbfe; background: linear-gradient(135deg, #fff 70%, #eff6ff 100%); }
.bstep-card--purple { border-color: #ddd6fe; background: linear-gradient(135deg, #fff 70%, #f5f3ff 100%); }
.bstep-card--green  { border-color: #a7f3d0; background: linear-gradient(135deg, #fff 70%, #f0fdf4 100%); }

.bstep-card-inner {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    min-width: 0;
}

.bstep-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.bstep-icon--blue   { background: #dbeafe; color: #1d4ed8; }
.bstep-icon--purple { background: #ede9fe; color: #7c3aed; }
.bstep-icon--green  { background: #d1fae5; color: #059669; }

.bstep-content { flex: 1; min-width: 0; }
.bstep-title {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: .5rem;
}
.bstep-desc {
    font-size: .875rem;
    color: #475569;
    line-height: 1.65;
    margin-bottom: .85rem;
}

/* Tags dispositivos */
.bstep-tags { display: flex; gap: .4rem; flex-wrap: wrap; }
.bstep-tag {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    border-radius: 20px;
    padding: .2rem .65rem;
    font-size: .72rem;
    font-weight: 600;
}

/* Highlight pill */
.bstep-highlight {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    border-radius: 10px;
    padding: .5rem .9rem;
    font-size: .8rem;
    font-weight: 600;
}
.bstep-highlight--purple { background: #f5f3ff; color: #6d28d9; border: 1px solid #ddd6fe; }
.bstep-highlight--green  { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }

/* Panel visual derecho de cada card */
.bstep-visual {
    width: 140px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem .75rem;
    gap: 1rem;
    border-left: 1px solid rgba(0,0,0,.05);
}
.bstep-visual--blue   { background: rgba(239,246,255,.7); }
.bstep-visual--purple { background: rgba(245,243,255,.7); }
.bstep-visual--green  { background: rgba(240,253,244,.7); }

.bstep-visual-icon {
    font-size: 2.5rem;
    line-height: 1;
    color: #1d4ed8;
    opacity: .85;
    animation: float-icon 3.5s ease-in-out infinite;
}
@keyframes float-icon {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-6px); }
}

.bstep-visual-lines { display: flex; flex-direction: column; gap: .4rem; width: 80%; }
.bvl {
    height: 6px;
    border-radius: 3px;
    background: rgba(29,78,216,.15);
}
.bvl-lg { width: 100%; }
.bvl-md { width: 75%; }
.bvl-sm { width: 50%; }

/* Mini products (step 2) */
.bstep-mini-products { display: flex; flex-direction: column; gap: .6rem; width: 100%; }
.bstep-mini-prod {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: #fff;
    border-radius: 10px;
    padding: .45rem .55rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.bmp-img {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    flex-shrink: 0;
}
.bmp-info { flex: 1; display: flex; flex-direction: column; gap: .3rem; }
.bmp-line {
    height: 5px;
    border-radius: 3px;
    background: #e2e8f0;
}
.bmp-line-lg { width: 100%; }
.bmp-line-sm { width: 55%; }
.bmp-qty {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: #7c3aed;
    color: #fff;
    font-size: .75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* WhatsApp bubble (step 3) */
.bstep-wa-bubble {
    background: #fff;
    border-radius: 14px;
    padding: .75rem .85rem;
    width: 100%;
    border: 1px solid #a7f3d0;
    box-shadow: 0 4px 16px rgba(5,150,105,.12);
}
.bwa-head {
    font-size: .72rem;
    font-weight: 800;
    color: #059669;
    margin-bottom: .45rem;
    display: flex;
    align-items: center;
    gap: .3rem;
}
.bwa-line {
    height: 1px;
    background: #e2e8f0;
    margin: .4rem 0;
}
.bwa-row {
    display: flex;
    justify-content: space-between;
    font-size: .72rem;
    margin-bottom: .2rem;
}
.bwa-label { color: #94a3b8; }
.bwa-val { color: #0f172a; font-weight: 600; }
.bwa-price { color: #059669; font-weight: 800; }
.bwa-tick {
    text-align: right;
    font-size: .65rem;
    color: #059669;
    margin-top: .35rem;
    font-weight: 700;
}

/* CTA banner al pie */
.buyer-cta-banner {
    background: linear-gradient(135deg, #0f172a 0%, #0c4a5e 100%);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    box-shadow: 0 8px 32px rgba(15,23,42,.25);
}
.buyer-cta-text {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.buyer-cta-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(6,114,131,.35);
    color: #67e8f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}
.text-white-70 { color: rgba(255,255,255,.7) !important; }

/* Responsive buyer steps */
@media (max-width: 575px) {
    .bstep-visual { display: none; }
    .bstep-card-inner { padding: 1.1rem; gap: .75rem; }
    .bstep-icon-wrap { width: 40px; height: 40px; font-size: 1.15rem; border-radius: 11px; }
    .bstep-left { width: 40px; }
    .bstep-num-wrap { width: 40px; height: 40px; }
    .bstep-num { font-size: 1rem; }
    .buyer-cta-banner { padding: 1.25rem; }
    .buyer-cta-text .buyer-cta-icon { display: none; }
}

/* ================================================================
   CÓMO FUNCIONA — Para Negocios — Rediseño moderno v2
   ================================================================ */

/* ── Zona wrapper ── */
.bizsteps-zone {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 30%, #f8fafc 70%, #f0fdf4 100%);
    position: relative;
}

/* ── Step progress track ── */
.biz-ptrack {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 560px;
    margin: 2rem auto 0;
    gap: 0;
}
.bpt-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    flex-shrink: 0;
}
.bpt-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    transition: transform .25s, box-shadow .25s;
    cursor: default;
}
.bpt-circle:hover { transform: scale(1.12); }
.bpt-c--green  { background: linear-gradient(135deg, #16a34a, #4ade80); box-shadow: 0 4px 16px rgba(22,163,74,.40); }
.bpt-c--blue   { background: linear-gradient(135deg, #1d4ed8, #60a5fa); box-shadow: 0 4px 16px rgba(59,130,246,.40); }
.bpt-c--purple { background: linear-gradient(135deg, #7c3aed, #c084fc); box-shadow: 0 4px 16px rgba(139,92,246,.40); }
.bpt-c--teal   { background: linear-gradient(135deg, #0f766e, #34d399); box-shadow: 0 4px 16px rgba(20,184,166,.40); }
.bpt-label {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .03em;
    color: #64748b;
    text-align: center;
    white-space: nowrap;
}
.bpt-conn {
    flex: 1;
    height: 3px;
    border-radius: 2px;
    margin-bottom: 1.35rem;
    min-width: 20px;
}
.bpt-conn--green  { background: linear-gradient(90deg, #4ade80, #60a5fa); }
.bpt-conn--blue   { background: linear-gradient(90deg, #60a5fa, #c084fc); }
.bpt-conn--purple { background: linear-gradient(90deg, #c084fc, #34d399); }

/* ── Fondo alternado de pasos ── */
.bizstep-alt  { background: #f8fafc !important; }
.bizstep-mint { background: #f0fdf4 !important; }

/* ── Paneles visuales más vibrantes ── */
.howto-visual {
    box-shadow: 0 12px 40px rgba(0,0,0,.09) !important;
    transition: transform .3s ease, box-shadow .3s ease;
}
.howto-visual:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 56px rgba(0,0,0,.13) !important;
}
.step-visual-green {
    background: linear-gradient(145deg, #dcfce7 0%, #f0fdf4 100%) !important;
    border: 1.5px solid rgba(22,163,74,.22) !important;
}
.step-visual-blue {
    background: linear-gradient(145deg, #dbeafe 0%, #eff6ff 100%) !important;
    border: 1.5px solid rgba(59,130,246,.2) !important;
}
.step-visual-purple {
    background: linear-gradient(145deg, #ede9fe 0%, #faf5ff 100%) !important;
    border: 1.5px solid rgba(139,92,246,.22) !important;
}
.step-visual-green2 {
    background: linear-gradient(145deg, #ccfbf1 0%, #f0fdfa 100%) !important;
    border: 1.5px solid rgba(20,184,166,.22) !important;
}

/* ── Íconos grandes en paneles ── */
.howto-icon-big {
    background: rgba(255,255,255,.85) !important;
    box-shadow: 0 4px 18px rgba(0,0,0,.1) !important;
    border: 1.5px solid rgba(255,255,255,.9) !important;
    border-radius: 22px !important;
    transition: transform .25s;
}
.howto-icon-big:hover { transform: scale(1.08) rotate(-4deg); }
.step-visual-green  .howto-icon-big { color: #16a34a !important; }
.step-visual-blue   .howto-icon-big { color: #1d4ed8 !important; }
.step-visual-purple .howto-icon-big { color: #7c3aed !important; }
.step-visual-green2 .howto-icon-big { color: #0f766e !important; }

/* ── Checklist items mejorados ── */
.howto-check {
    background: rgba(255,255,255,.78);
    border-radius: 10px;
    padding: .5rem .85rem;
    border: 1px solid rgba(255,255,255,.65);
    transition: all .2s;
    font-size: .88rem;
}
.howto-check:hover {
    background: rgba(255,255,255,.98);
    box-shadow: 0 3px 10px rgba(0,0,0,.07);
}
.howto-check::before { display: none; }
.howto-check i.bi-check-circle-fill {
    color: #16a34a;
    font-size: .95rem;
    flex-shrink: 0;
    margin-top: .05rem;
}

/* ── Número de paso decorativo ── */
.howto-step-num { opacity: .07; }

/* ── Label de paso — ahora badge estático ── */
.howto-step-label {
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: .35rem !important;
    margin-bottom: .85rem !important;
    font-size: .7rem !important;
    font-weight: 800 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    padding: .38rem 1rem !important;
    border-radius: 20px !important;
}
.step-green-label  { background: rgba(22,163,74,.13);  color: #15803d; }
.step-blue-label   { background: rgba(29,78,216,.10);  color: #1d4ed8; }
.step-purple-label { background: rgba(124,58,237,.10); color: #7c3aed; }

/* ── Lista de beneficios ── */
.howto-list li {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    background: #f8fafc;
    border-radius: 12px;
    padding: .8rem 1rem;
    border: 1px solid #e2e8f0;
    transition: all .2s;
}
.howto-list li:hover {
    background: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,.07);
    border-color: #bfdbfe;
}
.howto-list li i { flex-shrink: 0; margin-top: .15rem; }

/* ── Mini tarjetas de productos (paso 2) ── */
.howto-mini-card {
    box-shadow: 0 2px 12px rgba(0,0,0,.08) !important;
    border: 1.5px solid rgba(255,255,255,.75) !important;
    transition: transform .2s, box-shadow .2s;
}
.howto-mini-card:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 18px rgba(0,0,0,.1) !important;
}

/* ── Feature mini cards (paso 2) ── */
.howto-feature-mini {
    background: rgba(255,255,255,.92) !important;
    border-radius: 16px !important;
    padding: 1.1rem 1rem !important;
    border: 1.5px solid rgba(255,255,255,.85) !important;
    box-shadow: 0 2px 12px rgba(0,0,0,.07) !important;
    transition: all .22s ease;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    height: 100%;
    text-align: left !important;
}
.howto-feature-mini:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0,0,0,.1) !important;
    border-color: rgba(59,130,246,.2) !important;
}
.howto-feature-mini i.bi { font-size: 1.2rem !important; }

/* ── Opciones de compartir (paso 3 visual) ── */
.howto-share-options {
    display: flex !important;
    flex-direction: column !important;
    gap: .45rem !important;
    text-align: left !important;
    margin-top: .75rem !important;
}
.share-option {
    display: flex !important;
    align-items: center !important;
    gap: .65rem !important;
    background: rgba(255,255,255,.82);
    border-radius: 10px;
    padding: .5rem .8rem !important;
    border: 1px solid rgba(255,255,255,.65);
    transition: all .18s;
    font-size: .78rem !important;
    color: #334155 !important;
}
.share-option:hover {
    background: #fff;
    transform: translateX(4px);
    box-shadow: 0 3px 10px rgba(0,0,0,.08);
}
.share-option i { font-size: 1rem; flex-shrink: 0; }

/* ── Ideas de compartir (paso 3 contenido) ── */
.share-idea {
    display: flex !important;
    align-items: center !important;
    gap: .75rem !important;
    text-align: left !important;
    transition: all .2s ease;
}
.share-idea:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,.1) !important;
}
.share-idea-icon {
    background: rgba(255,255,255,.9) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,.08) !important;
    flex-shrink: 0 !important;
}

/* ── Resultado items (paso 4) ── */
.howto-result-item {
    transition: all .2s ease;
}
.howto-result-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0,0,0,.09);
    background: #fff !important;
}

/* ── Sección admin showcase ── */
.admin-showcase-section {
    background: linear-gradient(180deg, #f9fafb 0%, #f1f5f9 100%);
}
.admin-showcase-section .section-badge {
    background: linear-gradient(135deg, rgba(6,114,131,.12), rgba(59,130,246,.08));
    color: var(--accent);
}

/* ── Admin feature cards mejoradas ── */
.af-card-v2 {
    border-radius: 20px !important;
    padding: 1.75rem 1.25rem !important;
    box-shadow: 0 2px 12px rgba(0,0,0,.05) !important;
    border-color: #e8edf2 !important;
}
.af-card-v2:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 18px 44px rgba(0,0,0,.1) !important;
    border-color: transparent !important;
}
.af-icon-v2 {
    border-radius: 18px !important;
    width: 60px !important;
    height: 60px !important;
    font-size: 1.5rem !important;
    box-shadow: 0 4px 14px rgba(0,0,0,.09) !important;
}

/* ── Admin panel mock mejorado ── */
.admin-panel-mock {
    box-shadow: 0 24px 72px rgba(0,0,0,.15) !important;
    border-color: #d1d9e0 !important;
    transform: perspective(1000px) rotateX(1deg);
    transition: transform .35s ease, box-shadow .35s ease;
}
.admin-panel-mock:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-4px);
    box-shadow: 0 32px 90px rgba(0,0,0,.18) !important;
}

/* ── Responsive progress track ── */
@media (max-width: 767px) {
    .biz-ptrack { max-width: 100%; }
    .bpt-conn { min-width: 16px; max-width: 50px; }
    .bpt-circle { width: 44px; height: 44px; font-size: .95rem; }
    .bpt-label { font-size: .65rem; }
}
@media (max-width: 480px) {
    .biz-ptrack { gap: .25rem; }
    .bpt-conn { min-width: 10px; max-width: 28px; }
    .bpt-circle { width: 38px; height: 38px; font-size: .85rem; }
    .bpt-label { display: none; }
}

/* =====================================================
   BLOG
   ===================================================== */

/* Hero del blog */
.blog-hero {
    background: linear-gradient(135deg, #0a0f1e 0%, #0d3a4a 100%);
    padding: 80px 0 60px;
}

/* Tarjetas del índice */
.blog-card-link { text-decoration: none; color: inherit; display: block; }
.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: transform .25s, box-shadow .25s;
    height: 100%;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.12); }
.blog-card-img {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.blog-card-ico { font-size: 3.5rem; color: rgba(255,255,255,.85); }
.blog-card-body { padding: 1.25rem 1.5rem 1.5rem; }
.blog-card-title { font-size: 1rem; font-weight: 700; margin: .5rem 0; line-height: 1.4; }
.blog-card-excerpt { font-size: .875rem; color: #6b7280; line-height: 1.6; }
.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    font-size: .8rem;
    color: #9ca3af;
}
.blog-read-more { color: #067283; font-weight: 600; }

/* Etiquetas */
.blog-tag {
    background: #e0f2f1;
    color: #067283;
    font-size: .75rem;
    font-weight: 700;
    padding: .2rem .65rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.blog-tag--purple { background: #ede9fe; color: #7c3aed; }
.blog-tag--red    { background: #fee2e2; color: #b91c1c; }

/* Banner CTA en el índice */
.blog-cta-banner {
    background: linear-gradient(135deg, #067283, #0d3a4a);
    color: #fff;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
}

/* =====================================================
   ARTÍCULOS DE BLOG
   ===================================================== */

.blog-breadcrumb { font-size: .85rem; }
.blog-breadcrumb a { color: #067283; text-decoration: none; }

.blog-article-hero {
    background: linear-gradient(135deg, var(--hero-color, #067283) 0%, #0a0f1e 100%);
    margin-top: 0;
    padding-top: 3rem;
}

.blog-content {
    max-width: 780px;
    padding-top: 2.5rem;
    padding-bottom: 2rem;
}

.blog-intro .lead { font-size: 1.2rem; color: #374151; line-height: 1.8; }
.blog-h2 { font-size: 1.5rem; font-weight: 800; margin: 2.5rem 0 1rem; color: #0a0f1e; }
.blog-h3 { font-size: 1.15rem; font-weight: 700; margin: 1.75rem 0 .75rem; color: #1f2937; }

/* Error cards (artículo 1) */
.blog-error-card {
    display: flex;
    gap: 1.25rem;
    background: #f9fafb;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid #067283;
}
.blog-error-num {
    font-size: 2rem;
    font-weight: 900;
    color: #067283;
    opacity: .3;
    min-width: 42px;
    line-height: 1;
}
.blog-solution { background: #f0fdf4; border-radius: 16px; padding: 1.75rem 2rem; margin: 2rem 0; }
.blog-conclusion { margin: 2rem 0; }
.blog-feature-list { list-style: none; padding: 0; }
.blog-feature-list li { padding: .35rem 0; font-size: .95rem; }

/* Tabla comparativa (artículo 2) */
.blog-compare-table { border-radius: 12px; overflow: hidden; border: 1px solid #e5e7eb; margin: 1.5rem 0; }
.blog-compare-header { display: grid; grid-template-columns: 1fr 1fr; font-weight: 700; font-size: .9rem; }
.blog-compare-row { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #e5e7eb; }
.blog-compare-col { padding: .85rem 1rem; font-size: .875rem; }
.blog-compare-col--bad  { background: #fff5f5; }
.blog-compare-col--good { background: #f0fdf4; }
.blog-compare-header .blog-compare-col--bad  { background: #fee2e2; }
.blog-compare-header .blog-compare-col--good { background: #dcfce7; }
.blog-feature-pill {
    background: #f3f4f6;
    border-radius: 10px;
    padding: .65rem 1rem;
    font-size: .875rem;
    font-weight: 500;
}

/* Matemáticas financieras (artículo 3) */
.blog-math-card { background: #f9fafb; border-radius: 16px; padding: 1.75rem; margin: 1.5rem 0; }
.blog-math-item { background: #fff; border-radius: 12px; padding: 1.25rem; text-align: center; border: 1px solid #e5e7eb; }
.blog-math-item--bad  { border-top: 3px solid #ef4444; }
.blog-math-item--good { border-top: 3px solid #22c55e; }
.blog-math-label { font-size: .8rem; color: #6b7280; margin-bottom: .4rem; }
.blog-math-value { font-size: 1.6rem; font-weight: 900; }
.blog-math-sub { font-size: .78rem; color: #9ca3af; margin-top: .3rem; }
.blog-model-card { background: #f0f9ff; border-radius: 16px; padding: 2rem; margin: 1.5rem 0; border: 1px solid #bae6fd; }
.blog-price-box { background: #fff; border-radius: 16px; padding: 2rem 1.5rem; border: 2px solid #067283; }
.blog-price-label { font-size: .85rem; color: #6b7280; text-transform: uppercase; letter-spacing: .05em; }
.blog-price-val { font-size: 3.5rem; font-weight: 900; color: #067283; line-height: 1; }
.blog-price-sub { font-size: .85rem; color: #374151; margin-top: .4rem; }

/* CTA dentro del artículo */
.blog-article-cta {
    background: linear-gradient(135deg, #067283, #0d3a4a);
    color: #fff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    margin: 2.5rem 0 2rem;
}
.blog-article-cta p { color: rgba(255,255,255,.75); }

/* Navegación entre artículos */
.blog-post-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0 2rem;
    border-top: 1px solid #e5e7eb;
    flex-wrap: wrap;
    gap: .75rem;
}
.blog-nav-back, .blog-nav-next {
    font-size: .9rem;
    font-weight: 600;
    color: #067283;
    text-decoration: none;
}
.blog-nav-back:hover, .blog-nav-next:hover { color: #045660; }

/* =====================================================
   POWERED BY LETTERA (footer de tiendas)
   ===================================================== */
.powered-by-lettera {
    background: #f9fafb;
    color: #9ca3af;
    font-size: .78rem;
    border-top: 1px solid #e5e7eb;
}
.powered-by-lettera a {
    color: #067283;
    text-decoration: none;
    font-weight: 600;
}
.powered-by-lettera a:hover { text-decoration: underline; }

/* ── PWA Install button ──────────────────────────────────────────── */
.btn-install-pwa {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .45rem 1rem;
    font-size: .82rem;
    font-weight: 600;
    color: #067283;
    background: rgba(6,114,131,.1);
    border: 1.5px solid rgba(6,114,131,.3);
    border-radius: 999px;
    transition: background .15s, border-color .15s;
    white-space: nowrap;
}
.btn-install-pwa:hover {
    background: rgba(6,114,131,.18);
    border-color: #067283;
    color: #067283;
}
.btn-install-pwa .bi { font-size: .9rem; }

/* ============================================================
   REVEAL — scroll-triggered animations (IntersectionObserver)
   ============================================================ */

/* Estado inicial: invisible + desplazado */
[class*="reveal"] {
    opacity: 0;
    will-change: opacity, transform;
    transition: opacity .55s cubic-bezier(.4,0,.2,1),
                transform .55s cubic-bezier(.4,0,.2,1);
}

/* Variantes de dirección */
.reveal,
.reveal-up    { transform: translateY(30px); }
.reveal-down  { transform: translateY(-24px); }
.reveal-left  { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }
.reveal-scale { transform: scale(.94); }
.reveal-none  { transform: none; opacity: 0; }

/* Estado visible — disparado por JS */
[class*="reveal"].is-visible {
    opacity: 1;
    transform: none;
}

/* Delays escalonados para grupos de hijos */
.reveal-group > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .5s cubic-bezier(.4,0,.2,1),
                transform .5s cubic-bezier(.4,0,.2,1);
}
.reveal-group.is-visible > *:nth-child(1)  { opacity:1; transform:none; transition-delay:.03s; }
.reveal-group.is-visible > *:nth-child(2)  { opacity:1; transform:none; transition-delay:.11s; }
.reveal-group.is-visible > *:nth-child(3)  { opacity:1; transform:none; transition-delay:.19s; }
.reveal-group.is-visible > *:nth-child(4)  { opacity:1; transform:none; transition-delay:.27s; }
.reveal-group.is-visible > *:nth-child(5)  { opacity:1; transform:none; transition-delay:.35s; }
.reveal-group.is-visible > *:nth-child(6)  { opacity:1; transform:none; transition-delay:.43s; }
.reveal-group.is-visible > *:nth-child(n+7){ opacity:1; transform:none; transition-delay:.50s; }

/* Delays manuales */
.reveal-d1 { transition-delay:.08s !important; }
.reveal-d2 { transition-delay:.16s !important; }
.reveal-d3 { transition-delay:.26s !important; }
.reveal-d4 { transition-delay:.38s !important; }

/* Skeleton shimmer */
.skeleton {
    background: linear-gradient(90deg,#f1f5f9 25%,#e2e8f0 50%,#f1f5f9 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
    border-radius: 8px;
    color: transparent !important;
    pointer-events: none;
    user-select: none;
}
.skeleton * { visibility: hidden; }

/* Imagen lazy: shimmer hasta que carga */
img[loading="lazy"]:not(.loaded) {
    background: linear-gradient(90deg,#f1f5f9 25%,#e2e8f0 50%,#f1f5f9 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
}
img[loading="lazy"].loaded {
    background: none;
    animation: none;
    transition: opacity .35s ease;
}

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

/* Respetar prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    [class*="reveal"],
    .reveal-group > * { opacity:1; transform:none; transition:none; }
    .skeleton,
    img[loading="lazy"]:not(.loaded) { animation:none; }
}

/* ── Carrito: badge solo retiro ── */
.pickup-only-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    background: #fef3c7; color: #92400e;
    border: 1.5px solid #fcd34d;
    border-radius: 10px; padding: .55rem 1rem;
    font-size: .9rem; font-weight: 600;
}

/* ══════════════════════════════════════════════════════════════
   DIRECTORIO — Tabs + Geo + Vitrina
══════════════════════════════════════════════════════════════ */

/* ── Tab switcher bar ── */
.dir-tabs-wrapper {
    background: #fff;
    border-bottom: 1.5px solid #e8eef3;
    position: sticky; top: 64px; z-index: 90;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.dir-tabs-bar {
    display: flex; gap: 0; padding: 0;
}
.dir-tab {
    background: none; border: none; outline: none;
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .9rem 1.5rem;
    font-size: .88rem; font-weight: 600; color: #64748b;
    cursor: pointer; border-bottom: 3px solid transparent;
    transition: color .2s, border-color .2s;
    white-space: nowrap;
}
.dir-tab:hover { color: #067283; }
.dir-tab-active {
    color: #067283 !important;
    border-bottom-color: #067283 !important;
}
.dir-tab-count {
    background: #f1f5f9; color: #64748b;
    border-radius: 20px; padding: .1rem .5rem;
    font-size: .72rem; font-weight: 700;
}
.dir-tab-active .dir-tab-count {
    background: #e0f2f4; color: #067283;
}

/* ── Geolocalización ── */
.dir-geo-bar { line-height: 1; }
.dir-geo-btn {
    background: rgba(255,255,255,.18); border: 1.5px solid rgba(255,255,255,.45);
    color: #fff; border-radius: 20px; padding: .35rem 1rem;
    font-size: .8rem; font-weight: 600; cursor: pointer;
    display: inline-flex; align-items: center; gap: .3rem;
    transition: background .2s, border-color .2s;
}
.dir-geo-btn:hover, .dir-geo-btn.dir-geo-active {
    background: rgba(255,255,255,.3);
    border-color: rgba(255,255,255,.8);
}
.dir-geo-btn:disabled { opacity: .7; cursor: default; }
.dir-geo-clear {
    font-size: .77rem; color: rgba(255,255,255,.75);
    text-decoration: none; display: inline-flex; align-items: center; gap: .25rem;
}
.dir-geo-clear:hover { color: #fff; }
@keyframes dir-spin { to { transform: rotate(360deg); } }
.dir-spin { display: inline-block; animation: dir-spin .7s linear infinite; }

/* ── Tarjetas de vitrina (pfc = product feed card) ── */
.pfc-link {
    display: block; text-decoration: none; color: inherit;
    border-radius: 14px; overflow: hidden;
    transition: transform .18s, box-shadow .18s;
}
.pfc-link:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,.13); }
.pfc {
    border-radius: 14px; overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 6px rgba(0,0,0,.07);
    height: 100%; display: flex; flex-direction: column;
}
.pfc-img {
    position: relative;
    aspect-ratio: 1 / 1;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.pfc-photo {
    width: 100%; height: 100%; object-fit: cover;
    position: absolute; inset: 0;
}
.pfc-placeholder-icon {
    font-size: 2.2rem; color: rgba(255,255,255,.55);
}
.pfc-price {
    position: absolute; bottom: .5rem; right: .5rem;
    background: rgba(0,0,0,.55); backdrop-filter: blur(4px);
    color: #fff; border-radius: 8px;
    padding: .2rem .55rem; font-size: .82rem; font-weight: 800;
}
.pfc-body {
    padding: .7rem .75rem .65rem;
    display: flex; flex-direction: column; gap: .35rem;
    flex: 1;
}
.pfc-name {
    font-size: .82rem; font-weight: 700; color: #1e293b;
    margin: 0; line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.pfc-store {
    display: flex; align-items: center; gap: .35rem;
    margin-top: auto;
}
.pfc-store-logo {
    width: 20px; height: 20px; border-radius: 50%;
    object-fit: cover; flex-shrink: 0;
    border: 1px solid #e2e8f0;
}
.pfc-store-letter {
    width: 20px; height: 20px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; font-size: .65rem; font-weight: 800;
    flex-shrink: 0;
}
.pfc-store-name {
    font-size: .72rem; font-weight: 600; color: #475569;
    flex: 1; min-width: 0;
}
.pfc-city {
    font-size: .66rem; color: #94a3b8;
    display: inline-flex; align-items: center; gap: .15rem;
    white-space: nowrap; flex-shrink: 0;
}
.pfc-city i { font-size: .6rem; }

/* Subscription styles moved to admin.css */

/* ══════════════════════════════════════════════════════════════
   CARTA PRESENCIAL (Mesa)
══════════════════════════════════════════════════════════════ */

/* Top bar fijo */
.mesa-topbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 200;
    background: #fff; border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.mesa-topbar-inner {
    max-width: 680px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: .65rem 1rem;
}
.mesa-table-badge {
    font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
    color: var(--accent); background: rgba(6,114,131,.1); border-radius: 20px;
    padding: .15rem .55rem; margin-top: .15rem; display: inline-block;
}
.mesa-cart-btn {
    position: relative; background: #0f172a; border: none; color: #fff;
    width: 42px; height: 42px; border-radius: 12px; font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    transition: background .15s;
}
.mesa-cart-btn:hover { background: #1e293b; }
.mesa-cart-count {
    position: absolute; top: -6px; right: -6px;
    background: var(--accent); color: #fff; border-radius: 50%;
    width: 18px; height: 18px; font-size: .62rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid #fff;
}

/* Category nav */
.mesa-cat-nav {
    position: sticky; top: 58px; z-index: 100;
    background: #fff; border-bottom: 1px solid #f1f5f9;
    display: flex; gap: .4rem; padding: .6rem 1rem; overflow-x: auto;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.mesa-cat-nav::-webkit-scrollbar { display: none; }
.mesa-cat-pill {
    white-space: nowrap; font-size: .78rem; font-weight: 600; color: #64748b;
    background: #f1f5f9; border: none; border-radius: 20px; padding: .3rem .85rem;
    cursor: pointer; transition: background .15s, color .15s;
    flex-shrink: 0;
}
.mesa-cat-pill:hover, .mesa-cat-pill.active {
    background: var(--accent); color: #fff;
}

/* Main content */
.mesa-content {
    max-width: 680px; margin: 0 auto;
    padding: 1rem 1rem 120px;
    margin-top: 58px; /* solo topbar fijo */
}
.mesa-content--with-nav { margin-top: 102px; } /* topbar 58px + cat-nav ~44px */
.mesa-section { margin-bottom: 1.5rem; }
.mesa-section-title {
    font-size: .72rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: .07em; color: #64748b;
    margin-bottom: .75rem; padding-bottom: .4rem;
    border-bottom: 1px solid #f1f5f9;
}

/* Product card */
.mesa-product-card {
    display: flex; gap: .75rem; align-items: flex-start;
    background: #fff; border-radius: 14px; padding: .9rem;
    margin-bottom: .55rem;
    border: 1.5px solid #f1f5f9;
    transition: border-color .15s, box-shadow .15s;
}
.mesa-product-card.mpc-in-cart {
    border-color: rgba(6,114,131,.25);
    box-shadow: 0 2px 12px rgba(6,114,131,.08);
}
.mpc-info { flex: 1; min-width: 0; }
.mpc-name { font-size: .9rem; font-weight: 700; color: #0f172a; margin-bottom: .15rem; }
.mpc-desc { font-size: .76rem; color: #94a3b8; margin-bottom: .35rem; line-height: 1.4; }
.mpc-price { font-size: .92rem; font-weight: 800; color: var(--accent); }
.mpc-right {
    display: flex; flex-direction: column; align-items: flex-end;
    gap: .5rem; flex-shrink: 0;
}
.mpc-img {
    width: 72px; height: 72px; border-radius: 10px; object-fit: cover;
    border: 1px solid #f1f5f9;
}
.mpc-qty-row {
    display: flex; align-items: center; gap: .3rem;
}
.mpc-qty-btn {
    width: 28px; height: 28px; border-radius: 8px; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: .85rem; font-weight: 700; transition: background .15s, transform .1s;
}
.mpc-minus { background: #f1f5f9; color: #64748b; }
.mpc-minus:hover { background: #e2e8f0; }
.mpc-plus  { background: var(--accent); color: #fff; }
.mpc-plus:hover  { background: #055f6e; transform: scale(1.05); }
.mpc-qty { min-width: 22px; text-align: center; font-size: .88rem; font-weight: 800; color: #0f172a; }

/* Floating bar */
.mesa-float-bar {
    position: fixed; bottom: 1.25rem; left: 50%; transform: translateX(-50%);
    width: calc(100% - 2rem); max-width: 460px; z-index: 150;
}
.mesa-float-btn {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    background: #0f172a; color: #fff; border: none; border-radius: 16px;
    padding: .9rem 1.25rem; font-size: .9rem; font-weight: 700; cursor: pointer;
    box-shadow: 0 6px 24px rgba(0,0,0,.25);
    transition: background .15s, transform .1s;
}
.mesa-float-btn:hover { background: #1e293b; transform: translateY(-1px); }
.mesa-float-total {
    font-weight: 900; font-size: 1rem; margin-left: auto;
    background: rgba(255,255,255,.15); padding: .2rem .6rem; border-radius: 8px;
}

/* Drawer overlay */
.mesa-drawer-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.45);
    z-index: 300; opacity: 0; pointer-events: none;
    transition: opacity .25s;
}
.mesa-drawer-overlay.open { opacity: 1; pointer-events: all; }

/* Drawer */
.mesa-drawer {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: #fff; border-radius: 24px 24px 0 0;
    z-index: 301; max-height: 90vh;
    display: flex; flex-direction: column;
    transform: translateY(100%);
    transition: transform .3s cubic-bezier(.32,.72,0,1);
    box-shadow: 0 -8px 40px rgba(0,0,0,.18);
}
.mesa-drawer.open { transform: translateY(0); }
.mesa-drawer-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.1rem 1.25rem .9rem; border-bottom: 1px solid #f1f5f9;
    flex-shrink: 0;
}
.mesa-drawer-body { flex: 1; overflow-y: auto; padding: .75rem 1.25rem; }
.mesa-drawer-footer {
    padding: .85rem 1.25rem 1.5rem; border-top: 1px solid #f1f5f9; flex-shrink: 0;
}

/* Drawer items */
.drawer-item {
    display: flex; align-items: center; gap: .75rem;
    padding: .6rem 0; border-bottom: 1px solid #f8fafc;
}
.drawer-item:last-child { border-bottom: none; }
.di-info { flex: 1; min-width: 0; }
.di-name  { font-size: .84rem; font-weight: 600; color: #0f172a; }
.di-price { font-size: .78rem; color: var(--accent); font-weight: 700; margin-top: .1rem; }
.di-controls { display: flex; align-items: center; gap: .3rem; flex-shrink: 0; }

/* Confirm button */
.mesa-confirm-btn {
    display: flex; align-items: center; justify-content: center;
    width: 100%; padding: .9rem; border: none; border-radius: 14px;
    background: var(--accent); color: #fff; font-size: .95rem; font-weight: 700;
    cursor: pointer; transition: background .2s, transform .1s;
    box-shadow: 0 4px 16px rgba(6,114,131,.35);
}
.mesa-confirm-btn:hover:not(:disabled) {
    background: #055f6e; transform: translateY(-1px);
}
.mesa-confirm-btn:disabled { opacity: .55; cursor: not-allowed; }

/* Success icon */
.mesa-success-icon {
    width: 56px; height: 56px; border-radius: 50%; background: #d1fae5;
    color: #16a34a; font-size: 1.5rem;
    display: flex; align-items: center; justify-content: center; margin: 0 auto;
}

/* Cocina admin CSS -> admin.css */
