/*Containers*/
main {background-color: #FFF;}

.wrap-wide {max-width: 1300px;}

#item {
	padding: 12rem 0 5rem 0;
	margin: 0 2rem;
}

#item-tbl {
	border-radius: 20px;
	box-shadow: 0 30px 70px rgba(0,0,0,.3);
	overflow: hidden;
}

#left-block {
	width: 57%;
	padding-top: 3rem;
}

#right-block {
	width: 43%;
	box-sizing: border-box;
	padding: 3rem 3rem 3rem 4rem;
}

/*Background*/
#bgr-left {
	background-color: rgba(152,140,118,.8);
	backdrop-filter: blur(3px);
}

#bgr-right {
	background-color: rgba(115,108,90,.9);
	backdrop-filter: blur(3px);
}

#bgr-logo {
	opacity: .1;
	background-image: url(/resources/materials/images/logo/logo_simple_wht_hd.png);
}

/*Image*/
#img-sec {display: table-cell;}

#image {
	background-position: right;
	background-size: contain;
    border-radius: 5px;
	padding-bottom: 100%;
	z-index: 1;
	left: 17%;
}

#view-sec {
	bottom: 0;
	z-index: 1;
	left: 6rem;
}

.view-box {
	width: 4rem;
	margin: 0 1rem;
}

.view {
	background-color: #AEA9A1;
	background-position: center;
	background-size: contain;
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0,0,0,.5);
	padding-bottom: 100%;
	box-sizing: border-box;
	transition: background .1s;
}

.cbx:checked + .view .view-br {
	border: 3px solid #C9BCA7;
	box-sizing: border-box;
	border-radius: inherit;
}

/*Color*/
.color-box {
	width: calc(100% / 3);
	cursor: pointer;
	padding-top: 20px;
	margin-top: -20px;
}

.color-focus {
	border-top: 2px solid #eee;
	width: calc(100% / 3);
	padding-bottom: 20px;
	left: 0;
	overflow: hidden;
	transition: left .6s, border .6s;
}

.color-focus-det {
	background-color: #eee;
	width: 1rem;
	height: 1rem;
	transform: translateX(-50%) rotate(45deg);
	top: -.5rem;
	transition: background-color .6s;
}

.color {height: 10px;}

/*Item data*/
#title-box {
	width: 250px;
	position: absolute;
	top: 3rem;
	left: 2rem;	
}

#title {
	color: #E5CBA1;
	font-size: 4rem;
	text-transform: uppercase;
}

#stitle {
	margin-bottom: 1rem;
	left: 3px;
	color: #6B583D;
	font-size: 1.5rem;
	letter-spacing: .1em;
}

#title-mob {
	color: #d6b889;
	font-size: 3rem;
}

#stitle-mob {
	left: 4px;
	color: #D5C8B6;
	font-size: 1rem;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.field {padding-bottom: 2rem;}

.field-title {
	padding-bottom: 3px;
	margin: 0 0 10px 0;
	color: #D5C8B6;
	font-size: .8rem;
	line-height: 1.5;
	text-transform: uppercase;
}

/*Like*/
#like_cont {margin-top: 10px;}

#like_txt {
	display: inline-block;
	color: #777;
	font-size: 12px;
	vertical-align: middle;
}

#like_ico {
	display: inline-block;
	background-color: transparent;
	background-image: url(/resources/materials/icons/emotions/heart_ful_gry.png);
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
	border: none;
	width: 16px;
	height: 1rem;
	vertical-align: middle;
	cursor: pointer;
}

#like_ico.liked, #like_ico:hover {background-image: url(/resources/materials/icons/emotions/heart_ful_ora.png);}

/*Price*/
#price-box {padding: 3rem 0 3rem 0;}

#price {
	color: #d6b889;
	font-size: 2.5rem;
}

/*Fields*/
.sizes-info {
	opacity: .8;
	float: right;
	text-transform: none;
}

.size-box, .gender-box {
	display: inline-block;
	padding: 0 5px 5px 0;
	box-sizing: border-box;
}

.gender-box {width: 150px; max-width: 50%;}

.size, .gender {
	display: block;
	border: 2px solid transparent;
	text-align: center;
	box-sizing: border-box;
	cursor: pointer;
	transition: border .4s;
}

.size {
	border-radius: 100%;
	width: 3rem;
	height: 3rem;
}

.size h1 {line-height: calc(3rem - 3px);}

.gender-box {max-width: calc(50% - 5px);}

