/* FDigital Brendovi */
.fdbr-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.fdbr-brand small { margin-left: auto; color: #999; font-size: 11.5px; }
.fdbr-box { flex: 0 0 auto; width: 14px; height: 14px; border: 1.5px solid #bbb; border-radius: 3px; background: #fff; position: relative; }
.fdbr-brand.is-active { font-weight: 600; }
.fdbr-brand.is-active .fdbr-box { background: var(--ag-primary, #1e73be); border-color: var(--ag-primary, #1e73be); }
.fdbr-brand.is-active .fdbr-box::after { content: ""; position: absolute; left: 3.5px; top: .5px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.fdbr-list { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.fdbr-reset, .fdbr-reset-p a { font-size: 12.5px; color: var(--ag-primary, #1e73be); }
.fdbr-reset-p { margin: 6px 0 0 !important; padding: 0 !important; }
.fdbr-empty { margin-top: 12px; }
.fdbr-product { font-size: 13.5px; color: #666; margin: -4px 0 10px; }
.fdbr-product a { color: var(--ag-primary, #1e73be); font-weight: 600; }

/* u levoj koloni teme (Agrooprema .ag-filters) */
.ag-filters .fdbr-h { margin-top: 18px; padding-top: 14px; border-top: 1px solid #e3e3e3; }
.ag-filters .fdbr-list li a.fdbr-brand { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 13px; color: #666; }
.ag-filters .fdbr-list .fdbr-box { width: 14px; min-width: 14px; height: 14px; }
.ag-filters .fdbr-list li a:hover, .ag-filters .fdbr-list li a.is-active { color: var(--ag-primary, #1e73be); }
@media (max-width: 980px) {
	.ag-filters .fdbr-list { display: block !important; }
	.ag-filters .fdbr-list li { border-bottom: 1px solid #e8e8e8; }
	.ag-filters .fdbr-list li:last-child { border-bottom: 0; }
	.ag-filters .fdbr-list li a.fdbr-brand { padding: 11px 0; font-size: 15px; }
	.ag-filters .fdbr-box { width: 18px; min-width: 18px; height: 18px; }
	.ag-filters .fdbr-brand.is-active .fdbr-box::after { left: 5px; top: 1.5px; width: 5px; height: 10px; }
}

/* traka iznad proizvoda (ostale teme) */
.fdbr-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 18px; padding: 10px 14px; background: #f7f7f7; border-radius: 6px; font-size: 14px; }
.fdbr-bar__h { font-weight: 700; }
.fdbr-bar .fdbr-brand small { margin-left: 4px; }

/* stranica „Svi brendovi“ */
.fdbr-allgrid { list-style: none !important; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.fdbr-allgrid a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 14px; border: 1px solid #e5e5e5; border-radius: 8px; text-align: center; color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.fdbr-allgrid a:hover { border-color: var(--ag-primary, #1e73be); box-shadow: 0 4px 14px rgba(0, 0, 0, .08); }
.fdbr-allgrid img { max-height: 70px; width: auto; object-fit: contain; }
.fdbr-allgrid__name { font-size: 22px; font-weight: 800; letter-spacing: .02em; min-height: 70px; display: flex; align-items: center; }
.fdbr-allgrid small { color: #888; }

/* „Naši brendovi“ na početnoj */
.fdbr-home__row { list-style: none !important; margin: 0 !important; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 6px; }
.fdbr-home__row li { flex: 1 1 150px; max-width: 220px; padding: 0 !important; }
.fdbr-home__row a { display: flex; align-items: center; justify-content: center; height: 84px; padding: 12px 18px; background: #fff; border: 1px solid #e8e8e8; color: #333; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.fdbr-home__row a:hover { border-color: var(--ag-primary, #1e73be); box-shadow: 0 4px 14px rgba(0, 0, 0, .07); }
.fdbr-home__row img { max-height: 54px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .85; transition: filter .15s, opacity .15s; }
.fdbr-home__row a:hover img { filter: none; opacity: 1; }
.fdbr-home__row span { font-size: 22px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #1d2b3a; }
