:root {
    --tfxw-verde: #989E8B;
    --tfxw-verde-dark: #858B79;
    --tfxw-oro: #F1D58B;
    --tfxw-crema: #FAF8F5;
    --tfxw-text: #1A1A1A;
    --tfxw-serif: "Playfair Display", "Noto Serif Display", Georgia, serif;
    --tfxw-body: "Inter", "Open Sans", Arial, sans-serif;
    --tfxw-shadow: 0 25px 50px rgba(0, 0, 0, 0.06);
}

.tfxw-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 26px 80px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    font-family: var(--tfxw-body);
}

.tfxw-brand {
    color: var(--tfxw-text);
    font-family: var(--tfxw-serif);
    font-size: 24px;
    text-decoration: none;
}

.tfxw-header-nav a {
    color: #999;
    text-decoration: none;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tfxw-cart-layout {
    max-width: 1300px;
    margin: 60px auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 60px;
    font-family: var(--tfxw-body);
}

.tfxw-cart-main h1,
.tfxw-checkout-heading h1,
.tfxw-success-card h1 {
    margin: 0 0 36px;
    color: var(--tfxw-text);
    font-family: var(--tfxw-serif);
    font-size: clamp(42px, 5vw, 58px);
    font-weight: 500;
    line-height: 1;
}

.tfxw-cart-items { display: grid; gap: 20px; }

.tfxw-cart-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 110px 120px 42px;
    gap: 28px;
    align-items: center;
    padding: 28px;
    background: #fff;
    border-radius: 24px;
    border: 1px solid rgba(0,0,0,.03);
    box-shadow: 0 10px 30px rgba(0,0,0,.03);
}

.tfxw-cart-item-info {
    display: flex;
    align-items: center;
    gap: 24px;
    min-width: 0;
}

.tfxw-cart-item-info img {
    width: 96px;
    height: 96px;
    border-radius: 16px;
    object-fit: cover;
}

