@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/Jost-ExtraBold.ttf) format("truetype");
}

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Jost-SemiBold.ttf) format("truetype");
}

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Jost-Regular.ttf) format("truetype");
}

@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Oswald-Regular.ttf) format("truetype");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Jost", "Oswald", sans-serif;
  font-size: 16px;
  color: rgba(255, 255, 255, 1);
  font-weight: 400;
  line-height: 1.2;
}

:root {

}

html {
  scroll-behavior: smooth;
}

li {
  list-style: none;
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}

a {
  text-decoration: none;
}

img {
  width: 100%;
}

body {
  background-color: #E9D9CC;
  background-size: cover;
  position: relative;
}

/* Header Header Header Header Header Header Header Header Header Header Header*/

header {
  background: transparent;
  position: fixed;
  width: 100%;
  z-index: 100;
}

#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0;
  transition: all 0.3s ease;
  z-index: 100;
}

#header .container {
  position: relative;
  z-index: 3;
}

.header_wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px;
}

.first_block_header {
    padding: 12px 0 8px 0;
    background-color: #e9d9cc;
}

.header_phone {
  color: rgba(11, 8, 6, 1);
  font-size: 18px;
  font-weight: 800;
  transition: all 0.4s;
}

.header_address {
  color: rgba(11, 8, 6, 1);
  font-size: 16px;
  font-weight: 400;
  transition: all 0.4s;
}

.first_block_header a:hover {
  color: rgba(202, 161, 110, 1);
}

.wrapper_time_work {
    display: flex;
    gap: 35px;
    flex-wrap: wrap;
}

.wrapper_time_work p {
  color: rgba(11, 8, 6, 1);
}
.first_block_header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.second_block_header .container {
    display: flex;
    justify-content: space-between;
}

.wrapper_block_menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.wrapper_icons_menu {
    display: flex;
    gap: 8px;
    padding-left: 20px;
}

.header_logo_block {
    width: 260px;
}

.header_logo_block img {
    max-width: 174px;
}

.wrapper_block_menu a {
    text-transform: uppercase;
    color: rgba(11, 8, 6, 1);
    margin-bottom: 4px;
    border-bottom: 1px solid transparent;
}

.second_block_header {
    background-color: rgba(255, 255, 255, 1);
    padding: 17px 0 13px 0;
    transition: all 0.3s ease;
}

.wrapper_icons_menu_mob {
    display: none;
}


.burgerMenu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 380px;
    height: 100%;
    background: white;
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: left 0.35s ease;
    padding: 30px 24px;
    overflow-y: auto;
}
.burgerMenu.active {
    left: 0;
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 19;
    opacity: 0;
    visibility: hidden;
    transition: 0.25s;
}
.overlay.active {
    opacity: 1;
    visibility: visible;
}

.wrapper_header_mob_menu {
    list-style: none;
    margin-top: 40px;
}
.wrapper_header_mob_menu > li {
    margin-bottom: 16px;
    border-bottom: 1px solid #f0eae3;
}
.wrapper_header_mob_menu > li > a {
    font-size: 18px;
    font-weight: 500;
    color: #0B0806;
    text-decoration: none;
    display: block;
    padding: 12px 0;
}
.wrapper_header_mob_menu ul {
    list-style: none;
    padding-left: 16px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    max-height: 0;
    padding: 0;
}
.wrapper_header_mob_menu ul li a {
    display: block;
    padding: 8px 0;
    color: #5a4a3a;
    text-decoration: none;
    font-size: 15px;
}

/* ========== DROPDOWN ПОД ХЕДЕРОМ ========== */
.dropdown {
    position: static;
}
.dropdown-trigger {
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
    background: transparent;
    white-space: nowrap;
    position: relative;
    z-index: 1003;
    text-transform: uppercase;
    color: rgba(11, 8, 6, 1);
    font-family: 'Oswald';
    margin-bottom: 4px;
    border-bottom: 1px solid transparent;
}
.dropdown-trigger .arrow-icon {
    transition: transform 0.25s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    display: inline-flex;
    font-size: 11px;
}
.dropdown-trigger .arrow-icon::after {
    content: "▼";
    opacity: 0.7;
}
.dropdown.open .dropdown-trigger .arrow-icon {
    transform: rotate(180deg);
}

/* FULL-WIDTH МЕНЮ */
.dropdown-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.15);
    padding: 40px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    z-index: 999;
    pointer-events: none;
    border-bottom: 1px solid #f0eae3;
    transition: all 0.3s ease;
}

.dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-menu .dropdown-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    gap: 60px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.dropdown-column {
    min-width: 200px;
}

.dropdown-column h4 {
    font-size: 18px;
    font-weight: 600;
    color: #b17f5a;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.dropdown-column a {
    display: block;
    padding: 8px 0;
    font-size: 15px;
    color: #4a3a2c;
    text-decoration: none;
    transition: color 0.2s, transform 0.2s;
}

.dropdown-column a:hover {
    color: #b17f5a;
    transform: translateX(4px);
}

/* Невидимый мостик для удержания мыши */
.dropdown::before {
    content: '';
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    height: 1px;
    background: transparent;
    z-index: 998;
    pointer-events: none;
}

.dropdown-menu li {
    position: relative;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 10px;
    margin-right: 12px;
}

.dropdown-menu li::before {
    width: 100%;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgb(243 243 243 / 70%) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 10px 10px 0 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s;
}

.dropdown-menu li:hover,
.filter_evening_dresses ul li:hover a {
    background: rgb(233 210 204);
    transition: all 0.4s;
}

.dropdown-menu li:hover::before {
    opacity: 1;
}

.dropdown-menu li:active,
.filter_evening_dresses li:active {
    background: rgb(233 210 204);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(139, 111, 78, 0.2);
    box-shadow: 0 2px 8px rgba(139, 111, 78, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: scale(0.96);
    transition-duration: 0.1s;
}

.wrapper_menu_block_dropdown p {
    font-weight: 600;
    color: rgba(11, 8, 6, 1);
}

.wrapper_menu_block_dropdown ul {
    padding-left: 0px;
    padding-top: 10px;
}

.wrapper_menu_block_dropdown ul li a {
    color: rgba(11, 8, 6, 1);
    text-transform: none;
    font-size: 14px;
}

.wrapper_menu_block_dropdown ul li {
    padding-top: 8px;
}

.all_a {
    font-weight: 600;
    font-size: 14px;
}

.container .wrapper_menu_block_dropdown {
    width: 100%;
    margin-right: 12px;
    border-right: 1px solid #E9D9CC;
}

.container .wrapper_menu_block_dropdown:last-child {
    width: 100%;
    margin-right: 12px;
    border-right: 0px solid #E9D9CC;
}

/* ========== ПОИСКОВАЯ ПАНЕЛЬ (выдвигается снизу) ========== */
.search-panel {
    position: fixed;
    top: 108px;
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.15);
    padding: 30px 0;
    z-index: 8;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    border-bottom: 1px solid #f0eae3;
}

.search-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
    border: 2px solid #f0eae3;
    border-radius: 50px;
    background: #ffffff;
    transition: all 0.3s ease;
    outline: none;
    font-family: inherit;
    color: rgba(11, 8, 6, 1);
}

