/*==============================CART==============================*/
*, *::before, *::after {
	-webkit-box-sizing: inherit;
	        box-sizing: inherit;
}

html {
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}

.content-box-component {
	-webkit-box-sizing: content-box;
	        box-sizing: content-box;
}

.cart__wrap {
	width: 100%;
	margin: 0 auto;
	padding-top: 48px;
	background-color: #F8F7F7;
	margin-bottom: 60px;
}

.cart__wrap .section-title {
	margin-left: 10px;
}

.cart__item {
	border-top: 1px solid rgba(0, 0, 0, 0.15);
	padding-top: 12px;
	padding-bottom: 12px;
	padding-left: 10px;
	padding-right: 10px;
}

.cart__name {
	font-weight: 500;
	margin: 0;
	margin-bottom: 5px;
	font-size: 16px;
	line-height: 19px;
}

.cart__descr {
	margin-left: 12px;
}

.cart__descr p {
	width: 155px;
	margin: 0;
}

.cart__descr span {
	margin-right: 12px;
}

.cart__ing {
	color: #8C8C8C;
	font-size: 12px;
	line-height: 14px;
}

.cart__ing a {
	margin-left: 4px;
}

.cart__icon {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	    -ms-flex-direction: row;
	        flex-direction: row;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
}

.cart__buy {
	margin-top: 12px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	    -ms-flex-direction: row;
	        flex-direction: row;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
}

.cart__amount {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	    -ms-flex-direction: row;
	        flex-direction: row;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
}

.cart__amount button {
	width: 20px;
	height: 20px;
	border: 1px solid rgba(0, 0, 0, 0.15);
	background-color: transparent;
	border-radius: 50%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
}

.cart__amount p {
	width: 40px;
	height: 19px;
	line-height: 19px;
	margin: 0;
	padding: 0;
	text-align: center;
}

.cart__price {
	font-weight: 500;
	font-size: 20px;
	line-height: 24px;
	color: #DD2B1C;
	margin-left: 80px;
	text-decoration: none;
}

.cart__cl {
	margin-left: auto;
}

.delivery__price {
	margin-left: 160px;
}

.cart__result {
	padding-top: 17px;
	padding-bottom: 17px;
	padding-left: 10px;
	padding-right: 10px;
	border-top: 1px solid rgba(0, 0, 0, 0.15);
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
	-webkit-box-align: end;
	    -ms-flex-align: end;
	        align-items: flex-end;
	margin-bottom: 32px;
}

.cart__result span:first-child {
	color: #8C8C8C;
}

.cart__delivery {
	background-color: #fff;
	padding-left: 10px;
	padding-right: 10px;
}

.delivery__box {
	padding-top: 32px;
	padding-bottom: 32px;
}

.delivery__links-wrap {
	background-color: #fff;
}

.delivery__links {
	background-color: #fff;
	padding-top: 32px;
	padding-left: 10px;
	padding-right: 10px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	    -ms-flex-direction: row;
	        flex-direction: row;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	 -webkit-box-pack: justify;
	     -ms-flex-pack: justify;
	         justify-content: space-between;
}

.delivery__link {
	color: #8C8C8C;
	background-color: transparent;
	border: 1px solid #DD2B1C;
	width: calc(50% - 5px);
	min-height: 38px;
	line-height: 38px;
	text-decoration: none;
	border-radius: 100px;
	font-weight: 500;
	text-transform: uppercase;
	text-align: center;
}

.delivery__link:hover {
	color: #000;
}

.delivery__link--active:hover {
	color: #DD2B1C;
	background-color: #fff;
	border: 1px solid #DD2B1C;
}

.delivery__link:last-child {
	margin-right: 0;
}

.delivery__link--active {
	background: #DD2B1C;
	color: #fff;
}

.delivery__title {
	font-style: normal;
	font-weight: 500;
	font-size: 20px;
	line-height: 24px;
	color: #404040;
	margin-bottom: 20px;
	margin-top: 0;
}

.delivery__title--where {
	margin-top: 0;
}

.home__input {
	display: block;
	width: 100%;
	min-height: 31px;
	line-height: 31px;
	margin-top: 10px;
	margin-bottom: 16px;
	text-decoration: none;

	color: #404040;
	position: relative;
}

.delivery__name {
	font-weight: 500;
}

