body.eme-sw-woo *,body.eme-sw-woo *::before,body.eme-sw-woo *::after{box-sizing:border-box}
body.eme-sw-woo a{color:inherit;text-decoration:none}
body.eme-sw-woo img{max-width:100%;display:block}
.shop-search-bar{background:#fff;border-bottom:1px solid var(--eme-border);padding:16px 28px}.shop-search-inner,.shop-wrap,.wc-notices-wrapper{max-width:1640px;margin:0 auto}.shop-search-inner{display:flex;align-items:center;gap:12px}.eme-search-form{width:100%;display:flex}.search-box{flex:1;display:flex;align-items:center;gap:12px;background:var(--eme-bg);border:2px solid var(--eme-border);border-radius:14px;padding:0 18px;height:54px;transition:border-color .2s}.search-box:focus-within{border-color:var(--eme-ink)}.search-box svg{color:var(--eme-muted2);flex:0 0 auto}.search-box input{flex:1;border:none!important;background:transparent!important;font-size:15px;font-family:inherit;outline:none;color:var(--eme-ink);min-height:0!important;padding:0!important}.search-box input::placeholder{color:var(--eme-muted2)}.wc-notices-wrapper{padding:0 28px}.shop-wrap{padding:32px 28px 88px;display:grid;grid-template-columns:282px minmax(0,1fr);gap:34px;align-items:start}.sidebar{min-width:0}.sidebar-sticky{position:sticky;top:104px}body.admin-bar .sidebar-sticky{top:136px}.sidebar-section{background:#fff;border:1px solid var(--eme-border);border-radius:22px;padding:20px;margin-bottom:14px}.sidebar-title{font-family:'Archivo',sans-serif;font-size:15px;font-weight:900;letter-spacing:.01em;margin-bottom:14px;display:flex;align-items:center;justify-content:space-between;gap:12px}.sidebar-title a{font-size:12px;font-weight:800;color:var(--eme-muted);transition:color .2s}.sidebar-title a:hover{color:var(--eme-red)}.filter-list{display:flex;flex-direction:column;gap:4px}.filter-link{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:12px;font-size:14px;font-weight:700;color:var(--eme-muted);transition:all .15s;cursor:pointer}.filter-link:hover{background:var(--eme-soft);color:var(--eme-ink);padding-left:16px}.filter-link.active{background:var(--eme-ink);color:#fff;font-weight:900}.filter-link .filter-label{flex:1;min-width:0;line-height:1.38;overflow-wrap:anywhere}.filter-link .cnt{font-size:11px;color:var(--eme-muted2);background:var(--eme-soft);padding:4px 8px;border-radius:999px;flex-shrink:0;margin-top:0}.filter-link.active .cnt{background:rgba(255,255,255,.15);color:rgba(255,255,255,.86)}.child-link{padding-left:28px;font-size:13px}.filter-check{display:flex;flex-direction:column;gap:8px}.filter-check label,.price-tag{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:600;color:var(--eme-muted);cursor:pointer;padding:7px 4px}.filter-check label:hover,.price-tag:hover{color:var(--eme-ink)}.filter-check input[type=checkbox],.price-tag input[type=radio]{width:16px;height:16px;accent-color:var(--eme-ink);cursor:pointer;flex-shrink:0}.price-tags{display:flex;flex-direction:column;gap:2px}.shop-main{min-width:0}.shop-heading{margin-bottom:18px}.breadcrumb{font-size:12px;color:var(--eme-muted);display:flex;align-items:center;gap:6px;margin-bottom:10px;flex-wrap:wrap}.breadcrumb a:hover{color:var(--eme-red)}.breadcrumb-sep{color:var(--eme-muted2)}.shop-title{font-family:'Archivo',sans-serif;font-size:clamp(34px,3.4vw,56px);font-weight:900;letter-spacing:-.03em;line-height:1.02;margin:0}.shop-subtitle{font-size:17px;color:var(--eme-muted);margin-top:10px;max-width:820px;line-height:1.45}.cat-pills{display:flex;gap:10px;flex-wrap:nowrap;overflow-x:auto;padding-bottom:3px;margin:18px 0 24px;scrollbar-width:none}.cat-pills::-webkit-scrollbar{display:none}.cat-pill{padding:10px 18px;border-radius:999px;background:#fff;border:2px solid var(--eme-border);font-size:14px;font-weight:900;white-space:nowrap;transition:all .2s;display:flex;align-items:center;gap:8px;flex-shrink:0}.cat-pill:hover,.cat-pill.active{background:var(--eme-ink);color:#fff;border-color:var(--eme-ink)}.controls-bar{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;gap:14px;flex-wrap:wrap}.results-count{font-size:16px;color:var(--eme-muted);font-weight:600}.results-count strong{color:var(--eme-ink)}.controls-right{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}.view-btns{display:flex;gap:6px}.view-btn{width:42px;height:42px;border-radius:11px;border:2px solid var(--eme-border);background:#fff;display:flex;align-items:center;justify-content:center;transition:all .2s;color:var(--eme-muted);font-weight:900}.view-btn.active,.view-btn:hover{background:var(--eme-ink);border-color:var(--eme-ink);color:#fff}.sort-select{padding:11px 40px 11px 16px!important;border:2px solid var(--eme-border)!important;border-radius:13px!important;background:#fff!important;appearance:auto!important;font-size:14px!important;font-family:inherit!important;font-weight:800!important;color:var(--eme-ink)!important;outline:none!important;cursor:pointer!important;transition:border-color .2s!important;min-width:240px!important;height:48px!important}.sort-select:focus{border-color:var(--eme-ink)!important}.filter-mobile-btn{display:none;padding:13px 18px!important;background:var(--eme-ink)!important;color:#fff!important;border-radius:13px!important;font-size:14px!important;font-weight:900!important;align-items:center;justify-content:center;gap:8px;min-height:48px}.products-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch}.product-card{background:#fff;border:1px solid var(--eme-border);border-radius:22px;overflow:hidden;transition:all .3s cubic-bezier(.4,0,.2,1);display:flex;flex-direction:column;position:relative;min-width:0;height:100%;margin:0!important}.product-card:hover{transform:translateY(-5px);box-shadow:0 18px 44px rgba(0,0,0,.08);border-color:rgba(0,0,0,.22)}.card-img{position:relative;background:#fbfbfa;aspect-ratio:1.05;overflow:hidden;display:flex;align-items:center;justify-content:center;padding:24px 24px 18px}.card-img img{width:100%;height:100%;object-fit:contain;transition:transform .35s}.product-card:hover .card-img img{transform:scale(1.04)}.card-img.is-out{opacity:.72}.card-badges{position:absolute;top:14px;left:14px;display:flex;flex-direction:column;gap:6px;z-index:3}.badge{font-size:10px;font-weight:900;padding:6px 11px;border-radius:999px;letter-spacing:.04em;text-transform:uppercase;line-height:1}.b-sale{background:var(--eme-red);color:#fff}.b-new{background:var(--eme-ink);color:#fff}.b-out{background:#9b9b9b;color:#fff}.card-body{padding:18px 18px 20px;display:flex;flex-direction:column;gap:6px;flex:1}.card-cat{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:var(--eme-muted)}.card-title{font-size:17px;font-weight:800;line-height:1.34;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;transition:color .2s;min-height:68px}.product-card:hover .card-title{color:var(--eme-red)}.card-rating{display:flex;align-items:center;gap:5px;font-size:12px;color:var(--eme-muted);flex-wrap:wrap}.stars{color:var(--eme-red);font-size:11px;letter-spacing:1px}.card-price{font-family:'Archivo',sans-serif;font-size:20px;font-weight:900;color:var(--eme-ink);margin-top:4px;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.card-price del{font-size:13px;font-weight:600;color:var(--eme-muted2);opacity:1}.card-price ins{text-decoration:none}.card-installments{font-size:12px;color:var(--eme-muted);margin-bottom:10px;line-height:1.45}.card-installments strong{color:var(--eme-ink)}.card-btn{width:100%;background:var(--eme-ink)!important;color:#fff!important;padding:14px!important;border-radius:14px!important;font-size:13px!important;font-weight:900!important;text-transform:uppercase;letter-spacing:.03em;transition:all .25s;margin-top:auto;display:flex!important;align-items:center;justify-content:center;gap:10px;text-align:center;min-height:52px;line-height:1.15}.card-btn:hover{background:var(--eme-red)!important;transform:translateY(-1px)}.card-btn-disabled{background:var(--eme-soft)!important;color:var(--eme-muted)!important;pointer-events:none}.pagination{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:42px;flex-wrap:wrap}.pagination .page-numbers{min-width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;background:#fff;border:1px solid var(--eme-border);font-size:14px;font-weight:900;color:var(--eme-muted);transition:all .2s;padding:0 12px}.pagination .page-numbers.current,.pagination .page-numbers:hover{background:var(--eme-ink);color:#fff;border-color:var(--eme-ink)}.eme-empty-state{background:#fff;border:1px solid var(--eme-border);border-radius:22px;padding:32px;text-align:center}.eme-empty-state h2{margin:0 0 8px}.eme-empty-state p{color:var(--eme-muted)}.eme-empty-state .card-btn{max-width:240px;margin:18px auto 0}.sidebar-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.52);z-index:9998;opacity:0;transition:opacity .3s}.sidebar-overlay.open{display:block;opacity:1}.sidebar-drawer{position:fixed;top:0;left:0;bottom:0;width:360px;max-width:88vw;background:#fff;z-index:9999;transform:translateX(-100%);transition:transform .3s cubic-bezier(.4,0,.2,1);overflow-y:auto;padding:20px}.sidebar-drawer.open{transform:translateX(0)}.drawer-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;font-family:'Archivo',sans-serif;font-weight:900;font-size:20px}.drawer-close{width:38px;height:38px;background:var(--eme-soft)!important;color:var(--eme-ink)!important;border-radius:50%!important;display:flex;align-items:center;justify-content:center;font-size:22px!important;line-height:1}.drawer-apply{width:100%;min-height:52px;margin-top:8px;background:var(--eme-ink)!important;color:#fff!important;border-radius:14px!important;font-weight:900!important;text-transform:uppercase}.products-grid.is-list{grid-template-columns:1fr}.products-grid.is-list .product-card{display:grid;grid-template-columns:260px 1fr}.products-grid.is-list .card-img{aspect-ratio:auto;min-height:240px}.products-grid.is-list .card-title{min-height:0;-webkit-line-clamp:2}
@media(max-width:1500px){.shop-search-inner,.shop-wrap,.wc-notices-wrapper{max-width:1440px}.shop-wrap{grid-template-columns:270px minmax(0,1fr);gap:28px}.products-grid{gap:18px}}
@media(max-width:1280px){.shop-search-inner,.shop-wrap,.wc-notices-wrapper{max-width:1220px}.shop-wrap{grid-template-columns:260px minmax(0,1fr);gap:24px}.card-title{font-size:16px}}
@media(max-width:1120px){.shop-wrap{grid-template-columns:1fr;padding:24px 20px 72px}.sidebar{display:none}.filter-mobile-btn{display:flex}.products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.products-grid.is-list{grid-template-columns:1fr}.products-grid.is-list .product-card{display:flex}.products-grid.is-list .card-img{min-height:auto}.shop-search-bar{padding:14px 20px}.sidebar-drawer .child-link{padding-left:18px}}
@media(max-width:860px){.shop-search-bar{padding:12px 16px}.search-box{height:50px;padding:0 16px}.shop-wrap{padding:20px 16px 68px}.shop-title{font-size:clamp(30px,10vw,42px)}.shop-subtitle{font-size:16px}.controls-bar{align-items:stretch}.controls-right{width:100%;justify-content:space-between}.sort-select{min-width:200px!important;flex:1}.sidebar-drawer{width:340px;max-width:92vw}}
@media(max-width:640px){.shop-wrap{padding:18px 12px 64px}.cat-pills{margin:10px 0 18px}.cat-pill{padding:9px 14px;font-size:13px}.results-count{font-size:14px}.products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-card{border-radius:18px}.card-img{padding:12px 12px 8px;aspect-ratio:1}.card-badges{top:10px;left:10px}.badge{font-size:9px;padding:5px 9px}.card-body{padding:12px 12px 14px;gap:5px}.card-cat{font-size:9px}.card-title{font-size:13px;min-height:50px;-webkit-line-clamp:3;line-height:1.28}.card-rating{display:none}.card-price{font-size:16px;gap:6px}.card-price del{font-size:11px}.card-installments{font-size:10px;line-height:1.35;margin-bottom:8px}.card-btn{min-height:40px!important;padding:10px 7px!important;font-size:9px!important;gap:6px;border-radius:12px!important}.controls-right{flex-direction:column;align-items:stretch}.view-btns{display:none}.sort-select{width:100%!important;min-width:0!important}.filter-mobile-btn{width:100%;justify-content:center}.shop-search-inner,.wc-notices-wrapper{padding:0}.shop-search-bar{padding:10px 12px}}
@media(max-width:400px){.products-grid{gap:8px}.card-title{font-size:12px;min-height:47px}.card-price{font-size:15px}.card-installments{font-size:9px}.card-btn{font-size:8.5px!important;min-height:38px!important}.card-body{padding:10px}.badge{font-size:8px}.cat-pill{font-size:12px}}

/* === Wider shop archive V3 === */
body.eme-sw-shop-page .shop-search-inner,
body.eme-sw-shop-page .shop-wrap,
body.eme-sw-shop-page .wc-notices-wrapper{max-width:none!important;width:min(1720px,calc(100vw - 48px))!important;margin-left:auto!important;margin-right:auto!important}
body.eme-sw-shop-page .shop-wrap{grid-template-columns:300px minmax(0,1fr)!important;gap:34px!important;padding-left:0!important;padding-right:0!important}
body.eme-sw-shop-page .shop-search-bar{padding-left:0!important;padding-right:0!important}
body.eme-sw-shop-page .products-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px!important}
body.eme-sw-shop-page .sidebar-section{padding:22px!important}
body.eme-sw-shop-page .filter-link{font-size:14px!important;line-height:1.25!important;gap:10px!important}
body.eme-sw-shop-page .filter-label{min-width:0;overflow-wrap:anywhere}
body.eme-sw-shop-page .card-title{font-size:18px!important;min-height:76px!important;line-height:1.32!important}
body.eme-sw-shop-page .card-img{aspect-ratio:1.06!important;padding:26px!important}
@media(max-width:1400px){body.eme-sw-shop-page .shop-wrap{grid-template-columns:280px minmax(0,1fr)!important;gap:26px!important}body.eme-sw-shop-page .products-grid{gap:18px!important}body.eme-sw-shop-page .card-title{font-size:16px!important}}
@media(max-width:1120px){body.eme-sw-shop-page .shop-search-inner,body.eme-sw-shop-page .shop-wrap,body.eme-sw-shop-page .wc-notices-wrapper{width:calc(100vw - 32px)!important}body.eme-sw-shop-page .shop-wrap{grid-template-columns:1fr!important;padding-top:22px!important}body.eme-sw-shop-page .products-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}}
@media(max-width:640px){body.eme-sw-shop-page .shop-search-inner,body.eme-sw-shop-page .shop-wrap,body.eme-sw-shop-page .wc-notices-wrapper{width:calc(100vw - 20px)!important}body.eme-sw-shop-page .card-title{font-size:13px!important;min-height:50px!important}body.eme-sw-shop-page .card-img{padding:12px!important}body.eme-sw-shop-page .shop-title{font-size:36px!important}}

