/* components.css - Componentes UI, maquetas interactivas, modales, filtros por etiquetas, catálogo y drivers */

/* ───────── BOTONES Y ACCIONES ARTESANALES ───────── */
.btn, .btn-primary, .btn-secondary, .btn-outline, .btn-amber {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    font-family: inherit;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 3px 10px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1.5px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 6px 18px rgba(37, 99, 235, 0.35);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-amber {
    background: var(--accent-amber);
    color: #0f172a;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 3px 10px rgba(245, 158, 11, 0.25);
}

.btn-amber:hover {
    background: var(--accent-amber-hover);
    color: #ffffff;
    transform: translateY(-1.5px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 6px 18px rgba(217, 119, 6, 0.35);
}

.btn-secondary {
    background: #ffffff;
    color: var(--text-navy);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1.5px);
    box-shadow: var(--shadow-sm);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--border-light);
    color: var(--text-navy);
}

.btn-outline:hover {
    background: #f8fafc;
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1.5px);
}

.btn-whatsapp-sm {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #10b981;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.2);
}

.btn-whatsapp-sm:hover {
    background: #059669;
    transform: translateY(-1px);
    color: #ffffff;
    box-shadow: 0 5px 14px rgba(16, 185, 129, 0.35);
}

/* Botón Exclusivo de Descarga de Drivers */
.btn-driver-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: #ffffff;
    color: var(--text-navy);
    border: 1px solid #cbd5e1;
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-xs);
}

.btn-driver-download:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--border-focus);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}

.btn-driver-download svg {
    color: var(--primary);
    transition: transform 0.2s ease;
}

.btn-driver-download:hover svg {
    transform: translateY(2px);
}

.btn-lg {
    padding: 12px 28px;
    font-size: 0.98rem;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.82rem;
}

/* ───────── BOTÓN FLOTANTE WHATSAPP ───────── */
.whatsapp-floating-btn {
    position: fixed;
    bottom: 26px;
    right: 26px;
    width: 54px;
    height: 54px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.whatsapp-floating-btn svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.whatsapp-floating-btn:hover {
    transform: scale(1.06) rotate(6deg);
    background: #059669;
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.45);
}

.whatsapp-tooltip {
    position: absolute;
    right: 66px;
    background: var(--dark-navy);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    box-shadow: var(--shadow-md);
}

.whatsapp-floating-btn:hover .whatsapp-tooltip {
    opacity: 1;
}

/* ───────── BOTÓN FLOTANTE TELEGRAM ───────── */
.telegram-floating-btn {
    position: fixed;
    bottom: 88px;
    right: 26px;
    width: 50px;
    height: 50px;
    background: #0088cc;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 136, 204, 0.35);
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.telegram-floating-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.telegram-floating-btn:hover {
    transform: scale(1.08) rotate(-6deg);
    background: #0077b5;
    box-shadow: 0 12px 28px rgba(0, 136, 204, 0.45);
}

.telegram-tooltip {
    position: absolute;
    right: 62px;
    background: var(--dark-navy);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    box-shadow: var(--shadow-md);
}

.telegram-floating-btn:hover .telegram-tooltip {
    opacity: 1;
}

@media (max-width: 768px) {
    .whatsapp-floating-btn {
        bottom: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
    }
    .telegram-floating-btn {
        bottom: 76px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

/* ───────── MENÚ MÓVIL (DRAWER) ───────── */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-navy);
    border-radius: 8px;
}

.mobile-menu-btn:focus {
    outline: none;
}

.mobile-nav-drawer {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transform: translateY(-140%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 998;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

.mobile-nav-drawer.active {
    transform: translateY(0);
}

.mobile-nav-link {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text-navy);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
    color: var(--primary);
}

/* ───────── BUSCADOR MODAL (CTRL+K) ───────── */
.search-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 15px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 9999px;
    color: var(--text-slate);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-xs);
}

.search-btn span {
    background: #f1f5f9;
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-navy);
    border: 1px solid var(--border-light);
}

.search-btn:hover {
    border-color: var(--border-focus);
    color: var(--text-navy);
}

