/* /Components/Publico/AvisosFormulario.razor.rz.scp.css */
/* ══════════════════════════════════════════════════════════
   Avisos Público – Blazor scoped CSS
   Font: Inter · Primary: #0d59f2
   ══════════════════════════════════════════════════════════ */

/* ── Tokens ── */
.aviso-root[b-vy7yik18ll] {
    --primary: #0d59f2;
    --primary-dark: #0a47c2;
    --primary-light: #dbeafe;
    --white: #ffffff;
    --slate-50: #f8fafc;
    --slate-200: #e2e8f0;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-700: #334155;
    --slate-900: #0f172a;
    --green-500: #22c55e;
    --green-600: #16a34a;
    --red-500: #ef4444;

    font-family: 'Inter', system-ui, sans-serif;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: #f0f4ff;
    background-image:
        radial-gradient(ellipse 80% 60% at 50% -20%, rgba(13,89,242,.15), transparent),
        radial-gradient(ellipse 60% 50% at 80% 100%, rgba(99,102,241,.10), transparent);
    -webkit-font-smoothing: antialiased;
}

/* ── Card ── */
.aviso-card[b-vy7yik18ll] {
    background: var(--white);
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(13,89,242,.12), 0 4px 20px rgba(0,0,0,.06);
    width: 100%;
    max-width: 480px;
    overflow: hidden;
    animation: aviso-slideUp-b-vy7yik18ll .5s cubic-bezier(.22,1,.36,1);
}

@keyframes aviso-slideUp-b-vy7yik18ll {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Header ── */
.aviso-header[b-vy7yik18ll] {
    background: linear-gradient(135deg, var(--primary) 0%, #4f46e5 100%);
    padding: 2.5rem 2rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.aviso-header[b-vy7yik18ll]::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.15), transparent 60%);
    pointer-events: none;
}

.aviso-header-icon[b-vy7yik18ll] {
    width: 64px;
    height: 64px;
    background: rgba(255,255,255,.18);
    backdrop-filter: blur(8px);
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.aviso-header-icon .material-symbols-outlined[b-vy7yik18ll] {
    font-size: 32px;
    color: #fff;
}

.aviso-header h1[b-vy7yik18ll] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 .35rem;
    position: relative;
}

.aviso-header p[b-vy7yik18ll] {
    font-size: .875rem;
    color: rgba(255,255,255,.8);
    margin: 0;
    position: relative;
}

/* ── Body ── */
.aviso-body[b-vy7yik18ll] {
    padding: 2rem;
}

.aviso-field[b-vy7yik18ll] {
    margin-bottom: 1.25rem;
}

.aviso-field label[b-vy7yik18ll] {
    display: block;
    font-size: .8125rem;
    font-weight: 600;
    color: var(--slate-700);
    margin-bottom: .4rem;
    letter-spacing: .02em;
}

.aviso-field .req[b-vy7yik18ll] { color: var(--red-500); }

/* ── Inputs ── */
.aviso-input-wrap[b-vy7yik18ll] {
    position: relative;
}

.aviso-input-wrap .material-symbols-outlined[b-vy7yik18ll] {
    position: absolute;
    left: .85rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--slate-400);
    pointer-events: none;
    transition: color .2s;
}

.aviso-input-wrap input[b-vy7yik18ll],
.aviso-input-wrap textarea[b-vy7yik18ll] {
    width: 100%;
    padding: .7rem .85rem .7rem 2.75rem;
    font-size: .9375rem;
    font-family: inherit;
    border: 1.5px solid var(--slate-200);
    border-radius: .625rem;
    background: var(--slate-50);
    color: var(--slate-900);
    outline: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.aviso-input-wrap textarea[b-vy7yik18ll] {
    min-height: 100px;
    resize: vertical;
    padding-top: .85rem;
}

.aviso-input-wrap textarea ~ .material-symbols-outlined[b-vy7yik18ll] {
    top: 1rem;
    transform: none;
}

.aviso-input-wrap input:focus[b-vy7yik18ll],
.aviso-input-wrap textarea:focus[b-vy7yik18ll] {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13,89,242,.12);
    background: var(--white);
}

