/* YOUBI Tienda Portada: intentionally scoped to this plugin's elements. */
.yb-storefront{--yb-red:#b60000;--yb-dark:#161616;--yb-text:#292929;--yb-border:#e6e7e9;--yb-bg:#fff; font-family:Inter,Poppins,system-ui,-apple-system,"Segoe UI",sans-serif!important; margin:8px 0 28px; color:var(--yb-text); clear:both; width:100%;}
.yb-storefront *{box-sizing:border-box}
.yb-live-button{background:linear-gradient(110deg,#a40000 0%,#d00000 67%,#ac0000 100%);color:#fff!important;border:2px solid #8f0000;border-radius:14px; padding:19px 22px;display:flex;align-items:center;gap:17px;text-decoration:none!important;box-shadow:0 9px 22px rgba(149,0,0,.17);margin:0 0 22px;min-height:90px;transition:transform .2s ease,box-shadow .2s ease}
.yb-live-button:hover,.yb-live-button:focus-visible{color:#fff!important;transform:translateY(-2px);box-shadow:0 12px 24px rgba(149,0,0,.24)}
.yb-live-led{flex:0 0 18px;width:18px;height:18px;background:#fff;border-radius:50%;box-shadow:0 0 0 7px rgba(255,255,255,.17)}
.yb-live-copy{flex:1;display:flex;flex-direction:column;gap:3px;line-height:1.25}
.yb-live-copy strong{font-size:clamp(17px,2.1vw,26px);letter-spacing:.012em;font-weight:850;color:#fff!important}
.yb-live-copy small{font-size:13px;color:rgba(255,255,255,.88)!important;font-weight:450}
.yb-live-arrow{font-size:27px;font-weight:800;color:#fff}
.yb-category-area{border:1px solid var(--yb-border);padding:20px 20px 22px;border-radius:15px;background:var(--yb-bg);box-shadow:0 4px 18px rgba(16,24,40,.045)}
.yb-category-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:17px;gap:18px}
.yb-kicker{font-size:11px;font-weight:800;letter-spacing:.13em;color:var(--yb-red);margin-bottom:3px}
.yb-category-heading h2{font-family:Inter,Poppins,system-ui,sans-serif!important;margin:0!important;padding:0!important;line-height:1.2!important;font-size:clamp(20px,2.3vw,29px)!important;font-weight:850!important;color:var(--yb-dark)!important;text-transform:none!important}
.yb-category-heading p{margin:5px 0 0;font-size:13px!important;color:#606770!important;line-height:1.45}
.yb-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.yb-category-link{background:#f8f9fa!important;border:1px solid #e2e4e8;border-radius:10px;display:flex;gap:6px;align-items:center;justify-content:space-between;min-height:49px;padding:11px 13px;text-decoration:none!important;font:700 13px/1.35 Inter,Poppins,system-ui,sans-serif!important;color:#292929!important;transition:background .16s,border-color .16s,color .16s,box-shadow .16s}
.yb-category-link:hover,.yb-category-link:focus-visible{color:#ad0000!important;background:#fff3f3!important;border-color:#d33!important;box-shadow:0 2px 10px rgba(150,0,0,.09)}
.yb-category-link.is-active{color:#fff!important;background:#a90000!important;border-color:#a90000!important}
.yb-chevron{font-size:22px;line-height:.8;font-weight:300;flex-shrink:0;color:inherit}
@media(min-width:1400px){.yb-category-grid{grid-template-columns:repeat(4,minmax(0,1fr));}}
@media(max-width:780px){.yb-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.yb-category-area{padding:15px}.yb-live-button{padding:16px 15px}.yb-live-arrow{font-size:23px}}
@media(max-width:410px){.yb-category-grid{grid-template-columns:1fr 1fr;gap:7px}.yb-category-link{padding:9px;min-height:46px;font-size:12px!important}.yb-live-copy strong{font-size:16px}}
@media(prefers-reduced-motion:reduce){.yb-live-button,.yb-category-link{transition:none}}

.yb-storefront-fallback{width:100%;clear:both}.yb-storefront{position:relative;z-index:1}

/* v1.2: Own product archive for category pages, independent of Elementor's fixed query. */
.yb-native-products{padding:28px 3px 15px;clear:both;width:100%}
.yb-native-title{display:flex;justify-content:space-between;align-items:end;gap:12px;margin:0 0 18px}
.yb-native-title h2{font:850 clamp(21px,2.4vw,31px)/1.24 Inter,Poppins,system-ui,sans-serif!important;color:#131313!important;margin:4px 0 0!important;letter-spacing:-.02em}
.yb-native-count{font:600 13px/1.3 Inter,Poppins,sans-serif;color:#666;white-space:nowrap;padding-bottom:4px}
.yb-native-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}
.yb-product-card{background:#fff;border:1px solid #e7e8eb;border-radius:13px;overflow:hidden;min-width:0;box-shadow:0 4px 12px rgba(20,20,20,.045);transition:transform .15s ease,box-shadow .15s ease}
.yb-product-card:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(20,20,20,.09)}
.yb-product-photo{display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;background:#fff;overflow:hidden}
.yb-product-photo img{display:block;width:100%;height:100%;object-fit:contain;margin:0!important}
.yb-product-details{padding:12px 13px 14px;display:flex;flex-direction:column;gap:9px}
.yb-product-name{font:750 13px/1.4 Inter,Poppins,sans-serif!important;color:#9c0000!important;text-decoration:none!important;min-height:37px}
.yb-product-name:hover{text-decoration:underline!important}
.yb-product-price{font:750 15px/1.3 Inter,Poppins,sans-serif!important;color:#222!important}
.yb-product-price .woocommerce-Price-amount{font-weight:750!important}
.yb-product-price del{opacity:.65;font-weight:450!important;font-size:12px!important}
.yb-product-stock{font:700 11px Inter,Poppins,sans-serif;color:#aa1212}
.yb-product-action{margin-top:auto;display:inline-flex;align-self:start;padding:9px 13px;background:#a80000;color:#fff!important;font:800 11px/1.2 Inter,Poppins,sans-serif!important;border-radius:7px;text-decoration:none!important}
.yb-product-action:hover{background:#8c0000;color:#fff!important}
.yb-no-products{border:1px solid #e4e4e4;border-radius:12px;background:#fafafa;padding:25px;font:500 14px/1.55 Inter,Poppins,sans-serif}
.yb-no-products strong{font-size:17px}.yb-no-products p{margin:8px 0 0}
.yb-product-pagination{padding:24px 0;text-align:center}
.yb-product-pagination ul{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin:0;padding:0}
.yb-product-pagination .page-numbers a,.yb-product-pagination .page-numbers span{display:inline-flex;justify-content:center;align-items:center;min-width:36px;min-height:36px;border:1px solid #ddd;border-radius:7px;padding:6px 10px;text-decoration:none!important;color:#303030;font-weight:750}
.yb-product-pagination .page-numbers .current{background:#ad0000;color:#fff;border-color:#ad0000}
/* Suppress only old product grids and their duplicate pagination on category archives.
   Do not hide the YITH price sidebar, our own product list, or the shop homepage. */
body.yb-native-category-active .elementor-widget-wc-archive-products,
body.yb-native-category-active .elementor-widget-woocommerce-archive-products,
body.yb-native-category-active .elementor-widget-archive-products,
body.yb-native-category-active .elementor-widget-woocommerce-products,
body.yb-native-category-active .elementor-widget-loop-grid,
body.yb-native-category-active .woocommerce ul.products,
body.yb-native-category-active .woocommerce .woocommerce-pagination,
body.yb-native-category-active .woocommerce .woocommerce-result-count,
body.yb-native-category-active .woocommerce .woocommerce-ordering{display:none!important}
@media(max-width:850px){.yb-native-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}
@media(max-width:400px){.yb-native-grid{gap:9px}.yb-product-details{padding:10px}.yb-product-name{font-size:11px!important}.yb-product-price{font-size:13px!important}.yb-product-action{font-size:10px!important}}
