/* Checkout: estilos propios, sin alterar el catálogo ni las galerías. */
.tm-checkout-page{background:#f8f7f4;color:#252a2d;padding:58px 6% 80px}
.tm-checkout-wrap{max-width:1220px;margin:auto}
.tm-checkout-wrap h1{font-size:clamp(30px,4vw,46px);line-height:1.12;letter-spacing:-1px;margin:0 0 18px}
.tm-checkout-intro{color:#626a6e;max-width:650px;margin-bottom:34px}
.tm-checkout-page .checkout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:28px;align-items:start}
.tm-checkout-page .datos-cliente,.tm-checkout-page .resumen-checkout{min-width:0;background:#fff;border:1px solid #e1dfd8;border-radius:12px;padding:28px;text-align:left}
.tm-checkout-page form{padding:0;margin:0;box-shadow:none;background:transparent;max-width:none}
.tm-checkout-page h2{font-size:23px;margin:0 0 15px}
.tm-checkout-page .tm-form-hint,.tm-submit-note{font-size:13px;color:#626a6e;line-height:1.6;margin:0 0 18px}
.tm-checkout-page label{font-size:14px;margin-bottom:8px}
.tm-checkout-page input:not([type=radio]),.tm-checkout-page textarea{box-sizing:border-box;width:100%;padding:13px;border:1px solid #c7ccd0;border-radius:6px;background:#fff;color:#252a2d;font:inherit;font-size:16px;margin-bottom:20px}
.tm-checkout-page textarea{min-height:105px;resize:vertical}
.tm-checkout-page input:focus-visible,.tm-checkout-page textarea:focus-visible,.tm-checkout-page a:focus-visible,.tm-checkout-page button:focus-visible{outline:3px solid #ff7925;outline-offset:3px}
.tm-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.tm-delivery{border:0;padding:0;margin:12px 0 20px;min-width:0}
.tm-delivery legend{font-size:23px;font-weight:700;margin-bottom:16px}
.tm-checkout-page .tm-delivery-option{display:flex;gap:12px;align-items:flex-start;border:1px solid #d7d9d9;border-radius:8px;padding:16px;margin-bottom:10px;cursor:pointer;font-weight:400}
.tm-delivery-option:has(input:checked){background:#fff6ed;border-color:#d45a0a}
.tm-checkout-page .tm-delivery-option input{width:19px;height:19px;flex-shrink:0;margin:3px 0 0;accent-color:#c55004}
.tm-delivery-option strong,.tm-delivery-option small{display:block}
.tm-delivery-option small{font-size:13px;color:#626a6e;line-height:1.5;margin-top:5px}
.tm-delivery-note{padding:14px;background:#f1f3f3;border-radius:6px;font-size:13px;line-height:1.6;margin:0 0 22px}
.tm-test-note{background:#fff1d6;border:1px solid #efd09c;color:#714600;font-size:12px;line-height:1.5;padding:12px;border-radius:6px;margin:0 0 20px}
.tm-checkout-page [hidden]{display:none!important}
.tm-checkout-page .producto-resumen{padding:16px 0;border-bottom:1px solid #e9e7e2;overflow-wrap:anywhere}
.tm-checkout-page .producto-resumen h4{font-size:15px;line-height:1.5;margin:0 0 8px}
.tm-checkout-page .producto-resumen p{font-size:14px;color:#626a6e;margin:4px 0}
.tm-delivery-summary{display:flex;justify-content:space-between;gap:16px;font-size:13px;margin:22px 0}
.tm-checkout-page .total-checkout{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e1dfd8;padding:20px 0 10px;margin:0}
.total-checkout>strong{font-size:14px}.total-checkout>span{font-size:26px;font-weight:800}.total-checkout small{font-size:11px;font-weight:400}
#confirmar-pedido{display:flex;align-items:center;justify-content:center;gap:10px;box-sizing:border-box;width:100%;min-height:56px;border:0;border-radius:8px;padding:15px 18px;background:#146c3b;color:#fff;font:inherit;font-size:15px;font-weight:700;cursor:pointer;box-shadow:0 4px 12px #146c3b25;transition:background .2s,transform .2s;margin:18px 0 14px}
#confirmar-pedido svg{width:24px;height:24px;flex-shrink:0}
#confirmar-pedido:hover{background:#10572f;transform:translateY(-2px)}
#confirmar-pedido:active{transform:none}
#confirmar-pedido:disabled{background:#707a75;cursor:not-allowed;transform:none;box-shadow:none}
.tm-checkout-page .volver-carrito{display:inline-block;margin-top:10px;color:#a84300;font-size:14px;font-weight:700;text-decoration:none}
@media(max-width:850px){.tm-checkout-page .checkout{grid-template-columns:1fr}.tm-checkout-page{padding:35px 5% 55px}}
@media(max-width:480px){.tm-checkout-page .datos-cliente,.tm-checkout-page .resumen-checkout{padding:20px}.tm-form-grid{grid-template-columns:1fr;gap:0}#confirmar-pedido{font-size:14px;padding:14px 10px}}
@media(prefers-reduced-motion:reduce){#confirmar-pedido{transition:none}#confirmar-pedido:hover{transform:none}}

/* Continuidad visual con el carrito. */
.tm-checkout-page{padding-top:40px}
.tm-checkout-wrap{max-width:1260px}
.tm-checkout-back{display:inline-block;font-size:13px;color:#626a6e;text-decoration:none;margin-bottom:28px}
.tm-checkout-back:hover{color:#a84300}
.tm-checkout-steps{display:flex;align-items:center;flex-wrap:wrap;gap:16px 28px;padding:0;margin:0 0 38px;list-style:none;font-size:12px;color:#626a6e}
.tm-checkout-steps li{display:flex;align-items:center;gap:8px}
.tm-checkout-steps a{display:flex;align-items:center;gap:8px;color:inherit;text-decoration:none}
.tm-checkout-steps span{display:grid;place-items:center;width:28px;height:28px;border:1px solid #d6d7d2;border-radius:50%;font-size:10px;font-weight:700}
.tm-checkout-steps [aria-current=step]{color:#a84300;font-weight:700}
.tm-checkout-steps [aria-current=step] span{background:#ff7925;border-color:#ff7925;color:#171b1e}
.tm-checkout-wrap h1{font-size:clamp(32px,4vw,48px);letter-spacing:-1.5px}
.tm-checkout-page .checkout{grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:30px}
.tm-checkout-page .datos-cliente{padding:32px}
.tm-checkout-page .datos-cliente h2,.tm-delivery legend{font-size:21px}
.tm-checkout-page .resumen-checkout{background:#20272b;border-color:#20272b;color:#fff;padding:30px;box-shadow:none}
.tm-checkout-page .resumen-checkout .tm-eyebrow{color:#ff974f;font-size:10px;margin-bottom:13px}
.tm-checkout-summary-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:12px}
.tm-checkout-summary-heading h2{font-size:24px;line-height:1.25;margin:0}
#checkout-unidades{white-space:nowrap;font-size:11px;color:#d4dadc;padding:6px 9px;background:#343d42;border-radius:20px}
.tm-checkout-page .producto-resumen{display:grid;grid-template-columns:66px minmax(0,1fr);gap:15px;padding:19px 0;border-bottom-color:#42494d}
.tm-checkout-thumb{display:flex;align-items:center;justify-content:center;width:66px;height:72px;overflow:hidden;border-radius:7px;background:#f4f3ef;color:#a84300;font-size:16px;font-weight:800}
.tm-checkout-thumb img{width:100%;height:100%;object-fit:contain}
.tm-checkout-page .producto-resumen h4{font-size:13px;line-height:1.5;font-weight:600;color:#fff;margin-bottom:7px}
.tm-checkout-page .producto-resumen p{font-size:12px;color:#b6bfc3;line-height:1.5}
.tm-checkout-page .producto-resumen p:last-child{color:#fff;font-weight:700;margin-top:6px}
.tm-checkout-page .resumen-checkout .tm-delivery-summary{color:#c9ced1;font-size:12px;gap:15px}
.tm-checkout-page .resumen-checkout .tm-delivery-summary strong{text-align:right;color:#eef0f0}
.tm-checkout-page .resumen-checkout .total-checkout{display:block;border-color:#42494d;padding-top:22px}
.tm-checkout-page .resumen-checkout .total-checkout>strong{display:block;font-size:12px;color:#c9ced1;font-weight:400;margin-bottom:8px}
.tm-checkout-page .resumen-checkout .total-checkout>span{display:block;font-size:35px;font-weight:800;letter-spacing:-1px;line-height:1.3}
.tm-checkout-page .resumen-checkout .total-checkout small{color:#aeb7bb;letter-spacing:0}
.tm-checkout-page .resumen-checkout .tm-form-hint,.tm-checkout-page .resumen-checkout .tm-submit-note{color:#c9ced1;font-size:12px;line-height:1.7}
.tm-checkout-page .resumen-checkout .tm-submit-note{font-size:11px;text-align:center;margin-bottom:12px}
.tm-checkout-page .resumen-checkout .volver-carrito{display:block;text-align:center;color:#ff974f;border-top:1px solid #42494d;padding-top:20px;margin-top:22px;font-size:13px}
.tm-checkout-page .resumen-checkout #confirmar-pedido{background:#25d366;color:#092712;box-shadow:none;border-radius:6px;font-weight:800}
.tm-checkout-page .resumen-checkout #confirmar-pedido:hover{background:#4be285}
.tm-checkout-page .resumen-checkout #confirmar-pedido:disabled{background:#59665f;color:#e7ece9;transform:none;cursor:not-allowed}
.tm-checkout-page .resumen-checkout .tm-test-note{color:#ffe0a1;background:#443a27;border-color:#665132;font-size:11px}
.tm-checkout-page .resumen-checkout .boton{display:inline-block;background:#ff7925;color:#171b1e;padding:12px 18px;border-radius:6px;margin-top:12px}
@media(max-width:1000px){.tm-checkout-page .checkout{grid-template-columns:1fr}}
@media(max-width:480px){.tm-checkout-page{padding-top:28px}.tm-checkout-page .datos-cliente,.tm-checkout-page .resumen-checkout{padding:22px}.tm-checkout-steps{gap:10px 16px;font-size:11px;margin-bottom:30px}.tm-checkout-steps span{width:24px;height:24px}.tm-checkout-summary-heading{flex-wrap:wrap}.tm-checkout-page .resumen-checkout .total-checkout>span{font-size:32px}}
