/* ALTIVO local: capa de presentación reversible, sin cambios de datos o lógica. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
:root{--av-ink:#17271e;--av-muted:#526259;--av-green:#216746;--av-line:#dce6df;--av-soft:#f4f7f4;--av-radius:16px;--av-shadow:0 12px 36px -20px #183b2a38}
body{font-family:Inter,system-ui,sans-serif!important;color:var(--av-ink);background:#fff;line-height:1.55;-webkit-font-smoothing:antialiased}
*,*::before,*::after{box-sizing:border-box}button,input,select,textarea{font-family:inherit}button,a,input,select,textarea{touch-action:manipulation}button,a{transition:background-color .18s,border-color .18s,box-shadow .18s,transform .18s}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #36835e!important;outline-offset:3px}::selection{background:#d5eadd;color:#173b27}
body .altivo-header{background:#fffffff5!important;border-bottom:1px solid var(--av-line)!important;box-shadow:0 4px 22px -18px #102d1d50!important;backdrop-filter:blur(14px)}body .altivo-header nav a{letter-spacing:-.015em;border-radius:8px}body .altivo-header nav a:hover{color:var(--av-green)!important;background:#f0f6f1}body .altivo-brand-logo{filter:drop-shadow(0 3px 5px #18351c12)}body .altivo-header-actions button,body .altivo-header-actions a{border-radius:10px!important;box-shadow:none!important;font-weight:600!important}
body .altivo-search-wrap,body .ta-header-search,body .ta-header-search-form{border-radius:12px!important;border-color:var(--av-line)!important;box-shadow:0 2px 7px #19392204!important}body .altivo-search-wrap:focus-within{box-shadow:0 0 0 3px #21674614!important;border-color:var(--av-green)!important}
body :is(.altivo-button,.ta-store-card__catalog,.ta-store-card__contact,.ta-sc-actions a){border-radius:10px!important;font-weight:600!important;text-decoration:none!important;line-height:1.45!important}body :is(.altivo-button-primary,.ta-publicar-ganado){background:#216746!important;color:white!important;border-color:#216746!important;box-shadow:0 5px 14px -8px #21674680!important}body :is(.altivo-button-primary,.ta-publicar-ganado):hover{background:#184e34!important;transform:translateY(-1px)}body .altivo-button-secondary{background:#f7faf7!important;border:1px solid var(--av-line)!important;color:#234b34!important}
body :is(.altivo-category-picker,.altivo-filter-panel,.ta-campo-filters){border:1px solid var(--av-line)!important;border-radius:var(--av-radius)!important;box-shadow:var(--av-shadow)!important;background:#f7faf7!important}body .altivo-category-button{border:1px solid var(--av-line)!important;border-radius:12px!important;background:#fff!important;color:var(--av-ink)!important;box-shadow:0 2px 5px #193b2203!important}body .altivo-category-button:hover,body .altivo-category-button[aria-pressed=true]{border-color:#83ae90!important;background:#eff7f0!important;box-shadow:0 5px 18px -12px #21674670!important}body .altivo-category-button strong{color:var(--av-ink)!important;font-weight:650!important}body .altivo-category-button small{color:var(--av-muted)!important}
body :is(.altivo-card,.ta-product-card,.ta-job-card,.ta-classified-card){border:1px solid var(--av-line)!important;border-radius:var(--av-radius)!important;box-shadow:0 5px 22px -16px #173c2b33!important;overflow:hidden;background:#fff!important}body :is(.altivo-card,.ta-product-card,.ta-job-card,.ta-classified-card):hover{border-color:#9dbfa8!important;box-shadow:0 14px 30px -18px #173c2b55!important}body :is(.altivo-card h2,.altivo-card h3,.ta-product-card h2,.ta-job-card h2){letter-spacing:-.025em;line-height:1.3}
body #taStoresView.ta-stores-premium{background:#fff!important}body .ta-stores-heading{padding-bottom:24px!important;border-color:var(--av-line)!important}body .ta-stores-heading h1{font-size:clamp(28px,3.5vw,44px)!important;font-weight:700!important;letter-spacing:-.045em!important;color:var(--av-ink)!important}body .ta-stores-heading p{color:var(--av-muted)!important}body .ta-stores-layout aside{background:var(--av-soft)!important;border:1px solid var(--av-line)!important;border-radius:14px!important}body .ta-store-card{border-radius:18px!important;box-shadow:0 6px 22px -15px #183b2a35!important;padding:24px!important;align-items:center!important;gap:22px!important}body .ta-store-card:hover{box-shadow:0 14px 36px -21px #183b2a60!important;transform:translateY(-2px)}body .ta-store-card__logo{background:#fff!important;border:1px solid #edf1ec!important;border-radius:12px!important;padding:14px!important}body .ta-store-card h2{font-size:19px!important;letter-spacing:-.025em!important;line-height:1.35!important}body .ta-store-card p{line-height:1.6!important}body .ta-store-card__meta{font-size:12px!important;color:var(--av-muted)!important}body .ta-store-card__contact{box-shadow:none!important;border:1px solid #b8e4c3!important;background:#e3f6e6!important;color:#215638!important}body .ta-store-card__contact:hover{background:#ceedd4!important}
body .ta-sc{padding-top:28px!important;padding-bottom:32px!important}body .ta-sc-panel{border-radius:20px!important;box-shadow:var(--av-shadow)!important}body .ta-sc-tile{border-radius:13px!important;box-shadow:none!important;border-color:var(--av-line)!important}body .ta-sc-tile :is(h3,strong){letter-spacing:-.025em}body .ta-sc-heading h2{font-size:clamp(25px,3vw,36px)!important;letter-spacing:-.04em!important}body .ta-sc-heading p{color:var(--av-muted)!important}body :is(.ta-sc-prev,.ta-sc-next){box-shadow:0 4px 16px #163b2520!important;background:#fffffff2!important;border:1px solid #b3cdb9!important}body :is(.ta-sc-prev,.ta-sc-next):hover{background:#edf6ed!important;border-color:#43835a!important}
body :is(.ta-inline-view,.ta-bq-view,.ta-colmena-view,.ta-electered-view,.ta-flotasnet-view,.ta-classified-view){color:var(--av-ink)!important}body :is(.ta-bq-product,.ta-el-service,.ta-col-product,.ta-fn-service){border-radius:16px!important;border-color:var(--av-line)!important;box-shadow:var(--av-shadow)!important}body :is(.ta-inline-view,.ta-classified-view) h1{letter-spacing:-.04em!important;line-height:1.15!important}body :is(.ta-inline-view,.ta-classified-view) p{line-height:1.65}
body :is(dialog,.altivo-account-dialog,.altivo-dialog){border-radius:20px!important;border:1px solid var(--av-line)!important;box-shadow:0 28px 90px #142b2440!important}dialog::backdrop{background:#10251e80!important;backdrop-filter:blur(5px)}body :is(input:not([type=checkbox]):not([type=radio]),select,textarea){border-radius:9px;border-color:#cbd9cf;color:#1c3023}body :is(input,select,textarea):focus{border-color:#397d53}body :is(.altivo-account-intro,.altivo-account-welcome){border-radius:14px!important}body label{line-height:1.5}
body #planes-altivo{border-top:1px solid #e4ebe5;border-bottom:1px solid #e4ebe5}body #planes-altivo h2{letter-spacing:-.04em!important}body .ta-plan-card{border-radius:18px!important;box-shadow:0 12px 30px -20px #132b2745!important}body .ta-plan-card:hover{box-shadow:0 20px 40px -22px #132b2770!important}body #aliados-altivo{border-top:1px solid #e2e9e3!important}body #aliados-altivo h2{letter-spacing:-.025em!important}body .ft-footer{background:#102d23!important;border-top:1px solid #294b3a!important}body .ft-footer a{color:#e4eee5}body .ft-footer p{line-height:1.75}body #taIntranet{border:1px solid var(--av-line)!important;border-radius:18px!important;background:#f4f7f5!important}body #taIntranet :is(article,.ta-intranet-card){border-radius:12px!important;border-color:var(--av-line)!important}body #taAgstar{border-color:var(--av-line)!important;border-radius:10px!important}body #cb-panel{border-radius:20px!important;box-shadow:0 18px 60px #142b2430!important}
@media(max-width:767px){body .ta-store-card{padding:18px!important;gap:15px!important}body .altivo-header nav a{font-size:13px!important;white-space:nowrap}body .ta-sc-panel{border-radius:14px!important}body :is(dialog,.altivo-account-dialog){max-width:calc(100vw - 24px)!important}body .ta-stores-layout{min-width:0}body :is(.ta-sc-heading,.ta-stores-heading){overflow-wrap:anywhere}body .ta-store-card h2{font-size:17px!important}body .ta-store-card a{max-width:100%}body .ta-sc-tile{min-width:0}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Local mobile usability: preserve the existing auth and publication flows. */
.ta-ux-hint{display:block;font-size:13px;line-height:1.5;color:#455b4b;margin-top:6px}
.ta-ux-hint[hidden]{display:none}
body input[aria-invalid=true]{border-color:#b52838!important}
body .ta-share-actions{display:flex;gap:10px;flex-wrap:wrap}
body .ta-share-actions a,body .ta-share-actions button{min-height:48px;display:inline-flex;align-items:center;justify-content:center}
@media(max-width:767px){
 body :is(dialog,.ta-publish-dialog){max-height:calc(100vh - 24px)!important;max-height:calc(100dvh - 24px)!important;overscroll-behavior:contain}
 body :is(dialog input,dialog select,dialog textarea){font-size:16px!important;max-width:100%;min-width:0;scroll-margin-block:72px}
 body :is(dialog button,dialog .primary,.ta-photo button){min-height:48px;min-width:44px}
 body :is(dialog .form-grid,dialog .ta-publish-grid){grid-template-columns:minmax(0,1fr)!important}
 body dialog :is(fieldset,.form-grid>*,.ta-publish-grid>*){min-width:0}
 body :is(#publisher,#productAccess){overflow-y:auto!important;width:calc(100% - 24px)!important}
 body .ta-share-actions>*{flex:1 1 140px}
 body :is(.altivo-account-form,.ta-publish-body){padding-bottom:max(20px,env(safe-area-inset-bottom))!important}
}

/* The header livestock action belongs only to the livestock section. */
body:not(.ta-ganaderia-active) .altivo-header #publishButton{display:none!important}

/* Campo: matching green actions and a clearly framed product sheet. */
body.ta-marketplace-light.productos-altivo #grid .product .body>button,body #detail .ta-campo-detail-actions a.primary{display:flex!important;align-items:center;justify-content:center;gap:10px;min-height:50px!important;padding:12px 20px!important;background:linear-gradient(135deg,#347a3d,#245c30)!important;background-image:linear-gradient(135deg,#347a3d,#245c30)!important;color:#fff!important;border:1px solid #2c6935!important;border-radius:12px!important;font-weight:700!important;box-shadow:0 5px 14px -8px #245c3070!important;transition:background .18s,box-shadow .18s,transform .18s}
body.ta-marketplace-light.productos-altivo #grid .product .body>button:hover,body #detail .ta-campo-detail-actions a.primary:hover{background:#245c30!important;background-image:none!important;color:#fff!important;box-shadow:0 8px 18px -9px #245c3080!important;transform:translateY(-1px)}
body.ta-marketplace-light.productos-altivo #grid .product .body>button svg{color:currentColor!important}body.ta-marketplace-light.productos-altivo #grid .product{border:1px solid #a9c6ad!important;border-radius:16px!important;overflow:hidden;box-shadow:0 5px 20px -14px #255c3040!important}
body.productos-altivo #detail{border:2px solid #80aa88!important;border-radius:20px!important;box-shadow:0 24px 70px #173f2b38!important;background:#fff!important}body #detail .ta-campo-detail-media>img{border:1px solid #c5d9c8;border-radius:14px}body #detail .ta-campo-detail-table{border-color:#b6d0bb;background:#f8fbf7;border-radius:12px}body #detail .ta-campo-detail-table>div{border-color:#d5e3d6}body #detail #closeDetail{border-radius:50%;background:#f3f8f1;color:#2c6935}
@media(prefers-reduced-motion:reduce){body #grid .product .body>button,body #detail .ta-campo-detail-actions a.primary{transition:none!important;transform:none!important}}

/* Compact product sheet: make seller contact available before the specifications. */
body.productos-altivo #detail{max-width:940px!important;padding:52px 20px 18px!important}body #detail .ta-campo-detail-layout{gap:22px;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}body #detail .ta-campo-detail-media>img{height:280px!important;aspect-ratio:auto;object-fit:contain}body #detail h2{font-size:25px!important;margin:6px 0!important}body #detail .ta-campo-detail-location{margin:0 0 8px}body #detail .ta-campo-detail-price{font-size:26px;margin-bottom:12px}body #detail .ta-campo-detail-price small{display:inline;font-size:13px}body #detail .ta-campo-detail-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 16px}body #detail .ta-campo-detail-actions .ta-campo-detail-phone{color:#234d2c;font-size:16px;font-weight:700;min-height:44px;display:flex;align-items:center;text-decoration:underline}body #detail .ta-campo-detail-actions a.primary{flex:1 1 170px;padding:10px 14px!important;min-height:46px!important}body #detail .ta-campo-detail-table>div{padding:8px 10px}body #detail h3{margin:16px 0 6px;font-size:15px}body #detail p{font-size:14px;line-height:1.5;margin:8px 0}body #detail .ta-campo-detail-note{font-size:12px}
@media(max-width:700px){body.productos-altivo #detail{padding:52px 14px 16px!important}body #detail .ta-campo-detail-layout{grid-template-columns:minmax(0,1fr);gap:14px}body #detail .ta-campo-detail-media>img{height:180px!important}body #detail .ta-campo-detail-thumbs{margin-top:6px;gap:6px}body #detail .ta-campo-detail-thumbs button{width:52px;min-height:44px}body #detail .ta-campo-detail-thumbs img{height:36px}body #detail h2{font-size:22px!important}}

/* Embedded catalogue dialogs must fit the outer browser, not the tall iframe. */
html.ta-campo-embedded body.productos-altivo #detail[open]{max-height:var(--ta-campo-screen,calc(100dvh - 32px))!important;overflow-y:auto!important;overscroll-behavior:contain!important;scrollbar-gutter:stable;box-sizing:border-box!important}html.ta-campo-embedded body #detail #closeBottom{position:sticky;bottom:0;background:#fff!important;box-shadow:0 -5px 14px #fff;z-index:2;width:100%}

body.productos-altivo #grid .product .ta-campo-card-location{display:block;color:#405e48!important;font-size:14px!important;line-height:1.4;margin:6px 0 12px;font-weight:500;overflow-wrap:anywhere}
