/* Small additions on top of the old shop's CSS bundle, for what the static catalog does differently. */
.af_filter.closed .af_filter_content { display: none; }
.af_filter .af_subtitle_heading { cursor: pointer; }
.af_filter .af_filter_content ul { max-height: 320px; overflow-y: auto; }
.af_filter li.mai-multe { padding: 6px 10px; font-size: 12px; }
body.af-loading, body.af-loading * { cursor: progress; }
.selectedFilters .cf { display: inline-block; margin: 0 8px 6px 0; }
.selectedFilters .cf a { display: inline-block; padding: 3px 10px; border-radius: 3px; background: #fff; border: 1px solid #e0e0e0; color: #333; text-decoration: none; }
.selectedFilters .cf a:hover { border-color: #f9c935; }
.products-sort-order.open .dropdown-menu { display: block; }
.fara-rezultate { width: 100%; padding: 40px 15px; text-align: center; font-size: 18px; }
.pagination .spacer { padding: 0 6px; }
#newsletter .buton-librarie { display: inline-block; margin-top: 10px; }
.product-images { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 0 0; margin: 0; }
.product-images .thumb-link { display: block; border: 2px solid transparent; }
.product-images .thumb-link.selected { border-color: #f9c935; }
#filtre-home #main { margin-top: 20px; }
#actiuni-produs #cos .cumpara-la { display: block; margin-top: 14px; font-size: 12px; text-align: center; opacity: .75; }

/* Mega-menu (owner, 21.11.2026: "use the carturesti.ro layout"): tops on the left, branches in columns, the
   theme's own colours and fonts. Opened / closed by the old .inchis toggle. */
#_desktop_top_menu.mega .mega-meniu { display: flex; align-items: stretch; max-width: 1200px; margin: 0 auto; padding: 20px 15px 10px; text-align: left; }
#_desktop_top_menu.mega #top-menu.mega-tops { list-style: none; margin: 0; padding: 0; flex: 0 0 220px; border-right: 1px solid #eee; columns: auto; column-count: auto; }
#_desktop_top_menu.mega #top-menu .mega-top { display: block; float: none; width: auto; }
.mega .mega-top a { display: block; padding: 10px 14px; font-weight: 700; text-transform: uppercase; font-size: 14px; color: #333; text-decoration: none; border-left: 4px solid transparent; }
.mega .mega-top.activ a, .mega .mega-top a:hover, .mega .mega-top a:focus { background: #fdf3d2; border-left-color: #f9c935; color: #000; }
.mega .mega-panels { flex: 1 1 auto; padding: 4px 0 0 24px; min-width: 0; }
.mega .mega-panel { display: none; }
.mega .mega-panel.activ { display: block; }
.mega .mega-toate { display: inline-block; margin-bottom: 12px; font-weight: 700; text-transform: uppercase; font-size: 13px; color: #333; border-bottom: 2px solid #f9c935; text-decoration: none; }
.mega .mega-ramuri { list-style: none; margin: 0; padding: 0; columns: 3 220px; column-gap: 24px; }
.mega .mega-ramuri li { break-inside: avoid; }
.mega .mega-ramuri a { display: block; padding: 5px 0; font-size: 13px; font-weight: 600; text-transform: uppercase; color: #444; text-decoration: none; }
.mega .mega-ramuri a:hover, .mega .mega-ramuri a:focus { color: #000; text-decoration: underline; text-decoration-color: #f9c935; }
.mega .mega-nr { font-weight: 400; color: #999; font-size: 11px; }
@media (max-width: 767px) {
  #_desktop_top_menu.mega .mega-meniu { flex-direction: column; padding: 44px 16px 10px; }
  #_desktop_top_menu.mega #top-menu.mega-tops { flex: none; display: flex; border-right: 0; border-bottom: 1px solid #eee; }
  .mega .mega-top { flex: 1; }
  .mega .mega-top a { text-align: center; border-left: 0; border-bottom: 3px solid transparent; }
  .mega .mega-top.activ a { border-bottom-color: #f9c935; }
  .mega .mega-panels { padding: 12px 0 0; }
  .mega .mega-ramuri { columns: 1; max-height: 60vh; overflow-y: auto; }
}
