/* ! select */

.cart, .cart-alert, .cart-variation, .cart-modal
	{
		-webkit-user-select: none;
		user-select: none;
		cursor: default;
	}

/* ! transitions */

.e-action, .cart-modal .content .count i, .cart-modal .content .trash i, .cart-modal .close, .cart-modal .content .title a
	{
		transition: color .25s, background-color .25s, border-color .25s;
	}

/* ! borders */

.cart-alert>.wrapper, .cart-variation>.wrapper, .cart-modal>.wrapper, .cart-alert .item, .cart-modal .order, .cart-alert .item img
	{
		border-radius: var(--corner);
	}

/* ! action */

.e-action
	{
		color: LightSeaGreen;
		line-height: 1.25;
		display: inline-block;
		font-weight: 350;
		cursor: pointer;
		position: relative;
		white-space: nowrap;
		text-decoration: var(--link-text-decoration);
		text-decoration-color: var(--link-underline-color);
		text-decoration-thickness: 1px;
		text-decoration-style: dashed;
		text-decoration-skip-ink: var(--link-underline-skip);
		text-underline-offset: var(--link-underline-offset);
	}

.e-action:hover
	{
		color: Tomato;
		border-color: Tomato;
	}

/* ! cart */

.cart
	{
		position: absolute;
		top: 51px;
		right: 40px;
		width: 150px;
		height: 34px;
		font-size: 13px;
		line-height: 17px;
		color: SlateGray;
		cursor: pointer;
	}

.cart.empty
	{
		cursor: default;
	}

.cart .image .small, .cart .empty-text, .cart.empty .full-text, .cart.empty .cart-count
	{
		display: none;
	}

.cart.empty .empty-text
	{
		display: block;
	}

.cart .empty-text
	{
		line-height: 34px;
	}

.cart .full-text b
	{
		font-weight: 500;
		font-size: 10px;
	}

.cart .image
	{
		position: absolute;
		top: 1px;
		left: -52px;
		width: 38px;
		height: 33px;
	}

.cart .image .big
	{
		display: block;
		width: 38px;
		height: 33px;
		fill: LightSeaGreen;
	}

.cart .image .small
	{
		width: 24px;
		height: 24px;
		fill: LightSeaGreen;
	}

.cart.empty .image .small
	{
		fill: rgba(112, 128, 144, .5);
	}

.cart .cart-count
	{
		position: absolute;
		top: -7px;
		right: -7px;
		color: #fff;
		font-size: 10px;
		line-height: 16px;
		font-weight: 500;
		text-align: center;
		padding: 0 5px;
		min-width: 16px;
		background: Tomato;
		border-radius: 100px;
	}

.cart-items
	{
		font-weight: 500;
	}

.cart .cart-total
	{
		font-size: 13px;
	}

/* ! cart alert */

.cart-alert, .cart-modal, .cart-variation
	{
		position: fixed;
		left: 0;
		right: 0;
		top: 0;
		bottom: 0;
		opacity: 0;
		background-color: rgba(0, 0, 0, .25);
		z-index: 5555;
	}

.cart-alert>.wrapper, .cart-modal>.wrapper, .cart-variation>.wrapper
	{
		position: absolute;
		top: 50%;
		left: 50%;
		width: 508px;
		max-width: 90%;
		max-height: 90%;
		max-width: calc(100% - 40px);
		max-height: calc(100% - 40px);
		padding: 20px;
		font-size: 100%;
		line-height: 1.3em;
		background-color: #fff;
		transform: translate(-50%, -50%);
		box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .25);
		overflow: auto;
	}

.cart-alert .item
	{
		display: table;
		width: 100%;
		border: 1px solid #dbdfe3;
		padding: 10px;
	}

.cart-alert .item img
	{
		max-width: 100px;
		max-height: 100px;
		display: block;
		margin-right: 10px;
	}

.cart-alert .item span
	{
		display: table-cell;
		vertical-align: middle;
	}

.cart-alert .item i
	{
		display: table-cell;
		vertical-align: top;
		font-style: normal;
		width: 1%;
	}

.cart-alert .item span small
	{
		font-size: 14px;
		color: rgba(112, 128, 144, .85);
	}

.cart-alert .summary, .cart-modal .summary
	{
		padding: 20px 0;
		text-align: center;
	}

