/* Servidor Animado NodoPropio - Fondo Blanco Profesional MODERNIZADO */
.nodo-server {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    background: #ffffff; /* FONDO BLANCO */
    border-radius: 12px;
    margin: 20px auto;
    max-width: 1400px;
    min-height: 400px;
    font-family: 'Raleway', sans-serif;
}

/* Tamaños responsive */
.nodo-size-small { min-height: 250px; }
.nodo-size-medium { min-height: 400px; }
.nodo-size-large { min-height: 500px; }

.nodo-size-small .nodo-servidor-container { transform: scale(0.6); }
.nodo-size-medium .nodo-servidor-container { transform: scale(0.8); }
.nodo-size-large .nodo-servidor-container { transform: scale(1); }

/* Contenedor del servidor moderno */
.nodo-servidor-container {
    position: relative;
    width: 250px;
    height: 250px;
}

.nodo-servidor-container aside {
    background: #202730;
    height: 200px;
    width: 15px;
    position: absolute;
    z-index: 1;
}

.nodo-servidor-container aside:nth-child(1) {
    left: 5px;
    top: 20px;
}

.nodo-servidor-container aside:nth-child(2) {
    right: 5px;
    top: 20px;
}

/* Racks del servidor */
.nodo-servidor-rack {
    width: 100%;
    height: 50px;
    background: #202730;
    margin: 10px auto;
    position: relative;
    box-shadow: 10px 0px 15px rgba(45, 53, 64, 0.3), -10px 0px 15px rgba(45, 53, 64, 0.3);
    border-radius: 4px;
}

/* LEDs superiores */
.nodo-servidor-rack span {
    width: 7px;
    height: 7px;
    border-radius: 100%;
    display: block;
    position: relative;
    top: 10px;
    left: 10px;
    margin: 0 0 15px 0;
}

.nodo-servidor-rack span:nth-child(1) {
    background: #28cb40;
    animation: nodo-blinker 0.7s linear infinite;
}

.nodo-servidor-rack span:nth-child(2) {
    background: #c99a31;
    animation: nodo-blinker 1.3s linear infinite;
}

.nodo-servidor-rack span:nth-child(3) {
    background: transparent;
    border: 1px solid #fff;
    position: absolute;
    top: 20px;
    right: 10px;
    left: inherit;
}

