/* ============================================================
   NM SLO Landing Page — Diseño completo
   ============================================================ */

/* Reset de tema en el body de la landing */
.nm-landing-body {
    margin: 0;
    padding: 0;
    background: #f5f4f0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    color: #1e2d3f;
    -webkit-font-smoothing: antialiased;
}

/* Ocultar elementos del tema que no queremos */
.nm-landing-body .site-header,
.nm-landing-body header.entry-header,
.nm-landing-body .main-navigation,
.nm-landing-body #masthead,
.nm-landing-body .site-footer,
.nm-landing-body footer#colophon,
.nm-landing-body .woocommerce-breadcrumb,
.nm-landing-body h1.entry-title,
.nm-landing-body .entry-header {
    display: none !important;
}

/* ── Trust bar ───────────────────────────────────────────── */
.nm-trust-bar {
    background: #1e2d3f;
    color: #fff;
    text-align: center;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

/* ── Wrap principal ──────────────────────────────────────── */
.nm-landing-wrap {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 40px;
    align-items: start;
}

/* ── Columna izquierda ───────────────────────────────────── */
.nm-landing-badge {
    display: inline-block;
    background: #fff3cd;
    color: #856404;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.nm-landing-h1 {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 800;
    line-height: 1.2;
    color: #1e2d3f;
    margin: 0 0 18px;
}

.nm-landing-sub {
    font-size: 17px;
    color: #4a5568;
    line-height: 1.6;
    margin: 0 0 28px;
}

/* Bullets */
.nm-landing-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}

.nm-landing-bullets li {
    padding: 10px 0 10px 36px;
    position: relative;
    font-size: 15px;
    color: #2d3748;
    border-bottom: 1px solid #e8e6e1;
    line-height: 1.5;
}

.nm-landing-bullets li::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 10px;
    font-size: 16px;
}

.nm-landing-desc {
    font-size: 15px;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 32px;
}

/* Testimonio */
.nm-landing-testimonial {
    background: #fff;
    border-left: 4px solid #f0821e;
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 32px;
}

.nm-landing-testimonial__stars {
    color: #f0821e;
    font-size: 18px;
    margin-bottom: 8px;
}

.nm-landing-testimonial blockquote {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 1.6;
    color: #2d3748;
    font-style: italic;
}

.nm-landing-testimonial cite {
    font-size: 13px;
    color: #718096;
    font-style: normal;
    font-weight: 600;
}

/* Garantía */
.nm-landing-guarantee {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #f0fff4;
    border: 1px solid #9ae6b4;
    border-radius: 10px;
    padding: 16px 20px;
}

.nm-landing-guarantee__icon { font-size: 32px; }

.nm-landing-guarantee strong {
    display: block;
    font-size: 15px;
    color: #276749;
    margin-bottom: 4px;
}

.nm-landing-guarantee p {
    margin: 0;
    font-size: 13px;
    color: #4a7c59;
}

/* ── Columna derecha – Checkout card ─────────────────────── */
.nm-landing-right {
    position: sticky;
    top: 20px;
}

.nm-landing-checkout-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 40px rgba(0,0,0,.12);
    overflow: hidden;
}

.nm-landing-checkout-header {
    background: #1e2d3f;
    color: #fff;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nm-landing-checkout-title {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.nm-landing-checkout-price {
    font-size: 22px;
    font-weight: 800;
    color: #68d391;
}

.nm-landing-order-summary {
    background: #f8f9fa;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 24px;
}

.nm-landing-order-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #4a5568;
    padding: 4px 0;
}

.nm-landing-order-row span:last-child {
    font-weight: 700;
    color: #1e2d3f;
}

/* ── Estilos WooCommerce dentro de la card ───────────────── */
.nm-landing-wc-wrap {
    padding: 24px;
}

/* Ocultar elementos innecesarios del checkout de WC */
.nm-landing-wc-wrap .woocommerce-billing-fields h3,
.nm-landing-wc-wrap #order_review_heading,
.nm-landing-wc-wrap .woocommerce-additional-fields,
.nm-landing-wc-wrap .shop_table.woocommerce-checkout-review-order-table {
    display: none !important;
}

/* Form fields */
.nm-landing-wc-wrap .form-row {
    margin: 0 0 14px !important;
    padding: 0 !important;
}

.nm-landing-wc-wrap label {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #718096 !important;
    text-transform: uppercase !important;
    letter-spacing: .05em !important;
    margin-bottom: 5px !important;
    display: block !important;
}

.nm-landing-wc-wrap input[type="text"],
.nm-landing-wc-wrap input[type="email"],
.nm-landing-wc-wrap input[type="tel"],
.nm-landing-wc-wrap input[type="number"],
.nm-landing-wc-wrap select,
.nm-landing-wc-wrap textarea {
    width: 100% !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 11px 14px !important;
    font-size: 15px !important;
    color: #1e2d3f !important;
    background: #f8fafc !important;
    transition: border-color .2s !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
}

.nm-landing-wc-wrap input:focus,
.nm-landing-wc-wrap select:focus,
.nm-landing-wc-wrap textarea:focus {
    outline: none !important;
    border-color: #667eea !important;
    background: #fff !important;
}

/* Dos columnas en billing (nombre + apellido) */
.nm-landing-wc-wrap .col2-set {
    display: block !important;
    width: 100% !important;
}

.nm-landing-wc-wrap .col2-set .col-1,
.nm-landing-wc-wrap .col2-set .col-2 {
    width: 100% !important;
    float: none !important;
}

/* Payment section */
.nm-landing-wc-wrap #payment {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.nm-landing-wc-wrap #payment .wc_payment_methods {
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 14px !important;
    margin-bottom: 16px !important;
}

.nm-landing-wc-wrap #payment ul.payment_methods li {
    display: flex !important;
    align-items: center !important;
    font-size: 14px !important;
    padding: 6px 0 !important;
}

.nm-landing-wc-wrap #payment ul.payment_methods li input {
    margin-right: 8px !important;
    width: auto !important;
    border: none !important;
    background: none !important;
}

/* CTA / Place order button */
.nm-landing-wc-wrap #place_order,
.nm-landing-wc-wrap button#place_order {
    width: 100% !important;
    background: #38a169 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 18px 24px !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: .04em !important;
    transition: background .2s, transform .1s !important;
    box-shadow: 0 4px 14px rgba(56,161,105,.35) !important;
}

.nm-landing-wc-wrap #place_order:hover {
    background: #2f855a !important;
    transform: translateY(-1px) !important;
}

/* Trust badges */
.nm-landing-trust-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 14px 24px 20px;
    font-size: 13px;
    color: #a0aec0;
    border-top: 1px solid #f0f0f0;
}

/* Cart empty message */
.nm-landing-empty-cart {
    text-align: center;
    color: #718096;
    padding: 20px;
    font-size: 14px;
}

/* ── Order bump (override específico para landing) ───────── */
.nm-landing-wc-wrap .nm-slo-bump {
    margin: 20px 0 !important;
}

/* ── Footer ──────────────────────────────────────────────── */
.nm-landing-footer {
    text-align: center;
    padding: 24px 20px;
    color: #a0aec0;
    font-size: 13px;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 860px) {
    .nm-landing-wrap {
        grid-template-columns: 1fr;
        gap: 24px;
        margin: 20px auto;
    }

    .nm-landing-right {
        position: static;
        order: -1; /* Checkout arriba en móvil */
    }

    .nm-trust-bar {
        gap: 12px;
        font-size: 12px;
    }

    .nm-landing-h1 {
        font-size: 24px;
    }
}