.cart-alert .actions, .cart-modal .actions
	{
		text-align: center;
		line-height: 36px;
		height: 36px;
	}

.cart-alert .actions .e-btn, .cart-modal .actions .e-btn
	{
		vertical-align: top;
	}

.cart-variation .add-to-cart
	{
		display: none;
	}

.cart-modal b, .cart-alert b
	{
		font-weight: 500;
	}

/* ! cart modal */

.cart-modal>.wrapper
	{
		width: 840px;
		overflow: auto;
	}

.cart-modal .close
	{
		position: absolute;
		overflow: hidden;
		width: 24px;
		height: 24px;
		right: 14px;
		top: 14px;
		z-index: 10;
		cursor: pointer;
	}

.cart-modal .close svg
	{
		display: inline-block;
		width: 12px;
		height: 12px;
		margin: 6px 0 0 6px;
		fill: currentColor;
	}

.cart-modal .close:hover
	{
		color: Tomato;
	}

.cart-modal h3
	{
		font-size: 125%;
		line-height: 1.3em;
		margin-bottom: 10px;
		font-weight: 500;
	}

.cart-modal .content
	{
		min-height: 75px;
		position: relative;
	}

.cart-modal .content table
	{
		width: 100%;
	}

.cart-modal .content th
	{
		text-align: center;
		border-bottom: 1px solid #dbdfe3;
		color: rgba(112, 128, 144, .5);
		font-size: 12px;
		line-height: 24px;
	}

.cart-modal .content td
	{
		border-bottom: 1px solid #dbdfe3;
		vertical-align: middle;
		text-align: center;
		font-size: 14px;
		line-height: 1.3em;
	}

.cart-modal .content .title
	{
		text-align: left;
		padding: 4px 10px;
	}

.cart-modal .content .variation
	{
		margin-left: 6px;
		font-size: 14px;
		line-height: 1.3em;
		color: rgba(112, 128, 144, .85);
	}

.cart-modal .content .variation:before
	{
		content: "[";
	}

.cart-modal .content .variation:after
	{
		content: "]";
	}

.cart-modal .content .price, .cart-modal .content .count, .cart-modal .content .total
	{
		white-space: nowrap;
		padding: 0 20px;
		width: 1%;
	}

.cart-modal .content .trash
	{
		padding: 0 10px;
		width: 1%;
	}

.cart-modal .content .image
	{
		padding: 0 10px;
		height: 49px;
		width: 1%;
	}

.cart-modal .content img
	{
		display: block;
		margin: 0 auto;
		max-width: 45px;
		max-height: 45px;
	}

.cart-modal .content svg
	{
		display: block;
		width: 13px;
		height: 13px;
		fill: currentColor;
	}

.cart-modal .content .count span
	{
		display: inline-block;
		vertical-align: middle;
		margin: 0 6px;
	}

.cart-modal .content .count i, .cart-modal .content .trash i
	{
		display: inline-block;
		position: relative;
		width: 13px;
		height: 13px;
		vertical-align: middle;
		font-style: normal;
		color: rgba(112, 128, 144, .75);
		cursor: pointer;
	}

.cart-modal .content .count i:after, .cart-modal .content .trash i:after
	{
		content: "";
		position: absolute;
		left: -4px;
		top: -4px;
		right: -4px;
		bottom: -4px;
		z-index: 3;
	}

.cart-modal .content .count i:hover
	{
		color: LightSeaGreen;
	}

.cart-modal .content .trash i:hover
	{
		color: Tomato;
	}

.cart-modal .order
	{
		margin-top: 20px;
		padding: 20px;
		background: rgba(112, 128, 144, .1);
		display: none;
	}

.cart-modal .order .info
	{
		width: 35%;
		float: right;
		text-align: center;
		padding-left: 20px;
	}

.cart-modal .order .info svg
	{
		display: block;
		width: 170px;
		height: 126px;
		margin: 24px auto 20px auto;
	}

.cart-modal .order .form
	{
		position: relative;
		overflow: hidden;
		width: 65%;
	}

.cart-modal .order .form>.wrapper
	{
		padding: 0 !important;
		background: transparent !important;
	}

.cart-modal .order .form p
	{
		overflow: hidden;
	}

