/* 4Dog: мегаменю (09.10.2026). Темна смуга під шапкою, панелі при наведенні. Лише десктоп (>=992px). */
.fdmm-row { background: #353E48 !important; padding: 0 !important; z-index: 1020; }
.fdmm { position: relative; font-family: Inter, -apple-system, "Segoe UI", sans-serif; color: #333; }
@media (max-width: 991.98px) { .fdmm, .fdmm-row { display: none !important; } }

.fdmm-bar { background: #353E48; }
.fdmm-nav { display: flex; align-items: center; gap: 12px; height: 58px; max-width: 1420px; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }
.fdmm-list { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: space-between; margin: 0; padding: 0; list-style: none; height: 58px; }
.fdmm-item { height: 58px; display: flex; }
.fdmm-link { display: flex; align-items: center; gap: 7px; height: 58px; padding: 0 7px; box-sizing: border-box; color: #fff !important; text-decoration: none !important;
  font-size: 15px; font-weight: 600; letter-spacing: -.1px; white-space: nowrap; background: none; border: 0; cursor: pointer; font-family: inherit; transition: background .15s; }
.fdmm-link:hover, .fdmm-item.is-open .fdmm-link { background: #2B323A; }
.fdmm-item.is-open .fdmm-link { box-shadow: inset 0 -3px 0 #EEDA3F; }
.fdmm-ico { width: 32px; height: 32px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.fdmm-ico svg { width: 24px; height: 24px; display: block; }
.fdmm-ico svg.fdmm-dots { width: 18px; height: 18px; fill: #353E48; }
.fdmm-chev { width: 9px; height: 9px; flex: none; margin-left: -3px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.fdmm-item.is-open .fdmm-chev { transform: rotate(180deg); }
.fdmm-item-pill { align-items: center; }
.fdmm-pill { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px 0 16px; border-radius: 18px; background: #EEDA3F; color: #2A2F35 !important;
  font-size: 14px; font-weight: 700; text-decoration: none !important; white-space: nowrap; transition: background .15s, box-shadow .15s; }
.fdmm-pill:hover { background: #F3E25F; }
.fdmm-item-pill.is-open .fdmm-pill { box-shadow: 0 0 0 3px rgba(238, 218, 63, .35); }
.fdmm-snow { width: 15px; height: 15px; fill: none; stroke: #353E48; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* вужчі екрани: менше відступів, на 992-1199 без кружечків-іконок */
@media (max-width: 1599.98px) { .fdmm-link { font-size: 14px; padding: 0 5px; gap: 6px; } .fdmm-ico { width: 28px; height: 28px; } .fdmm-ico svg { width: 21px; height: 21px; } }
@media (min-width: 1600px) { .fdmm-nav { max-width: 1560px; } }
/* запасний варіант: JS додає is-tight, якщо пункти все одно не вміщаються */
.fdmm.is-tight .fdmm-ico { display: none; }
.fdmm.is-tight2 .fdmm-link { font-size: 13px; padding: 0 4px; gap: 4px; }
@media (max-width: 1299.98px) { .fdmm-ico { display: none; } .fdmm-link { font-size: 14px; padding: 0 6px; } }
@media (max-width: 1099.98px) { .fdmm-link { font-size: 13px; padding: 0 4px; gap: 4px; } .fdmm-pill { font-size: 13px; padding: 0 11px; } .fdmm-nav { gap: 8px; padding: 0 26px 0 10px; } }

/* панелі */
.fdmm-drop { position: absolute; left: 0; right: 0; top: 58px; height: 0; z-index: 1030; }
.fdmm-panel { display: none; position: relative; background: #fff; border-radius: 0 0 14px 14px; box-shadow: 0 24px 60px rgba(30, 25, 22, .22); overflow: hidden; animation: fdmmIn .18s ease; }
.fdmm-panel::before { content: ""; display: block; height: 3px; background: linear-gradient(90deg, #EEDA3F, #14A3B8); }
.fdmm-panel.is-open { display: block; }
@keyframes fdmmIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fdmm-panel { animation: none; } }
.fdmm-panel-in { display: flex; align-items: stretch; padding: 24px 28px 28px; }
.fdmm-left { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.fdmm-left > .fdmm-zone + .fdmm-zone { margin-top: 22px; padding-top: 22px; border-top: 1px solid #EEE; }
.fdmm-left.is-row { flex-direction: row; align-items: flex-start; }
.fdmm-left.is-row > .fdmm-zone + .fdmm-zone { margin: 0 0 0 28px; padding: 0 0 0 28px; border-top: 0; border-left: 1px solid #EEE; flex: 1; }
.fdmm-h { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #6B6B6B; line-height: 16px; margin-bottom: 14px; }

.fdmm-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fdmm-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid #E3E3E3; border-radius: 12px; background: #fff; color: #333 !important; text-decoration: none !important; transition: border-color .15s; }
.fdmm-card:hover { border-color: #353E48; }
.fdmm-card-ico { width: 48px; height: 48px; border-radius: 50%; background: #FBF6D3; display: flex; align-items: center; justify-content: center; flex: none; }
.fdmm-card-ico svg, .fdmm-chip svg { fill: none; stroke: #353E48; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.fdmm-card-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fdmm-card-t b { font-size: 14px; font-weight: 600; line-height: 20px; }
.fdmm-card-t small { font-size: 12px; color: #6B6B6B; line-height: 17px; }

.fdmm-tiles { display: grid; gap: 20px 16px; }
.fdmm-tile-w { min-width: 0; }
.fdmm-tile { display: block; color: #333 !important; text-decoration: none !important; }
.fdmm-tile-img { display: block; position: relative; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: #ECE8E2; }
.fdmm-tile-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.fdmm-tile:hover .fdmm-tile-img img { transform: scale(1.04); }
.fdmm-tile:hover .fdmm-tile-name { color: #0F7F90; }
.fdmm-badge { position: absolute; left: 8px; top: 8px; height: 22px; padding: 0 9px; border-radius: 11px; background: #EEDA3F; color: #2A2F35; font-size: 11px; font-weight: 700; display: flex; align-items: center; }
.fdmm-tile-name { display: block; margin-top: 10px; font-size: 14px; font-weight: 600; line-height: 20px; }
.fdmm-tile-count { display: block; font-size: 12px; color: #6B6B6B; line-height: 17px; }
.fdmm-sub { margin-top: 14px; padding-top: 8px; border-top: 1px solid #EEE; }
.fdmm-sub a, .fdmm-more-row { display: flex; justify-content: space-between; align-items: center; height: 30px; font-size: 14px; color: #333 !important; text-decoration: none !important; }
.fdmm-sub a:hover span, .fdmm-more-row:hover span { color: #0F7F90; }
.fdmm-sub small, .fdmm-more-row small { font-size: 12px; color: #6B6B6B; }

.fdmm-groups { display: flex; align-items: flex-start; }
.fdmm-groups > .fdmm-group { min-width: 0; }
.fdmm-groups > .fdmm-group + .fdmm-group { margin-left: 28px; padding-left: 28px; border-left: 1px solid #EEE; }
.fdmm-groups.is-stacked { flex-direction: column; align-items: stretch; }
.fdmm-groups.is-stacked > .fdmm-group + .fdmm-group { margin: 22px 0 0; padding: 22px 0 0; border-left: 0; border-top: 1px solid #EEE; }
.fdmm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fdmm-chips.is-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.fdmm-chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 13px; box-sizing: border-box; border: 1px solid #E3E3E3; border-radius: 18px; background: #fff;
  color: #333 !important; font-size: 14px; font-weight: 500; text-decoration: none !important; white-space: nowrap; transition: border-color .15s, background .15s; }
.fdmm-chip:hover { border-color: #353E48; background: #FBFAFA; }
.fdmm-chip small { color: #6B6B6B; font-weight: 400; font-size: 13px; }
.fdmm-chips.is-grid .fdmm-chip { overflow: hidden; text-overflow: ellipsis; }

.fdmm-promo { width: 280px; flex: none; margin-left: 28px; padding-left: 28px; border-left: 1px solid #EEE; }
.fdmm-promo-box { display: flex; flex-direction: column; }
.fdmm-promo-box.is-plain { background: #FBF6D3; border-radius: 12px; padding: 22px 22px 24px; }
.fdmm-promo-img { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #ECE8E2; margin-bottom: 16px; }
.fdmm-promo-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fdmm-promo-box .fdmm-h { margin-bottom: 6px; }
.fdmm-promo-title { font-size: 19px; font-weight: 700; line-height: 25px; color: #333; }
.fdmm-promo-box p { margin: 8px 0 18px; font-size: 14px; line-height: 21px; color: #5C5C5C; }
.fdmm-cta { display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 22px; background: #0F7F90; color: #fff !important; font-size: 15px; font-weight: 600; text-decoration: none !important; white-space: nowrap; transition: background .15s; }
.fdmm-cta:hover { background: #0C6A78; }
.fdmm-link2 { display: block; text-align: center; margin-top: 12px; font-size: 13px; font-weight: 500; color: #0F7F90 !important; }

.fdmm-panel-more { width: 560px; margin-left: auto; }
.fdmm-more { display: grid; grid-template-columns: 1fr 1fr; padding: 22px 24px 24px; }
.fdmm-more-col + .fdmm-more-col { padding-left: 24px; border-left: 1px solid #EEE; }
.fdmm-more-col:first-child { padding-right: 24px; }
.fdmm-more-title { display: block; font-size: 15px; font-weight: 700; color: #333 !important; margin-bottom: 8px; text-decoration: none !important; }
.fdmm-more-title:hover { color: #0F7F90 !important; }
.fdmm-more-row { height: 34px; }

/* затемнення сторінки під відкритою панеллю */
.fdmm-shade { position: fixed; left: 0; right: 0; bottom: 0; background: rgba(30, 25, 22, .32); z-index: 1010; display: none; }
.fdmm-shade.is-on { display: block; }
@media (min-width: 992px) { .fdmm-old { display: none !important; } }