.aviso-input-wrap input:focus ~ .material-symbols-outlined[b-vy7yik18ll],
.aviso-input-wrap textarea:focus ~ .material-symbols-outlined[b-vy7yik18ll] {
    color: var(--primary);
}

/* Estado inválido */
.aviso-input-wrap input.invalid[b-vy7yik18ll] {
    border-color: var(--red-500);
    box-shadow: 0 0 0 3px rgba(239,68,68,.10);
}

/* ── Validation messages ── */
.aviso-error-msg[b-vy7yik18ll] {
    font-size: .75rem;
    color: var(--red-500);
    margin-top: .3rem;
    display: block;
}

/* ── Server error ── */
.aviso-server-error[b-vy7yik18ll] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    border-radius: .5rem;
    padding: .75rem 1rem;
    font-size: .8125rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.aviso-server-error .material-symbols-outlined[b-vy7yik18ll] { font-size: 18px; }

/* ── Button ── */
.aviso-btn-submit[b-vy7yik18ll] {
    width: 100%;
    padding: .85rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    color: #fff;
    background: linear-gradient(135deg, var(--primary) 0%, #4f46e5 100%);
    border: none;
    border-radius: .625rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    transition: transform .15s, box-shadow .2s, opacity .2s;
    box-shadow: 0 4px 14px rgba(13,89,242,.30);
    margin-top: .5rem;
}

.aviso-btn-submit:hover[b-vy7yik18ll] {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(13,89,242,.35);
}

.aviso-btn-submit:active[b-vy7yik18ll] { transform: translateY(0); }

.aviso-btn-submit[disabled][b-vy7yik18ll] {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}

.aviso-btn-submit .material-symbols-outlined[b-vy7yik18ll] { font-size: 20px; }

/* ── Spinner ── */
/* Spinner – única animación custom necesaria (Tailwind gestiona el resto) */
.aviso-spinner[b-vy7yik18ll] {
    width: 20px;
    height: 20px;
    border: 2.5px solid rgba(255, 255, 255, .3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: aviso-spin-b-vy7yik18ll .6s linear infinite;
}

@keyframes aviso-spin-b-vy7yik18ll {
    to { transform: rotate(360deg); }
}

/* ── Success ── */
.aviso-success[b-vy7yik18ll] {
    text-align: center;
    padding: 3rem 2rem;
}

.aviso-success-icon[b-vy7yik18ll] {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--green-500), var(--green-600));
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    animation: aviso-popIn-b-vy7yik18ll .4s cubic-bezier(.22,1,.36,1);
}

