/* ALTIVO 1.5: shared sections and mobile dimensions. Original media stays untouched. */
.ta-classified-view[hidden]{display:none!important}
.ta-classified-view{max-width:1240px;margin:auto;padding:36px 24px 56px;color:#e9f2e4;min-height:380px}
.ta-classified-heading{display:grid;grid-template-columns:48px minmax(0,1fr);gap:8px 16px;align-items:center;margin-bottom:24px}
.ta-classified-heading>svg{grid-row:1/3;width:36px;height:36px;color:#cfbd83}
.ta-classified-heading h1{font:700 32px/1.2 Manrope,'DM Sans',sans-serif;margin:0}
.ta-classified-heading p{margin:0;color:#c2d4c4;font-size:15px;line-height:1.6}
.ta-classified-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px}
.ta-classified-filters button{padding:10px 16px;min-height:48px;border:1px solid #729c7966;background:#153328;color:#dce9db;border-radius:8px;font:600 14px/1.35 'DM Sans',sans-serif;cursor:pointer}
.ta-classified-filters button[aria-pressed=true]{background:#30533b;color:#f4f2dc;border-color:#c1be80}
.ta-classified-empty{padding:32px;border:1px solid #729c7959;border-radius:12px;background:#153328b3;box-shadow:0 14px 30px -24px #000}
.ta-classified-empty h2{font:600 20px/1.4 Manrope,'DM Sans',sans-serif;margin:0 0 8px;color:#e9f2e4}
.ta-classified-empty p{font-size:15px;line-height:1.6;color:#bed0c1;margin:0}
.ta-classified-view :focus-visible{outline:3px solid #d7c38b;outline-offset:3px}
body.ta-classifieds-active>main,body.ta-classifieds-active>#aliados-altivo{display:none!important}
body.ta-preview-light .altivo-header>nav>a[aria-current=page]{color:#e2c98e!important}
body.ta-preview-light .altivo-header>nav>a[data-altivo-route=home]:not([aria-current=page])::after{display:none!important}
body.ta-preview-light .altivo-header>nav>a.ta-classified-link[aria-current=page]{border-bottom:2px solid #b49a56!important}
@media(max-width:800px){
  body.ta-preview-light .altivo-header.ta-header-market{position:relative!important;grid-template-columns:52px minmax(0,1fr) auto!important;gap:8px 10px!important;padding:12px 16px 8px!important;min-height:0!important}
  body.ta-preview-light .ta-header-market .ta-header-search{grid-column:2/4!important;grid-row:1!important;width:100%!important;max-width:100%!important;min-width:0!important}
  body.ta-preview-light .ta-header-market .ta-header-search input{font-size:16px!important;min-width:0!important;width:100%!important;min-height:48px!important;padding:10px!important}
  body.ta-preview-light .ta-header-market .ta-header-search button{width:48px!important;min-width:48px!important;min-height:48px!important}
  body.ta-preview-light .ta-header-market>nav{grid-column:1/-1!important;grid-row:2!important;display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:0 10px!important;padding:4px 0!important;width:100%!important;min-width:0!important}
  body.ta-preview-light .ta-header-market>nav>a{font-size:13px!important;line-height:1.3!important;min-height:48px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:6px 2px!important;white-space:normal!important;text-align:center!important;max-width:100%!important}
  body.ta-preview-light .ta-header-market #taAgstar{grid-column:1/3!important;grid-row:3!important;justify-self:start!important;min-width:0!important}
  body.ta-preview-light .ta-header-market>.altivo-header-actions{grid-column:3!important;grid-row:3!important;justify-self:end!important;min-width:0!important;gap:0!important}
  body.ta-preview-light .ta-header-market .altivo-account-trigger{min-width:48px!important;width:auto!important;min-height:48px!important;padding:6px!important;gap:6px!important}
  body.ta-preview-light .ta-header-market #altivoAccountLabel{display:inline!important;font-size:12px!important;max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  body.ta-preview-light .altivo-header .altivo-brand{width:52px!important;min-width:52px!important;height:52px!important}
  body.ta-preview-light .altivo-header .altivo-brand-logo{width:50px!important;height:50px!important}
  body .ta-agstar-header-button{padding:5px 7px;gap:6px}
  body .ta-agstar-header-button strong{font-size:12px}
  body .ta-agstar-header-button small{font-size:10px}
  body .ta-markets{max-width:100%;min-width:0}
  body .ta-plans-section{padding:28px 16px!important}
  body .ta-plans-section .ta-plans-grid{gap:24px!important}
  body .ta-plans-section .ta-plan-card{padding:20px!important;min-width:0!important}
  body .ta-plans-section .ta-plan-card :is(li,.ta-plan-short,.ta-plan-capacity-note){font-size:14px!important;line-height:1.55!important}
  body .ta-plans-section .ta-plan-choose{font-size:14px!important;min-height:48px!important;white-space:normal!important}
  body .ta-plans-section .ta-plans-note,body .ta-payment-provider p{font-size:13px!important;line-height:1.6!important}
  body .ft-footer :is(.ft-brand-description,.ft-contact-link,.ft-legal-links a){font-size:14px!important;line-height:1.6!important;overflow-wrap:anywhere}
  body .ft-footer-bottom{font-size:12px!important;line-height:1.6!important}
  body .ft-footer-inner{min-width:0!important}
  .ta-classified-view{padding:24px 16px 36px;min-height:320px}
  .ta-classified-heading{grid-template-columns:36px minmax(0,1fr);gap:8px 12px}
  .ta-classified-heading>svg{width:30px;height:30px}
  .ta-classified-heading h1{font-size:27px}
  .ta-classified-heading p{font-size:14px}
  .ta-classified-empty{padding:24px 18px}
  .ta-classified-empty h2{font-size:19px}
  #taStoresView .ta-store-card{grid-template-columns:minmax(0,1fr)!important}
  #taStoresView .ta-store-card__logo{padding:16px!important}
  #taStoresView .ta-store-card__logo img{width:150px;max-width:100%;height:auto}
  #taStoresView .ta-store-card>div{padding:18px!important}
  #taStoresView .ta-store-card p{font-size:14px!important}
  body.productos-altivo .ta-farmer-layout .farmer-hero-inner{grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
  body.productos-altivo .ta-farmer-layout h1{font-size:27px!important}
  body.productos-altivo .ta-farmer-layout .farmer-promise{font-size:16px!important}
  body.productos-altivo .ta-farmer-layout .farmer-description{font-size:14px!important}
  body.productos-altivo .ta-farmer-layout .farmer-cta{grid-column:1!important;grid-row:5!important;justify-self:start!important;font-size:14px!important}
  body.productos-altivo .ta-farmer-media{width:min(100%,360px)!important;justify-self:center!important}
  body.productos-altivo .categories button{min-height:48px!important;font-size:14px!important}
  body.altivo-subpage-body .ta-information-page :is(p,li){font-size:14px!important;line-height:1.6!important}
  body .ic-product-actions .ic-button{font-size:13px!important;min-height:48px!important}
  body .ic-category,body .ic-line{font-size:12px!important}
}
@media(max-width:600px){
  body .ta-plans-section .ta-plans-grid{grid-template-columns:minmax(0,1fr)!important}
  body.ta-preview-light .altivo-hero .altivo-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:minmax(96px,auto)!important;gap:10px!important}
  body.ta-preview-light .altivo-hero .altivo-category-grid .altivo-category-button{grid-template-columns:40px minmax(0,1fr)!important;padding:10px 7px!important;gap:7px!important}
  body.ta-preview-light .altivo-hero .altivo-category-grid .altivo-category-button>img{width:40px!important;height:40px!important;min-width:40px!important;max-width:40px!important}
  body.ta-preview-light .altivo-hero .altivo-category-grid .altivo-category-button strong{font-size:13px!important;line-height:1.3!important;overflow-wrap:anywhere!important}
  body.ta-preview-light .altivo-hero .altivo-category-grid .altivo-category-button small{font-size:12px!important;line-height:1.4!important;overflow-wrap:anywhere!important}
  body.ta-preview-light .altivo-category-heading{display:flex!important;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px!important}
  body.ta-preview-light .altivo-category-heading h1{font-size:26px!important}
  body.ta-preview-light #heroPublish{min-height:48px!important;font-size:14px!important;padding:10px 12px!important}
}