.search-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(8px);
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
    z-index: 99999;
}

.search-modal.active {
    display: flex;
}

.search-modal-content {
    background: #ffffff;
    width: 90%;
    max-width: 600px;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-light);
}

.search-input {
    width: 100%;
    padding: 18px 22px;
    font-size: 1.1rem;
    border: none;
    border-bottom: 1px solid var(--border-light);
    outline: none;
    font-family: inherit;
    color: var(--text-navy);
}

.close-search {
    position: absolute;
    right: 18px;
    top: 16px;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--text-slate-light);
}

.search-results {
    max-height: 360px;
    overflow-y: auto;
    padding: 10px;
}

.search-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s;
}

.search-item:hover {
    background: var(--bg-page);
}

.search-empty {
    padding: 28px;
    text-align: center;
    color: var(--text-slate-light);
}

/* ───────── DIAGRAMA SVG DE ARQUITECTURA (INTERACTIVO) ───────── */
.architecture-container {
    background: #ffffff;
    border-radius: 18px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    margin-bottom: 40px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.svg-node {
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease;
    transform-origin: center;
}

.svg-node:hover {
    filter: drop-shadow(0 6px 14px rgba(37, 99, 235, 0.4));
}

.svg-node:hover rect, .svg-node:hover ellipse {
    stroke: #ffffff;
    stroke-width: 1.2px;
}

.svg-node:active {
    transform: scale(0.98);
}

/* ───────── FILTRADO POR ETIQUETAS (TAGS) EN HARDWARE ───────── */
.hardware-toolbar {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 35px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hardware-search-bar {
    display: flex;
    gap: 12px;
}

.hardware-search-input {
    flex: 1;
    padding: 11px 18px;
    border-radius: 10px;
    border: 1px solid var(--border-light);
    font-size: 0.92rem;
    font-family: inherit;
    outline: none;
    transition: all 0.2s;
    color: var(--text-navy);
    background: var(--bg-subtle);
}

.hardware-search-input:focus {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.tag-filters-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.tag-filter-btn {
    background: #ffffff;
    color: var(--text-slate);
    border: 1px solid var(--border-light);
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s ease;
}

.tag-filter-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--border-blue);
}

.tag-filter-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

/* ───────── TARJETAS DE SISTEMAS Y APPS (ARTESANALES) ───────── */
.card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.card.azul { border-top: 3px solid var(--primary); }
.card.ambar { border-top: 3px solid var(--accent-amber); }
.card.rojo { border-top: 3px solid var(--accent-red); }
.card.verde { border-top: 3px solid var(--accent-green); }

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: #cbd5e1;
}

.card-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.card-icon {
    font-size: 2rem;
    width: 56px;
    height: 56px;
    background: #ffffff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-xs);
    overflow: hidden;
    padding: 4px;
    flex-shrink: 0;
}

.icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    transition: transform 0.25s ease;
}

.card:hover .icon-img {
    transform: scale(1.08);
}

.card-badge {
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 9999px;
    background: #f1f5f9;
    color: var(--text-slate);
    border: 1px solid var(--border-light);
}

.card-badge.offline {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fecaca;
}

.card-badge.online {
    background: #ecfdf5;
    color: #059669;
    border-color: #a7f3d0;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-navy);
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.card-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-blue);
    margin-bottom: 10px;
}

.card-desc {
    color: var(--text-slate);
    font-size: 0.92rem;
    line-height: 1.62;
    margin-bottom: 18px;
    flex-grow: 1;
}

.card-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.pill {
    display: inline-block;
    background: var(--primary-light);
    color: var(--text-blue-dark);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 3px 9px;
    border-radius: 9999px;
    text-transform: uppercase;
    border: 1px solid var(--border-blue);
}

.card-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

/* ───────── TARJETAS DE HARDWARE (CON DRIVERS) ───────── */
.product-card {
    text-align: left;
    border-top: 3px solid var(--primary);
}

.product-gallery-wrapper {
    margin-bottom: 14px;
}

.product-gallery {
    position: relative;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    padding: 16px;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-light);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.2s ease;
}