@keyframes aviso-popIn-b-vy7yik18ll {
    from { transform: scale(0); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.aviso-success-icon .material-symbols-outlined[b-vy7yik18ll] {
    font-size: 40px;
    color: #fff;
}

.aviso-success h2[b-vy7yik18ll] {
    font-size: 1.35rem;
    color: var(--slate-900);
    margin: 0 0 .5rem;
}

.aviso-success p[b-vy7yik18ll] {
    color: var(--slate-500);
    font-size: .9375rem;
    line-height: 1.5;
    margin: 0;
}

.aviso-btn-new[b-vy7yik18ll] {
    margin-top: 1.5rem;
    padding: .65rem 1.5rem;
    font-size: .875rem;
    font-weight: 600;
    font-family: inherit;
    color: var(--primary);
    background: var(--primary-light);
    border: none;
    border-radius: .5rem;
    cursor: pointer;
    transition: background .2s;
}

.aviso-btn-new:hover[b-vy7yik18ll] { background: #bfdbfe; }

/* ── Footer ── */
.aviso-footer[b-vy7yik18ll] {
    text-align: center;
    padding: 0 2rem 1.5rem;
    font-size: .75rem;
    color: var(--slate-400);
}
/* /Components/PuntoDeVentaComponent.razor.rz.scp.css */
html[b-axetr3tebu], body[b-axetr3tebu] {
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100%;
}

/* ══════════════════════════════════════════════════════════════
   ROOT & LAYOUT
   ══════════════════════════════════════════════════════════════ */
.pos-root[b-axetr3tebu] {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    background: #f5f5f7;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ══════════════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════════════ */
.pos-header[b-axetr3tebu] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    gap: 2rem;
}

.pos-header-left[b-axetr3tebu] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.pos-brand[b-axetr3tebu] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pos-logo[b-axetr3tebu] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 0.75rem;
    color: white;
    font-size: 1.75rem;
}

.pos-brand-text[b-axetr3tebu] {
    display: flex;
    flex-direction: column;
}

.pos-brand-title[b-axetr3tebu] {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: #111827;
}

.pos-store-status[b-axetr3tebu] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: 0.125rem;
}

.pos-status-dot[b-axetr3tebu] {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #10b981;
    animation: pulse-b-axetr3tebu 2s infinite;
}

@keyframes pulse-b-axetr3tebu {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.pos-store-label[b-axetr3tebu] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pos-header-divider[b-axetr3tebu] {
    width: 1px;
    height: 2.5rem;
    background: #e5e7eb;
}

.pos-ticket-info[b-axetr3tebu] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.pos-ticket-label[b-axetr3tebu] {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
}

.pos-ticket-badge[b-axetr3tebu] {
    font-size: 0.875rem;
    font-weight: 600;
    color: #3b82f6;
    padding: 0.25rem 0.75rem;
    background: #eff6ff;
    border-radius: 0.375rem;
    text-align: center;
}

.pos-header-search[b-axetr3tebu] {
    flex: 1;
    max-width: 600px;
}

.pos-search-field[b-axetr3tebu] {
    position: relative;
    width: 100%;
}

.pos-search-icon-wrap[b-axetr3tebu] {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
}

.pos-search-input[b-axetr3tebu] {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.2s;
}

.pos-search-input:focus[b-axetr3tebu] {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.pos-header-actions[b-axetr3tebu] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pos-hdr-btn[b-axetr3tebu] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.pos-hdr-btn:hover[b-axetr3tebu] {
    background: #f9fafb;
    border-color: #d1d5db;
}

.pos-hdr-btn-dark[b-axetr3tebu] {
    background: #111827;
    color: white;
    border-color: #111827;
}

.pos-hdr-btn-dark:hover[b-axetr3tebu] {
    background: #1f2937;
}

/* ══════════════════════════════════════════════════════════════
   BODY LAYOUT
   ══════════════════════════════════════════════════════════════ */
.pos-body[b-axetr3tebu] {
    flex: 1;
    display: flex;
    overflow: hidden;
    min-height: 0;
}

/* ══════════════════════════════════════════════════════════════
   SIDEBAR - CATEGORÍAS
   ══════════════════════════════════════════════════════════════ */
.pos-sidebar[b-axetr3tebu] {
    flex-shrink: 0;
    width: 220px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: white;
    border-right: 1px solid #e5e7eb;
}

.pos-breadcrumb[b-axetr3tebu] {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    gap: 0.25rem;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
    overflow-x: auto;
    flex-shrink: 0;
}

.pos-breadcrumb-btn[b-axetr3tebu] {
    display: flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    background: transparent;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: #6b7280;
    white-space: nowrap;
    transition: all 0.2s;
}

.pos-breadcrumb-btn:hover[b-axetr3tebu] {
    background: #e5e7eb;
    color: #111827;
}

.pos-breadcrumb-separator[b-axetr3tebu] {
    color: #d1d5db;
    font-size: 0.875rem;
}

.pos-sidebar-items[b-axetr3tebu] {
    flex: 1;
    overflow-y: auto;
    padding: 0.75rem;
}

.pos-cat-card[b-axetr3tebu] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem;
    margin-bottom: 0.5rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.pos-cat-card:hover[b-axetr3tebu] {
    border-color: #3b82f6;
    background: #eff6ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.pos-cat-card.active[b-axetr3tebu] {
    background: #3b82f6;
    border-color: #2563eb;
    color: white;
}

.pos-cat-card.active .pos-cat-icon[b-axetr3tebu],
.pos-cat-card.active .pos-cat-label[b-axetr3tebu] {
    color: white;
}

.pos-cat-back[b-axetr3tebu] {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.pos-cat-back:hover[b-axetr3tebu] {
    background: #e5e7eb;
    border-color: #9ca3af;
    transform: translateY(0);
}

.pos-cat-icon[b-axetr3tebu] {
    font-size: 2rem;
    color: #3b82f6;
}

.pos-cat-image[b-axetr3tebu] {
    width: 3rem;
    height: 3rem;
    object-fit: cover;
    border-radius: 0.5rem;
}

.pos-cat-label[b-axetr3tebu] {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    word-break: break-word;
    line-height: 1.3;
}

.pos-cat-arrow[b-axetr3tebu] {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    color: #9ca3af;
}

.pos-cat-empty[b-axetr3tebu] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    color: #9ca3af;
}

.pos-cat-empty .material-symbols-outlined[b-axetr3tebu] {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.pos-cat-empty p[b-axetr3tebu] {
    font-size: 0.875rem;
    margin: 0;
}

/* ══════════════════════════════════════════════════════════════
   PRODUCTOS - AREA CENTRAL
   ══════════════════════════════════════════════════════════════ */
.pos-products[b-axetr3tebu] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
}

.pos-products-inner[b-axetr3tebu] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.pos-pagination[b-axetr3tebu] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
}

.pos-page-btn[b-axetr3tebu] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
}

.pos-page-btn:hover:not(:disabled)[b-axetr3tebu] {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.pos-page-btn:disabled[b-axetr3tebu] {
    opacity: 0.5;
    cursor: not-allowed;
}

.pos-page-info[b-axetr3tebu] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.pos-page-separator[b-axetr3tebu] {
    color: #d1d5db;
}

.pos-page-size[b-axetr3tebu] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
    margin-left: auto;
}

.pos-page-size-select[b-axetr3tebu] {
    padding: 0.375rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    background: white;
    cursor: pointer;
}

.pos-page-size-select:focus[b-axetr3tebu] {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.pos-products-grid[b-axetr3tebu] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    align-content: start;
}

.pos-product-card[b-axetr3tebu] {
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.pos-product-card:hover[b-axetr3tebu] {
    border-color: #3b82f6;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.pos-product-img[b-axetr3tebu] {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.pos-product-img img[b-axetr3tebu] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pos-img-placeholder[b-axetr3tebu] {
    font-size: 3rem;
    color: #d1d5db;
}

.pos-product-name[b-axetr3tebu] {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pos-product-footer[b-axetr3tebu] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.pos-product-price[b-axetr3tebu] {
    font-size: 1rem;
    font-weight: 700;
    color: #3b82f6;
}

.pos-product-sku[b-axetr3tebu] {
    font-size: 0.75rem;
    color: #9ca3af;
}

.pos-empty[b-axetr3tebu] {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: #9ca3af;
}

.pos-empty .material-symbols-outlined[b-axetr3tebu] {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.pos-empty p[b-axetr3tebu] {
    font-size: 1rem;
    margin: 0;
}

/* ══════════════════════════════════════════════════════════════
   CARRITO - PANEL DERECHO
   ══════════════════════════════════════════════════════════════ */
.pos-cart[b-axetr3tebu] {
    flex-shrink: 0;
    width: 400px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-left: 1px solid #e5e7eb;
    background: white;
}

/* Cliente */
.pos-customer[b-axetr3tebu] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
}

.pos-customer-left[b-axetr3tebu] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pos-customer-avatar[b-axetr3tebu] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #e5e7eb;
    color: #6b7280;
}

.pos-customer-name[b-axetr3tebu] {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.25rem 0;
}

.pos-customer-points[b-axetr3tebu] {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0;
}

.pos-customer-assign[b-axetr3tebu] {
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s;
}

.pos-customer-assign:hover[b-axetr3tebu] {
    background: #f3f4f6;
}

/* Items del carrito - CON SCROLL */
.pos-cart-items[b-axetr3tebu] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1rem;
    min-height: 0;
}

.pos-cart-item[b-axetr3tebu] {
    background: #f9fafb;
    border-radius: 0.75rem;
    padding: 0.875rem;
    margin-bottom: 0.75rem;
}

.pos-cart-item-body[b-axetr3tebu] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pos-cart-item-name[b-axetr3tebu] {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
    line-height: 1.4;
}

.pos-cart-item-row[b-axetr3tebu] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 0.5rem;
}