/* === EME V4: restore the shop distribution that worked === */
body.eme-sw-shop-page .shop-search-inner,
body.eme-sw-shop-page .shop-wrap,
body.eme-sw-shop-page .wc-notices-wrapper{
  max-width:1360px!important;
  width:calc(100vw - 72px)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
body.eme-sw-shop-page .shop-search-bar{padding-left:0!important;padding-right:0!important;}
body.eme-sw-shop-page .shop-wrap{
  display:grid!important;
  grid-template-columns:280px minmax(0,1fr)!important;
  gap:32px!important;
  padding-left:0!important;
  padding-right:0!important;
  overflow:visible!important;
}
body.eme-sw-shop-page .shop-main{min-width:0!important;overflow:hidden!important;}
body.eme-sw-shop-page .cat-pills{max-width:100%!important;overflow-x:auto!important;}
body.eme-sw-shop-page .controls-bar{width:100%!important;min-width:0!important;}
body.eme-sw-shop-page .products-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:18px!important;
  width:100%!important;
  max-width:100%!important;
}
body.eme-sw-shop-page .product-card{min-width:0!important;}
body.eme-sw-shop-page .card-img{aspect-ratio:1.02!important;padding:22px!important;}
body.eme-sw-shop-page .card-title{
  font-size:16px!important;
  min-height:64px!important;
  line-height:1.32!important;
  -webkit-line-clamp:3!important;
}
body.eme-sw-shop-page .card-price{font-size:19px!important;}
body.eme-sw-shop-page .sidebar-section{padding:20px!important;}
body.eme-sw-shop-page .filter-link{font-size:14px!important;line-height:1.28!important;}
body.eme-sw-shop-page .filter-link .filter-label{overflow-wrap:normal!important;word-break:normal!important;}
body.eme-sw-shop-page .sort-select{min-width:220px!important;}
@media(max-width:1240px){
  body.eme-sw-shop-page .shop-search-inner,
  body.eme-sw-shop-page .shop-wrap,
  body.eme-sw-shop-page .wc-notices-wrapper{width:calc(100vw - 44px)!important;}
  body.eme-sw-shop-page .shop-wrap{grid-template-columns:260px minmax(0,1fr)!important;gap:24px!important;}
  body.eme-sw-shop-page .products-grid{gap:14px!important;}
  body.eme-sw-shop-page .card-img{padding:18px!important;}
}
@media(max-width:1120px){
  body.eme-sw-shop-page .shop-search-inner,
  body.eme-sw-shop-page .shop-wrap,
  body.eme-sw-shop-page .wc-notices-wrapper{width:calc(100vw - 32px)!important;}
  body.eme-sw-shop-page .shop-wrap{grid-template-columns:1fr!important;padding-top:22px!important;}
  body.eme-sw-shop-page .sidebar{display:none!important;}
  body.eme-sw-shop-page .filter-mobile-btn{display:flex!important;}
  body.eme-sw-shop-page .products-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;}
}
@media(max-width:640px){
  body.eme-sw-shop-page .shop-search-inner,
  body.eme-sw-shop-page .shop-wrap,
  body.eme-sw-shop-page .wc-notices-wrapper{width:calc(100vw - 20px)!important;}
  body.eme-sw-shop-page .shop-wrap{padding-top:16px!important;}
  body.eme-sw-shop-page .shop-title{font-size:34px!important;}
  body.eme-sw-shop-page .card-img{padding:12px!important;}
  body.eme-sw-shop-page .card-title{font-size:13px!important;min-height:50px!important;}
  body.eme-sw-shop-page .card-price{font-size:16px!important;}
  body.eme-sw-shop-page .card-btn{font-size:9px!important;min-height:40px!important;}
}