.product-gallery:hover {
    border-color: #cbd5e1;
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
}

.gallery-count-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    pointer-events: none;
}

.product-thumbs-strip {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.prod-thumb-btn {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1.5px solid var(--border-light);
    background: #ffffff;
    padding: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.18s ease;
}

.prod-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 5px;
}

.prod-thumb-btn:hover {
    border-color: var(--primary);
    transform: translateY(-1px);
}

.prod-thumb-btn.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary-light);
}

.product-main-img {
    max-width: 100%;
    max-height: 130px;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.product-main-img:hover {
    transform: scale(1.04);
}

.product-tag-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 6px 0 10px;
}

.tag-badge {
    background: #f1f5f9;
    color: var(--text-slate);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    border: 1px solid var(--border-light);
}

.item-highlight-pulse {
    animation: highlightPulse 2.5s ease;
}

@keyframes highlightPulse {
    0%, 100% { box-shadow: 0 0 0 0 transparent; }
    30%, 70% { box-shadow: 0 0 0 3px var(--primary), 0 12px 28px rgba(37, 99, 235, 0.25); transform: translateY(-3px); }
}

/* ───────── MODALES DEL SISTEMA ───────── */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    padding: 20px;
}

.modal.active {
    display: flex !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.modal-content {
    background: #ffffff;
    border-radius: 18px;
    width: 100%;
    max-width: 760px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
    position: relative;
    transform: scale(0.96);
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-light);
}

.modal.active .modal-content {
    transform: scale(1);
}

/* Ficha Técnica */
.spec-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: #ffffff;
    padding: 26px 28px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    border-bottom: 2px solid var(--primary);
}

.spec-icon-box {
    width: 68px;
    height: 68px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    overflow: hidden;
    padding: 6px;
}

.spec-icon-box .icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.spec-title-area h2 {
    font-size: 1.7rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 3px;
}

.spec-subtitle {
    font-size: 0.9rem;
    color: #93c5fd;
    font-weight: 650;
}

.spec-close {
    position: absolute;
    top: 18px;
    right: 22px;
    color: #94a3b8;
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.15s;
}

.spec-close:hover {
    color: #ffffff;
}

.spec-body {
    padding: 26px 28px;
    overflow-y: auto;
}

.spec-section-title {
    font-size: 1rem;
    font-weight: 750;
    color: var(--text-navy);
    border-bottom: 1.5px solid var(--border-light);
    padding-bottom: 6px;
    margin: 22px 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.spec-section-title:first-child {
    margin-top: 0;
}

.spec-list {
    display: grid;
    gap: 8px;
}

.spec-list li {
    font-size: 0.9rem;
    color: var(--text-slate);
    position: relative;
    padding-left: 18px;
    line-height: 1.55;
}

.spec-list li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0;
    font-size: 0.86rem;
}

.spec-table th, .spec-table td {
    padding: 9px 12px;
    border: 1px solid var(--border-light);
    text-align: left;
}

.spec-table th {
    background: #f8fafc;
    color: var(--text-navy);
    font-weight: 700;
    width: 32%;
}

.spec-table td {
    color: var(--text-slate);
    background: #ffffff;
}

.spec-footer {
    padding: 18px 28px;
    background: #f8fafc;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* ───────── LIGHTBOX VIEWER DE ALTA GAMA ───────── */
.lightbox-viewer-modal {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox-viewer-modal.active {
    display: flex;
}

.lightbox-wrapper {
    background: #0f172a;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8);
    width: 95%;
    max-width: 920px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: lightboxPop 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes lightboxPop {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

.lightbox-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: #020617;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lightbox-title-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lightbox-title {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 750;
    letter-spacing: -0.01em;
}

.lightbox-counter-badge {
    background: rgba(37, 99, 235, 0.25);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.4);
    padding: 3px 10px;
    border-radius: 9999px;
    font-size: 0.76rem;
    font-weight: 700;
}

.lightbox-close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 1.4rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
    transition: all 0.2s ease;
}

.lightbox-close-btn:hover {
    background: rgba(239, 68, 68, 0.9);
    border-color: rgba(239, 68, 68, 0.9);
    transform: rotate(90deg);
}

.lightbox-main-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 18px;
    min-height: 380px;
    max-height: 58vh;
    background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
    gap: 14px;
}

