/* Stradetex · carrito, checkout y confirmación (WooCommerce de bloques y clásico) */
body.stxw-flow{--mg:#00887E;--nv:#14213D;--lt:#F4F5F7;--ln:#E1E4EA;--tx:#2B2B2B;--mu:#5A6275}
/* ---------- Estructura ---------- */
body.stxw-flow #main-content .container{width:90%;max-width:1280px;padding-top:44px}
body.stxw-flow #main-content .container::before{display:none!important}
body.stxw-flow #left-area{width:100%!important;max-width:none!important;padding:0!important;margin:0!important;float:none!important}
body.stxw-flow #sidebar{display:none!important}
body.stxw-flow h1.entry-title,body.stxw-flow h1.main_title{margin:0!important;padding:0 0 18px!important;font-family:'Archivo','Helvetica Neue',Arial,sans-serif!important;font-stretch:125%;font-weight:900!important;font-size:clamp(34px,4vw,56px)!important;line-height:1!important;letter-spacing:-1px;color:var(--nv)!important}
body.stxw-flow .entry-content,body.stxw-flow .wp-block-woocommerce-cart,body.stxw-flow .wp-block-woocommerce-checkout{font-family:'Archivo','Helvetica Neue',Arial,sans-serif;color:var(--tx)}
/* ---------- Pasos ---------- */
.stxw-head{margin:0 0 40px;font-family:'Archivo','Helvetica Neue',Arial,sans-serif}
body.stxw-flow .entry-content ol.stxw-steps{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;margin:0!important;padding:0!important;list-style:none!important;line-height:1.2}
.stxw-steps li{display:flex;align-items:center;gap:10px;margin:0!important;font-weight:700;font-size:15px;color:#9AA3B5}
.stxw-steps li b{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;border:2px solid #C9CEDA;font-size:13px;font-weight:800;color:inherit}
.stxw-steps li:not(:last-child)::after{content:"";display:block;width:44px;height:2px;margin-left:8px;background:var(--ln)}
.stxw-steps li.is-current{color:var(--nv)}
.stxw-steps li.is-current b{background:var(--mg);border-color:var(--mg);color:#fff}
.stxw-steps li.is-done{color:var(--nv)}
.stxw-steps li.is-done b{background:var(--nv);border-color:var(--nv);color:#fff}
.stxw-steps li.is-done::after{background:var(--nv)}
body.stxw-flow .entry-content p.stxw-trust{display:flex;flex-wrap:wrap;gap:6px 22px;margin:16px 0 0!important;padding:0!important;font-size:14px;color:var(--mu)}
.stxw-trust span{display:inline-flex;align-items:center;gap:7px}
.stxw-trust span::before{content:"";width:16px;height:16px;flex:0 0 16px;background:no-repeat center/16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300887E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E")}
/* ---------- Textos y enlaces generales de los bloques ---------- */
body.stxw-flow .wc-block-components-title,body.stxw-flow .wc-block-components-checkout-step__title{font-family:'Archivo','Helvetica Neue',Arial,sans-serif!important;font-stretch:125%;font-weight:800!important;color:var(--nv)!important}
body.stxw-flow .wc-block-components-product-metadata__description{display:none!important}
body.stxw-flow .wc-block-components-product-details{margin:10px 0 0!important;padding:0!important;list-style:none!important;font-size:0!important;line-height:0!important}
body.stxw-flow .wc-block-components-product-details>*{display:block!important;font-size:14px!important;line-height:1.5!important}
body.stxw-flow .wc-block-components-product-details li{display:block!important;margin:0 0 4px!important;padding:0!important;font-size:14px;line-height:1.5;color:var(--tx)}
body.stxw-flow .wc-block-components-product-details li::before,body.stxw-flow .wc-block-components-product-details li::after{content:none!important;display:none!important}
body.stxw-flow .wc-block-components-product-details__name{font-weight:700;color:var(--mu)}
body.stxw-flow .wc-block-components-product-details a{color:var(--mg)!important;font-weight:700;text-decoration:underline;text-underline-offset:3px}
body.stxw-flow .wc-block-components-product-name{font-family:'Archivo','Helvetica Neue',Arial,sans-serif;font-stretch:125%;font-weight:800!important;font-size:18px!important;line-height:1.2;color:var(--nv)!important;text-decoration:none!important}
body.stxw-flow a.wc-block-components-product-name:hover{color:var(--mg)!important}
/* ---------- Botones ---------- */
body.stxw-flow .wc-block-components-button:not(.is-link):not(.wc-block-components-panel__button),body.stxw-flow .wc-block-cart__submit-button,body.stxw-flow .wc-block-components-checkout-place-order-button{min-height:56px;border:0!important;border-radius:6px!important;background:var(--mg)!important;color:#fff!important;font-family:'Archivo','Helvetica Neue',Arial,sans-serif!important;font-weight:700!important;font-size:17px!important;text-decoration:none!important;box-shadow:none!important;transition:background .25s}
body.stxw-flow .wc-block-components-button:not(.is-link):not(.wc-block-components-panel__button):hover,body.stxw-flow .wc-block-cart__submit-button:hover,body.stxw-flow .wc-block-components-checkout-place-order-button:hover{background:var(--nv)!important;color:#fff!important}
body.stxw-flow .wc-block-components-button::after{display:none!important}
/* ---------- Carrito ---------- */
body.stxw-flow table.wc-block-cart-items{border:1px solid var(--ln)!important;border-radius:12px;border-collapse:separate!important;border-spacing:0;overflow:hidden;margin:0!important}
body.stxw-flow .wc-block-cart-items__header th{padding:16px 22px!important;background:var(--lt);border:0!important;font-size:12px!important;font-weight:700!important;letter-spacing:1.5px;text-transform:uppercase;color:var(--mu)!important}
body.stxw-flow .wc-block-cart-items__row td{padding:24px 22px!important;border:0!important;border-top:1px solid var(--ln)!important;vertical-align:top}
body.stxw-flow .wc-block-cart-item__image img{width:100%;max-width:110px;border-radius:8px}
body.stxw-flow .wc-block-cart-item__prices{font-size:14px;color:var(--mu)}
body.stxw-flow .wc-block-cart-item__total .wc-block-components-product-price,body.stxw-flow .wc-block-cart-item__total .wc-block-formatted-money-amount{font-stretch:125%;font-weight:800;font-size:19px;color:var(--nv)}
body.stxw-flow .wc-block-components-quantity-selector{border-radius:6px!important}
body.stxw-flow .wc-block-components-quantity-selector::after{border:2px solid var(--ln)!important;border-radius:6px!important}
body.stxw-flow .wc-block-cart-item__remove-link{color:var(--mu)!important}
body.stxw-flow .wc-block-cart-item__remove-link:hover{color:var(--mg)!important}
body.stxw-flow .wc-block-cart__sidebar,body.stxw-flow .wp-block-woocommerce-cart-totals-block{padding:28px!important;border-radius:12px;background:var(--lt)}
body.stxw-flow .wc-block-cart__totals-title{margin:0 0 6px!important;font-size:12px!important;font-weight:700!important;letter-spacing:1.5px;text-transform:uppercase;color:var(--mu)!important;text-align:left!important}
body.stxw-flow .wc-block-components-totals-wrapper{border-color:var(--ln)!important}
body.stxw-flow .wc-block-components-totals-footer-item{align-items:baseline!important}
body.stxw-flow .wc-block-components-totals-footer-item .wc-block-components-totals-item__label{font-family:'Archivo','Helvetica Neue',Arial,sans-serif;font-weight:800!important;font-size:17px!important;color:var(--nv)!important}
body.stxw-flow .wc-block-components-totals-footer-item .wc-block-components-totals-item__value{font-family:'Archivo','Helvetica Neue',Arial,sans-serif;font-stretch:125%;font-weight:900!important;font-size:28px!important;line-height:1.1!important;color:var(--nv)!important;white-space:nowrap}
body.stxw-flow .wc-block-components-panel__button{font-weight:600!important;color:var(--nv)!important}
/* ---------- Checkout ---------- */
body.stxw-flow .wc-block-components-checkout-step{margin:0 0 20px!important;padding:28px 30px!important;border:1px solid var(--ln);border-radius:12px;background:#fff}
body.stxw-flow .wc-block-components-checkout-step::after,body.stxw-flow .wc-block-components-checkout-step::before{display:none!important}
body.stxw-flow .wc-block-components-checkout-step__heading{margin:0 0 14px!important}
body.stxw-flow .wc-block-components-checkout-step__title{font-size:22px!important}
body.stxw-flow .wc-block-components-checkout-step__description{font-size:14px;color:var(--mu)}
body.stxw-flow .wc-block-components-text-input input,body.stxw-flow .wc-block-components-textarea,body.stxw-flow .wc-block-components-select select,body.stxw-flow .wc-block-components-select .wc-blocks-components-select__select,body.stxw-flow .wc-block-components-combobox .components-combobox-control__input,body.stxw-flow .wc-block-components-form .wc-block-components-text-input input{border:2px solid var(--ln)!important;border-radius:8px!important;background:#fff!important;font-family:'Archivo','Helvetica Neue',Arial,sans-serif!important;color:var(--tx)!important;box-shadow:none!important}
body.stxw-flow .wc-block-components-text-input input:focus,body.stxw-flow .wc-block-components-textarea:focus,body.stxw-flow .wc-block-components-select select:focus,body.stxw-flow .wc-block-components-select .wc-blocks-components-select__select:focus,body.stxw-flow .wc-block-components-combobox .components-combobox-control__input:focus{border-color:var(--mg)!important;outline:none!important}
body.stxw-flow .wc-block-components-text-input label,body.stxw-flow .wc-block-components-select label,body.stxw-flow .wc-block-components-combobox label{color:var(--mu)!important}
body.stxw-flow .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox],body.stxw-flow input[type=checkbox],body.stxw-flow input[type=radio]{accent-color:var(--mg)}
body.stxw-flow .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:checked{background:var(--mg)!important;border-color:var(--mg)!important}
body.stxw-flow .wc-block-components-radio-control__option{border-radius:10px!important}
body.stxw-flow .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,body.stxw-flow .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted{box-shadow:inset 0 0 0 2px var(--mg)!important;border-radius:10px!important}
body.stxw-flow .wc-block-components-radio-control__input:checked{border-color:var(--mg)!important}
body.stxw-flow .wc-block-components-radio-control__input:checked::before{background:var(--mg)!important}
body.stxw-flow .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block{border:0!important;border-radius:12px;background:var(--lt);overflow:hidden}
body.stxw-flow .wc-block-components-order-summary-item__image img{border-radius:6px}
body.stxw-flow .wc-block-components-order-summary-item__quantity{background:var(--nv)!important;color:#fff!important;border:0!important;box-shadow:none!important}
body.stxw-flow .wc-block-checkout__terms,body.stxw-flow .wc-block-checkout__terms a{font-size:14px;color:var(--mu)}
body.stxw-flow .wc-block-checkout__terms a{text-decoration:underline}
body.stxw-flow .wc-block-components-checkout-return-to-cart-button{color:var(--nv)!important;font-weight:600}
body.stxw-flow .wc-block-components-notice-banner{border-radius:10px!important;font-family:'Archivo','Helvetica Neue',Arial,sans-serif}
/* ---------- Carrito vacío ---------- */
body.stxw-flow .wc-block-cart__empty-cart__title{font-family:'Archivo','Helvetica Neue',Arial,sans-serif!important;font-stretch:125%;font-weight:800!important;color:var(--nv)!important}
/* ---------- Confirmación del pedido (plantilla clásica) ---------- */
body.stxw-flow .woocommerce-order{font-family:'Archivo','Helvetica Neue',Arial,sans-serif;color:var(--tx)}
body.stxw-flow .woocommerce-thankyou-order-received{margin:0 0 28px!important;padding:22px 26px!important;border-radius:12px;background:var(--nv);color:#fff;font-stretch:125%;font-weight:800;font-size:22px;line-height:1.3}
body.stxw-flow ul.woocommerce-order-overview{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:0;margin:0 0 40px!important;padding:0!important;list-style:none!important;border:1px solid var(--ln);border-radius:12px;overflow:hidden}
body.stxw-flow ul.woocommerce-order-overview::before,body.stxw-flow ul.woocommerce-order-overview::after{display:none!important;content:none!important}
body.stxw-flow ul.woocommerce-order-overview li{margin:0!important;padding:18px 20px!important;border:0!important;border-right:1px solid var(--ln)!important;font-size:12px;letter-spacing:1px;text-transform:uppercase;color:var(--mu)}
body.stxw-flow ul.woocommerce-order-overview li:last-child{border-right:0!important}
body.stxw-flow ul.woocommerce-order-overview li strong{display:block;margin-top:6px;font-size:16px;letter-spacing:0;text-transform:none;color:var(--nv)}
body.stxw-flow .woocommerce-order h2{font-family:'Archivo','Helvetica Neue',Arial,sans-serif!important;font-stretch:125%;font-weight:800!important;font-size:26px!important;color:var(--nv)!important;margin:36px 0 16px!important}
body.stxw-flow .woocommerce-order table.shop_table{border:1px solid var(--ln)!important;border-radius:12px;border-collapse:separate!important;overflow:hidden}
body.stxw-flow .woocommerce-order table.shop_table th,body.stxw-flow .woocommerce-order table.shop_table td{padding:14px 18px!important;border-color:var(--ln)!important}
body.stxw-flow .woocommerce-order td.product-name>a{font-weight:800;color:var(--nv)!important;text-decoration:none}
body.stxw-flow .woocommerce-order td.product-name>a:hover{color:var(--mg)!important}
body.stxw-flow .woocommerce-order .wc-item-meta{margin:8px 0 0!important;padding:0!important;list-style:none!important;font-size:14px}
body.stxw-flow .woocommerce-order .wc-item-meta li{margin:0 0 4px!important}
body.stxw-flow .woocommerce-order .wc-item-meta a{color:var(--mg);font-weight:700}
body.stxw-flow .woocommerce-bacs-bank-details,body.stxw-flow .woocommerce-order address{padding:20px 22px!important;border:1px solid var(--ln)!important;border-radius:12px;background:var(--lt)}
@media (max-width:980px){
body.stxw-flow #main-content .container{width:92%;padding-top:28px}
.stxw-steps li:not(:last-child)::after{width:20px}
body.stxw-flow .wc-block-components-checkout-step{padding:22px 18px!important}
}
@media (max-width:640px){
.stxw-steps li{font-size:13px}
.stxw-steps li:not(:last-child)::after{display:none}
body.stxw-flow .wc-block-cart-items__row td{padding:18px 14px!important}
}