.size-name, .gender-name {color: #d6b889;}

.size-name {font-size: .8rem;}
.gender-name {font-size: .9rem; padding: 0 1rem; line-height: 2.6;}

.cbx:checked + .size, .cbx:checked + .gender {border-color: #d6b889;}

/*Logos*/
#ext-ico_cont {overflow: auto;}

.ext-box {
	width: 60px;
	max-width: calc(100% / 6);
	padding: 0 10px 10px 0;
	float: left;
	box-sizing: border-box;
}

.ext-lbl {
	display: block;
	background-position: center;
	background-size: 70%;
	border: 3px solid #ebebeb;
	padding-bottom: calc(100% - 6px);
	box-sizing: border-box;
	cursor: pointer;
	filter: grayscale(1);
}

.cbx:checked + .ext-lbl {border-color: #FF9600; filter: grayscale(0);}

#ext-img-sec {
	border: 1px solid #DDD;
	width: 50%;
	max-width: 250px;
	min-width: 160px;
	box-sizing: border-box;
}

#ext-img-box {
	border: 1px solid #DDD;
	padding: 10px;
}

#ext-img {
	background-position: center;
	background-size: contain;
	height: 10rem;
}

#ext-prev {
	display: none;
	background-position: center;
	background-size: contain;
	position: absolute;
}

.mts #ext-prev {width: 5%; padding-bottom: 5%; bottom: 13%; right: 32%;}
.vts #ext-prev {width: 5%; padding-bottom: 5%; bottom: 25%; right: 33%;}
.swt #ext-prev {width: 5%; padding-bottom: 5%; bottom: 23%; right: 34%;}
.hod #ext-prev {width: 5%; padding-bottom: 5%; bottom: 16%; right: 32%;}
.tnk #ext-prev {width: 5%; padding-bottom: 5%; bottom: 20%; right: 36%;}
.zip #ext-prev {width: 5%; padding-bottom: 5%; bottom: 18%; right: 35%;}

/*Position*/
.pos_box {
	width: 65px;
	max-width: calc(100% / 4);
	padding: 0 10px 10px 0;
	float: left;
	box-sizing: border-box;
}

.pos_lbl {
	display: block;
	background-color: #FFF;
	background-position: center;
	background-size: 80%;
	border: 3px solid #ebebeb;
	padding-bottom: calc(100% - 6px);
	box-sizing: border-box;
	cursor: pointer;
	filter: grayscale(1);
}

.cbx:checked + .pos_lbl {border-color: #FF9600; filter: grayscale(0);}

/*Pencil case back*/
.back_lbl {
	display: inline-block;
	background-size: 90%;
	background-position: center;
	background-repeat: no-repeat;
	border: 3px solid #AAA;
	width: 40px;
	height: 40px;
	margin: 0 4px 4px 0;
	box-sizing: border-box;
	cursor: pointer;
}

#cbx_back_1 + .back_lbl {background-color: #FF9600;}

.cbx:checked + .back_lbl {border-color: #006BDC;}

#back_img_cont {
	display: none;
	border: 1px solid #DDD;
	width: 44%;
	min-width: 160px;
	padding-bottom: 30%;
}

#back_des {
	background-repeat: no-repeat;
	width: 100%;
	height: 100%;
	position: absolute;
}

/*Quantity*/
#qty_box {overflow: hidden;}

#quantity {
	border: 1px solid #CCC;
	width: 2rem;
	outline: 0 none;
	
	font-family: side;
	text-align: center;
	line-height: 2rem;
	float: left;
	cursor: default;
}

#qty_box {
	width: 1.7rem;
	margin-left: 8px;
	float: left;
}

.qty_edit {
	background-color: #BBB;
	
	line-height: 1rem;
	color: #FFF;
	text-align: center;
}

.qty_edit.on {background-color: #777; cursor: pointer;}
.qty_edit.on:hover {background-color: #333;}

#qty_pls {margin-bottom: 2px;}

@media only screen and (max-width: 1400px) {
	#qty_cont {display: none;}
}

/* Add to cart button */
#submit {
	box-shadow: 5px 10px 10px rgba(0,0,0,.1);
	line-height: 5;
	letter-spacing: .05em;
}

/* Responsive */
@media only screen and (max-width: 1300px) {
	#title {font-size: 3rem;}
}

@media only screen and (max-width: 1000px) {
	.wrap-wide {max-width: 760px;}

	#left-block, #right-block {
		display: block;
		border: none;
		width: auto;
		float: none;
	}
	
	#left-block {padding: 0;}

	#right-block {padding: 3rem 2rem;}

	#img-sec {padding: 1rem;}

	#image {
		background-position: bottom;
		left: 0;
		margin-top: -3rem;
		top: 5rem;
	}

	#view-sec {
		top: 3rem;
		left: 0;
		bottom: auto;
	}

	.view-box {
		width: 4rem;
		margin: 0 1rem;
	}
	
	#type-sec {
		display: block;
		width: auto;
		margin: 1rem 0;
	}

	#submit {line-height: 6;}
}

@media only screen and (max-width: 550px) {

	#title-box {display: none;}
	
	#item {margin: 0;}

	#item {
		padding: 0;
	}

	#item-tbl {border-radius: 0;}

	#left-block {
		padding-top: 8rem;
	}

	#view-sec {top: 1.5rem;}

	.view-box {width: 6rem;}

	.wrap-wide {
		padding: 0;
	}

	#bgr-left,
	#bgr-right {backdrop-filter: none;}
}