.lightbox-img-frame {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    overflow: hidden;
}

.lightbox-display-img {
    max-width: 100%;
    max-height: 50vh;
    object-fit: contain;
    border-radius: 10px;
    transition: opacity 0.15s ease, transform 0.2s ease;
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.5));
}

.lightbox-nav-btn {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    z-index: 2;
}

.lightbox-nav-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.1);
}

.lightbox-thumbs-strip {
    display: flex;
    gap: 8px;
    padding: 14px 20px;
    background: #020617;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    overflow-x: auto;
    justify-content: center;
    scrollbar-width: thin;
}

.lightbox-thumb-btn {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    background: #0f172a;
    padding: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.18s ease;
    opacity: 0.55;
}

.lightbox-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-thumb-btn:hover {
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.6);
}

.lightbox-thumb-btn.active {
    opacity: 1;
    border-color: var(--primary);
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.7);
}

/* ───────── SHOWCASE & MAQUETAS INTERACTIVAS ───────── */
.showcase-container {
    background: #ffffff;
    border-radius: 18px;
    padding: 28px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.mockup-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 22px;
    flex-wrap: wrap;
    justify-content: center;
}

.mockup-tab {
    padding: 8px 18px;
    border-radius: 9999px;
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    font-weight: 700;
    font-size: 0.86rem;
    color: var(--text-slate);
    cursor: pointer;
    transition: all 0.18s ease;
}

.mockup-tab:hover {
    color: var(--primary);
    border-color: var(--border-blue);
    background: var(--primary-light);
}

.mockup-tab.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.win {
    background: var(--dark-navy);
    border-radius: 12px;
    box-shadow: var(--shadow-win);
    overflow: hidden;
    border: 1px solid #1e293b;
    display: none;
    animation: fadeInMockup 0.25s ease;
}

.win.active {
    display: block;
}

@keyframes fadeInMockup {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.win .win-bar {
    background: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 0.8rem;
    color: #94a3b8;
    border-bottom: 1px solid #334155;
    flex-wrap: wrap;
}

.win .dots {
    display: inline-flex;
    gap: 6px;
}

.win .dots i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
}

