/* Farbaland: випадаюче меню каталогу на ПК (header.html -> fh_catalog_extend). 18.11.2026 */

/* список категорій ліворуч */
/* висота пунктів і рамки - як в оригінальному меню теми */
.fhmm-on .catalog-list__link{color:#1d1d1b;transition:color .15s}
.fhmm-on .catalog-list:has(.catalog-list__item_active) .catalog-list__link{color:#9a9894}
.fhmm-on .catalog-list:has(.catalog-list__item_active) .catalog-list__item-image{opacity:.5;transition:opacity .15s}
.fhmm-on .catalog-list__item_active{background:#fff}
.fhmm-on .catalog-list .catalog-list__item_active > .catalog-list__content .catalog-list__link{color:#1d1d1b}
.fhmm-on .catalog-list .catalog-list__item_active .catalog-list__item-image{opacity:1}
.fhmm-on .catalog-list__arrow-icon{opacity:0;transition:opacity .15s}
.fhmm-on .catalog-list__item_active .catalog-list__arrow-icon{opacity:1}
.fhmm-on .catalog-list__badge{font-size:11px}
.fhmm-on .catalog-extend__list-container{display:flex;flex-direction:column}
.fhmm-on .catalog-list{margin-bottom:10px}
.fhmm-allcat{display:flex;align-items:center;justify-content:space-between;margin:auto 20px 16px;padding-top:12px;border-top:1px solid #e6e4df;font-size:15px;font-weight:500;color:#1d1d1b;text-decoration:none}
.fhmm-allcat:hover{color:#000}
.fhmm-allcat i,.fhmm__all i,.fhmm__ball i,.fhmm__tn i,.fhmm__sm i{font-style:normal;margin-left:6px;transition:transform .15s}
.fhmm-allcat:hover i,.fhmm__all:hover i,.fhmm__ball:hover i,.fhmm__tile:hover .fhmm__tn i,.fhmm__slide:hover .fhmm__sm i{transform:translateX(3px)}

/* права частина */
/* висота меню фіксована висотою списку категорій: права частина не розтягує меню, при надлишку - прокрутка всередині */
.fhmm-on .catalog-extend__columns-container{position:relative;left:0;top:0;align-self:stretch}
.fhmm-on .catalog-extend__columns.fhmm{position:absolute;top:0;right:0;bottom:0;left:0;padding:18px 20px 20px;overflow-y:auto;overscroll-behavior:contain}
.fhmm__grid{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:24px;align-items:stretch;min-height:100%}
.fhmm__grid_noaside{grid-template-columns:minmax(0,1fr)}
@media (min-width:1400px){.fhmm__grid{grid-template-columns:minmax(0,1fr) 290px}}
.fhmm__main{min-width:0;display:flex;flex-direction:column}

.fhmm__head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:14px}
.fhmm__title{font-size:20px;font-weight:500;line-height:1.25;color:#1d1d1b;text-decoration:none}
.fhmm__title:hover{color:#000}
.fhmm__all{flex-shrink:0;font-size:14px;font-weight:500;color:#1d1d1b;text-decoration:none;white-space:nowrap}
.fhmm__all:hover{color:#000}

/* плитки підкатегорій */
.fhmm__tiles{display:grid;grid-template-columns:repeat(var(--n,5),minmax(0,1fr));gap:10px;margin-bottom:18px}
.fhmm__tile{display:flex;flex-direction:column;background:#f6f5f2;border-radius:12px;padding:8px;color:#1d1d1b;text-decoration:none;transition:background .15s}
.fhmm__tile:hover{background:#efede8;color:#000}
.fhmm__ti{display:block;height:116px;border-radius:8px;overflow:hidden;background:#fff;margin-bottom:8px}
.fhmm__ti img{display:block;width:100%;height:100%;object-fit:contain;padding:8px;box-sizing:border-box;transition:transform .3s}
.fhmm__tile:hover .fhmm__ti img{transform:scale(1.04)}
.fhmm__tn{display:flex;align-items:flex-start;justify-content:space-between;gap:4px;font-size:13px;font-weight:500;line-height:1.3;padding:0 2px 2px}
.fhmm__tile_text{justify-content:flex-end;min-height:76px;padding:12px}
.fhmm__tile_text .fhmm__tn{font-size:14px;padding:0}

/* колонки (catalog_columns теми): завжди зліва, однакова ширина, без розтягування */
.fhmm__cols{margin-bottom:16px}
.fhmm__cols .catalog-columns{margin:0;column-gap:28px}
.fhmm__cols .catalog-columns__subcategory-link,.fhmm__cols .catalog-columns__link{word-break:normal;overflow-wrap:anywhere}
.fhmm__cols .catalog-columns_simple{display:block}
.fhmm__cols .catalog-columns__category-container{width:auto!important;padding-top:0;margin-bottom:18px;break-inside:avoid;-webkit-column-break-inside:avoid}
.fhmm__cols .catalog-columns__link{font-weight:500}

/* бренди */
.fhmm__brands{position:sticky;bottom:-20px;z-index:2;background:#fff;padding-bottom:4px;display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:auto;padding-top:14px;border-top:1px solid #e6e4df}
.fhmm__bl{font-size:13px;color:#8a8883;margin-right:4px}
.fhmm__brand{display:flex;align-items:center;justify-content:center;height:40px;min-width:76px;padding:6px 12px;border:1px solid #e6e4df;border-radius:8px;background:#fff;color:#1d1d1b;font-size:13px;font-weight:500;text-decoration:none;transition:border-color .15s}
.fhmm__brand:hover{border-color:#b9b6ae}
.fhmm__brand img{display:block;max-height:26px;max-width:96px;width:auto;height:auto}
.fhmm__ball{margin-left:auto;font-size:13px;font-weight:500;color:#1d1d1b;text-decoration:none;white-space:nowrap}

/* слайдер банерів */
.fhmm__aside{display:flex;min-width:0}
.fhmm__slider{display:flex;flex-direction:column;flex:1;min-height:360px}
.fhmm__track{position:relative;flex:1;border-radius:14px;overflow:hidden;background:#2b2a27}
.fhmm__slide{position:absolute;inset:0;display:block;color:#fff;text-decoration:none;opacity:0;visibility:hidden;transition:opacity .45s,visibility .45s}
.fhmm__track:not(.is-js) .fhmm__slide:first-child,.fhmm__slide.is-on{opacity:1;visibility:visible}
.fhmm__simg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.fhmm__stxt{position:absolute;left:0;right:0;bottom:0;display:flex;flex-direction:column;gap:4px;padding:56px 18px 18px;background:linear-gradient(to top,rgba(0,0,0,.72),rgba(0,0,0,0))}
.fhmm__slide_noimg .fhmm__stxt{top:0;justify-content:flex-end;background:none}
.fhmm__st{font-size:19px;font-weight:500;line-height:1.25;color:#fff}
.fhmm__sx{font-size:13px;line-height:1.4;color:rgba(255,255,255,.85)}
.fhmm__sm{display:flex;align-items:center;justify-content:space-between;margin-top:8px;font-size:13px;font-weight:500;color:#fff}
.fhmm__dots{display:flex;justify-content:center;gap:6px;margin-top:10px;min-height:8px}
.fhmm__dot{width:8px;height:8px;padding:0;border:0;border-radius:4px;background:#d6d3cc;cursor:pointer;transition:width .2s,background .2s}
.fhmm__dot.is-on{width:20px;background:#1d1d1b}

/* слайд з товаром: світлий фон, фото товару цілком, ціна */
.fhmm__slide_prod{background:#f6f5f2;color:#1d1d1b}
.fhmm__pimg{position:absolute;left:0;right:0;top:0;bottom:150px;display:flex;align-items:center;justify-content:center;padding:22px}
.fhmm__pimg img{max-width:100%;max-height:100%;object-fit:contain}
.fhmm__slide_prod .fhmm__stxt{background:none;padding:0 18px 18px}
.fhmm__slide_prod .fhmm__st{color:#1d1d1b;font-size:16px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.fhmm__slide_prod .fhmm__sm{color:#1d1d1b}
.fhmm__sprice{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px;margin-top:4px}
.fhmm__pnew{font-size:20px;font-weight:600;color:#E53935}
.fhmm__pnew_reg{color:inherit}
.fhmm__pold{font-size:14px;color:#8a8883}
.fhmm__slide:not(.fhmm__slide_prod) .fhmm__pnew_reg{color:#fff}
.fhmm__slide:not(.fhmm__slide_prod) .fhmm__pold{color:rgba(255,255,255,.75)}

/* 18.11 статична розкладка: при наведенні на будь-яку категорію нічого не зсувається.
   Шапка розділу, ряд плиток і рядок брендів завжди на одних і тих самих місцях; прокручується лише список підкатегорій */
.fhmm-on .catalog-extend__columns.fhmm{overflow:hidden;padding:18px 20px 16px}
.fhmm-on .fhmm__grid{height:100%;min-height:0}
.fhmm-on .fhmm__main{height:100%;min-height:0}
.fhmm-on .fhmm__head{flex:0 0 auto;height:28px;align-items:center;margin-bottom:14px}
.fhmm-on .fhmm__title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.fhmm-on .fhmm__tiles{flex:0 0 auto;margin-bottom:16px}
.fhmm-on .fhmm__tile{height:156px;box-sizing:border-box;justify-content:flex-end;overflow:hidden}
.fhmm-on .fhmm__ti{flex:0 0 auto;height:96px;margin-bottom:6px}
.fhmm-on .fhmm__tile_text{min-height:0;padding:8px}
.fhmm-on .fhmm__tn{min-height:34px;max-height:34px;overflow:hidden;align-items:flex-end;padding:0 4px}
.fhmm-on .fhmm__tn{display:flex}
.fhmm-on .fhmm__cols{flex:1 1 auto;min-height:0;overflow-y:auto;scrollbar-gutter:stable;scrollbar-width:thin;margin-bottom:12px}
.fhmm-on .fhmm__brands{flex:0 0 auto;position:static;margin-top:auto;height:56px;box-sizing:border-box;flex-wrap:nowrap;overflow:hidden;padding:10px 0 0}
.fhmm-on .fhmm__aside{height:100%;min-height:0}
.fhmm-on .fhmm__slider{min-height:0;height:100%}

/* 18.11 як у референсі Concept: світло-сірі картки, білий фон фото "розчиняється" у фоні картки (multiply) */
.fhmm-on .fhmm__tile{background:#f4f4f4}
.fhmm-on .fhmm__tile:hover{background:#ececec}
.fhmm-on .fhmm__ti{background:transparent;border-radius:0}
.fhmm-on .fhmm__ti img{mix-blend-mode:multiply;padding:4px}
.fhmm-on .fhmm__slide_prod{background:#f4f4f4}
.fhmm-on .fhmm__pimg{top:0;bottom:132px;padding:18px 14px 6px}
.fhmm-on .fhmm__pimg img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}

/* 18.11 плитки підкатегорій: картинка 4:3 точно по краях, темно-сірий низ, стрілка в кільці.
   Завжди 5 колонок - плитки однакові в усіх розділах, нічого не зсувається */
.fhmm-on .fhmm__tiles{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.fhmm-on .fhmm__tile{height:auto;padding:0;border-radius:10px;overflow:hidden;background:#33363a;color:#fff;justify-content:flex-start;transition:background .15s}
.fhmm-on .fhmm__tile:hover{background:#4a4e53;color:#fff}
.fhmm-on .fhmm__ti{height:auto;aspect-ratio:4/3;margin:0;border-radius:0;background:#fff}
.fhmm-on .fhmm__ti img{object-fit:cover;padding:0;mix-blend-mode:normal}
.fhmm-on .fhmm__ti_fit img{object-fit:contain;padding:8px}
.fhmm-on .fhmm__ti_empty{background:#f4f4f4}
.fhmm-on .fhmm__tile_text{padding:0;min-height:0;justify-content:flex-start}
.fhmm-on .fhmm__tn,.fhmm-on .fhmm__tile_text .fhmm__tn{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:46px;max-height:46px;padding:6px 8px 6px 10px;box-sizing:border-box;font-size:12px;font-weight:500;line-height:1.3;color:#fff;overflow:hidden}
.fhmm-on .fhmm__tn i{flex:0 0 22px;width:22px;height:22px;margin:0;border:1px solid rgba(255,255,255,.75);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;line-height:1;box-sizing:border-box}

/* 18.11 низ плиток - світло-сірий, текст і кільце стрілки - чорні */
.fhmm-on .fhmm__tile{background:#ececec;color:#1d1d1b}
.fhmm-on .fhmm__tile:hover{background:#e0e0e0;color:#000}
.fhmm-on .fhmm__tn,.fhmm-on .fhmm__tile_text .fhmm__tn{color:#1d1d1b}
.fhmm-on .fhmm__tn i{border-color:rgba(29,29,27,.6);color:#1d1d1b}
.fhmm-on .fhmm__ti_empty{background:#f6f6f6}

/* 18.11 плитки-колонки: під кожною плиткою - її вкладені підкатегорії в ту ж ширину. Старі колонки теми не використовуються */
.fhmm-on .fhmm__tiles{flex:1 1 auto;min-height:0;overflow-y:auto;scrollbar-gutter:stable;scrollbar-width:thin;align-content:start;align-items:start;margin-bottom:10px}
.fhmm__tc{display:flex;flex-direction:column;min-width:0}
.fhmm__tnt{min-width:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.fhmm__sub{display:flex;flex-direction:column;padding:8px 4px 0 10px}
.fhmm__sl{display:block;font-size:13px;line-height:1.35;padding:3px 0;color:#55534e;text-decoration:none;transition:color .15s}
.fhmm__sl:hover{color:#000}
.fhmm__slmore{display:flex;align-items:center;gap:6px;margin-top:2px;color:#1d1d1b;font-weight:500}
.fhmm__slmore i{font-style:normal;transition:transform .15s}
.fhmm__slmore:hover i{transform:translateX(3px)}
.fhmm__bdg{display:inline-block;font-size:10px;font-weight:500;line-height:1;padding:3px 5px;border-radius:4px;margin-left:4px;vertical-align:1px;white-space:nowrap}
.fhmm__rest{flex:0 0 auto;display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;padding:10px 0 10px;border-top:1px solid #e6e4df;font-size:13px;color:#55534e;max-height:58px;overflow:hidden}
.fhmm__rest b{font-weight:500;color:#1d1d1b;margin-right:2px}
.fhmm__rest a{color:#55534e;text-decoration:none}
.fhmm__rest a:hover{color:#000}
.fhmm__rest span{color:#b9b6ae}
.fhmm-on .fhmm__brands{border-top:1px solid #e6e4df}

/* 18.11 вітрина Colors: каталоги кольорів (fhmm_clr) - кількість кольорів, плашки гами, картки студії, інші каталоги */
.fhmm_clr .fhmm__head{margin-bottom:2px}
.fhmm__count{flex:0 0 auto;font-size:13px;color:#8a8883;margin-bottom:16px}
.fhmm__lbl{flex:0 0 auto;font-size:13px;color:#8a8883;margin:0 0 8px}
.fhmm__gam{flex:0 0 auto;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin-bottom:20px}
.fhmm__gs{display:flex;flex-direction:column;border-radius:10px;overflow:hidden;background:#ececec;color:#1d1d1b;text-decoration:none;transition:background .15s}
.fhmm__gs:hover{background:#e0e0e0;color:#000}
.fhmm__gsw{display:block;height:46px;box-shadow:inset 0 -1px 0 rgba(0,0,0,.06)}
.fhmm__gsn{display:block;padding:6px 8px 7px;font-size:12px;font-weight:500;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fhmm__cards{flex:0 0 auto;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.fhmm__card{display:flex;align-items:center;gap:8px;min-height:56px;padding:8px 10px;box-sizing:border-box;border-radius:10px;background:#ececec;color:#1d1d1b;text-decoration:none;font-size:12px;font-weight:500;line-height:1.25;transition:background .15s}
.fhmm__card:hover{background:#e0e0e0;color:#000}
.fhmm__cic{flex:0 0 24px;display:flex}
.fhmm__ctt{flex:1 1 auto;min-width:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.fhmm__card i{flex:0 0 22px;width:22px;height:22px;border:1px solid rgba(29,29,27,.6);border-radius:50%;display:flex;align-items:center;justify-content:center;font-style:normal;font-size:12px;box-sizing:border-box}
.fhmm__card_green{background:#2E9E5B;color:#fff}
.fhmm__card_green:hover{background:#278a4f;color:#fff}
.fhmm__card_green i{border-color:rgba(255,255,255,.8)}
.fhmm__more{flex:1 1 auto;min-height:0;overflow-y:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-content:start;margin:12px 0 20px}
.fhmm__mc{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 12px;border-radius:10px;background:#ececec;color:#1d1d1b;text-decoration:none;font-size:13px;font-weight:500}
.fhmm__mc:hover{background:#e0e0e0;color:#000}
.fhmm__mc i{font-style:normal}
.fhmm_clr .fhmm__lbl_cards{margin-top:4px}

/* картки студії: іконка і стрілка зверху, назва знизу на 2 рядки - вміщується і на ноутбуці */
.fhmm__card{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto 1fr;align-items:start;gap:8px 6px;min-height:84px;padding:10px 10px 10px 12px}
.fhmm__cic{grid-column:1;grid-row:1}
.fhmm__card i{grid-column:2;grid-row:1}
.fhmm__ctt{grid-column:1 / -1;grid-row:2;align-self:end}

/* 18.11 Colors: квадратні плашки гами (назва всередині), "Допоможемо з вибором" притиснуто до низу меню, як бренди */
.fhmm__gam{grid-template-columns:repeat(7,minmax(0,140px));justify-content:start;gap:8px}
.fhmm__gs{position:relative;aspect-ratio:1/1;border-radius:10px;display:flex;flex-direction:row;align-items:flex-end;justify-content:flex-start;padding:8px 9px;box-sizing:border-box;color:#fff;box-shadow:inset 0 0 0 1px rgba(0,0,0,.06);transition:transform .15s,box-shadow .15s}
.fhmm__gs:hover{color:#fff;transform:translateY(-2px);box-shadow:inset 0 0 0 1px rgba(0,0,0,.12),0 6px 14px rgba(0,0,0,.12)}
.fhmm__gs_light,.fhmm__gs_light:hover{color:#1d1d1b}
.fhmm__gs .fhmm__gsn{padding:0;font-size:12px;font-weight:500;background:none}
.fhmm_clr .fhmm__lbl_cards{margin-top:auto;padding-top:12px;border-top:1px solid #e6e4df}
