/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video, select, option, button {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	box-sizing: border-box;
	
}



/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

html {
	overflow-x: hidden;
	margin-right: calc(-1 * (100vw - 100%));
}

body {

	line-height: 1;
	font-family: Century Gothic, sans-serif;

}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

.header {
	width: 100%;
	height: auto;
	/*background: linear-gradient(to right, #e7a6b8, #EFD1CE);*/
	
	/*background: linear-gradient(to right, rgba(239, 209, 206, 0.8), rgba(239, 209, 206, 0)), url("bg2.png");*/
	/*background: linear-gradient(to right, rgba(231, 166, 184, 0.6), rgba(231, 166, 184, 0.9), rgba(231, 166, 184, 0)), url("bg2.png");*/
	background: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.1)), url("bg2.png");
	
	background-size: cover;
	border-bottom: 10px solid black;
	color: white;

	padding: 10px;
}

.header .site-title {
	color: White;
	font-size: 50px;
	
	text-align: left;

	text-overflow: clip;
	white-space: nowrap;
	overflow: hidden;
}
.mob {
	background: rgb(255,255,255,0.5);
	padding: 2px;
	
	
}
.footer{
	font-size: 28px;
	width: 100%;
	background: linear-gradient(to right, #e7a6b8, #EFD1CE);
	border-top: 10px solid black;
	color: #fff;
	padding: 20px;

}

/*флекс для категорий*/
.categories-out {

	display: flex;
	flex-wrap: wrap;



	width: 100%;
	height: auto;
	
	border-bottom: 2px solid #EFD1CE;
	background-color: #FFF0F5;
	white-space: nowrap;
	cursor: pointer;

}
.categories-out .category:first-child {
  width: 100%;
}
.categories-out::-webkit-scrollbar {
	display: none;
}
.categories-out .category {
	text-align: center;

	width: auto;
	height: 44px;
	padding: 10px;
	border: 1px solid #EFD1CE;
	background: rgba(0, 0, 0, 0);
	
	
	font-family: Century Gothic, sans-serif;
	font-size: 24px;
}

.categories-out .category:hover{
	background: #FFE4E1;
}
.categories-out .category.active{
	background: #EFD1CE;
}


/*новое*/

.categories-out select {
	width: 300px;
	height: 50px;
	
	background-color: rgba(0,0,0,0);
	margin: 10px;
	box-shadow: 0 0 0 3px #EFD1CE;
	border: none;
	
	cursor: pointer;
}
.categories-out option{
	background-color: white;
}

.categories-out button{
	width: 150px;
	height: 50px;
	margin: 10px;
	
	box-shadow: 0 0 0 3px #EFD1CE;
	border: none;
}
.categories-out button:hover{
	background: #FFE4E1;
}
.categories-out button:active{
	background: #EFD1CE;
}




/*флекс для карточек моделей*/
.models-out {	
	margin-top: 10px;
	margin-bottom: 10px;
	display: flex;
	flex-wrap: wrap;
	gap: 10%;
	flex-direction: row;
	justify-content: space-around;
	
}


/*карточка модели*/
.model-card{
	height: auto;
	width: 250px;
	border-radius: 5px;
	
	background: #FFF0F5;
	margin-bottom: 10px;
	
	padding: 10px;
	
	text-align: center; 
	cursor: pointer;

	overflow: hidden;
}
.model-card:hover{
	background: #FFE4E1;
}
.model-card:active{
	background: #EFD1CE;
}
/*бокс для фото*/
.model-card .img-box{	
	width: 100%;
	height: 290px;


	background-color: white;
	border: 3px solid white;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: start;
}

.model-card .img-box img{
	width: 100%;
	object-fit: scale-down;
}
/*ссылка на модалку*/
.models-out .model-card a {
	display: block;
	height: 100%;
	width: 100%;
}
/*атрибуты*/
.model-card .name{
	font-size: 19px;

	text-transform: uppercase;
	margin-bottom: 5px;
	
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}
.size {
	font-size: 16px;
	padding-top: 5px;
	padding-bottom: 5px;
	text-align: left;
}
.sizes {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	flex-direction: row;
	justify-content: start;
}
.sizes p {
	font-size: 20px;
	border: 1px solid #e7a6b8;
	background-color: #ffe4ed;
	padding: 2px;
	border-radius: 5px;
}
.cost{
	font-size: 20px;
	margin-top: 5px;
	padding: 10px;
	
	background-color: #e7a6b8;
	border-radius: 5px;
}


/*модалка одной модели*/
.modal {
	position: fixed; /* фиксированное положение */
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: rgba(0,0,0,.4);
	z-index: 1050;

	-webkit-transition: opacity 200ms ease-in; 
	-moz-transition: opacity 200ms ease-in;
	transition: opacity 200ms ease-in; /* анимация перехода */


	margin: 0;
	padding: 0;
	display: none;

}
.modal-cost {
	color: #e7a6b8; font-size: 22px; font-weight: 800;
}
/* при отображении модального окно */
.modal:target {
	opacity: 1; /* делаем окно видимым */
	pointer-events: auto; /* элемент видим для событий мыши */
	overflow-y: auto; /* добавляем прокрутку по y, когда элемент не помещается на страницу */
}
/* ширина модального окна и его отступы от экрана */
.modal-dialog {
	position: relative;
}
@media (min-width: 576px) {
  .modal-dialog {
	  margin: 30px auto; /* для отображения модального окна по центру */
  }
}
/* свойства для блока, содержащего контент модального окна */ 
.modal-content {
	position: relative;
	overflow: hidden;

	background-color: #fff;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
	border: 1px solid rgba(0,0,0,.4);
	border-radius: .3rem;
	outline: 0;
	
}
@media (min-width: 768px) {
  .modal-content {
	  -webkit-box-shadow: 0 5px 15px rgba(0,0,0,.5);
	  box-shadow: 0 5px 15px rgba(0,0,0,.5);
  }
}
/* свойства для заголовка модального окна */
.modal-header {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	-ms-flex-pack: justify;
	justify-content: space-between;
	padding-right: 15px;
	padding-bottom: 5px;
	padding-left: 15px;
	padding-top: 5px;
	border-bottom: 1px solid #eceeef;
}
.modal-title {
	margin-top: 0;
	margin-bottom: 0;
	padding: 5px;
	line-height: 1.5;
	font-size: 19px;
	font-weight: 500;
	
	
	
}
/* свойства для кнопки "Закрыть" */
.close {
	float: right;
	font-family: sans-serif;
	font-size: 24px;
	font-weight: 700;
	line-height: 1;
	color: #000;
	text-shadow: 0 1px 0 #fff;
	opacity: .5;
	text-decoration: none;
}
/* свойства для кнопки "Закрыть" при нахождении её в фокусе или наведении */
.close:focus, .close:hover {
	color: #000;
	text-decoration: none;
	cursor: pointer;
	opacity: .75;
}
/* свойства для блока, содержащего основное содержимое окна */
/* это контейнер для карусели */
.modal-body {    
	overflow: hidden;
	border: 10px solid white;
	top: 10px;

	list-style-type: none;
	display: flex;
	justify-content: flex-start;

}
/* это элемент карусели */
.modal-body .img-box-modal {
	width: 100%;
	background-color: white;

	display: block;
	flex: 0 0 auto;
}
.modal-body .img-box-modal img {
	width: 100%;

}
div.ant-carousel-arrow-left, div.ant-carousel-arrow-right {
	width: 22px;
	height: 40px;
	position: absolute;
	cursor: pointer;
	opacity: 0.6;
	z-index: 2;
	display: block;
}
div.ant-carousel-arrow-left {
	left: -40px;
	top: 40%;
	background: url("arrow-left.png")  no-repeat;
}
div.ant-carousel-arrow-right {
	right: -40px;
	top: 40%;
	background: url("arrow-right.png")  no-repeat;
}
div.ant-carousel-arrow-left:hover {
	opacity: 0.9;
}
div.ant-carousel-arrow-right:hover {
	opacity: 0.9;
}


@media screen and (max-width: 992px)
{
.header {
	padding: 15px;	
}
.header .site-title {
	font-size: 56px;
	
}
.header p {
	padding-top: 20px;
	font-size: 36px;
}
.mob {
	font-size: 48px;
	
}
.categories-out {
	justify-content: flex-start;
}
.categories-out .category {
	font-size: 48px;
	flex-grow: 1;
	height: 90px;
	padding-top: 20px;
}
.models-out {	
	flex-wrap: wrap;
	gap: 1%;
	row-gap: 20px;
}

.model-card{
	width: 450px;
}
.model-card .name{
	font-size: 35px;
}
.model-card .img-box{	
	height: 500px;
}
.cost{
	font-size: 30px;
}
.size {
	font-size: 28px;
}
.sizes {
	gap: 12px;
	margin: 12px;
	margin-bottom: 20px;
}
.sizes p {
	font-size: 32px;
}
.footer {
	font-size: 32px;
	padding: 40px;
}
.footer .mob {
	font-size: 40px;
}
.modal-title {
	font-size: 44px;
	padding: 15px;
}
.modal-cost {
	font-size: 52px;
}
.close {
	font-size: 120px;
}
div.ant-carousel-arrow-left, div.ant-carousel-arrow-right {
	width: 120px;
	height: 120px;
}
div.ant-carousel-arrow-left {
	left: 20px;
	background: url("arrow-left-mobile.png")  no-repeat;
	background-size: 100% 100%;
}
div.ant-carousel-arrow-right {
	right: 20px;
	background: url("arrow-right-mobile.png")  no-repeat;
	background-size: 100% 100%;
}
.categories-out button{
	height: 100px;
	width: 300px;
	font-size: 40px;
}
.categories-out select{
	height: 100px;
	width: 500px;
	font-size: 40px;
	padding: 20px;
	appearance: none;
	background: url("arrow-down.png") no-repeat;
	background-position: center right 20px;
	background-size: 40px 40px;
	
}



}