/* Luces de actividad de discos */
.nodo-drive-lights {
    position: absolute;
    top: 10px;
    left: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nodo-drive-lights li {
    width: 10px;
    height: 30px;
    background: #818993;
    position: absolute;
    display: inline-block;
    z-index: 1;
}

.nodo-drive-lights li:nth-child(1) {
    left: 0px;
    animation: nodo-fade 2s infinite alternate backwards;
}

.nodo-drive-lights li:nth-child(2) {
    left: 20px;
    animation: nodo-fade 1.8s 0.2s infinite alternate backwards;
}

.nodo-drive-lights li:nth-child(3) {
    left: 40px;
    animation: nodo-fade 1.6s 0.4s infinite alternate backwards;
}

.nodo-drive-lights li:nth-child(4) {
    left: 60px;
    animation: nodo-fade 1.4s 0.6s infinite alternate backwards;
}

.nodo-drive-lights li:nth-child(5) {
    left: 80px;
    animation: nodo-fade 1.2s 0.8s infinite alternate backwards;
}

.nodo-drive-lights li:nth-child(6) {
    left: 100px;
    animation: nodo-fade 1s 1s infinite alternate backwards;
}

.nodo-drive-lights li:nth-child(7) {
    left: 120px;
    animation: nodo-fade 0.8s 1.2s infinite alternate backwards;
}

.nodo-drive-lights li:nth-child(8) {
    left: 140px;
    animation: nodo-fade 0.6s 1.4s infinite alternate backwards;
}

.nodo-drive-lights li:nth-child(9) {
    width: 30px;
    background: #32a3ef;
    color: #202730;
    font-family: monospace;
    left: 160px;
    line-height: 27px;
    text-align: center;
    animation: nodo-pulse 1.5s linear infinite;
    font-size: 12px;
    font-weight: bold;
    border-radius: 2px;
}

/* Animaciones */
@keyframes nodo-blinker {
    50% { opacity: 0; }
}

@keyframes nodo-pulse {
    from { background-color: #32a3ef; box-shadow: 0 0 9px #333; }
    50% { background-color: #59B6F2; box-shadow: 0 0 15px #047AC7; }
    to { background-color: #32a3ef; box-shadow: 0 0 9px #333; }
}

@keyframes nodo-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Efecto glow suave */
.nodo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(43, 204, 142, 0.05) 0%, transparent 70%);
    filter: blur(15px);
    z-index: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .nodo-server {
        padding: 20px 10px;
        min-height: 300px;
    }

    .nodo-servidor-container {
        transform: scale(0.7) !important;
    }
}

@media (max-width: 480px) {
    .nodo-servidor-container {
        transform: scale(0.6) !important;
    }
}

/* =========================================================================
   Cloud Animation
   ========================================================================= */

/* NodoPropio Cloud Animation - Professional */

/* Contenedor principal */
.nodo-cloud-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    padding: 40px 20px;
    background: transparent;
    position: relative;
    overflow: visible;
}

/* Tamaños */
.nodo-cloud-small .nodo-cloud-svg {
    width: 200px;
    height: 240px;
}

.nodo-cloud-medium .nodo-cloud-svg {
    width: 300px;
    height: 360px;
}

.nodo-cloud-large .nodo-cloud-svg {
    width: 400px;
    height: 480px;
}

.nodo-cloud-svg {
    max-width: 100%;
    height: auto;
    overflow: visible;
}

/* Animaciones de la nube */
.nodo-cloud-path {
    animation: cloudFloat 6s ease-in-out infinite;
    transform-origin: center;
}

@keyframes cloudFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.02);
    }
}

/* Check animado */
.nodo-check-path {
    stroke-dasharray: 80;
    stroke-dashoffset: 80;
    animation: drawCheck 1.5s ease forwards 0.5s, checkPulse 2s ease infinite 2s;
}