.pos-qty-area[b-axetr3tebu] {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.pos-qty-group[b-axetr3tebu] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border-radius: 0.5rem;
    padding: 0.25rem;
}

.pos-qty-btn[b-axetr3tebu] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    background: #f3f4f6;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s;
    color: #374151;
}

.pos-qty-btn:hover[b-axetr3tebu] {
    background: #e5e7eb;
}

.pos-qty-value[b-axetr3tebu] {
    min-width: 2.5rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.pos-unit-price[b-axetr3tebu] {
    font-size: 0.75rem;
    color: #6b7280;
}

.pos-cart-item-totals[b-axetr3tebu] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.pos-line-total[b-axetr3tebu] {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
}

.pos-delete-btn[b-axetr3tebu] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    color: #ef4444;
    transition: all 0.2s;
}

.pos-delete-btn:hover[b-axetr3tebu] {
    background: #fee2e2;
}

.pos-cart-empty[b-axetr3tebu] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    color: #9ca3af;
}

.pos-cart-empty .material-symbols-outlined[b-axetr3tebu] {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.pos-cart-empty p[b-axetr3tebu] {
    font-size: 0.875rem;
    margin: 0;
}

/* Resumen y pagos - FIJO AL FINAL */
.pos-summary[b-axetr3tebu] {
    flex-shrink: 0;
    border-top: 2px solid #e5e7eb;
    background: white;
}

.pos-summary-rows[b-axetr3tebu] {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pos-summary-row[b-axetr3tebu] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.pos-summary-val[b-axetr3tebu] {
    font-weight: 600;
    color: #111827;
}

.pos-discount[b-axetr3tebu] {
    color: #10b981;
}

.pos-summary-total-row[b-axetr3tebu] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px solid #e5e7eb;
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
}

.pos-payment-grid[b-axetr3tebu] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    padding: 1rem;
    padding-top: 0;
}

