/* LOCAL ONLY: categories and filters with less visual weight. */
body.ta-compact-categories.ta-preview-light.ta-ganaderia-active .altivo-hero{display:block!important;padding:24px max(20px,calc((100vw - 1280px)/2))!important;background:#f7faf5!important;border:0!important;border-bottom:1px solid #dce8da!important;min-height:0!important}
body.ta-compact-categories .altivo-hero-copy{display:flex!important;align-items:center!important;justify-content:space-between!important;max-width:none!important;width:100%!important;margin:0 0 18px!important;padding:0!important;gap:16px}
body.ta-compact-categories .altivo-hero-copy>:not(h1):not(a):not(button){display:none!important}body.ta-compact-categories .altivo-hero-copy h1{font-size:27px!important;line-height:1.2!important;margin:0!important}body.ta-compact-categories .altivo-hero-copy :is(a,button){min-height:44px!important;padding:10px 16px!important;font-size:13px!important;margin:0!important}
body.ta-compact-categories.ta-preview-light.ta-ganaderia-active .altivo-hero .altivo-category-picker{background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important;border-radius:0!important}body.ta-compact-categories .altivo-category-picker> :not(.altivo-category-grid){display:none!important}
body.ta-compact-categories.ta-preview-light.ta-ganaderia-active .altivo-hero .altivo-category-grid{display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr))!important;grid-auto-rows:96px!important;gap:10px!important}
body.ta-compact-categories.ta-preview-light.ta-ganaderia-active .altivo-hero .altivo-category-grid .altivo-category-button{display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:8px!important;padding:10px 4px!important;background:#fff!important;border:1px solid #d3e0ce!important;border-radius:13px!important;min-width:0!important;text-align:center!important;box-shadow:none!important}
body.ta-compact-categories.ta-preview-light.ta-ganaderia-active .altivo-hero .altivo-category-grid .altivo-category-button :is(small,.category-arrow){display:none!important}body.ta-compact-categories.ta-preview-light.ta-ganaderia-active .altivo-hero .altivo-category-grid .altivo-category-button>img{width:44px!important;height:44px!important;min-width:44px!important;max-width:44px!important;object-fit:cover!important;border-radius:10px!important}body.ta-compact-categories.ta-preview-light.ta-ganaderia-active .altivo-hero .altivo-category-grid .altivo-category-button strong{font-size:12px!important;color:#243b2c!important;line-height:1.25!important;font-weight:650!important}
body.ta-compact-categories.ta-preview-light.ta-ganaderia-active .altivo-hero .altivo-category-grid .altivo-category-button:is(:hover,[aria-pressed=true]){background:#edf5e9!important;border-color:#67966b!important}
body.ta-compact-categories.ta-ganaderia-active #listados.altivo-layout{display:block!important;padding-top:20px!important}body.ta-compact-categories .altivo-filter-panel{padding:0!important;margin-bottom:20px!important;background:white!important;border:1px solid #d3dfd1!important;border-radius:12px!important;box-shadow:none!important}
body.ta-compact-categories .ta-local-filters>summary{display:flex;align-items:center;min-height:48px;padding:12px 16px;font-size:14px;font-weight:650;color:#23452e;cursor:pointer;list-style:none}body.ta-compact-categories .ta-local-filters>summary::-webkit-details-marker{display:none}body.ta-compact-categories .ta-local-filters>summary:after{content:'+';margin-left:auto;font-size:20px}body.ta-compact-categories .ta-local-filters[open]>summary:after{content:'−'}body.ta-compact-categories .ta-local-filter-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:16px;border-top:1px solid #e0e8dc}body.ta-compact-categories .ta-local-filter-fields .altivo-filter-heading{grid-column:1/-1}
body.ta-compact-categories.productos-altivo .layout{grid-template-columns:minmax(0,1fr)!important;gap:18px!important;padding-top:18px!important}body.ta-compact-categories.productos-altivo .layout>aside{padding:0!important;border:0!important;background:transparent!important}body.ta-compact-categories.productos-altivo .layout>aside>h2,body.ta-compact-categories.productos-altivo .aside-note{display:none!important}
body.ta-compact-categories.productos-altivo .categories{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;margin:0!important;padding:0!important;border:0!important}
body.ta-compact-categories.productos-altivo .categories button{display:flex!important;gap:10px!important;align-items:center!important;min-height:54px!important;padding:12px 14px!important;background:#fff!important;border:1px solid #cfdccd!important;border-radius:12px!important;color:#263c2d!important;font-size:13px!important;line-height:1.3!important;font-weight:600!important}body.ta-compact-categories.productos-altivo .categories button[aria-pressed=true]{background:#edf5e9!important;border-color:#608d64!important;box-shadow:inset 0 0 0 1px #608d64!important;color:#234d2b!important}body.ta-compact-categories .categories button svg{color:#427647!important;width:20px!important;height:20px!important}body.ta-compact-categories .categories button span{margin-left:auto;font-size:11px!important;border-radius:6px;background:#eff4ed;padding:3px 6px}
body.ta-compact-categories.productos-altivo #grid .product .body>p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:14px!important;line-height:1.5!important}body.ta-compact-categories.productos-altivo #grid .product .body{padding:18px!important}body.ta-compact-categories.productos-altivo #grid .product h3{font-size:20px!important;margin:8px 0!important}
body.ta-compact-categories.productos-altivo .farmer-description,body.ta-compact-categories.productos-altivo .farmer-values,body.ta-compact-categories.productos-altivo .farmer-hero .eyebrow{display:none!important}body.ta-compact-categories.productos-altivo .farmer-hero h1{font-size:30px!important;margin:0 0 8px!important}body.ta-compact-categories.productos-altivo .farmer-promise{font-size:15px!important;margin:0!important}body.ta-compact-categories.productos-altivo .farmer-hero{min-height:0!important}body.ta-compact-categories.productos-altivo .farmer-hero-inner{padding-top:24px!important;padding-bottom:24px!important}
@media(max-width:800px){body.ta-compact-categories.ta-preview-light.ta-ganaderia-active .altivo-hero .altivo-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-rows:88px!important;gap:8px!important}body.ta-compact-categories .ta-local-filter-fields{grid-template-columns:repeat(2,minmax(0,1fr))}body.ta-compact-categories.productos-altivo .categories{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}body.ta-compact-categories.productos-altivo .categories button{font-size:12px!important;padding:10px!important;gap:7px!important}}
@media(max-width:480px){body.ta-compact-categories.ta-preview-light.ta-ganaderia-active .altivo-hero{padding:20px 12px!important}body.ta-compact-categories.ta-preview-light.ta-ganaderia-active .altivo-hero .altivo-category-grid .altivo-category-button strong{font-size:10px!important}body.ta-compact-categories .ta-local-filter-fields{grid-template-columns:minmax(0,1fr)}body.ta-compact-categories .altivo-hero-copy h1{font-size:24px!important}}

body.ta-compact-categories .ta-local-filter-fields .altivo-filter-heading{display:none!important}
body.ta-compact-categories.productos-altivo .ta-farmer-media>img{max-height:180px!important;height:180px!important;width:100%!important;object-fit:cover!important;object-position:center 42%!important}body.ta-compact-categories.productos-altivo .farmer-hero .farmer-cta{min-height:44px!important;padding:10px 16px!important;background:#2d633d!important;color:white!important;border-color:#2d633d!important;border-radius:10px!important;font-size:13px!important}body.ta-compact-categories.productos-altivo .farmer-hero-inner{padding:22px!important}body.ta-compact-categories.productos-altivo .farmer-promise{max-width:450px;font-weight:400!important;color:#4d6152!important}body.ta-compact-categories.productos-altivo #publishProduct{min-height:48px!important;color:#285336!important;background:#f2f7ee!important;border:1px solid #bad0b8!important;border-radius:10px!important;font-weight:650!important}
@media(max-width:650px){body.ta-compact-categories.productos-altivo .ta-farmer-media>img{height:130px!important;max-height:130px!important}body.ta-compact-categories.productos-altivo .farmer-hero-inner{padding:18px 16px!important}body.ta-compact-categories.productos-altivo .farmer-hero h1{font-size:26px!important}body.ta-compact-categories.productos-altivo .farmer-promise{font-size:13px!important;line-height:1.4!important}body.ta-compact-categories.productos-altivo .farmer-hero .farmer-cta{margin-top:12px!important}body.ta-compact-categories.productos-altivo .ta-farmer-media{padding:0 16px 16px!important}body.ta-compact-categories.productos-altivo #publishProduct{margin-top:0!important;margin-bottom:10px!important}}

body.ta-marketplace-light.productos-altivo.ta-compact-categories .farmer-hero .farmer-hero-inner{padding:20px!important}body.ta-marketplace-light.productos-altivo.ta-compact-categories .farmer-hero .farmer-promise{font-size:14px!important;line-height:1.45!important;margin:6px 0!important;font-weight:400!important}body.ta-marketplace-light.productos-altivo.ta-compact-categories .farmer-hero .farmer-cta{background:#285e3d!important;color:#fff!important;border-color:#285e3d!important;padding:10px 14px!important;font-size:13px!important;min-height:44px!important}body.ta-marketplace-light.productos-altivo.ta-compact-categories .ta-farmer-media #publishProduct{background:#f3f8ef!important;color:#254d31!important;border-color:#b9cfb6!important;min-height:48px!important;font-size:14px!important}body.ta-marketplace-light.productos-altivo.ta-compact-categories>main{padding-top:18px!important}body.ta-marketplace-light.productos-altivo.ta-compact-categories .farmer-hero h1{font-size:26px!important;margin:0 0 8px!important}
@media(max-width:650px){body.ta-marketplace-light.productos-altivo.ta-compact-categories .farmer-hero .farmer-hero-inner{padding:18px 16px 12px!important}body.ta-marketplace-light.productos-altivo.ta-compact-categories .ta-farmer-media>img{height:110px!important;max-height:110px!important}body.ta-marketplace-light.productos-altivo.ta-compact-categories .farmer-hero h1{font-size:24px!important}}

/* Local compact vertical product cards, matching livestock density. */
body.ta-marketplace-light.productos-altivo.ta-compact-categories #grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;align-items:stretch!important}
body.ta-marketplace-light.productos-altivo.ta-compact-categories #grid .product{display:flex!important;flex-direction:column!important;height:auto!important;min-height:0!important;max-width:none!important;border-radius:15px!important;overflow:hidden}
body.ta-marketplace-light.productos-altivo.ta-compact-categories #grid .product .photo{height:180px!important;min-height:180px!important;max-height:180px!important;aspect-ratio:auto!important;flex:none!important}body.ta-marketplace-light.productos-altivo.ta-compact-categories #grid .product .photo>img{width:100%!important;height:100%!important;display:block;min-height:0!important}
body.ta-marketplace-light.productos-altivo.ta-compact-categories #grid .product .body{display:flex!important;flex-direction:column!important;gap:7px!important;padding:15px!important;min-height:0!important;flex:1}
body.ta-marketplace-light.productos-altivo.ta-compact-categories #grid .product .tag{font-size:10px!important;line-height:1.3!important;margin:0!important}body.ta-marketplace-light.productos-altivo.ta-compact-categories #grid .product h3{font-size:19px!important;line-height:1.25!important;margin:0!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.ta-marketplace-light.productos-altivo.ta-compact-categories #grid .product .ta-campo-card-location{font-size:12px!important;margin:0!important;line-height:1.4!important}
body.ta-marketplace-light.productos-altivo.ta-compact-categories #grid .product .body>p{font-size:13px!important;line-height:1.4!important;margin:0!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-height:37px!important}
body.ta-marketplace-light.productos-altivo.ta-compact-categories #grid .product .unit{font-size:20px!important;line-height:1.3!important;border:0!important;padding:5px 0 0!important;margin:0!important}body.ta-marketplace-light.productos-altivo.ta-compact-categories #grid .product .body>button{margin:5px 0 0!important;padding:10px 14px!important;min-height:48px!important;font-size:14px!important;flex:none!important;border-radius:10px!important}
@media(min-width:651px) and (max-width:1000px){body.ta-marketplace-light.productos-altivo.ta-compact-categories #grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:650px){body.ta-marketplace-light.productos-altivo.ta-compact-categories #grid{grid-template-columns:minmax(0,1fr)!important;gap:16px!important}body.ta-marketplace-light.productos-altivo.ta-compact-categories #grid .product .photo{height:175px!important;min-height:175px!important;max-height:175px!important}}

/* Show the complete original product photo inside the compact media area. */
body.ta-marketplace-light.productos-altivo.ta-compact-categories #grid .product .photo{background:#f5f8f3!important}body.ta-marketplace-light.productos-altivo.ta-compact-categories #grid .product .photo>img{object-fit:contain!important;object-position:center!important;background:#f5f8f3!important}

body.ta-marketplace-light.productos-altivo.ta-compact-categories #grid .product .photo{position:relative!important;overflow:hidden!important;background:#e7ede1!important;isolation:isolate}body.ta-marketplace-light.productos-altivo.ta-compact-categories #grid .product .photo>img.ta-card-photo-backdrop{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;filter:blur(14px) brightness(.88)!important;transform:scale(1.18)!important;opacity:.7!important;z-index:0!important;pointer-events:none}body.ta-marketplace-light.productos-altivo.ta-compact-categories #grid .product .photo>img:not(.ta-card-photo-backdrop){position:relative!important;z-index:1!important;object-fit:contain!important;background:transparent!important}body.ta-marketplace-light.productos-altivo.ta-compact-categories #grid .product .photo>span{z-index:2!important}

body.ta-marketplace-light.ta-preview-light.ta-compact-categories:not(.ta-ganaderia-active)>main>.altivo-hero,body.ta-marketplace-light.ta-preview-light.ta-compact-categories:not(.ta-ganaderia-active)>main>#listados{display:none!important}