/* === EME V6 desde V4: buscador predictivo + ajuste fino tienda === */
.shop-search-bar{background:#fff!important;border-bottom:1px solid var(--eme-border)!important;padding:14px 28px!important;position:relative;z-index:40;}
.shop-search-inner{max-width:1640px!important;margin:0 auto!important;}
.eme-search-form{position:relative!important;width:100%!important;display:block!important;}
.search-box{height:54px!important;background:#fff!important;border:2px solid var(--eme-border)!important;border-radius:18px!important;box-shadow:0 10px 28px rgba(0,0,0,.035)!important;overflow:hidden!important;}
.search-box input{height:100%!important;min-height:0!important;font-size:15px!important;}
.eme-live-search{display:none;position:absolute;left:0;right:0;top:calc(100% + 10px);z-index:9999;background:#fff;border:1px solid var(--eme-border);border-radius:18px;box-shadow:0 22px 60px rgba(0,0,0,.13);overflow:hidden;max-height:440px;}
.eme-live-search.is-open{display:block;}
.eme-live-search-head{padding:12px 14px;border-bottom:1px solid var(--eme-border);font-size:12px;font-weight:900;color:var(--eme-muted);text-transform:uppercase;letter-spacing:.08em;}
.eme-live-list{display:grid;gap:0;margin:0;padding:6px;}
.eme-live-item{display:grid;grid-template-columns:58px minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px;border-radius:14px;color:var(--eme-ink);text-decoration:none!important;}
.eme-live-item:hover{background:var(--eme-bg);}
.eme-live-item img{width:58px;height:58px;object-fit:contain;background:#fbfbfa;border-radius:12px;}
.eme-live-title{font-weight:900;font-size:14px;line-height:1.25;display:block;}
.eme-live-cat{font-size:11px;color:var(--eme-muted);font-weight:800;text-transform:uppercase;letter-spacing:.06em;margin-top:4px;display:block;}
.eme-live-price{font-family:'Archivo',sans-serif;font-weight:900;font-size:15px;white-space:nowrap;color:var(--eme-ink);}
.eme-live-all,.eme-live-empty,.eme-live-loading{display:block;padding:14px 16px;text-align:center;font-weight:900;color:var(--eme-ink);}
.eme-live-all{border-top:1px solid var(--eme-border);background:#fbfbfa;}
.eme-live-all:hover{background:var(--eme-ink);color:#fff;}
@media(min-width:1181px){
  .shop-wrap{max-width:1640px!important;padding-left:18px!important;padding-right:28px!important;grid-template-columns:300px minmax(0,1fr)!important;gap:34px!important;}
  .shop-search-inner,.wc-notices-wrapper{max-width:1640px!important;}
}
@media(max-width:820px){
  .shop-search-bar{padding:10px 14px!important;}
  .search-box{height:50px!important;border-radius:15px!important;}
  .eme-live-search{position:fixed;left:12px;right:12px;top:150px;max-height:62vh;}
  .eme-live-item{grid-template-columns:50px minmax(0,1fr);}
  .eme-live-price{grid-column:2;font-size:13px;}
}

/* === EME V8: buscador limpio, sin rectángulo blanco y sin corte === */
body.eme-sw-shop-page .shop-search-bar{
  background:var(--eme-bg)!important;
  border-bottom:0!important;
  padding:16px 0 10px!important;
  position:relative!important;
  z-index:80!important;
  overflow:visible!important;
}
body.eme-sw-shop-page .shop-search-inner{
  max-width:1360px!important;
  width:calc(100vw - 72px)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding:0!important;
  overflow:visible!important;
}
body.eme-sw-shop-page .eme-search-form{
  position:relative!important;
  width:100%!important;
  display:block!important;
  overflow:visible!important;
}
body.eme-sw-shop-page .search-box{
  height:50px!important;
  background:#fff!important;
  border:1px solid var(--eme-border)!important;
  border-radius:18px!important;
  box-shadow:none!important;
  padding:0 16px!important;
  overflow:hidden!important;
}
body.eme-sw-shop-page .search-box:focus-within{
  border-color:var(--eme-ink)!important;
  box-shadow:0 10px 25px rgba(0,0,0,.055)!important;
}
body.eme-sw-shop-page .search-box input{
  height:100%!important;
  min-height:0!important;
  line-height:50px!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
  background:transparent!important;
}
body.eme-sw-shop-page .search-box input:focus{
  outline:none!important;
  border:0!important;
  box-shadow:none!important;
}
body.eme-sw-shop-page .eme-live-search{
  left:0!important;
  right:0!important;
  top:calc(100% + 10px)!important;
  max-height:430px!important;
  overflow:auto!important;
  border-radius:18px!important;
  z-index:99999!important;
}
body.eme-sw-shop-page .eme-live-item{
  grid-template-columns:58px minmax(0,1fr) minmax(96px,132px)!important;
  min-width:0!important;
}
body.eme-sw-shop-page .eme-live-title,
body.eme-sw-shop-page .eme-live-cat{
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
body.eme-sw-shop-page .eme-live-price{
  text-align:right!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  max-width:132px!important;
}
@media(max-width:820px){
  body.eme-sw-shop-page .shop-search-bar{padding:10px 12px 8px!important;}
  body.eme-sw-shop-page .shop-search-inner{width:100%!important;max-width:none!important;}
  body.eme-sw-shop-page .eme-live-search{position:fixed!important;left:12px!important;right:12px!important;top:142px!important;max-height:62vh!important;}
  body.eme-sw-shop-page .eme-live-item{grid-template-columns:50px minmax(0,1fr)!important;}
  body.eme-sw-shop-page .eme-live-price{grid-column:2!important;text-align:left!important;max-width:none!important;font-size:13px!important;}
}


/* === EME V9: tienda centrada + pills sin corte === */
@media (min-width:1181px){
  body.eme-sw-shop-page .shop-search-inner,
  body.eme-sw-shop-page .shop-wrap,
  body.eme-sw-shop-page .wc-notices-wrapper{
    max-width:1480px!important;
    width:calc(100vw - 140px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  body.eme-sw-shop-page .shop-wrap{
    grid-template-columns:292px minmax(0,1fr)!important;
    gap:34px!important;
    padding-left:0!important;
    padding-right:0!important;
    overflow:visible!important;
  }
  body.eme-sw-shop-page .shop-main{
    min-width:0!important;
    overflow:visible!important;
  }
  body.eme-sw-shop-page .cat-pills{
    display:flex!important;
    flex-wrap:wrap!important;
    overflow:visible!important;
    max-width:100%!important;
    gap:10px!important;
    padding-right:0!important;
    margin-right:0!important;
  }
  body.eme-sw-shop-page .cat-pill{
    flex:0 0 auto!important;
  }
  body.eme-sw-shop-page .controls-bar{
    clear:both!important;
    margin-top:10px!important;
  }
}
@media (min-width:1181px) and (max-width:1500px){
  body.eme-sw-shop-page .shop-search-inner,
  body.eme-sw-shop-page .shop-wrap,
  body.eme-sw-shop-page .wc-notices-wrapper{
    width:calc(100vw - 84px)!important;
  }
  body.eme-sw-shop-page .shop-wrap{
    grid-template-columns:280px minmax(0,1fr)!important;
    gap:28px!important;
  }
}
@media (max-width:1180px){
  body.eme-sw-shop-page .cat-pills{
    flex-wrap:nowrap!important;
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch!important;
  }
}

/* === EME V10: volver a la distribución buena y centrar sin pegar a la derecha === */
@media (min-width:1181px){
  body.eme-sw-shop-page .shop-search-inner,
  body.eme-sw-shop-page .shop-wrap,
  body.eme-sw-shop-page .wc-notices-wrapper{
    max-width:1360px!important;
    width:calc(100vw - 72px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  body.eme-sw-shop-page .shop-search-bar{
    padding-left:0!important;
    padding-right:0!important;
  }
  body.eme-sw-shop-page .shop-wrap{
    display:grid!important;
    grid-template-columns:280px minmax(0,1fr)!important;
    gap:32px!important;
    padding-left:0!important;
    padding-right:0!important;
    overflow:visible!important;
  }
  body.eme-sw-shop-page .shop-main{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:visible!important;
  }
  body.eme-sw-shop-page .cat-pills{
    display:flex!important;
    flex-wrap:wrap!important;
    overflow:visible!important;
    max-width:100%!important;
    gap:10px!important;
    padding-right:0!important;
    margin-right:0!important;
  }
  body.eme-sw-shop-page .cat-pill{
    flex:0 0 auto!important;
  }
  body.eme-sw-shop-page .controls-bar{
    width:100%!important;
    max-width:100%!important;
    clear:both!important;
    margin-top:8px!important;
  }
  body.eme-sw-shop-page .controls-right{
    max-width:100%!important;
  }
  body.eme-sw-shop-page .sort-select{
    min-width:210px!important;
    max-width:240px!important;
  }
  body.eme-sw-shop-page .products-grid{
    width:100%!important;
    max-width:100%!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:18px!important;
    overflow:visible!important;
  }
  body.eme-sw-shop-page .product-card{
    min-width:0!important;
  }
}
@media (min-width:1501px){
  body.eme-sw-shop-page .shop-search-inner,
  body.eme-sw-shop-page .shop-wrap,
  body.eme-sw-shop-page .wc-notices-wrapper{
    max-width:1420px!important;
    width:calc(100vw - 96px)!important;
  }
  body.eme-sw-shop-page .shop-wrap{
    grid-template-columns:286px minmax(0,1fr)!important;
    gap:32px!important;
  }
}
@media (min-width:1181px) and (max-width:1500px){
  body.eme-sw-shop-page .shop-search-inner,
  body.eme-sw-shop-page .shop-wrap,
  body.eme-sw-shop-page .wc-notices-wrapper{
    max-width:1360px!important;
    width:calc(100vw - 56px)!important;
  }
  body.eme-sw-shop-page .shop-wrap{
    grid-template-columns:270px minmax(0,1fr)!important;
    gap:26px!important;
  }
}

/* Buscador predictivo: precio firme y sin texto técnico */
body.eme-sw-shop-page .eme-live-item{
  grid-template-columns:58px minmax(0,1fr) 110px!important;
}
body.eme-sw-shop-page .eme-live-price{
  display:block!important;
  max-width:110px!important;
  text-align:right!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

/* === EME V11: centrado real del bloque tienda en desktop === */
@media (min-width:1181px){
  body.eme-sw-shop-page .shop-search-inner,
  body.eme-sw-shop-page .shop-wrap,
  body.eme-sw-shop-page .wc-notices-wrapper{
    width:min(1500px, calc(100vw - 120px))!important;
    max-width:1500px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  body.eme-sw-shop-page .shop-wrap{
    display:grid!important;
    grid-template-columns:292px minmax(0,1fr)!important;
    gap:32px!important;
    padding-left:0!important;
    padding-right:0!important;
    transform:none!important;
    overflow:visible!important;
  }
  body.eme-sw-shop-page .shop-main{
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
    overflow:visible!important;
  }
  body.eme-sw-shop-page .cat-pills{
    display:flex!important;
    flex-wrap:wrap!important;
    overflow:visible!important;
    max-width:100%!important;
    gap:10px!important;
    padding-right:0!important;
    margin-right:0!important;
  }
  body.eme-sw-shop-page .controls-bar{
    width:100%!important;
    max-width:100%!important;
    display:flex!important;
    justify-content:space-between!important;
    gap:16px!important;
    overflow:visible!important;
  }
  body.eme-sw-shop-page .controls-right{
    flex-shrink:0!important;
    max-width:min(420px,100%)!important;
  }
  body.eme-sw-shop-page .products-grid{
    width:100%!important;
    max-width:100%!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:18px!important;
    overflow:visible!important;
  }
  body.eme-sw-shop-page .product-card{min-width:0!important;}
}
@media (min-width:1181px) and (max-width:1600px){
  body.eme-sw-shop-page .shop-search-inner,
  body.eme-sw-shop-page .shop-wrap,
  body.eme-sw-shop-page .wc-notices-wrapper{
    width:min(1460px, calc(100vw - 80px))!important;
    max-width:1460px!important;
  }
  body.eme-sw-shop-page .shop-wrap{
    grid-template-columns:280px minmax(0,1fr)!important;
    gap:28px!important;
  }
}
@media (min-width:1601px){
  body.eme-sw-shop-page .shop-search-inner,
  body.eme-sw-shop-page .shop-wrap,
  body.eme-sw-shop-page .wc-notices-wrapper{
    width:min(1500px, calc(100vw - 120px))!important;
  }
}

/* === EME V12 FINAL: centrado real de TIENDA sobre Woostify ===
   El contenido de la tienda vive dentro de wrappers centrados de Woostify.
   Para evitar que un ancho mayor se desborde hacia la derecha, centramos
   visualmente contra el centro del viewport usando left:50% + translateX(-50%).
   No toca producto, carrito ni checkout. */
@media (min-width:1181px){
  body.eme-sw-shop-page .shop-search-bar{
    padding-left:0!important;
    padding-right:0!important;
    overflow:visible!important;
  }
  body.eme-sw-shop-page .shop-search-inner,
  body.eme-sw-shop-page .shop-wrap,
  body.eme-sw-shop-page .wc-notices-wrapper{
    position:relative!important;
    left:50%!important;
    transform:translateX(-50%)!important;
    width:min(1500px, calc(100vw - 72px))!important;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  body.eme-sw-shop-page .shop-wrap{
    display:grid!important;
    grid-template-columns:286px minmax(0,1fr)!important;
    gap:32px!important;
    padding-left:0!important;
    padding-right:0!important;
    overflow:visible!important;
  }
  body.eme-sw-shop-page .shop-main{
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
    overflow:visible!important;
  }
  body.eme-sw-shop-page .cat-pills{
    display:flex!important;
    flex-wrap:wrap!important;
    overflow:visible!important;
    max-width:100%!important;
    gap:10px!important;
    margin-right:0!important;
    padding-right:0!important;
  }
  body.eme-sw-shop-page .products-grid{
    width:100%!important;
    max-width:100%!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:18px!important;
    overflow:visible!important;
  }
  body.eme-sw-shop-page .controls-bar{
    width:100%!important;
    max-width:100%!important;
    overflow:visible!important;
  }
}
@media (min-width:1181px) and (max-width:1500px){
  body.eme-sw-shop-page .shop-search-inner,
  body.eme-sw-shop-page .shop-wrap,
  body.eme-sw-shop-page .wc-notices-wrapper{
    width:calc(100vw - 48px)!important;
  }
  body.eme-sw-shop-page .shop-wrap{
    grid-template-columns:270px minmax(0,1fr)!important;
    gap:26px!important;
  }
}

/* === EME V15: fixes mobile tienda filtros + live search + no zoom === */
body.eme-sw-shop-page .search-box input,
body.eme-sw-shop-page input.eme-live-search-input{
  font-size:16px!important;
  -webkit-text-size-adjust:100%;
  touch-action:manipulation;
}
body.eme-sw-shop-page .filter-mobile-btn{
  cursor:pointer!important;
  pointer-events:auto!important;
  position:relative!important;
  z-index:5!important;
}
body.eme-sw-shop-page .sidebar-overlay.open{
  display:block!important;
  opacity:1!important;
  pointer-events:auto!important;
}
body.eme-sw-shop-page .sidebar-drawer.open{
  transform:translateX(0)!important;
  pointer-events:auto!important;
}
body.eme-sw-shop-page .sidebar-drawer{
  will-change:transform;
}
html.eme-drawer-open,
body.eme-drawer-open{
  overflow:hidden!important;
}
@media(max-width:820px){
  body.eme-sw-shop-page .shop-search-bar{
    overflow:visible!important;
    z-index:90!important;
  }
  body.eme-sw-shop-page .shop-search-inner,
  body.eme-sw-shop-page .eme-search-form{
    overflow:visible!important;
  }
  body.eme-sw-shop-page .search-box{
    height:56px!important;
    border-radius:18px!important;
  }
  body.eme-sw-shop-page .search-box input,
  body.eme-sw-shop-page input.eme-live-search-input{
    font-size:16px!important;
    line-height:56px!important;
    transform:none!important;
  }
  body.eme-sw-shop-page .eme-live-search{
    position:absolute!important;
    left:0!important;
    right:0!important;
    top:calc(100% + 10px)!important;
    max-height:56vh!important;
    overflow:auto!important;
    z-index:100000!important;
    border-radius:18px!important;
    -webkit-overflow-scrolling:touch!important;
  }
  body.eme-sw-shop-page .eme-live-list{
    padding:6px!important;
  }
  body.eme-sw-shop-page .eme-live-item{
    grid-template-columns:52px minmax(0,1fr)!important;
    gap:11px!important;
    padding:10px!important;
    min-width:0!important;
  }
  body.eme-sw-shop-page .eme-live-item img{
    width:52px!important;
    height:52px!important;
  }
  body.eme-sw-shop-page .eme-live-title{
    font-size:13px!important;
    line-height:1.25!important;
    white-space:normal!important;
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
    overflow:hidden!important;
  }
  body.eme-sw-shop-page .eme-live-cat{
    font-size:10px!important;
  }
  body.eme-sw-shop-page .eme-live-price{
    grid-column:2!important;
    justify-self:start!important;
    max-width:none!important;
    text-align:left!important;
    font-size:13px!important;
    margin-top:2px!important;
  }
}


/* === EME V56: centrar tienda mobile sin alterar estructura === */
@media (max-width:1120px){
  body.eme-sw-shop-page,
  body.eme-sw-shop-page .site,
  body.eme-sw-shop-page #page,
  body.eme-sw-shop-page .site-content,
  body.eme-sw-shop-page .shop-main{
    overflow-x:hidden!important;
  }
  body.eme-sw-shop-page .shop-search-inner,
  body.eme-sw-shop-page .shop-wrap,
  body.eme-sw-shop-page .wc-notices-wrapper{
    width:auto!important;
    max-width:none!important;
    margin-left:16px!important;
    margin-right:16px!important;
  }
}
@media (max-width:640px){
  body.eme-sw-shop-page .shop-search-inner,
  body.eme-sw-shop-page .shop-wrap,
  body.eme-sw-shop-page .wc-notices-wrapper{
    margin-left:12px!important;
    margin-right:12px!important;
  }
  body.eme-sw-shop-page .shop-wrap{
    padding-left:0!important;
    padding-right:0!important;
  }
  body.eme-sw-shop-page .shop-main,
  body.eme-sw-shop-page .controls-bar,
  body.eme-sw-shop-page .products-grid,
  body.eme-sw-shop-page .cat-pills{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  body.eme-sw-shop-page .products-grid{
    justify-content:center!important;
  }
}


/* === EME V63: tienda móvil con márgenes laterales más aprovechados === */
@media (max-width: 640px){
  body.eme-sw-shop-page .shop-search-inner,
  body.eme-sw-shop-page .shop-wrap,
  body.eme-sw-shop-page .wc-notices-wrapper{
    width:calc(100vw - 12px)!important;
    max-width:none!important;
  }
  body.eme-sw-shop-page .shop-wrap{
    padding-top:14px!important;
    padding-bottom:68px!important;
    gap:12px!important;
  }
  body.eme-sw-shop-page .products-grid{
    gap:12px!important;
  }
}


/* === EME V64: centra de verdad el bloque de tienda en mobile sin correrlo a la derecha === */
@media (max-width: 640px){
  body.eme-sw-shop-page,
  body.eme-sw-shop-page .site,
  body.eme-sw-shop-page #page,
  body.eme-sw-shop-page .site-content{
    overflow-x:hidden!important;
  }
  body.eme-sw-shop-page .shop-search-inner,
  body.eme-sw-shop-page .shop-wrap,
  body.eme-sw-shop-page .wc-notices-wrapper{
    width:calc(100vw - 24px)!important;
    max-width:calc(100vw - 24px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.eme-sw-shop-page .shop-wrap{
    padding-top:14px!important;
    padding-bottom:68px!important;
    padding-left:0!important;
    padding-right:0!important;
    gap:12px!important;
  }
  body.eme-sw-shop-page .shop-main,
  body.eme-sw-shop-page .controls-bar,
  body.eme-sw-shop-page .products-grid,
  body.eme-sw-shop-page .cat-pills{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    box-sizing:border-box!important;
  }
  body.eme-sw-shop-page .products-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
    justify-content:stretch!important;
  }
}


/* === EME V65: corrige SOLO el buscador mobile para que no quede cortado === */
@media (max-width: 640px){
  body.eme-sw-shop-page .shop-search-bar{
    padding:10px 12px 8px!important;
    box-sizing:border-box!important;
    overflow:visible!important;
  }
  body.eme-sw-shop-page .shop-search-inner{
    width:calc(100vw - 24px)!important;
    max-width:calc(100vw - 24px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding:0!important;
    box-sizing:border-box!important;
    overflow:visible!important;
  }
  body.eme-sw-shop-page .eme-search-form,
  body.eme-sw-shop-page .search-box{
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.eme-sw-shop-page .search-box{
    overflow:hidden!important;
  }
}


/* === EME V66: buscador mobile centrado contra el viewport, sin corte derecho === */
@media (max-width: 640px){
  body.eme-sw-shop-page .shop-search-bar{
    position:relative!important;
    left:50%!important;
    right:auto!important;
    width:100vw!important;
    max-width:100vw!important;
    margin-left:-50vw!important;
    margin-right:0!important;
    padding:10px 26px 8px!important;
    box-sizing:border-box!important;
    overflow:visible!important;
  }
  body.eme-sw-shop-page .shop-search-inner{
    position:static!important;
    left:auto!important;
    transform:none!important;
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0 auto!important;
    padding:0!important;
    box-sizing:border-box!important;
    overflow:visible!important;
  }
  body.eme-sw-shop-page .eme-search-form,
  body.eme-sw-shop-page .search-box{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.eme-sw-shop-page .search-box{
    margin:0!important;
    padding-left:16px!important;
    padding-right:16px!important;
    overflow:hidden!important;
  }
  body.eme-sw-shop-page .search-box input,
  body.eme-sw-shop-page input.eme-live-search-input{
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
  }
}


/* === EME V67: buscador mobile realmente centrado, sin desborde derecho === */
@media (max-width: 640px){
  body.eme-sw-shop-page,
  body.eme-sw-shop-page #content,
  body.eme-sw-shop-page .site-content{
    overflow-x:hidden!important;
  }
  body.eme-sw-shop-page .shop-search-bar{
    position:relative!important;
    left:auto!important;
    right:auto!important;
    transform:none!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:10px 0 8px!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  body.eme-sw-shop-page .shop-search-inner{
    position:relative!important;
    left:auto!important;
    right:auto!important;
    transform:none!important;
    display:block!important;
    width:calc(100vw - 52px)!important;
    max-width:calc(100vw - 52px)!important;
    min-width:0!important;
    margin-left:calc(50% - 50vw + 26px)!important;
    margin-right:0!important;
    padding:0!important;
    box-sizing:border-box!important;
    overflow:visible!important;
  }
  body.eme-sw-shop-page .eme-search-form,
  body.eme-sw-shop-page .search-box{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    box-sizing:border-box!important;
  }
  body.eme-sw-shop-page .search-box{
    height:50px!important;
    padding-left:14px!important;
    padding-right:14px!important;
    overflow:hidden!important;
  }
  body.eme-sw-shop-page .search-box input,
  body.eme-sw-shop-page input.eme-live-search-input{
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
  }
}


/* === EME V68: mejor uso de espacio en monitores grandes / 1440p+ ===
   Solo aplica en pantallas grandes. No modifica mobile ni notebooks medianas. */
@media (min-width: 1700px){
  body.eme-sw-shop-page .shop-search-inner,
  body.eme-sw-shop-page .shop-wrap,
  body.eme-sw-shop-page .wc-notices-wrapper{
    width:min(1760px, calc(100vw - 104px))!important;
    max-width:none!important;
  }
  body.eme-sw-shop-page .shop-wrap{
    grid-template-columns:304px minmax(0,1fr)!important;
    gap:38px!important;
  }
  body.eme-sw-shop-page .products-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:24px!important;
  }
  body.eme-sw-shop-page .card-img{
    padding:28px 28px 20px!important;
  }
  body.eme-sw-shop-page .card-body{
    padding:20px 20px 22px!important;
  }
}
