/* Brand pages: a short opening text, smaller letters, the rest folded under "עוד על <brand>" (owner, 2026-11-15).
   Markup: the_content filter in inc/brand-page.php. */
body .bm-brandtext { max-width: 820px; }
body .bm-brandtext p,
body .bm-brandtext li {
    font-size: 15px !important;
    line-height: 1.7 !important;
    margin-bottom: .7em;
}
body .bm-brandtext .barami-brand-exclusive {
    font-size: 14.5px !important;
    padding: 10px 16px !important;
    margin: 12px 0 !important;
}
body .bm-brandtext h2,
body .bm-brandtext h3 { font-size: 17px !important; margin: 1em 0 .4em !important; }
.bm-brandmore { margin: 6px 0 4px; }
.bm-brandmore > summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    list-style: none;
    font-size: 14.5px;
    color: #1a1a1a;
    border-bottom: 1px solid #9C6C2E;
    padding-bottom: 2px;
}
.bm-brandmore > summary::-webkit-details-marker { display: none; }
.bm-brandmore > summary::after {
    content: "+";
    font-size: 16px;
    line-height: 1;
    color: #9C6C2E;
    transition: transform .2s ease;
}
.bm-brandmore[open] > summary::after { content: "–"; }
.bm-brandmore > summary:hover { color: #9C6C2E; }
.bm-brandmore > summary:focus-visible { outline: 2px solid #9C6C2E; outline-offset: 3px; }
.bm-brandmore__body { padding-top: 12px; }
@media (min-width: 1024px) {
    body .bm-brandtext p, body .bm-brandtext li { font-size: 15.5px !important; }
}

/* Brand pages (owner, 2026-11-15): every product as a tile, the tiles a little smaller. */
body.parent-pageid-26 .barami-brand-grid { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)) !important; gap: 16px 14px !important; }
body.parent-pageid-26 .barami-brand-grid > a > span { font-size: 13.5px !important; line-height: 1.35 !important; }
@media (min-width: 1024px) {
    body.parent-pageid-26 .barami-brand-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important; }
}