.search-input:focus {
    border-color: #b17f5a;
    box-shadow: 0 0 0 3px rgba(177, 127, 90, 0.1);
}

.search-input::placeholder {
    color: #bbb5ae;
    font-size: 16px;
}

.search-button {
    background: #b17f5a;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.search-button:hover {
    background: #9a6948;
    transform: translateY(-1px);
}

.search-close {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.search-close:hover {
    background: #f5f0eb;
}

.search-close svg {
    width: 24px;
    height: 24px;
}

.search-suggestions {
    display: none !important;
    margin-top: 16px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #8b7a6a;
}

.search-suggestions span {
    cursor: pointer;
    transition: color 0.2s;
}

.search-suggestions span:hover {
    color: #b17f5a;
}

.dropdown-trigger:hover {
    border-bottom: 1px solid #b17f5a;;
}

.side-menu__content {
    padding: 140px 20px 20px 20px;
}

/* Оверлей */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Стили бургера */
.burger {
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.burger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #000;
    transition: all 0.3s ease;
}

.burger span:first-child {
    top: 5px;
}

.burger span:last-child {
    bottom: 5px;
    width: 20px;
}

.header_burger_mobile {
    display: flex;
    align-items: center;
}


.burger.open span:first-child {
    transform: rotate(45deg);
    top: 9px;
}

.burger.open span:last-child {
    transform: rotate(-45deg);
    bottom: 9px;
    width: 30px;
}

.header_burger_mobile_menu {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.header_burger_mobile_menu li a {
    color: #0B0806;
    font-family: 'Oswald';
    font-size: 20px;
    text-transform: uppercase;
}


.hero-placeholder {
    margin-top: 100px;
    text-align: center;
    padding: 80px 20px;
    background: #fefaf5;
}

.menu-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    overflow: hidden;
    min-height: 100vh;
}

/* Обертка для анимации сдвига */
.menu-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.3s ease;
}

/* Базовые стили для всех меню */
.menu-wrapper .side-menu {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    overflow-y: auto;
    left: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

/* Состояния трансформации */
.menu-wrapper.main-visible {
    transform: translateX(0);
}

.menu-wrapper.sub-visible {
    transform: translateX(-100%);
}

/* Кнопка назад */
.submenu-header {
    margin-bottom: 30px;
    border-bottom: 0px solid #eee;
    padding-bottom: 15px;
}

.back-button {
    display: flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #0B0806;
    padding: 0;
    width: 100%;
}

.back-button svg {
    transition: transform 0.3s ease;
}

.back-button:hover svg {
    transform: translateX(-3px);
}

.submenu-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.submenu-list a {
    text-decoration: none;
    color: #0B0806;
    font-size: 16px;
    transition: color 0.3s ease;
}

.submenu-list a:hover {
    color: #b17f5a;
}

/* Добавьте или исправьте эти стили */
.has-submenu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.has-submenu a {
    flex: 1;
    text-decoration: none;
    color: #0B0806;
    font-family: 'Oswald';
    font-size: 20px;
    text-transform: uppercase;
}

.has-submenu svg {
    cursor: pointer;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.has-submenu:hover svg {
    transform: translateX(3px);
}

.title_submenu {
    font-size: 20px;
    color: #0B0806;
    text-transform: uppercase;
    font-family: 'Oswald';
    text-align: center;
    margin-bottom: 20px;
}

/* Аккордеон в подменю */


.accordion-item.active .accordion-header {
    background-color: #E9D9CC4D;
}



.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 12px 12px;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
    border: 1px solid rgb(233 210 204);
    box-shadow: 0 4px 16px rgb(233 210 204), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.accordion-header.active::before {
    opacity: 1;
}
.accordion-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s;
}
.accordion-item.active .accordion-header {
    border: 1px solid rgb(233 210 204);
    box-shadow: 0 4px 16px rgb(233 210 204), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.accordion-item.active .accordion-header {
    background-color: #e9d2cc;
}

.accordion-item.active .accordion-header:active {
    transform: scale(0.97);
    transition-duration: 0.1s;
    background: rgb(233 210 204);
}


.accordion-header a {
    color: #0B0806;
    font-family: 'Jost';
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    text-transform: none;
}

.accordion-icon {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding-left: 16px;
    margin: 0;
}

.accordion-item.active .accordion-content {
    max-height: 500px; /* Достаточно для раскрытия */
}

.accordion-content li {
    margin-bottom: 12px;
    margin-top: 12px;
}

.accordion-content li:last-child {
    margin-bottom: 20px;
}

.accordion-content a {
    color: #5a4a3a;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s;
}

.accordion-content a:hover {
    color: #b17f5a;
}

.accordion_header_title {
    color: #0B0806;
}

.first_block_header.hide {
    transform: translateY(-100%);
    opacity: 0;
}

.container_burger_mobile {
    display: flex;
    gap: 16px;
    flex-direction: column;
    margin-bottom: 60px;
}

.container_burger_mobile .header_phone {
    font-size: 24px;
}

.info_block_burger_mobile {
    display: none;
}

/* Adaptive Header Adaptive Header Adaptive Header Adaptive Header Adaptive Header Adaptive Header */

@media (max-width: 1350px) {
  .container {
      padding: 0 60px;
  }
}

@media (max-width: 1024px) {
  .container {
      padding: 0 20px;
  }
  .wrapper_time_work {
      gap: 15px;
  }
  .header_logo_block {
      width: 242px;
  }
}

@media (max-width: 850px) {
  .wrapper_block_menu {
      display: none;
  }
  .header_logo_block {
      width: auto;
  }
  .wrapper_icons_menu_mob {
    display: flex;
    gap: 20px;
  }
  .side-menu__content {
        padding: 80px 20px 20px 20px;
    }

}

@media (max-width: 800px) {
    .container {
        padding: 0 20px;
    }
    .wrapper_time_work {
        gap: 15px;
    }
    .first_block_header {
        display: none;
    }
    .side-menu__content {
        padding: 80px 20px 20px 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
    }
    .sub_side_menu_content {
        padding: 80px 20px 20px 20px;
    }
    .wrapper_time_work {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    /* Добавьте, чтобы скрыть десктопный дропдаун на мобильных */
    .dropdown {
        display: none;
    }

    .info_block_burger_mobile {
        display: flex;
    }
}

@media (min-width: 851px) {
    .menu-container {
        display: none !important;
    }
    .first_block_header {
        position: relative;
        left: 0;
        width: 100%;
        padding: 12px 0 8px 0;
        background-color: #E9D2CC;
        height: var(--first-header-height);
        transition: all 0.7s ease !important;
        will-change: transform;
    }

    .second_block_header {
        /* position: absolute; */
        width: 100%;
        top: var(--first-header-height);
        height: 67px;
        background-color: rgba(255, 255, 255, 1);
        padding: 17px 0 13px 0;
        transition: all 0.7s ease;
        will-change: transform;
        }

    .is-scrolled .first_block_header {
        transform: translateY(-100%);
        }
    .is-scrolled .second_block_header {
        transform: translateY(
            calc(0px - var(--first-header-height))
        );
    }
}

@media (max-width: 360px) {
    .wrapper_icons_menu_mob {
        display: flex;
        gap: 15px;
    }
}

main {
    overflow: hidden;
    margin-top: 0px;
    position: relative;
}

section.main_banner {
    height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: 68%;
}

/* CSS для упрощенного варианта */
.animated-header {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
    z-index: 101;
    background-color: rgba(233, 217, 204, 1);
}

#header.hide-top-block .first_block_header {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    height: 0;
    padding: 0;
    margin: 0;
}

.header-placeholder {
    transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: rgba(233, 217, 204, 1);
}

/* Опционально: добавляем тень и фон для закрепленного хедера */
#header.scrolled {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.first_block_header {
    max-height: 100px; /* задайте реальную высоту вашего блока */
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.3s ease-out, transform 0.4s ease-out;
}


#header.scrolled .dropdown-menu {
    top: 55px;
}

