/*
Theme Name: H&G Store
Theme URI: https://hygstore.cl
Author: H&G Store
Description: Tema WooCommerce a medida para H&G Store (importadora y comercializadora). Precios de Barrio Meiggs, carrito lateral, checkout con Flow/Webpay, seguimiento de pedidos y catálogo mayorista por WhatsApp.
Version: 1.0.0
Requires PHP: 7.4
Text Domain: hgstore
*/
:root{--navy:#0b1f5c;--ink:#141a4a;--red:#c8000a;--green:#1f9d55;--bg:#f1f2f7;--line:#e3e5ee;--mut:#5a607f;--gold:#d99a2b}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:var(--ink);background:#fff;font-size:15px;line-height:1.45}
body.hg-lock{overflow:hidden}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
button,input,select,textarea{font-family:inherit;font-size:inherit;color:inherit}
h1,h2,h3{margin:0;color:var(--ink)}
[hidden]{display:none!important}
.hg-wrap{max-width:1160px;margin:0 auto;padding:0 20px}
.hg-main{padding-bottom:56px}
.hg-h1{font-size:34px;font-weight:800;letter-spacing:-.5px;margin:28px 0 6px}
.hg-h2{font-size:20px;font-weight:600;margin:28px 0 14px}
.hg-sub{color:var(--mut);margin:0 0 22px}
.hg-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px}
/* buttons */
.hg-btn,.button,button.button,input.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:2px solid var(--navy);background:var(--navy);color:#fff;font-weight:700;border-radius:8px;padding:11px 20px;cursor:pointer;line-height:1.2;text-align:center}
.hg-btn:hover,.button:hover{opacity:.92}
.hg-btn-red{background:var(--red);border-color:var(--red)}
.hg-btn-green{background:var(--green);border-color:var(--green)}
.hg-btn-out{background:#fff;color:var(--navy)}
.hg-btn-block{display:flex;width:100%}
.hg-btn.loading{opacity:.6;pointer-events:none}
/* topbar + header */
.hg-top{background:var(--navy);color:#fff;font-size:12px;font-weight:700;text-align:center;padding:10px 12px;display:flex;gap:44px;justify-content:center;flex-wrap:wrap}
.hg-header{background:#fff}
.hg-hrow{display:flex;align-items:center;gap:22px;padding-top:14px;padding-bottom:14px}
.hg-logo img,.hg-logo svg{width:52px;height:52px;border-radius:50%;object-fit:cover}
.hg-search{flex:1;display:flex;position:relative;min-width:0}
.hg-search input[type=search]{flex:1;min-width:0;height:46px;border:2px solid var(--navy);border-right:0;border-radius:8px 0 0 8px;padding:0 14px;outline:0;background:#fff;-webkit-appearance:none}
.hg-search button{height:46px;border:2px solid var(--navy);background:var(--navy);color:#fff;font-weight:700;padding:0 26px;border-radius:0 8px 8px 0;cursor:pointer}
.hg-sres{position:absolute;left:0;right:0;top:50px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 14px 34px rgba(11,31,92,.18);z-index:60;overflow:hidden}
.hg-sres small{display:block;padding:14px 16px;font-size:11px;font-weight:700;letter-spacing:1px;color:var(--mut);border-bottom:1px solid var(--line)}
.hg-sr{display:flex;align-items:center;gap:14px;padding:11px 16px;border-bottom:1px solid var(--line)}
.hg-sr:hover{background:var(--bg)}
.hg-sr .th{width:40px;height:40px;border-radius:8px;background:var(--bg);overflow:hidden;flex:none}
.hg-sr .th img{width:100%;height:100%;object-fit:cover}
.hg-sr span.n{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hg-sr b{color:var(--red)}
.hg-sall{display:block;text-align:center;padding:14px;font-weight:700;color:var(--navy)}
.hg-hlinks{display:flex;gap:22px;font-weight:700;white-space:nowrap}
.hg-hlinks .c{color:var(--red)}
.hg-nav{background:var(--bg)}
.hg-nav .hg-wrap{display:flex;gap:26px;overflow-x:auto;scrollbar-width:none}
.hg-nav a{font-size:13px;font-weight:700;padding:15px 0;white-space:nowrap}
.hg-nav a.on{color:var(--red)}
/* hero */
.hg-hero{position:relative;background:linear-gradient(135deg,#0b1f5c,#142f84);overflow:hidden}
.hg-slides{display:flex;transition:transform .5s}
.hg-slide{min-width:100%;aspect-ratio:1280/400;display:flex;align-items:center;justify-content:center}
.hg-slide img{width:100%;height:100%;object-fit:cover}
.hg-ph{border:2px dashed rgba(255,255,255,.55);border-radius:12px;color:#cfd6f3;text-align:center;padding:18px 34px;font-size:12px}
.hg-ph b{display:block;font-size:14px;letter-spacing:1px;margin-bottom:4px;color:#e6eaff}
.hg-arrow{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;border:0;background:rgba(11,31,92,.65);color:#fff;font-size:20px;cursor:pointer}
.hg-arrow.l{left:14px}.hg-arrow.r{right:14px}
.hg-dots{position:absolute;bottom:16px;left:0;right:0;display:flex;gap:8px;justify-content:center}
.hg-dots i{width:34px;height:4px;border-radius:3px;background:rgba(255,255,255,.4)}
.hg-dots i.on{background:#fff}
/* features */
.hg-feats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:28px 0}
.hg-feat{display:flex;gap:14px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px;box-shadow:0 6px 18px rgba(11,31,92,.06)}
.hg-feat svg{width:26px;height:26px;stroke:var(--red);fill:none;stroke-width:2;flex:none}
.hg-feat b{display:block;font-size:14px}.hg-feat span{font-size:12px;color:var(--mut)}
.hg-sech{display:flex;justify-content:space-between;align-items:center;margin:34px 0 18px}
.hg-sech h2{font-size:26px;font-weight:800}
.hg-sech a{color:var(--red);font-weight:700;font-size:13px}
.hg-cats{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.hg-cat{text-align:center;border:1px solid var(--line);border-radius:12px;padding:20px 10px}
.hg-cat i{display:flex;align-items:center;justify-content:center;width:44px;height:44px;margin:0 auto 10px;border-radius:50%;background:var(--bg);color:var(--red);font-style:normal;font-weight:800;font-size:18px}
.hg-cat b{display:block;font-size:13px}.hg-cat span{font-size:12px;color:var(--mut)}
.hg-cat:hover{border-color:var(--navy)}
/* product grid + card */
.hg-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.hg-grid.g3{grid-template-columns:repeat(3,1fr)}
.hg-card-p{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff;display:flex;flex-direction:column}
.hg-pimg{position:relative;display:block;background:var(--bg);aspect-ratio:1/.76;overflow:hidden}
.hg-pimg img{width:100%;height:100%;object-fit:cover}
.hg-badge{position:absolute;top:10px;left:10px;z-index:2;background:var(--red);color:#fff;font-size:11px;font-weight:800;padding:3px 9px;border-radius:20px}
.hg-pbody{padding:12px;display:flex;flex-direction:column;gap:2px;flex:1}
.hg-pname{font-size:13px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:36px}
.hg-pold{font-size:11px;color:var(--mut);min-height:15px}
.hg-pprice{font-size:20px;font-weight:800;color:var(--red);margin-bottom:8px}
.hg-pbody .hg-btn{margin-top:auto;padding:10px;font-size:13px}
.hg-band{background:var(--navy);color:#fff;margin:46px 0 0;padding:34px 0}
.hg-band .hg-wrap{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}
.hg-band h2{color:#fff;font-size:26px;font-weight:800}.hg-band p{margin:6px 0 0;font-size:13px;color:#dfe5ff}
.hg-trust{background:var(--bg);padding:44px 0 50px}
.hg-trust h2{font-size:28px;font-weight:800}.hg-trust p{color:var(--mut);margin:6px 0 20px;font-size:13px}
.hg-soc{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.hg-soc a{border-radius:10px;padding:16px 16px;color:#fff;min-height:64px}
.hg-soc b{display:block;font-size:16px}.hg-soc span{font-size:10px;letter-spacing:.8px;text-transform:uppercase;opacity:.9}
.s-ig{background:linear-gradient(90deg,#f09433,#e6683c,#dc2743,#cc2366)}.s-tt{background:#000}.s-fb{background:#1877f2}.s-go{background:#4285f4}
/* footer */
.hg-foot{background:#0b1f5c;color:#fff;text-align:center;padding:36px 16px;font-size:12px}
.hg-foot b{display:block;font-size:16px;margin-bottom:8px}
.hg-foot p{margin:4px 0}
.hg-foot a{opacity:.95}
.hg-wa{position:fixed;right:20px;bottom:22px;z-index:70;background:var(--green);color:#fff;font-weight:700;padding:13px 20px;border-radius:30px;box-shadow:0 8px 22px rgba(0,0,0,.25)}
/* shop */
.hg-crumb{font-size:11px;color:var(--mut);margin:22px 0 4px}
.hg-crumb a:hover{color:var(--navy)}.hg-crumb b{color:var(--ink)}
.hg-shophead{display:flex;justify-content:space-between;align-items:flex-end}
.hg-shophead .n{font-size:12px;color:var(--mut)}
.hg-shop{display:grid;grid-template-columns:180px 1fr;gap:22px;margin-top:22px;align-items:start}
.hg-side .hg-card{padding:14px;margin-bottom:12px;border-radius:10px}
.hg-side h3{font-size:13px;margin-bottom:10px}
.hg-side ul{list-style:none;margin:0;padding:0}
.hg-side li a{display:flex;justify-content:space-between;font-size:12px;padding:6px 0}
.hg-side li a span{color:var(--mut)}
.hg-side li.on a{color:var(--red);font-weight:700}
.hg-prange{display:flex;gap:6px;align-items:center;margin-bottom:10px}
.hg-prange input{width:100%;min-width:0;height:34px;border:1px solid var(--line);border-radius:6px;padding:0 8px;font-size:12px}
.hg-side .hg-btn{padding:8px;font-size:12px;width:100%}
.hg-chk{display:flex;gap:8px;align-items:center;font-size:12px;padding:5px 0;cursor:pointer}
.hg-bar{display:flex;justify-content:space-between;align-items:center;background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:12px 16px;font-size:12px;color:var(--mut);margin-bottom:14px}
.hg-bar label{display:flex;align-items:center;gap:10px}
.hg-bar select{height:34px;border:1px solid var(--line);border-radius:6px;padding:0 10px;background:#fff;font-weight:600;color:var(--ink)}
.hg-pager{display:flex;gap:8px;justify-content:center;margin:28px 0 0;flex-wrap:wrap}
.hg-pager .page-numbers{min-width:34px;height:34px;display:flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:6px;font-size:12px;font-weight:700;padding:0 8px}
.hg-pager .current{background:var(--navy);color:#fff;border-color:var(--navy)}
.hg-empty{padding:50px 20px;text-align:center;color:var(--mut)}
/* product */
.hg-prod{display:grid;grid-template-columns:1fr 1fr;gap:40px;margin-top:14px}
.hg-gal-main{position:relative;border:1px solid var(--line);border-radius:14px;background:var(--bg);aspect-ratio:1/.95;overflow:hidden}
.hg-gal-main img{width:100%;height:100%;object-fit:contain}
.hg-thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}
.hg-thumbs button{border:2px solid transparent;border-radius:10px;background:var(--bg);padding:0;aspect-ratio:1/.7;overflow:hidden;cursor:pointer}
.hg-thumbs button.on{border-color:var(--navy)}
.hg-thumbs img{width:100%;height:100%;object-fit:cover}
.hg-pcat{font-size:11px;font-weight:800;color:var(--red);letter-spacing:.8px;text-transform:uppercase}
.hg-ptitle{font-size:30px;font-weight:800;margin:6px 0 8px;letter-spacing:-.4px}
.hg-pmeta{font-size:12px;color:var(--mut)}.hg-pmeta .ok{color:var(--green);font-weight:700}.hg-pmeta .no{color:var(--red);font-weight:700}
.hg-big{font-size:38px;font-weight:800;color:var(--red);margin:18px 0 2px;display:flex;align-items:baseline;gap:12px}
.hg-big s{font-size:14px;color:var(--mut);font-weight:500}
.hg-pnote{font-size:12px;color:var(--mut)}
.hg-whole{display:flex;justify-content:space-between;align-items:center;background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:14px 16px;margin:16px 0}
.hg-whole b{display:block;font-size:13px}.hg-whole span{font-size:11px;color:var(--mut)}.hg-whole strong{font-size:18px}
.hg-qlabel{font-size:12px;font-weight:700;margin-bottom:6px}
.hg-buy form.cart{display:flex;gap:12px;align-items:stretch;flex-wrap:wrap;margin:0}
.hg-buy form.cart .single_add_to_cart_button{flex:1;min-height:46px}
.hg-buy .variations{width:100%;margin-bottom:10px}.hg-buy .variations td,.hg-buy .variations th{padding:4px 0;text-align:left}
.hg-buy .variations select{height:40px;border:1px solid var(--line);border-radius:8px;padding:0 10px;width:100%}
.hg-buy .woocommerce-variation-add-to-cart{display:flex;gap:12px;width:100%}
.hg-buy .woocommerce-variation-add-to-cart .single_add_to_cart_button{flex:1}
.quantity{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#fff}
.quantity .qty{width:44px;border:0;text-align:center;font-weight:700;height:44px;-moz-appearance:textfield;background:transparent}
.quantity .qty::-webkit-outer-spin-button,.quantity .qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.hg-qm,.hg-qp{width:40px;height:44px;border:0;background:#fff;font-size:18px;font-weight:700;cursor:pointer}
.hg-wabtn{margin-top:10px}
.hg-rows{margin-top:18px;border-top:1px solid var(--line)}
.hg-rows div{display:flex;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}
.hg-rows svg{width:20px;height:20px;stroke:var(--red);fill:none;stroke-width:2;flex:none}
.hg-rows b{display:block;font-size:12px}.hg-rows span{font-size:11px;color:var(--mut)}
.hg-ptabs{display:flex;gap:26px;border-bottom:1px solid var(--line);margin:44px 0 20px;overflow-x:auto}
.hg-ptabs a{font-weight:700;font-size:13px;padding:0 0 12px;white-space:nowrap;border-bottom:2px solid transparent;margin-bottom:-1px}
.hg-ptabs a.on{color:var(--red);border-color:var(--red)}
.hg-desc{font-size:13px;color:var(--ink);max-width:820px}
.woocommerce-product-attributes{width:100%;max-width:720px;border:1px solid var(--line);border-radius:10px;border-collapse:separate;border-spacing:0;margin-top:20px;overflow:hidden;font-size:12px}
.woocommerce-product-attributes th{width:230px;text-align:left;padding:11px 14px;background:#fff}
.woocommerce-product-attributes td{padding:11px 14px;color:var(--mut)}
.woocommerce-product-attributes tr:nth-child(even) th,.woocommerce-product-attributes tr:nth-child(even) td{background:var(--bg)}
.woocommerce-product-attributes p{margin:0}
.hg-rev{display:grid;grid-template-columns:300px 1fr;gap:16px;margin-top:16px}
.hg-score b{font-size:44px;font-weight:800;display:block;line-height:1}
.hg-score small{display:block;font-size:11px;color:var(--mut);margin:10px 0}
.hg-stars i{font-style:normal;color:#cfd6ea;font-size:13px}.hg-stars i.on{color:var(--gold)}
.hg-brow{display:flex;align-items:center;gap:8px;font-size:11px;margin:5px 0}
.hg-brow em{font-style:normal;width:26px}.hg-brow u{flex:1;height:6px;background:#e6e9f4;border-radius:4px;overflow:hidden;text-decoration:none}
.hg-brow u i{display:block;height:100%;background:var(--gold)}
.hg-brow span{width:26px;text-align:right;color:var(--mut)}
.hg-rev .hg-btn{margin-top:16px;width:100%}
.hg-review{border:1px solid var(--line);border-radius:12px;padding:16px 18px;margin-bottom:12px;position:relative}
.hg-review b{font-size:13px}.hg-review em{font-style:normal;color:#15896a;font-size:11px;font-weight:700;margin-left:6px}
.hg-review p{margin:6px 0 10px;font-size:13px}
.hg-review .hg-stars{position:absolute;right:18px;top:16px}
.hg-help{border:1px solid var(--line);background:#fff;border-radius:20px;padding:5px 14px;font-size:11px;font-weight:700;cursor:pointer}
.hg-ov2{position:fixed;inset:0;background:rgba(11,31,92,.55);z-index:90;display:flex;align-items:center;justify-content:center;padding:16px}
.hg-modal{background:#fff;border-radius:16px;padding:26px;width:100%;max-width:480px}
.hg-modal h3{font-size:20px;font-weight:800;display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}
.hg-x{width:36px;height:36px;border-radius:50%;border:0;background:var(--bg);font-size:18px;cursor:pointer}
.hg-pick{display:flex;gap:6px;margin-bottom:14px}
.hg-pick button{border:0;background:none;font-size:30px;color:#cfd6ea;cursor:pointer;padding:0}.hg-pick button.on{color:var(--gold)}
.hg-modal input[type=text],.hg-modal textarea,.hg-form input,.hg-form textarea{width:100%;border:1px solid var(--line);border-radius:8px;padding:12px 14px;margin-bottom:10px;background:#fff}
.hg-modal textarea{min-height:100px;resize:vertical}
.hg-msg{font-size:12px;margin:0 0 10px;color:var(--mut)}
.hg-acc3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:16px;align-items:start}
.hg-ai{border:1px solid var(--line);border-radius:12px;padding:18px}
.hg-ai button{display:flex;justify-content:space-between;width:100%;background:none;border:0;padding:0;font-weight:800;font-size:15px;cursor:pointer;text-align:left}
.hg-ai button i{color:var(--red);font-style:normal}
.hg-ai div{font-size:13px;color:var(--mut);margin-top:12px}
/* steps / tabs */
.hg-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:26px}
.hg-step{border:1px solid var(--line);border-radius:10px;padding:14px 18px;color:var(--mut);background:#fff}
.hg-step b{display:block;font-size:16px}.hg-step span{font-size:12px}
.hg-step.done{border:2px solid var(--green);color:var(--mut)}.hg-step.done b{color:var(--ink)}
.hg-step.on{background:var(--navy);border-color:var(--navy);color:#dfe5ff}.hg-step.on b{color:#fff}
.hg-cartgrid,.hg-cogrid,.hg-tygrid{display:grid;grid-template-columns:1fr 360px;gap:24px;align-items:start}
.hg-crow{display:flex;gap:16px;align-items:center;padding:16px 0;border-bottom:1px solid var(--line)}
.hg-crow:first-child{padding-top:0}.hg-crow:last-child{border-bottom:0;padding-bottom:0}
.hg-cimg{width:84px;height:84px;border-radius:8px;background:var(--bg);overflow:hidden;flex:none}
.hg-cimg img{width:100%;height:100%;object-fit:cover}
.hg-cinfo{flex:1;min-width:0}.hg-cinfo b{display:block;font-size:15px}.hg-cinfo small{color:var(--mut);display:block;margin:2px 0 8px}
.hg-cinfo .quantity .qty{height:30px;width:34px}.hg-cinfo .hg-qm,.hg-cinfo .hg-qp{height:30px;width:30px;font-size:15px}
.hg-cprice{text-align:right}.hg-cprice b{display:block;color:var(--red);font-size:20px;font-weight:800}
.hg-cprice a{font-size:11px;text-decoration:underline;color:var(--mut)}
.hg-sum h3{font-size:20px;font-weight:800;margin-bottom:14px}
.hg-sum .lbl{font-size:12px;font-weight:700;margin-bottom:6px}
.hg-coupon{display:flex;gap:8px;margin-bottom:14px}
.hg-coupon input{flex:1;min-width:0;height:44px;border:1px solid var(--line);border-radius:8px;padding:0 12px}
.hg-coupon .hg-btn{background:#fff;color:var(--navy)}
.hg-line{display:flex;justify-content:space-between;padding:6px 0;font-size:14px}
.hg-line.t{border-top:1px solid var(--line);margin-top:8px;padding-top:14px;font-size:20px;font-weight:800}
.hg-line.t b:last-child{color:var(--red)}
.hg-line a{color:var(--red);font-size:11px;margin-left:6px;text-decoration:underline}
.hg-sum .hg-btn{width:100%;margin-top:12px;padding:14px;font-size:16px}
.hg-mini{display:grid;grid-template-columns:1fr 1fr;gap:8px 20px;margin-top:16px;font-size:12px;color:var(--mut)}
/* checkout */
.hg-co form.checkout .form-row{margin:0 0 12px;padding:0;display:block;width:100%}
.hg-co .hg-r2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.hg-co .form-row label{display:block;font-size:11px;color:var(--mut);margin-bottom:3px}
.hg-co input.input-text,.hg-co select,.hg-co textarea,.hg-co .select2-selection{width:100%;height:50px;border:1px solid #b7bccd;border-radius:3px;padding:0 14px;background:#fff;color:var(--ink)}
.hg-co textarea{height:90px;padding:12px 14px}
.hg-co .select2-container{width:100%!important}.hg-co .select2-selection__rendered{line-height:48px!important}.hg-co .select2-selection__arrow{height:48px!important}
.hg-note{font-size:12px;color:var(--ink);margin:-4px 0 14px}
.hg-check{display:flex;gap:10px;align-items:center;font-size:12px;font-weight:700;margin:0 0 14px;cursor:pointer}
.hg-link{font-size:12px;color:var(--navy);margin:-2px 0 12px;display:inline-block;cursor:pointer}
.wc_payment_methods{list-style:none;margin:0 0 16px;padding:0}
.wc_payment_methods li{border:1px solid var(--line);border-radius:3px;padding:16px;margin-bottom:8px}
.wc_payment_methods li:has(input:checked){border:2px solid var(--navy)}
.wc_payment_methods label{font-size:13px;font-weight:600;cursor:pointer}
.wc_payment_methods img{display:inline-block;max-height:26px;vertical-align:middle;margin-left:8px}
.payment_box{font-size:12px;color:var(--mut);margin-top:10px}
.hg-co #place_order{width:100%;border-radius:0;border-color:#2e333a;background:#2e333a;padding:18px;font-weight:600;font-size:13px}
.hg-terms{font-size:12px;margin:14px 0 18px;padding-top:14px;border-top:1px solid var(--line)}
.hg-terms a{text-decoration:underline}
.hg-secure{margin-top:36px;font-size:15px}
.hg-ro-item{display:flex;gap:14px;padding:16px 0;border-bottom:1px solid var(--line)}
.hg-ro-img{position:relative;width:56px;height:56px;flex:none}
.hg-ro-img img{width:56px;height:56px;object-fit:cover;border-radius:6px;background:var(--bg)}
.hg-ro-img em{position:absolute;top:-8px;right:-8px;width:22px;height:22px;border-radius:50%;background:var(--navy);color:#fff;font-size:11px;font-style:normal;font-weight:700;display:flex;align-items:center;justify-content:center}
.hg-ro-info{flex:1;font-size:13px}.hg-ro-info b{display:block;font-size:13px;font-weight:600}.hg-ro-info s{font-size:11px;color:var(--mut)}.hg-ro-info .p{color:var(--red);font-size:20px;font-weight:800;display:block}
.hg-ro-info small{display:block;font-size:11px;color:var(--mut)}
.hg-ro-price{text-align:right}.hg-ro-price b{color:var(--red);font-size:22px}
.hg-save{display:inline-block;background:var(--bg);font-size:10px;padding:2px 8px;border-radius:3px;margin-top:6px;color:var(--ink)}
.hg-coup summary{cursor:pointer;padding:16px 0;font-size:13px;list-style:none;display:flex;justify-content:space-between;border-bottom:1px solid var(--line)}
.hg-coup summary::after{content:"⌄"}
.hg-coup .hg-coupon{margin:12px 0 0}
.hg-ro .hg-line{padding:10px 0;font-size:12px}.hg-ro .hg-line.t{font-size:20px;font-weight:400}.hg-ro .hg-line.t b{font-weight:400;color:var(--ink)}
.hg-ro .hg-line.t{border-top:1px solid var(--line);margin-top:0}
.hg-co-aside{border:1px solid var(--line);padding:0 16px}
.hg-co-aside h3{font-size:20px;font-weight:600;padding:18px 0 0}
/* thank you */
.hg-ok{display:flex;gap:16px;align-items:center}
.hg-okc{width:52px;height:52px;border-radius:50%;background:var(--green);color:#fff;display:flex;align-items:center;justify-content:center;font-size:26px;flex:none}
.hg-ok h2{font-size:24px;font-weight:800}.hg-ok p{margin:4px 0 0;color:var(--mut);font-size:13px}
.hg-meta4{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;border-top:1px solid var(--line);margin-top:18px;padding-top:16px;font-size:12px;color:var(--mut)}
.hg-meta4 b{display:block;color:var(--ink);font-size:17px;margin-top:3px}
.hg-2c{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}
.hg-2c h3{font-size:16px;margin-bottom:10px}.hg-2c p{margin:0;font-size:13px;line-height:1.7}
.hg-next li{display:flex;gap:14px;list-style:none;margin-bottom:12px}
.hg-next ul{padding:0;margin:0 0 14px}
.hg-next li i{width:30px;height:30px;border-radius:50%;background:var(--navy);color:#fff;font-style:normal;font-weight:700;display:flex;align-items:center;justify-content:center;flex:none}
.hg-next li b{display:block;font-size:13px}.hg-next li span{font-size:11px;color:var(--mut)}
.hg-help-card{background:var(--bg);border:1px solid var(--line);border-radius:12px;padding:18px;margin-top:16px}
.hg-help-card p{font-size:12px;color:var(--mut);margin:4px 0 12px}
.hg-btns{display:flex;gap:12px;flex-wrap:wrap}.hg-btns .hg-btn{padding:10px 24px;font-size:13px}
/* tabs cards (seguimiento/cuenta/contacto) */
.hg-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:26px}
.hg-tab{border:1px solid var(--line);border-radius:10px;padding:14px 18px;color:var(--mut)}
.hg-tab b{display:block;font-size:16px}.hg-tab span{font-size:12px}
.hg-tab.on{background:var(--navy);border-color:var(--navy);color:#dfe5ff}.hg-tab.on b{color:#fff}
.hg-trk{display:grid;grid-template-columns:1fr 1fr auto;gap:16px;align-items:end}
.hg-trk label{display:block;font-size:12px;font-weight:700;margin-bottom:6px}
.hg-trk input{width:100%;height:46px;border:1px solid var(--line);border-radius:6px;padding:0 14px}
.hg-pill{display:inline-block;font-size:11px;font-weight:800;padding:5px 12px;border-radius:20px;background:#fdecc8;color:#8a5a00}
.hg-pill.g{background:#dff5e8;color:var(--green)}.hg-pill.b{background:#e2e8fb;color:var(--navy)}.hg-pill.x{background:#eee;color:#666}
.hg-tl{margin-top:8px}
.hg-ti{display:flex;gap:16px;position:relative;padding-bottom:22px}
.hg-ti:last-child{padding-bottom:0}
.hg-ti:not(:last-child)::before{content:"";position:absolute;left:14px;top:30px;bottom:-2px;width:2px;background:#d8dbe6}
.hg-ti.done:not(:last-child)::before{background:var(--green)}
.hg-dot{width:30px;height:30px;border-radius:50%;border:2px solid #d0d4e2;background:#fff;color:var(--mut);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:13px;flex:none}
.hg-ti.done .hg-dot{background:var(--green);border-color:var(--green);color:#fff}
.hg-ti.cur .hg-dot{border-color:var(--red);color:var(--red)}
.hg-ti b{display:block;font-size:16px}.hg-ti.todo b{color:var(--mut)}
.hg-ti span{font-size:12px;color:var(--mut)}
.hg-ti time{margin-left:auto;font-size:12px;color:var(--mut);white-space:nowrap}
.hg-trk-grid{display:grid;grid-template-columns:1fr 360px;gap:24px;align-items:start;margin-top:24px}
.hg-ttop{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.hg-ttop h2{font-size:22px;font-weight:800}
/* account */
.hg-acc{display:grid;grid-template-columns:230px 1fr;gap:24px;align-items:start}
.hg-accnav a{display:block;font-weight:700;padding:12px 14px;border-radius:10px;margin-bottom:4px}
.hg-accnav a.on{background:var(--navy);color:#fff}.hg-accnav a.out{color:var(--red)}
.hg-card+.hg-card{margin-top:16px}
.hg-card h3{font-size:19px;font-weight:800;margin-bottom:12px}
.hg-tbl{width:100%;border-collapse:collapse;font-size:13px}
.hg-tbl th{text-align:left;font-size:11px;color:var(--mut);padding:8px 8px}
.hg-tbl td{padding:14px 8px;border-top:1px solid var(--line)}
.hg-tbl td:last-child{text-align:right}.hg-tbl td a{color:var(--red);font-weight:700}
.hg-form label{display:block;font-size:12px;font-weight:700;margin-bottom:5px}
.hg-form .g2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.hg-form input{height:46px}
.hg-form textarea{height:110px}
/* contact */
.hg-c3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:22px}
.hg-c3 h3{font-size:17px;font-weight:800;margin-bottom:6px}.hg-c3 p{margin:0 0 4px;color:var(--mut);font-size:13px}
.hg-c3 .hg-btn{width:100%;margin-top:12px}
.hg-cform{display:grid;grid-template-columns:1fr 360px;gap:24px;margin-top:22px;align-items:start}
.hg-pills{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px}
.hg-pills a{border:1px solid var(--line);border-radius:30px;padding:9px 16px;font-size:12px;font-weight:700}
.hg-pills a:hover{border-color:var(--navy)}
/* drawer */
#hg-ov{position:fixed;inset:0;background:rgba(0,0,0,.45);opacity:0;pointer-events:none;transition:.25s;z-index:99}
#hg-ov.on{opacity:1;pointer-events:auto}
#hg-drawer{position:fixed;top:0;right:0;bottom:0;width:380px;max-width:92vw;background:#fff;z-index:100;transform:translateX(100%);transition:transform .3s;display:flex;flex-direction:column}
#hg-drawer.open{transform:none}
.hg-drawer-inner{display:flex;flex-direction:column;height:100%}
.hg-dhead{background:var(--navy);color:#fff;display:flex;justify-content:space-between;align-items:center;padding:18px 20px}
.hg-dhead b{font-size:17px}.hg-dhead .hg-x{background:rgba(255,255,255,.18);color:#fff}
.hg-dbody{flex:1;overflow:auto;padding:6px 20px}
.hg-di{display:flex;gap:14px;padding:18px 0;border-bottom:1px solid var(--line)}
.hg-di .hg-cimg{width:68px;height:68px}
.hg-di .n{font-size:14px}.hg-di .p{color:var(--red);font-weight:800;font-size:15px;display:block;margin:2px 0 8px}
.hg-dq{display:inline-flex;align-items:center;gap:0}
.hg-dq button{width:32px;height:32px;border:1px solid var(--line);background:#fff;border-radius:6px;font-size:16px;font-weight:700;cursor:pointer}
.hg-dq span{width:44px;text-align:center;font-weight:700}
.hg-di .rm{margin-left:auto;align-self:flex-end;font-size:12px;color:var(--mut);text-decoration:underline;background:none;border:0;cursor:pointer}
.hg-dfoot{border-top:1px solid var(--line);padding:18px 20px}
.hg-dfoot .hg-line{font-size:16px;font-weight:700;padding:0 0 14px}
.hg-dfoot .hg-btn{width:100%;margin-bottom:10px;padding:14px}
.hg-demp{padding:50px 0;text-align:center;color:var(--mut)}
/* woo generic */
.woocommerce-message,.woocommerce-error,.woocommerce-info{list-style:none;margin:18px 0 0;padding:14px 18px;border-radius:10px;background:var(--bg);border-left:4px solid var(--navy);font-size:13px}
.woocommerce-error{border-color:var(--red);background:#fdeaea}.woocommerce-message{border-color:var(--green)}
.woocommerce-message .button,.woocommerce-info .button{float:right;padding:6px 14px}
.woocommerce form .form-row{margin-bottom:12px}
.woocommerce form .form-row label{display:block;font-size:12px;font-weight:700;margin-bottom:4px}
.woocommerce form .input-text,.woocommerce form select{width:100%;height:46px;border:1px solid var(--line);border-radius:8px;padding:0 12px;background:#fff}
.u-columns{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.u-columns .col-1,.u-columns .col-2{float:none;width:auto}
.woocommerce-form-login,.woocommerce-form-register{border:1px solid var(--line);border-radius:14px;padding:20px}
.added_to_cart{display:none!important}
@media(max-width:980px){
.hg-feats,.hg-soc{grid-template-columns:1fr 1fr}.hg-cats{grid-template-columns:repeat(3,1fr)}
.hg-grid,.hg-grid.g3{grid-template-columns:repeat(2,1fr)}
.hg-shop,.hg-prod,.hg-cartgrid,.hg-cogrid,.hg-tygrid,.hg-trk-grid,.hg-acc,.hg-cform,.hg-rev{grid-template-columns:1fr}
.hg-acc3,.hg-c3,.u-columns{grid-template-columns:1fr}
.hg-side{display:grid;grid-template-columns:1fr 1fr;gap:12px}.hg-side .hg-card{margin:0}
}
@media(max-width:640px){
.hg-top{gap:4px 18px;font-size:11px}
.hg-hrow{flex-wrap:wrap;gap:12px}.hg-search{order:3;flex-basis:100%}.hg-hlinks{margin-left:auto}
.hg-h1{font-size:26px}.hg-steps,.hg-tabs{grid-template-columns:1fr}.hg-trk{grid-template-columns:1fr}
.hg-meta4{grid-template-columns:1fr 1fr}.hg-2c,.hg-form .g2{grid-template-columns:1fr}
.hg-feats,.hg-soc{grid-template-columns:1fr}.hg-cats{grid-template-columns:1fr 1fr}
.hg-side{grid-template-columns:1fr}.hg-co .hg-r2{grid-template-columns:1fr}
.hg-big{font-size:32px}.hg-crow{flex-wrap:wrap}.hg-ti time{display:none}
}
