/* HITO 04 — Comercial Técnico: portada, catálogo, carrito y checkout.
   Capa no destructiva sobre el tema original. */
:root{--ink:#10263f;--brand:#ff8200;--brand-dark:#dc6b00;--muted:#536276;--line:#e0e5eb;--bg:#f5f6f8}
body{font-family:Arial,Helvetica,sans-serif;color:#12243b;background:#fff;line-height:1.5}
.container{width:min(1200px,calc(100% - 36px))}
.site-header{border-bottom:1px solid #e1e5ea;box-shadow:0 2px 10px #12243b0b;position:relative;z-index:10}
.topline{background:#10263f;color:#e8edf3;font-size:12px;padding:7px 0;text-align:center}
.site-header-inner{padding:13px 0;gap:14px}
.brand{font-size:1.6rem;line-height:1.08;color:#10263f;display:flex;align-items:center;gap:10px;letter-spacing:-.035em}
.brand span{color:inherit}.tef-brand-symbol{font-size:1.9rem;color:#ff8200}.tef-brand-copy{display:flex;flex-direction:column}
.tef-brand-subtitle{font-size:9px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#54647a;margin-top:4px}
.site-nav{gap:15px}.site-nav a{font-size:.84rem;font-weight:700;color:#10263f}
.site-nav a:hover{color:#dc6b00}
.cart-link{background:#ff8200!important;color:#fff!important;border-radius:4px;padding:10px 14px}
.cart-link:hover{background:#db6c00!important}
.tef-header-meta{display:flex;gap:15px;font-size:12px;color:#42546a;font-weight:700}
.tef-header-meta a{color:inherit;text-decoration:none}
.workshop-hero{background:#10263f;padding:0;color:#fff;overflow:hidden}
.workshop-hero-inner{display:grid;grid-template-columns:1fr 1.08fr;gap:0;align-items:stretch;min-height:355px}
.workshop-hero-copy{padding:62px 40px 55px 0;align-self:center}
.workshop-kicker{color:#ff940d;letter-spacing:.07em;font-size:.72rem}
.workshop-hero h1{font-size:clamp(2.2rem,4.3vw,3.9rem);font-weight:800;line-height:1.06;letter-spacing:-.05em;margin:0 0 18px;color:#fff}
.workshop-hero h1 em{font-style:normal;color:#ff900b}
.workshop-hero p{color:#e4eaf0;font-size:1rem;line-height:1.55;max-width:470px}
.workshop-actions{margin-top:25px;gap:10px}
.workshop-button{background:#ff8200;border:1px solid #ff8200;color:#fff;border-radius:4px;padding:12px 17px;font-size:.88rem}
.workshop-button:hover,.workshop-button:focus-visible{background:#dc6b00;border-color:#dc6b00}
.workshop-button-outline{background:#fff;border-color:#fff;color:#10263f}
.workshop-button-outline:hover{background:#e9edf2;border-color:#e9edf2;color:#10263f}
.workshop-hero-art.workshop-hero-photo{height:auto;min-height:355px;border-radius:0;background:#263e56;display:block;overflow:hidden;position:relative}
.workshop-hero-photo:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#10263f 0%,#10263f55 25%,transparent 70%);z-index:1;pointer-events:none}
.workshop-hero-photo img{width:100%;height:100%;min-height:355px;max-height:460px;object-fit:cover;object-position:center 65%;display:block}
.tef-benefits{background:#fff;border-bottom:1px solid #e5e9ee}
.tef-benefits-grid{display:grid;grid-template-columns:repeat(4,1fr);padding:25px 0}
.tef-benefit{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;text-align:center;padding:7px 16px;border-right:1px solid #e1e5ea;color:#10263f}
.tef-benefit:last-child{border-right:0}
.tef-benefit-icon{font-size:1.55rem;line-height:1;color:#10263f}
.tef-benefit strong{font-size:.85rem;line-height:1.3}
.tef-dual{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:27px 0}
.tef-dual-card{display:grid;grid-template-columns:42% 1fr;min-height:190px;overflow:hidden;background:#f1f3f5}
.tef-dual-card:first-child{background:#10263f;color:#fff}
.tef-dual-media{background:#d8dfe5;overflow:hidden}
.tef-dual-media img{width:100%;height:100%;object-fit:cover;display:block}
.tef-dual-content{padding:24px 22px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:10px}
.tef-dual-content h2{font-size:1.35rem;line-height:1.18;margin:0}
.tef-dual-content p{font-size:.86rem;margin:0;line-height:1.5}
.tef-dual-content a{background:#ff8200;color:#fff;padding:7px 12px;border-radius:3px;font-weight:800;text-decoration:none}
.tef-dual-card:not(:first-child) .tef-dual-content a{background:#10263f}
.workshop-products-section{background:#fff;padding:32px 0 55px}
.workshop-section-heading h2{font-size:1.7rem;letter-spacing:-.025em}
.workshop-section-heading{margin-bottom:20px}
.workshop-heading-row{align-items:center}
.workshop-product{border-radius:5px;padding:12px;box-shadow:none}
.workshop-product-image{border-radius:3px;background:#f7f8f9}
.workshop-product h3{font-size:.89rem;margin:11px 0 6px;min-height:2.7em}
.workshop-price{color:#bd4300;font-weight:800}
.workshop-carousel-controls button{border-radius:4px}
.workshop-section{padding-top:45px;padding-bottom:45px}
.workshop-services article{border-radius:5px}
.workshop-map-panel{border-radius:5px;background:#e9edf1}
.site-footer{background:#10263f}
.hero{background:#f4f6f8;padding:30px 0}
.hero h1{font-size:clamp(1.9rem,3vw,2.7rem)}
.content{padding:30px 0 65px}
.woocommerce ul.products li.product{border-radius:5px;padding:12px!important}
.woocommerce ul.products li.product:hover{box-shadow:0 5px 18px #10263f12}
.woocommerce ul.products li.product .price{color:#c54b00}
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,
.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt,
.wc-block-components-button:not(.is-link),.wp-block-woocommerce-cart .wc-block-components-button,
.wp-block-woocommerce-checkout .wc-block-components-button{background:#ff8200!important;color:#fff!important;border:0!important;border-radius:4px!important;font-weight:700!important;box-shadow:none!important}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,
.wc-block-components-button:not(.is-link):hover{background:#dc6b00!important;color:#fff!important}
.woocommerce .cart-collaterals .cart_totals,.woocommerce-checkout #order_review,
.woocommerce form.checkout_coupon,.woocommerce form.login,.woocommerce form.register,
.wp-block-woocommerce-cart .wc-block-cart__main,.wp-block-woocommerce-cart .wc-block-cart__sidebar,
.wp-block-woocommerce-checkout .wc-block-checkout__main,.wp-block-woocommerce-checkout .wc-block-checkout__sidebar{
background:#fff;border:1px solid #e0e5eb;border-radius:5px;padding:22px}
.woocommerce table.shop_table{border:1px solid #e0e5eb;border-radius:5px;border-collapse:collapse}
.woocommerce table.shop_table th{background:#f4f6f8;color:#10263f}
.woocommerce table.shop_table td,.woocommerce table.shop_table th{padding:14px;border-color:#e0e5eb}
.woocommerce .quantity .qty,.woocommerce input.input-text,.woocommerce textarea,
.woocommerce select,.wc-block-components-text-input input,.wc-block-components-combobox input,
.wc-block-components-quantity-selector{border:1px solid #cbd3dd!important;border-radius:4px!important;background:#fff!important}
.woocommerce-message,.woocommerce-info{border-top-color:#ff8200;background:#f6f8fa}
.woocommerce-message::before,.woocommerce-info::before{color:#d76a00}
.woocommerce .woocommerce-breadcrumb{color:#536276}
.woocommerce .woocommerce-breadcrumb a{color:#10263f}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:#c54b00}
.woocommerce div.product .product_title{font-weight:800;color:#10263f}
.wc-block-components-order-summary,.wc-block-components-totals-wrapper{border-color:#e0e5eb!important}
.wc-block-components-product-name{color:#10263f;font-weight:700;text-decoration:none}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value{font-weight:800;color:#10263f}
@media(max-width:1050px){.site-header-inner{flex-wrap:wrap}.tef-header-meta{display:none}.workshop-hero-copy{padding-right:24px}.tef-dual-card{grid-template-columns:36% 1fr}}
@media(max-width:700px){.site-header-inner{align-items:flex-start}.site-nav{gap:10px}.workshop-hero-inner{grid-template-columns:1fr}.workshop-hero-copy{padding:38px 0 30px}.workshop-hero-art.workshop-hero-photo{height:250px;min-height:250px}.workshop-hero-photo img{height:250px;min-height:250px;max-height:250px}.workshop-hero-photo:before{background:linear-gradient(180deg,#10263f55,transparent 35%)}.tef-benefits-grid{grid-template-columns:repeat(2,1fr);gap:0}.tef-benefit{border-bottom:1px solid #e1e5ea}.tef-benefit:nth-child(2){border-right:0}.tef-dual{grid-template-columns:1fr}.tef-dual-card{min-height:170px}.workshop-heading-row{align-items:flex-start}.woocommerce .cart-collaterals .cart_totals,.woocommerce-checkout #order_review{padding:14px}}

/* Fallback when facade photo has not yet been copied from local workstation. */
.tef-hero-placeholder{height:100%;min-height:355px;background:linear-gradient(120deg,#1b344e,#345a78)}
@media(max-width:700px){.tef-hero-placeholder{min-height:250px}}

/* HITO 04 — Tarjetas de producto de dimensiones uniformes */
.workshop-carousel-track{align-items:stretch}
.workshop-product{display:flex;flex-direction:column;align-self:stretch}
.workshop-product>a{display:flex;flex-direction:column;flex:1;min-width:0}
.workshop-product-image{width:100%;aspect-ratio:1/1;flex:none;overflow:hidden}
.workshop-product-image img{width:100%;height:100%;object-fit:contain}
.workshop-product h3{min-height:3.9em;line-height:1.3;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.workshop-product .workshop-price{margin-top:auto;padding-top:8px}
.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.woocommerce ul.products li.product{float:none!important;width:auto!important;margin:0!important;display:flex;flex-direction:column;min-width:0;height:100%}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{display:flex;flex-direction:column;flex:1;min-width:0}
.woocommerce ul.products li.product a img{width:100%;aspect-ratio:1/1;object-fit:contain;background:#f7f8f9}
.woocommerce ul.products li.product .woocommerce-loop-product__title{min-height:3.9em;line-height:1.3!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.woocommerce ul.products li.product .price{margin-top:auto;padding-top:8px}
.woocommerce ul.products li.product>a.button{margin-top:12px!important;text-align:center;align-self:stretch}
@media(max-width:900px){.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.woocommerce ul.products li.product{padding:9px!important}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:.85rem!important}}


/* HITO 04 — identidad fachada: azul, amarillo y rojo; referencia visual 2026-11-02 */
:root{--ink:#082954;--brand:#df0710;--brand-dark:#b9000b;--tef-blue:#063c70;--tef-yellow:#ffd027;--tef-red:#df0710}
.topline{background:#fff;color:#092b55;border-bottom:1px solid #e5e8ed}
.site-header{background:#fff}
.brand,.brand span,.site-nav a{color:#092b55}
.tef-brand-symbol{color:#df0710}
.tef-brand-subtitle{color:#163a64}
.site-nav{background:#063c70}
.site-nav a{color:#fff}
.site-nav a:hover{color:#ffd027}
.cart-link,.workshop-button,.tef-dual-content a,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce a.button.alt,.woocommerce button.button.alt,.wc-block-components-button:not(.is-link){background:#df0710!important;border-color:#df0710!important;color:#fff!important}
.cart-link:hover,.workshop-button:hover,.tef-dual-content a:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.wc-block-components-button:not(.is-link):hover{background:#b9000b!important;border-color:#b9000b!important}
.workshop-hero{background:#063c70}
.workshop-hero-inner{min-height:340px}
.workshop-hero-copy{padding-top:48px;padding-bottom:48px}
.workshop-hero h1 em{color:#ffd027}
.workshop-kicker{color:#d50812}
.workshop-hero .workshop-kicker{color:#ffd027}
.workshop-hero-photo:before{background:linear-gradient(90deg,#063c70 0%,#063c7066 27%,transparent 75%)}
.workshop-button-outline{background:#fff!important;color:#082954!important;border-color:#fff!important}
.workshop-button-outline:hover{background:#e9edf2!important;color:#082954!important}
.tef-benefit,.tef-benefit-icon{color:#082954}
.tef-dual-card:first-child{background:#063c70}
.tef-dual-card:nth-child(2){background:#ffd95c}
.tef-dual-card:nth-child(2) .tef-dual-content a{background:#df0710!important}
.tef-dual-card:nth-child(2) .tef-dual-content{color:#082954}
.workshop-section-heading h2{color:#082954}
.workshop-section-heading h2:after{content:"";display:block;width:75px;height:4px;background:#df0710;margin-top:6px;border-radius:3px}
.workshop-price,.woocommerce ul.products li.product .price,.woocommerce div.product p.price,.woocommerce div.product span.price{color:#d30711}
.site-footer{background:#063c70}
.woocommerce-message,.woocommerce-info{border-top-color:#df0710}
.woocommerce-message::before,.woocommerce-info::before{color:#df0710}
.tef-dual-media img{object-fit:cover}
@media(min-width:1051px){
.site-header-inner{display:flex;flex-wrap:wrap;padding:10px 0 0;gap:8px}
.site-header-inner>.brand{margin-bottom:10px}
.site-nav{order:3;width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 16px}
.site-nav a{font-size:.82rem;white-space:nowrap}
.site-nav .cart-link{margin-left:auto}
}
@media(max-width:1050px){.site-nav{padding:10px 12px;display:flex;flex-wrap:wrap;gap:12px}}
@media(max-width:700px){.workshop-hero-photo:before{background:linear-gradient(180deg,#063c7055,transparent 40%)}}

/* Banners comerciales exportados individualmente: el texto ya viene en la imagen. */
.tef-dual-banners{align-items:stretch;gap:16px}
.tef-image-banner{display:block;overflow:hidden;border-radius:12px;line-height:0;min-width:0;box-shadow:0 1px 4px #08295418;transition:transform .2s ease,box-shadow .2s ease}
.tef-image-banner:hover{transform:translateY(-2px);box-shadow:0 8px 20px #08295422}
.tef-image-banner:focus-visible{outline:3px solid #df0710;outline-offset:3px}
.tef-image-banner img{width:100%;height:auto;display:block}
@media(max-width:700px){.tef-dual-banners{grid-template-columns:1fr;gap:14px}}

/* Logotipo basado en el símbolo de la fachada. */
.brand .tef-brand-symbol{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;line-height:0}
.brand .tef-brand-symbol img{display:block;width:42px;height:55px;object-fit:contain}
@media(max-width:700px){.brand .tef-brand-symbol img{width:34px;height:45px}}

/* HITO 04 — refinamiento visual de portada */
@media(min-width:701px){
.brand{font-size:1.92rem}
.brand .tef-brand-symbol img{width:51px;height:66px}
.tef-brand-subtitle{font-size:10px;letter-spacing:.055em}
.site-header-inner>.brand{margin-bottom:7px}
}
.tef-benefit-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px}
.tef-benefit-icon svg{width:30px;height:30px;display:block}
.tef-benefits-grid{padding:20px 0}
.tef-dual-banners{padding-top:22px;padding-bottom:16px}
.workshop-products-section{padding-top:16px}
.workshop-product-image{background:#fff;display:flex;align-items:center;justify-content:center}
.workshop-product-image img{width:100%;height:100%;object-fit:contain;object-position:center;display:block}
.woocommerce ul.products li.product a img{object-fit:contain;object-position:center;background:#fff}
@media(max-width:700px){
.tef-benefit-icon{width:30px;height:30px}
.tef-benefit-icon svg{width:26px;height:26px}
.tef-dual-banners{padding-top:18px;padding-bottom:12px}
.workshop-products-section{padding-top:14px}
}

/* HITO 04 — continuidad horizontal del menú con el hero.
   El contenido sigue alineado al contenedor, pero el azul llega a ambos bordes. */
.site-header{overflow:clip}
.site-nav{position:relative;isolation:isolate;background:#063c70}
.site-nav::before{content:"";position:absolute;z-index:-1;top:0;bottom:0;left:50%;width:100vw;transform:translateX(-50%);background:#063c70;pointer-events:none}

/* HITO 04 — banda amarilla inclinada del titular de referencia */
.workshop-hero h1 em{
  display:inline-block;
  position:relative;
  z-index:0;
  isolation:isolate;
  color:#082954;
  font-style:normal;
  white-space:nowrap;
  padding:.035em .18em .095em;
  margin-left:-.08em;
}
.workshop-hero h1 em::before{
  content:"";
  position:absolute;
  inset:.06em -.06em .015em -.06em;
  z-index:-1;
  background:#ffd027;
  transform:skewX(-13deg);
  border-radius:3px;
}
@media(max-width:480px){
  .workshop-hero h1 em{font-size:clamp(1.55rem,7vw,2.3rem);white-space:nowrap}
}

/* HITO 04 — escala tipográfica alineada con el mockup comercial.
   Valores fluidos para conservar jerarquía sin desbordar en móviles. */
.brand{font-size:clamp(1.55rem,2.3vw,2rem);font-weight:800}
.tef-brand-subtitle{font-size:clamp(.62rem,.8vw,.72rem)}
.site-nav a{font-size:.9375rem;font-weight:700}
.workshop-hero h1{font-size:clamp(2.4rem,4.25vw,3.375rem);line-height:1.16;font-weight:850;letter-spacing:-.045em}
.workshop-hero h1 em{font-size:inherit}
.workshop-hero p{font-size:1.125rem;line-height:1.55}
.workshop-section-heading h2{font-size:clamp(1.55rem,2.3vw,1.75rem);font-weight:800}
.tef-benefit strong{font-size:.94rem}
.workshop-product h3{font-size:.9375rem;line-height:1.35}
.workshop-price{font-size:1.25rem;line-height:1.3}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:.9375rem!important;line-height:1.35!important}
.woocommerce ul.products li.product .price{font-size:1.25rem}
@media(min-width:1051px){
  .brand{font-size:2rem}
  .site-nav a{font-size:.9375rem}
}
@media(max-width:700px){
  .workshop-hero h1{font-size:clamp(2rem,7vw,2.8rem);line-height:1.15}
  .workshop-hero h1 em{font-size:inherit}
  .workshop-hero p{font-size:1rem}
  .workshop-price,.woocommerce ul.products li.product .price{font-size:1.08rem}
}
@media(max-width:420px){
  .workshop-hero h1{font-size:clamp(1.7rem,7.2vw,2.05rem)}
  .workshop-hero h1 em{font-size:inherit;white-space:nowrap}
  .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:.875rem!important}
}

/* HITO 04 — ritmo vertical y alineación de portada (captura 2026-11-02).
   Ajustes limitados al home, sin afectar tienda ni checkout. */
@media(min-width:1051px){
  .site-header-inner{padding-top:6px;gap:4px}
  .site-header-inner>.brand{margin-bottom:4px}
  .site-nav{padding-top:7px;padding-bottom:7px}
}
.home .workshop-hero{padding-top:0;padding-bottom:0}
.home .workshop-hero-inner{min-height:370px;gap:28px}
.home .workshop-hero-copy{padding:38px 20px 38px 0}
.home .workshop-kicker{margin-bottom:10px}
.home .workshop-hero h1{margin-bottom:15px}
.home .workshop-hero p{margin:0;max-width:440px}
.home .workshop-actions{margin-top:22px;gap:10px}
.home .tef-benefits-grid{padding-top:16px;padding-bottom:16px}
.home .tef-dual-banners{padding-top:18px;padding-bottom:10px;gap:14px}
.home .workshop-products-section{padding-top:18px;padding-bottom:48px}
.home .workshop-section-heading{margin-bottom:18px}
.home .workshop-heading-row{gap:16px}
.home .workshop-product{padding:11px}
.home .workshop-product h3{margin-top:10px;margin-bottom:5px;min-height:3.9em}
.home .workshop-carousel-track{padding-bottom:12px}
@media(max-width:700px){
  .home .workshop-hero-inner{min-height:0;gap:0}
  .home .workshop-hero-copy{padding:32px 0 28px}
  .home .workshop-hero-art.workshop-hero-photo{height:250px;min-height:250px}
  .home .tef-benefits-grid{padding-top:12px;padding-bottom:12px}
  .home .tef-dual-banners{padding-top:14px;padding-bottom:10px}
  .home .workshop-products-section{padding-top:18px;padding-bottom:34px}
  .home .workshop-heading-row{gap:12px}
}

/* HITO 04 — segunda pasada: redistribución perceptible en escritorio.
   Se evita alterar la grilla responsive y el contenido de WooCommerce. */
@media(min-width:1051px){
  .topline{padding:2px 10px;font-size:.73rem;line-height:1.3}
  .site-header-inner{padding-top:2px;gap:0}
  .site-header-inner>.brand{margin-bottom:0}
  .brand .tef-brand-symbol img{width:44px;height:55px}
  .site-nav{padding:5px 12px;min-height:42px;gap:10px}
  .site-nav a{font-size:.88rem}
  .site-nav .cart-link{padding:7px 13px}
  .home .workshop-hero-inner{min-height:335px;grid-template-columns:46% 54%;gap:0}
  .home .workshop-hero-copy{padding:30px 22px 30px 0}
  .home .workshop-hero h1{font-size:clamp(2.5rem,4.1vw,3.25rem);margin-bottom:12px}
  .home .workshop-hero p{font-size:1.06rem;line-height:1.45;max-width:425px}
  .home .workshop-actions{margin-top:18px}
  .home .workshop-button{padding:9px 14px}
  .home .tef-benefits-grid{padding-top:12px;padding-bottom:12px}
  .home .tef-benefit-icon{width:29px;height:29px}
  .home .tef-benefit-icon svg{width:25px;height:25px}
  .home .tef-dual-banners{padding-top:14px;padding-bottom:5px}
  .home .workshop-products-section{padding-top:12px}
  .home .workshop-section-heading{margin-bottom:13px}
  .home .workshop-section-heading h2{margin-bottom:6px}
}

/* HITO 04 — hero compacto: eliminar altura impuesta por la foto.
   El recorte de imagen se mantiene con object-fit:cover. */
@media(min-width:1051px){
  .home .workshop-hero-inner{min-height:0;grid-template-columns:46% 54%;align-items:stretch}
  .home .workshop-hero-copy{padding-top:24px;padding-bottom:24px}
  .home .workshop-hero-art.workshop-hero-photo{height:auto;min-height:0;align-self:stretch}
  .home .workshop-hero-photo img{
    position:absolute;inset:0;width:100%;height:100%;
    min-height:0;max-height:none;object-fit:cover;object-position:center 60%;
  }
}

/* HITO 04 — reencuadre de fachada sin cambiar altura del hero. */
@media(min-width:1051px){
  .home .workshop-hero-photo img{object-position:center 78%}
}


/* HITO 04 — encuadre comercial: ampliar fachada manteniendo letrero visible.
   La imagen original es vertical; cover evita la franja estrecha de contain. */
@media(min-width:1051px){
  .home .workshop-hero-photo img{
    object-fit:cover;
    object-position:center 66%;
  }
}

/* HITO 04 — beneficios más legibles y proporcionados en toda la franja. */
.home .tef-benefit{gap:10px;padding:10px 16px}
.home .tef-benefit-icon{width:42px;height:42px;flex:0 0 42px}
.home .tef-benefit-icon svg{width:37px;height:37px}
.home .tef-benefit strong{font-size:1.08rem;line-height:1.3;font-weight:800}
@media(min-width:1051px){
  .home .tef-benefits-grid{padding-top:12px;padding-bottom:12px}
  .home .tef-benefit{gap:8px;padding:8px 12px}
}
@media(max-width:700px){
  .home .tef-benefit{gap:7px;padding:14px 8px}
  .home .tef-benefit-icon{width:35px;height:35px;flex-basis:35px}
  .home .tef-benefit-icon svg{width:31px;height:31px}
  .home .tef-benefit strong{font-size:.95rem}
}

/* HITO 04 — Google Maps incrustado en ubicación; responsive y sin recortes. */
.workshop-location .workshop-google-map{display:block;min-height:0;padding:0;overflow:hidden;border-radius:8px;background:#e9edf1;border:1px solid #d8e1e9}
.workshop-google-map iframe{display:block;width:100%;height:350px;border:0}
.workshop-google-map .workshop-map-link{display:block;margin:0;padding:11px 14px;text-align:center;font-weight:750;color:#063c70;background:#fff;text-decoration:none}
.workshop-google-map .workshop-map-link:hover{text-decoration:underline}
@media(max-width:700px){.workshop-google-map iframe{height:290px}}

/* HITO 04 — Presentación uniforme de fotografías del catálogo.
   No modifica las fotografías originales ni recorta repuestos. */
.home .workshop-product-image,
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{min-width:0}
.home .workshop-product-image{aspect-ratio:1/1;background:#fff;border:1px solid #edf0f3;padding:12px;box-sizing:border-box}
.home .workshop-product-image img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center}
.woocommerce ul.products li.product a img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;object-position:center;background:#fff;padding:12px;box-sizing:border-box;border:1px solid #edf0f3}
@media(max-width:680px){.home .workshop-product-image,.woocommerce ul.products li.product a img{padding:8px}}

/* HITO 04 — Compactar catálogo y transición hacia ubicación. */
.home .workshop-products-section{padding-bottom:16px}
.home .workshop-products-section + .workshop-location{padding-top:20px}
.home .workshop-product-image{padding:5px}
.home .workshop-product-image img{object-fit:contain}
.home .workshop-carousel-track{padding-bottom:6px}
@media(max-width:680px){
  .home .workshop-products-section{padding-bottom:12px}
  .home .workshop-products-section + .workshop-location{padding-top:18px}
  .home .workshop-product-image{padding:5px}
}