.first_block_header,
.dropdown-menu,
main {
    will-change: transform, opacity, top;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Для сглаживания анимации */
#header,
.first_block_header,
.second_block_header {
    will-change: transform;
    transform: translateZ(0);
}

/* Только самые необходимые transition */
.first_block_header {
    transition: opacity 0.2s ease-out;
    /* transform убираем из transition, управляем через JS */
}

main {
    transition: transform 0.2s ease-out;
    will-change: transform;
}

.main_banner_main_title {
    position: relative;
    width: 100%;
    bottom: -75%;
    display: flex;
    justify-content: center;
}

.main_banner_main_title h1 {
    font-family: "Oswald";
    font-size: 4.3vw;
    text-transform: uppercase;
    word-break: normal
}

.main_banner_appointment {
    display: flex;
    justify-content: flex-end;
    position: relative;
    bottom: -78%;
    right: 0.5%;
}

.main_banner_appointment a {
    color: #0B0806;
    border: 1px solid #0B0806;
    border-radius: 8px;
    background-color: #ffffff;
    padding: 10px 13px;
    cursor: pointer;
    transition: all 0.4s;
    margin-top: 20px;
}

.main_banner_appointment a:hover {
    color: #0B0806;
    background-color: #e9d9cc;
}


section.main_banner .container {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
}

.button_group {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 100%;
}

.button_group .main_banner_appointment {
    width: 100%;
}


@media (max-width: 1500px) {
    .main_banner_main_title h1 {
        font-size: 8.1vw;
    }
}

@media (max-width: 1464px) and (max-height: 700px) {
    .main_banner_main_title,
    .main_banner_appointment {
        bottom: -62%;
    }
}

@media (max-width: 1362px) {
    
}

@media (max-width: 1265px) and (max-height: 627px) {
    .main_banner_main_title,
    .main_banner_appointment {
        bottom: -60%;
    }
}

@media (max-width: 1024px) {
    .main_banner_main_title {
        font-size: 14.2vw;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .button_group {
        width: 100%;
    }
    .main_banner_main_title h1 {
        font-size: 12vw;
    }
    .main_banner_main_title h1 {
        word-break: break-word;
    }
    .main_banner_appointment {
        justify-content: center;
    }
    .main_banner_main_title, .main_banner_appointment {
        bottom: -50%;
    }
}
@media (max-width: 500px) {
    .main_banner_appointment a {
        width: 100%;
        text-align: center;
    }
    .main_banner_main_title, .main_banner_appointment {
        bottom: -75%;
    }
}
@media (max-width: 470px) {
    .main_banner_main_title, .main_banner_appointment {
        bottom: -70%;
    }
    .main_banner_main_title h1 {
        font-size: 15vw;
    }
}
@media (max-width: 444px) {
    .main_banner_main_title h1 {
        font-size: 14vw;
    }
}
@media (max-width: 420px) {
    .main_banner_main_title, .main_banner_appointment {
        bottom: -65%;
    }
}

.new_colection_banner {
    background-color: #E9D2CC;
}

.new_colection_banner_wrapper_content {
    padding-top: 60px;
    padding-bottom: 40px;
}

.new_colection_banner_block_title {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
}

.new_colection_banner_block_title h2 {
    font-size: 50px;
    text-transform: uppercase;
    line-height: 88%;
    letter-spacing: -1%;
    font-family: "Oswald";
    color: #0B0806;
}

.new_colection_banner_block_title a {
    color: #0B0806;
    border-radius: 8px;
    padding: 10px 13px;
    transition: all 0.4s;
}

.new_colection_banner_block_title a:hover {
    background-color: #fff;
}

.new_colection_card {
    width: calc(33.3% - 16px);
    position: relative;
    margin-bottom: 32px;
}

.new_favorite_colection_card {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
}

.new_item_colection_card,
.new_sale_colection_card {
    position: absolute;
    top: 10px;
    left: 10px;
}

.header {
    position: sticky;
    top: 0;
}

.first_block_header {
    position: relative;
    background-color: #E9D2CC;
}

.new_colection_info_card {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
}

.new_colection_price_card {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0px;
}

.old_price {
    font-size: 12px;
    position: relative;
}

.new_colection_catalog_card {
    display: flex;
    gap: 16px;
}

.new_colection_price_card p, .new_colection_price_card {
    color: #caa16e;
    font-weight: 400;
}

.new_colection_title_card p {
    color: #0B0806;
    font-weight: 400;
    text-wrap: auto;
}

p.old_price:before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 7px;
    width: 50px;
    height: 1px;
    background-color: #0B080699;
    transform: rotate(0deg) translateY(-50%);
}

.new_colection_banner_block_title_mobile a:hover {
    background-color: #fff;
}

.new_colection_banner_block_title_mobile a {
    width: 100%;
    text-align: center;
    color: #0B0806;
    border-radius: 8px;
    margin-top: 24px;
    padding: 10px 13px;
    transition: all 0.4s;
    display: none;
}

.breadcrumbs {
    margin-top: 28px;
    margin-bottom: 30px;
}

.breadcrumbs_nav {
    display: flex;
    align-items: baseline;
    gap: 5px;
}
.breadcrumbs_nav li a {
    color: #0B080699;
    font-size: 12px;
}

.breadcrumbs_nav span {
    color: #0B080699;
    font-size: 12px;
}

.breadcrumbs_nav p {
    color: #0B0806;
    font-size: 12px;
}

.main_page {
    background-color: #fff;
}

.about_our_salon_title_wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about_our_salon_title_wrapper p {
    color: #0B0806;
    max-width: 625px;
    text-align: center;
    line-height: 100%;
    letter-spacing: 0%;
    padding-top: 24px;
}

h1.main_title_page {
    font-size: 50px;
    color: #0B0806;
    font-family: 'Oswald';
}

.about_our_salon_image_wrapper {
    display: flex;
    gap: 16px;
    width: 85%;
    max-width: 100%;
    margin: 0 auto;
    margin-top: 34px;
    border-radius: 16px;
}

.about_our_salon_image_wrapper img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.about_our_salon_image_wrapper > * {
    flex: 1;     
    min-width: 0;
}

.big_image_about_our_salon {
    flex: 1.5; 
}
@media (max-width: 800px) {
    .about_our_salon_image_wrapper {
        width: 100%;
        margin-bottom: 34px;
    }
}
@media (max-width: 550px) {
    .about_our_salon_image_wrapper {
        flex-direction: column;
    }
}
.block_image_content_wrapper {
    padding-top: 60px;
    position: relative;
}

.block_image_content_block_top,
.block_image_content_block_bottom {
    position: absolute;
    z-index: 9;
    max-width: 593px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    border: 1px solid #fff;
    border-radius: 16px;
    background-color: rgba(11, 8, 6, 0.3);
}

.block_image_content_block_top p,
.block_image_content_block_bottom p {
    color: rgba(255, 255, 255, 1);
}

.block_image_content_block_top {
    top: 160px;
    right: 200px;
}

.block_image_content_block_bottom {
    bottom: 160px;
    left: 200px;
}

@media (max-width: 1380px) {
    .block_image_content_block_top {
        right: 50px;
    }
    .block_image_content_block_bottom {
        left: 50px;
    }
}

@media (max-width: 1024px) {
    .block_image_content_block_top {
        top: 100px;
    }
    .block_image_content_block_bottom {
        bottom: 60px;
    }
}

@media (max-width: 800px) {
    .block_image_content_block_top {
        position: relative;
        right: 0px;
        top: 0px;
    }

    .block_image_content_block_bottom {
        position: relative;
        left: 0px;
        bottom: 0px;
    }
    .block_image_content_wrapper img {
        display: none;
    }
    .block_image_content_wrapper {
        background-image: url('/assets/template/image/new_image/block_image_content_wrapper.png');
        background-position-x: 30%;
        background-position-y: 12%;
        padding-bottom: 60px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
        padding-left: 24px;
        padding-right: 24px;
    }
}

.choice_jadore h2 {
    font-family: 'Oswald';
    font-size: 50px;
    color: rgba(11, 8, 6, 1);
    line-height: 88%;
    letter-spacing: -1%;
}

section.choice_jadore {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.choice_jadore_images_wrapper {
    padding-top: 48px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 60px;
    justify-content: center;
}

.choice_jadore_images_block_item img {
    border-radius: 16px;
}

.choice_jadore_images_block_item {
    width: calc(25% - 15px);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 16px;
}

.choice_jadore_images_block_item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Градиентное затемнение снизу */
.choice_jadore_images_block_item::before {
    content: '';
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 60%;  /* Высота затемнения (60% от высоты блока) */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
    transition: bottom 0.5s ease-in-out;
    z-index: 1;
    pointer-events: none;
}

.choice_jadore_images_block_item:hover::before {
    bottom: 0;  /* Затемнение выезжает снизу */
}

.content_foto_wedding {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    color: white;
    padding: 20px 24px 15px 24px;
    text-align: start;
    transition: bottom 0.5s ease-in-out;
    z-index: 2;
    box-sizing: border-box;
}

.choice_jadore_images_block_item:hover .content_foto_wedding {
    bottom: 0;
}

/* Стили для текста */
.content_foto_wedding p {
    margin: 5px 0;
    color: rgba(255, 255, 255, 1);
    font-weight: 700;
}

.content_foto_wedding a {
    color: rgba(255, 255, 255, 1);
    text-decoration: none;
    transition: color 0.3s;
}

.content_foto_wedding a:hover {
    color: rgba(255, 255, 255, 1);
    text-decoration: underline;
}

.filter_evening_dresses {
    margin-bottom: 32px;
}

.filter_evening_dresses ul {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.filter_evening_dresses ul li a {
    color: rgba(11, 8, 6, 0.6);
}
.filter_evening_dresses ul li a {
    border-radius: 7px;
    padding: 3px 10px;
}
.filter_evening_dresses ul li a.active {
    border-radius: 16px;
    /* background: rgba(0, 0, 0, 0.33); */
}

@media (max-width: 1024px) {
    .choice_jadore_images_block_item {
        width: calc(33.33% - 16px);
    }
    
}

@media (max-width: 767px) {
    .choice_jadore_images_block_item {
        width: calc(50% - 16px);
    }
    .choice_jadore h2 {
        font-size: 44px;
    }
}

@media (max-width: 700px) {
    section.choice_jadore {
        align-items: flex-start;
    }
    .choice_jadore_images_block_item {
        width: calc(50% - 16px);
    }
    .choice_jadore h2 {
        font-size: 44px;
        line-height: 100%;
        padding-left: 24px;
    }
}

@media (max-width: 700px) {
    .choice_jadore_images_block_item {
        width: 100%;
    }
}


@media (max-width: 1200px) {
    .new_colection_catalog_card {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        flex-wrap: nowrap;
        display: flex;
        scrollbar-width: none;
    }
    .new_colection_card {
        width: 270px !important;
        display: flex;
        flex-shrink: 0;
        flex-direction: column;
        gap: 10px;
    }
}
@media (max-width: 600px) {
    .new_colection_banner_block_title a {
        display: none;
    }
    .new_colection_banner_block_title_mobile a {
        display: block;
    }
}
.catalog_category {
    padding: 60px 0;
    background: #fff;
}

.catalog_category_item_wrapper {
    display: flex;
    gap: 16px;
}

.catalog_category_item {
    position: relative;
    overflow: hidden;
}

.catalog_category_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.catalog_category_item:hover {
    box-shadow: 3px 3px 20px 0px rgba(0, 0, 0, 0.34);
}

.catalog_category_item:hover img {
    transform: scale(1.1);
}

.catalog_category_item h3 {
    position: absolute;
    top: 32px;
    left: 32px;
    font-size: 50px;
    letter-spacing: -1%;
    line-height: 88%;
}

@media (max-width: 680px) {
    .catalog_category_item_wrapper {
        flex-direction: column;
    }
    .catalog_category_item h3 {
        font-size: 38px;
    }
}

.advantages_company {
    padding: 60px 0;
    background-size: cover;
    background-position-x: 0px;
    background-position-y: -1px;
}

.wrapper_advantages_company_block {
    display: flex;
    flex-wrap: wrap;
    gap: 21px;
}

.advantages_number_item {
    font-family: "Jost";
    font-size: 50px;
    font-weight: 700;
}

.advantages_title_item {
    font-family: "Jost";
    font-size: 20px;
    font-weight: 700;
}

.advantages_block_item {
    width: calc(25% - 16px);
    height: 303px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.advantages_block_item.active {
    border: 1px solid #FFFFFF;
    background: rgba(11, 8, 6, 0.2);
}

.wrapper_advantages_company_block_mobile {
    display: none;
}

@media (max-width: 1200px) {
    .advantages_block_item {
       display: none;
    }

    .advantages_block_item.active {
        width: 270px !important;
        display: flex;
        flex-shrink: 0;
    }
    .wrapper_advantages_company_block_mobile {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        flex-wrap: nowrap;
        display: flex;
        scrollbar-width: none;
        gap: 20px;
    }
    .wrapper_advantages_company_block {
        display: none;
    }
}
@media (max-width: 800px) {
    .advantages_company {
        padding: 40px 0 100px 0;
    }
}

ul.category_item.menu {
    min-width: 290px;
}

.dropdown_item_menu {
    position: relative;
    padding: 8px 12px 7px 12px;
    display: flex;
    align-items: baseline;
    gap: 10px;
    justify-content: space-between;
    background: rgba(212, 197, 185, 0.6);
    border: 1px solid rgb(233 210 204);
    box-shadow: 0 4px 16px rgb(233 210 204), inset 0 1px 0 rgba(255, 255, 255, 0.7);
    transition: all 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
    background: transparent;
    border-radius: 12px;
    cursor: pointer;
    background-color: rgb(233 210 204 / 40%);
}

.sortdir_catalog_menu {
    background: rgb(233 210 204 / 40%);
    border: 1px solid rgb(233 210 204);
    box-shadow: 0 4px 16px rgb(233 210 204), inset 0 1px 0 rgb(233 210 204);
    overflow: hidden;
    border-radius: 12px;
}

.dropdown_item_menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8%;
    background: linear-gradient(180deg, rgb(233 210 204) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s;
}

.dropdown_item_menu.active {
    background-color: rgb(233 210 204 / 40%);
    border: 1px solid rgb(233 210 204, 0.4);
    box-shadow: 0 4px 16px rgb(233 210 204), inset 0 1px 0 rgb(233 210 204);
    overflow: hidden;
}

.category_accordion_wrapper.active {
    background: rgb(233 210 204 / 40%);
    border: 1px solid rgb(233 210 204);
    box-shadow: 0 4px 16px rgb(233 210 204), inset 0 1px 0 rgb(233 210 204);
    overflow: hidden;
    border-radius: 12px;
}

.dropdown_item_menu.active:active,
.category_accordion_wrapper:active {
    transform: scale(0.97);
    transition-duration: 0.1s;
    background: rgba(233, 210, 204, 0.4);
}

.wrapper_menu_block_category_dropdown ul li:has(a.active),
.filter_evening_dresses ul li a.active{
    background: rgb(233 210 204 / 40%);
    border: 1px solid rgb(233 210 204);
    box-shadow: 0 4px 16px rgb(233 210 204), inset 0 1px 0 rgb(233 210 204);
    overflow: hidden;
    border-radius: 7px;
}


.wrapper_menu_block_category_dropdown ul li:active {
    transform: scale(0.97);
    transition-duration: 0.1s;
    background: rgba(233, 210, 204, 0.4);
    border: 1px solid rgb(233 210 204);
    box-shadow: 0 4px 16px rgb(233 210 204), inset 0 1px 0 rgb(233 210 204);
    overflow: hidden;
    border-radius: 12px;
}


.filter_evening_dresses ul li:hover {
    /* color: rgba(11, 8, 6, 0.6);
    padding: 3px 8px;
    background: rgba(0, 0, 0, 0.33); */
    border-radius: 16px;
    transition: all 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
    background: rgba(139, 111, 78, 0.06);
}
.dropdown_item_menu.active::before {
    opacity: 1;
}


.wrapper_menu_block_category_dropdown li .all_a {
    color: #0B0806;
    font-weight: 600;
    font-size: 14px;
}

.wrapper_menu_block_category_dropdown li {
    padding: 8px 12px 7px 12px;
    margin-left: 32px;
}

ul.category_item.menu li {
    display: flex;
    justify-content: space-between;
}

ul.wrapper_sortdir li {
    display: flex;
    justify-content: flex-end;
}

.category_item_a.glass_button_catalog {
    width: 100%;
    text-align: start;
    display: flex;
    justify-content: flex-start;
    border-radius: 12px;
}


ul.category_item.menu li p {
    color: #0B0806;
    font-size: 14px;
    font-weight: 600;
    color: #0B0806;
}

.category_accordion_wrapper {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 8px 12px 7px 12px;
    margin-left: 32px;
}
.category_accordion_wrapper p {
    color: #0B0806;
    font-size: 14px;
}

.category_accordion_wrapper ul {
    margin-left: 32px;
}

.wrapper_menu_block_category_dropdown ul li a {
    color: #0B0806;
    font-size: 14px;
    padding-left: 22px;
}

/* Для главного меню */
.dropdown_item_menu {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown_item_menu .category_accordion_icon {
    transition: transform 0.3s ease;
}

.dropdown_item_menu.active .category_accordion_icon {
    transform: rotate(180deg);
}

/* Для аккордеонов внутри */
.category_accordion_wrapper {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category_accordion_wrapper .category_accordion_icon {
    transition: transform 0.3s ease;
}

.category_accordion_wrapper.active .category_accordion_icon {
    transform: rotate(180deg);
}

/* Стили для подменю */
.dropdown_menu_category {
    transition: max-height 0.3s ease-out;
    overflow: hidden;
}

.category_accordion_wrapper.active + ul {
    max-height: auto; /* Или auto, если используете JS */
}

.category_item_a {
    font-size: 14px;
    color: black;
    font-weight: 600;
    padding: 8px 12px 7px 12px;
    margin-top: 4px;
}

.catalog_filters_title_wrapper h1 {
    font-size: 50px;
    font-family: 'Oswald';
    color: rgba(11, 8, 6, 1);
    padding-bottom: 55px;
}

.category_wrapper {
    padding-top: 12px;
}

.category_catalog_card {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.show_filters_mobile,
.close_filters_mobile {
    display: none;
}

.video-container iframe {
    height: calc(100% + 35px);
    width: 100%;
    display: block !important;
}

.video-container {
    height: 414px;
    max-height: 414px;
    transform: scale(1.3) translateY(41px);
}

.video_container_tovar {
    height: 512px;
    max-height: 512px;
    position: absolute;
    width: 100%;
    transform: scale(1.33) translateY(55px) translateX(1px);
}

.error-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}
.error-pic {
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
}

.error {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.error-butt {
    padding: 10px 13px;
    color: #0B0806;
    background-color: #e9d2cc;
    border-radius: 8px;
    cursor: pointer;
}

.error-pic img {
    max-width: 800px;
}

.error-label {
    font-size: 24px;
    color: black;
}

@media (max-width: 1200px) {
    .category_card {
        width: calc(50% - 8px) !important;
    }
}
@media (max-width: 768px) {
    .catalog_filters_title_wrapper h1 {
        font-size: 24px;
        padding-bottom: 24px;
    }
    .show_filters_mobile,
    .close_filters_mobile {
        display: block;
    }
    .catalog_filters_title_wrapper {
        display: flex;
        justify-content: space-between;
    }
    .category_catalog_card {
        justify-content: center;
    }

    .category_wrapper {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #fff;
        z-index: 1000;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s ease-out;
        padding: 20px;
        box-sizing: border-box;
    }
    
    .category_wrapper.open {
        transform: translateX(0);
    }
    
    /* Оверлей для затемнения фона */
    .category_wrapper_overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
    }
    
    .category_wrapper_overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Кнопка показа фильтров */
    .show_filters_mobile {
        display: block;
        cursor: pointer;
    }
    
    /* Кнопка закрытия внутри меню */
    .close_filters_mobile {
        display: flex;
        justify-content: flex-end;
        margin-bottom: 20px;
        cursor: pointer;
    }
    
    /* Блокируем скролл body когда меню открыто */
    body.menu-open {
        overflow: hidden;
    }
}

footer {
    position: relative;
}
.footer_map_block {
    width: 50%;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
}

.footer_left_block {
    background-color: #E9D2CC;
    padding-top: 80px;
    padding-bottom: 60px;
}

.footer_left_block_content img {
    max-width: 293px;
}

.footer_left_block_content_wrapper {
    display: flex;
}

.footer_left_block_content,
.footer_right_block_content {
    width: calc(50% - 0px);
}

.footer_left_block_content_info {
    display: flex;
    justify-content: space-between;
    padding-right: 70px;
    padding-top: 60px;
    padding-bottom: 50px;
}

.footer_menu_block_content ul li a {
    color: #0B0806;
}

.footer_menu_block_content ul li {
    padding-bottom: 20px;
}

.footer_right_block_content_info a {
    color: #0B0806;
}

.footer_work_time p {
    color: #0B0806;
}

.footer_telefone {
    color: #0B0806;
    font-size: 24px;
    font-weight: 800;
    transition: all 0.4s;
}

.footer_telefone:hover {
    color: #b17f5a;
}

.footer_work_time {
    padding-top: 20px;
    padding-bottom: 20px;
}

.copyright {
    color: #0B080699;
}

.footer_menu_block_content ul li a:hover {
    border-bottom: 1px solid #b17f5a;
}

@media (max-width: 1380px) {
    .footer_left_block_content_info {
        padding-right: 40px;
    }
}

@media (max-width: 1024px) {
    .footer_left_block_content_info {
        padding-right: 40px;
    }
    .footer_menu_block_content ul li a,
    .footer_right_block_content_info a {
        font-size: 14px;
    }
    .footer_work_time p {
        font-size: 14px;
    }
}

@media (max-width: 850px) {
    .footer_left_block {
        padding-top: 60px;
    }
    .footer_map_block {
        width: 100%;
        position: relative;
        height: 440px;
    }
    .footer_left_block_content_info {
        padding-right: 0px;
    }
    .footer_right_block_content {
        display: none;
    }
    .footer_left_block_content {
        width: 500px;
    }
    .footer_left_block_content_wrapper {
        justify-content: center;
        margin-top: 40px;
    }
    .footer_left_block_content {
        max-width: 720px;
        width: 100%;
    }
}
@media (max-width: 500px) {
    .footer_left_img_content_wrapper {
        display: flex;
        justify-content: center;
    }
    a.footer_telefone {
        font-size: 24px;
    }
    .category_card {
        width: calc(100% - 0px) !important;
    }
}

@media (max-width: 500px) {
    .footer_left_block_content_info {
        flex-direction: column;
        gap: 40px;
    }
}





/* Добавьте эти стили для корректного расчета высоты */
.dropdown_menu_category {
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    /* Важно: убираем любые внутренние отступы, которые мешают */
    padding: 0 !important;
    margin: 0 !important;
}

.dropdown_menu_category ul {
    list-style: none;
    padding-left: 20px;
    margin-top: 10px;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    /* Добавляем box-sizing для корректного расчета */
    box-sizing: border-box;
}

/* Убедитесь, что у элементов списка нет margin-top, который может "съедаться" */
.dropdown_menu_category ul li:first-child {
    margin-top: 0;
    padding-top: 8px;
}

.dropdown_menu_category ul li:last-child {
    margin-bottom: 0;
    padding-bottom: 8px;
}

.wrapper_menu_block_category_dropdown {
    overflow: visible !important;
}

.category_container {
    display: flex;
    gap: 16px;
}

.wrapper_menu_block_category_dropdown li a {
    color: #0B0806;
    font-size: 14px;
}

.menu_a_main {
    font-family: 'Oswald';
}

.side_menu_content {
    padding: 80px 20px 20px 20px;
}

.search-suggestions span {
    color: #b17f5a;
}

button.favorite-btn.btn-cart_notempty {
    background-color: transparent;
    border: 0px;
    cursor: pointer;
}

@media (max-width: 800px) {
    .search-panel {
        position: fixed;
        top: 66px;
    }
}

@media (max-width: 550px) {
    .search-form {
        align-items: baseline;
        flex-wrap: nowrap;
        flex-direction: column;
    }
    .search-input-wrapper {
        width: 100%;
    }
    .search-close {
        position: absolute;
        right: 5%;
        bottom: 17%;
        /* bottom: 41%; */
    }
}

@media (max-width: 1521px) and (max-height: 730px) {
    .main_banner_main_title {
        bottom: -72% !important;
        top: 65% !important;
    }
    .main_banner_appointment {
        bottom: -72% !important;
    }
    .block_image_content_block_bottom {
        bottom: 110px !important;
    }
}
@media (max-width: 1280px) and (max-height: 700px) {
    .block_image_content_block_top {
        top: 120px !important;
    }

    .block_image_content_block_bottom {
        bottom: 70px !important;
    }
}

.contacts-content .asking-block .ask-label {
    color: #caa16e;
}


.menu-container {
    display: block!important;
    transform: translateX(-100%);
    transition: all 0.4s ease;
    
}

.menu-container.active {
    transform: translateX(0);
}
@media (max-width: 768px) {
.breadcrumbs_nav {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    flex-wrap: nowrap;
    display: flex;
    scrollbar-width: none;
}
}

.backlink {
    width: fit-content;
    margin-bottom: 30px;
}

.backlink a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.backlink a p {
    color: rgba(11, 8, 6, 1);
    font-size: 14px;
    font-family: 'Oswald';
}

.image_block_item,
.info_block_item {
    width: calc(50% - 16px);
}

.pics {
    width: fit-content;
    display: flex;
    gap: 9px;
    position: relative;
}
.pics .dots {
    top: -25px;
    z-index: 1;
    width: 200px;
    position: absolute;
    transform: rotate(90deg);
    left: 100%;
    translate: -87%;
}

.column {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.column img {
    cursor: pointer;
}

.big-pic {
    position: relative;
}

.big-pic img {
    display: block;
}

.big_video {
    overflow: hidden;
}

.content_item {
    display: flex;
    gap: 40px;
    margin-bottom: 80px;
    justify-content: center;
}

.info_block_item h1 {
    color: #caa16e;
    font-size: 35px;
    font-weight: 500;
}

.parameters p {
    color: rgba(11, 8, 6, 1);
    font-size: 18px;
}

.parameters {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.priceblock {
    display: flex;
    width: 100%;
    margin-top: 19px;
    align-items: center;
}

.priceblock .new {
    margin-right: 20px;
    font-style: normal;
    font-weight: 500;
    font-size: 30px;
    line-height: 31px;
    color: #caa16e;
}

.priceblock .old {
    font-style: normal;
    font-weight: normal;
    font-size: 30px;
    line-height: 31px;
    text-decoration-line: line-through;
    color: #47484E;
    margin-right: 20px;
}

.priceblock .try {
    color: #0B0806;
    border: 1px solid #0000003b;
    border-radius: 8px;
    background-color: rgb(233 217 204 / 64%);
    padding: 10px 16px;
    cursor: pointer;
    transition: all 0.4s;
}

.priceblock .btn-cart_notempty {
    padding: 10px 13px;
    color: #0B0806;
    background-color: #ffffff;
    border-radius: 8px;
}

.sub-text {
    margin-top: 25px;
    width: 566px;
    font-family: Jost;
    font-style: normal;
    font-weight: 300;
    font-size: 18px;
    line-height: 26px;
    color: #47484E;
}

.arrow_gold {
    display: flex;
    justify-content: center;
}

a.menu_a_main:hover {
    border-bottom: 1px solid #b17f5a;
}

.warning_wrapper {
    width:100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.warning {
    display: flex;
    width: fit-content;
    gap: 8px;
    border: 1px solid #0000003b;
    border-radius: 8px;
    background-color: rgb(233 217 204 / 64%);
    align-items: center;
    padding: 5px 8px;
}

.warning img {
    width: 25px;
    height: 25px;
}

.warning-label {
     color: rgb(202 161 110);
}

.label h1 {
    color: #caa16e;
    font-size: 35px;
    font-weight: 600;
}

.golden-thread {
    border-bottom: 4px solid #C89D62;
    width: 500%;
    position: relative;
    top: 4.5%;
    display: none;
}

.groceries {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    overflow: hidden;
    margin-top: 40px;
}

.item_ms2_form_new {
    width: calc(25% - 16px);
}

.priceblock .new span {
    font-size: 20px;
    color: #C89D62;
}

img.dress-img {
    top: -7px;
    position: relative;
}

button.trash {
    background: transparent;
    border: 0px;
    margin-top: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
}

button.trash img {
    width: 25px;
}

.info_block_item {
    margin-top: 20px;
}

.add-wrapper .label {
    color: #0B0806;
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.golden-label {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 40px;
}

.golden-label img {
    width: 25px;
}

.golden-label p {
    font-size: 20px;
    color: #0B0806;
}

.pop_up_favorite_basket {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #E9D2CC;
    padding: 20px 60px;
    z-index: 1000;
    border-radius: 5px;
}

.dark_pop_up_favorite_basket {
    display:none; 
    position:fixed;
    top:0; 
    left:0; 
    width:100%; 
    height:100%; 
    background:rgba(0,0,0,0.5); 
    z-index:999;
}

.pop_up_favorite_basket p {
    font-size: 24px;
    margin-bottom: 20px;
    color: #caa16e;
}

.popup__wrapper {
    display: flex;
    gap: 20px;
    flex-direction: column;
    max-width: 420px;
    align-content: center;
    align-items: center;
    text-align: center;
}

.popup__wrapper h3 {
    color: #caa16e;
    font-size: 35px;
    font-weight: 600;
}


.popup__wrapper button {
    background-color: white;
    border-radius: 8px;
    padding: 12px 24px;
    color: black;
    cursor: pointer;
}

.priceblock .btn-cart_add {
    padding: 10px 13px;
    color: #0B0806;
    background-color: #e9d2cc;
    border-radius: 8px;
    cursor: pointer;
}

.top-nav-left {
    transform: rotate(180deg);
}

.top-swiper {
    padding-top: 20px;
}

.top-nav-left:hover,
.top-nav-right:hover {
    cursor: pointer;
    fill: rgb(233 210 204);
    transition: all 0.4s;
}

.new_colection_card_slider {
    width: 100% !important;
}

.asking-block .ask-label {
    margin-top: 39px;
    margin-bottom: 24px;
    font-family: Jost;
    font-style: normal;
    font-weight: normal;
    font-size: 35px;
    line-height: 51px;
    text-align: center;
    color: #caa16e;
}

.asking-block .ask-box .ask-form .form input {
    border: none;
    border-bottom: 1px solid #caa16e;
    font-family: Jost;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 129.68%;
    color: #0B0806;
    padding: 5px;
}

.asking-block .ask-box .ask-form .form {
    display: flex;
    width: 527px;
    flex-direction: column;
    gap: 20px;
}

.asking-block .ask-box .ask-form {
    display: flex;
    width: 527px;
    flex-direction: column;
}

.asking-block .ask-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1250px;
    margin-right: auto;
    margin-left: auto;
    gap: 30px;
}

.agreed {
    color: black;
    margin: 20px 0;
}

.asking-block {
    margin-bottom: 40px;
}

a.header_favorites {
    position: relative;
}

.wrapper_icons_menu_mob a {
    position: relative;
}

.count-cart {
    position: absolute;
    top: 6px;
    left: 12px;
}

a.header_favorites.has-items .count-cart {
    color: #0B0806;
}

a.header_favorites.no-items .count-cart {
    color: white;
}

a.header_favorites.has-items .count-cart {
    color: #0B0806;
}

a.header_favorites.no-items svg {
    fill: none;
    transition: all 0.4s;
}

a.header_favorites.has-items svg {
    fill: #E9D2CC;
    transition: all 0.4s;
}

.category_accordion_wrapper:hover,
.category_dropdown_static ul li:hover,
.category_dropdown_static li:hover,
.category_wrapper a:hover .category_item_a,
.wrapper_menu_block_category_dropdown ul li:hover {
    background: rgb(246 237 235);
    transition: all 0.4s;
    border-radius: 12px;
}

.favorite_form_wrapper {
    position: absolute;
    top: 13px;
    right: 13px;
    z-index: 10;
}

button.favorite-btn.btn-cart_add {
    background-color: transparent;
    border: 0px;
    cursor: pointer;
}

.card_status {
    background-color: white;
    padding: 4px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card_status span {
    font-family: 'Oswald';
    font-size: 12px;
    color: #0B0806;
    letter-spacing: 30%;
}

.category_card_imgwrap.relative-container:hover img {
    scale: 1.12;
}

.header_searchBtn {
    cursor: pointer;
}

p.simplesearch-results {
    font-size: 24px;
    color: #0B0806;
    margin-top: 20px;
}

span.simplesearch-result-pages {
    color: #0B0806;
    font-size: 20px;
}

span.simplesearch-highlight {
    color: #caa16e;
    font-size: 24px;
}

.simplesearch-result h3 {
    font-size: 20px;
    color: #0B0806;
    padding-left: 15px;
    margin-bottom: 10px;
    margin-top: 10px;
}

.simplesearch-result a {
    font-size: 20px;
    color: #caa16e;
}


span.simplesearch-page.simplesearch-current-page {
    font-size: 20px;
    color: #0B0806;
}

.simplesearch-paging {
    margin-top: 20px;
}

.text-text {
    color: #0B0806;
    margin-top: 20px;
    font-size: 18px;
}

.close-sign {
    width: 45px;
    position: absolute;
    right: -20px;
    top: -20px;
    cursor: pointer;
}

.popup_main_wrapper_content .label {
    font-family: 'Oswald';
    font-size: 30px;
    color: #c89d62;
}

#booking {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background: #E9D2CC;
}

.popup-open {
    overflow: hidden;
}

.popup-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 9998;
}

.popup_main_wrapper_content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 20px;
}

.ajax_form {
    display: flex;
    flex-direction: column;
}

.ajax_form input {
    border: none;
    border-bottom: 1px solid #caa16e;
    font-family: Jost;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 129.68%;
    color: #0B0806;
    padding: 5px;
    margin-top: 10px;
    background: transparent;
}

input::placeholder {
    color: #0B0806;
    opacity: 1;
}

.h-captcha-wrapper {
    padding-top: 20px;
}

.ajax_form .agreed {
    margin: 5px 0;
}

.agree-btn {
    margin-top: 10px;
    margin-left: 30px;
    margin-right: 30px;
}

.site_creative {
    color: #caa16e;
}

.category_wrapper a:active .category_item_a {
    background: rgb(233 210 204);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(139, 111, 78, 0.2);
    box-shadow: 0 2px 8px rgba(139, 111, 78, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: scale(0.96);
    transition-duration: 0.1s;
}
 
.filter_evening_dresses li:active {
    border-radius: 16px;
    background: rgb(233 210 204);
}

.filter_evening_dresses li:active a {
    border-radius: 16px;
}

.video-no-controls video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Скрываем все элементы управления */
.video-no-controls video::-webkit-media-controls {
    display: none !important;
}

.video-no-controls video::-webkit-media-controls-panel {
    display: none !important;
}

.fancybox-content iframe {
    height: 600px;
}

.category_card {
    width: calc(33.33% - 16px);
}

.footer_map_block img {
    width: 100%;
    height: stretch;
    object-fit: cover;
    display: block;
}

.glass_button_catalog {
    overflow: hidden;
    position: relative;
}

.glass_button_catalog:hover::after {
    left: 130%;
}

.glass_button_catalog::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 80%;
    height: 100%;
    background: linear-gradient(120deg, #e9d2cc 0%, rgb(233 210 204) 50%, #e9d2cc 100%);
    transform: skewX(-20deg);
    pointer-events: none;
    transition: left 0.6s ease;
    overflow: hidden;
    opacity: 0.2;
    border-radius: 12px;
}

.category_item_a.glass_button_catalog.active {
    background-color: rgb(233 210 204 / 40%);
    border: 1px solid rgb(233 210 204, 0.4);
    box-shadow: 0 4px 16px rgb(233 210 204), inset 0 1px 0 rgb(233 210 204);
    overflow: hidden;
}

.sortdir_menu {
    min-width: 150px !important;
    max-width: 180px !important;
} 

.sortdir_catalog_menu {
    margin-left: 20px;
    margin-right: 10px;
    border-radius: 7px !important;
}

.wrapper_sortdir li {
    padding: 8px 12px 7px 12px;
    margin-left: 0px;
    margin-right: 10px;
}

.catalog_filters_title_wrapper_sortdir {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 48px;
}

.wrapper_sortdir {
    display: flex;
}

.sortdir_wrapper_tablet {
    display: none;
}

@media (max-width:1521px) and (max-height:730px) {
    .main_banner_main_title h1 {
        transform: translateY(40px) !important;
    }
}

@media (width: 1521px) and (height: 730px) {
    .main_banner_main_title h1 {
        transform: translateY(90px) !important;
    }
}

@media (max-width:1450px) {
    .info_block_item,
    .add-wrapper .label,
    .golden-label p {
        padding-left: 20px;
    }
    .sub-text {
        width: 100%;
    }
    .item_ms2_form_new {
        width: calc(33.3333% - 16px);
    }
}
@media (max-width:1310px) {
    .video-container {
        transform: scale(1.7) translateY(41px);
    }
    .category_card {
        width: calc(50% - 16px);
    }
}
@media (max-width: 1280px) {
    .video-container {
        transform: scale(1.6) translateY(41px);
    }
}
@media (max-width: 1200px) {
    .ask-pic {
        max-width: 527px;
    }
    .asking-block .ask-box .ask-form {
        width: 100%;
        max-width: 527px;
    }
    .asking-block .ask-box .ask-form .form {
        display: flex;
        width: 100%;
    }
}

@media (max-width:920px) {
    .category_card {
        width: 100% !important;
    }
}


@media (max-width:900px) {
    .priceblock .new,
    .priceblock .old {
        font-size: 24px;
    }
}
@media (max-width: 850px) {
    .image_block_item, .info_block_item {
        width: 100%;
    }
    .info_block_item {
        padding-left: 0px;
    }
    .pics {
        width: 100%;
        flex-direction: column-reverse;
    }
    .content_item {
        flex-direction: column;
        margin-bottom: 60px;
    }
    .big-pic .dots {
        top: -20px;
        right: -20px;
    }
    .column {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        flex-wrap: nowrap;
        display: flex;
        scrollbar-width: none;
        flex-direction: row;
    }
    .block_image_content_block_top {
        right: 25px !important;
        top: 90px !important;
    }
    .block_image_content_block_bottom {
        bottom: 30px !important;
        left: 25px !important;
    }
    .column img {
        max-width: 140px;
    }
    .big_video {
        max-height: 550px;
    }
    .pics {
        padding: 0 20px;
    }
    .video-container iframe {
        height: calc(100% + 515px);
    }
    .pics .dots {
        translate: -96%;
    }
    .sortdir_wrapper_tablet {
        margin-top: 20px;
        display: block;
    }
    .sortdir_wrapper_desktop {
        display: none;
    }
    .sortdir_menu {
        min-width: 100% !important;
        max-width: 100% !important;
    }
}
@media (max-width: 800px) {
    .block_image_content_block_top {
        right: 0px !important;
        top: -20px !important;
    }
    .block_image_content_block_bottom {
        bottom: -20px !important;
        left: 0px !important;
    }
}
@media (max-width: 768px) {
    .category_card {
        width: calc(50% - 16px) !important;
    }
    .content_foto_wedding a {
        word-break: break-all;
    }
}
@media (max-width: 670px) {
    .video_container_tovar {
        top: -80%;
    }
    .new_colection_card {
        width: calc(70% - 8px) !important;
    }
    .category_card {
        width: 100% !important;
    }
}
@media (max-width: 550px) {
    .item_ms2_form_new {
        width: calc(50% - 16px);
    }
    .warning-label {
        font-size: 12px;
    }
    .priceblock .new,
    .priceblock .old {
        font-size: 24px;
    }
    .video-container iframe {
        height: calc(100% + 155px);
    }
    .video_container_tovar iframe {
        height: calc(100% + 515px);
    }
    .video_container_tovar {
        top: -50%;
    }
    .video_container_tovar {
        transform: scale(1) translateY(55px) translateX(1px);
    }
}
@media (max-width: 480px) {
    .big_video {
        max-height: 350px;
    }
    .new_colection_card .category_card_imgwrap.relative-container {
        height: 440px;
        min-height: 440px;
    }
    .mobile_glass_button {
        background: rgb(233 210 204) !important;
    }
    .catalog_category_item h3 {
        top: 12px;
        left: 12px;
    }
}
@media (max-width: 420px) {
    .video-container iframe {
        height: calc(100% + 110px);
    }
    .video_container_tovar iframe {
        height: calc(100% + 475px);
    }
    .main_banner_main_title  {
        top: 55% !important;
    }
}
@media (max-width: 399px) {
    .priceblock {
        margin-top: 20px;
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
    .new_colection_card {
        width: calc(90% - 8px) !important;
    }
}
@media (max-width: 380px) {
    .big_video {
        max-height: 380px;
    }
}
@media (max-width: 370px) {
    .warning-label {
        font-size: 11px;
    }
    .video_container_tovar {
        transform: scale(1) translateY(40px) translateX(1px);
    }
    .big_video {
        max-height: 390px;
    }
    .new_colection_title_card p {
        width: 65%;
    }
}