.cart-modal .order .form label
	{
		display: block;
		width: 33%;
		text-align: right;
		float: left;
		padding-right: 6px;
		padding-top: .65em;
	}

.cart-modal input, .cart-modal textarea, .cart-modal .select>span
	{
		width: 67% !important;
		overflow: hidden;
	}

.cart-modal .submit
	{
		margin-left: 33%;
		display: block;
		float: left;
	}

.cart-modal .delivery
	{
		display: none;
	}

.cart-modal .complete
	{
		text-align: center;
		padding: 20px 0;
		display: none;
	}

.cart-modal .complete svg
	{
		width: 208px;
		height: 180px;
	}

.cart-modal .complete h1
	{
		font-size: 150%;
		line-height: 1.3em;
		margin-top: 40px;
	}

.cart-modal .complete h2
	{
		font-size: 125%;
		line-height: 1.3em;
		margin-top: .3em;
	}

.cart-modal .complete p
	{
		margin-top: .5em;
	}

/* ! spinner */

.cart-modal .spinner
	{
		width: 28px;
		height: 28px;
		left: 50%;
		top: 50%;
		margin-left: -16px;
		margin-top: -16px;
		position: absolute;
		z-index: 7;
		border-top: 2px solid transparent;
		border-right: 2px solid rgba(0, 0, 0, .75);
		border-bottom: 2px solid transparent;
		border-left: 2px solid rgba(0, 0, 0, .75);
		border-radius: 50%;
		transform: translateZ(0);
		animation: spinner .8s infinite linear;
	}

@keyframes spinner {0% {transform: rotate(0deg)} 100% {transform: rotate(360deg)}}

/* ! mobile */

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

		.cart
			{
				top: 8px;
				right: 30px;
				width: 44px;
				height: 37px;
			}

		.cart .image
			{
				width: 24px;
				height: 24px;
				top: 5px;
				left: 11px;
			}

		.cart .cart-count
			{
				top: -6px;
				right: -6px;
				font-size: 8px;
				line-height: 12px;
				padding: 0 3px;
				min-width: 12px;
			}

		.cart .image .small
			{
				display: block;
			}

		.cart .image .big, .cart .empty-text, .cart .full-text
			{
				display: none !important;
			}

	}

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

		.cart-modal .order .info
			{
				display: none;
			}

		.cart-modal .order .form
			{
				width: 100%;
			}

	}

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

		.cart
			{
				right: 10px;
			}

		.cart-modal .content
			{
				min-height: 50px;
			}

		.cart-modal .content th:nth-child(3), .cart-modal .content .price
			{
				display: none
			}

		.cart-alert .actions .e-btn, .cart-modal .actions .e-btn
			{
				display: block;
				margin-bottom: 10px;
			}

		.cart-alert .actions, .cart-modal .actions
			{
				height: auto;
				line-height: 1.3em;
			}

		.cart-alert .сheckout, .cart-modal .сheckout
			{
				display: block;
				margin-bottom: 16px;
			}

		.cart-alert .item
			{
				display: block;
				padding: 20px;
				text-align: center;
			}

		.cart-alert .item i, .cart-alert .item span
			{
				display: block;
				width: auto;
			}

		.cart-alert .item img
			{
				max-width: 160px;
				max-height: 160px;
				margin: 0 auto 10px auto;
			}

		.cart-modal input, .cart-modal textarea, .cart-modal .select>span
			{
				width: 100% !important;
			}

		.cart-modal .order .form label
			{
				display: inline-block;
				width: auto;
				float: none;
				padding-top: 0;
			}

		.cart-modal .submit
			{
				float: none;
				margin-left: 0;
				text-align: center;
			}

	}

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

		.cart-modal .content .left
			{
				text-align: center;
			}

		.cart-modal .content th:nth-child(2), .cart-modal .content .title
			{
				display: none
			}

		.cart-modal .content .image
			{
				padding: 0;
			}

		.cart-modal .content .count, .cart-modal .content .total
			{
				width: auto;
			}

		.cart-modal .content .image, .cart-modal .content .count, .cart-modal .content .total, .cart-modal .content .trash
			{
				padding: 0 10px;
				
			}

	}

/* ! print */

@media print
	{

		.cart, .cart-alert, .cart-variation, .cart-modal
			{
				display: none !important;
			}

	}

