/* All About Material 1.0.50 — brand directory: unclaimed listings, claiming, directory filters */

/* Unclaimed badge on the brand page */
.aam-brand-verified.is-unclaimed .dashicons-info-outline{color:#b26b00}
.aam-brand-verified.is-unclaimed{color:var(--aam-muted)}

/* Claim button in the brand hero */
.aam-site .aam-btn-claim{border-style:dashed}

/* "Is this your company?" box in the contact column */
.aam-brand-claim-box{margin:16px 0 4px;padding:14px 16px;border:1px dashed color-mix(in srgb,var(--brand,#1f3a33) 45%,transparent);border-radius:14px;background:color-mix(in srgb,var(--brand,#1f3a33) 6%,#fff)}
.aam-brand-claim-box strong{display:block;font-size:15px;margin-bottom:4px}
.aam-brand-claim-box p{margin:0 0 10px;font-size:13.5px;line-height:1.5;color:var(--aam-muted)}

/* Join-as-a-brand: claim banner */
.aam-claim-banner{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border-radius:14px;background:#eef7f2;border:1px solid #cfe7da;margin-bottom:6px}
.aam-claim-banner .dashicons{color:#0b8a5f;width:22px;height:22px;flex:none;margin-top:1px}
.aam-claim-banner strong{display:block;font-size:15px}
.aam-claim-banner small{display:block;color:var(--aam-muted);font-size:13px;line-height:1.5;margin-top:2px}

/* Team dashboard: claim note above a brand row */
.aam-claim-note{display:flex;gap:8px;align-items:flex-start;margin:10px 0 -4px;padding:10px 12px;border-radius:10px;background:#fff7e8;border:1px solid #f2dfb8;font-size:13px;line-height:1.45}
.aam-claim-note .dashicons{color:#b26b00;width:18px;height:18px;flex:none}

/* Brands directory filter bar: room for the category + type selects */
.aam-brand-filter-bar{flex-wrap:wrap}
.aam-brand-filter-bar select[name="segment"]{min-width:220px;max-width:280px}
@media (max-width:780px){
  .aam-brand-filter-bar select[name="segment"],.aam-brand-filter-bar select[name="show"]{min-width:0;max-width:none;width:100%}
}
@media (min-width:1101px){
  .aam-site .aam-brand-filter-bar{display:grid!important;grid-template-columns:minmax(0,1.8fr) repeat(4,minmax(0,1fr)) auto!important}
  .aam-site .aam-brand-filter-bar select[name="segment"]{min-width:0;max-width:none}
}
@media (min-width:781px) and (max-width:1100px){
  .aam-site .aam-brand-filter-bar{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .aam-site .aam-brand-filter-bar .aam-filter-search{grid-column:1/-1}
  .aam-site .aam-brand-filter-bar select[name="segment"]{min-width:0;max-width:none}
}
@media (max-width:780px){
  .aam-site .aam-brand-filter-bar .aam-filter-search,.aam-site .aam-brand-filter-bar select[name="segment"]{grid-column:1/-1}
}
@media (max-width:780px){
  .aam-site .aam-brand-filter-bar .aam-filter-search{order:1}
  .aam-site .aam-brand-filter-bar select[name="location"]{order:2}
  .aam-site .aam-brand-filter-bar select[name="show"]{order:3}
  .aam-site .aam-brand-filter-bar select[name="segment"]{order:4}
  .aam-site .aam-brand-filter-bar select[name="sort"]{order:5}
  .aam-site .aam-brand-filter-bar button{order:6;grid-column:auto!important;width:100%}
}

/* Products imported from brand websites */
.aam-product-image{position:relative}
.aam-image-credit{position:absolute;right:10px;bottom:10px;padding:3px 8px;border-radius:6px;background:rgba(0,0,0,.55);color:#fff;font-size:11px;line-height:1.4;letter-spacing:.01em}
.aam-new-badge{position:absolute;left:14px;top:14px;padding:4px 10px;border-radius:999px;background:var(--aam-primary,#940000);color:#fff;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.aam-site .aam-brand-site-link{display:inline-flex;align-items:center;gap:6px;margin:-8px 0 18px;color:var(--aam-primary)!important;font-size:14px;font-weight:600}
.aam-site .aam-brand-site-link .dashicons{width:16px;height:16px}
.aam-spec-empty{margin:0;color:var(--aam-muted);font-size:14px;line-height:1.55}

/* Logos: show the whole mark (wide wordmarks were being cropped to a square) */
.aam-site .aam-featured-brand-image.has-image{background:#fff!important}
.aam-site .aam-featured-brand-image.has-image img,
.aam-site .aam-brand-head-logo img{width:100%!important;height:100%!important;object-fit:contain!important;padding:12%!important;background:#fff;box-sizing:border-box}
.aam-site .aam-brand-head-logo{background:#fff}
.aam-site .aam-ss-row.is-brands .aam-ss-thumb{background:#fff}
.aam-site .aam-ss-row.is-brands .aam-ss-thumb img{object-fit:contain!important;padding:4px;box-sizing:border-box}
