.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.catalog-main{min-width:0}
.product-search-tools{display:flex;flex-direction:column;gap:10px;width:100%;min-width:0}
.catalog-main .catalog-tools{flex-wrap:wrap}.catalog-main .product-search-tools{flex-basis:100%}
.catalog-main .product-search-tools .search{width:100%;margin:0;flex:1;min-height:46px}
.product-search-actions{display:flex;gap:9px;flex-wrap:wrap}
.search-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border:1px solid #bd14254a;border-radius:8px;background:#fff;color:var(--red);padding:10px 13px;font-size:12px;font-weight:700}
.search-action:hover{background:#bd142508}.search-action .icon{width:20px;height:20px}
.search-feedback{padding:12px 14px;background:#f0eee4;border-radius:8px;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.search-feedback[hidden]{display:none}
.barcode-dialog{width:520px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:15px;padding:23px;overflow:auto;background:var(--cream);color:var(--ink)}
.barcode-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.barcode-heading h2{font-size:25px;letter-spacing:-.8px}
.barcode-dialog p{font-size:12px;line-height:1.7}.barcode-dialog .barcode-privacy{font-size:10px;color:var(--muted)}
.barcode-preview{position:relative;background:#242821;border-radius:10px;overflow:hidden;aspect-ratio:4/3}
.barcode-preview video{width:100%;height:100%;object-fit:cover}.barcode-preview>span{position:absolute;left:9%;right:9%;top:30%;bottom:30%;border:2px solid white;border-radius:8px;pointer-events:none;box-shadow:0 0 0 100px #0003}
#barcode-status{min-height:40px}#barcode-start{min-height:44px}#barcode-start:disabled{opacity:.55}
#barcode-manual-form{border-top:1px solid var(--line);margin-top:20px;padding-top:18px}#barcode-manual-form label{display:block;font-size:12px;font-weight:700;margin-bottom:9px}#barcode-manual-form>div{display:flex;gap:8px}#barcode-manual{min-width:0;width:100%;border:1px solid var(--line);border-radius:7px;padding:10px;font-size:16px}
@media(max-width:600px){.search-action{flex:1;font-size:11px;padding:10px 8px;gap:6px}.product-search-tools .search input{font-size:16px}.barcode-dialog{padding:18px}.barcode-heading h2{font-size:22px}#barcode-manual-form>div{flex-wrap:wrap}#barcode-manual-form .button{width:100%}}
.order-sidebar{display:none}
.cart-panel{display:flex;flex-direction:column;min-height:0;flex:1}
.cart-panel .cart-body{overscroll-behavior:contain}
.cart-item>div{min-width:0}
.cart-item-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}
.cart-item-heading h3{overflow-wrap:anywhere}
.remove-item{display:inline-flex;align-items:center;justify-content:center;gap:5px;border:0;background:transparent;color:var(--muted);padding:0;min-width:32px;min-height:32px;border-radius:5px;font-size:11px;flex-shrink:0}
.remove-item:hover{color:var(--red);background:#bd14250a}
.remove-item .icon{width:16px;height:16px}
.quantity button{min-width:34px;width:34px;height:34px;border-radius:5px}
.quantity button:hover{background:var(--sand)}
.quantity button:disabled{color:#a4a69d;background:transparent;opacity:.55}
.quantity output{min-width:22px;text-align:center;font-size:13px;font-weight:700;font-variant-numeric:tabular-nums}
.product-card.in-cart{border-color:#bd142555}
.product-bottom{flex-wrap:wrap;min-height:108px;align-content:flex-start}
.product-controls{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-left:auto}
.product-controls.selected{width:100%;flex-wrap:wrap;justify-content:space-between;margin-left:0}
.product-controls .quantity{background:var(--cream);gap:2px}
.product-controls .remove-item{padding:0 5px;min-height:36px}
.product-controls .remove-item span{font-size:10px}
.cart-empty{padding:32px 0}
.cart-empty .button{font-size:12px;min-height:44px;padding:10px 16px}
.cart-footer .button:disabled{background:#deded5;color:#7a7d72;transform:none}
.cart-footer .cart-total strong{font-variant-numeric:tabular-nums}
.cart-item-total{white-space:nowrap;font-variant-numeric:tabular-nums}
@media(min-width:1100px){
 .order-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:28px;align-items:start}
 .order-sidebar{display:block;position:sticky;top:110px;min-width:0}
 .order-sidebar .cart-panel{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 6px 25px #24282105;max-height:calc(100dvh - 130px)}
 .order-sidebar .drawer-heading{padding:23px 20px 18px}
 .order-sidebar .drawer-heading h2{font-size:27px}
 .order-sidebar .cart-close{display:none}
 .order-sidebar .cart-body{padding:0 18px;flex:1;min-height:80px}
 .order-sidebar .cart-footer{padding:18px 20px;flex-shrink:0}
 .order-sidebar .cart-item{grid-template-columns:44px minmax(0,1fr);gap:11px;padding:16px 0}
 .order-sidebar .cart-item img{width:44px;height:55px}
 .order-sidebar .cart-item h3{font-size:12px}
 .order-sidebar .cart-item p{font-size:10px}
 .order-sidebar .cart-item-bottom{gap:7px;flex-wrap:wrap}
 .order-sidebar .cart-empty{padding:29px 0}
 .order-sidebar .cart-empty h3{font-size:20px}
 .order-sidebar .cart-empty p{font-size:12px}
 .order-sidebar .cart-empty>.icon{width:36px;height:36px}
 .order-sidebar .cart-empty .button{display:none}
 .order-sidebar .quantity{gap:3px}
 .order-sidebar .quantity button{min-width:30px;width:30px;height:32px}
 .order-sidebar .quantity output{min-width:18px;font-size:12px}
 .order-sidebar .cart-item-total{font-size:12px}
 .header .cart-toggle,.mobile-cart{display:none!important}
 .catalog-main .product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
 .catalog-main .product-art{height:157px}
 .catalog-main .product-content{padding:15px}
 .catalog-main .product-content h3{font-size:14px}
 .catalog-main .catalog-tools{flex-wrap:wrap;gap:8px}
 .catalog-main .categories{max-width:100%;width:100%}
 .catalog-main .search{width:100%;margin:0 0 8px}
 .catalog-main .search input{width:100%}
 .catalog-main .ordering-bar{align-items:flex-start;flex-direction:column;gap:12px;padding:20px}
 .catalog-main .mode-explanation{max-width:none}
 .catalog-main .service-options button{padding:9px 12px}
 .catalog-main .product-controls .remove-item{min-height:30px}
 .toast{bottom:25px}
}
@media(min-width:1100px) and (max-width:1199px){.order-layout{grid-template-columns:minmax(0,1fr) 310px;gap:22px}.catalog-main .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:601px) and (max-width:1099px){.mobile-cart{display:flex;position:fixed;bottom:18px;right:24px;left:auto;width:auto;gap:25px;border:0;background:var(--red);color:white;border-radius:10px;padding:15px 20px;box-shadow:0 5px 24px #0002;z-index:25}.mobile-cart>span{display:flex;align-items:center;gap:9px;font-size:13px}.mobile-cart b{background:#fff3;border-radius:50%;padding:2px 7px;font-size:11px}.mobile-cart strong{font-size:15px}.toast{bottom:90px}}
@media(max-width:600px){.product-bottom{min-height:138px;gap:9px}.product-controls .quantity{width:100%;justify-content:space-between;gap:0}.product-controls .quantity button{width:40px;height:40px;min-width:0}.product-controls .remove-item{margin-left:auto;min-height:32px}.product-controls .remove-item span{font-size:11px}.cart-item .quantity button{width:36px;height:38px}.cart-item .remove-item{min-width:38px;min-height:38px}.product-content .price{font-size:16px}.cart-footer{padding-bottom:max(20px,env(safe-area-inset-bottom))}}
@media(max-width:359px){.catalog-main .product-grid{gap:9px}.product-content{padding:10px}.product-controls .quantity button{width:32px}.product-controls .quantity output{min-width:20px}.cart-item{grid-template-columns:48px minmax(0,1fr);gap:10px}.cart-item img{width:48px;height:60px}.cart-item-bottom{flex-wrap:wrap}}
@media(max-height:600px) and (min-width:1100px){.order-sidebar{top:102px}.order-sidebar .cart-panel{max-height:calc(100dvh - 114px)}.order-sidebar .drawer-heading{padding:12px 18px}.order-sidebar .cart-footer{padding:12px 18px}.order-sidebar .cart-footer>p{margin-bottom:10px}.order-sidebar .cart-empty{padding:12px 0}.order-sidebar .cart-empty>.icon{display:none}}

/* Lista de precios del mini */
.rubro-filter{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted);width:100%;max-width:420px}
.rubro-filter select{flex:1;min-width:0;min-height:42px;padding:8px 12px;border:1px solid var(--line);border-radius:100px;background:#fff;color:var(--ink);font:inherit;font-size:13px}
.catalog-main .product-content>p{min-height:0;overflow-wrap:anywhere}
.product-rubro{font-size:9px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;color:#85897d;margin-bottom:6px}
.product-content h3{overflow-wrap:anywhere}
.product-card.unavailable{background:#fbfaf6}
.price-ask{font-size:12px;font-weight:700;color:#6c624e;line-height:1.3}
.ask-whatsapp{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:7px 12px;border-radius:100px;background:#1f7a4d;color:#fff;font-size:12px;font-weight:700;text-decoration:none;white-space:nowrap}
.ask-whatsapp:hover{background:#17603c}
.ask-whatsapp .icon{width:16px;height:16px;color:#fff}
.product-bottom{min-height:0}
.cart-item.no-art{grid-template-columns:1fr}
.no-results .button.whatsapp{display:inline-flex;margin:4px auto 14px}
.no-results .text-link{margin:0 auto}
@media(max-width:600px){.product-bottom{min-height:0}.ask-whatsapp{width:100%;justify-content:center}}

/* Vista "Más vendidos" */
.catalog-main .categories{flex-wrap:wrap;align-items:center;gap:10px 14px;overflow:visible}
.catalog-tabs{display:flex;gap:7px;flex-wrap:wrap}
.catalog-tabs button{border:1px solid var(--line);padding:9px 15px;border-radius:100px;white-space:nowrap;background:transparent;font-size:12px;min-height:40px}
.catalog-tabs button.active{background:var(--ink);color:#fff;border-color:var(--ink)}
.product-grid .group-title{grid-column:1/-1;margin:8px 0 -4px;font-size:17px;letter-spacing:-.3px}
.product-grid .group-title:first-child{margin-top:0}
