/* Composición comercial basada en la referencia del propietario. */
:root{--trigal-verde:#073e29;--trigal-verde-activo:#0a6437;--trigal-rojo:#df1018;--trigal-crema:#fff9ee;--trigal-marron:#713b19;--trigal-tinta:#21392c;--marca-verde:var(--trigal-verde);--marca-rojo:var(--trigal-rojo);--marca-crema:var(--trigal-crema)}
/* El original no se recorta ni filtra: se integra en una superficie blanca continua. */
.tienda-v2 .marca-logo,.gestion-v2 .marca-logo{border-radius:0;background:#fff;filter:none;object-fit:contain}
.gestion-v2 .sidebar{padding-top:0}
.gestion-v2 .brand{background:#fff;color:var(--marca-verde);margin:0 -24px;padding:14px 20px;border-bottom:3px solid var(--marca-rojo)}
.gestion-v2 .brand .trigal-marca-con-logo{flex-direction:row;align-items:center;gap:9px}
.gestion-v2 .brand .marca-nombre,.tienda-v2 .marca-nombre{position:static;clip-path:none;overflow:visible;width:auto;height:auto;font-size:18px;letter-spacing:-.6px}
.gestion-v2 .brand .marca-area{font-size:9px;color:var(--marca-verde);letter-spacing:.12em}
.gestion-v2 .brand .marca-logo{width:64px;max-width:64px;max-height:64px}
.gestion-v2 .sidebar .nav-caption{margin-top:25px}
.gestion-v2 .sidebar-bottom{background:var(--marca-verde)}
.gestion-v2 .sidebar:after{content:"";position:absolute;bottom:95px;left:0;width:100%;height:175px;pointer-events:none;background:url("../comercial/espiga-decorativa.40e18272cf0f.svg") left bottom/140px auto no-repeat;opacity:.55;z-index:-1}
.gestion-v2 .side-nav{position:relative;z-index:1}
.gestion-v2 .topbar{background:#fff;color:var(--marca-verde);border-bottom:1px solid #e4e4d8}
.gestion-v2 .topbar .breadcrumb,.gestion-v2 .topbar .breadcrumb strong{color:var(--marca-verde)}
.gestion-v2 .topbar .breadcrumb>span{color:#687668}
.gestion-v2 .topbar .demo-pill{color:var(--marca-verde);background:#f1f5e9;border-color:#cddac7}
.gestion-v2 .topbar .icon-button{color:var(--marca-verde)}
.gestion-v2.login-page .login-intro{background:#fff;padding:28px;border-radius:12px}
.gestion-v2 .login-official .marca-logo{width:125px;max-width:125px;max-height:125px}
/* Tienda: marca y búsqueda en cabecera, fotografía, ofertas ilustradas y catálogo. */
.tienda-v2{background:#fffaf2}
.tienda-v2 .aviso{font-size:10px;padding:5px 16px;background:var(--marca-verde);color:#fff}
.tienda-v2 .retail-header{display:grid;grid-template-columns:220px minmax(180px,1fr) 145px auto;gap:12px 25px;align-items:center;max-width:none;background:#fff;color:var(--marca-verde);padding:12px max(calc((100vw - 1240px)/2),24px) 0;border-bottom:1px solid #e8e2d4}
.tienda-v2 .identidad{color:var(--marca-verde)}
.tienda-v2 .marca-logo{width:68px;max-width:68px;max-height:68px}
.tienda-v2 .marca-area{font-size:8px;letter-spacing:.1em}
.tienda-v2 .header-search{display:flex;gap:0;width:100%;border:1px solid #dedfd4;border-radius:24px;background:#fffcf7;overflow:hidden}
.tienda-v2 .header-search input{width:100%;min-width:0;border:0;border-radius:0;background:transparent;min-height:43px;padding:10px 17px;font-size:12px;color:#24392c}
.tienda-v2 .header-search button{border-radius:0;min-width:48px;width:48px;padding:10px;background:var(--marca-rojo);display:grid;place-items:center}
.tienda-v2 .header-search .icon{width:20px;height:20px}
.tienda-v2 .header-location{display:flex;align-items:center;gap:9px;font-size:10px;line-height:1.5}
.tienda-v2 .header-location strong{display:block;font-size:12px}
.tienda-v2 .carrito-cabecera{border-radius:8px;padding:12px 13px;font-size:12px;gap:8px;white-space:nowrap;box-shadow:0 3px 0 #a00b1110}
.tienda-v2 .carrito-cabecera .cart-title{background:transparent;color:#fff;width:auto;height:auto;border-radius:0}
.tienda-v2 .carrito-cabecera .cart-count{background:#fff;color:var(--marca-rojo);font-weight:800}
.tienda-v2 .retail-header .navegacion{grid-column:1/-1;display:flex;gap:30px;justify-content:start;border-top:1px solid #eee9df;padding:0;margin:0;font-size:12px}
.tienda-v2 .navegacion a{color:var(--marca-verde);padding:12px 2px;font-size:12px;font-weight:650}
.tienda-v2 .navegacion a:first-child{box-shadow:inset 0 -3px var(--marca-rojo);color:var(--marca-rojo)}
.tienda-v2 .nav-delivery{margin-left:auto;align-self:center;font-size:10px;color:#596750}
.tienda-v2 main{padding-top:12px}
.tienda-v2 .demo{padding:8px 12px;font-size:10px;margin-bottom:12px;border-radius:5px}
.tienda-v2 .retail-categories{display:flex;gap:20px;align-items:center;margin:0 0 14px;border-bottom:1px solid #e8e2d4;padding-bottom:12px}
.tienda-v2 .category-tools{flex-shrink:0;width:180px}
.tienda-v2 .category-tools label{display:flex;gap:6px;align-items:center;color:var(--marca-rojo);font-size:11px;font-weight:750;margin-bottom:5px}
.tienda-v2 .category-tools .icon{width:14px;height:14px}
.tienda-v2 .category-tools select{min-height:32px;padding:5px 8px;font-size:11px;border-color:#d7dccf}
.tienda-v2 .categorias{display:flex;flex:1;gap:15px;padding:0;overflow:auto;white-space:nowrap;scrollbar-width:thin}
.tienda-v2 .categorias a{display:flex;align-items:center;gap:8px;padding:4px 10px 4px 4px;border:1px solid #e8e2d4;border-radius:8px;background:#fff;color:var(--marca-verde);font-size:11px}
.tienda-v2 .categorias a[aria-current]{background:#eff5e8;color:var(--marca-verde);border-color:#a9b99c}
.tienda-v2 .categorias img{height:43px;width:43px;object-fit:contain;border-radius:5px}
.tienda-v2 .retail-hero{position:relative;height:315px;border-radius:10px;overflow:hidden;isolation:isolate;background:#143b27;margin-bottom:22px}
.tienda-v2 .retail-hero picture,.tienda-v2 .hero-photograph{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.tienda-v2 .retail-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#052416b8,transparent 60%);z-index:-1}
.tienda-v2 .retail-hero picture{z-index:-2}
.tienda-v2 .retail-hero-copy{padding:25px 35px;color:#fff9ee;position:relative;width:52%}
.tienda-v2 .retail-hero-copy>p:first-child{font-size:9px;font-weight:700;letter-spacing:.14em;margin:0 0 10px;color:#fff0cc}
.tienda-v2 .retail-hero h1{font:600 41px/.99 Georgia,'Times New Roman',serif;letter-spacing:-1px;color:#fff;margin:0 0 12px;text-shadow:0 2px 4px #0005}
.tienda-v2 .retail-hero h1 em{font-weight:400;display:inline-block;margin-top:4px}
.tienda-v2 .hero-tagline{font-size:12px;line-height:1.4;margin:0 0 13px;color:#fff}
.tienda-v2 .retail-hero .boton{padding:10px 18px;background:var(--marca-rojo);border:0;border-radius:24px;font-size:12px;gap:14px}
.tienda-v2 .hero-service{position:absolute;right:20px;bottom:18px;background:#fff9eedf;backdrop-filter:blur(5px);border-radius:8px;padding:11px 16px;color:var(--marca-verde);font-size:14px;line-height:1.5}
.tienda-v2 .hero-service strong{color:var(--marca-rojo)}
.tienda-v2 .hero-service span,.tienda-v2 .hero-service a{display:block;font-size:9px;color:#3e523d}
.tienda-v2 .ofertas{margin:20px 0 24px}
.tienda-v2 .offers-heading{border:0;margin-bottom:12px;padding:0;align-items:center}
.tienda-v2 .offers-heading .etiqueta{display:none}
.tienda-v2 .offers-heading h2,.tienda-v2 .encabezado-seccion h2{font-family:inherit;font-size:24px;font-weight:800;letter-spacing:-.6px;color:var(--marca-verde)}
.tienda-v2 .offers-heading>a{font-size:11px;color:var(--marca-rojo);font-weight:700}
.tienda-v2 .ofertas-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}
.tienda-v2 .ofertas-grid .illustrated-offer{display:block;min-height:185px;border:1px solid #ead8be;background:linear-gradient(120deg,#fff9e9,#f7e5c7);padding:16px;isolation:isolate;box-shadow:none}
.tienda-v2 .offer-photo{position:absolute;width:48%;height:100%;right:-4px;top:0;object-fit:cover;mix-blend-mode:multiply;z-index:-1;opacity:.9}
.tienda-v2 .offer-copy{position:relative;width:68%;text-shadow:0 1px #fff8}
.tienda-v2 .oferta-tag{display:inline-block;padding:4px 7px;margin:0 0 8px;background:var(--marca-rojo);border-radius:4px;font-size:8px;letter-spacing:.07em}
.tienda-v2 .ofertas-grid h3{font-size:16px;line-height:1.15;color:var(--trigal-marron);margin:0 0 5px;max-width:18ch}
.tienda-v2 .ofertas-grid strong{font-size:27px;color:var(--marca-rojo);line-height:1.2}
.tienda-v2 .ofertas-grid p{font-size:9px;line-height:1.4;color:#3d513c;margin:7px 0 0}
.tienda-v2 .ofertas-grid small{font-size:8px;line-height:1.3;margin:6px 0 0;padding-top:5px;border-color:#d2b895}
.tienda-v2 .encabezado-seccion{border:0;margin:20px 0 12px;padding:0}
.tienda-v2 .encabezado-seccion .etiqueta{display:none}
.tienda-v2 .grilla{grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}
.tienda-v2 .producto{box-shadow:none;border:1px solid #e5e3d7;background:#fff;border-radius:9px}
.tienda-v2 .producto-imagen{height:150px;background:#fffdf8;border-bottom:1px solid #f0ecdf}
.tienda-v2 .producto:nth-child(n) .sin-imagen,.tienda-v2 .producto:nth-child(n) .producto-imagen{background:#fffdf8}
.tienda-v2 .producto-imagen img{width:100%;height:100%;object-fit:contain}
.tienda-v2 .photo-caption{position:absolute;bottom:5px;right:6px;font-size:7px;color:#53614e;background:#fff9;padding:2px 4px;border-radius:3px}
.tienda-v2 .producto-info{padding:13px 12px}
.tienda-v2 .producto-info>.etiqueta{font-size:8px;color:#58664e;margin:0 0 5px}
.tienda-v2 .producto-info h2{font-size:13px;min-height:2.7em;line-height:1.3;margin-bottom:7px}
.tienda-v2 .producto-info .descripcion{font-size:10px}
.tienda-v2 .producto-info .marca,.tienda-v2 .presentacion-producto{font-size:10px}
.tienda-v2 .precio{font-size:22px;margin:10px 0;letter-spacing:-.6px}
.tienda-v2 .precio small{font-size:9px}
.tienda-v2 .agregar-producto{gap:5px}
.tienda-v2 .agregar-producto .cantidad{width:40px;min-height:34px;padding:5px;font-size:12px}
.tienda-v2 .agregar-producto button{font-size:9px;padding:8px 5px;min-height:34px;background:var(--marca-rojo)}
.tienda-v2 .retail-mobile-nav{display:none}
/* POS: no catálogo inicial. Búsqueda + cuatro frecuentes por página. */
.gestion-v2 .quick-filter{display:flex;gap:6px;align-items:center;margin-bottom:10px}
.gestion-v2 .quick-filter label{font-size:10px;flex-shrink:0}
.gestion-v2 .quick-filter select{min-width:0;min-height:30px;padding:5px;font-size:10px}
.gestion-v2 .quick-filter button{font-size:9px;min-height:30px;padding:5px 6px;white-space:nowrap}
.gestion-v2 .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.gestion-v2 .quick-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:98px;padding:7px;text-align:center;width:100%;background:#fffdf8}
.gestion-v2 .quick-button>img{width:100%;height:40px;object-fit:contain;flex-shrink:0}
.gestion-v2 .quick-button>span:not(.quick-unit){font-size:11px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.15;font-weight:700}
.gestion-v2 .quick-button small{font-size:9px;line-height:1.2}
.gestion-v2 .quick-pagination{display:flex;align-items:center;justify-content:space-between;gap:5px;padding-top:9px;font-size:9px;line-height:1.5}
.gestion-v2 .quick-pagination a{font-weight:750;color:var(--marca-rojo)}
.gestion-v2 .quick-pagination span{color:#596750}
.gestion-v2 .quick-empty{font-size:11px;grid-column:1/-1;min-height:80px}
.gestion-v2 .search-results{border-top:3px solid var(--marca-rojo)}
.gestion-v2 .search-results .product-grid{grid-template-columns:1fr}
.gestion-v2 .search-results .product-image{display:none}
.gestion-v2 .search-results .product-content{padding:10px}
.gestion-v2 .search-results .product-content h3{font-size:12px}
.gestion-v2 .recent-panel>summary{font-size:11px;color:#4d6247}
.gestion-v2 .recent-panel>.section-heading{margin-top:10px}
@media(min-width:901px){
 .gestion-v2.pos-page:has([data-search]) main{height:calc(100dvh - 60px);display:flex;flex-direction:column;min-height:0;padding-top:10px;padding-bottom:10px}
 .gestion-v2.pos-page:has([data-search]) .app-footer{display:none}
 .gestion-v2.pos-page:has([data-search]) .demo-notice{padding:6px 10px;font-size:9px;min-height:0;margin-bottom:8px;flex-shrink:0}
 .gestion-v2.pos-page:has([data-search]) .sale-heading{margin-bottom:10px;flex-shrink:0}
 .gestion-v2.pos-page:has([data-search]) .sale-heading h1{font-size:23px;margin:5px 0 0}
 .gestion-v2.pos-page:has([data-search]) .sale-heading .back-link{font-size:9px}
 .gestion-v2.pos-page:has([data-search]) .last-sale{font-size:10px;margin:0 0 8px;padding:7px;flex-shrink:0}
 .gestion-v2.pos-page .sale-layout{flex:1;min-height:0;grid-template-columns:minmax(235px,.9fr) minmax(0,2.1fr);gap:12px;align-items:stretch}
 .gestion-v2.pos-page .sale-catalog{display:flex;flex-direction:column;gap:12px;overflow-y:auto;min-height:0;padding:0 3px 4px 0;scrollbar-width:thin}
 .gestion-v2.pos-page .sale-catalog>.panel,.gestion-v2.pos-page .sale-catalog>details{margin:0;flex-shrink:0}
 .gestion-v2.pos-page .sale-catalog .search-results{order:-1}
 .gestion-v2.pos-page .sale-catalog .search-panel{order:-2}
 .gestion-v2.pos-page .sale-checkout{position:static;min-height:0;height:100%}
 .gestion-v2.pos-page .checkout-panel{height:100%;min-height:0;grid-template-columns:minmax(0,1.06fr) minmax(0,1fr);gap:12px}
 .gestion-v2.pos-page .checkout-ticket{height:100%;min-height:0;display:flex;flex-direction:column;padding:12px}
 .gestion-v2.pos-page .checkout-heading{margin:-12px -12px 0;padding:10px 12px;flex-shrink:0}
 .gestion-v2.pos-page .sale-lines{overflow-y:auto;min-height:70px;max-height:none;flex:1;scrollbar-width:thin}
 .gestion-v2.pos-page .sale-line{padding:9px 0}
 .gestion-v2.pos-page .sale-line-title{font-size:12px}
 .gestion-v2.pos-page .sale-line .form-hint{font-size:9px}
 .gestion-v2.pos-page .quantity-actions{margin-top:6px}
 .gestion-v2.pos-page .totals{margin-top:4px;padding-top:4px;flex-shrink:0;max-height:42%;overflow:auto;scrollbar-width:thin}
 .gestion-v2.pos-page .totals>div{margin:5px 0;font-size:11px}
 .gestion-v2.pos-page .totals .grand-total{position:sticky;bottom:0;z-index:1;margin:6px 0 0;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#f2f4e9}
 .gestion-v2.pos-page .grand-total>strong{font-size:29px}
 .gestion-v2.pos-page .grand-total>span{font-size:10px;margin:0}
 .gestion-v2.pos-page .discount-details{margin:6px 0 0;padding:5px 0 0;max-height:80px;overflow:auto;font-size:9px;flex-shrink:0}
 .gestion-v2.pos-page .discount-details>summary{font-size:9px}
 .gestion-v2.pos-page .checkout-payments{height:100%;min-height:0;padding:12px;overflow:hidden}
 .gestion-v2.pos-page .payment-form{height:100%;min-height:0;display:flex;flex-direction:column;gap:0}
 .gestion-v2.pos-page .payment-form h3{font-size:14px;margin-bottom:12px;flex-shrink:0}
 .gestion-v2.pos-page .payment-controls{flex:1;min-height:0;overflow-y:auto;padding:0 2px 4px;scrollbar-width:thin}
 .gestion-v2.pos-page .confirm-button{flex-shrink:0;margin-top:8px;min-height:44px}
 .gestion-v2.pos-page .checkout-note{flex-shrink:0;font-size:8px;margin-top:6px}
 .gestion-v2.pos-page .quick-panel{max-height:none;padding:12px;overflow:visible}
 .gestion-v2.pos-page .quick-panel .section-heading{margin-bottom:9px}
 .gestion-v2.pos-page .quick-panel h2{font-size:13px}
 .gestion-v2.pos-page .quick-panel .text-link{font-size:9px}
 .gestion-v2.pos-page .search-panel{padding:11px}
 .gestion-v2.pos-page .workspace-caption{font-size:11px;margin-bottom:7px}
 .gestion-v2.pos-page .search-panel .form-hint{font-size:9px;margin:5px 0 0;line-height:1.4}
 .gestion-v2.pos-page .search-form input{font-size:12px;min-height:36px}
 .gestion-v2.pos-page .search-form button{min-height:36px;padding:7px;font-size:10px}
 .gestion-v2.pos-page .search-panel .suggestions{top:83px;max-height:260px}
 .gestion-v2.pos-page .controlled-cancel,.gestion-v2.pos-page .sale-catalog>details:not(.recent-panel){font-size:10px;padding:10px}
}
@media(min-width:761px) and (max-width:1399px){
 .gestion-v2 .brand{margin:0 -10px;padding:12px 7px;border-bottom:3px solid var(--marca-rojo)}
 .gestion-v2 .brand .trigal-marca-con-logo{justify-content:center}
 .gestion-v2 .brand .marca-logo{width:58px;max-width:58px;max-height:58px}
 .gestion-v2 .brand .marca-texto{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
 .gestion-v2 .sidebar:after{display:none}
 .tienda-v2 .retail-header{grid-template-columns:190px minmax(160px,1fr) auto}
 .tienda-v2 .header-location{display:none}
 .tienda-v2 .grilla{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(min-width:901px) and (max-height:700px){
 .gestion-v2 .topbar{min-height:44px;height:44px;padding-block:5px}
 .gestion-v2.pos-page:has([data-search]) main{height:calc(100dvh - 44px);padding:8px 16px}
 .gestion-v2.pos-page .sale-heading{margin-bottom:8px}
 .gestion-v2.pos-page .quick-button{min-height:86px;padding:5px}
 .gestion-v2.pos-page .quick-button>img{height:30px}
 .gestion-v2.pos-page .quick-panel{padding:10px}
 .gestion-v2.pos-page .search-panel{padding:9px}
 .gestion-v2.pos-page .search-panel .form-hint{font-size:8px}
 .gestion-v2.pos-page .payment-primary{margin-top:10px}
 .gestion-v2.pos-page .payment-form .check-label{margin:8px 0}
 .gestion-v2.pos-page .change-preview{margin:8px 0}
}
@media(max-width:900px){
 .tienda-v2 .retail-header{grid-template-columns:180px minmax(120px,1fr) auto;gap:10px 12px;padding-inline:20px}
 .tienda-v2 .header-location{display:none}
 .tienda-v2 .cart-title{display:none!important}
 .tienda-v2 .retail-hero{height:285px}
 .tienda-v2 .retail-hero-copy{padding:25px}
 .tienda-v2 .retail-hero h1{font-size:36px}
 .tienda-v2 .grilla{grid-template-columns:repeat(3,minmax(0,1fr))}
 .gestion-v2.pos-page .sale-catalog{display:contents}
 .gestion-v2.pos-page .sale-layout{display:flex;flex-direction:column}
 .gestion-v2.pos-page .search-results{order:-1}
 .gestion-v2.pos-page .sale-checkout{order:0;position:static}
 .gestion-v2.pos-page .checkout-panel{grid-template-columns:1fr}
 .gestion-v2.pos-page .quick-button{min-height:103px}
 .gestion-v2.pos-page .quick-button>img{height:47px}
}
@media(max-width:760px){
 .gestion-v2 .brand{margin:0 -18px 12px;padding:7px 16px;border-bottom:0}
 .gestion-v2 .brand .marca-logo{width:50px;max-width:50px;max-height:50px}
 .gestion-v2 .brand .marca-nombre{font-size:16px}
 .gestion-v2 .brand .marca-area{font-size:8px}
 .gestion-v2 .sidebar:after{display:none}
 .gestion-v2 .topbar{background:#fff}
 .gestion-v2.pos-page .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .tienda-v2 .retail-header{grid-template-columns:1fr auto;padding:8px 16px 0;gap:8px 12px}
 .tienda-v2 .identidad{grid-column:1;grid-row:1}
 .tienda-v2 .marca-logo{width:53px;max-width:53px;max-height:53px}
 .tienda-v2 .marca-nombre{font-size:17px}
 .tienda-v2 .marca-area{font-size:7px}
 .tienda-v2 .carrito-cabecera{grid-column:2;grid-row:1;padding:9px}
 .tienda-v2 .header-search{grid-column:1/-1;grid-row:2}
 .tienda-v2 .retail-header .navegacion{grid-row:3;gap:20px;overflow-x:auto;white-space:nowrap;scrollbar-width:thin}
 .tienda-v2 .navegacion a{font-size:10px;padding:9px 0}
 .tienda-v2 .nav-delivery{display:none}
 .tienda-v2 main{padding-top:10px}
 .tienda-v2 .retail-categories{display:block;margin-bottom:12px}
 .tienda-v2 .category-tools{width:100%;display:flex;align-items:center;gap:15px;margin-bottom:8px}
 .tienda-v2 .category-tools label{font-size:9px;white-space:nowrap;margin:0}
 .tienda-v2 .category-tools select{font-size:10px;min-height:30px}
 .tienda-v2 .categorias{gap:8px;padding-bottom:3px}
 .tienda-v2 .categorias a{font-size:10px;gap:5px;flex-shrink:0}
 .tienda-v2 .categorias img{width:34px;height:34px}
 .tienda-v2 .retail-hero-copy{width:70%;padding:24px 20px}
 .tienda-v2 .retail-hero h1{font-size:32px}
 .tienda-v2 .retail-hero-copy>p:first-child{font-size:8px}
 .tienda-v2 .hero-tagline{font-size:10px;max-width:24ch}
 .tienda-v2 .retail-hero .boton{font-size:11px;padding:9px 14px}
 .tienda-v2 .hero-service{right:8px;bottom:9px;padding:7px 9px;font-size:11px;max-width:130px;background:#fff9ee}
 .tienda-v2 .hero-service span,.tienda-v2 .hero-service a{font-size:7px}
 .tienda-v2 .hero-photograph{object-position:60% center}
 .tienda-v2 .retail-hero:after{background:linear-gradient(90deg,#062218d9,transparent 100%)}
 .tienda-v2 .offers-heading{display:flex;align-items:center}
 .tienda-v2 .offers-heading h2,.tienda-v2 .encabezado-seccion h2{font-size:21px}
 .tienda-v2 .offers-heading>a{font-size:10px}
 .tienda-v2 .ofertas-grid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:86%;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:10px}
 .tienda-v2 .ofertas-grid .illustrated-offer{min-height:185px;scroll-snap-align:start;padding:14px}
 .tienda-v2 .ofertas-grid h3{font-size:16px}
 .tienda-v2 .ofertas-grid strong{font-size:26px}
 .tienda-v2 .grilla{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .tienda-v2 .producto-imagen{height:120px}
 .tienda-v2 .producto-info{padding:11px}
 .tienda-v2 .producto-info h2{font-size:12px}
 .tienda-v2 .precio{font-size:20px}
 .tienda-v2 .agregar-producto{display:flex;flex-wrap:wrap;gap:5px}
 .tienda-v2 .agregar-producto .cantidad{width:35px;flex-shrink:0}
 .tienda-v2 .agregar-producto button{flex:1;min-width:0;font-size:8px;padding:8px 4px;gap:3px}
 .tienda-v2 footer{padding-bottom:90px}
 .tienda-v2 .retail-mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:8;background:#fff;border-top:1px solid #e0dfd3;padding:8px 10px calc(8px + env(safe-area-inset-bottom));justify-content:space-around;box-shadow:0 -3px 14px #1738200b}
 .tienda-v2 .retail-mobile-nav a{display:grid;justify-items:center;gap:4px;color:var(--marca-verde);font-size:9px;font-weight:650;text-decoration:none}
 .tienda-v2 .retail-mobile-nav .icon{height:20px;width:20px;color:var(--marca-rojo)}
}
/* Alto de trabajo definido: las listas se desplazan dentro de sus paneles. */
@media(min-width:901px){
 .gestion-v2.pos-page:has([data-search]) .app-shell{height:100dvh;min-height:0;overflow:hidden}
 .gestion-v2.pos-page:has([data-search]) .topbar{height:60px;min-height:60px;flex:0 0 60px}
 .gestion-v2.pos-page:has([data-search]) main{height:auto;flex:1 1 0;overflow:hidden}
 .gestion-v2.pos-page .sale-layout,.gestion-v2.pos-page .checkout-panel{grid-template-rows:minmax(0,1fr)}
}
@media(min-width:901px) and (max-height:700px){
 .gestion-v2.pos-page:has([data-search]) .topbar{height:44px;min-height:44px;flex-basis:44px}
}
.gestion-v2 .brand .marca-texto,.gestion-v2 .brand .marca-nombre{color:var(--marca-verde)}
.tienda-v2 .producto-info .descripcion{font-size:10px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tienda-v2 .producto-info .marca{margin:0 0 5px;font-size:9px;line-height:1.3}
.tienda-v2 .producto-imagen{height:135px}
@media(max-width:760px){.tienda-v2 .producto-imagen{height:120px}}
.tienda-v2 .offer-copy{width:100%}
.tienda-v2 .ofertas-grid h3{max-width:62%;position:relative}
.tienda-v2 .ofertas-grid strong{display:inline-block;padding:2px 5px 2px 0;background:#fff6e4ed;border-radius:4px;white-space:nowrap}
.tienda-v2 .ofertas-grid p{background:#fff9eef0;border-radius:3px;padding:4px;max-height:3.6em;overflow:auto}
.tienda-v2 .ofertas-grid small{display:block;background:#fff9eeec;padding:3px;border-radius:3px}
.tienda-v2 .offer-caption{font-size:7px;color:#596750;display:block;margin-top:5px}
@media(min-width:901px) and (max-height:700px){
 .gestion-v2.pos-page .quick-button{min-height:78px}
 .gestion-v2.pos-page .quick-button>img{height:26px}
 .gestion-v2.pos-page .search-panel .form-hint{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}
.tienda-v2 .offer-components{font-size:9px;margin-top:6px;color:#3e5239;background:#fff9eef0;padding:4px 6px;border-radius:4px}
.tienda-v2 .offer-components summary{cursor:pointer;font-weight:600}
.tienda-v2 .offer-components p{max-height:none;overflow:visible;margin:6px 0 0;padding:0;background:transparent}
.tienda-v2 .offer-components{line-height:1.3;border:0;margin-top:6px;padding:3px 6px}
.tienda-v2 .offer-components summary{display:list-item;min-height:24px;line-height:24px;padding:0}
/* Estado gráfico explícito; conserva el diseño del PR #12. */
.tienda-v2 .photo-caption{font-size:9px;color:#334f3d;background:#fffffff0;padding:3px 5px}
.tienda-v2 .photo-attribution{font-size:9px;line-height:1.4;color:#4f644f}
.gestion-v2 .product-image .sin-imagen{height:100%;display:grid;place-items:center;font-size:11px;color:#53634d}
.publicacion-filtros{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:12px;align-items:end}
.publicacion-filtros label{display:grid;gap:5px;font-size:12px;font-weight:600}
.publicacion-filtros input,.publicacion-filtros select{width:100%;min-width:0}
@media(max-width:760px){.publicacion-filtros{grid-template-columns:1fr 1fr}.publicacion-filtros label:first-child{grid-column:1/-1}}
