
/* ==========================================
   FASHION FLOWERS — HEADER
   ========================================== */

.ff-header {
    position: relative;
    z-index: 100;
    width: 100%;
    background: #fff;
    color: #292929;
    border-bottom: 1px solid #f0f0f0;
}

.ff-header .ff-header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 64px;
}

.ff-header .ff-logo {
    flex: 0 0 150px;
    min-width: 0;
}

.ff-header .ff-logo img {
    display: block;
    width: 100%;
    max-width: 150px;
    height: auto;
    object-fit: contain;
}

.ff-header .ff-navigation {
    flex: 1 1 auto;
    min-width: 0;
}

.ff-header .ff-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    flex: 0 0 auto;
}

.ff-header .ff-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 26px;
    height: 32px;
    color: #333;
    text-decoration: none;
}

.ff-header .ff-action svg {
    display: block;
    width: 24px;
    height: 24px;
}

.ff-header .ff-action:hover {
    color: #777;
}

.ff-header .ff-mobile-menu {
    display: none;
    flex: 0 0 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
}


.category-hero .us-breadcrumb-item {
  color: #fff;
  fill: #fff;
  font-size: 12px;
}

.category-hero .us-breadcrumb-item + .us-breadcrumb-item::before, .us-breadcrumb-item-svg + .us-breadcrumb-item::before {
  background-color: #FFF;
}

.category-hero li.us-breadcrumb-item:nth-last-child(1) {
	color: #eee;
  fill: #eee;
}

@media (max-width: 575.98px) {
.category-hero__breadcrumbs {
text-align: start;
  justify-content: start;
  display: flex;
}
}


  #search {
    padding: 1rem;
    position: relative;
    height: 100%;
  }



  #sc-search-button {
    position: absolute;
    z-index: 2;
    top: 1.8875rem;
    right: 1.55rem;
    background: rgba(0,0,0,0);
    border: 0;
  }


/* Tablet and mobile */
@media (max-width: 991.98px) {
    .ff-header .ff-header-inner {
        min-height: 44px;
        gap: 12px;
    }

#logo-mobile img {
	max-height: 32px;
	}

.category-hero .mobile-breadcrumb {
  color: #fff;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
  
}



    .ff-header .ff-logo {
        flex: 1 1 auto;
        display: flex;
        justify-content: center;
    }

    .ff-header .ff-logo img {
        max-width: 80px;
    }

    .ff-header .ff-mobile-menu {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .ff-header .ff-navigation {
        display: none !important;
    }

    .ff-header .ff-actions {
        gap: 12px;
    }

    .ff-header .ff-action {
        width: 25px;
    }
}

/* Small mobile screens */
@media (max-width: 359.98px) {
    .ff-header .ff-header-inner {
        gap: 7px;
    }

    .ff-header .ff-logo img {
        max-width: 65px;
    }

    .ff-header .ff-actions {
        gap: 7px;
    }
}
/* категория баннер */

.category-hero {
    position: relative;
    height: clamp(221px, 25vw, 313px);
    overflow: hidden;
}

.category-hero__picture {
    display: block;
    width: 100%;
    height: 100%;
}

.category-hero__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.category-hero__breadcrumbs {
    position: absolute;
    top: 26px;
    left: 16px;
    right: 16px;
    z-index: 2;
}

