/* Producători + colecții: pagina /producatori/, arhiva producătorului, meniul din bara secundară. */

.cz-brands-page { max-width: 1272px; margin: 0 auto; padding: 28px 24px 64px; color: #101d36; font-family: 'DM Sans', Arial, sans-serif; }
.cz-brands-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: #5b6770; }
.cz-brands-crumbs a { color: #5b6770; text-decoration: none; }
.cz-brands-crumbs a:hover { color: #101d36; }
.cz-brands-crumbs [aria-current] { color: #101d36; font-weight: 600; }

.cz-brands-head { margin: 18px 0 30px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.cz-brands-head h1 { margin: 0; font-family: 'Barlow Condensed', Impact, sans-serif; font-weight: 800; font-size: clamp(40px, 6vw, 56px); line-height: 1; text-transform: uppercase; }
.cz-brands-head p { margin: 10px 0 0; font-size: 16px; color: #5b6770; }
.cz-brands-head .cz-brands-meta { margin: 0; font-size: 14px; }
.cz-brands-empty { color: #5b6770; }

.cz-brands-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 18px; }
.cz-brand-card { background: #fff; border: 1px solid #dfe4e7; border-radius: 12px; padding: 22px; display: flex; flex-direction: column; gap: 14px; transition: border-color .15s, box-shadow .15s; }
.cz-brand-card:hover { border-color: #9daeb8; box-shadow: 0 8px 24px rgba(16, 29, 54, .08); }
.cz-brand-card-name { height: 76px; border-radius: 8px; background: #f0f3f6; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.cz-brand-wordmark { font-family: 'Barlow Condensed', Impact, sans-serif; font-weight: 800; font-size: 34px; letter-spacing: 1px; text-transform: uppercase; color: #101d36; }
.cz-brand-card-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.cz-brand-card-row h2 { margin: 0; font-size: 18px; font-weight: 700; font-family: inherit; }
.cz-brand-card-row h2 a { color: #101d36; text-decoration: none; }
.cz-brand-card-row span { font-size: 13px; color: #5b6770; white-space: nowrap; }
.cz-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cz-chips a { display: inline-flex; align-items: center; min-height: 30px; font-size: 12px; font-weight: 600; background: #e8f2ff; color: #1d3a63; border-radius: 99px; padding: 0 11px; text-decoration: none; }
.cz-chips a:hover { background: #d4e8ff; }
.cz-brand-card-more { margin-top: auto; font-size: 14px; font-weight: 700; color: #2f5b9a; text-decoration: none; }
.cz-brand-card-more:hover { text-decoration: underline; }

.cz-brands-subtitle { margin: 52px 0 18px; font-family: 'Barlow Condensed', Impact, sans-serif; font-weight: 800; font-size: 34px; text-transform: uppercase; }
.cz-collections-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 18px; }
.cz-collection-card { background: #fff; border: 1px solid #dfe4e7; border-radius: 12px; overflow: hidden; text-decoration: none; color: #101d36; display: flex; flex-direction: column; transition: border-color .15s; }
.cz-collection-card:hover { border-color: #9daeb8; }
.cz-collection-img { background: #f0f3f6; height: 200px; display: flex; align-items: center; justify-content: center; }
.cz-collection-img img { max-width: 82%; max-height: 176px; width: auto; height: auto; object-fit: contain; }
.cz-collection-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.cz-collection-brand { font-size: 12px; font-weight: 700; color: #5b6770; text-transform: uppercase; letter-spacing: .5px; }
.cz-collection-name { font-size: 16px; font-weight: 700; }
.cz-collection-count { font-size: 13px; color: #5b6770; }

/* Arhiva producătorului */
.cz-brand-hero { margin: 18px 0 22px; background: #101d36; color: #fff; border-radius: 14px; padding: 28px 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px 28px; }
.cz-brand-hero-mark { width: 180px; height: 96px; border-radius: 10px; background: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-family: 'Barlow Condensed', Impact, sans-serif; font-weight: 800; font-size: 34px; letter-spacing: 1px; text-transform: uppercase; color: #101d36; text-align: center; padding: 0 10px; box-sizing: border-box; }
.cz-brand-hero-text { flex: 1 1 320px; min-width: 0; }
.cz-brand-hero h1 { margin: 0; font-family: 'Barlow Condensed', Impact, sans-serif; font-weight: 800; font-size: clamp(34px, 5vw, 48px); line-height: 1; text-transform: uppercase; color: #fff; }
.cz-brand-hero-desc, .cz-brand-hero-desc p { margin: 10px 0 0; font-size: 15px; color: #c9d4e3; max-width: 620px; }
.cz-brand-hero-meta { font-size: 14px; color: #c9d4e3; }

.cz-brand-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.cz-brand-tabs a { min-height: 44px; padding: 0 18px; border-radius: 99px; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; text-decoration: none; background: #fff; color: #101d36; border: 1px solid #dfe4e7; }
.cz-brand-tabs a:hover { border-color: #9daeb8; }
.cz-brand-tabs a[aria-current] { background: #101d36; color: #fff; border-color: #101d36; }

@media (max-width: 600px) {
    .cz-brands-page { padding: 20px 16px 48px; }
    .cz-brand-hero { padding: 22px 20px; }
    .cz-brand-hero-mark { width: 100%; height: 72px; }
    .cz-brand-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
    .cz-brand-tabs a { white-space: nowrap; }
}

/* Prima pagină: „Cumpără după producător” */
body.cz-collectors .cz-home-brands { max-width: 1320px; padding: 0 24px; margin: 48px auto; box-sizing: border-box; }
.cz-home-brands-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.cz-home-brand { height: 168px; box-sizing: border-box; background: #fff; border: 1px solid #dfe4e7; border-radius: 12px; padding: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; text-decoration: none; color: #101d36; transition: border-color .15s, box-shadow .15s, transform .15s; }
.cz-home-brand:hover { border-color: #8bc5fa; box-shadow: 0 8px 22px rgba(16, 29, 54, .08); transform: translateY(-2px); }
.cz-home-brand:focus-visible { outline: 3px solid #2f80ed; outline-offset: 2px; }
.cz-home-brand-name { font-family: 'Barlow Condensed', Impact, sans-serif; font-weight: 800; font-size: 38px; line-height: 1; letter-spacing: .5px; text-transform: uppercase; }
.cz-home-brand-meta { font-size: 14px; color: #3b4855; }

/* Tabletă: 3 pe rând; telefon: 2 pe rând. */
@media (max-width: 1000px) {
    .cz-home-brands-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    body.cz-collectors .cz-home-brands { padding: 0 16px; margin: 32px auto; }
    .cz-home-brands-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .cz-home-brand { height: 120px; }
    .cz-home-brand-name { font-size: 28px; }
    .cz-home-brand-meta { font-size: 12px; }
}


/* Sliderul din prima pagină: săgeți + swipe (stilurile de bază sunt în collectors.css). */
body.cz-collectors .cz-promotion { touch-action: pan-y; user-select: none; -webkit-user-select: none; }
body.cz-collectors .cz-promotion img { -webkit-user-drag: none; }
body.cz-collectors .cz-promotion-arrow { position: absolute; top: calc(50% - 16px); transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 1px solid #c1d2e4; background: #ffffff; color: #101d36; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2; box-shadow: 0 4px 14px rgba(16, 29, 54, .12); transition: background .15s; }
body.cz-collectors .cz-promotion-arrow:hover { background: #101d36; color: #ffffff; }
body.cz-collectors .cz-promotion-arrow:focus-visible { outline: 3px solid #2f80ed; outline-offset: 2px; }
body.cz-collectors .cz-promotion-prev { left: 12px; }
body.cz-collectors .cz-promotion-next { right: 12px; }
body.cz-collectors .cz-promotion-slide { padding-inline: 68px; }
@media (max-width: 700px) {
    body.cz-collectors .cz-promotion-slide { padding-inline: 24px; }
    body.cz-collectors .cz-promotion-arrow { top: 105px; width: 40px; height: 40px; }
    body.cz-collectors .cz-promotion-prev { left: 8px; }
    body.cz-collectors .cz-promotion-next { right: 8px; }
}

/* Pagina producătorului: grila de colecții */
.cz-brand-collections .cz-brands-subtitle { margin-top: 8px; }
.cz-brand-collections + .cz-brands-subtitle { margin-top: 48px; }
.cz-collection-img { position: relative; }
.cz-collection-type { position: absolute; top: 12px; left: 12px; background: #101d36; color: #fff; font-size: 12px; font-weight: 700; border-radius: 6px; padding: 4px 9px; }
.cz-collection-cta { margin-top: 6px; font-size: 14px; font-weight: 700; color: #2f5b9a; }
.cz-collection-card.is-soldout .cz-collection-img img { opacity: .55; filter: grayscale(.4); }
.cz-collection-card.is-soldout .cz-collection-count { color: #8a3b12; }

/* Pagina producătorului: produse epuizate, separat de cele disponibile */
.cz-brand-empty { background: #fff; border: 1px solid #dfe4e7; border-radius: 12px; padding: 20px 22px; font-size: 15px; color: #2a3845; }
.cz-soldout { margin-top: 48px; border-top: 1px solid #dfe4e7; padding-top: 8px; }
.cz-soldout > summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; min-height: 52px; padding: 12px 0; font-family: 'Barlow Condensed', Impact, sans-serif; font-weight: 800; font-size: 26px; text-transform: uppercase; color: #101d36; }
.cz-soldout > summary::-webkit-details-marker { display: none; }
.cz-soldout > summary::after { content: 'Arată ▾'; font-family: 'DM Sans', Arial, sans-serif; font-size: 14px; font-weight: 700; text-transform: none; color: #2f5b9a; margin-left: auto; }
.cz-soldout[open] > summary::after { content: 'Ascunde ▴'; }
.cz-soldout > summary:focus-visible { outline: 3px solid #2f80ed; outline-offset: 2px; }
.cz-soldout-count { color: #5b6770; }
.cz-soldout-hint { font-family: 'DM Sans', Arial, sans-serif; font-size: 13px; font-weight: 500; text-transform: none; color: #5b6770; flex-basis: 100%; order: 3; }
.cz-soldout ul.products li.product { opacity: .6; filter: grayscale(.35); transition: opacity .15s, filter .15s; }
.cz-soldout ul.products li.product:hover { opacity: 1; filter: none; }

/* Pagina producătorului: aceleași filtre, secțiuni și carduri ca pe paginile de categorie (Cutii etc.) */
.cz-brands-page .cz-toolbar { display: flex; align-items: center; gap: 8px; margin: 8px 0 1.75rem; flex-wrap: wrap; }
.cz-brands-page .cz-pill { min-height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid #dfe4e7; background: #fff; font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600; color: #3b4855; cursor: pointer; white-space: nowrap; }
.cz-brands-page .cz-pill:hover { border-color: #9daeb8; color: #101d36; }
.cz-brands-page .cz-pill.active { background: #101d36; color: #fff; border-color: #101d36; }
.cz-brands-page .cz-sort { min-height: 38px; padding: 0 30px 0 14px; border-radius: 10px; border: 1px solid #dfe4e7; background: #fff; font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 500; color: #3b4855; cursor: pointer; }
.cz-brands-page .cz-section-header { display: flex; align-items: center; gap: 12px; margin-bottom: 1.25rem; }
.cz-brands-page .cz-section-header.soldout { margin-top: 3rem; }
.cz-brands-page .cz-section-header[hidden], .cz-brands-page .cz-grid[hidden] { display: none; }
.cz-brands-page .cz-section-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.cz-brands-page .cz-section-dot.green { background: #22c55e; }
.cz-brands-page .cz-section-dot.gray { background: #b8c0c7; }
.cz-brands-page .cz-section-label-text { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.cz-brands-page .cz-section-label-text.green { color: #15803d; }
.cz-brands-page .cz-section-label-text.gray { color: #5b6770; }
.cz-brands-page .cz-section-count { font-size: 12px; color: #3b4855; background: #f6f7f8; border: 1px solid #dfe4e7; border-radius: 999px; padding: 2px 10px; }
.cz-brands-page .cz-section-line { flex: 1; height: 1px; background: #dfe4e7; }
.cz-brands-page .cz-card-img { position: relative; }
.cz-brands-page .cz-card.out-of-stock { opacity: .6; }
.cz-brands-page .cz-card.out-of-stock .cz-card-img img { filter: grayscale(35%); }
.cz-brands-page .cz-badge { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; text-transform: uppercase; z-index: 2; }
.cz-brands-page .badge-card { background: #e0edff; color: #1d3a63; }
.cz-brands-page .badge-sticker { background: #fff1d6; color: #7a4a00; }
.cz-brands-page .badge-album { background: #ece6ff; color: #46307a; }
.cz-brands-page .badge-default { background: #eceff1; color: #2a3845; }
.cz-brands-page .cz-sold-out-overlay { position: absolute; top: 10px; right: 10px; background: rgba(0,0,0,.6); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; z-index: 2; }
.cz-brands-page .cz-card-collection { display: block; font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: #2a4a72; margin-bottom: 4px; }
.cz-brands-page .cz-btn.disabled { background: #eceff1; color: #5b6770; cursor: not-allowed; display: flex; align-items: center; justify-content: center; border-radius: 7px; }
@media (max-width: 700px) { .cz-brands-page .cz-sort { width: 100%; } }


/* ===== Revizie 2026-11-12 (verificare + Codex) ===== */

/* 1. Butoane și filtre: același bleumarin ca pe prima pagină */
body.cz-collectors .cz-brands-page .cz-btn:not(.disabled) { background: #101d36; color: #fff; border-radius: 8px; min-height: 46px; font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; }
body.cz-collectors .cz-brands-page .cz-btn:not(.disabled):hover { background: #22345a; color: #fff; }
body.cz-collectors .cz-brands-page .cz-pill.active { background: #101d36; color: #fff; border-color: #101d36; }

/* 5. Stocul lizibil, lângă preț */
body.cz-collectors .cz-brands-page .cz-stock { font-size: 13px; font-weight: 600; padding: 0; background: none; white-space: nowrap; }
body.cz-collectors .cz-brands-page .cz-stock::before { content: '● '; }
body.cz-collectors .cz-brands-page .cz-stock.stock-in { color: #1d6b3a; }
body.cz-collectors .cz-brands-page .cz-stock.stock-out { color: #8a3b12; }
body.cz-collectors .cz-brands-page .cz-price { font-size: 18px; font-weight: 700; color: #101d36; }

/* 6. Prețurile aliniate jos, indiferent de lungimea titlului */
body.cz-collectors .cz-brands-page .cz-card { display: flex; flex-direction: column; }
body.cz-collectors .cz-brands-page .cz-card-body { display: flex; flex-direction: column; flex: 1; }
body.cz-collectors .cz-brands-page .cz-card-name { font-size: 15px; line-height: 1.4; }
body.cz-collectors .cz-brands-page .cz-card-meta { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }

/* 7. Fundal uniform (alb) la toate pozele de produs și colecții */
body.cz-collectors .cz-brands-page .cz-card-img,
.cz-brands-page .cz-collection-img { background: #fff; }
body.cz-collectors .cz-brands-page .cz-card-img { border-bottom: 1px solid #eef1f3; }

/* 8. Colecțiile pe pagina producătorului: plăcuțe compacte, ca produsele să apară mai sus */
.cz-brand-collections .cz-collections-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 12px; }
.cz-brand-collections .cz-collection-card { flex-direction: row; align-items: center; gap: 12px; padding: 10px; min-height: 84px; box-sizing: border-box; }
.cz-brand-collections .cz-collection-img { width: 64px; height: 64px; flex-shrink: 0; border-radius: 8px; border: 1px solid #eef1f3; overflow: hidden; }
.cz-brand-collections .cz-collection-img img { max-width: 56px; max-height: 56px; }
.cz-brand-collections .cz-collection-type { position: static; display: inline-block; align-self: flex-start; margin-bottom: 4px; font-size: 10px; padding: 2px 7px; }
.cz-brand-collections .cz-collection-body { padding: 0; gap: 2px; min-width: 0; }
.cz-brand-collections .cz-collection-name { font-size: 15px; line-height: 1.25; }
.cz-brand-collections .cz-collection-count { font-size: 12px; }
.cz-brand-collections .cz-collection-cta { display: none; }
.cz-brand-collections .cz-collection-card:hover { border-color: #8bc5fa; }
.cz-brand-collections + .cz-brands-subtitle { margin-top: 36px; }