.win .dots i:nth-child(1) { background: #ef4444; }
.win .dots i:nth-child(2) { background: #f59e0b; }
.win .dots i:nth-child(3) { background: #10b981; }

.nav-url-box {
    flex: 1;
    background: #0f172a;
    border-radius: 9999px;
    padding: 3px 12px;
    font-size: 0.78rem;
    color: #94a3b8;
    font-family: monospace;
}

/* POS Layout */
.pos-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    min-height: 450px;
}

.pos-grid-side {
    padding: 16px;
    background: #0f172a;
    display: flex;
    flex-direction: column;
}

.pos-cat-filter {
    display: flex;
    gap: 6px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.pos-cat-btn {
    background: #1e293b;
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    transition: all 0.15s;
}

.pos-cat-btn.active, .pos-cat-btn:hover {
    background: var(--primary);
    color: #ffffff;
}

.pos-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    flex: 1;
}

.pos-item-btn {
    border-radius: 8px;
    padding: 10px;
    color: #fff;
    cursor: pointer;
    transition: transform 0.1s, opacity 0.1s;
    user-select: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 72px;
}

.pos-item-btn:hover {
    transform: scale(1.02);
    opacity: 0.95;
}

.pos-shortcuts {
    display: flex;
    gap: 6px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.pos-short-tag {
    background: #1e293b;
    color: #cbd5e1;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s;
    user-select: none;
}

.pos-short-tag:hover {
    background: #334155;
    color: #ffffff;
}

.pos-short-tag.cobrar {
    background: var(--accent-amber);
    color: #0f172a;
    margin-left: auto;
    font-weight: 800;
}

.pos-ticket-side {
    background: #ffffff;
    padding: 18px;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--border-light);
}

.pos-ticket-header {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--text-navy);
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pos-ticket-list {
    flex: 1;
    font-size: 0.8rem;
    color: var(--text-slate);
    padding: 10px 0;
    overflow-y: auto;
    max-height: 230px;
}

.pos-ticket-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px dashed #f1f5f9;
}

.pos-qty-controls {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-right: 6px;
}

.pos-qty-btn {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: #f1f5f9;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    cursor: pointer;
    font-weight: bold;
    user-select: none;
}

.pos-qty-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.pos-ticket-calc {
    border-top: 1px solid var(--border-light);
    padding-top: 8px;
    font-size: 0.78rem;
    color: var(--text-slate-light);
}

.pos-total-box {
    background: var(--text-navy);
    color: #fff;
    border-radius: 8px;
    margin-top: 10px;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pos-total-amount {
    font-size: 1.35rem;
    font-weight: 800;
    color: #60a5fa;
}

/* Web Layout */
.web-layout {
    display: grid;
    grid-template-columns: 190px 1fr;
    min-height: 400px;
    background: #f8fafc;
}

.web-sidebar {
    background: #0f172a;
    color: #94a3b8;
    font-size: 0.8rem;
    padding: 14px 0;
}

.web-sidebar-brand {
    padding: 6px 16px;
    color: #fff;
    font-weight: 800;
    font-size: 0.9rem;
}

.web-sidebar-item {
    padding: 7px 16px;
    cursor: pointer;
    transition: background 0.15s;
}

.web-sidebar-item.active, .web-sidebar-item:hover {
    background: #1e293b;
    color: #fff;
    border-left: 3px solid var(--primary);
}

.web-content-area {
    padding: 18px;
}

.web-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.web-metric-card {
    border-radius: 8px;
    color: #fff;
    padding: 14px;
}

.web-metric-num {
    font-size: 1.3rem;
    font-weight: 800;
}

.web-table-box {
    background: #fff;
    border-radius: 8px;
    padding: 14px;
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--border-light);
}

/* KDS Layout */
.kds-layout {
    background: #0f172a;
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    min-height: 360px;
}

.kds-ticket {
    background: #1e293b;
    border-radius: 8px;
    overflow: hidden;
    border-top: 4px solid var(--accent-amber);
    color: #cbd5e1;
    display: flex;
    flex-direction: column;
}

.kds-ticket.green { border-top-color: #10b981; }
.kds-ticket.red { border-top-color: #ef4444; }

.kds-head {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.04);
}

.kds-items {
    padding: 10px 12px;
    font-size: 0.8rem;
    flex: 1;
}

.kds-row {
    padding: 5px 0;
    border-bottom: 1px solid #334155;
}

.kds-row.done {
    text-decoration: line-through;
    color: #10b981;
}

.kds-actions {
    display: flex;
    gap: 6px;
    padding: 10px 12px;
}

.kds-btn {
    flex: 1;
    background: #10b981;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 7px;
    font-size: 0.75rem;
    font-weight: 800;
    cursor: pointer;
    user-select: none;
    transition: background 0.15s;
    border: none;
}

.kds-btn:hover {
    background: #059669;
}

/* Checador Layout */
.checador-layout {
    background: #0f172a;
    border-radius: 14px;
    padding: 16px;
    max-width: 520px;
    margin: 0 auto;
    box-shadow: var(--shadow-win);
}

.checador-screen {
    background: linear-gradient(175deg, #064e3b, #059669);
    border-radius: 10px;
    padding: 24px 20px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.checador-kicker {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    opacity: 0.9;
    margin-bottom: 16px;
}

.checador-product-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: #d1fae5;
}

.checador-price-tag {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fef08a;
    margin: 12px 0;
    letter-spacing: -0.02em;
}

.checador-stock-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    padding: 4px 14px;
    font-size: 0.78rem;
    font-weight: 700;
}

.checador-scanner-area {
    border-top: 1px dashed rgba(255, 255, 255, 0.4);
    margin-top: 20px;
    padding-top: 16px;
    position: relative;
}

.barcode-laser {
    width: 60%;
    height: 2px;
    background: #ef4444;
    box-shadow: 0 0 10px #ef4444;
    margin: 0 auto 8px;
    animation: laserScan 2s ease-in-out infinite alternate;
}

@keyframes laserScan {
    0% { transform: translateY(-6px); opacity: 0.4; }
    100% { transform: translateY(10px); opacity: 1; }
}

/* ───────── 3 TELÉFONOS MÓVILES (INTERACTIVOS) ───────── */
.phones-container {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 16px 0;
}

.phone-wrapper {
    text-align: center;
}

.phone {
    width: 255px;
    background: #0f172a;
    border-radius: 28px;
    padding: 8px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.3);
    display: inline-block;
    border: 2px solid #334155;
    position: relative;
}

.phone .scr {
    background: #f8fafc;
    border-radius: 20px;
    overflow: hidden;
    height: 460px;
    position: relative;
    font-size: 0.74rem;
    display: flex;
    flex-direction: column;
}

.phone .notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 75px;
    height: 14px;
    background: #0f172a;
    border-radius: 0 0 8px 8px;
    z-index: 5;
}

