/* === ParfumElit fonts (Cormorant Garamond + Manrope) === */

:root {
    --theme-font-family: 'Manrope', Arial, sans-serif !important;
    --theme-font-title-family: 'Cormorant Garamond', Georgia, serif !important;
}

/* основной текст — Manrope */
body, p, span, div, li, a, button, input, textarea, select, label,
.maxwidth-theme, .menu-item, .header-menu__link,
.catalog-item__title, .footer__title {
    font-family: 'Manrope', Arial, sans-serif !important;
}

/* заголовки — Cormorant Garamond (классический парфюмерный serif) */
h1, h2, h3, h4, h5, h6,
.title, .index-block__title, .switcher-title,
.company-item__title, .product__title,
.banners-big__title,
.main-slider h1.switcher-title {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-weight: 500 !important;
    letter-spacing: 0.01em;
}

/* h1 баннеров — крупнее и тоньше для воздушности */
.banners-big__title,
.main-slider h1.switcher-title {
    font-weight: 400 !important;
    letter-spacing: 0;
}


/* === Категории каталога на главной — крупные плитки, фото на весь блок === */
.CATALOG_SECTIONS .sections-slider__item-image-wrapper {
    background: transparent !important;
    border: 1px solid #efece8 !important;
    box-shadow: 0 1px 8px rgba(0,0,0,0.05);
    padding: 0 !important;
    display: block !important;
    height: 360px !important;
    overflow: hidden !important;
    border-radius: 12px !important;
}
.CATALOG_SECTIONS .sections-slider__item-image {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center !important;
    transform: none !important;
    display: block !important;
}
.sections-slider__item {
    transition: transform 0.25s ease;
    margin-bottom: 12px;
    flex: 1 1 0 !important;
    min-width: 0 !important;
}
.sections-slider__item:hover { transform: translateY(-3px); }
.sections-slider__item-text {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 26px !important;
    font-weight: 500 !important;
    padding: 18px 8px 4px;
    display: block;
    text-align: center;
}
/* Категории CATALOG_SECTIONS — растягиваем карточку на ширину slide */
.CATALOG_SECTIONS .swiper-slide,
.CATALOG_SECTIONS .sections-slider__wrapper { width: calc(33.333% - 16px) !important; flex-shrink: 0 !important; }
.CATALOG_SECTIONS .sections-slider__item,
.CATALOG_SECTIONS .sections-slider__item-inner,
.CATALOG_SECTIONS .sections-slider__item-link { width: 100% !important; max-width: 100% !important; flex: 1 1 100% !important; }
.CATALOG_SECTIONS .sections-slider__item-image-wrapper { width: 100% !important; }
@media (max-width: 991px) {
    .CATALOG_SECTIONS .swiper-slide,
    .CATALOG_SECTIONS .sections-slider__wrapper { width: calc(50% - 12px) !important; }
    .CATALOG_SECTIONS .sections-slider__item-image-wrapper { height: 260px !important; }
}
@media (max-width: 600px) {
    .CATALOG_SECTIONS .swiper-slide,
    .CATALOG_SECTIONS .sections-slider__wrapper { width: calc(100% - 12px) !important; }
    .CATALOG_SECTIONS .sections-slider__item-image-wrapper { height: 220px !important; }
}

/* === Отступы между блоками — минимальные === */
.drag-block { margin-top: 0 !important; margin-bottom: 0 !important; }
.drag-block.BIG_BANNER_INDEX { margin-top: 4px !important; }
/* внутренние padding у Aspro index-block — впритык */
.drag-block .index-block { padding-top: 4px !important; padding-bottom: 4px !important; }
.drag-block.TIZERS .index-block { padding-top: 12px !important; padding-bottom: 12px !important; }
/* убрать voздух в Aspro оборачивающих swiper-nav-offset / relative */
.drag-block .swiper-nav-offset, .drag-block .swiper-nav-offset.relative { padding: 0 !important; }
/* Aspro index-block__title — заголовки секций ужать */
.drag-block .index-block__title, .drag-block h2.switcher-title { margin-top: 0 !important; margin-bottom: 14px !important; }
.drag-block .index-block__head { margin-bottom: 14px !important; padding: 0 !important; }
.drag-block.TIZERS .tizers-list { padding: 0 !important; }
.CATALOG_SECTIONS .sections-slider__item { margin-bottom: 0 !important; }
.CATALOG_SECTIONS .sections-slider__item-text { padding: 10px 4px 0 !important; }

