/* Alinhamento refinado e hierarquia consistente da vitrine. */
:root{--apmed-green:#069440;--apmed-green-hover:#057b39;--apmed-green-active:#04692f}
.page-width{width:min(1160px,calc(100% - 64px))}
.announcement-inner{width:min(1160px,calc(100% - 64px))}
.categories-section,.products-section>.page-width{max-width:1160px}
.category-grid,.product-grid{max-width:1080px;margin-inline:auto}
.compact-heading{position:relative;justify-content:center;text-align:center;margin-bottom:23px}
.compact-heading>div{text-align:center}
.compact-heading .subtle-link{position:absolute;right:0;top:50%;transform:translateY(-50%)}
.section-heading h2{line-height:1.15;letter-spacing:-.045em}
.products-heading{display:flex;flex-direction:column;align-items:center;text-align:center;gap:18px;margin-bottom:21px}
.products-heading>div:first-child{max-width:600px}
.products-heading p{margin-inline:auto;max-width:470px}
.product-controls{justify-content:center;flex-wrap:wrap}
.catalog-meta{max-width:1080px;margin:0 auto 14px;padding:0 0 11px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px;color:var(--muted);font-size:10px}
.catalog-meta span:first-child{font-weight:700;color:#3f5e72}
.catalog-note{max-width:1080px;margin-inline:auto}
.contact-copy{text-align:center;justify-self:center}
.contact-copy h2,.contact-copy p{margin-inline:auto}
.hero-photo{position:relative;min-height:365px;overflow:hidden;border-radius:14px;background:#dce6e8;isolation:isolate;box-shadow:0 20px 48px rgba(21,56,78,.14)}
.hero-photo:before,.hero-photo:after{display:none}
.hero-photo>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:56% center}
.hero-photo-shade{position:absolute;inset:0;background:linear-gradient(0deg,rgba(9,39,59,.68),transparent 50%);z-index:0}
.hero-photo .art-caption{left:20px;top:auto;bottom:20px;background:rgba(255,255,255,.94);box-shadow:0 8px 22px rgba(15,39,53,.15)}
.hero-photo .art-badge{right:18px;bottom:21px;top:auto;left:auto;width:auto;height:auto;min-height:40px;border-radius:9px;padding:8px 12px;background:#fff;color:#175d83;box-shadow:0 8px 22px rgba(15,39,53,.15)}
.hero-photo .art-badge span{font-size:12px;letter-spacing:.1em}
.hero-photo .art-badge small{font-size:7px;color:#69818e}
.product-visual{background:#fff;overflow:hidden}
.product-photo{display:block;width:100%;height:100%;padding:17px;object-fit:contain;background:#fff}
.product-visual .demo-tag{z-index:1;background:rgba(246,249,250,.94);color:#21688e;border:1px solid #e6edf0}
.product-details .price strong{font-size:12px;letter-spacing:-.02em}
.cart-thumb img{display:block;width:100%;height:100%;padding:4px;object-fit:contain;background:#fff}
.cart-row-end{justify-content:flex-start}
.cart-footer>p{font-size:9px;line-height:1.5}
.button-primary,.whatsapp-checkout{background:var(--apmed-green)}
.button-primary:hover,.whatsapp-checkout:hover{background:var(--apmed-green-hover)}
.button-primary:active,.whatsapp-checkout:active{background:var(--apmed-green-active)}
.button-text{color:var(--apmed-green)}
.button-text:hover{color:var(--apmed-green-hover)}
.add-button{background:var(--apmed-green);border-color:var(--apmed-green);color:#fff}
.add-button:hover{background:var(--apmed-green-hover);border-color:var(--apmed-green-hover)}
.add-button:active{background:var(--apmed-green-active);border-color:var(--apmed-green-active)}
.filter-button:hover{background:#edf7f0;border-color:#cfe6d7;color:#087b3b}
.filter-button.selected,.filter-button.selected:hover{background:var(--apmed-green);border-color:var(--apmed-green);color:#fff}
.nav-whatsapp{color:var(--apmed-green)}
.bag-count{background:#e8f5ed;color:#087b3b}
.button-light{color:#087b3b}
.button-light:hover{background:#e4f3e9;color:#066b32}
.button:focus-visible,.add-button:focus-visible,.filter-button:focus-visible{outline:3px solid rgba(6,148,64,.28);outline-offset:3px}
@media(max-width:760px){
  .page-width,.announcement-inner{width:calc(100% - 36px)}
  .compact-heading{padding-bottom:27px;margin-bottom:17px}
  .compact-heading .subtle-link{top:auto;right:auto;bottom:0;left:50%;transform:translateX(-50%)}
  .products-heading{gap:13px}
  .product-controls{justify-content:center}
  .catalog-meta{align-items:flex-start;flex-direction:column;gap:4px;font-size:8px;margin-bottom:10px;padding-bottom:9px}
  .contact-copy{justify-self:stretch}
  .hero-photo{min-height:290px;height:290px}
  .hero-photo .art-caption{left:10px;bottom:10px;padding:7px 9px}
  .hero-photo .art-badge{right:10px;bottom:11px;min-height:35px;padding:6px 8px}
  .hero-photo .art-badge span{font-size:9px}
  .product-photo{padding:10px}
}


/* Ícones novos das categorias enviados para a vitrine Apmed. */
.category-illustration{background:#edf6ef}
.category-icon-image{display:block;width:100%;height:100%;padding:6px;object-fit:contain}
@media(max-width:760px){.category-icon-image{padding:5px}}


/* Normalize category icon artwork inside the tile. */
.category-illustration{overflow:hidden;display:grid;place-items:center}
.category-illustration .category-icon-image{display:block;width:36px;height:36px;max-width:36px;max-height:36px;padding:0;object-fit:contain;flex:none}
@media(max-width:760px){.category-illustration .category-icon-image{width:28px;height:28px;max-width:28px;max-height:28px}}


/* Footer logo aligned with header logo size. */
.footer-brand{width:176px;max-width:100%;flex:0 1 176px}
.footer-logo{width:100%;height:auto}
