@import url("blockFoto.css");
@import url("etapWork.css");
@import url("menu_fixed.css");
@import url("page2sign.css");

*{
	padding: 0; margin: 0;
}

a{
    text-decoration: none;
    color: inherit;
}

body{
	font-family: 'Montserrat', sans-serif;
	line-height: 1.5;
	font-size: 0.95rem;
	max-width: 2000px;
    margin: 0 auto;
}

.etap_mobile{
    display:none;
    }
h2{
	font-size: 3vw;
	font-weight: 400;
	 text-align: center;
	   margin: 0 auto;
	   font-family: 'Montserrat', sans-serif;  
}
.wrap{
	max-width:1080px;
	min-width:320px;
	padding:0 15px;
}

.header{
	display: flex;
	align-items: center;
	justify-content: end;
	padding: 30px 15px;
	box-sizing: border-box;
	background: #5e4a48;
}
.menu{
	display: flex;
	list-style: none;
}

.menu li{
	margin-left: 2vw;
	margin-right: 2vw;
}

.menu li a{
	color: #FFFFFF;
	text-decoration: none;
}

.menu li a:hover{
	color: #f4a171;
	text-decoration: none;
}
.first{
	background:#e5e3da;
}

.row {
  display: flex;
}

.column {
  flex: 25%;
  padding: 0.2vw;
  position: relative;
}

.row_line {
  display: flex;
}


 .rectangle_bg {
    width: 10rem;
    height: 0.4vw;
	background:#e5e3da;
	flex: 95%;
	
  }
  .rectangle_color {
    width: 10rem;
    height: 0.4vw;
    background-color: #5e4a48;
	flex: 25%;
  }
   .rectangle_otstup {
    height: 2.5vw;
    background-color: #e5e3da;
  }
  
  
  .price-item2 {
  flex: 25%;
  padding: 10px;
  text-align: center;
}


.price-block {
  flex-wrap: wrap;
  display: flex;
  justify-content: space-between;
}

.price-item {
  width: 23%;
  background:#f4f4f4;
  max-height: 85vh; /* Ограничиваем максимальную высоту */
  overflow-y: auto;  /* Добавляем вертикальную полосу прокрутки */
}

.price-item2 {
  width: 23%;
  background:#f4f4f4;
}

.header_item {
  font-size: 1vw;
  background-color: #5e4a48;
  color: #ffff;
  padding-top: 12px;
  padding-bottom: 12px;
  padding-left: 1px;
  padding-right: 1px;
  text-align: center;
}

.price_marg{
	margin-left: 10vw;
	margin-right: 10vw;
}

h3{
	padding-top: 12px;
    padding-bottom: 12px;
	background: #f4f4f4;
	text-align: center;
	font-size: 1vw;
}

.price_ul{
	background:#f4f4f4;
}

.price_ul li{
	font-size: 0.9rem;
	margin-left: 1.1vw;
	margin-right: 0.8vw;
	background:#f4f4f4;
	font-weight: 600;
	list-style-type: none;
	line-height: 1.6;
    margin-bottom: 10px;
}



.price-item p{
	text-align: left;
	padding-left: 20px; 
	font-size: 0.95rem;
	line-height: 1.5;
}

.rectangle_otstup_price {
    height: 2vw;
    background-color: #f4f4f4;
  }
  
.btn_zakaz{
	color: #5e4a48;	
	text-decoration: none;
	font-size: 1rem;
	padding: 0.45vw;
	border: 1px solid #5e4a48;
	box-sizing: border-box;
	margin: 1vw;
	margin-left: 2vw;
	margin-right: 2vw;
	align-items: center;
	text-align:center;
	font-weight: 700;
}

.btn_wrap :hover{
	background-color: #b5928f;
}

.margin_whatsapp{
    margin: 10px;
}

.whatsapp{
	padding: 10px;
	margin: 10px;
	max-width:250px;
	 margin: 0 auto;
	 display: block;
}

.div_number_alisa{
	  background-image: url("../img/lets.jpg");
	  background-repeat: no-repeat;
	  background-position: center;
	  background-size: cover;
}

.number_alisa{
	padding-top:6vw;
	text-align: center;
	font-weight: 900;
	font-size: 2vw;
}

.email{
	padding-bottom:6vw;
	text-align: center;
	font-weight: 700;
	font-size: 1vw;
}

.wrap_magazine{
	margin-left:3vw;
	margin-right:3vw;
}

.magazine{
	padding: 2vw;
}

.block_magazine {
  display: flex;
  justify-content: center;
  align-items: center;
}

.magazine a img{
height:25vh;
}

details summary::-webkit-details-marker {
  display: none
}

details > summary {
  list-style: none;
}

.btn_who_suit{
	display: flex;
	flex: 1;
	justify-content: space-between;
	color: #5e4a48;	
	text-decoration: none;
	font-size: 1rem;
	padding: 0.45vw;
	border: 1px solid #5e4a48;
	box-sizing: border-box;
	align-items: center;
	text-align:center;
	font-weight: 700;
}

.text_who_suit{
	margin:1vw;
	font-size:0.85rem;
	font-weight: 600;
}

.plus-icon{
}

.plus-icon img{
	display:flex;
	flex:1;
	justify-content: space-between;
	height: 1.2vw;
}

@media (max-width: 992px) {
  body {
    font-size: 0.95rem;
  }

  .menu {
    flex-wrap: wrap;
    justify-content: center;
  }

  .column {
    flex: 50%;
  }

  .price-item {
    width: 48%;
    margin-bottom: 2%;
  }

}