/* === Сжать воздух в свайпере товаров === */
.drag-block .swiper-container,
.drag-block .swiper { padding-bottom: 0 !important; margin-bottom: 0 !important; }
.drag-block .swiper-pagination,
.drag-block .slider-solution--static-dots { display: none !important; }
.drag-block .catalog-item,
.drag-block .catalog-block__item { margin-bottom: 0 !important; }
.drag-block .slider-template { padding-bottom: 0 !important; margin-bottom: 0 !important; }
/* maxwidth-theme: убрать лишний vertical padding (если есть) */
.drag-block .maxwidth-theme { padding-top: 0 !important; padding-bottom: 0 !important; }
/* Aspro „слайдер ‒ нав-стрелки“ overlay-обёртка */
.drag-block .swiper-nav-offset, .drag-block .swiper-nav-offset.relative {
    padding-bottom: 0 !important; margin-bottom: 0 !important;
}
/* скрываем aspro COMPANY_TEXT — вместо него ниже свой ABOUT_US с фото */
.drag-block.COMPANY_TEXT { display: none !important; }
/* у swiper-nav-offset убираем лишние margin */
.drag-block .swiper-nav-offset { margin-top: 0 !important; margin-bottom: 0 !important; }

/* (карточки товаров — оставлены дефолтные Aspro grid-list--items-5-1200) */

/* === TIZERS — карточки преимуществ компактные с лёгким фоном === */
.TIZERS .tizers-list__items-wrapper { gap: 16px !important; }
.TIZERS .tizers-list__item-wrapper {
    background: #fff !important;
    border: 1px solid #efece8 !important;
    border-radius: 12px !important;
    padding: 18px 20px !important;
    transition: all 0.2s ease;
}
.TIZERS .tizers-list__item-wrapper:hover {
    border-color: #d4a574 !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
    transform: translateY(-2px);
}
.TIZERS .tizers-list__item-image-wrapper {
    background: #faf6ee !important;
    border-radius: 50% !important;
    width: 56px !important; height: 56px !important;
    display: flex !important; align-items: center; justify-content: center;
    flex-shrink: 0 !important;
}
.TIZERS .tizers-list__item-image-icon svg {
    width: 28px !important; height: 28px !important;
    fill: #d4a574 !important;
}
.TIZERS .tizers-list__item-image-icon svg path { fill: #d4a574 !important; }
.TIZERS .tizers-list__item-title {
    font-family: 'Manrope', sans-serif !important;
    font-size: 15px !important; font-weight: 600 !important;
    color: #1a1a2e !important; margin-bottom: 4px !important;
}
.TIZERS .tizers-list__item-text {
    font-family: 'Manrope', sans-serif !important;
    font-size: 13px !important; color: #666 !important; line-height: 1.45 !important;
}

/* === Порядок блоков на главной (CSS-only, Aspro не может перебить) === */
/* Используем :has() — родитель .container с .drag-block становится flex */
.container:has(> .drag-block) {
    display: flex !important;
    flex-direction: column !important;
}
.drag-block.BIG_BANNER_INDEX     { order: 1 !important; }
.drag-block.TIZERS               { order: 2 !important; }
.drag-block.CATALOG_SECTIONS     { order: 3 !important; }
.drag-block.CUSTOM_CATALOG_2     { order: 4 !important; }  /* Женская */
.drag-block.CUSTOM_CATALOG_MEN   { order: 5 !important; }
.drag-block.CUSTOM_CATALOG_UNISEX{ order: 6 !important; }
.drag-block.COMPANY_TEXT         { order: 7 !important; }
.drag-block.ABOUT_US             { order: 7 !important; }
.drag-block.OUR_BRANDS           { order: 8 !important; }
.drag-block.OUR_REVIEWS          { order: 9 !important; }
.drag-block.OUR_BLOG             { order: 10 !important; }
/* остальные Aspro-блоки скрываем (дубли, не нужно показывать) */
.drag-block.CUSTOM_CATALOG,
.drag-block.CUSTOM_CATALOG_3,
.drag-block.MIDDLE_ADV,
.drag-block.BOTTOM_BANNERS,
.drag-block.CATALOG_TAB,
.drag-block.BRANDS,
.drag-block.SALE,
.drag-block.BLOG,
.drag-block.CUSTOM_TEXT {
    display: none !important;
}
