/* Wherbi departments and categories (/<country>-<lang>[/<department>[/<category>]]): department tiles, category groups, the product grid of search.css, pages. Tokens from pages.css. */
.departments { padding: 28px 0 64px; }
.departments .crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14.5px; color: var(--muted); margin-bottom: 14px; }
.departments .crumbs > * + *::before { content: "›"; margin-right: 8px; color: var(--faint); }
.departments .crumbs a { text-decoration: none; }
.departments .countries { margin: 6px 0 22px; }
.departments .countries summary { cursor: pointer; color: var(--violet-text); font-weight: 600; font-size: 15px; }
.departments .countries ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 10px 0 0; }
.departments .countries a { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--fg); font-size: 14.5px; background: var(--surface); }
.departments .countries a[aria-current] { border-color: var(--violet); background: var(--violet-soft); }
.deps, .cats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.deps > li, .cats > li { min-width: 0; padding: 18px 20px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
.dep, .cat { display: grid; text-decoration: none; color: var(--fg); }
.dep b { font-size: 20px; line-height: 1.25; }
.cat b { font-size: 18px; line-height: 1.25; overflow-wrap: anywhere; }
.dep small, .cat small { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.deps ul, .cats ul { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 15px; }
.deps ul a, .cats ul a { text-decoration: none; }
.deps ul a:hover, .cats ul a:hover, .dep:hover b, .cat:hover b { text-decoration: underline; }
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 30px 0 0; font-weight: 600; }
.pager a { padding: 10px 18px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); text-decoration: none; }
.pager span { color: var(--muted); }
/* The home page's departments, right under the search. */
.portal { padding: 56px 0 8px; }
.portal h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.2; margin: 0; }
.portal-sub { color: var(--muted); margin: 6px 0 20px; }
.portal .deps { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.portal .deps > li { padding: 0; }
.portal .dep { padding: 16px 18px; }
/* Deals: one row per price drop, largest first. */
.deals-link { font-weight: 600; }
.deals-tile { background: var(--violet-soft); border-radius: inherit; }
.deal-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.deal-list a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); color: var(--fg); text-decoration: none; }
.deal-list .drop { font-weight: 700; font-size: 18px; color: var(--good); background: var(--good-soft); border-radius: 999px; padding: 6px 12px; font-variant-numeric: tabular-nums; }
.deal-list .txt { display: grid; min-width: 0; }
.deal-list .brand { color: var(--muted); font-size: 14px; font-weight: 600; }
.deal-list b { overflow-wrap: anywhere; }
.deal-list small { color: var(--muted); font-size: 14px; }
.deal-list .now { display: grid; justify-items: end; font-variant-numeric: tabular-nums; }
.deal-list .now b { font-size: 20px; }
.deal-list .now s { color: var(--faint); font-size: 14px; }
@media (max-width: 600px) { .deal-list a { grid-template-columns: auto minmax(0, 1fr); } .deal-list .now { grid-column: 2; justify-items: start; } }