.phone-head {
    color: #fff;
    padding: 20px 12px 10px;
}

.phone-head h5 {
    font-size: 0.82rem;
    font-weight: 800;
}

.phone-card {
    background: #fff;
    border-radius: 8px;
    margin: 6px 10px;
    padding: 8px 10px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
    text-align: left;
    color: var(--text-navy);
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: border-color 0.15s;
}

.phone-card:hover {
    border-color: var(--primary);
}

.phone-btn {
    background: var(--primary);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    margin: 5px 10px;
    padding: 8px;
    font-weight: 700;
    cursor: pointer;
    user-select: none;
    transition: all 0.15s;
}

.phone-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.phone-btn.outline {
    background: #fff;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.phone-btn.outline:hover {
    background: var(--primary-light);
}

/* Toast de notificación dentro del teléfono */
.phone-toast {
    position: absolute;
    bottom: 12px;
    left: 10px;
    right: 10px;
    background: #0f172a;
    color: #fff;
    padding: 7px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: all 0.2s ease;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    border: 1px solid var(--primary);
}

.phone-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Mini modal dentro del teléfono para Abonos */
.phone-sheet {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 14px 14px 0 0;
    padding: 14px;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.2);
    transform: translateY(100%);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 20;
    border-top: 2px solid var(--primary);
}

.phone-sheet.active {
    transform: translateY(0);
}

.phone-caption {
    font-size: 0.86rem;
    color: var(--text-slate);
    margin-top: 10px;
}

.phone-caption b {
    color: var(--text-navy);
    display: block;
}

/* ───────── BOTONES DE PAGO Y FACTURA TÉRMICA ESC/POS ───────── */
.pos-pay-method-btn {
    flex: 1;
    padding: 10px 8px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1.5px solid var(--border-light);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-navy);
    cursor: pointer;
    transition: all 0.18s ease;
    text-align: center;
}

.pos-pay-method-btn:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.pos-pay-method-btn.active {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary-light);
}