.category-hero__title {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 2;

    margin: 0;
    color: #fff;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

@media (max-width: 767px) {
    .category-hero {
       height: 150px;
    }

    .category-hero__title {
        font-size: 24px;
        line-height: 1.1;
    }
}

/* Горизонтальное меню */


/* 1. Сбрасываем position:relative у родителей, ограничивающих dropdown */
.flexmenu {
    position: static !important;
}


  .flexMenu-viewMore .uni-megamenu-nav > .uni-mm-link:hover .uni-mm-dropdown {
    visibility: hidden;
    opacity: 0;
	display: none !important;
  }
  .flexMenu-viewMore .uni-mm-type-2,
  .flexMenu-viewMore .sub-arrow {
	display: none !important;
    visibility: hidden;
    opacity: 0;	
  }




.position-uni-static li.uni.uni-mm-link {
    position: static !important;
}

/* 2. Делаем header позиционирующим контейнером для dropdown */
.ff-header-inner {
    position: relative;
}

/* 3. Растягиваем dropdown на всю ширину container-fluid */
.position-uni-static .uni-mm-dropdown.uni-mm-full-width {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: none !important;
    top: 100% !important;
    margin: 0 !important;
    padding: 30px 0 !important;
    z-index: 1050;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    background: #fff;
}

/* 4. Ограничиваем внутренний контент шириной Bootstrap-контейнера */
.position-uni-static .uni-mm-dropdown.uni-mm-full-width .row {
   /* max-width: 1320px;*/  /* ваш брейкпоинт xxl, или 1140px для xl */
    margin: 0 auto;
   /* padding: 0 15px;*/
}

/* 5. Убираем лишние margin у dropdown (mx-3 в HTML) */
.position-uni-static .uni-mm-dropdown.uni-mm-full-width.mx-3 {
    margin-left: 0 !important;
    margin-right: 0 !important;
}


.position-uni-static {
  position: static !important;
}

/* desc */

	/* ==========================================
	CATEGORY HERO — основа
	========================================== */
	
	.category-hero {
    position: relative;
	}
	
	/* Интерактивный слой занимает весь баннер */
	.category-info {
    position: absolute;
    inset: 0;
    z-index: 5;
	
    display: block;
    width: auto;
    max-width: none;
    margin: 0;
	
    pointer-events: none;
	}
	
	
	/* ==========================================
	КНОПКА ОТКРЫТИЯ
	========================================== */
	
	.category-info__button {
    position: absolute;
    right: max(12px, calc((100% - 1504px) / 2 + 24px));
    bottom: 16px;
	
    display: flex;
    align-items: center;
    justify-content: center;
	
    box-sizing: border-box;
    width: 24px;
    height: 24px;
    padding: 0;
	
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .8);
    color: #37352f;
	
    font-family: Arial, sans-serif;
    font-size: 19px;
    line-height: 1;
	
    cursor: pointer;
    list-style: none;
	
    pointer-events: auto;
	
    transition: background .2s ease, transform .2s ease;
	}
	
	.category-info__button::-webkit-details-marker {
    display: none;
	}
	
	.category-info__button::marker {
    content: "";
	}
	
	.category-info__button:hover {
    background: #fff;
    /*transform: scale(1.05);*/
	}
	
	/*.category-info__button:focus-visible {
    outline: 2px solid #37352f;
    outline-offset: 3px;
	}*/
	
	/* При открытии скрываем кнопку информации */
	.category-info[open] > .category-info__button {
    visibility: hidden;
	}
	
	
	/* ==========================================
	ВНЕШНЕЕ ОКНО
	========================================== */
	
	.category-info__popup {
    position: absolute;
	
    left: max(12px, calc((100% - 1504px) / 2 + 12px));
    right: max(12px, calc((100% - 1504px) / 2 + 12px));
    bottom: 18px;
	
    box-sizing: border-box;
    width: auto;
    max-height: calc(100% - 36px);
	
    display: flex;
    flex-direction: column;
	
    margin: 0;
    padding: 0;
    overflow: hidden;
	
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 12px;
	
    background: rgba(255, 255, 255, .97);
    color: #333;
	
    box-shadow: 0 8px 32px rgba(0, 0, 0, .16);
    text-align: left;
	
    pointer-events: auto;
	}
	
	
	/* ==========================================
	ПРОКРУЧИВАЕМАЯ ОБЛАСТЬ
	========================================== */
	
	.category-info__body {
    box-sizing: border-box;
	
    min-height: 0;
    flex: 1 1 auto;
    max-height: none;
	
    margin: 0 8px 0 0;
    padding: 20px 44px 20px 24px;
	
    overflow-x: hidden;
    overflow-y: auto;
	
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
	
    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: #c8c8c8 transparent;
	}
	
	
	/* Chrome, Edge, Safari */
	.category-info__body::-webkit-scrollbar {
    width: 5px;
	}
	
	.category-info__body::-webkit-scrollbar-track {
    background: transparent;
	}
	
	.category-info__body::-webkit-scrollbar-thumb {
    background: #c8c8c8;
    border-radius: 10px;
	}
	
	.category-info__body::-webkit-scrollbar-thumb:hover {
    background: #999;
	}
	
	
	/* ==========================================
	ЗАГОЛОВОК И ТЕКСТ
	========================================== */
	
	.category-info__heading {
    margin: 0 0 10px;
	
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
	}
	
	.category-info__text {
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
	}
	
	.category-info__text p:last-child {
    margin-bottom: 0;
	}
	
	
	/* ==========================================
	КНОПКА ЗАКРЫТИЯ
	========================================== */
	
	.category-info__close {
    position: absolute;
    z-index: 2;
	
    top: 0;
    right: 0;
	
    display: flex;
    align-items: center;
    justify-content: center;
	
    box-sizing: border-box;
    width: 32px;
    height: 32px;
    padding: 0;
	
    border: 0;
    border-radius: 6px;
    background: #fff;
    color: #666;
	
    font-family: Arial, sans-serif;
    font-size: 30px;
    font-weight: 300;
    line-height: 1;
	
    cursor: pointer;
	}
	
	.category-info__close:hover {
    color: #333;
	}
	
	.category-info__close:focus-visible {
    outline: 2px solid #37352f;
    outline-offset: 2px;
	}
	
	
	/* ==========================================
	ПЛАНШЕТЫ
	========================================== */
	
	@media (max-width: 991.98px) {
    .category-info__button {
	right: 12px;
	bottom: 16px;
    }
	
    .category-info__popup {
	left: 12px;
	right: 12px;
	bottom: 12px;
	
	max-height: calc(100% - 24px);
	
	border-radius: 10px;
    }
	
    .category-info__body {
	padding: 18px 44px 18px 20px;
    }
	
    .category-info__close {
	top: 0;
	right: 0;
    }
	}
	
	
	/* ==========================================
	МОБИЛЬНЫЕ УСТРОЙСТВА
	========================================== */
	
	@media (max-width: 575.98px) {
    .category-info__body {
	padding: 18px 38px 18px 16px;
    }
	}
	



