/*
Theme Name: Taller El Franco
Theme URI: https://github.com/frarmijom/taller-elfranco-commerce
Author: Taller El Franco
Description: Sitio híbrido de servicio técnico y tienda WooCommerce, con navegación en español.
Version: 0.3.0
Requires PHP: 8.1
Text Domain: taller-elfranco
*/
:root{--ink:#172c3d;--brand:#117b76;--brand-dark:#0b5d59;--muted:#526575;--line:#e4e9ed;--bg:#f7f9fa}
*{box-sizing:border-box}body{margin:0;background:#fff;color:var(--ink);font:16px/1.6 system-ui,-apple-system,"Segoe UI",sans-serif}
a{color:var(--brand-dark)}a:hover{text-decoration:none}img{max-width:100%;height:auto}
.container{width:min(1160px,calc(100% - 36px));margin:auto}
.site-header{border-bottom:1px solid var(--line);background:#fff}.topline{background:var(--ink);color:#fff;font-size:.82rem;text-align:center;padding:6px 10px}
.site-header-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:22px 0}
.brand{font-size:1.5rem;font-weight:800;letter-spacing:-.03em;color:var(--ink);text-decoration:none}.brand span{color:var(--brand)}
.site-nav{display:flex;flex-wrap:wrap;gap:16px;align-items:center}.site-nav a{text-decoration:none;color:var(--ink);font-weight:600;font-size:.94rem}.site-nav a:hover{color:var(--brand)}
.cart-link{background:var(--brand);border-radius:8px;color:white!important;padding:9px 15px}
.hero{padding:46px 0;background:var(--bg);border-bottom:1px solid var(--line)}.hero h1{font-size:clamp(2rem,4vw,3.3rem);line-height:1.14;margin:0 0 12px;letter-spacing:-.04em}.hero p{max-width:680px;color:var(--muted);margin:0}
.content{padding:38px 0 60px;min-height:45vh}.content h1:first-child{margin-top:0}
.woocommerce ul.products li.product{border:1px solid var(--line);border-radius:12px;padding:16px!important;overflow:hidden;transition:box-shadow .2s}
.woocommerce ul.products li.product:hover{box-shadow:0 8px 25px #172c3d15}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:1.05rem!important;color:var(--ink)}
.woocommerce ul.products li.product .price{color:var(--brand-dark);font-weight:750;font-size:1.05rem}
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{background:var(--brand);color:#fff;border-radius:8px}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{background:var(--brand-dark);color:#fff}
.site-footer{background:var(--ink);color:#e9f1f4;padding:28px 0}.footer-inner{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.site-footer a{color:#e9f1f4}
.search-form{display:flex;gap:8px;max-width:440px;margin-top:20px}.search-form input{flex:1;min-width:0;padding:12px;border:1px solid #cbd6dc;border-radius:8px;font:inherit}.search-form button{border:0;background:var(--brand);color:white;border-radius:8px;padding:10px 20px;font:inherit;cursor:pointer}
@media(max-width:680px){.site-header-inner{align-items:flex-start;flex-direction:column}.site-nav{gap:12px}.hero{padding:32px 0}.woocommerce ul.products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.woocommerce ul.products li.product{width:auto!important;float:none!important;margin:0!important}.footer-inner{flex-direction:column}}
@media(max-width:420px){.woocommerce ul.products{grid-template-columns:1fr}}

/* Portada híbrida: dos actividades con igual jerarquía */
.home-intro{padding:54px 0 28px;text-align:center;background:var(--bg)}
.home-eyebrow{text-transform:uppercase;letter-spacing:.11em;font-size:.78rem;font-weight:750;color:var(--brand-dark);margin:0 0 12px}
.home-intro h1{font-size:clamp(2rem,4.5vw,3.5rem);letter-spacing:-.04em;line-height:1.12;margin:0 0 14px}
.home-lead{font-size:1.12rem;color:var(--muted);max-width:680px;margin:0 auto}
.home-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;padding-top:36px;padding-bottom:48px}
.home-option{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 8px 24px #172c3d0d}
.home-option-visual{height:190px;display:flex;align-items:center;justify-content:center}
.home-option-service{background:linear-gradient(135deg,#dcefed,#b4d7d3)}
.home-option-shop{background:linear-gradient(135deg,#e4ebf2,#c7d8e5)}
.home-symbol{font-size:5rem;color:var(--ink);line-height:1}
.home-option-body{padding:28px;display:flex;flex-direction:column;flex:1}
.home-option-label{font-size:.8rem;text-transform:uppercase;font-weight:750;letter-spacing:.08em;color:var(--brand-dark);margin:0 0 12px}
.home-option h2{font-size:clamp(1.4rem,2.4vw,1.9rem);line-height:1.22;margin:0 0 14px}
.home-option-body>p:not(.home-option-label){color:var(--muted);margin:0 0 24px}
.home-option-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;align-self:flex-start;margin-top:auto;padding:12px 18px;background:var(--brand);border-radius:8px;color:#fff;text-decoration:none;font-weight:700}
.home-option-action:hover,.home-option-action:focus-visible{background:var(--brand-dark);color:#fff}
.home-page-content{padding:0 0 56px;max-width:900px}
@media(max-width:720px){.home-options{grid-template-columns:1fr;gap:18px}.home-intro{padding:36px 0 22px}.home-option-visual{height:140px}.home-option-body{padding:22px}}

/* Taller El Franco: portada corporativa y tienda */
.workshop-kicker{display:block;color:var(--brand-dark);font-size:.81rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase;margin-bottom:12px}
.workshop-hero{background:linear-gradient(120deg,#f3f8f8 0%,#e7f0f2 100%);padding:65px 0}
.workshop-hero-inner{display:grid;grid-template-columns:1.25fr .75fr;align-items:center;gap:54px}
.workshop-hero h1{font-size:clamp(2.25rem,4.8vw,4.1rem);letter-spacing:-.05em;line-height:1.1;margin:0 0 20px}
.workshop-hero p{color:var(--muted);font-size:1.12rem;max-width:580px}
.workshop-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.workshop-button{display:inline-flex;align-items:center;justify-content:center;border:2px solid var(--brand);border-radius:9px;background:var(--brand);padding:11px 20px;color:#fff;text-decoration:none;font-weight:750;text-align:center}
.workshop-button:hover,.workshop-button:focus-visible{background:var(--brand-dark);border-color:var(--brand-dark);color:#fff}
.workshop-button-outline{background:transparent;color:var(--brand-dark)}
.workshop-hero-art{min-height:310px;border-radius:24px;background:linear-gradient(150deg,#d2e6e4,#b8d7d6);display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative}
.workshop-heater{width:166px;height:235px;border:12px solid #eaf2f3;border-radius:24px;background:#f9fcfc;box-shadow:14px 15px 0 #83aaa9;display:flex;flex-direction:column;align-items:center;justify-content:space-around}
.workshop-heater-display{display:block;width:92px;height:76px;border-radius:9px;background:linear-gradient(150deg,#d8e8ee,#8bb2bb);border:7px solid #bdced3}
.workshop-heater-controls{display:block;width:65px;height:16px;border-radius:25px;background:#9cb6b7}
.workshop-hero-note{position:absolute;bottom:16px;font-size:.84rem;font-weight:750;color:var(--ink)}
.workshop-section{padding-top:66px;padding-bottom:66px}
.workshop-section-heading{max-width:660px;margin-bottom:28px}
.workshop-section-heading h2,.workshop-location h2{font-size:clamp(1.8rem,3.2vw,2.6rem);line-height:1.15;margin:0 0 12px}
.workshop-section-heading p,.workshop-location p{color:var(--muted);margin:0}
.workshop-services{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.workshop-services article{border:1px solid var(--line);border-radius:13px;padding:23px;background:#fff}
.workshop-services article>span{color:var(--brand);font-size:1.75rem}
.workshop-services h3{font-size:1.15rem;margin:14px 0 8px}
.workshop-services p{font-size:.95rem;color:var(--muted);margin:0}
.workshop-products-section{padding:64px 0;background:var(--bg)}
.workshop-heading-row{display:flex;align-items:end;justify-content:space-between;max-width:none;gap:24px}
.workshop-carousel-track{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:thin;padding:3px 0 18px}
.workshop-product{flex:0 0 calc((100% - 54px)/4);scroll-snap-align:start;border:1px solid var(--line);border-radius:13px;background:#fff;padding:15px;min-width:0}
.workshop-product a{text-decoration:none;color:var(--ink)}
.workshop-product-image{aspect-ratio:1;background:#f4f8f9;border-radius:9px;overflow:hidden;display:flex;align-items:center;justify-content:center}
.workshop-product-image img{width:100%;height:100%;object-fit:contain}
.workshop-product h3{font-size:1rem;line-height:1.4;margin:15px 0 8px}
.workshop-price{font-weight:750;color:var(--brand-dark)}
.workshop-carousel-controls{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:13px}
.workshop-carousel-controls button{border:1px solid var(--line);border-radius:50%;width:44px;height:44px;background:#fff;font-size:1.8rem;cursor:pointer;color:var(--ink)}
.workshop-carousel-controls button:hover{background:#e1eded}
.workshop-carousel-status{font-size:.9rem;color:var(--muted)}
.workshop-empty-products{background:#fff;border:1px solid var(--line);border-radius:12px;padding:28px}
.workshop-location{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center}
.workshop-location dl{display:grid;grid-template-columns:105px 1fr;gap:12px;margin:24px 0}
.workshop-location dt{font-weight:750}
.workshop-location dd{margin:0}
.workshop-location-note{margin-top:16px!important;font-size:.9rem}
.workshop-map-panel{min-height:290px;background:linear-gradient(135deg,#e7f0f2,#d2e3e6);border:1px solid #c5d9db;border-radius:18px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:7px}
.workshop-map-panel>span{font-size:4rem;color:var(--brand-dark)}
.workshop-map-panel strong{font-size:1.9rem}
.workshop-map-panel small{color:var(--muted)}
.workshop-map-panel a{margin-top:12px}
@media(max-width:900px){.workshop-services{grid-template-columns:repeat(2,minmax(0,1fr))}.workshop-product{flex-basis:calc((100% - 18px)/2)}.workshop-hero-inner{gap:25px}}
@media(max-width:680px){.workshop-hero{padding:40px 0}.workshop-hero-inner,.workshop-location{grid-template-columns:1fr}.workshop-hero-art{min-height:220px}.workshop-heater{transform:scale(.7)}.workshop-services{grid-template-columns:1fr}.workshop-product{flex-basis:80%}.workshop-heading-row{align-items:start;flex-direction:column}.workshop-section{padding-top:43px;padding-bottom:43px}}
@media(prefers-reduced-motion:reduce){.workshop-carousel-track{scroll-behavior:auto}}
