/* --- Подключение Roboto (Google Fonts) --- */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap&subset=latin,cyrillic');

body {
	font-family: 'Roboto', Arial, sans-serif;
	background: #fcfbfe;
	color: #29114f;
	font-size: 17px;
	line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Roboto', Arial, sans-serif;
	color: #29114f;
	font-weight: 700;
	letter-spacing: 0.01em;
	margin-bottom: 0.7em;
}
h1 { font-size: 2.3em; }
h2 { font-size: 2em; }
h3 { font-size: 1.4em; }

p, ul, ol {
	color: #29114f;
	font-size: 1em;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	position: relative;
	outline: none;
}

a {
	color: #04a7c2;
	transition: color 0.2s;
}
a:hover {
	color: #a98aff;
	text-decoration: underline;
}

.mt45 {
	margin-top: 45px;
}

/* BTN */
.btn {
	border: none;
	display: inline-flex;
	border-radius: 14px;
	padding: 16px 32px;
	background: #ffd521;
	color: #29114f;
	font-weight: 500;
	text-decoration: none;
	font-size: 1.1em;
	box-shadow: 0 2px 8px rgba(41,17,79,0.07);
	transition: background 0.2s, color 0.2s, box-shadow 0.2s;
	cursor: pointer;
}
.btn:hover, .btn:focus {
	background: #a98aff;
	color: #fff;
	box-shadow: 0 4px 16px rgba(41,17,79,0.13);
}
.btn.btn_smaller {
	padding: 8px 15px;
}
.btn.btn_gray {
	background: #e3e3e3;
}
.btn.btn_secondary {
	background: #a98aff;
	color: #fff;
}
.btn.btn_secondary:hover {
	background: #29114f;
	color: #ffd521;
}

/* FLEX */
.flex {
	display: flex;
	list-style: none;
}
.flex_column {
	flex-direction: column;
}
.align_center {
	align-items: center;
}
.justify_between {
	justify-content: space-between;
}
.justify_right {
	justify-content: flex-end;
}
.cols_2 {
	margin: 0 -15px;
}
.cols_2 .col {
	width: 50%;
	padding: 0 15px;

}
.main_img {
	width: 100%;
}
.main_img img {
	width: 100%;
	height: auto;
	border-radius: 10px;
}

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

main .container {
	max-width: 1180px;
}

