/* Producători: sigla pe poze, listă producători, antet catalog producător + rândul „Cumperi în siguranță” de pe pagina de produs.
   Se încarcă în ambele design-uri (sigla apare și pe cardurile din designul clasic). */

/* ---------- Sigla brandului pe poza produsului: alb-negru, color la hover ---------- */
.al-brand-mark{position:absolute;top:10px;left:50%;transform:translateX(-50%);z-index:2;display:flex;align-items:center;justify-content:center;max-width:46%;padding:5px 10px;background:rgba(255,255,255,.94);border-radius:999px;box-shadow:0 0 0 1px rgba(32,35,34,.09);pointer-events:none;line-height:1}
.al-brand-mark .al-brand-mark-img,.al-product-image .al-brand-mark .al-brand-mark-img,.pd-main-image .al-brand-mark .al-brand-mark-img{display:block;position:static!important;inset:auto!important;max-height:none!important;width:auto!important;height:16px!important;max-width:92px!important;min-width:0;padding:0!important;margin:0!important;border:0!important;object-fit:contain;filter:grayscale(1) contrast(1.05);opacity:.7;transition:filter .2s ease,opacity .2s ease}
.al-brand-mark .al-brand-name{font:600 10px/1 Arial,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#4a4f4c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.al-product:hover .al-brand-mark-img,.al-product:focus-within .al-brand-mark-img,.ap-stage:hover .al-brand-mark-img,.ap-stage:focus .al-brand-mark-img,.pd-main-image:hover .al-brand-mark-img,.ac-family:hover .al-brand-mark-img,.ac-family:focus .al-brand-mark-img{filter:none;opacity:1}
.al-product-image{position:relative}
.pd-main-image{position:relative}
.ap-stage .ap-brand-mark{top:14px;padding:7px 14px;max-width:42%}
.ap-stage .ap-brand-mark .al-brand-mark-img{height:24px!important;max-width:150px!important}
.ac-family{position:relative}
.ac-family .ac-family-brand{top:6px;right:6px;left:auto;transform:none;padding:3px 7px;max-width:40%}
.ac-family .ac-family-brand .al-brand-mark-img{height:12px!important;max-width:64px!important}
@media (max-width:560px){
  .al-product-image .al-brand-mark{left:auto;right:7px;top:7px;transform:none;padding:4px 7px;max-width:55%}
  .al-product-image .al-brand-mark .al-brand-mark-img{height:13px!important;max-width:72px!important}
  .ap-stage .ap-brand-mark{top:10px}
  .ap-stage .ap-brand-mark .al-brand-mark-img{height:20px!important;max-width:120px!important}
}
@media (prefers-reduced-motion:reduce){.al-brand-mark-img,.ab-tile,.ab-tile-logo-img,.ap-brand-line-logo{transition:none!important}}

/* ---------- Producătorul sub titlul produsului ---------- */
.ap-brand-line{display:inline-flex;align-items:center;gap:11px;margin-top:12px;font-size:12px;line-height:1.4;color:#5d6460;text-decoration:none;max-width:100%}
.ap-brand-line strong{color:#202322;font-weight:600}
a.ap-brand-line:hover span{text-decoration:underline;text-underline-offset:2px}
.ap-brand-line .ap-brand-line-logo{height:24px;width:auto;max-width:110px;object-fit:contain;filter:grayscale(1);opacity:.75;transition:filter .2s,opacity .2s;flex-shrink:0}
.ap-brand-line:hover .ap-brand-line-logo{filter:none;opacity:1}
.ap-brand-line .al-brand-name{font-weight:700;letter-spacing:.05em;text-transform:uppercase;font-size:11px;color:#202322}

/* ---------- „Cumperi în siguranță”: o singură bandă pe toată lățimea, sub zona produsului (celule de aceeași înălțime) + ajutorul lipit dedesubt ---------- */
.ap-buy-col{min-width:0}
.ap-buy-col>.ap-purchase{grid-column:auto;grid-row:auto}
.ap-trust-band{margin:28px 0 4px;background:#fff;border:1px solid #e0e5dd;border-radius:3px}
.ap-assurance{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.ap-assurance li{display:flex;align-items:flex-start;gap:11px;margin:0;padding:16px 18px;font-size:11px;line-height:1.5;color:#5d6659;min-width:0}
.ap-assurance li+li{border-left:1px solid #e8ece5}
.ap-assurance li>span{min-width:0}
.ap-assurance strong{display:block;font-size:12px;font-weight:600;color:#242b27;margin-bottom:2px;line-height:1.35}
.ap-assurance .al-icon{width:20px;height:20px;flex-shrink:0;color:#45633e;margin-top:1px}
.ap-assurance a,.ap-help-bar a{text-decoration:underline;text-underline-offset:2px;color:inherit;white-space:nowrap}
.ap-help-bar{display:flex;align-items:center;gap:11px;margin:0;padding:12px 18px;background:#f3f6ef;border-top:1px solid #e0e5dd;font-size:12px;line-height:1.5;color:#3d463c}
.ap-help-bar strong{color:#242b27;font-weight:600}
.ap-help-bar .al-icon{width:20px;height:20px;flex-shrink:0;color:#45633e}
.pt-seller .pt-company{white-space:nowrap}
@media (max-width:1180px){.ap-overview>.ap-buy-col{grid-column:2;grid-row:1/3}}
@media (max-width:1100px){
  .ap-assurance{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ap-assurance li:nth-child(3){border-left:0}
  .ap-assurance li:nth-child(n+3){border-top:1px solid #e8ece5}
}
@media (max-width:760px){
  .ap-overview>.ap-buy-col{grid-column:1;grid-row:2}
  .ap-trust-band{margin-top:20px}
  .ap-assurance li{flex-direction:column;gap:6px;padding:12px 13px}
  .ap-help-bar{align-items:flex-start;padding:12px 13px}
}
@media (max-width:360px){
  .ap-assurance{grid-template-columns:1fr}
  .ap-assurance li{flex-direction:row}
  .ap-assurance li+li{border-left:0;border-top:1px solid #e8ece5}
}

/* ---------- Antetul catalogului unui producător: titlu în stânga, cardul cu sigla în dreapta ---------- */
.ab-brand-intro .ab-brand-title{margin-top:6px}
.ab-brand-intro .ab-brand-title h1{margin:0}
.ab-brand-intro .ab-brand-title h1 span{color:#737c72;font-weight:400}
.ab-brand-card{display:flex;flex-direction:column;justify-content:space-between;gap:14px;min-width:260px;max-width:340px;padding:20px 22px;background:#fff;border:1px solid #e0e5dd;border-radius:3px;align-self:stretch}
.ab-brand-card-logo{display:flex;align-items:center;justify-content:center;height:78px;padding:6px 10px}
.ab-brand-card-logo .ab-brand-card-img{max-height:100%;max-width:100%;width:auto;height:auto;object-fit:contain}
.ab-brand-card-logo .al-brand-name{font:700 20px/1.1 Arial,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#202322}
.ab-brand-card-meta{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 10px;font-size:12px;color:#5d6460;text-align:center}
.ab-brand-card-link{display:flex;align-items:center;justify-content:center;gap:8px;padding-top:12px;border-top:1px solid #eef1ee;font-size:12px;color:#202322;text-decoration:none}
.ab-brand-card-link:hover{text-decoration:underline;text-underline-offset:2px}
.ab-brand-card-link .al-icon{width:16px;height:16px}
.ac-family--brand{padding-top:24px}
@media (max-width:760px){
  .ab-brand-card{min-width:0;max-width:none;width:100%;flex-direction:row;align-items:center;padding:12px 14px;gap:12px}
  .ab-brand-card-logo{height:44px;width:120px;flex-shrink:0;padding:0}
  .ab-brand-card-meta{justify-content:flex-start;text-align:left;flex:1}
  .ab-brand-card-link{display:none}
}

/* ---------- Lista de producători (/producatori + homepage) ---------- */
.ab-page .ax-heading{margin-bottom:20px}
.ab-filter{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}
.ab-filter a{display:inline-flex;align-items:center;min-height:36px;padding:0 15px;border:1px solid #d7ddd8;border-radius:999px;font-size:12px;color:#2b302d;text-decoration:none;background:#fff}
.ab-filter a:hover{border-color:#202322}
.ab-filter a[aria-current="page"]{background:#202322;border-color:#202322;color:#fff}
.ab-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px}
.ab-grid--home{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.ab-tile{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid #e0e4e0;border-radius:3px;text-decoration:none;color:inherit;transition:border-color .18s,box-shadow .18s}
.ab-tile:hover,.ab-tile:focus-visible{border-color:#202322;box-shadow:0 10px 26px -18px rgba(32,35,34,.55)}
.ab-tile-logo{display:flex;align-items:center;justify-content:center;height:108px;padding:20px 26px;border-bottom:1px solid #eef1ee;background:#fff}
.ab-tile-logo .ab-tile-logo-img{max-height:100%;max-width:100%;width:auto;height:auto;object-fit:contain;filter:grayscale(1);opacity:.68;transition:filter .2s,opacity .2s}
.ab-tile-logo .al-brand-name{font:700 18px/1.1 Arial,sans-serif;letter-spacing:.05em;text-transform:uppercase;color:#4a4f4c;text-align:center}
.ab-tile:hover .ab-tile-logo-img,.ab-tile:focus-visible .ab-tile-logo-img{filter:none;opacity:1}
.ab-tile-body{display:flex;flex-direction:column;gap:6px;padding:14px 16px 15px;flex:1}
.ab-tile-name{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}
.ab-tile-name strong{font-size:15px;font-weight:600;color:#202322;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ab-tile-cats{font-size:11px;line-height:1.5;color:#6b716d}
.ab-tile-count{margin-top:auto;padding-top:4px;display:flex;align-items:center;gap:8px;font-size:12px;color:#202322}
.ab-tile-count .al-icon{width:16px;height:16px;transition:transform .18s}
.ab-tile:hover .ab-tile-count .al-icon{transform:translateX(3px)}
.ab-tile--compact .ab-tile-logo{height:84px;padding:16px 20px}
.ab-tile--compact .ab-tile-body{padding:11px 14px 12px}
.ab-tile--store .ab-tile-logo{background:#f8f9f8}
.ab-tile--store .ab-tile-logo-img{filter:none;opacity:1;max-height:46px}
.ab-tier{display:inline-flex;align-items:center;flex-shrink:0;height:21px;padding:0 9px;border-radius:999px;font:600 10px/1 Arial,sans-serif;letter-spacing:.05em;text-transform:uppercase;background:#eef1ee;color:#3c423e;white-space:nowrap}
.ab-tier--lux{background:#202322;color:#f3d77a}
.ab-tier--premium{background:#ffcf32;color:#202322}
.ab-tier--standard{background:#e7ece8;color:#2f3531}
.ab-tier--entry{background:#e6f1e0;color:#33502b}
.ab-tier--buget{background:#fff;color:#4c524e;box-shadow:inset 0 0 0 1px #cfd6d0}
.ab-empty{font-size:13px;margin:18px 0 0}
.ab-tiers{margin-top:40px;padding-top:26px;border-top:1px solid #e0e4e0;max-width:860px}
.ab-tiers h2{font-size:21px;margin:0 0 14px}
.ab-tiers dl{display:flex;flex-wrap:wrap;gap:10px 34px;margin:0 0 12px}
.ab-tiers dl>div{display:flex;align-items:center;gap:12px;flex:0 1 auto}
.ab-tiers dd{margin:0;font-size:12px;color:#5d6460}
.ab-tiers p{font-size:12px;color:#6b716d;margin:0}
.ab-home{margin-top:36px}
@media (max-width:1100px){.ab-grid--home{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){
  .ab-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .ab-tile-logo{height:82px;padding:14px 14px}
  .ab-tile--compact .ab-tile-logo{height:70px;padding:12px}
  .ab-tile-body,.ab-tile--compact .ab-tile-body{padding:10px 11px 11px}
  .ab-tile-name{flex-direction:column;align-items:flex-start;gap:5px}
  .ab-tile-name strong{font-size:13px;white-space:normal}
  .ab-tile-cats{display:none}
  .ab-brand-logo{height:50px;min-width:96px;padding:8px 12px}
  .ab-filter a{min-height:40px}
}
@media (max-width:340px){.ab-grid{grid-template-columns:1fr}}

/* Meniul principal cu „Producători”: pe tabletă (761–1100 px) rândul rămâne pe o linie, fără să iasă din ecran */
@media (min-width:761px) and (max-width:1100px){
  .al-modern .al-navigation{gap:14px;font-size:12px}
  .al-modern .al-navigation .al-catalog summary{white-space:nowrap}
}

/* Pagina produsului (design nou): cardul brandului sub poza produsului */
.ap-brand-card{display:flex;align-items:center;gap:16px;margin-top:12px;padding:12px 16px;background:#fff;border:1px solid #e0e5dd;color:#202322;text-decoration:none;transition:border-color .2s}
a.ap-brand-card:hover{border-color:#b9c4b1}
.ap-brand-card-logo{display:flex;align-items:center;justify-content:center;width:124px;height:44px;flex-shrink:0;padding-right:16px;border-right:1px solid #eef1ee;box-sizing:content-box}
.ap-brand-card-logo .ap-brand-card-img{max-height:100%;max-width:100%;width:auto;height:auto;object-fit:contain;filter:grayscale(1);opacity:.8;transition:filter .2s,opacity .2s}
a.ap-brand-card:hover .ap-brand-card-img{filter:none;opacity:1}
.ap-brand-card-logo .al-brand-name{font:700 14px/1.1 Arial,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#202322}
.ap-brand-card-text{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}
.ap-brand-card-text .ac-kicker{font-size:8px;letter-spacing:.1em}
.al-modern .ap-brand-card-text strong{font:600 16px/1.2 ALCarmen,Arial,sans-serif}
.ap-brand-card-text small{font-size:11px;color:#5d6460}
.ap-brand-card-go{display:flex;align-items:center;gap:6px;font-size:11px;white-space:nowrap}
.ap-brand-card-go .al-icon{width:16px;height:16px}
a.ap-brand-card:hover .ap-brand-card-go>span{text-decoration:underline;text-underline-offset:2px}
@media (max-width:420px){.ap-brand-card{gap:12px;padding:10px 12px}.ap-brand-card-logo{width:84px;height:36px;padding-right:12px}.ap-brand-card-go>span{display:none}}
/* coloana pozei e ingusta si pe ecrane medii (ex. 820 px): cardul se adapteaza la latimea coloanei */
.ap-gallery{container-type:inline-size}
@container (max-width:440px){.ap-brand-card{gap:12px;padding:10px 12px}.ap-brand-card-logo{width:96px;height:38px;padding-right:12px}.ap-brand-card-go>span{display:none}.ap-brand-card-text small{white-space:nowrap}}
@media (prefers-reduced-motion:reduce){.ap-brand-card,.ap-brand-card-img{transition:none}}