@keyframes drawCheck {
    to {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

@keyframes checkPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Animaciones del servidor */

/* Actividad en bahias de disco */
.nodo-activity {
    animation: driveActivity 3s ease-in-out infinite;
}

.nodo-activity-1 {
    animation-delay: 0s;
}

.nodo-activity-2 {
    animation-delay: 0.8s;
}

.nodo-activity-3 {
    animation-delay: 1.6s;
}

@keyframes driveActivity {
    0%, 100% {
        width: 0;
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    50% {
        width: 70px;
        opacity: 0.8;
    }
    90% {
        opacity: 0.4;
    }
}

/* LEDs parpadeantes */
.nodo-led {
    animation: ledBlink 2s ease-in-out infinite;
}

.nodo-led-power {
    animation-delay: 0s;
}

.nodo-led-network {
    animation-delay: 0.3s;
}

.nodo-led-disk {
    animation-delay: 0.6s;
}

@keyframes ledBlink {
    0%, 40%, 100% {
        opacity: 1;
    }
    20%, 60% {
        opacity: 0.3;
    }
}

/* Particulas de datos */
.nodo-particle {
    animation: particleFloat 4s ease-in-out infinite;
}

.nodo-particle-1 {
    animation-delay: 0s;
}

.nodo-particle-2 {
    animation-delay: 1.3s;
}

.nodo-particle-3 {
    animation-delay: 2.6s;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    50% {
        transform: translateY(-30px);
        opacity: 1;
    }
    90% {
        opacity: 0.2;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nodo-cloud-wrapper {
        min-height: 300px;
        padding: 20px 10px;
    }

    .nodo-cloud-large .nodo-cloud-svg,
    .nodo-cloud-medium .nodo-cloud-svg {
        width: 250px;
        height: 300px;
    }
}

@media (max-width: 480px) {
    .nodo-cloud-wrapper {
        min-height: 250px;
        padding: 15px 10px;
    }

    .nodo-cloud-svg {
        width: 200px !important;
        height: 240px !important;
    }
}

/* Tema oscuro */
@media (prefers-color-scheme: dark) {
    .nodo-cloud-wrapper {
        filter: brightness(0.95);
    }
}

/* Animacion al scroll */
.nodo-cloud-wrapper.aos-animate .nodo-cloud-path {
    animation: cloudFloat 6s ease-in-out infinite, fadeInScale 0.8s ease forwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* =========================================================================
   Frontend CSS (Calculadora)
   ========================================================================= */

/* Calculadora NodoPropio - Optimizado */
.nodo-calculator {
    background: #f8f7f3;
    padding: clamp(25px, 5vw, 40px);
    border-radius: 12px;
    margin: 40px auto;
    max-width: 1400px;
    border: 1px solid #e0e0e0;
}

.nodo-calculator h3 {
    color: #000;
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin: 0 0 30px;
    text-align: center;
    font-weight: 700;
}

/* Grid de servicios */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.service-checkbox {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-checkbox:hover {
    border-color: #2bcc8e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-checkbox input[type="checkbox"] {
    display: none;
}

.service-checkbox.checked {
    border-color: #2bcc8e;
    background: #f0fff8;
    box-shadow: 0 5px 20px rgba(43, 204, 142, 0.2);
}

.service-checkbox label {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    width: 100%;
}

.service-name {
    font-weight: 600;
    color: #000;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.service-price {
    color: #666;
    font-size: 0.95rem;
}

/* Resultados */
.calculator-results {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #f9c349;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.result-item:last-child {
    border-bottom: none;
}

.result-label {
    font-weight: 600;
    color: #000;
    font-size: 1.1rem;
}

.result-value {
    font-weight: 700;
    color: #2bcc8e;
    font-size: 1.2rem;
}

.roi-highlight {
    background: #000;
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-top: 20px;
}

.roi-highlight strong {
    font-size: 1.3rem;
    display: block;
    margin-bottom: 8px;
}

.cta-button {
    display: block;
    width: 100%;
    padding: 18px;
    background: #2bcc8e;
    color: #000;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    margin-top: 25px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: #1ea876;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(43, 204, 142, 0.3);
}

/* Grid de servicios visual */
.nodo-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 0 auto;
    max-width: 1400px;
}

.service-item {
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #2bcc8e;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.service-item h4 {
    color: #000;
    margin: 0 0 10px;
    font-size: 1.3rem;
}

.service-item p {
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Responsive optimizado */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .result-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* Loading state */
.nodo-calculator.loading .calculator-results {
    opacity: 0.6;
    pointer-events: none;
}

/* Ancho completo para la pagina */
body.home .entry-content,
body.page .entry-content {
    max-width: 100% !important;
    padding: 0 !important;
}

body.home .site-content,
body.page .site-content {
    max-width: 100% !important;
}

body.home .content-area,
body.page .content-area {
    width: 100% !important;
    max-width: 100% !important;
}

/* =========================================================================
   Burger Menu
   ========================================================================= */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;800&display=swap");

/* ===== GARANTIZAR VISIBILIDAD - PRIORIDAD MÁXIMA ===== */
.nodo-burger-menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    position: fixed !important;
    top: 0 !important;
    z-index: 10000 !important;
    padding: 1em 2em !important;
    display: flex !important;
    justify-content: flex-end !important;
    background: transparent !important;
    pointer-events: none !important;
}

#nodo-burger {
    display: flex !important;
    background: rgba(0,0,0,0.5) !important;
    padding: 10px !important;
    border-radius: 8px !important;
    transition: background 0.3s ease !important;
    width: min-content !important;
    height: 28px !important;
    flex-direction: column !important;
    justify-content: space-evenly !important;
    cursor: pointer !important;
    z-index: 10001 !important;
    pointer-events: all !important;
}

#nodo-burger:hover {
    background: rgba(0,0,0,0.7) !important;
}

#nodo-burger span {
    display: block !important;
    height: 3px !important;
    width: 22px !important;
    background-color: #2bcc8e !important;
    border-radius: 200px !important;
    transition: transform 0.3s 0.3s !important;
}
/* ===== FIN GARANTIZAR VISIBILIDAD ===== */

.nodo-burger-menu {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 10000;
    padding: 1em 2em;
    display: flex;
    justify-content: flex-end;
    background: transparent;
    pointer-events: none;
}

#nodo-burger {
    width: min-content;
    height: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    cursor: pointer;
    z-index: 10001;
    pointer-events: all;
}
#nodo-burger span {
    display: block;
    height: 3px;
    width: 22px;
    background-color: #2bcc8e;
    border-radius: 200px;
    transition: transform 0.3s 0.3s;
}

