/* menu-categorie-2811.css - menu delle categorie su computer (paginamaster.master), al posto dell'albero obout. 28/11/2026 */
.dp-cat { position: relative; background: #fff; border: 1px solid #dbe3ee; border-radius: 10px; font-family: inherit; z-index: 50; }
.dp-cat__filter { padding: 8px 10px; border-bottom: 1px solid #e5e7eb; }
.dp-cat__filter input { width: 100%; box-sizing: border-box; height: 32px; border: 1px solid #cfd8e3; border-radius: 16px; padding: 0 12px 0 30px; font-size: 13px; background: #f7f9fc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") no-repeat 10px center / 14px; }
.dp-cat__filter input:focus { outline: 2px solid #f59e0b; outline-offset: 1px; background-color: #fff; }
.dp-cat__list { list-style: none; margin: 0; padding: 4px 0; }
.dp-cat__item { position: static; }
.dp-cat__btn { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 6px; padding: 7px 12px; border: 0; background: none; text-align: left; font: inherit; font-size: 13.5px; color: #1f2937; cursor: pointer; line-height: 1.25; border-left: 3px solid transparent; }
.dp-cat__btn::after { content: ""; flex: 0 0 7px; width: 7px; height: 7px; border-right: 2px solid #94a3b8; border-top: 2px solid #94a3b8; transform: rotate(45deg); }
.dp-cat__item.is-open > .dp-cat__btn, .dp-cat__btn:hover, .dp-cat__btn:focus-visible { background: #eef4fb; color: #13499a; border-left-color: #13499a; outline: none; }
.dp-cat__item.is-open > .dp-cat__btn::after, .dp-cat__btn:hover::after { border-color: #13499a; }
.dp-cat__item.is-current > .dp-cat__btn { font-weight: 700; color: #13499a; }
.dp-cat__fly { display: none; position: absolute; top: 0; left: calc(100% + 6px); width: 640px; min-height: 220px; box-sizing: border-box; background: #fff; border: 1px solid #dbe3ee; border-radius: 10px; box-shadow: 0 12px 32px rgba(15, 35, 70, .18); padding: 16px 20px 18px; }
.dp-cat__item.is-open > .dp-cat__fly { display: block; }
.dp-cat__fly-title { margin: 0 0 10px; font-size: 16px; font-weight: 700; color: #13499a; border-bottom: 2px solid #eef4fb; padding-bottom: 8px; }
.dp-cat__fly ul { list-style: none; margin: 0; padding: 0; columns: 3 180px; column-gap: 22px; }
.dp-cat__fly li { break-inside: avoid; }
.dp-cat__fly a { display: block; padding: 5px 6px; margin: 0 -6px; border-radius: 6px; font-size: 13.5px; color: #1f2937; text-decoration: none; line-height: 1.3; }
.dp-cat__fly a:hover, .dp-cat__fly a:focus-visible { background: #eef4fb; color: #13499a; outline: none; }
.dp-cat__fly a.is-current { font-weight: 700; color: #13499a; }
.dp-cat__fly a mark, .dp-cat__btn mark { background: #fde68a; color: inherit; border-radius: 2px; }
.dp-cat__results { list-style: none; margin: 0; padding: 4px 0 6px; }
.dp-cat__results a { display: block; padding: 7px 12px; font-size: 13.5px; color: #1f2937; text-decoration: none; line-height: 1.3; }
.dp-cat__results a small { display: block; color: #6b7280; font-size: 11.5px; }
.dp-cat__results a:hover, .dp-cat__results a:focus-visible { background: #eef4fb; color: #13499a; outline: none; }
.dp-cat__empty { padding: 10px 12px; font-size: 13px; color: #6b7280; }
.menu-tree:has(.dp-cat) { overflow: visible !important; }
#colonna_sx, #contenuto_sx, .menu-colonne:has(.dp-cat) { overflow: visible !important; }
/* nella categoria aperta: la classe resta aperta nella colonna con le sue categorie, come il vecchio albero */
.dp-cat__item.is-current > .dp-cat__fly { display: block; position: static; width: auto; min-height: 0; border: 0; border-radius: 0; box-shadow: none; padding: 0 0 6px; background: #f8fafc; }
.dp-cat__item.is-current > .dp-cat__fly .dp-cat__fly-title { display: none; }
.dp-cat__item.is-current > .dp-cat__fly ul { columns: auto; }
.dp-cat__item.is-current > .dp-cat__fly a { margin: 0; padding: 5px 12px 5px 22px; border-radius: 0; font-size: 13px; }
.dp-cat__item.is-current > .dp-cat__btn::after { transform: rotate(135deg); }
/* 28/11 Gianluca: testi piu scuri, righe piu strette, niente ricerca categorie (c'e gia la ricerca prodotti in alto) */
.dp-cat__filter, .dp-cat__results { display: none !important; }
.dp-cat__btn { padding: 4px 10px; font-size: 13px; font-weight: 600; color: #111827; line-height: 1.2; }
.dp-cat__btn::after { width: 6px; height: 6px; flex-basis: 6px; border-color: #475569; }
.dp-cat__list { padding: 3px 0; }
.dp-cat__fly a { color: #111827; font-weight: 500; padding: 3px 6px; }
.dp-cat__item.is-current > .dp-cat__fly a { padding: 2px 10px 2px 20px; font-size: 12.5px; }
.dp-cat__item.is-current > .dp-cat__fly a.is-current { color: #13499a; font-weight: 700; }
/* 28/11 ore 3:40 Gianluca: via di mezzo, testo 14px e un po' piu di spazio */
.dp-cat__btn { padding: 5px 10px; font-size: 14px; }
.dp-cat__fly a { font-size: 14px; padding: 4px 6px; }
.dp-cat__item.is-current > .dp-cat__fly a { padding: 3px 10px 3px 20px; font-size: 13.5px; }
.dp-cat__btn { padding: 5px 6px 5px 8px; letter-spacing: -.1px; }