.pos-pay-btn[b-axetr3tebu] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    padding: 1rem 0.75rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.pos-pay-cash[b-axetr3tebu] {
    background: #10b981;
    color: white;
    border-color: #10b981;
}

.pos-pay-cash:hover[b-axetr3tebu] {
    background: #059669;
}

.pos-pay-card[b-axetr3tebu] {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.pos-pay-card:hover[b-axetr3tebu] {
    background: #2563eb;
}

.pos-pay-outline[b-axetr3tebu] {
    background: white;
    color: #6b7280;
    border-color: #d1d5db;
}

.pos-pay-outline:hover[b-axetr3tebu] {
    background: #f9fafb;
    border-color: #9ca3af;
}

/* ══════════════════════════════════════════════════════════════
   SCROLLBAR PERSONALIZADO
   ══════════════════════════════════════════════════════════════ */
.pos-products-grid[b-axetr3tebu]::-webkit-scrollbar,
.pos-cart-items[b-axetr3tebu]::-webkit-scrollbar,
.pos-sidebar-items[b-axetr3tebu]::-webkit-scrollbar {
    width: 8px;
}

.pos-products-grid[b-axetr3tebu]::-webkit-scrollbar-track,
.pos-cart-items[b-axetr3tebu]::-webkit-scrollbar-track,
.pos-sidebar-items[b-axetr3tebu]::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.pos-products-grid[b-axetr3tebu]::-webkit-scrollbar-thumb,
.pos-cart-items[b-axetr3tebu]::-webkit-scrollbar-thumb,
.pos-sidebar-items[b-axetr3tebu]::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.pos-products-grid[b-axetr3tebu]::-webkit-scrollbar-thumb:hover,
.pos-cart-items[b-axetr3tebu]::-webkit-scrollbar-thumb:hover,
.pos-sidebar-items[b-axetr3tebu]::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* Hide number input spinners */
input[type=number][b-axetr3tebu]::-webkit-inner-spin-button,
input[type=number][b-axetr3tebu]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