#nodo-burger.active span:nth-of-type(1) {
    transform: translateY(6px) rotate(45deg);
}
#nodo-burger.active span:nth-of-type(2) {
    opacity: 0;
}
#nodo-burger.active span:nth-of-type(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Overlay Menu para NodoPropio */
#nodo-overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    min-height: 100vh;
    padding: 6em 2em 2em 2em;
    background: linear-gradient(135deg, #2bcc8e 0%, #1ea876 100%);
    clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
    display: none;
    font-family: 'Poppins', sans-serif;
}

.nodo-menu-content {
    max-width: 1200px;
    margin: 0 auto;
    color: white;
}

.nodo-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2em;
    margin-bottom: 3em;
}

.nodo-menu-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1em;
    color: #fff;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    padding-bottom: 0.5em;
}

.nodo-menu-section ul {
    list-style: none;
}

.nodo-menu-section ul li {
    padding: 0.5em 0;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    padding-left: 10px;
}

.nodo-menu-section ul li:hover {
    color: #104d74;
    border-left-color: #104d74;
    transform: translateX(5px);
}

.nodo-menu-cta {
    text-align: center;
    padding: 2em;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nodo-menu-cta h4 {
    font-size: 1.4rem;
    margin-bottom: 1em;
}

.nodo-menu-cta a {
    display: inline-block;
    padding: 12px 30px;
    background: #fff;
    color: #2bcc8e;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.nodo-menu-cta a:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* =========================================================================
   Demo Shops CSS
   ========================================================================= */
/* =========================================================================
   Demo Shops CSS
   ========================================================================= */

/* Variables */
:root {
    --nodo-carniceria: #c4565a;
    --nodo-almacen: #3b5998;
    --nodo-dark: #1a1a1a;
    --nodo-light: #f5f5f5;
    --nodo-gray: #666;
    --nodo-border: #e0e0e0;
}

/* Contenedor Principal */
.nodo-demo-shop {
    font-family: 'Poppins', sans-serif;
    color: var(--nodo-dark);
    max-width: 100%;
    margin: 0;
    position: relative;
    background: #fff;
}

.demo-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.demo-header {
    padding: 20px 0;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.carniceria-header { background: #fff5f5; border-bottom: 3px solid var(--nodo-carniceria); }
.almacen-header { background: #f5f8ff; border-bottom: 3px solid var(--nodo-almacen); }

.demo-header .demo-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.demo-logo h1 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    color: var(--nodo-dark);
}

.demo-subtitle {
    margin: 5px 0 0;
    color: var(--nodo-gray);
    font-size: 0.9rem;
}

.demo-cart-toggle {
    background: var(--nodo-dark);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.demo-cart-toggle:hover {
    transform: scale(1.05);
}

/* Categorías */
.demo-categories {
    margin-bottom: 30px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.demo-categories .demo-container {
    display: flex;
    gap: 10px;
}

.cat-btn {
    background: white;
    border: 1px solid var(--nodo-border);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.nodo-carniceria .cat-btn.active,
.nodo-carniceria .cat-btn:hover {
    background: var(--nodo-carniceria);
    color: white;
    border-color: var(--nodo-carniceria);
}

.nodo-almacen .cat-btn.active,
.nodo-almacen .cat-btn:hover {
    background: var(--nodo-almacen);
    color: white;
    border-color: var(--nodo-almacen);
}

/* Grid Productos */
.demo-productos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    padding-bottom: 50px;
}

.producto-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.2s;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.producto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.producto-imagen {
    height: 200px;
    background: #f9f9f9;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.producto-imagen img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.producto-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.producto-categoria {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--nodo-gray);
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.producto-nombre {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--nodo-dark);
}

.producto-desc {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 15px;
    line-height: 1.4;
    flex-grow: 1;
}

.producto-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.producto-precio strong {
    font-size: 1.3rem;
    color: var(--nodo-dark);
}

.producto-precio .unidad {
    font-size: 0.8rem;
    color: var(--nodo-gray);
}

.btn-add-cart {
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    color: white;
    transition: background 0.2s;
}

.nodo-carniceria .btn-add-cart { background: var(--nodo-carniceria); }
.nodo-almacen .btn-add-cart { background: var(--nodo-almacen); }

.btn-add-cart:hover { filter: brightness(1.1); }
.btn-add-cart.added { background: #2bcc8e !important; }

/* Carrito Sidebar */
.demo-cart {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100vh;
    background: white;
    z-index: 10000;
    box-shadow: -5px 0 30px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.demo-cart.active {
    right: 0;
}

.cart-header {
    padding: 20px;
    background: #f5f5f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-empty {
    text-align: center;
    color: var(--nodo-gray);
    margin-top: 50px;
}

.empty-icon {
    font-size: 3rem;
    display: block;
    margin-top: 10px;
    opacity: 0.3;
}

.cart-item {
    display: flex;
    flex-direction: column;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.cart-item-info h4 {
    margin: 0;
    font-size: 0.95rem;
}

.cart-item-price {
    margin: 2px 0 0;
    font-size: 0.85rem;
    color: var(--nodo-gray);
}

.cart-item-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-qty {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f5f5f5;
    border-radius: 4px;
    padding: 2px;
}

.cart-qty-btn {
    border: none;
    background: white;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #ff4444;
    cursor: pointer;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background: #fff;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.btn-checkout {
    width: 100%;
    padding: 15px;
    background: #2bcc8e;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
}

/* Modal Checkout */
.demo-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: none;
}

.demo-overlay.active { display: block; }

.demo-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    z-index: 10001;
    display: none;
    max-height: 90vh;
    overflow-y: auto;
}

.demo-modal.active { display: block; }

.modal-content {
    padding: 30px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.checkout-form .form-group {
    margin-bottom: 15px;
}

.checkout-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 0.9rem;
}

.checkout-form input,
.checkout-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--nodo-border);
    border-radius: 6px;
    font-family: inherit;
}

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

.checkout-summary {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.summary-total {
    border-top: 1px solid #ddd;
    margin-top: 10px;
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--nodo-dark);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

/* Modal Exito */
.success-modal-content {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 15px;
}

.success-message {
    color: var(--nodo-gray);
    margin-bottom: 25px;
}

.success-info {
    background: #f0fdf4;
    border: 1px solid #d1fae5;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    display: flex;
    gap: 15px;
    align-items: start;
    text-align: left;
}

.success-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-info-nodo {
    display: inline-block;
    padding: 12px;
    background: #2bcc8e;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
}

.btn-nuevo-pedido {
    background: none;
    border: 1px solid var(--nodo-border);
    padding: 12px;
    border-radius: 6px;
    cursor: pointer;
}

/* Loading */
.demo-loading {
    text-align: center;
    padding: 50px 0;
}

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Mobile */
@media (max-width: 768px) {
    .demo-cart {
        width: 100%;
        right: -100%;
    }
}