/* Стили для блока ссылок с изображением и текстом */
/* Горизонтальный скролл */
.sc-linkwalls-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    overflow-x: auto;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    
    /* КЛЮЧЕВОЕ: отключаем выделение текста на всем списке */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    
    /* КЛЮЧЕВОЕ: отключаем нативный drag-and-drop */
    touch-action: pan-x;
}

.sc-linkwalls-list::-webkit-scrollbar {
    display: none;
}

.sc-linkwalls-list:active {
    cursor: grabbing;
}

/* Запрет выделения на всех вложенных элементах */
.sc-linkwalls-list * {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Изображения не должны быть перетаскиваемыми */
.linkwall-icon img {
    pointer-events: none; /* Запрещаем взаимодействие с картинкой */
    -webkit-user-drag: none;
    user-drag: none;
}

/* Элемент списка */
.sw-linkwall {
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
}

/* Ссылка-рамка */
.linkwall-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: auto;
    flex-shrink: 0;
    padding: 0 10px 0 0;
    border: 1px solid #e0e0e0;
    border-radius: 9999px;
    text-decoration: none;
    color: #333;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    
    /* Отключаем выделение на ссылке */
    user-select: none;
    -webkit-user-select: none;
}

.linkwall-container:hover {
    /*border-color: #333;*/
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    color: #333;
    text-decoration: none;
}

/* Внутренний контейнер */
.linkwalls-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: max-content;
}

/* Иконка */
.linkwall-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.linkwall-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Текст */
.linkwall-title {
    display: -webkit-box;
    width: min-content;
    max-width: 180px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
    word-break: normal;
    overflow-wrap: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* Мобильная версия */
@media (max-width: 768px) {
    .sc-linkwalls-list {
        gap: 8px;
    }
    
    .linkwall-container {
        padding: 0 8px 0 0;
    }
    
    .linkwall-icon {
        width: 60px;
        height: 60px;
    }
    
    .linkwall-title {
        font-size: 12px;
        max-width: 130px;
    }
}