/* AMMO Showroom: product archive header, bar, pagination, text — same look as the company catalog on ammo.md. */
.am-cat-top{display:flex;flex-direction:column;gap:14px;margin:0 0 22px}
.am-crumbs{font-size:13px;color:var(--am-muted)}
.am-crumbs a{color:var(--am-muted);text-decoration:none}
.am-crumbs a:hover{color:var(--am-cta)}
.am-cat-head{display:flex;flex-direction:column;gap:12px}
.am-cat-head h1{margin:0;font-size:36px;line-height:1.15;font-weight:600;letter-spacing:-.01em;color:var(--am-ink)}
.am-cat-head p{margin:0;font-size:15px;color:var(--am-muted)}
.am-cat-intro{max-width:860px;font-size:15px;line-height:1.6;color:#3A3A3A}
.am-cat-intro p{margin:0;color:#3A3A3A}
.am-cat-count{font-size:14px!important}
.am-chips{display:flex;flex-wrap:wrap;gap:8px}
.am-chips a,.am-chips__more summary{padding:8px 13px;background:var(--am-fill);font-size:14px;font-weight:500;color:var(--am-ink);text-decoration:none;cursor:pointer;list-style:none}
.am-chips a:hover{background:#E8E8E8;color:var(--am-ink)}
.am-chips a.am-chip--up{background:#fff;box-shadow:inset 0 0 0 1px var(--am-line);color:var(--am-muted)}
.am-chips a.am-chip--tag{background:#fff;box-shadow:inset 0 0 0 1px var(--am-line);color:var(--am-ink)}
.am-chips a.am-chip--tag:hover{box-shadow:inset 0 0 0 1px var(--am-ink);background:#fff}
.am-chips a.am-chip--tag.is-on{background:var(--am-ink);color:#fff;box-shadow:none}
.am-chips__more{display:contents}
.am-chips__more summary{color:var(--am-cta);font-weight:600}
.am-chips__more summary::-webkit-details-marker{display:none}
.am-chips__more[open] summary{display:none}

/* sorting bar */
.woo-listing-top{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin:0 0 20px;padding:12px 0;border-top:1px solid var(--am-line);border-bottom:1px solid var(--am-line)}
.woocommerce-ordering{margin:0}
.woocommerce-ordering select{height:38px;border:0!important;border-radius:0!important;padding:0 32px 0 10px;font:inherit;font-size:14px;background-color:var(--am-fill);color:var(--am-ink);box-shadow:none}

/* pagination */
.woocommerce-pagination .page-numbers{display:flex;gap:6px;flex-wrap:wrap;margin:24px 0 0;padding:0;border:0;list-style:none}
.woocommerce-pagination .page-numbers li{margin:0;border:0}
.woocommerce-pagination .page-numbers a,.woocommerce-pagination .page-numbers span{min-width:38px;height:38px;padding:0 10px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;background:var(--am-fill);color:var(--am-ink);font-size:14px;font-weight:500;border:0;border-radius:0}
.woocommerce-pagination .page-numbers span.current{background:var(--am-ink);color:#fff}

/* category text at the bottom */
.am-seo{margin-top:36px;padding-top:24px;border-top:1px solid var(--am-line);display:flex;flex-direction:column;gap:14px;font-size:15px;line-height:1.65;color:#3A3A3A}
.am-seo h2{margin:0;font-size:22px;font-weight:600;color:var(--am-ink)}
.am-seo h3{margin:10px 0 0;font-size:17px;font-weight:600;color:var(--am-ink)}
.am-seo p{margin:0}
.am-seo a{color:var(--am-cta)}
.am-seo .term-description{display:flex;flex-direction:column;gap:14px}
.am-faq{border-top:1px solid var(--am-line)}
.am-faq details{border-bottom:1px solid var(--am-line)}
.am-faq summary{display:flex;justify-content:space-between;gap:12px;padding:16px 0;font-size:15px;font-weight:500;color:var(--am-ink);cursor:pointer;list-style:none}
.am-faq summary::-webkit-details-marker{display:none}
.am-faq summary:after{content:"+";font-size:20px;line-height:1;color:var(--am-muted)}
.am-faq details[open] summary:after{content:"–"}
.am-faq details p{padding:0 0 16px}

@media (max-width:767px){
  .am-cat-head h1{font-size:26px}
  .am-chips{flex-wrap:nowrap;overflow-x:auto;margin-right:-16px;padding-right:16px}
  .am-chips a{flex:0 0 auto}
  .am-chips__more{display:none}
}


/* count + sorting in one line */
.woo-listing-top{justify-content:space-between!important}
.am-bar__count{font-size:14px;color:var(--am-muted)}

/* "Nu știi ce să alegi?" (same as ammo.md) */
.am-lead{display:flex;flex-direction:column;gap:8px;padding:20px;background:var(--am-fill)}
.am-lead--side{position:sticky;top:calc(var(--wp-admin--admin-bar--height,0px) + 20px)}
aside .ct-sidebar:has(.am-lead--side){height:100%}
.am-lead--m{margin:28px 0 0}
@media (min-width:1000px){.am-lead--m{display:none}}
.am-lead strong{font-size:17px;font-weight:600;line-height:1.3;color:var(--am-ink)}
.am-lead span{font-size:14px;line-height:1.5;color:#3A3A3A}
.am-lead .am-btn{min-height:44px;margin-top:6px;width:100%}

/* listing: caps for title, price, count and sorting (exception to the global no-caps rule) */
.am-bar__count,.woocommerce-ordering select{text-transform:uppercase!important;letter-spacing:.02em}
/* product search without results */
.am-nores{display:flex;flex-direction:column;gap:12px;margin:8px 0 24px}
.am-nores p{margin:0;font-size:15px;color:#3A3A3A}


/* brand page: link to the company profile in the catalog */
.am-bprof{display:inline-flex;align-items:center;gap:12px;align-self:flex-start;max-width:100%;padding:10px 14px 10px 10px;background:var(--am-fill);color:var(--am-ink);text-decoration:none;transition:background .2s}
.am-bprof:hover{background:#E8E8E8;color:var(--am-ink)}
.am-bprof__logo{width:40px;height:40px;object-fit:contain;background:#fff;flex:0 0 40px}
.am-bprof__t{display:flex;flex-direction:column;gap:2px;min-width:0}
.am-bprof__t strong{font-size:15px;font-weight:600;line-height:1.2}
.am-bprof__t span{font-size:13px;line-height:1.3;color:var(--am-muted)}
.am-bprof svg{flex:0 0 18px;color:var(--am-cta)}
.am-bprof:hover svg{transform:translateX(2px)}