.tfxw-cart-item-info span {
    display: block;
    color: var(--tfxw-verde);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tfxw-cart-item-info h3 { margin: 6px 0; color: var(--tfxw-text); font-size: 18px; }
.tfxw-cart-item-info p { margin: 0; color: #aaa; font-size: 13px; }

.tfxw-qty input {
    width: 100%;
    border: 1px solid #eee;
    border-radius: 999px;
    padding: 12px;
    text-align: center;
}

.tfxw-cart-price { font-size: 17px; font-weight: 900; }
.tfxw-remove { border: none; background: transparent; color: #ccc; cursor: pointer; font-size: 22px; }

.tfxw-cart-summary {
    position: sticky;
    top: 40px;
    align-self: start;
    padding: 42px;
    background: #fff;
    border-radius: 32px;
    box-shadow: var(--tfxw-shadow);
    font-family: var(--tfxw-body);
}

.tfxw-cart-summary h2 {
    margin: 0 0 30px;
    font-family: var(--tfxw-serif);
    font-size: 30px;
}

.tfxw-coupon-form label {
    display: block;
    margin-bottom: 12px;
    color: #999;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tfxw-coupon-form div { display: flex; gap: 10px; margin-bottom: 20px; }
.tfxw-coupon-form input {
    min-width: 0;
    flex: 1;
    border: 1px solid #eee;
    border-radius: 999px;
    padding: 14px 18px;
}

.tfxw-coupon-form button,
.tfxw-button,
.tfxw-secondary-button,
.tfxw-outline-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: none;
    background: var(--tfxw-verde);
    color: #fff;
    padding: 16px 24px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
}

.tfxw-coupon-form button { background: var(--tfxw-text); }
.tfxw-secondary-button, .tfxw-outline-button { background: transparent; color: var(--tfxw-text); border: 1px solid var(--tfxw-text); }

.tfxw-coupon-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    padding: 9px 14px;
    border-radius: 999px;
    background: #f4f6f2;
    color: var(--tfxw-verde);
    font-size: 12px;
    font-weight: 900;
}

.tfxw-coupon-tag button { border: none; background: transparent; color: #b85c5c; cursor: pointer; }

.tfxw-summary-line,
.tfxw-summary-total,
.tfxw-mini-subtotal {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.tfxw-summary-line { color: #777; }
.tfxw-summary-line.is-discount { color: #2e8b57; }

.tfxw-summary-total {
    margin-top: 26px;
    padding-top: 26px;
    border-top: 1px solid #f1f1f1;
    align-items: flex-end;
}

.tfxw-summary-total strong { color: var(--tfxw-verde); font-size: 32px; }
.tfxw-cart-summary .tfxw-button { width: 100%; margin-top: 12px; }
.tfxw-secure-note { margin: 18px 0 0; color: #bbb; text-align: center; font-size: 11px; }

.tfxw-empty {
    padding: 44px;
    background: #fff;
    border-radius: 28px;
    text-align: center;
    font-family: var(--tfxw-body);
}

.tfxw-empty-icon {
    margin: 0 auto 18px;
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    border-radius: 24px;
    background: #f7f2ec;
    color: var(--tfxw-verde);
    font-size: 42px;
}

.tfxw-checkout-layout {
    min-height: 100vh;
    font-family: var(--tfxw-body);
}

.tfxw-checkout-main {
    max-width: 980px;
    margin: 0 auto;
    padding: 60px 30px 90px;
}

.tfxw-checkout-heading span {
    color: var(--tfxw-verde);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.1px;
}

.tfxw-checkout-heading p { max-width: 680px; color: #777; line-height: 1.7; }
.tfxw-native-checkout { margin-top: 34px; }

.tfxw-mini-cart-trigger {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1998;
    border: none;
    border-radius: 999px;
    background: var(--tfxw-text);
    color: #fff;
    padding: 14px 18px;
    font-weight: 900;
    cursor: pointer;
}

.tfxw-mini-cart-trigger span { margin-left: 8px; color: var(--tfxw-oro); }

.tfxw-cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 1999;
    display: none;
    background: rgba(0, 0, 0, .15);
    backdrop-filter: blur(4px);
}

.tfxw-mini-cart {
    position: fixed;
    top: 0;
    right: -460px;
    z-index: 2000;
    width: 420px;
    max-width: calc(100vw - 26px);
    height: 100vh;
    background: #fff;
    box-shadow: -20px 0 60px rgba(0,0,0,.07);
    display: flex;
    flex-direction: column;
    transition: right .35s ease;
    font-family: var(--tfxw-body);
}

body.tfxw-cart-open .tfxw-mini-cart { right: 0; }
body.tfxw-cart-open .tfxw-cart-overlay { display: block; }

.tfxw-mini-cart header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 34px;
    border-bottom: 1px solid #f2f2f2;
}

.tfxw-mini-cart header h3 { margin: 0; font-family: var(--tfxw-serif); font-size: 28px; }
.tfxw-mini-cart header button { border: none; background: transparent; font-size: 26px; cursor: pointer; }

.tfxw-mini-cart-items {
    flex: 1;
    overflow: auto;
    padding: 32px;
    display: grid;
    align-content: start;
    gap: 24px;
}

.tfxw-mini-cart-item { display: flex; align-items: center; gap: 18px; }
.tfxw-mini-cart-item img { width: 76px; height: 76px; object-fit: cover; border-radius: 16px; }
.tfxw-mini-cart-item span, .tfxw-mini-cart-item strong { display: block; }

.tfxw-mini-cart footer {
    padding: 32px;
    background: #fafafa;
    border-top: 1px solid #f2f2f2;
    display: grid;
    gap: 10px;
}

.tfxw-mini-cart footer .tfxw-button,
.tfxw-mini-cart footer .tfxw-outline-button { width: 100%; }

.tfxw-text-button {
    border: none;
    background: transparent;
    color: #999;
    cursor: pointer;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tfxw-success-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 40px;
    background: var(--tfxw-crema);
    font-family: var(--tfxw-body);
}

.tfxw-success-card {
    max-width: 620px;
    width: 100%;
    background: #fff;
    border-radius: 28px;
    padding: 58px 44px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,.03);
}

.tfxw-success-icon {
    width: 82px;
    height: 82px;
    margin: 0 auto 28px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #f0f2ed;
    color: var(--tfxw-verde);
    font-size: 42px;
}

.tfxw-success-steps {
    margin: 32px 0;
    padding: 24px;
    border-radius: 18px;
    background: var(--tfxw-crema);
    display: grid;
    gap: 16px;
    text-align: left;
}

.tfxw-success-steps strong,
.tfxw-success-steps span { display: block; }
.tfxw-success-steps span { margin-top: 4px; color: #777; font-size: 13px; }
.tfxw-success-actions { display: grid; gap: 12px; }
.tfxw-order-number { display: block; margin-top: 24px; color: #aaa; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }

@media (max-width: 1100px) {
    .tfxw-cart-layout { grid-template-columns: 1fr; }
    .tfxw-cart-summary { position: static; }
}

@media (max-width: 760px) {
    .tfxw-header { padding: 22px; }
    .tfxw-cart-layout { margin: 34px auto; padding: 0 22px; }
    .tfxw-cart-item { grid-template-columns: 1fr; }
    .tfxw-cart-item-info { align-items: flex-start; }
    .tfxw-cart-summary { padding: 28px; }
}

/* ==========================================================
   Cart correcto - Diseño carro.html
   ========================================================== */

.tfxw-cart-correct-layout {
    max-width: 1300px;
    margin: 0px auto;
   padding-bottom: 100px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 60px;
    box-sizing: border-box;
    font-family: var(--tfxw-body, "Open Sans", Arial, sans-serif);
}

.tfxw-cart-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
}

.tfxw-cart-title-row h1 {
    margin: 0;
    font-family: var(--tfxw-serif, "Noto Serif Display", Georgia, serif);
    font-size: 42px;
    font-weight: 400;
    line-height: 1.05;
}

.tfxw-cart-title-row a {
    color: #aaa;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tfxw-cart-items-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tfxw-product-card {
    background: #fff;
    padding: 30px;
    border-radius: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    align-items: center;
    gap: 40px;
    border: 1px solid rgba(0, 0, 0, 0.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.tfxw-product-card-info {
    display: flex;
    align-items: center;
    gap: 25px;
    min-width: 0;
}

.tfxw-product-card-image {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    background: #f7f3ef;
    flex: 0 0 auto;
}

.tfxw-product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
}

.tfxw-product-card-info span {
    display: block;
    color: var(--tfxw-verde, #989E8B);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.tfxw-product-card-info h3 {
    margin: 5px 0;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
}

.tfxw-product-card-info h3 a {
    color: #1a1a1a;
    text-decoration: none;
}

.tfxw-product-card-info p {
    margin: 0;
    color: #aaa;
    font-size: 13px;
}

.tfxw-qty-control {
    border: 1px solid #eee;
    border-radius: 50px;
    padding: 8px 18px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
}

.tfxw-btn-qty {
    background: none;
    border: none;
    cursor: pointer;
    color: #bbb;
    font-size: 18px;
    line-height: 1;
    padding: 0;
}

.tfxw-btn-qty:hover {
    color: var(--tfxw-verde, #989E8B);
}

.tfxw-qty-input {
    width: 34px;
    border: 0;
    background: transparent;
    text-align: center;
    font-weight: 800;
    color: #1a1a1a;
    appearance: textfield;
}

.tfxw-qty-input::-webkit-outer-spin-button,
.tfxw-qty-input::-webkit-inner-spin-button {
    appearance: none;
    margin: 0;
}

.tfxw-product-card-price {
    font-weight: 900;
    font-size: 18px;
    white-space: nowrap;
}

.tfxw-btn-remove-item {
    background: none;
    border: none;
    color: #ddd;
    cursor: pointer;
    font-size: 20px;
    padding: 10px;
    transition: 0.3s;
}

.tfxw-btn-remove-item:hover {
    color: #e74c3c;
}

.tfxw-cart-update-button {
    margin-top: 22px;
    border: 1px solid #1a1a1a;
    background: transparent;
    color: #1a1a1a;
    border-radius: 50px;
    padding: 14px 24px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
}

.tfxw-cart-update-button:hover {
    background: #1a1a1a;
    color: #fff;
}

.tfxw-summary-sticky {
    position: sticky;
    top: 120px;
    align-self: start;
}

.tfxw-summary-card {
    background: #fff;
    padding: 50px 40px;
    border-radius: 32px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.01);
}

.tfxw-summary-card h3 {
    margin: 0 0 35px;
    font-family: var(--tfxw-serif, "Noto Serif Display", Georgia, serif);
    font-size: 28px;
    font-weight: 400;
}

.tfxw-coupon-form label {
    display: block;
    margin-bottom: 15px;
    color: #aaa;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.tfxw-coupon-row {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.tfxw-coupon-row input {
    flex-grow: 1;
    min-width: 0;
    padding: 15px 20px;
    border-radius: 50px;
    border: 1px solid #eee;
    font-size: 13px;
    outline: none;
}

.tfxw-coupon-row button {
    background: #1a1a1a;
    color: #fff;
    border: none;
    padding: 0 25px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
    text-transform: uppercase;
}

.tfxw-coupon-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.tfxw-coupon-tag {
    background: #f4f6f2;
    color: var(--tfxw-verde, #989E8B);
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tfxw-coupon-tag button {
    border: none;
    background: none;
    color: #e74c3c;
    cursor: pointer;
    font-weight: 900;
}

.tfxw-summary-line {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
    color: #888;
    font-size: 15px;
}

.tfxw-summary-line strong {
    color: #1a1a1a;
    font-weight: 800;
    text-align: right;
}

.tfxw-summary-line.is-discount,
.tfxw-summary-line.is-discount strong {
    color: #2ecc71;
}

.tfxw-total-line {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #f2f2f2;
    align-items: flex-end;
}

.tfxw-total-line span {
    font-size: 18px;
    font-weight: 800;
    color: #1a1a1a;
}

.tfxw-total-line strong,
.tfxw-total-line strong .amount {
    font-size: 32px;
    font-weight: 900;
    color: var(--tfxw-verde, #989E8B);
}

.tfxw-btn-checkout {
    width: 100%;
    min-height: 64px;
    padding: 20px;
    border-radius: 50px;
    background: var(--tfxw-verde, #989E8B);
    color: white;
    border: none;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 13px;
    margin-top: 15px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.tfxw-btn-checkout:hover {
    background: #858b79;
    color: #fff;
    transform: scale(1.02);
}

.tfxw-secure-note {
    font-size: 11px;
    color: #bbb;
    text-align: center;
    margin-top: 20px;
}

.tfxw-upsell-section {
    margin-top: 80px;
}

.tfxw-upsell-section h2 {
    margin: 0 0 40px;
    font-family: var(--tfxw-serif, "Noto Serif Display", Georgia, serif);
    font-size: 30px;
    font-weight: 400;
}

.tfxw-upsell-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.tfxw-upsell-card {
    background: #fff;
    padding: 25px;
    border-radius: 28px;
    border: 1px solid #f2f2f2;
    transition: 0.4s;
    text-align: center;
}

.tfxw-upsell-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.06);
}

.tfxw-upsell-img {
    display: block;
    width: 100%;
    height: 200px;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 20px;
    background: #f7f3ef;
}

.tfxw-upsell-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tfxw-upsell-card h4 {
    font-size: 15px;
    margin: 0 0 10px;
}

.tfxw-upsell-card p {
    font-weight: 900;
    color: var(--tfxw-verde, #989E8B);
    font-size: 18px;
    margin: 0 0 20px;
}

.tfxw-btn-add-related {
    width: 100%;
    min-height: 42px;
    padding: 12px;
    border-radius: 50px;
    border: 1px solid #1a1a1a;
    background: none;
    font-weight: 900;
    cursor: pointer;
    font-size: 11px;
    text-transform: uppercase;
    text-decoration: none;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tfxw-btn-add-related:hover {
    background: #1a1a1a;
    color: #fff;
}

.tfxw-cart-empty-state {
    background: #fff;
    border-radius: 28px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.tfxw-cart-empty-state > span {
    display: block;
    font-family: var(--tfxw-serif, Georgia, serif);
    color: var(--tfxw-verde, #989E8B);
    font-size: 52px;
    margin-bottom: 18px;
}

.tfxw-cart-empty-state h2 {
    margin: 0 0 12px;
    font-family: var(--tfxw-serif, Georgia, serif);
    font-size: 36px;
    font-weight: 400;
}

.tfxw-cart-empty-state p {
    margin: 0 0 24px;
    color: #777;
    font-size: 15px;
    line-height: 1.7;
}

@media (max-width: 1150px) {
    .tfxw-cart-correct-layout {
        grid-template-columns: 1fr;
    }

    .tfxw-summary-sticky {
        position: static;
    }

    .tfxw-upsell-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    .tfxw-cart-correct-layout {
        padding: 110px 20px 50px;
    }

    .tfxw-cart-title-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .tfxw-product-card {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tfxw-product-card-info {
        align-items: flex-start;
    }

    .tfxw-qty-control {
        justify-content: space-between;
        width: 100%;
        box-sizing: border-box;
    }

    .tfxw-summary-card {
        padding: 34px 26px;
    }

    .tfxw-coupon-row {
        flex-direction: column;
    }

    .tfxw-coupon-row button {
        min-height: 48px;
    }

    .tfxw-upsell-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .tfxw-product-card-info {
        flex-direction: column;
    }

    .tfxw-product-card-image {
        width: 100%;
        height: 190px;
    }
}

/* ==========================================================
   Checkout personalizado TeslaFix
   ========================================================== */

.tfxw-checkout-page {
    color: #1a1a1a;
    font-family: var(--tfxw-sans, "Open Sans", Arial, sans-serif);
    min-height: 100vh;
    padding-top: 100px;
}

.tfxw-checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 450px;
    max-width: 100%;
    min-height: 100vh;
}

.tfxw-checkout-form-area {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 60px 80px 20px;
    box-sizing: border-box;
    background: #f5f5f5;
}

.tfxw-checkout-brand {
    margin-bottom: 50px;
}

.tfxw-checkout-brand a {
    color: #1a1a1a;
    font-size: 18px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tfxw-checkout-step {
    margin-bottom: 50px;
}

.tfxw-checkout-step-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.tfxw-checkout-step-header span {
    background: var(--tfxw-verde, #989E8B);
    color: #ffffff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 900;
}

.tfxw-checkout-step-header h2 {
    margin: 0;
    color: #1a1a1a;
    font-family: var(--tfxw-serif, "Noto Serif Display", Georgia, serif);
    font-size: 28px;
    font-weight: 400;
    line-height: 1.1;
}

.tfxw-checkout-account-note {
    border-radius: 15px;
    background: #fafafa;
    border: 1px solid #eeeeee;
    padding: 20px;
}

.tfxw-checkout-account-note p {
    margin: 0;
    color: #777777;
    font-size: 14px;
    line-height: 1.7;
}

.tfxw-checkout-fields .form-row {
    margin-bottom: 20px;
}

.tfxw-checkout-fields label,
.tfxw-checkout-payment-box label {
    display: block;
    margin-bottom: 8px;
    color: #999999;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tfxw-checkout-fields input,
.tfxw-checkout-fields select,
.tfxw-checkout-fields textarea,
.tfxw-checkout-payment-box input,
.tfxw-checkout-payment-box select,
.tfxw-checkout-payment-box textarea {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #969696 !important;
    background: #ffffff;
    color: #1a1a1a;
    font-size: 14px;
    box-sizing: border-box;
}

span.woocommerce-input-wrapper input, span.woocommerce-input-wrapper select {
    border: solid 1px #9e9ba2 !important;
    border-radius: 10px !important;
}

.tfxw-checkout-fields input:focus,
.tfxw-checkout-fields select:focus,
.tfxw-checkout-fields textarea:focus {
    outline: none;
    border-color: var(--tfxw-verde, #989E8B);
    box-shadow: 0 0 0 4px rgba(152, 158, 139, 0.1);
}

.tfxw-checkout-payment-box {
    border: 1px solid #eeeeee;
    border-radius: 15px;
    padding: 22px;
    background: #fafafa;
}

.tfxw-checkout-payment-box #payment {
    background: transparent;
}

.tfxw-checkout-payment-box ul.payment_methods {
    padding: 0;
    margin: 0 0 24px;
    list-style: none;
    border: 0;
}

.tfxw-checkout-payment-box .wc_payment_method {
    margin-bottom: 16px;
}

.tfxw-checkout-payment-box #place_order {
    width: 100%;
    min-height: 64px;
    padding: 20px;
    border-radius: 50px;
    background: #1a1a1a;
    color: #ffffff;
    border: none;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    cursor: pointer;
    margin-top: 24px;
}

.tfxw-checkout-sidebar {
    background: #ffffff;
    border-left: 1px solid #E8E4E1;
    padding: 80px 40px;
    box-sizing: border-box;
}

.tfxw-checkout-summary {
    position: sticky;
    top: 120px;
}

.tfxw-checkout-summary h3 {
    margin: 0 0 30px;
    color: #1a1a1a;
    font-family: var(--tfxw-serif, "Noto Serif Display", Georgia, serif);
    font-size: 28px;
    font-weight: 400;
}

.tfxw-checkout-items {
    display: grid;
    gap: 20px;
    margin-bottom: 25px;
}

.tfxw-checkout-item {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
}

.tfxw-checkout-item-image {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    overflow: visible;
    position: relative;
}

.tfxw-checkout-item-image img {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    object-fit: cover;
    display: block;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.tfxw-checkout-item-image span {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #666666;
    color: #ffffff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.tfxw-checkout-item-info h4 {
    margin: 0;
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.tfxw-checkout-item-info small {
    display: block;
    margin-top: 5px;
    color: var(--tfxw-verde, #989E8B);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.tfxw-checkout-item strong {
    font-size: 15px;
    font-weight: 800;
    white-space: nowrap;
}

.tfxw-checkout-coupon {
    margin: 25px 0;
    padding-top: 25px;
    border-top: 1px solid #e5e0dc;
}

.tfxw-checkout-coupon .checkout_coupon {
    display: flex !important;
    gap: 10px;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.tfxw-checkout-coupon .form-row {
    margin: 0 !important;
    padding: 0 !important;
}

.tfxw-checkout-coupon input {
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #dcd8d5;
    font-size: 14px;
}

.tfxw-checkout-coupon button {
    background: #1a1a1a;
    color: #ffffff;
    border: none;
    padding: 0 25px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.tfxw-checkout-totals {
    margin-top: 25px;
    border-top: 1px solid #e5e0dc;
    padding-top: 25px;
}

.tfxw-checkout-totals table {
    width: 100%;
    border-collapse: collapse;
}

.tfxw-checkout-totals th,
.tfxw-checkout-totals td {
    padding: 12px 0;
    border: 0;
    color: #555555;
    font-size: 15px;
    text-align: left;
}

.tfxw-checkout-totals td {
    text-align: right;
}

.tfxw-checkout-totals .cart_item {
    display: none;
}

.tfxw-checkout-totals .order-total th,
.tfxw-checkout-totals .order-total td,
.tfxw-checkout-totals .order-total .amount {
    color: var(--tfxw-verde, #989E8B);
    font-size: 30px;
    font-weight: 900;
}

.tfxw-checkout-note {
    margin-top: 40px;
    padding: 20px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px dashed #dcd8d5;
    color: #666666;
    font-size: 12px;
    line-height: 1.6;
}

.tfxw-checkout-empty {
    max-width: 720px;
    margin: 140px auto;
    background: #ffffff;
    border-radius: 28px;
    padding: 50px;
}

.tfxw-checkout-empty h1 {
    margin: 0 0 14px;
    font-family: var(--tfxw-serif, "Noto Serif Display", Georgia, serif);
    font-size: 42px;
    font-weight: 400;
}

.tfxw-checkout-empty p {
    color: #777777;
    font-size: 15px;
    line-height: 1.7;
}

.tfxw-checkout-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 14px 28px;
    border-radius: 999px;
    background: var(--tfxw-verde, #989E8B);
    color: #ffffff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 1000px) {
    .tfxw-checkout-layout {
        grid-template-columns: 1fr;
    }

    .tfxw-checkout-sidebar {
        order: -1;
        border-left: 0;
        border-bottom: 1px solid #eeeeee;
        padding: 40px 20px;
    }

    .tfxw-checkout-summary {
        position: static;
    }

    .tfxw-checkout-form-area {
        padding: 40px 20px;
        max-width: 100%;
    }
}

/* ==========================================================
   Checkout shell / ocultar header-footer del theme
   ========================================================== */

/* Oculta el header/footer del theme SOLO cuando está el checkout custom */
body:has(.tfxw-checkout-page) #main-header,
body:has(.tfxw-checkout-page) footer,
body:has(.tfxw-checkout-page) .site-footer {
    display: none !important;
}

/* Reseteos útiles solo para checkout */
body:has(.tfxw-checkout-page) {
   
}

body:has(.tfxw-checkout-page) .entry-content,
body:has(.tfxw-checkout-page) .site-main,
body:has(.tfxw-checkout-page) main,
body:has(.tfxw-checkout-page) .contenedor-seccion,
body:has(.tfxw-checkout-page) .contenedor-full {
    max-width: 100% !important;
}

/* Página base */
.tfxw-checkout-page {
    color: #1a1a1a;
    font-family: var(--tfxw-sans, "Open Sans", Arial, sans-serif);
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.tfxw-checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 450px;
    min-height: 100vh;
}

.tfxw-checkout-form-area {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    padding: 60px 70px 50px;
    box-sizing: border-box;
}

/* Header propio */
.tfxw-checkout-topbar {
    margin-bottom: 50px;
}

.tfxw-checkout-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.tfxw-checkout-brand img {
    width: 170px;
    height: auto;
    display: block;
}

/* Pasos */
.tfxw-checkout-step {
    margin-bottom: 48px;
}

.tfxw-checkout-step-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.tfxw-checkout-step-header span {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--tfxw-verde, #989E8B);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
}

.tfxw-checkout-step-header h2 {
    margin: 0;
    font-family: var(--tfxw-serif, "Noto Serif Display", Georgia, serif);
    font-size: 28px;
    font-weight: 400;
    line-height: 1.1;
}

.tfxw-checkout-fields .form-row {
    margin-bottom: 20px;
}

.tfxw-checkout-fields label,
.tfxw-checkout-payment-box label {
    display: block;
    margin-bottom: 8px;
    color: #999;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .7px;
}

.tfxw-checkout-fields input,
.tfxw-checkout-fields select,
.tfxw-checkout-fields textarea,
.tfxw-checkout-payment-box input,
.tfxw-checkout-payment-box select,
.tfxw-checkout-payment-box textarea {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #424242;
    background: #fff;
    color: #1a1a1a;
    font-size: 14px;
    box-sizing: border-box;
}

.tfxw-checkout-fields input:focus,
.tfxw-checkout-fields select:focus,
.tfxw-checkout-fields textarea:focus {
    outline: none;
    border-color: var(--tfxw-verde, #989E8B);
    box-shadow: 0 0 0 4px rgba(152,158,139,.10);
}

/* Caja pago */
.tfxw-checkout-payment-box {
    border: 1px solid #ededed;
    border-radius: 14px;
    padding: 22px;
    background: #fafafa;
}

.tfxw-checkout-payment-box #payment {
    background: transparent;
}

.tfxw-checkout-payment-box ul.payment_methods {
    padding: 0;
    margin: 0 0 22px;
    list-style: none;
    border: 0;
}

.tfxw-checkout-payment-box .wc_payment_method {
    margin-bottom: 12px;
}

.tfxw-checkout-payment-box #place_order {
    width: 100%;
    min-height: 64px;
    padding: 18px 20px;
    border-radius: 50px;
    background: #1a1a1a;
    color: #fff;
    border: 0;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 20px;
}

/* Sidebar */

.tfxw-checkout-summary {
    position: sticky;
    top: 60px;
}

.tfxw-checkout-summary h3 {
    margin: 0 0 30px;
    font-family: var(--tfxw-serif, "Noto Serif Display", Georgia, serif);
    font-size: 28px;
    font-weight: 400;
}

.tfxw-checkout-items {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.tfxw-checkout-item {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
}

.tfxw-checkout-item-image {
    position: relative;
    width: 70px;
    height: 70px;
}

.tfxw-checkout-item-image img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.06);
    display: block;
}

.tfxw-checkout-item-image span {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #666;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tfxw-checkout-item-info h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.tfxw-checkout-item-info small {
    display: block;
    margin-top: 4px;
    color: var(--tfxw-verde, #989E8B);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.tfxw-checkout-item strong {
    white-space: nowrap;
    font-size: 15px;
    font-weight: 800;
}

/* Totales */
.tfxw-checkout-totals {
    padding-top: 25px;
    border-top: 1px solid #e5e0dc;
}

.tfxw-checkout-totals table {
    width: 100%;
    border-collapse: collapse;
}

.tfxw-checkout-totals th,
.tfxw-checkout-totals td {
    padding: 12px 0;
    font-size: 15px;
    color: #555;
    border: 0;
}

.tfxw-checkout-totals td {
    text-align: right;
}

.tfxw-checkout-totals .cart_item {
    display: none;
}

.tfxw-checkout-totals .order-total th,
.tfxw-checkout-totals .order-total td,
.tfxw-checkout-totals .order-total .amount {
    color: var(--tfxw-verde, #989E8B);
    font-size: 30px;
    font-weight: 900;
}

/* Nota */
.tfxw-checkout-note {
    margin-top: 35px;
    padding: 20px;
    background: rgba(0,0,0,.02);
    border: 1px dashed #ddd;
    border-radius: 12px;
    color: #777;
    font-size: 12px;
    line-height: 1.6;
}

/* Footer propio */
.tfxw-checkout-footer {
    margin-top: 20px;
    padding-top: 10px;
}

.tfxw-checkout-footer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #aaa;
    font-size: 12px;
    text-align: center;
}

.tfxw-checkout-secure-icon {
    font-size: 14px;
    line-height: 1;
}

/* Empty */
.tfxw-checkout-empty {
    max-width: 760px;
    margin: 120px auto;
    padding: 50px;
    background: #fff;
    border-radius: 28px;
}

.tfxw-checkout-empty h1 {
    margin: 0 0 12px;
    font-family: var(--tfxw-serif, "Noto Serif Display", Georgia, serif);
    font-size: 42px;
    font-weight: 400;
}

.tfxw-checkout-empty p {
    color: #777;
    font-size: 15px;
    line-height: 1.7;
}

.tfxw-checkout-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 14px 28px;
    border-radius: 999px;
    background: var(--tfxw-verde, #989E8B);
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 1000px) {
    body:has(.tfxw-checkout-page) #main-header,
    body:has(.tfxw-checkout-page) footer,
    body:has(.tfxw-checkout-page) .site-footer {
        display: none !important;
    }

    .tfxw-checkout-layout {
        grid-template-columns: 1fr;
    }

    .tfxw-checkout-sidebar {
        order: -1;
        border-left: 0;
        border-bottom: 1px solid #eee;
        padding: 35px 20px;
    }

    .tfxw-checkout-summary {
        position: static;
    }

    .tfxw-checkout-form-area {
        padding: 35px 20px 40px;
        max-width: 100%;
    }

    .tfxw-checkout-brand img {
        width: 150px;
    }
}

/* ==========================================================
   Checkout personalizado TeslaFix
   ========================================================== */

body:has(.tfxw-checkout-page) #main-header,
body:has(.tfxw-checkout-page) footer,
body:has(.tfxw-checkout-page) .site-footer {
    display: none !important;
}

body:has(.tfxw-checkout-page) {
    background: #ffffff;
}

body:has(.tfxw-checkout-page) .entry-content,
body:has(.tfxw-checkout-page) .site-main,
body:has(.tfxw-checkout-page) main,
body:has(.tfxw-checkout-page) .contenedor-seccion,
body:has(.tfxw-checkout-page) .contenedor-full {
    max-width: 100% !important;
}

.tfxw-checkout-page {
    background: #ffffff;
    color: #1a1a1a;
    font-family: var(--tfxw-sans, "Open Sans", Arial, sans-serif);
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.tfxw-checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 450px;
    min-height: 100vh;
}


.tfxw-checkout-topbar {
    margin-bottom: 50px;
}

.tfxw-checkout-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.tfxw-checkout-brand img {
    width: 170px;
    height: auto;
    display: block;
}

.tfxw-checkout-notices {
    margin: 0 0 34px;
}

.tfxw-checkout-notices .woocommerce-error,
.tfxw-checkout-notices .woocommerce-message,
.tfxw-checkout-notices .woocommerce-info {
    margin: 0 0 18px !important;
    padding: 20px 24px 20px 54px !important;
    border: 0 !important;
    border-radius: 18px;
    background: #fff7f7;
    color: #1a1a1a;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.04);
    font-size: 14px;
    line-height: 1.65;
}

.tfxw-checkout-notices .woocommerce-error {
    border-left: 4px solid #b94a48 !important;
}

.tfxw-checkout-notices .woocommerce-info {
    background: #f7f8f4;
    border-left: 4px solid var(--tfxw-verde, #989E8B) !important;
}

.tfxw-checkout-notices .woocommerce-message {
    background: #f5faf4;
    border-left: 4px solid #5c9b65 !important;
}

.tfxw-checkout-notices .woocommerce-error::before,
.tfxw-checkout-notices .woocommerce-info::before,
.tfxw-checkout-notices .woocommerce-message::before {
    top: 22px !important;
    left: 22px !important;
}

.tfxw-checkout-notices ul {
    margin: 0;
    padding-left: 18px;
}

.tfxw-checkout-notices li {
    margin-bottom: 4px;
}

.tfxw-checkout-step {
    margin-bottom: 48px;
}

.tfxw-checkout-step-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.tfxw-checkout-step-header span {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--tfxw-verde, #989E8B);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
}

.tfxw-checkout-step-header h2 {
    margin: 0;
    font-family: var(--tfxw-serif, "Noto Serif Display", Georgia, serif);
    font-size: 28px;
    font-weight: 400;
    line-height: 1.1;
}

.tfxw-checkout-fields .form-row {
    margin-bottom: 20px;
}

.tfxw-checkout-fields label,
.tfxw-checkout-payment-box label {
    display: block;
    margin-bottom: 8px;
    color: #999999;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .7px;
}

.tfxw-checkout-fields input,
.tfxw-checkout-fields select,
.tfxw-checkout-fields textarea,
.tfxw-checkout-payment-box input,
.tfxw-checkout-payment-box select,
.tfxw-checkout-payment-box textarea {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    background: #ffffff;
    color: #1a1a1a;
    font-size: 14px;
    box-sizing: border-box;
}

.tfxw-checkout-fields input:focus,
.tfxw-checkout-fields select:focus,
.tfxw-checkout-fields textarea:focus {
    outline: none;
    border-color: var(--tfxw-verde, #989E8B);
    box-shadow: 0 0 0 4px rgba(152,158,139,.10);
}

.tfxw-checkout-payment-box {
    border: 1px solid #ededed;
    border-radius: 14px;
    padding: 22px;
    background: #fafafa;
}

.tfxw-checkout-payment-box #payment {
    background: transparent;
}

.tfxw-checkout-payment-box ul.payment_methods {
    padding: 0;
    margin: 0 0 22px;
    list-style: none;
    border: 0;
}

.tfxw-checkout-payment-box .wc_payment_method {
    margin-bottom: 12px;
}

.tfxw-checkout-payment-box #place_order {
    width: 100%;
    min-height: 64px;
    padding: 18px 20px;
    border-radius: 50px;
    background: #1a1a1a;
    color: #ffffff;
    border: 0;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 20px;
}


.tfxw-checkout-summary {
    position: sticky;
    top: 60px;
}

.tfxw-checkout-summary h3 {
    margin: 0 0 30px;
    font-family: var(--tfxw-serif, "Noto Serif Display", Georgia, serif);
    font-size: 28px;
    font-weight: 400;
}

.tfxw-checkout-items {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.tfxw-checkout-item {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
}

.tfxw-checkout-item-image {
    position: relative;
    width: 70px;
    height: 70px;
}

.tfxw-checkout-item-image img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.06);
    display: block;
}

.tfxw-checkout-item-image span {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #666666;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tfxw-checkout-item-info h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.tfxw-checkout-item-info small {
    display: block;
    margin-top: 4px;
    color: var(--tfxw-verde, #989E8B);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.tfxw-checkout-item strong {
    white-space: nowrap;
    font-size: 15px;
    font-weight: 800;
}

.tfxw-checkout-totals {
    padding-top: 25px;
    border-top: 1px solid #e5e0dc;
}

.tfxw-checkout-totals table {
    width: 100%;
    border-collapse: collapse;
}

.tfxw-checkout-totals th,
.tfxw-checkout-totals td {
    padding: 12px 0;
    font-size: 15px;
    color: #555555;
    border: 0;
}

.tfxw-checkout-totals td {
    text-align: right;
}

.tfxw-checkout-totals .cart_item {
    display: none;
}

.tfxw-checkout-totals .order-total th,
.tfxw-checkout-totals .order-total td,
.tfxw-checkout-totals .order-total .amount {
    color: var(--tfxw-verde, #989E8B);
    font-size: 30px;
    font-weight: 900;
}

.tfxw-checkout-note {
    margin-top: 35px;
    padding: 20px;
    background: rgba(0,0,0,.02);
    border: 1px dashed #dddddd;
    border-radius: 12px;
    color: #777777;
    font-size: 12px;
    line-height: 1.6;
}

.tfxw-checkout-footer {
    margin-top: 20px;
    padding-top: 10px;
}

.tfxw-checkout-footer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #aaaaaa;
    font-size: 12px;
    text-align: center;
}

.tfxw-checkout-secure-icon {
    font-size: 14px;
    line-height: 1;
}

.tfxw-checkout-empty {
    max-width: 760px;
    margin: 120px auto;
    padding: 50px;
    background: #ffffff;
    border-radius: 28px;
}

.tfxw-checkout-empty h1 {
    margin: 0 0 12px;
    font-family: var(--tfxw-serif, "Noto Serif Display", Georgia, serif);
    font-size: 42px;
    font-weight: 400;
}

.tfxw-checkout-empty p {
    color: #777777;
    font-size: 15px;
    line-height: 1.7;
}

.tfxw-checkout-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 14px 28px;
    border-radius: 999px;
    background: var(--tfxw-verde, #989E8B);
    color: #ffffff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 1000px) {
    .tfxw-checkout-layout {
        grid-template-columns: 1fr;
    }

    .tfxw-checkout-sidebar {
        order: -1;
        border-left: 0;
        border-bottom: 1px solid #eeeeee;
        padding: 35px 20px;
    }

    .tfxw-checkout-summary {
        position: static;
    }

    .tfxw-checkout-form-area {
        padding: 35px 20px 40px;
        max-width: 100%;
    }

    .tfxw-checkout-brand img {
        width: 150px;
    }
}

/* ==========================================================
   CHECKOUT DIRECTO - EDICIÓN PREMIUM
   Single Product + Pago Directo
   ========================================================== */

/* Ocultar header/footer del theme solo en flujo directo */
body.tfxw-direct-checkout-active #main-header,
body.tfxw-direct-checkout-active footer,
body.tfxw-direct-checkout-active .site-footer,
body.tfxw-direct-checkout-active .woocommerce-notices-wrapper {
    display: none !important;
}

body.tfxw-direct-checkout-active {
    background: #f8f5f0 !important;
    margin: 0;
    padding: 0;
}

/* Reset de contenedores del theme */
body.tfxw-direct-checkout-active .contenedor-full,
body.tfxw-direct-checkout-active .contenedor-seccion,
body.tfxw-direct-checkout-active .site-main,
body.tfxw-direct-checkout-active .entry-content {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Página */
.tfxw-direct-checkout-page {
    max-width: 1440px;
    margin: 0 auto;
    min-height: 100vh;
    background: #ffffff;
    color: #1a1a1a;
    font-family: var(--font-secon, "Inter", "Open Sans", Arial, sans-serif);
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.03);
}

.tfxw-direct-layout {
    display: grid;
    grid-template-columns: 42% 58%;
    min-height: 100vh;
}

/* ==========================================================
   Columna izquierda: producto / curso
   ========================================================== */

.tfxw-direct-course-side {
    background: #f8f5f0;
    border-right: 1px solid rgba(0, 0, 0, 0.04);
}

.tfxw-direct-course-inner {
    padding: 70px 60px;
    box-sizing: border-box;
}

.tfxw-direct-logo {
    display: inline-flex;
    margin-bottom: 40px;
}

.tfxw-direct-logo img {
    width: 140px;
    height: auto;
    display: block;
}

.tfxw-direct-product-image {
    width: 100%;
    max-width: 100%;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    background: #ffffff;
    padding: 0px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.035);
}

.tfxw-direct-product-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
}

.tfxw-direct-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 15px;
    background: #ffffff;
    color: #93957d;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.tfxw-direct-course-inner h1 {
    font-family: var(--font-prima, "Noto Serif Display", Georgia, serif);
    font-size: clamp(34px, 3.5vw, 48px);
    line-height: 1.04;
    margin: 0 0 12px;
    font-weight: 400;
    color: #1a1a1a;
}

.tfxw-direct-subtitle {
    max-width: 520px;
    margin: 0 0 18px;
    color: #555555;
    font-size: 15px;
    line-height: 1.7;
}

.tfxw-direct-price {
    font-size: 30px;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 40px;
    letter-spacing: -1px;
}

/* Beneficios */
.tfxw-direct-benefits,
.tfxw-direct-for-who,
.tfxw-direct-modules {
    margin-top: 42px;
}

.tfxw-direct-benefits h2,
.tfxw-direct-for-who h2,
.tfxw-direct-modules h2 {
    margin: 0 0 20px;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tfxw-direct-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.tfxw-direct-benefits li {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-height: 46px;
    padding: 13px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.62);
    color: #555555;
    font-size: 14px;
    line-height: 1.45;
    box-sizing: border-box;
}

.tfxw-direct-benefits li::before {
    content: "✦";
    color: #93957d;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.4;
    flex: 0 0 auto;
}

.tfxw-direct-for-who p {
    margin: 0;
    color: #555555;
    font-size: 14px;
    line-height: 1.7;
}

/* Acordeón */
.tfxw-direct-accordion {
    display: grid;
    gap: 10px;
}

.tfxw-direct-accordion details {
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 14px;
    background: #ffffff;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
}

.tfxw-direct-accordion details[open] {
    border-color: rgba(147, 149, 125, 0.55);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.035);
}

.tfxw-direct-accordion summary {
    padding: 18px;
    color: #1a1a1a;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.tfxw-direct-accordion summary::-webkit-details-marker {
    display: none;
}

.tfxw-direct-accordion summary::after {
    content: "+";
    color: #93957d;
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
}

.tfxw-direct-accordion details[open] summary::after {
    content: "–";
}

.tfxw-direct-accordion p {
    margin: 0;
    padding: 0 18px 18px;
    color: #777777;
    font-size: 14px;
    line-height: 1.65;
}

/* ==========================================================
   Columna derecha: formulario / pago
   ========================================================== */

.tfxw-direct-payment-side {
    background: #ffffff;
}

.tfxw-direct-payment-inner {
    max-width: 650px;
    padding: 80px;
    margin: 0 auto;
    box-sizing: border-box;
    position: sticky;
    top: 30px;
}

.tfxw-direct-payment-header {
    margin-bottom: 36px;
}

.tfxw-direct-payment-header h2,
.tfxw-direct-review h2,
.tfxw-direct-payment h2 {
    margin: 0 0 10px;
    color: #1a1a1a;
    font-size: 26px;
    font-weight: 900;
    line-height: 1.1;
}

.tfxw-direct-payment-header p {
    margin: 0;
    color: #8a8a8a;
    font-size: 14px;
    line-height: 1.65;
}

/* Notices */
.tfxw-direct-notices {
    margin-bottom: 28px;
}

.tfxw-direct-notice {
    margin: 0 0 12px;
    padding: 16px 18px;
    border-radius: 14px;
    background: #fff7f7;
    border-left: 4px solid #b94a48;
    color: #1a1a1a;
    font-size: 14px;
    line-height: 1.6;
}

.tfxw-direct-notice.is-success,
.tfxw-direct-notice.is-notice {
    background: #f7f8f4;
    border-left-color: #93957d;
}

/* Campos Woo */
.tfxw-direct-fields .woocommerce-billing-fields h3,
.tfxw-direct-fields .woocommerce-shipping-fields h3 {
    margin: 0 0 22px;
    font-size: 18px;
    font-weight: 900;
    color: #1a1a1a;
}

.tfxw-direct-fields .form-row {
    margin: 0 0 18px !important;
    padding: 0 !important;
}

.tfxw-direct-fields label,
.tfxw-direct-payment label {
    display: block;
    margin-bottom: 7px !important;
    color: #64748b !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.tfxw-direct-fields .required {
    color: #bf3d3d !important;
    text-decoration: none;
}

/* Inputs base */
.tfxw-direct-fields input,
.tfxw-direct-fields select,
.tfxw-direct-fields textarea {
    width: 100%;
    min-height: 54px !important;
    border-radius: 14px !important;
    padding: 13px 16px 13px 44px !important;
    background-color: #f8fafc !important;
    background-repeat: no-repeat !important;
    background-position: 15px center !important;
    background-size: 17px !important;
    color: #1a1a1a !important;
    font-size: 15px !important;
    line-height: 1.3 !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.tfxw-direct-fields textarea {
    min-height: 110px !important;
    padding-top: 16px !important;
    background-position: 15px 17px !important;
}

.tfxw-direct-fields input:focus,
.tfxw-direct-fields select:focus,
.tfxw-direct-fields textarea:focus {
    border-color: #93957d !important;
    background-color: #ffffff !important;
    box-shadow: 0 10px 18px rgba(147, 149, 125, 0.12) !important;
    outline: none !important;
}


#billing_country_field select,
#billing_state_field select {
    padding-left: 16px !important;
}

/* Grid nombre/apellido */
@media (min-width: 768px) {
    .tfxw-direct-fields .woocommerce-billing-fields__field-wrapper,
    .tfxw-direct-fields .woocommerce-shipping-fields__field-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 18px;
    }

    .tfxw-direct-fields .form-row-wide,
    .tfxw-direct-fields #billing_country_field,
    .tfxw-direct-fields #billing_address_1_field,
    .tfxw-direct-fields #billing_address_2_field,
    .tfxw-direct-fields #billing_city_field,
    .tfxw-direct-fields #billing_state_field,
    .tfxw-direct-fields #billing_postcode_field,
    .tfxw-direct-fields #billing_phone_field,
    .tfxw-direct-fields #billing_email_field {
        grid-column: span 2;
    }
}

/* Select2 WooCommerce */
.tfxw-direct-fields .select2-container .select2-selection--single {
    min-height: 54px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    background: #f8fafc !important;
    display: flex !important;
    align-items: center !important;
}

.tfxw-direct-fields .select2-container .select2-selection__rendered {
    padding-left: 16px !important;
    color: #1a1a1a !important;
    font-size: 15px !important;
}

.tfxw-direct-fields .select2-container .select2-selection__arrow {
    height: 54px !important;
    right: 12px !important;
}

/* ==========================================================
   Revisión de orden
   ========================================================== */

.tfxw-direct-review {
    margin-top: 36px;
}

.tfxw-direct-review table {
    width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
    margin-top: 14px;
}

.tfxw-direct-review th,
.tfxw-direct-review td {
    padding: 15px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
    color: #475569;
}

.tfxw-direct-review td {
    text-align: right;
}

.tfxw-direct-review .cart_item {
    display: none;
}

.tfxw-direct-review .cart-subtotal th,
.tfxw-direct-review .cart-subtotal td {
    color: #475569;
}

.tfxw-direct-review .order-total th,
.tfxw-direct-review .order-total td,
.tfxw-direct-review .order-total .amount {
    border-bottom: 0;
    padding-top: 28px;
    color: #1a1a1a;
    font-size: 26px;
    font-weight: 900;
}

.tfxw-direct-review .order-total .amount {
    color: #93957d;
}

/* ==========================================================
   Modo de pago
   ========================================================== */

.tfxw-direct-payment {
    margin-top: 36px;
}

.tfxw-direct-payment #payment {
    background: transparent !important;
}

.tfxw-direct-payment ul.payment_methods {
    margin: 0 0 22px !important;
    padding: 0 !important;
    list-style: none !important;
    border: 1px solid #dbe3ef !important;
    border-radius: 18px !important;
    overflow: hidden;
    background: #ffffff;
}

.tfxw-direct-payment .wc_payment_method {
    padding: 18px !important;
    border-bottom: 1px solid #edf2f7 !important;
}

.tfxw-direct-payment .wc_payment_method:last-child {
    border-bottom: 0 !important;
}

.tfxw-direct-payment .wc_payment_method > label {
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin: 0 !important;
    color: #1a1a1a !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.tfxw-direct-payment .wc_payment_method input[type="radio"] {
    width: 17px !important;
    height: 17px !important;
    min-height: auto !important;
    accent-color: #93957d;
}

.tfxw-direct-payment .payment_box {
    margin: 16px 0 0 !important;
    padding: 18px !important;
    border-radius: 14px !important;
    background: #f7f7fb !important;
    color: #666666 !important;
    font-size: 13px !important;
    line-height: 1.65 !important;
}

.tfxw-direct-payment .payment_box::before {
    display: none !important;
}

.tfxw-direct-payment .woocommerce-privacy-policy-text {
    margin-top: 20px;
    color: #555555;
    font-size: 13px;
    line-height: 1.65;
}

.tfxw-direct-payment #place_order {
    width: 100%;
    min-height: 64px;
    background: #1a1a1a;
    color: #ffffff;
    border: none;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 26px;
}

.tfxw-direct-payment #place_order:hover {
    background: #93957d;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(147, 149, 125, 0.22);
}

.tfxw-direct-secure {
    margin: 22px 0 0;
    color: #8a8a8a;
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
}

/* ==========================================================
   Responsive
   ========================================================== */

@media (max-width: 1100px) {
    .tfxw-direct-checkout-page {
        max-width: 100%;
        box-shadow: none;
    }

    .tfxw-direct-layout {
        grid-template-columns: 1fr;
    }

    .tfxw-direct-course-inner {
        padding: 46px 24px;
    }

    .tfxw-direct-payment-inner {
        padding: 46px 24px 64px;
        max-width: 100%;
    }

    .tfxw-direct-product-image {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .tfxw-direct-course-inner h1 {
        font-size: 34px;
    }

    .tfxw-direct-payment-header h2,
    .tfxw-direct-review h2,
    .tfxw-direct-payment h2 {
        font-size: 22px;
    }

    .tfxw-direct-review .order-total th,
    .tfxw-direct-review .order-total td,
    .tfxw-direct-review .order-total .amount {
        font-size: 22px;
    }
}

.woocommerce form .form-row-first, .woocommerce form .form-row-last, .woocommerce-page form .form-row-first, .woocommerce-page form .form-row-last {
    width: 100%;
    overflow: visible;
}

/* ==========================================================
   Account flow checkout académico
   ========================================================== */

.tfxw-field-hidden {
    display: none !important;
}

.tfxw-direct-fields .create-account,
.tfxw-direct-fields .woocommerce-account-fields {
    display: none !important;
}

/* ==========================================================
   Order Success / Thank You
   ========================================================== */

body.tfxw-order-success-active #main-header,
body.tfxw-order-success-active footer,
body.tfxw-order-success-active .site-footer,
body.tfxw-order-success-active .woocommerce-notices-wrapper {
    display: none !important;
}

body.tfxw-order-success-active {
    background: #f6f6f4 !important;
    margin: 0;
    padding: 0;
}

body.tfxw-order-success-active .contenedor-full,
body.tfxw-order-success-active .contenedor-seccion,
body.tfxw-order-success-active .site-main,
body.tfxw-order-success-active .entry-content {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.tfxw-order-success-page {
    min-height: 100vh;
    background: #f6f6f4;
    color: #1a1a1a;
    font-family: var(--font-secon, "Inter", "Open Sans", Arial, sans-serif);
}

.tfxw-order-success-wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 60px 24px 80px;
    box-sizing: border-box;
}

.tfxw-order-success-head {
    margin-bottom: 36px;
}

.tfxw-order-success-brand img {
    width: 150px;
    height: auto;
    display: block;
}

.tfxw-order-success-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 42px;
    align-items: start;
}

.tfxw-order-success-content {
    background: #ffffff;
    border-radius: 28px;
    padding: 42px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.04);
}

.tfxw-order-success-kicker {
    display: inline-flex;
    padding: 7px 14px;
    border-radius: 999px;
    background: #eef1e7;
    color: #93957d;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.tfxw-order-success-content h1 {
    margin: 0 0 16px;
    font-family: var(--font-prima, "Noto Serif Display", Georgia, serif);
    font-size: clamp(38px, 3vw, 48px);
    font-weight: 400;
    line-height: 1.02;
    color: #1a1a1a;
}


.tfxw-order-success-intro {
    margin: 0 0 28px;
    color: #666666;
    font-size: 16px;
    line-height: 1.75;
    max-width: 780px;
}

.tfxw-order-success-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 34px;
}

.tfxw-order-success-summary-item {
    background: #faf8f5;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 18px;
    padding: 18px;
}

.tfxw-order-success-summary-item span {
    display: block;
    color: #888888;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.tfxw-order-success-summary-item strong {
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.4;
    word-break: break-word;
}

.tfxw-order-success-products {
    margin-top: 10px;
}

.tfxw-order-success-products h2 {
    margin: 0 0 18px;
    color: #1a1a1a;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.15;
}

.tfxw-order-success-product {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #efefef;
}

.tfxw-order-success-product-image {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    overflow: hidden;
    background: #faf8f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tfxw-order-success-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tfxw-order-success-product-placeholder {
    font-size: 26px;
}

.tfxw-order-success-product-info strong {
    display: block;
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 4px;
}

.tfxw-order-success-product-info span {
    color: #777777;
    font-size: 13px;
}

.tfxw-order-success-product-price {
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 900;
    white-space: nowrap;
}

.tfxw-order-success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.tfxw-order-success-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 26px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all .25s ease;
}

.tfxw-order-success-btn.is-primary,
.tfxw-order-success-btn {
    background: #1a1a1a;
    color: #ffffff;
}

.tfxw-order-success-btn.is-primary:hover,
.tfxw-order-success-btn:hover {
    background: #93957d;
    color: #ffffff;
}

.tfxw-order-success-btn.is-secondary {
    background: #eef1e7;
    color: #1a1a1a;
}

.tfxw-order-success-btn.is-secondary:hover {
    background: #dde2d1;
    color: #1a1a1a;
}

.tfxw-order-success-ticket-area {
    position: sticky;
    top: 40px;
}

.tfxw-order-ticket {
    position: relative;
    background: #ffffff;
    border-radius: 26px;
    padding: 32px 28px 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.tfxw-order-ticket::before,
.tfxw-order-ticket::after {
    content: "";
    position: absolute;
    top: 48%;
    width: 28px;
    height: 28px;
    background: #f6f6f4;
    border-radius: 50%;
    transform: translateY(-50%);
}

.tfxw-order-ticket::before {
    left: -14px;
}

.tfxw-order-ticket::after {
    right: -14px;
}

.tfxw-order-ticket-top {
    text-align: center;
    margin-bottom: 22px;
}

.tfxw-order-ticket-icon {
    font-size: 38px;
    line-height: 1;
    margin-bottom: 10px;
}

.tfxw-order-ticket-top h3 {
    margin: 0 0 8px;
    color: #1a1a1a;
    font-size: 34px;
    font-weight: 900;
    line-height: 1.05;
}

.tfxw-order-ticket-top p {
    margin: 0;
    color: #777777;
    font-size: 15px;
    line-height: 1.6;
}

.tfxw-order-ticket-separator {
    border-top: 2px dashed #dadada;
    margin: 24px 0;
}

.tfxw-order-ticket-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 20px;
    margin-bottom: 24px;
}

.tfxw-order-ticket-meta span {
    display: block;
    color: #8a8a8a;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 7px;
}

.tfxw-order-ticket-meta strong {
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
    word-break: break-word;
}

.tfxw-order-ticket-customer {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f7f7fb;
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 24px;
}

.tfxw-order-ticket-customer-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(90deg, #e85d3b 0%, #f6c04d 100%);
    flex: 0 0 auto;
}

.tfxw-order-ticket-customer strong {
    display: block;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
}

.tfxw-order-ticket-customer span {
    display: block;
    color: #777777;
    font-size: 12px;
    line-height: 1.5;
    word-break: break-word;
}

.tfxw-order-ticket-barcode {
    margin-top: 10px;
    padding: 22px 0 10px;
    border-top: 2px dashed #e5e5e5;
}

.tfxw-order-ticket-barcode span {
    display: block;
    width: 100%;
    height: 84px;
    border-radius: 10px;
    background:
        repeating-linear-gradient(
            90deg,
            #111 0px,
            #111 2px,
            transparent 2px,
            transparent 5px,
            #111 5px,
            #111 6px,
            transparent 6px,
            transparent 9px,
            #111 9px,
            #111 13px,
            transparent 13px,
            transparent 16px
        );
    background-color: #ffffff;
}

.tfxw-order-ticket-barcode span {
    height: 70px;
    opacity: 0.92;
}

.tfxw-order-ticket-reference {
    margin-top: 10px;
    text-align: center;
    color: #777777;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
}

.tfxw-order-success-empty {
    max-width: 760px;
    margin: 100px auto;
    background: #ffffff;
    border-radius: 28px;
    padding: 50px;
    text-align: center;
}

.tfxw-order-success-empty h1 {
    margin: 0 0 12px;
    font-family: var(--font-prima, "Noto Serif Display", Georgia, serif);
    font-size: 42px;
    font-weight: 400;
}

.tfxw-order-success-empty p {
    margin: 0 0 22px;
    color: #666666;
    font-size: 16px;
    line-height: 1.7;
}

@media (max-width: 1100px) {
    .tfxw-order-success-grid {
        grid-template-columns: 1fr;
    }

    .tfxw-order-success-ticket-area {
        position: static;
    }
}

@media (max-width: 767px) {
    .tfxw-order-success-wrap {
        padding: 36px 16px 60px;
    }

    .tfxw-order-success-content {
        padding: 26px 20px;
        border-radius: 22px;
    }

    .tfxw-order-success-summary {
        grid-template-columns: 1fr;
    }

    .tfxw-order-success-product {
        grid-template-columns: 60px minmax(0, 1fr);
    }

    .tfxw-order-success-product-price {
        grid-column: 2;
        text-align: left;
    }

    .tfxw-order-ticket {
        padding: 26px 20px 20px;
    }

    .tfxw-order-ticket-meta {
        grid-template-columns: 1fr;
    }
}
.tfxw-order-ticket-meta strong .woocommerce-Price-amount,
.tfxw-order-success-summary-item strong .woocommerce-Price-amount,
.tfxw-order-success-product-price .woocommerce-Price-amount {
    white-space: nowrap;
}

.tfxw-order-ticket-meta strong,
.tfxw-order-success-summary-item strong,
.tfxw-order-success-product-price {
    word-break: normal;
}


/* ==========================================================
   TeslaFix Account Access
   Recuperar / crear contraseña
   ========================================================== */

body.tfxw-account-access-active {
    margin: 0;
    background: #eae6e3;
    color: #1a1a1a;
    font-family: var(--font-secon, "Inter", "Open Sans", Arial, sans-serif);
}

body.tfxw-account-access-active #main-header,
body.tfxw-account-access-active footer,
body.tfxw-account-access-active .site-footer,
body.tfxw-account-access-active .woocommerce-notices-wrapper {
    display: none !important;
}

.tfxw-account-access-page {
    min-height: 100vh;
    padding: 48px 24px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tfxw-account-access-card {
    width: 100%;
    max-width: 1120px;
    background: #ffffff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.07);
}

.tfxw-account-access-brand {
    padding: 34px 42px 0;
}

.tfxw-account-access-brand img {
    width: 150px;
    height: auto;
    display: block;
}

.tfxw-account-access-grid {
    display: grid;
    grid-template-columns: 45% 55%;
    min-height: 620px;
}

.tfxw-account-access-side {
    padding: 54px 54px 64px;
    background: #f8f5f0;
    border-right: 1px solid rgba(0, 0, 0, 0.04);
}

.tfxw-account-access-kicker {
    display: inline-flex;
    padding: 7px 14px;
    border-radius: 999px;
    background: #ffffff;
    color: #93957d;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.tfxw-account-access-side h1 {
    margin: 0 0 18px;
    font-family: var(--font-prima, "Noto Serif Display", Georgia, serif);
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1;
    font-weight: 400;
    color: #1a1a1a;
}

.tfxw-account-access-side p {
    margin: 0;
    max-width: 460px;
    color: #666666;
    font-size: 16px;
    line-height: 1.75;
}

.tfxw-account-access-benefits {
    margin-top: 46px;
    display: grid;
    gap: 14px;
}

.tfxw-account-access-benefits div {
    background: rgba(255, 255, 255, 0.65);
    border-radius: 18px;
    padding: 18px;
}

.tfxw-account-access-benefits strong {
    display: block;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 5px;
}

.tfxw-account-access-benefits span {
    display: block;
    color: #777777;
    font-size: 13px;
    line-height: 1.55;
}

.tfxw-account-access-form-area {
    padding: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tfxw-account-access-form-card {
    width: 100%;
    max-width: 480px;
}

.tfxw-account-access-form-card h2 {
    margin: 0 0 10px;
    color: #1a1a1a;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.15;
}

.tfxw-account-access-helper {
    margin: 0 0 28px;
    color: #777777;
    font-size: 14px;
    line-height: 1.65;
}

.tfxw-account-access-woo form {
    margin: 0;
}

.tfxw-account-access-woo p {
    color: #666666;
    font-size: 14px;
    line-height: 1.65;
}

.tfxw-account-access-woo label {
    display: block;
    margin-bottom: 8px;
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.tfxw-account-access-woo input[type="text"],
.tfxw-account-access-woo input[type="email"],
.tfxw-account-access-woo input[type="password"] {
    width: 100%;
    min-height: 56px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px 16px;
    background: #f8fafc;
    color: #1a1a1a;
    font-size: 15px;
    box-sizing: border-box;
    box-shadow: none;
}

.tfxw-account-access-woo input:focus {
    border-color: #93957d;
    background: #ffffff;
    box-shadow: 0 10px 18px rgba(147, 149, 125, 0.12);
    outline: none;
}

.tfxw-account-access-woo .form-row {
    margin-bottom: 18px;
}

.tfxw-account-access-woo button,
.tfxw-account-access-woo .button {
    width: 100%;
    min-height: 60px;
    border: 0;
    border-radius: 999px;
    background: #1a1a1a;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .25s ease;
}

.tfxw-account-access-woo button:hover,
.tfxw-account-access-woo .button:hover {
    background: #93957d;
    color: #ffffff;
    transform: translateY(-2px);
}

.tfxw-account-access-notices .woocommerce-error,
.tfxw-account-access-notices .woocommerce-message,
.tfxw-account-access-notices .woocommerce-info {
    margin: 0 0 18px;
    padding: 16px 18px;
    border-radius: 14px;
    background: #f7f8f4;
    color: #1a1a1a;
    font-size: 14px;
    line-height: 1.6;
    border: 0;
    list-style: none;
}

.tfxw-account-access-notices .woocommerce-error {
    background: #fff7f7;
}

.tfxw-account-access-links {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 26px;
}

.tfxw-account-access-links a {
    color: #777777;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.tfxw-account-access-links a:hover {
    color: #93957d;
}

@media (max-width: 900px) {
    .tfxw-account-access-page {
        padding: 20px;
        align-items: flex-start;
    }

    .tfxw-account-access-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .tfxw-account-access-brand {
        padding: 28px 28px 0;
    }

    .tfxw-account-access-side,
    .tfxw-account-access-form-area {
        padding: 36px 28px;
    }

    .tfxw-account-access-side {
        border-right: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    }
}

.tfxw-account-access-alert {
    margin: 0 0 22px;
    padding: 18px 20px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.55;
}

.tfxw-account-access-alert strong {
    display: block;
    margin-bottom: 4px;
    font-weight: 900;
    color: #1a1a1a;
}

.tfxw-account-access-alert p {
    margin: 0;
    color: #555;
}

.tfxw-account-access-alert.is-success {
    background: #f0f5ea;
    border: 1px solid rgba(147, 149, 125, 0.25);
}

.tfxw-account-access-alert.is-error {
    background: #fff3f3;
    border: 1px solid rgba(190, 70, 70, 0.25);
}

/* ==========================================================
   Direct Checkout - Navegación superior
   ========================================================== */

.tfxw-direct-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 34px;
}

.tfxw-direct-topbar .tfxw-direct-logo {
    margin-bottom: 0;
}

.tfxw-direct-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tfxw-direct-nav-actions a {
    min-height: 36px;
    padding: 0 16px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid rgba(147, 149, 125, 0.25);
    color: #1a1a1a;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.25s ease;
}

.tfxw-direct-nav-actions a:hover {
    background: #93957d;
    border-color: #93957d;
    color: #ffffff;
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .tfxw-direct-topbar {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 26px;
    }

    .tfxw-direct-nav-actions {
        width: 100%;
    }

    .tfxw-direct-nav-actions a {
        flex: 1;
    }
}