/* Для экранов меньше 768px */
@media (max-width: 768px) {
  .header {
  padding: 15px 20px;
    justify-content: center;
  }

  .menu li {
    margin: 10px;
    font-size: 1.2rem;
  }

  .column {
    flex: 100%;
  }

  .price-block {
    flex-direction: column;
  }

  .price-item {
    width: 100%;
    margin-bottom: 20px;
  }


}

/* Для экранов меньше 480px */
@media (max-width: 480px) {
  h2 {
    font-size: 1.5rem;
  }

  .menu {
    flex-direction: column;
    text-align: center;
  }

  .btn_zakaz {
    font-size: 1rem;
    padding: 10px;
  }

  .number_alisa {
    font-size: 1.5rem;
  }

  .email {
    font-size: 1rem;
  }

  .wrap_magazine {
    flex-direction: column;
  }
}

/* меню */
.menu-toggle {
  display: none;
  cursor: pointer;
  padding: 15px;
}

@media (max-width: 768px) {
  .menu {
    display: none;
    width: 100%;
    text-align: center;
  }

  .menu-toggle {
    display: block;
    color: white;

    width: 50px;
    height: 50px;
    border-radius: 20px; /* Овал */
    background: #5e4a48;
    border: solid;

    /* Центрирование иконки */
    display: flex;
    align-items: center;
    justify-content: center;

    /* Размер иконки */
    font-size: 28px;
    padding: 0;

    /* Тень для выделения */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);

    /* Позиционирование */
    position: relative;
    z-index: 1000;
    margin: 10px;
  }

  .menu-toggle::before {
    content: "☰";
    color: white;
    position: relative;
    top: -1px; /* Корректировка выравнивания символа */
  }

  .menu.active {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .price-item {
    padding: 15px;
    margin: 10px 0;
  }

  .header_item {
    font-size: 1.2rem;
    padding: 15px;
  }

  .price_ul li {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 8px;
  }

  h3 {
    font-size: 1.1rem;
    padding: 15px;
  }

  .overlay {
    padding: 15px;
    margin: 5px;
  }
}

@media (max-width: 480px) {
  .price_ul li {
    font-size: 0.85rem;
  }

  .header_item {
    font-size: 1rem;
  }

  .price-item {
    margin: 5px 0;
  -webkit-overflow-scrolling: touch;
  }

  .price_ul li {
    word-break: keep-all;
    hyphens: auto;
  }
}

.price-content {
  padding: 0 10px 15px;
}

@media (max-width: 768px) {
  .price-content {
    padding: 0 5px 10px;
  }
}

.overlay {
  background-color: rgba(0, 0, 0, 0.7); /* Увеличиваем затемнение */
}

.price_ul li {
  color: #333; /* Темнее текст */
}

/* Для мобильной версии */
@media (max-width: 768px) {
  .price_marg {
    display:none;
  }

    /* Показываем мобильную версию */
  .price_marg_mobile {
    display: block;
    margin: 0 5%;
  }

    /* Стили для мобильных блоков */
  .price_marg_mobile .price-block {
    flex-direction: column;
  }

  .price_marg_mobile .price-item {
    margin-bottom: 20px;
    border-bottom: 2px solid #5e4a48;
    box-sizing: border-box; /* Учитываем padding и border в ширине */
    width: calc(100% - 20px); /* Оставляем место для отступов */
    margin-left: 10px;
    margin-right: 10px;
    padding: 10px 10px; /* Внутренние отступы */
    overflow-x: hidden; /* Скрываем горизонтальный скролл */
  }

  .price_ul {
    padding-left: 10px; /* Выравниваем список */
    word-break: break-word; /* Перенос длинных слов */
  }

  /* Убираем дублирующиеся стили */
  .price_marg_mobile .price-item .price-item {
    border: none;
    margin: 0;
    padding: 0;
  }

/* Кнопки заказа */
  .price_marg_mobile .btn_wrap {
    margin: 20px 10px;
    text-align: center;
  }

  .whatsapp {
    display:block;
}

.plus-icon img {
    height: 24px; /* Размер для мобилок */
    width: 24px; /* Фиксируем ширину */
    min-width: 24px; /* Запрещаем уменьшение */
    margin-left: 8px; /* Отступ от текста */
  }

  .btn_who_suit {
    padding: 12px; /* Увеличиваем область клика */
    align-items: center; /* Центрируем содержимое */
  }


} /* конец для мобильной версии*/

/* десктоп */
@media (min-width: 768px) {
    .price_marg_mobile{
    display:none;
    }

    .price_marg {
    display: block;
  }
}

.row {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 колонки на десктопе */
  gap: 0.1vw; /* Отступ между элементами */
}

@media (max-width: 768px) {
  .row {
    grid-template-columns: repeat(2, 1fr); /* 2 колонки на мобильных */
    gap: 2vw; /* Увеличиваем отступ для мобилок */
  }
}

/* Убираем старые flex-стили для column */
.column {
  width: auto !important;
  flex: none !important;
  padding: 0.5vw;
}

@media (max-width: 768px) {
    .overlay {
        background: rgba(0, 0, 0, 0.8);
        pointer-events: none;
    }

    .text_block {
        transform: translateY(20px);
        transition: transform 2s ease;
    }

    .column:active .text_block {
        transform: translateY(0);
    }
}
}



