/*
Theme Name: Amazonas Tecnologias
Theme URI: https://amazonastecnologia.cl/
Author: Altavoz Media
Author URI: https://altavozmedia.cl/
Description: Tema a medida para Amazonas Tecnologias. Disenado por Altavoz Media sobre la identidad del cliente, con soporte completo para WooCommerce.
Version: 1.2.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: amazonas
Tags: e-commerce, custom-menu, custom-logo, translation-ready
*/

*{box-sizing:border-box}
html{scroll-padding-top:140px}
@media (max-width:768px){html{scroll-padding-top:170px}}
body{margin:0;background:#F3F4F6;color:#10131A;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;overflow-x:hidden}
h1,h2,h3,.brand-font{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;font-weight:700;letter-spacing:-0.01em}
a{color:#10131A;text-decoration:none}
a:hover{color:#2952E3}
button{font-family:inherit;cursor:pointer}
img{max-width:100%}
.container{max-width:1280px;margin:0 auto;padding-left:20px;padding-right:20px}
.container-sm{max-width:760px;margin:0 auto;padding-left:20px;padding-right:20px}
.container-md{max-width:1000px;margin:0 auto;padding-left:20px;padding-right:20px}

.topbar{background:#10131A;color:#F3F4F6;text-align:center;font-size:12px;letter-spacing:.06em;padding:9px 16px}

header.site-header{position:sticky;top:0;z-index:50;background:rgba(243,244,246,.96);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid rgba(16,19,26,.1)}
.header-row{display:flex;align-items:center;gap:12px;padding:14px 20px;max-width:1280px;margin:0 auto}
.brand-lockup{display:flex;align-items:center;gap:10px;margin-right:auto;min-width:0}
.brand-lockup img{height:clamp(30px,6.5vw,40px);width:auto;flex:none}
.brand-name{font-size:clamp(15px,3.8vw,18px);line-height:1;white-space:nowrap;font-weight:700}
.brand-tag{font-size:9px;letter-spacing:.16em;text-transform:uppercase;color:#6B7280;margin-top:3px;white-space:nowrap}
.cart-btn{position:relative;border:1px solid rgba(16,19,26,.16);background:#fff;color:#10131A;border-radius:10px;padding:0 18px;height:46px;font-size:14px;display:flex;align-items:center;gap:8px;white-space:nowrap}
.cart-count{background:#2952E3;color:#fff;border-radius:999px;min-width:22px;height:22px;display:inline-grid;place-items:center;font-size:12px;padding:0 6px;vertical-align:middle;box-sizing:border-box}
.menu-toggle{display:none;border:1px solid rgba(16,19,26,.16);background:#fff;border-radius:10px;width:46px;height:46px;align-items:center;justify-content:center;flex:none}
nav.site-nav{display:flex;gap:20px;overflow-x:auto;padding:0 20px 11px;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#6B7280;max-width:1280px;margin:0 auto;scrollbar-width:none}
nav.site-nav a{white-space:nowrap;color:#6B7280}
nav.site-nav a.active{color:#10131A}
@media (max-width:640px){
  .menu-toggle{display:flex}
  nav.site-nav{display:none;flex-direction:column;gap:14px;padding:14px 20px 18px;align-items:flex-start}
  nav.site-nav.open{display:flex}
}

.hero-section{padding:20px}
.hero-grid{max-width:1280px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:20px;align-items:stretch}
@media (max-width:860px){.hero-grid{grid-template-columns:1fr}}
.hero-copy{background:#10131A;border-radius:20px;padding:clamp(28px,5vw,48px);display:flex;flex-direction:column;justify-content:center;color:#F3F4F6}
.hero-kicker{display:inline-flex;align-items:center;gap:8px;background:rgba(41,82,227,.18);color:#7C9BFF;border-radius:999px;padding:7px 14px;font-size:11px;letter-spacing:.1em;text-transform:uppercase;width:fit-content;margin-bottom:18px}
.hero-copy h1{font-size:clamp(32px,6vw,52px);line-height:1.06;margin:0 0 16px;max-width:20ch}
.hero-copy p{font-size:clamp(14px,2.6vw,16px);line-height:1.6;color:rgba(243,244,246,.72);max-width:42ch;margin:0 0 26px}
.hero-actions{display:flex;gap:10px;flex-wrap:wrap}
.hero-media{border-radius:20px;overflow:hidden;min-height:clamp(280px,42vw,420px);position:relative}
.hero-media img{width:100%;height:100%;object-fit:cover;display:block}

.btn{border:none;border-radius:10px;font-size:15px;font-weight:500;padding:15px 26px;flex:1 1 auto;text-align:center;min-height:50px;display:flex;align-items:center;justify-content:center}
.btn-primary{background:#2952E3;color:#fff}
.btn-outline-dark{border:1px solid rgba(243,244,246,.3);color:#F3F4F6;background:transparent}
.btn-outline-light{border:1px solid rgba(16,19,26,.18);color:#10131A;background:#fff}
.btn-solid-dark{background:#10131A;color:#F3F4F6}

.eyebrow{font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:#6B7280;margin-bottom:14px}
.eyebrow-light{font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:#7C9BFF;margin-bottom:12px}

.section{padding:clamp(20px,4vw,32px) 20px}
.section-lg{padding:clamp(48px,8vw,72px) 20px}
.section-dark{background:#10131A;color:#F3F4F6}
.section-alt{background:#E9EBEF}

.back-link{display:inline-flex;align-items:center;gap:6px;border:1px solid rgba(16,19,26,.18);background:#fff;color:#10131A;border-radius:999px;height:44px;padding:0 18px;font-size:13px;margin-bottom:20px}
.back-link-dark{border-color:rgba(243,244,246,.3);color:#F3F4F6;background:transparent}

.grid-brands{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}
.brand-card{text-align:left;border:none;background:#fff;border-radius:16px;overflow:hidden;display:flex;flex-direction:column}
.brand-card .logo-box{height:150px;display:flex;align-items:center;justify-content:center;padding:24px}
.brand-card .logo-box img{max-width:100%;max-height:100%;object-fit:contain}
.brand-card .info{padding:16px 18px 18px}
.brand-card .info .name{font-size:18px;font-weight:700}
.brand-card .info .desc{font-size:13px;color:#6B7280;margin-top:4px;line-height:1.5}
.brand-card .info .price{font-size:13px;color:#2952E3;margin-top:10px;font-weight:500}

.filters{display:flex;gap:8px;overflow-x:auto;padding-bottom:14px;margin-bottom:18px;scrollbar-width:none}
.filter-btn{white-space:nowrap;border:1px solid rgba(16,19,26,.16);background:#fff;color:#10131A;border-radius:999px;padding:0 18px;height:44px;font-size:14px;flex:none}
.filter-btn.active{border-color:#10131A;background:#10131A;color:#F3F4F6}

.grid-products{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:20px}
.product-card{background:#fff;border-radius:16px;overflow:hidden;display:flex;flex-direction:column}
.product-card .photo{position:relative;height:clamp(170px,44vw,210px)}
.product-card .photo img{width:100%;height:100%;object-fit:cover;display:block}
.product-card .tag{position:absolute;top:12px;left:12px;background:#10131A;color:#F3F4F6;font-size:10px;letter-spacing:.1em;text-transform:uppercase;padding:6px 10px;border-radius:999px}
.product-card .body{padding:14px 16px 16px;display:flex;flex-direction:column;gap:10px;flex:1}
.product-card .body a.title{font-size:15px;font-weight:500;line-height:1.35;color:#10131A}
.product-card .body .desc{font-size:12px;color:#6B7280;margin-top:3px;line-height:1.5}
.product-card .price-row{display:flex;align-items:baseline;gap:8px;margin-top:auto}
.product-card .price{font-size:21px;font-weight:700}
.product-card .currency{font-size:11px;color:#9CA3AF}
.product-card .add-btn{border:none;background:#10131A;color:#F3F4F6;border-radius:10px;height:46px;font-size:14px;width:100%}
.product-card .view-btn{border:1px solid rgba(16,19,26,.18);background:#fff;color:#10131A;border-radius:10px;height:42px;font-size:13px;width:100%}

.grid-4{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}
.grid-3{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}
.stat-card{border:1px solid rgba(243,244,246,.14);border-radius:16px;padding:22px}
.stat-card .num{font-size:28px;font-weight:700;color:#7C9BFF;line-height:1}
.stat-card .title{font-size:15px;font-weight:500;margin-top:12px}
.stat-card .text{font-size:13px;color:rgba(243,244,246,.6);line-height:1.6;margin-top:6px}
.step-card{background:#fff;border-radius:16px;padding:22px}
.step-card .num{font-size:22px;font-weight:700;color:#2952E3}
.step-card .title{font-size:15px;font-weight:500;margin-top:10px}
.step-card .text{font-size:13px;color:#6B7280;line-height:1.6;margin-top:6px}

.form-card{display:flex;flex-direction:column;gap:14px;background:#fff;border-radius:16px;padding:clamp(20px,4vw,28px)}
.form-row-2{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px}
.form-card input,.form-card select,.form-card textarea{border:1px solid rgba(16,19,26,.16);border-radius:10px;height:48px;padding:0 14px;font-size:14px;font-family:inherit;background:#fff;color:#10131A}
.form-card textarea{height:auto;padding:12px 14px;resize:vertical}
.form-card button{border:none;background:#2952E3;color:#fff;border-radius:10px;height:52px;font-size:15px;font-weight:500}
.form-success{background:#fff;border-radius:16px;padding:28px;font-size:15px}

footer.site-footer{background:#E9EBEF;padding:clamp(40px,8vw,60px) 20px 96px;border-top:1px solid rgba(16,19,26,.08)}
.footer-top{display:flex;flex-wrap:wrap;gap:28px;padding-bottom:30px;border-bottom:1px solid rgba(16,19,26,.12)}
.footer-col-brand{flex:1 1 260px}
.footer-col-brand img{height:36px;width:auto;margin-bottom:12px}
.footer-col-brand .name{font-size:22px;font-weight:700;margin-bottom:10px}
.footer-col-brand p{font-size:14px;line-height:1.6;color:#6B7280;margin:0 0 16px;max-width:34ch}
.pay-badges{display:flex;gap:8px;flex-wrap:wrap;font-size:12px;color:#6B7280}
.pay-badges span{border:1px solid rgba(16,19,26,.15);border-radius:6px;padding:6px 10px}
.footer-col{flex:1 1 150px;font-size:14px;color:#6B7280;display:flex;flex-direction:column;gap:9px}
.footer-col .h{font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:#9CA3AF}
.footer-bottom{padding-top:20px;display:flex;justify-content:space-between;gap:14px;font-size:12px;color:#9CA3AF;flex-wrap:wrap}

.bottom-bar{position:fixed;left:0;right:0;bottom:0;z-index:60;background:rgba(243,244,246,.97);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-top:1px solid rgba(16,19,26,.14);padding:10px 20px;display:flex;gap:10px;align-items:center}
.bottom-bar .info{flex:1;min-width:0}
.bottom-bar .label{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#6B7280}
.bottom-bar .amount{font-size:20px;font-weight:700;line-height:1.1}
.bottom-bar .cart-open{border:none;background:#10131A;color:#F3F4F6;font-size:14px;padding:0 22px;height:46px;border-radius:10px;white-space:nowrap}
.wsp-fab{background:#25D366;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;flex:none}

.cart-overlay{position:fixed;inset:0;z-index:90;display:none;justify-content:flex-end}
.cart-overlay.open{display:flex}
.cart-overlay .scrim{position:absolute;inset:0;background:rgba(16,19,26,.5)}
.cart-drawer{position:relative;width:min(100%,420px);background:#F3F4F6;display:flex;flex-direction:column;box-shadow:-20px 0 60px rgba(16,19,26,.25)}
.cart-head{padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid rgba(16,19,26,.12)}
.cart-head .title{font-size:22px;font-weight:700}
.cart-close{border:1px solid rgba(16,19,26,.2);background:transparent;color:#10131A;width:44px;height:44px;border-radius:50%;font-size:18px;line-height:1}
.cart-body{flex:1;overflow-y:auto;padding:20px;display:flex;flex-direction:column;gap:14px}
.cart-empty{padding:40px 8px;text-align:center;color:#6B7280;font-size:14px}
.cart-item{display:flex;gap:12px;align-items:center;background:#fff;border-radius:14px;padding:12px}
.cart-item .thumb{width:60px;height:60px;border-radius:10px;background:#EAECEF;flex:none;display:grid;place-items:center;font-size:10px;color:#9CA3AF;text-align:center;padding:4px}
.cart-item .details{flex:1;min-width:0}
.cart-item .name{font-size:14px;font-weight:500;line-height:1.3}
.cart-item .price{font-size:12px;color:#6B7280;margin-top:2px}
.qty-row{display:flex;align-items:center;gap:8px;margin-top:8px}
.qty-row button{border:1px solid rgba(16,19,26,.2);background:transparent;width:34px;height:34px;border-radius:8px;font-size:16px;color:#10131A}
.qty-row .qty{font-size:14px;min-width:18px;text-align:center}
.qty-row .remove{border:none;background:transparent;color:#2952E3;font-size:12px;margin-left:auto}
.cart-foot{padding:22px;border-top:1px solid rgba(16,19,26,.12);display:flex;flex-direction:column;gap:12px}
.cart-line{display:flex;justify-content:space-between;font-size:14px;color:#6B7280}
.cart-total{display:flex;justify-content:space-between;align-items:baseline;padding-top:10px;border-top:1px dashed rgba(16,19,26,.2)}
.cart-total .amount{font-size:28px;font-weight:700}
.cart-pay-btn{border:none;background:#2952E3;color:#fff;border-radius:10px;height:54px;font-size:15px;font-weight:500}
.pay-note{background:rgba(41,82,227,.1);color:#1B3AA0;border-radius:12px;padding:12px 14px;font-size:13px}
.cart-terms{font-size:11px;color:#9CA3AF;text-align:center}

.ficha-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(20px,4vw,36px)}
@media (max-width:760px){.ficha-grid{grid-template-columns:1fr}}
.ficha-media{border-radius:18px;overflow:hidden;min-height:clamp(260px,38vw,380px);position:relative}
.ficha-media img{width:100%;height:100%;object-fit:cover;display:block}
.ficha-tag{display:inline-flex;background:#10131A;color:#F3F4F6;font-size:10px;letter-spacing:.1em;text-transform:uppercase;padding:6px 10px;border-radius:999px;margin-bottom:14px}
.ficha-cat{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#6B7280;margin-bottom:8px}
.ficha-title{font-size:clamp(26px,5vw,34px);margin:0 0 14px;line-height:1.15}
.ficha-price-row{display:flex;align-items:baseline;gap:8px;margin-bottom:18px}
.ficha-price{font-size:30px;font-weight:700}
.ficha-note{font-size:12px;color:#9CA3AF;margin-top:16px;line-height:1.6}
.spec-card{margin-top:clamp(28px,5vw,40px);background:#fff;border-radius:16px;padding:clamp(18px,3vw,28px)}
.spec-card .head{font-size:18px;font-weight:700;margin-bottom:14px}
.spec-row{display:grid;grid-template-columns:minmax(120px,180px) 1fr;gap:16px;padding:12px 0;border-top:1px solid rgba(16,19,26,.08)}
.spec-row .label{font-size:13px;color:#6B7280}
.spec-row .value{font-size:14px}
.related-wrap{margin-top:clamp(36px,6vw,56px)}
.related-wrap .head{font-size:20px;font-weight:700;margin-bottom:14px}
.related-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}
.related-card{text-align:left;background:#fff;border:none;border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:6px}
.related-card .name{font-size:14px;font-weight:500}
.related-card .price{font-size:13px;color:#2952E3}

.yt-card{max-width:640px;margin:0 auto;background:#171B26;border-radius:16px;overflow:hidden}
.yt-thumb{display:block;position:relative;aspect-ratio:16/9}
.yt-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.yt-play-overlay{position:absolute;inset:0;background:rgba(16,19,26,.15);display:flex;align-items:center;justify-content:center}
.yt-play-btn{width:64px;height:64px;border-radius:50%;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center}
.yt-channel-row{display:flex;align-items:center;gap:12px;padding:16px 18px}
.yt-channel-row .name{font-size:14px;font-weight:500;color:#F3F4F6}
.yt-channel-row .cta{font-size:12px;color:#6B7280}

.brand-hero{background:#10131A;border-radius:20px;padding:clamp(28px,5vw,44px);display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-bottom:clamp(28px,5vw,40px)}
.brand-hero .logo-box{background:#fff;border-radius:14px;padding:16px 22px;display:flex;align-items:center;justify-content:center}
.brand-hero .logo-box img{height:40px;max-width:140px;object-fit:contain}
.brand-hero .copy{color:#F3F4F6}
.brand-hero .copy h1{font-size:clamp(24px,5vw,32px);margin:0 0 6px}
.brand-hero .copy .desc{font-size:14px;color:rgba(243,244,246,.7);max-width:50ch;line-height:1.5}

@media (max-width:768px){
  .container,.container-sm,.container-md{padding-left:20px;padding-right:20px}
}

/* =================================================================
   WooCommerce - calza la tienda con el diseno de Amazonas
   ================================================================= */

.woo-title{font-size:clamp(28px,7vw,40px);line-height:1.1;margin:0 0 18px}
.woo-term-desc{font-size:14px;color:#6B7280;line-height:1.6;max-width:680px;margin:0 0 22px}
.woo-wrap .woocommerce-notices-wrapper:empty{display:none}

/* --- Grilla de productos --- */
.woocommerce ul.products,
ul.products{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:20px;margin:0;padding:0;list-style:none}
.woocommerce ul.products::before,
.woocommerce ul.products::after{display:none}
.woocommerce ul.products li.product,
ul.products li.product{background:#fff;border-radius:16px;overflow:hidden;display:flex;flex-direction:column;width:auto;margin:0;float:none;padding:0;text-align:left}

.woocommerce ul.products li.product a img,
ul.products li.product a img{width:100%;height:clamp(170px,44vw,210px);object-fit:cover;display:block;margin:0;border-radius:0;box-shadow:none}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .woocommerce-loop-product__title{font-size:15px;font-weight:500;line-height:1.35;color:#10131A;padding:14px 16px 0;margin:0}

.woocommerce ul.products li.product .price,
ul.products li.product .price{font-size:21px;font-weight:700;color:#10131A;padding:8px 16px 0;margin:0;display:block}
.woocommerce ul.products li.product .price del{font-size:14px;font-weight:400;color:#9CA3AF;margin-right:6px}
.woocommerce ul.products li.product .price ins{text-decoration:none}

.woocommerce ul.products li.product .button,
ul.products li.product .button{border:none;background:#10131A;color:#F3F4F6;border-radius:10px;height:46px;line-height:46px;font-size:14px;padding:0 14px;margin:12px 16px 16px;text-align:center;display:block;font-weight:500;transition:opacity .18s ease}
.woocommerce ul.products li.product .button:hover{background:#10131A;opacity:.88;color:#F3F4F6}
.woocommerce ul.products li.product .added_to_cart{display:block;margin:0 16px 16px;font-size:13px;color:#2952E3;text-align:center}

.woocommerce span.onsale,
span.onsale{position:absolute;top:12px;left:12px;right:auto;background:#10131A;color:#F3F4F6;font-size:10px;letter-spacing:.1em;text-transform:uppercase;padding:6px 10px;border-radius:999px;min-height:0;min-width:0;line-height:1.4;margin:0}
.woocommerce ul.products li.product{position:relative}

/* --- Ficha de producto --- */
.woocommerce div.product{display:grid;grid-template-columns:1fr 1fr;gap:clamp(20px,4vw,40px);align-items:start}
.woocommerce div.product div.images,
.woocommerce div.product div.summary{width:auto;float:none;margin:0}
.woocommerce div.product div.images img{border-radius:16px}
.woocommerce div.product .product_title{font-size:clamp(24px,5vw,34px);line-height:1.15;margin:0 0 14px}
.woocommerce div.product p.price,
.woocommerce div.product span.price{font-size:30px;font-weight:700;color:#10131A;margin:0 0 6px}
.woocommerce div.product p.price del{font-size:18px;font-weight:400;color:#9CA3AF}
.woocommerce div.product p.price ins{text-decoration:none}
.woocommerce div.product .woocommerce-product-details__short-description{font-size:14px;color:#6B7280;line-height:1.65;margin:14px 0 20px}
.woocommerce div.product form.cart{margin:20px 0 0;display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.woocommerce div.product form.cart .quantity input.qty{height:52px;width:76px;border:1px solid rgba(16,19,26,.18);border-radius:10px;text-align:center;font-size:15px}
.woocommerce div.product form.cart .button{border:none;background:#2952E3;color:#fff;border-radius:10px;height:52px;padding:0 26px;font-size:15px;font-weight:500;flex:1;min-width:180px;transition:opacity .18s ease}
.woocommerce div.product form.cart .button:hover{background:#2952E3;opacity:.9;color:#fff}
.woocommerce div.product .product_meta{font-size:12px;color:#9CA3AF;margin-top:22px;display:block}

.woocommerce div.product .woocommerce-tabs{grid-column:1/-1;margin-top:clamp(24px,5vw,44px)}
.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0;margin:0 0 18px;display:flex;gap:8px;flex-wrap:wrap;overflow:visible}
.woocommerce div.product .woocommerce-tabs ul.tabs::before{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li{background:#fff;border:1px solid rgba(16,19,26,.16);border-radius:999px;padding:0;margin:0}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{padding:0 18px;height:44px;display:flex;align-items:center;font-size:14px;font-weight:500;color:#10131A}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:#10131A;border-color:#10131A}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:#F3F4F6}
.woocommerce div.product .woocommerce-tabs .panel{background:#fff;border-radius:16px;padding:clamp(18px,4vw,28px);font-size:14px;line-height:1.7;color:#374151}

.woocommerce .related.products,
.woocommerce .up-sells{grid-column:1/-1;margin-top:clamp(28px,6vw,52px)}
.woocommerce .related.products>h2,
.woocommerce .up-sells>h2{font-size:clamp(22px,5vw,30px);margin:0 0 20px}

/* --- Carro --- */
.woocommerce table.shop_table{border:none;border-radius:16px;overflow:hidden;background:#fff;border-collapse:collapse;margin:0 0 24px}
.woocommerce table.shop_table th{background:#10131A;color:#F3F4F6;font-size:12px;letter-spacing:.06em;text-transform:uppercase;padding:14px 16px;border:none;text-align:left}
.woocommerce table.shop_table td{padding:16px;border-top:1px solid rgba(16,19,26,.08);font-size:14px;vertical-align:middle}
.woocommerce table.shop_table img{width:64px;border-radius:10px}
.woocommerce a.remove{color:#DC2626;font-weight:400;line-height:1}
.woocommerce a.remove:hover{background:#DC2626;color:#fff}

.woocommerce .cart-collaterals .cart_totals{width:100%;float:none}
.woocommerce .cart-collaterals{width:100%}
.woocommerce .cart_totals h2{font-size:20px;margin:0 0 14px}
.woocommerce .cart_totals table.shop_table th{background:transparent;color:#10131A;text-transform:none;letter-spacing:0;font-size:14px}

.woocommerce .button,
.woocommerce input.button,
.woocommerce a.button,
.woocommerce button.button{border:none;background:#10131A;color:#F3F4F6;border-radius:10px;height:48px;line-height:48px;padding:0 22px;font-size:14px;font-weight:500;transition:opacity .18s ease}
.woocommerce .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover{background:#10131A;color:#F3F4F6;opacity:.88}
.woocommerce .button.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt{background:#2952E3;color:#fff}
.woocommerce .button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover{background:#2952E3;color:#fff;opacity:.9}
.woocommerce .checkout-button.button.alt{height:56px;line-height:56px;font-size:16px;display:block;text-align:center}

/* --- Checkout --- */
.woocommerce-checkout .col2-set{display:grid;grid-template-columns:1fr;gap:0}
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2{width:auto;float:none}
.woocommerce-checkout h3{font-size:20px;margin:0 0 16px}
.woocommerce form .form-row{padding:0;margin:0 0 14px;display:block}
.woocommerce form .form-row label{font-size:13px;font-weight:500;color:#374151;display:block;margin-bottom:6px}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .select2-container .select2-selection--single{height:50px;border:1px solid rgba(16,19,26,.18);border-radius:10px;padding:0 14px;font-size:15px;width:100%;background:#fff;color:#10131A;font-family:inherit}
.woocommerce form .form-row textarea{height:110px;padding:12px 14px;line-height:1.5}
.woocommerce .select2-container .select2-selection--single .select2-selection__rendered{line-height:48px;padding:0}
.woocommerce .select2-container .select2-selection--single .select2-selection__arrow{height:48px}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus{outline:none;border-color:#2952E3}

.woocommerce-checkout #payment{background:#fff;border-radius:16px;padding:clamp(16px,4vw,24px)}
.woocommerce-checkout #payment ul.payment_methods{border:none;padding:0;margin:0 0 16px}
.woocommerce-checkout #payment div.payment_box{background:#F3F4F6;border-radius:10px;font-size:13px;line-height:1.6;color:#6B7280}
.woocommerce-checkout #payment div.payment_box::before{display:none}
.woocommerce-checkout #payment div.form-row{padding:0}

.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-error{border-top:none;border-left:4px solid #2952E3;background:#fff;border-radius:10px;font-size:14px;padding:16px 18px;margin:0 0 20px;color:#374151;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.woocommerce .woocommerce-info::before,
.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-error::before{display:none}
.woocommerce .woocommerce-error{border-left-color:#DC2626}
.woocommerce .woocommerce-message{border-left-color:#16A34A}

.woocommerce-order-received .woocommerce-order,
.woocommerce-order .woocommerce-order-overview{background:#fff;border-radius:16px;padding:clamp(18px,4vw,26px)}
.woocommerce ul.order_details{display:flex;flex-wrap:wrap;gap:20px;list-style:none;padding:0;margin:0 0 20px}
.woocommerce ul.order_details li{border:none;padding:0;margin:0;float:none;font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#9CA3AF}
.woocommerce ul.order_details li strong{display:block;font-size:16px;text-transform:none;letter-spacing:0;color:#10131A;margin-top:4px}

.woocommerce nav.woocommerce-pagination ul{border:none;display:flex;gap:8px;justify-content:center;margin-top:28px}
.woocommerce nav.woocommerce-pagination ul li{border:none;margin:0}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span{border:1px solid rgba(16,19,26,.16);background:#fff;border-radius:10px;min-width:44px;height:44px;line-height:42px;padding:0 12px;font-size:14px;color:#10131A}
.woocommerce nav.woocommerce-pagination ul li span.current{background:#10131A;border-color:#10131A;color:#F3F4F6}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering{font-size:13px;color:#6B7280;margin-bottom:18px}
.woocommerce .woocommerce-ordering select{height:44px;border:1px solid rgba(16,19,26,.16);border-radius:10px;padding:0 12px;background:#fff;font-family:inherit}

.brand-card .logo-fallback{font-size:18px;font-weight:700;letter-spacing:.04em;color:#10131A}

/* --- Responsive de la tienda --- */
@media (max-width:860px){
  .woocommerce div.product{grid-template-columns:1fr}
}
@media (max-width:768px){
  .woocommerce table.shop_table thead{display:none}
  .woocommerce table.shop_table tr{display:block;border-top:1px solid rgba(16,19,26,.08);padding:8px 0}
  .woocommerce table.shop_table td{display:flex;justify-content:space-between;align-items:center;gap:14px;border:none;padding:8px 16px}
  .woocommerce table.shop_table td::before{content:attr(data-title);font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#9CA3AF}
  .woocommerce table.shop_table td.product-remove::before{content:""}
  .woocommerce div.product form.cart .button{min-width:0}
  .woocommerce .woocommerce-ordering,
  .woocommerce .woocommerce-result-count{float:none;display:block}
}

/* --- Ajustes: en WordPress algunos controles son enlaces, no botones --- */
a.cart-btn,a.filter-btn,a.cart-open{text-decoration:none}
a.filter-btn{display:inline-flex;align-items:center;justify-content:center}
.bottom-bar a.cart-open{display:inline-flex;align-items:center;justify-content:center}
.bottom-bar .amount-wrap{font-size:20px;font-weight:700;line-height:1.1}
.bottom-bar .amount-wrap .amount{font-size:inherit;font-weight:inherit}

/* Boton flotante cuando WooCommerce no esta activo y no hay barra inferior */
.wsp-fab-solo{position:fixed;right:20px;bottom:20px;z-index:60;box-shadow:0 6px 20px rgba(16,19,26,.22)}

/* El menu de WordPress entrega enlaces sueltos: mismo look que el diseno */
.site-nav a{text-decoration:none}

/* --- Ficha de producto: botones y nota --- */
.woocommerce div.product form.cart .ficha-wsp{height:52px;display:inline-flex;align-items:center;justify-content:center;padding:0 22px;border-radius:10px;font-size:15px;flex:1;min-width:180px;text-decoration:none}
.woocommerce div.product .ficha-note{font-size:12px;color:#6B7280;margin-top:14px;line-height:1.6}
.woocommerce div.product .spec-card{grid-column:1/-1}
.woocommerce div.product a.back-link{grid-column:1/-1;display:inline-block;margin-bottom:14px;font-size:14px;color:#6B7280;text-decoration:none}
.woocommerce div.product a.back-link:hover{color:#10131A}

/* --- Header en movil: que el nombre no choque con los botones --- */
@media (max-width:640px){
  .brand-lockup{overflow:hidden}
  .brand-lockup > span{min-width:0;overflow:hidden;display:block}
  .brand-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .brand-tag{display:none}
  .cart-btn{padding:0 12px;gap:6px}
}
@media (max-width:400px){
  .header-row{gap:8px;padding:12px 14px}
  .cart-btn{font-size:0;padding:0 12px}
  .cart-btn .cart-count{font-size:12px}
}

/* =================================================================
   Correcciones sobre las hojas por defecto de WooCommerce
   ================================================================= */

/* CRITICO: woocommerce-layout.css aplica width:30.75% y float a li.product
   con mayor especificidad (.columns-N), lo que rompia la grilla del tema
   y dejaba las tarjetas en 76px. Se anula explicitamente. */
.woocommerce ul.products[class*="columns-"] li.product,
.woocommerce-page ul.products[class*="columns-"] li.product,
ul.products[class*="columns-"] li.product{
  width:auto!important;
  float:none!important;
  clear:none!important;
  margin:0!important;
}
.woocommerce ul.products[class*="columns-"]::before,
.woocommerce ul.products[class*="columns-"]::after,
.woocommerce-page ul.products[class*="columns-"]::before,
.woocommerce-page ul.products[class*="columns-"]::after{content:none!important;display:none!important}

/* Boton de WhatsApp de la ficha: va sobre fondo claro, no oscuro */
.woocommerce div.product form.cart a.ficha-wsp,
a.ficha-wsp{
  border:1px solid rgba(16,19,26,.2);
  background:#fff;
  color:#10131A;
  height:52px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 22px;
  border-radius:10px;
  font-size:15px;
  font-weight:500;
  flex:1;
  min-width:180px;
  text-decoration:none;
  transition:background .18s ease,border-color .18s ease;
}
a.ficha-wsp:hover{background:#10131A;border-color:#10131A;color:#F3F4F6}

/* "Volver al catalogo": no debe estirarse a todo el ancho de la grilla */
.woocommerce div.product a.back-link{justify-self:start;width:auto;padding:0}

/* La fila de filtros se desplaza en movil: que se note que hay mas */
.filters{-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity}
.filters .filter-btn{scroll-snap-align:start}
@media (max-width:768px){
  .filters{-webkit-mask-image:linear-gradient(to right,#000 88%,transparent 100%);mask-image:linear-gradient(to right,#000 88%,transparent 100%)}
}

/* La imagen ampliada de la galeria se salia del viewport */
.woocommerce div.product div.images{overflow:hidden;border-radius:16px}
.woocommerce div.product div.images img.zoomImg{display:none!important}

/* --- Ajustes finos reportados en la verificacion --- */

/* El boton de WhatsApp se partia en dos lineas en pantallas medianas:
   ahora no corta el texto y salta a su propia fila si no cabe */
.woocommerce div.product form.cart a.ficha-wsp,
a.ficha-wsp{white-space:nowrap;flex:1 1 auto;min-width:0}

/* "Actualizar carrito" deshabilitado quedaba texto oscuro sobre fondo oscuro */
.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled],
.woocommerce button.button.disabled{color:#F3F4F6!important;background:#10131A!important;opacity:.45;cursor:not-allowed}

/* La fila de filtros se desplaza: el degradado del borde derecho lo insinua
   en cualquier ancho, no solo en movil */
.filters{-webkit-mask-image:linear-gradient(to right,#000 90%,transparent 100%);mask-image:linear-gradient(to right,#000 90%,transparent 100%)}
@media (min-width:1100px){
  .filters{-webkit-mask-image:none;mask-image:none}
}