.person__inp {
	padding-top: 28px;
	padding-bottom: 13px;
	width: 100%;
	border: none;
	border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.person__home {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	    -ms-flex-direction: row;
	        flex-direction: row;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
}

.person__home .person__inp {
	width: 47%;
}

.payment {
	margin-top: 32px;
}

.payment__list {
	margin-top: 20px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
}

.payment__list label {
	margin-bottom: 17px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.payment__list label:last-child {
	margin-bottom: 0;
}

.payment__list span {
	margin-left: 12px;
	font-weight: 500;
}

.payment__list .radio-circle {
	display: block;
	width: 20px;
	height: 20px;
	border: 1px solid rgba(0, 0, 0, 0.15);
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	border-radius: 100px;
	margin-left: 0;
	position: relative;
}

.payment__list label input:checked ~ .radio-circle {
	border-color: #000;
}

.payment__list label input:checked ~ .radio-circle::after {
	content: '';
	position: absolute;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	    -ms-transform: translate(-50%, -50%);
	        transform: translate(-50%, -50%);
	background-color: #000;
}

.payment__list label input {
	display: none;
}

.form__submit {
	display: block;
	min-width: 113px;
	margin: 0 auto;
	margin-top: 32px;
	background: #DD2B1C;
	border-radius: 100px;
	font-weight: 500;
	border: none;
	color: #fff;
	padding: 12px 20px;
	cursor: pointer;
	text-decoration: none;
}

.form__submit:hover {
	background-color: red;
}

.section-title--form {
	margin-top: 48px;
}

.prev__address-wrap {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	margin: 0;
	margin-top: -3px;
	margin-left: 0 !important;
}

.prev__address label {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	    -ms-flex-direction: row;
	        flex-direction: row;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
}

.prev__address-time {
	font-style: normal;
	font-weight: normal;
	font-size: 12px;
	line-height: 14px;
	color: #8C8C8C;
	margin-top: 6px;
}

.home__address {
	position: relative;
}

.home__address span {
	padding-left: 12px;
	position: relative;
}

.home__address-list {
	padding: 20px;
	width: 300px;
	position: absolute;
	display: none;
	background-color: #fff;
	z-index: 100;
	-webkit-box-shadow: 0 0 13px #ccc;
	        box-shadow: 0 0 13px #ccc;
}

.home__address-list span {
	display: block;
	width: 100%;
	text-align: center;
	margin-bottom: 10px;
	cursor: pointer;
	padding-right: 10px;
	position: relative;
}

.home__address-list span:last-child {
	margin-bottom: 0;
}

.home__address-list span::after {
	content: '';
	position: absolute;
	right: 20px;
	top: 9px;
	width: 5px;
	height: 10px;
	background: url(../img/arrow-right.svg);
}

.home__address-list span:hover {
	background-color: #FCEEED;
}

.home__address-list span {
	display: block;
}

.home__address-span {
	width: 184px;
	border: 1px solid #DD2B1C;
	border-radius: 4px;
	position: relative;
	display: block;
	cursor: pointer;
}

.home__time-span {
	border: 1px solid #DD2B1C;
	border-radius: 4px;
	position: relative;
	display: block;
	cursor: pointer;
	padding-left: 12px;
	width: 90px;
}

.home__time-span::after {
	content: '';
	position: absolute;
	right: 10px;
	top: 50%;
	width: 20px;
	height: 8px;
	margin-top: -4px;
	background-image: url(../img/home_arrow.svg);
}

.home__address-span::after {
	content: '';
	position: absolute;
	right: 10px;
	top: 50%;
	width: 20px;
	height: 8px;
	margin-top: -4px;
	background-image: url(../img/home_arrow.svg);
}

.home__time-list span {
	display: block;
	min-width: 54px;
	min-height: 44px;
	line-height: 44px;
	position: relative;
	cursor: pointer;
}

.home__time-list span::after {
	content: '';
	position: absolute;
	right: 0px;
	top: 17px;
	width: 5px;
	height: 10px;
	background: url(../img/arrow-right.svg);
}

.home-time__wrap span {
	margin: 0 5px;
}

.home__time-list {
	display: none;
	background-color: #fff;
}

.home-block {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 100000;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
}

.home-time__wrap {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	    -ms-flex-direction: row;
	        flex-direction: row;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	width: 100%;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	padding: 0 10px;
}

.home-time__block {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 1000000;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
}

.home__address-list-wrap {
	width: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
}

.home__address-list-wrap .home__address-list-span {
	text-align: left;
	min-width: 230px;
}

@media(min-width: 365px) and (max-width: 767px) {
	.cart__descr p {
		width: 253px;
	}
	.cart__descr p br {
		display: none;
	}
	.cart__descr span {
		margin-right: 10px;
	}
}

@media(max-width: 767px) {
	.cart__item, .cart__result {
		border: none;
		position: relative;
	}
	.cart__item::before, .cart__result::before {
		content: '';
		position: absolute;
		top: 0;
		left: 10px;
		right: 10px;
		height: 1px;
		background-color: rgba(0, 0, 0, 0.15);
	}
	.home__address span,
	.home__time-span {
		width: 100%;
	}
	.home__time-list .home-time__block {
		padding: 0 10px;
	}
}

.cart__delivery {
	display: none;
}

.delivery-block {
	display: block;
}

.cart__img img {
  max-width: 120px;
  max-height: 81px;
  width: auto;
  height: auto;
}
.cart__img {
  width: 120px;
  height: 81px;
  text-align: center;
}
@media(min-width: 768px) {
	.cart__wrap {
		width: 750px;
		padding-left: 10px;
		padding-right: 10px;
	}
	.cart__item {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-orient: horizontal;
		-webkit-box-direction: normal;
		    -ms-flex-direction: row;
		        flex-direction: row;
		-ms-flex-wrap: wrap;
		    flex-wrap: wrap;
		-webkit-box-pack: justify;
		    -ms-flex-pack: justify;
		        justify-content: space-between;
		-webkit-box-align: start;
		    -ms-flex-align: start;
		        align-items: flex-start;
		padding-left: 0;
		padding-right: 0;
	}
	.cart__buy {
		margin-top: 24px;
	}
	.cart__price {
		margin-left: 30px;
	}
	.cart__cl {
		margin-left: 30px;
	}
	.cart__item--delivery .cart__icon {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-orient: horizontal;
		-webkit-box-direction: normal;
		    -ms-flex-direction: row;
		        flex-direction: row;
		-ms-flex-wrap: wrap;
		    flex-wrap: wrap;
		-webkit-box-pack: justify;
		    -ms-flex-pack: justify;
		        justify-content: space-between;
		-webkit-box-align: center;
		    -ms-flex-align: center;
		        align-items: center;
	}
	.cart__result {
		padding-left: 0;
		padding-right: 0;
	}
	.cart__wrap .section-title {
    	margin-left: 0;
	}
	.delivery__box {
		width: 352px;
		margin: 0 auto;
	}
	.delivery__links {
		width: 352px;
		margin: 0 auto;
		padding-left: 0;
		padding-right: 0;
	}
	.delivery__link {
		width: 168px;
		min-height: 38px;
	}
	.delivery__price {
		margin-right: 43px;
	}
	.home__input {
		display: inline-block;
		width: auto;
	}
	.home__address-span  {
		width: 169px;
	}
	.home__address-span::after {
		background: url(../img/inp-arrow.svg);
		width: 8px;
		height: 4px;
		background-repeat: no-repeat;
	}
	.home__time-span::after {
		background: url(../img/inp-arrow.svg);
		width: 8px;
		height: 4px;
		background-repeat: no-repeat;
	}
	.home__time-list span {
		padding: 0 5px;
	}
	.home__time-list span:nth-child(2n) {
		margin-right: 0;
	}
	.person__home .person__inp {
		width: 23%;
	}
	.person__home .person__inp:nth-child(2) {
		-webkit-box-ordinal-group: 2;
		    -ms-flex-order: 1;
		        order: 1;
	}
	.cart__descr p {
		width: 260px;
	}
	.cart__descr p br {
		display: none;
	}
	.home-block {
		position: absolute;
		width: auto;
		height: auto;
		padding: 5px;
		top: 45px;
	}
	.home-time__block {
		position: absolute;
		width: 139px;
		height: auto;
		padding: 5px;
		top: 45px;
		-webkit-box-shadow: 0 0 13px #ccc;
		        box-shadow: 0 0 13px #ccc;
	}
	.home-time__block span::after {
		display: none;
	}
	.home-time__block .home__time-close {
		display: none;
	}
	.home-block .home__address-close {
		display: none;
	}
	.home-block span {
		text-align: left;
	}
	.home-block span::after {
		display: none;
	}
	.home-time__wrap {
		-webkit-box-pack: start;
		    -ms-flex-pack: start;
		        justify-content: flex-start;
		padding: 16 12px;
		width: auto;
	}
	.home-time__wrap span:hover {
		background-color: #FCEEED;
	}
	.home-time__wrap {
		padding: 0;
	}
}

@media(max-width: 1439px) {

}

@media(min-width: 1440px) {
	.cart__wrap {
		width: 861px;
	}
	.cart__descr p {
   		width: 410px;
	}
	.cart__item {
		-webkit-box-align: center;
		    -ms-flex-align: center;
		        align-items: center;
	}
	.cart__icon {
		-webkit-box-align: center;
		    -ms-flex-align: center;
		        align-items: center;
	}
}

.pos-fixed {
  display: block;
  position: fixed;
  top: 0;
  left: 50%;
  -webkit-transform: translate(-50%, 0);
      -ms-transform: translate(-50%, 0);
          transform: translate(-50%, 0);
  z-index: 100000;
}

@media(max-width: 767px) {
  .pos-fixed {
    height: 100vh;
    width: 100vw;
    background-color: #fff;
  }
}

@media(min-width: 768px) {
  .pos-fixed {
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
  }
}