.header {
	position: relative;
	text-align: center;
	background: linear-gradient(60deg, #081835 0%, #5f15da 100%);
	color: white;
}
.header .container {
	padding: 50px 0 35px 0;
}
.logo_container {
	width: 190px;
	height: 190px;
	border: 3px dashed white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.logo_container a {
	display: flex;
	align-items: center;
	justify-content: center;
}
.logo_container svg {
	width: auto;
	height: 160px;
}
.header nav {
	margin-top: 50px;
}
.header nav ul {
	list-style: none;
}
.header nav li {
	margin: 0 15px;
}
.header nav li a {
	font-size: 21px;
	color: white;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: -1px;
	font-weight: 700;
}
.header nav li a:after {
	content: '';
	display: block;
	width: 0;
	height: 2px;
	background: #ffd521;
	transition: width 0.3s;
}
.header nav li a:hover, .header nav li a.active {
	color: #ffd521;
}
.header nav li a:hover::after, .header nav li a.active:after {
	width: 100%;
}
.header nav .btn {
	margin-top: 30px;
}

#about {
	padding-top: 50px;
}

.construct {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.steps {
	width: 100%;
	position: relative;
	margin: 50px 0;
}
.steps ul {
	list-style: none;
	display: flex;
}
.steps ul li {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding: 0 25px;
	text-align: center;
}
.steps ul li span {
	width: 65px;
	height: 65px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	font-weight: 500;
	border-radius: 50%;
	background: #f1f1f1;
	background: linear-gradient(60deg, #c3a0ff 0%, rgb(169 155 239) 100%);
	color: white;
}
.steps ul li div {
	width: 85px;
	height: 85px;
	border-radius: 50%;
	background: white;
	border: 2px dashed #eee;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 15px;
}
.instr {
	width: 100%;
	background: white;
	box-shadow: 0 0 15px rgba(0, 0, 0, .1);
	border-radius: 8px;
	border: 1px dashed #eee;
	padding: 30px;
	margin-top: 25px;
}
.instr h2 {
	margin-top: 0;
}
.desk {
	width: 100%;
	background: white;
	box-shadow: 0 0 15px rgba(0, 0, 0, .1);
	border-radius: 8px;
	border: 1px dashed #eee;
	padding: 30px;
	margin-top: 25px;
}
.desk {
	display: flex;
	justify-content: space-between;
}
.desk h2 {
	font-size: 20px;
}
.desk h2 span {
	font-weight: 500;
}
.ctitle {
	display: flex;
	align-items: center;
	margin-bottom: 15px;
}
.ctitle a {
	margin-left: 25px;
}
.desk .preview {
	width: 30%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.desk .preview .inside {
	width: 100%;
	height: 450px;
	background: #f1f1f1;
}
.desk .panel {
	width: calc(70% - 30px);
}
.desk .panel form {
	display: flex;
	flex-direction: column;
}
.cgroup {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 10px;
	margin-bottom: 30px;
}
.cgroup:last-child {
	margin-bottom: 0;
}
.cgroup .form_group {
	flex: 1;
	display: flex;
	flex-direction: column;
	position: relative;
	border: 1px solid #cdcdcd;
	border-radius: 4px;
	padding: 20px 0 15px 0;
}
.cgroup .form_group label {
	padding: 0 5px;
	font-size: 12px;
	position: absolute;
	top: -8px;
	left: 10px;
	z-index: 999;
	position: relative;
}
.cgroup .form_group label .hint {
	width: 20px;
	height: 20px;
	background: #fdf2c3;
	color: #333;
	text-decoration: none;
	border-radius: 50%;
	position: absolute;
	top: 0;
	right: 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.ui-tooltip {
	font-size: 12px;
	line-height: 18px;
	background: #fdf2c3 !important;
	border: 1px dashed white !important;
	border-radius: 4px;
	box-shadow: none;
}
.vfile_price {
	font-size: 18px;
	margin-bottom: 10px;
}
.vfile_price p {
	color: #ddd;
}
.vfile_price p span {
	color: #333;
	font-weight: 600;
}
.cgroup .form_group input {
	padding-left: 15px;
	border: none;
	outline: none;
}

.receipt {
	width: 60%;
	margin: 0 auto;
	border-radius: 12px;
	padding: 30px;
	font-size: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	border: 1px dashed #cdcdcd;
	text-align: center;
}
.receipt p {
	width: 75%;
	display: block;
}
.receipt svg {
	width: 100px;
	height: 100px;
}
.receipt svg path {
	fill: #6db973;
}

main {
	padding: 50px 0;
	overflow: hidden;
}
main:before {
	content: '';
	width: 500px;
	height: 500px;
	position: absolute;
	top: 50px;
	right: -250px;
	background: linear-gradient(60deg, #5f15da 0%, rgba(0,172,193,1) 100%);
	display: block;
	border-radius: 50%;
	opacity: .07;
}
main h1 {
	font-size: 42px;
	font-weight: 300;
	margin-bottom: 25px;
}
main h2 {
	font-size: 35px;
	font-weight: 300;
	margin: 15px 0 25px 0;
}
main h3 {
	font-size: 20px;
	font-weight: 600;
	margin: 15px 0 25px 0;
}
.block_content {
	padding: 30px 0;
}
.inner-header {
  height:50vh;
  width:100%;
  margin: 0;
  padding: 0;
  padding: 50px 0;
}
.waves {
  position:relative;
  width: 100%;
  height:15vh;
  margin-bottom:-7px; /*Fix for safari gap*/
  min-height:100px;
  max-height:150px;
}
footer .waves {
	background: #081835;
	margin-bottom: 0;
	transform: rotate(180deg);
}

.content {
  position:relative;
  height:20vh;
  text-align:center;
  background-color: white;
}

.breadcrumbs ul {
	list-style: none;
	display: flex;
}
.breadcrumbs li {
	display: flex;
	align-items: center;
}
.breadcrumbs li:after {
	content: '';
	display: block;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #cdcdcd;
	margin: 0 5px;
}
.breadcrumbs li:last-child::after {
	display: none;
}
.grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 20px;
	margin: 30px 0;
}
.grid_item {
	display: flex;
	flex-direction: column;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 0 15px rgba(0, 0, 0, .03);
	background: #f5f5f3;
}
.grid_item a {
	color: #333;
}
.grid_gallery {
	grid-template-columns: 1fr 1fr 1fr 1fr;
}
.gallery .grid_item {
	height: 300px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 50%;
	border: none;
}
.gallery img {
	height: 100%;
	width: auto;
}
.item_img {
	width: 100%;
	height: 280px;
	background: #f1f1f1;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 50%;
}
.item_info {
	padding: 25px;
}
.grid_item .post_title {
	font-weight: 700;
	text-decoration: none;
	display: block;
	margin-bottom: 15px;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}
.item_info .item_short {
	font-size: 14px;
	line-height: 24px;
}
.item_info .item_short {
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical; 
}
.item_info .item_price {
	margin-top: 15px;
	font-size: 18px;
	color: #333;
	font-weight: 600;
}
.item_info .item_price + .btn {
	margin-top: 15px;
}
.post_content {
	position: relative;
}
.post_content img {
	margin: 10px 0;
}
.post_content h2 {
	font-weight: 500 !important;
	font-size: 25px !important;
	margin-top: 25px !important;
}
.post_content ul {
	margin: 0 18px;
}
.post_content ul li {
	font-size: 16px;
	padding: 4px 0;
}
.post_content p br {
	line-height: 5px;
}

footer {
	background: #081835;
	padding: 0 0 30px 0;
}
footer .container {
	max-width: 1280px;
}
footer .cols_2 {
	margin-top: 30px;
}
footer .col.logo {
	width: 100px;
}
footer .col.logo img {
	width: 100%;
	height: auto;
}
footer nav ul {
	list-style: none;
}
footer nav li {
	margin: 0 0 0 15px;
}
footer nav li a {
	color: white;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: -1px;
	font-weight: 700;
}
footer nav li a:after {
	content: '';
	display: block;
	width: 0;
	height: 2px;
	background: #ffd521;
	transition: width 0.3s;
}
footer nav li a:hover, footer nav li a.active {
	color: #ffd521;
}
footer nav li a:hover::after, footer nav li a.active:after {
}
.copy {
	width: 100%;
	margin-top: 15px;
}
.copy p {
	color: rgba(255, 255, 255, .5);
	font-size: 14px;
	line-height: 24px;
}

/* Animation */

.parallax > use {
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}
@keyframes move-forever {
  0% {
   transform: translate3d(-90px,0,0);
  }
  100% { 
    transform: translate3d(85px,0,0);
  }
}
/*Shrinking for mobile*/
@media (max-width: 768px) {
	
	.post_content img {
		width: 100% !important;
		height: auto;
	}
	.header nav, .footer nav {
		display: none;
	}
	.flex.cols_2 {
		flex-direction: column;
	}
	.cols_2 .col {
		width: 100%;
	}
	p {
		font-size: 14px;
	}
	main h1 {
		font-size: 26px;
		font-weight: 600;
	}
	main h2 {
		font-size: 20px;
		font-weight: 600;
	}
	.grid {
		grid-template-columns: 1fr;
	}
	.grid_gallery {
		grid-template-columns: 1fr 1fr;
	}
	.gallery .grid_item {
		height: 150px;
	}
	
  .waves {
    height:40px;
    min-height:40px;
  }
  .content {
    height:30vh;
  }
  h1 {
    font-size:24px;
  }
}

/* Конструктор */
.constructor {
    padding: 40px 0;
}

.constructor_container {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.measurements_form {
    margin-top: 30px;
}

.measurements_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form_group, .form_control {
  border: 1px solid #a98aff !important;
  border-radius: 12px !important;
  background: #fcfbfe !important;
  box-shadow: none !important;
  padding: 12px 16px;
  color: #29114f;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1em;
  margin-bottom: 18px;
  transition: border 0.2s;
  box-sizing: border-box;
}
.form_group:focus-within, .form_control:focus {
  border-color: #29114f !important;
}

.form_group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 400;
    font-size: 17px;
    line-height: 27px;
    text-align: center;
    color: #29114f;
    font-family: 'Roboto', Arial, sans-serif;
}

.form_group small {
    display: block;
    color: #666;
    font-size: 12px;
    margin-top: 4px;
}

.input_group {
    display: flex;
    align-items: stretch;
}

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

.input_group_text {
    padding: 10px 15px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-left: none;
    border-radius: 0 4px 4px 0;
    color: #495057;
}

.form_actions {
    display: flex !important;
    flex-direction: row !important;
    gap: 16px !important;
    justify-content: flex-start !important;
    align-items: center !important;
}
.form_actions .btn {
    margin: 0 !important;
}

.alert {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.alert-danger {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.alert-warning {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
}

.alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert h4 {
    margin-top: 0;
    margin-bottom: 10px;
}

.alert ul {
    margin: 0;
    padding-left: 20px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .measurements_grid {
        grid-template-columns: 1fr;
    }
    
    .constructor_container {
        padding: 20px;
    }
    
    .form_actions {
        flex-direction: column;
    }
    
    .form_actions .btn {
        width: 100%;
    }
}

/* --- Галерея работ учеников: img вместо background --- */
.grid_gallery .grid_item {
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(41,17,79,0.10);
  overflow: hidden;
  position: relative;
  background: none;
  transition: box-shadow 0.2s, transform 0.2s;
  aspect-ratio: 1/1;
  padding: 0;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}
.grid_gallery .grid_item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}
.grid_gallery .grid_item:hover {
  box-shadow: 0 8px 32px 0 rgba(41,17,79,0.18);
  transform: translateY(-4px) scale(1.03);
  z-index: 2;
}
.gallery_caption {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	background: rgba(0,0,0,0.55);
	color: #fff;
	font-size: 1.1em;
	padding: 12px 16px 10px 16px;
	text-align: left;
	font-weight: 500;
	letter-spacing: 0.01em;
	border-bottom-left-radius: 18px;
	border-bottom-right-radius: 18px;
	box-sizing: border-box;
	transition: background 0.2s;
}
.grid_gallery .grid_item:hover .gallery_caption {
	background: rgba(0,0,0,0.75);
}

/* --- Карточки и блоки --- */
.card, .block_content, .main_img, .gallery .grid_item {
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 4px 24px rgba(41,17,79,0.08);
	padding: 28px 32px;
	margin-bottom: 32px;
}

/* --- Секции --- */
section {
	margin-bottom: 60px;
}

/* --- Формы --- */
input, textarea, select, .form_control {
  border-radius: 12px;
  border: 1px solid #a98aff;
  padding: 12px 16px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1em;
  background: #fcfbfe;
  color: #29114f;
  margin-bottom: 18px;
  transition: border 0.2s;
  box-sizing: border-box;
}
input:focus, textarea:focus, select:focus, .form_control:focus {
  border-color: #29114f;
  outline: none;
}

/* --- Адаптив --- */
@media (max-width: 900px) {
	.card, .block_content, .main_img, .gallery .grid_item {
		padding: 16px 10px;
	}
	h1 { font-size: 1.5em; }
	h2 { font-size: 1.2em; }
}

/* Удаляю конфликтующие стили для .form_control и .input_group */
.input_group, .input_group_append, .input_group_text {
  all: unset;
}

/* --- UI от beriisheu.ru для магазина и карточки товара --- */

body {
    background: #fcfbfe;
    color: #29114f;
    font-family: 'Roboto', Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    color: #5f15da;
    font-family: 'Roboto', Arial, sans-serif;
}

.btn, .btn.btn_primary {
    background: linear-gradient(60deg, #cca43f 0%, #ffd521 100%);
    color: #29114f;
    border-radius: 18px;
    font-weight: 700;
    font-size: 1.15em;
    padding: 14px 32px;
    box-shadow: 0 4px 16px rgba(95,21,218,0.10);
    border: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn:hover, .btn:focus, .btn.btn_primary:hover {
    background: linear-gradient(60deg, #5f15da 0%, #a98aff 100%);
    color: #fff;
    box-shadow: 0 8px 24px rgba(95,21,218,0.18);
}

.grid_item, .pattern_info, .block_content {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(95,21,218,0.07);
    padding: 24px;
    margin-bottom: 32px;
    transition: box-shadow 0.2s;
}
.grid_item:hover {
    box-shadow: 0 8px 32px rgba(95,21,218,0.13);
}

.item_price {
    color: #cca43f;
    font-size: 1.35em;
    font-weight: 700;
    margin: 12px 0 18px 0;
}

.pattern_main_img img, .item_img {
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(95,21,218,0.09);
}

.info_grid {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
}
.info_img {
    flex: 0 0 320px;
    height: 320px;
    background-size: cover;
    background-position: center;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(95,21,218,0.09);
}
.info_details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

@media (max-width: 900px) {
    .info_grid {
        flex-direction: column;
        gap: 16px;
    }
    .info_img {
        width: 100%;
        height: 220px;
    }
}

/* Breadcrumbs */
.breadcrumbs ul {
    background: none;
    padding: 0;
    margin-bottom: 18px;
}
.breadcrumbs li {
    color: #5f15da;
    font-weight: 500;
    font-size: 1em;
}
.breadcrumbs li.active {
    color: #cca43f;
}

.item_info {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex: 1;
}
.item_info .item_short, .item_info .item_price {
    flex-grow: 1;
}
.item_info .btn {
    max-width: 180px;
    width: 100%;
    margin: 18px 0 0 0;
    align-self: flex-start;
    text-align: center;
    padding-left: 0;
    padding-right: 0;
}
.btn, .item_info .btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.form_actions_row {
    display: flex !important;
    flex-direction: row !important;
    gap: 16px !important;
    justify-content: flex-start !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
}
.form_actions_row .btn {
    min-width: 180px;
    white-space: nowrap;
    margin: 0 !important;
}

.btns {
    display: flex !important;
    flex-direction: row !important;
    gap: 16px !important;
    justify-content: flex-start !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
}
.btns .btn {
    min-width: 180px;
    white-space: nowrap;
    margin: 0 !important;
}

@media (max-width: 768px) {
  .constructor_container, .info_grid, .measurements_grid, .form_actions_row, .btns {
    flex-direction: column !important;
    width: 100% !important;
    align-items: stretch !important;
    gap: 12px !important;
  }
  .info_img {
    width: 100% !important;
    height: 180px !important;
    margin-bottom: 12px !important;
  }
  .info_details, .measurements_form, .pattern_content, .block_content {
    width: 100% !important;
    padding: 0 !important;
  }
  .form_group, .form_control, .measurements_grid input, .measurements_grid label {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .btn, .btns .btn, .form_actions_row .btn {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
  .form_actions_row, .btns {
    gap: 10px !important;
  }
  .main_img img, .pattern_main_img img {
    width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 900px) {
  .mainnav {
    display: none !important;
  }
  .burger {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
    margin: 0 0 0 auto;
  }
  .burger span {
    display: block;
    width: 28px;
    height: 4px;
    margin: 4px 0;
    background: #5f15da;
    border-radius: 2px;
    transition: 0.3s;
  }
  .burger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .burger.open span:nth-child(2) {
    opacity: 0;
  }
  .burger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .mobile_menu {
    display: block;
    position: absolute;
    top: 80px;
    right: 16px;
    left: 16px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(95,21,218,0.13);
    padding: 24px 0 12px 0;
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    transition: all 0.25s;
  }
  .mobile_menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .mobile_menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
  }
  .mobile_menu li {
    margin: 0 0 18px 0;
  }
  .mobile_menu li:last-child {
    margin-bottom: 0;
  }
  .mobile_menu a {
    font-size: 1.3em;
    color: #5f15da;
    font-weight: 700;
    text-decoration: none;
    display: block;
    padding: 10px 0;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
  }
  .mobile_menu a:hover {
    background: #f3f0ff;
    color: #cca43f;
  }
}

@media (min-width: 901px) {
  .burger, .mobile_menu { display: none !important; }
}

/* --- Вертикальный конструктор --- */
.constructor_block {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 24px auto;
  padding: 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(41,17,79,0.08);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.constructor_img {
  width: 100%;
  margin-bottom: 10px;
  border-radius: 10px;
  overflow: hidden;
}
.constructor_img img {
  width: 100%;
  display: block;
  border-radius: 10px;
}
.constructor_form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.constructor_form .ctitle {
  margin-bottom: 8px;
}
.constructor_form .cgroup {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}
.constructor_form .form_group {
  width: 100%;
  margin-bottom: 8px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
}
.constructor_form .form_group label {
  font-size: 17px;
  line-height: 27px;
  margin-bottom: 8px;
  position: static;
  padding: 0;
  text-align: center;
  font-weight: 400;
  color: #29114f;
  font-family: 'Roboto', Arial, sans-serif;
}
.constructor_form .form_group input {
  width: 100%;
  box-sizing: border-box;
}
.constructor_form .vfile_price {
  margin-bottom: 8px;
}
.constructor_form .btns {
  display: flex;
  flex-direction: row;
  gap: 8px;
  margin-bottom: 8px;
}
.constructor_form .btns .btn {
  flex: 1 1 0;
  width: 100%;
}
@media (max-width: 600px) {
  .constructor_block {
    max-width: 100vw;
    padding: 5px;
    border-radius: 0;
    box-shadow: none;
  }
}

/* --- Двухколоночная раскладка конструктора --- */
.constructor_flex {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (min-width: 1000px) {
  .constructor_flex {
    flex-direction: row;
    align-items: flex-start;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
  }
  .constructor_left {
    flex: 0 0 420px;
    max-width: 480px;
    min-width: 340px;
  }
  .constructor_right {
    flex: 1 1 0;
    max-width: 700px;
  }
}

/* --- Двухколоночная карточка конструктора --- */
.constructor_container {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 30px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}
.constructor_img_block {
  flex: 0 0 340px;
  max-width: 340px;
}
.constructor_img_block img {
  width: 100%;
  border-radius: 10px;
  display: block;
}
.constructor_form_block {
  flex: 1 1 0;
  min-width: 0;
}
@media (max-width: 900px) {
  .constructor_container {
    flex-direction: column;
    gap: 20px;
  }
  .constructor_img_block,
  .constructor_form_block {
    max-width: 100%;
    width: 100%;
  }
}
@media (min-width: 1000px) {
  .constructor_container {
    max-width: 1000px;
    margin: 0 auto;
  }
}
.constructor_form input[type="email"] {
  border: none !important;
  box-shadow: none !important;
}