/* Stradetex Configurador · estilos de la ficha de producto */
.stxc{--mg:#00887E;--nv:#14213D;--lt:#F4F5F7;--ln:#E1E4EA;--tx:#2B2B2B;--mu:#5A6275;margin:8px 0 26px;font-family:'Archivo','Helvetica Neue',Arial,sans-serif;font-size:16px;line-height:1.5;color:var(--tx)}
.stxc *,.stxc *::before,.stxc *::after{box-sizing:border-box}
.stxc p{margin:0;padding:0}
.stxc__help{margin-bottom:6px!important;color:var(--mu)}
.stxc__step{margin:0;padding:22px 0;border:0;border-top:1px solid var(--ln);min-width:0}
.stxc__title{display:flex;align-items:center;gap:12px;margin:0 0 14px;padding:0;font-stretch:125%;font-weight:800;font-size:19px;line-height:1.2;color:var(--nv)}
.stxc__title em{font-style:normal;font-weight:600;font-size:14px;color:var(--mu);font-stretch:100%}
.stxc__n{flex:0 0 30px;width:30px;height:30px;border-radius:50%;background:var(--nv);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:14px;font-weight:800}
.stxc__hint{margin:-4px 0 12px!important;font-size:14px;color:var(--mu)}
/* Opciones tipo tarjeta */
.stxc__opts{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px}
.stxc__opt{position:relative;display:block;margin:0;cursor:pointer}
.stxc__opt input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.stxc__opt>span{display:flex;flex-direction:column;gap:2px;height:100%;padding:14px 16px;border:2px solid var(--ln);border-radius:8px;background:#fff;transition:border-color .2s,background .2s,box-shadow .2s}
.stxc__opt b{font-weight:700;font-size:15px;line-height:1.3;color:var(--nv)}
.stxc__opt small{font-size:13px;color:var(--mu)}
.stxc__opt:hover>span{border-color:#C9CEDA}
.stxc__opt input:checked+span{border-color:var(--mg);background:#E6F4F2;box-shadow:0 0 0 3px rgba(0,136,126,.12)}
.stxc__opt input:checked+span b{color:var(--mg)}
.stxc__opt input:focus-visible+span{outline:3px solid var(--mg);outline-offset:2px}
.stxc__incl{display:flex;align-items:center;gap:8px;margin:0 0 6px!important;padding:16px 0 18px!important;border-top:1px solid var(--ln);font-weight:600;color:var(--nv)}
.stxc__incl svg{color:var(--mg)}
/* Medidas */
.stxc__opts--sizes{margin-bottom:12px}
.stxc__custom{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}
.stxc__custom[hidden]{display:none}
.stxc__num{position:relative;display:flex;flex-direction:column;gap:6px;flex:1 1 140px;margin:0}
.stxc__num>span{font-size:13px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;color:var(--mu)}
.stxc .stxc__num input{width:100%;height:54px;margin:0;padding:0 44px 0 16px;border:2px solid var(--ln);border-radius:8px;background:#fff;font-family:inherit;font-size:19px;font-weight:700;color:var(--nv);-moz-appearance:textfield;appearance:textfield}
.stxc .stxc__num input::-webkit-outer-spin-button,.stxc .stxc__num input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.stxc .stxc__num input:focus{outline:none;border-color:var(--mg)}
.stxc__num i{position:absolute;right:16px;bottom:16px;font-style:normal;font-weight:600;font-size:14px;color:var(--mu);pointer-events:none}
.stxc__x{padding-bottom:14px;font-size:20px;font-weight:700;color:var(--mu)}
.stxc__limits{margin-top:10px!important;font-size:13px;color:var(--mu)}
.stxc__err{margin-top:10px!important;padding:10px 14px;border-radius:6px;background:#FDEDED;color:#B42318;font-size:14px;font-weight:600}
.stxc__err[hidden]{display:none}
/* Archivo */
.stxc__drop{position:relative;display:block;margin:0;border:2px dashed #C9CEDA;border-radius:10px;background:var(--lt);transition:border-color .2s,background .2s;cursor:pointer}
.stxc__drop input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.stxc__drop-in{display:flex;flex-direction:column;align-items:center;gap:6px;padding:26px 20px;text-align:center;pointer-events:none}
.stxc__drop-in svg{color:var(--mg)}
.stxc__drop-in b{font-weight:700;color:var(--nv);word-break:break-word}
.stxc__drop-in small{font-size:13px;color:var(--mu)}
.stxc__drop:hover,.stxc__drop.is-drag{border-color:var(--mg);background:#E6F4F2}
.stxc__drop.has-file{border-style:solid;border-color:var(--mg);background:#E6F4F2}
.stxc__link,.stxc__notes{display:flex;flex-direction:column;gap:6px;margin:14px 0 0}
.stxc__link>span,.stxc__notes>span{font-size:14px;font-weight:600;color:var(--mu)}
.stxc .stxc__link input,.stxc .stxc__notes textarea{width:100%;margin:0;padding:12px 14px;border:1px solid var(--ln);border-radius:6px;background:#fff;font-family:inherit;font-size:15px;color:var(--tx)}
.stxc .stxc__link input:focus,.stxc .stxc__notes textarea:focus{outline:none;border-color:var(--mg)}
/* Resumen de precio */
.stxc__sum{margin-top:6px;padding:24px 26px;border-radius:10px;background:var(--nv);color:#fff}
.stxc__sum-lines>div{display:flex;justify-content:space-between;gap:16px;padding:6px 0;font-size:14px;color:#C9D0DF}
.stxc__sum-lines>div b{font-weight:700;color:#fff;white-space:nowrap}
.stxc__sum-lines .stxc__sum-sub{padding-top:0;font-size:13px;color:#9FB0CF}
.stxc__sum-empty{font-size:14px;color:#C9D0DF}
.stxc__sum-total,.stxc__sum-all{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-top:12px;padding-top:14px;border-top:1px solid rgba(255,255,255,.18)}
.stxc__sum-total span,.stxc__sum-all span{font-weight:600;color:#fff}
.stxc__sum-total b{font-stretch:125%;font-weight:900;font-size:30px;line-height:1;color:#fff}
.stxc__sum-all b{font-stretch:125%;font-weight:800;font-size:20px;color:#7FD3EE}
.stxc__sum-all[hidden]{display:none}
.stxc__sum-note{margin-top:12px!important;font-size:12px;color:#9FB0CF}
/* Precio "Desde" y botón de compra en las fichas con configurador */
.stxc-from{font-family:'Archivo','Helvetica Neue',Arial,sans-serif;font-weight:700;color:#14213D}
.stxc-product form.cart{display:flex;flex-wrap:wrap;align-items:stretch;gap:12px;margin-top:0}
.stxc-product form.cart .stxc{flex:1 1 100%}
.stxc-product form.cart .quantity{margin:0!important;float:none!important}
.stxc-product form.cart .quantity input.qty{height:56px!important;width:84px!important;border:2px solid #E1E4EA!important;border-radius:6px!important;background:#fff!important;font-family:'Archivo',sans-serif;font-size:18px!important;font-weight:700;color:#14213D!important;padding:0 8px!important}
.stxc-product form.cart .single_add_to_cart_button{flex:1 1 220px;height:56px;margin:0!important;padding:0 26px!important;border:0!important;border-radius:6px!important;background:#00887E!important;color:#fff!important;font-family:'Archivo','Helvetica Neue',Arial,sans-serif!important;font-weight:700!important;font-size:17px!important;line-height:56px!important;transition:background .25s}
.stxc-product form.cart .single_add_to_cart_button:hover{background:#14213D!important;padding:0 26px!important}
.stxc-product form.cart .single_add_to_cart_button::after,.stxc-product form.cart .single_add_to_cart_button::before{display:none!important}
@media (max-width:640px){
.stxc__opts{grid-template-columns:1fr 1fr}
.stxc__sum{padding:20px}
.stxc__sum-total b{font-size:26px}
}
/* =====================================================================
   FICHA DE PRODUCTO (solo productos con configurador)
   ===================================================================== */
body.stxc-product #main-content{background:#fff}
body.stxc-product #main-content .container{width:90%;max-width:1280px;padding-top:36px}
body.stxc-product #main-content .container::before{display:none!important}
body.stxc-product #left-area{width:100%!important;max-width:none!important;padding:0!important;margin:0!important;float:none!important}
body.stxc-product #sidebar{display:none!important}
body.stxc-product .woocommerce-breadcrumb{margin:0 0 28px!important;padding:0!important;font-family:'Archivo','Helvetica Neue',Arial,sans-serif;font-size:13px!important;color:#5A6275!important}
body.stxc-product .woocommerce-breadcrumb a{color:#5A6275!important}
body.stxc-product .woocommerce-breadcrumb a:hover{color:#00887E!important}
/* Dos columnas: foto fija + configurador */
body.stxc-product div.product{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);column-gap:64px;align-items:start}
body.stxc-product div.product::before,body.stxc-product div.product::after{display:none!important}
body.stxc-product div.product>*{grid-column:1/-1}
body.stxc-product div.product>div.images{grid-column:1;grid-row:1;align-self:stretch;width:100%!important;max-width:none!important;float:none!important;margin:0!important;position:relative}
body.stxc-product div.product>div.images>.woocommerce-product-gallery__wrapper,body.stxc-product div.product>div.images>.flex-viewport{position:sticky;top:calc(var(--wp-admin--admin-bar--height,0px) + 96px)}
body.stxc-product div.product>div.summary{grid-column:2;grid-row:1;width:100%!important;max-width:none!important;float:none!important;margin:0!important;padding:0!important}
body.stxc-product .woocommerce-product-gallery__wrapper{border-radius:12px;overflow:hidden;box-shadow:0 24px 60px rgba(20,33,61,.14)}
body.stxc-product .woocommerce-product-gallery__image img{display:block;width:100%;height:auto;border-radius:0}
body.stxc-product .woocommerce-product-gallery__trigger{display:none!important}
body.stxc-product div.product div.images .flex-control-thumbs li img{border-radius:8px;opacity:.6;transition:opacity .2s}
body.stxc-product div.product div.images .flex-control-thumbs li img.flex-active,body.stxc-product div.product div.images .flex-control-thumbs li img:hover{opacity:1}
/* Cabecera del resumen */
body.stxc-product div.product .product_title{margin:0!important;padding:0 0 14px!important;font-family:'Archivo','Helvetica Neue',Arial,sans-serif!important;font-stretch:125%;font-weight:800!important;font-size:clamp(30px,3.2vw,46px)!important;line-height:1.04!important;letter-spacing:-.5px;color:#14213D!important}
body.stxc-product div.product div.summary p.price{margin:0 0 18px!important;padding:0!important;font-size:16px!important;line-height:1!important}
body.stxc-product div.summary .stxc-from{display:inline-block;padding:9px 15px;border-radius:30px;background:#E6F4F2;color:#00887E;font-weight:800;font-size:16px}
body.stxc-product div.summary .stxc-from .woocommerce-Price-amount{color:#00887E}
body.stxc-product .woocommerce-product-details__short-description{margin-bottom:4px;font-family:'Archivo','Helvetica Neue',Arial,sans-serif;font-size:18px;line-height:1.6;color:#2B2B2B}
body.stxc-product .woocommerce-product-details__short-description p{padding-bottom:0}
body.stxc-product div.product form.cart{margin:0!important}
body.stxc-product .product_meta{margin-top:22px!important;padding-top:14px!important;border-top:1px solid #E1E4EA!important;font-family:'Archivo','Helvetica Neue',Arial,sans-serif;font-size:13px!important;color:#5A6275!important}
body.stxc-product .product_meta a{color:#14213D!important}
/* Ayuda bajo el botón */
.stxc-helpbox{display:flex;gap:14px;align-items:flex-start;margin:18px 0 0;padding:16px 18px;border:1px solid #E1E4EA;border-radius:10px;background:#F4F5F7;font-family:'Archivo','Helvetica Neue',Arial,sans-serif;font-size:15px;line-height:1.5;color:#2B2B2B}
.stxc-helpbox svg{flex:0 0 22px;color:#00887E;margin-top:1px}
.stxc-helpbox p{margin:0;padding:0}
.stxc-helpbox a{color:#14213D;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.stxc-helpbox a:hover{color:#00887E}
/* Garantías */
.stxc-trust{margin:80px 0 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #E1E4EA;border-radius:12px;overflow:hidden;background:#fff;font-family:'Archivo','Helvetica Neue',Arial,sans-serif}
.stxc-trust__it{display:grid;grid-template-columns:44px 1fr;gap:16px;padding:28px;border-right:1px solid #E1E4EA}
.stxc-trust__it:last-child{border-right:0}
.stxc-trust__it svg{color:#00887E}
.stxc-trust__it h3{margin:0 0 4px;padding:0;font-size:17px;font-weight:700;line-height:1.3;color:#14213D}
.stxc-trust__it p{margin:0;padding:0;font-size:15px;line-height:1.5;color:#5A6275}
/* Descripción sin pestañas */
body.stxc-product .woocommerce-tabs{margin:72px 0 0!important;padding:0!important;border:0!important;background:none!important}
body.stxc-product .woocommerce-tabs ul.tabs{display:none!important}
body.stxc-product .woocommerce-tabs .panel{margin:0!important;padding:0!important;border:0!important;box-shadow:none!important}
body.stxc-product .woocommerce-Tabs-panel--description{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);column-gap:64px;font-family:'Archivo','Helvetica Neue',Arial,sans-serif;font-size:17px;line-height:1.7;color:#2B2B2B}
body.stxc-product .woocommerce-Tabs-panel--description>h2{grid-column:1;grid-row:1/span 20;margin:0!important;padding:0!important;font-family:'Archivo','Helvetica Neue',Arial,sans-serif!important;font-stretch:125%;font-weight:800!important;font-size:clamp(26px,2.6vw,36px)!important;line-height:1.1!important;color:#14213D!important}
body.stxc-product .woocommerce-Tabs-panel--description>*:not(h2){grid-column:2}
/* Productos relacionados */
body.stxc-product section.related{grid-column:1/-1;margin:80px 0 20px!important;padding-top:56px!important;border-top:1px solid #E1E4EA}
body.stxc-product section.related>h2{margin:0 0 28px!important;padding:0!important;font-family:'Archivo','Helvetica Neue',Arial,sans-serif!important;font-stretch:125%;font-weight:800!important;font-size:clamp(26px,2.6vw,36px)!important;line-height:1.1!important;color:#14213D!important}
body.stxc-product section.related ul.products{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin:0!important;padding:0!important;list-style:none!important}
body.stxc-product section.related ul.products::before,body.stxc-product section.related ul.products::after{display:none!important}
body.stxc-product section.related ul.products li.product:nth-child(n){width:auto!important;margin:0!important;padding:0!important;float:none!important;clear:none!important;display:flex;flex-direction:column;background:#fff;border:1px solid #E1E4EA;border-radius:10px;overflow:hidden;transition:transform .3s,box-shadow .3s,border-color .3s}
body.stxc-product section.related ul.products li.product:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(20,33,61,.12);border-color:#00887E}
body.stxc-product section.related li.product a.woocommerce-LoopProduct-link{display:block;color:inherit}
body.stxc-product section.related li.product .et_shop_image{display:block}
body.stxc-product section.related li.product img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;margin:0!important}
body.stxc-product section.related li.product .et_overlay{display:none!important}
body.stxc-product section.related li.product .woocommerce-loop-product__title{margin:0!important;padding:22px 24px 8px!important;font-family:'Archivo','Helvetica Neue',Arial,sans-serif!important;font-stretch:125%;font-weight:800!important;font-size:21px!important;line-height:1.15!important;color:#14213D!important}
body.stxc-product section.related li.product .price{display:block!important;margin:0!important;padding:0 24px 18px!important}
body.stxc-product section.related li.product .stxc-from{font-size:15px;color:#00887E}
body.stxc-product section.related li.product a.button{display:block!important;margin:auto 24px 24px!important;padding:13px 18px!important;border:0!important;border-radius:4px!important;background:#14213D!important;color:#fff!important;font-family:'Archivo','Helvetica Neue',Arial,sans-serif!important;font-weight:700!important;font-size:15px!important;line-height:1.3!important;text-align:center}
body.stxc-product section.related li.product a.button:hover{background:#00887E!important;padding:13px 18px!important}
body.stxc-product section.related li.product a.button::after{display:none!important}
/* Avisos de WooCommerce */
body.stxc-product .woocommerce-message,body.stxc-product .woocommerce-info,body.stxc-product .woocommerce-error{grid-column:1/-1;margin:0 0 28px!important;padding:18px 22px!important;border-radius:10px!important;background:#14213D!important;font-family:'Archivo','Helvetica Neue',Arial,sans-serif;font-size:16px!important;line-height:1.5}
body.stxc-product .woocommerce-error{background:#B42318!important}
body.stxc-product .woocommerce-message a.button,body.stxc-product .woocommerce-info a.button{float:right;margin-left:16px;padding:8px 16px!important;border:0!important;border-radius:4px!important;background:#00887E!important;color:#fff!important;font-size:14px!important;font-weight:700!important}
body.stxc-product .woocommerce-message a.button::after{display:none!important}
@media (max-width:980px){
body.stxc-product #main-content .container{width:92%;padding-top:24px}
body.stxc-product div.product{grid-template-columns:1fr;row-gap:32px}
body.stxc-product div.product>div.images,body.stxc-product div.product>div.summary{grid-column:1;grid-row:auto}
body.stxc-product div.product>div.images>.woocommerce-product-gallery__wrapper,body.stxc-product div.product>div.images>.flex-viewport{position:static}
.stxc-trust{grid-template-columns:1fr;margin-top:48px}
.stxc-trust__it{border-right:0;border-bottom:1px solid #E1E4EA}
.stxc-trust__it:last-child{border-bottom:0}
body.stxc-product .woocommerce-tabs{margin-top:48px!important}
body.stxc-product .woocommerce-Tabs-panel--description{grid-template-columns:1fr;row-gap:18px}
body.stxc-product .woocommerce-Tabs-panel--description>h2,body.stxc-product .woocommerce-Tabs-panel--description>*:not(h2){grid-column:1;grid-row:auto}
body.stxc-product section.related ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){
body.stxc-product section.related ul.products{grid-template-columns:1fr}
}

@media (min-width:981px) and (max-width:1180px){.stxc-trust{grid-template-columns:repeat(2,minmax(0,1fr))}.stxc-trust__it:nth-child(2n){border-right:0}.stxc-trust__it:nth-child(-n+2){border-bottom:1px solid #E1E4EA}}