.pos-receipt-wrapper {
    animation: receiptSlideOut 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes receiptSlideOut {
    from { opacity: 0; transform: translateY(-40px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.receipt-paper {
    background: #fafaf9;
    color: #1c1917;
    font-family: 'Courier New', Courier, monospace;
    padding: 22px 18px;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
    border: 1px solid #e7e5e4;
    position: relative;
    user-select: text;
}

.receipt-cut-line {
    position: absolute;
    top: -6px;
    left: 0;
    right: 0;
    height: 6px;
    background: radial-gradient(circle, transparent, transparent 50%, #fafaf9 50%, #fafaf9 100%);
    background-size: 12px 12px;
}

.receipt-header {
    text-align: center;
    line-height: 1.35;
}

.receipt-header h4 {
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.receipt-divider {
    text-align: center;
    color: #a8a29e;
    font-size: 0.72rem;
    margin: 6px 0;
    overflow: hidden;
}

.receipt-items-table {
    font-size: 0.72rem;
    line-height: 1.4;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 0;
}

.receipt-totals-box {
    font-size: 0.75rem;
    line-height: 1.4;
}

.receipt-footer {
    text-align: center;
    margin-top: 8px;
    line-height: 1.3;
}

/* ───────── KDS COCINA EN VIVO ───────── */
.kds-live-clock {
    font-size: 0.75rem;
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 2px 8px;
    border-radius: 9999px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.kds-station-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.kds-station-btn {
    padding: 4px 10px;
    border-radius: 6px;
    background: #0f172a;
    border: 1px solid #334155;
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.kds-station-btn:hover, .kds-station-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

/* ───────── APPS MÓVILES SELECTOR BAR ───────── */
.phone-app-selector-bar {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.phone-tab-btn {
    padding: 6px 14px;
    border-radius: 9999px;
    background: #1e293b;
    border: 1px solid #334155;
    color: #cbd5e1;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.phone-tab-btn:hover {
    background: #334155;
    color: #ffffff;
}

.phone-tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

/* App Restaurante & Comandero */
.phone-tables-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin: 8px 10px;
}

.phone-table-btn {
    background: #ffffff;
    border: 1.5px solid var(--border-light);
    border-radius: 8px;
    padding: 8px 6px;
    text-align: center;
    cursor: pointer;
    transition: all 0.15s;
}

.phone-table-btn.occupied {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #b91c1c;
}

.phone-table-btn.active {
    background: var(--primary-light);
    border-color: var(--primary);
}

.phone-dish-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.7rem;
}

/* ───────── MAPA GPS DE RUTAS WEB ───────── */
.web-route-map-box {
    background: #0f172a;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
    border: 1px solid #1e293b;
}

.gps-truck-badge {
    animation: gpsPulse 2s infinite ease-in-out;
}

@keyframes gpsPulse {
    0%, 100% { filter: drop-shadow(0 0 4px #60a5fa); transform: scale(1); }
    50% { filter: drop-shadow(0 0 12px #3b82f6); transform: scale(1.08); }
}

/* ───────── GALERÍA DE CAPTURAS DE SISTEMAS / APPS ───────── */
.system-screenshots-viewer {
    background: #0f172a;
    border-radius: 14px;
    padding: 14px;
    border: 1px solid #1e293b;
    margin-top: 10px;
    margin-bottom: 20px;
}

.system-screenshots-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.system-screenshot-tab {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #94a3b8;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    font-family: inherit;
}

.system-screenshot-tab:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.system-screenshot-tab.active {
    background: #2563eb;
    color: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.system-screenshot-display {
    position: relative;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    background: #020617;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    max-height: 380px;
}

.system-screenshot-display img {
    width: 100%;
    height: 100%;
    max-height: 380px;
    object-fit: contain;
    display: block;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.system-screenshot-display:hover img {
    transform: scale(1.015);
}

.system-screenshot-overlay-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    color: #60a5fa;
    border: 1px solid rgba(96, 165, 250, 0.3);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    pointer-events: auto;
    transition: all 0.2s;
}

.system-screenshot-display:hover .system-screenshot-overlay-badge {
    background: #2563eb;
    color: #ffffff;
    border-color: #3b82f6;
}

.system-screenshot-caption {
    margin-top: 10px;
    font-size: 0.84rem;
    color: #cbd5e1;
    line-height: 1.5;
    padding: 0 4px;
}

/* ───────── MEDIA QUERIES RESPONSIVAS ───────── */
@media (max-width: 992px) {
    .pos-layout { grid-template-columns: 1fr; }
    .web-layout { grid-template-columns: 1fr; }
    .kds-layout { grid-template-columns: 1fr; }
    .pos-products-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .phones-container { gap: 14px; }
    .phone { width: 100%; max-width: 290px; }
    .web-metrics-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .mobile-menu-btn { display: inline-flex; }
    .pos-products-grid { grid-template-columns: repeat(2, 1fr); }
    .phones-container { gap: 16px; }
    .architecture-container { padding: 16px 12px; }
}
