/* ! select */

.cart, .cart-alert, .cart-modal
	{
		-webkit-user-select: none;
		-khtml-user-select: none;
		-moz-user-select: none;
		-ms-user-select: none;
		-o-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
	{
		-webkit-transition: color .25s, background-color .25s, border-color .25s;
		-moz-transition: color .25s, background-color .25s, border-color .25s;
		-ms-transition: color .25s, background-color .25s, border-color .25s;
		-o-transition: color .25s, background-color .25s, border-color .25s;
		transition: color .25s, background-color .25s, border-color .25s;
	}

/* ! borders */

.cart-alert>.wrapper, .cart-modal>.wrapper, .cart-alert .item, .cart-modal .order, .cart-alert .item img
	{
		border-radius: 3px;
	}

/* ! action */

.e-action
	{
		border-bottom: 1px dashed #1478b4;
		font-weight: 400 !important;
		color: #1478b4;
		line-height: 1em;
		display: inline-block;
		font-weight: normal;
		cursor: pointer;
		position: relative;
		white-space: nowrap;
	}

.desktop .e-action:hover, .e-action.tap
	{
		color: #e63c3c;
		border-color: #e63c3c;
	}

/* ! cart */

.cart
	{
		position: absolute;
		top: 44px;
		right: 40px;
		width: 174px;
		height: 34px;
		font-size: 15px;
		line-height: 19px;
		color: #000;
		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 .image
	{
		position: absolute;
		top: -3px;
		left: -48px;
		width: 38px;
		height: 33px;
	}

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

.cart .image .small
	{
		width: 23px;
		height: 20px;
		fill: #22b441;
	}

.cart.empty .image .small
	{
		opacity: .5;
	}

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

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

/* ! cart alert */

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

.cart-alert>.wrapper, .cart-modal>.wrapper
	{
		position: absolute;
		top: 50%;
		left: 50%;
		width: 500px;
		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;
		-moz-transform: translate(-50%, -50%);
		-webkit-transform: translate(-50%, -50%);
		transform: translate(-50%, -50%);
		box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .25);
		-moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .25);
		-webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .25);
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
	}

.cart-alert .item
	{
		display: table;
		width: 100%;
		border: 1px solid #ddd;
		padding: 10px;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
	}

.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: 90%;
		color: #bbb;
	}

.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 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;
	}

.desktop .cart-modal .close:hover, .cart-modal .close.tap
	{
		color: #e63c3c;
	}

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

.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 #ddd;
		color: #bbb;
		font-size: 12px;
		line-height: 24px;
	}

.cart-modal .content td
	{
		border-bottom: 1px solid #ddd;
		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: #777;
	}

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

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

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

.cart-modal .content .price, .cart-modal .content .count, .cart-modal .content .total
	{
		white-space: nowrap;
		padding: 0 10px;
	}

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

.cart-modal .content .image
	{
		height: 49px;
	}

.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: #aaa;
		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;
	}

.desktop .cart-modal .content .count i:hover,  .cart-modal .content .count i.tap
	{
		color: #1478b4;
	}

.desktop .cart-modal .content .trash i:hover,  .cart-modal .content .trash i.tap
	{
		color: #e63c3c;
	}

.cart-modal .order
	{
		margin-top: 20px;
		padding: 20px;
		background: #eee;
		display: none;
	}

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

.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 p
	{
		overflow: hidden;
	}

.cart-modal .order .form label
	{
		display: block;
		width: 32%;
		text-align: right;
		float: left;
		padding-right: 6px;
		padding-top: .35em;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
	}

.cart-modal input, .cart-modal textarea, .cart-modal .select-wrapper
	{
		width: 68% !important;
		overflow: hidden;
	}

.cart-modal .submit
	{
		margin-left: 32%;
		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%;
		-moz-transform: translateZ(0);
		-webkit-transform: translateZ(0);
		-ms-transform: translateZ(0);
		transform: translateZ(0);
		-moz-animation: spinner .8s infinite linear;
		-webkit-animation: spinner .8s infinite linear;
		animation: spinner .8s infinite linear;
	}

@-moz-keyframes spinner {0% {-moz-transform: rotate(0deg); transform: rotate(0deg)} 100% {-moz-transform: rotate(360deg); transform: rotate(360deg)}}
@-webkit-keyframes spinner {0% {-webkit-transform: rotate(0deg); transform: rotate(0deg)} 100% {-webkit-transform: rotate(360deg); transform: rotate(360deg)}}
@keyframes spinner {0% {-webkit-transform: rotate(0deg); transform: rotate(0deg)} 100% {-webkit-transform: rotate(360deg); transform: rotate(360deg)}}

/* ! mobile */

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

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

		.cart .image
			{
				width: 23px;
				height: 20px;
				top: 8px;
				left: 11px;
			}

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

		.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 .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-wrapper
			{
				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 .total, .cart-modal .content .trash
			{
				padding: 0;
			}

	}

/* ! print */

@media print
	{

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

	}

