.thk__checkout {
    --color-button-text: #fff;
	--color-button-bg: #4886ff;
	--color-button-hover: #4886ff;
	--color-link: #4886ff;
	--color-link-hover: #df792c;
	--color-notification: #ff6161;
	--color-notification-text: #f0f0f0;
	--color-notification-border: #fff;
	--color-delete-product: #dd0000;
	--color-delete-product-hover: #cc0000;
	--color-body-text: #2a2a2a;
	--color-body-bg: #efefef;
    

    position: relative;
    display: block;
    text-align: right;
    z-index: 100;
}

.checkout__button {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    display: inline-block;
	cursor: pointer;
	-webkit-transition: -webkit-transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
	transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.checkout--active .checkout__button {
	cursor: default;
	-webkit-transform: translate3d(-600%, 0, 0);
	transform: translate3d(-600%, 0, 0);
	top:4px;
}

.checkout__button:focus {
	outline: none;
}
.checkout__button:hover .checkout__text,.checkout__button:focus .checkout__text,.checkout--active .checkout__button .checkout__text{
    color: var(--color-button-text);
    background: var(--color-button-hover);
}

.checkout__text {
	display: block;
    color: var(--color-button-text);
	background: none;
	border:1px solid var(--color-button-text);
    font-size: 30px;
    padding: 3px;
}

.checkout__order {
	position: absolute;
	top: 0;
	right: 0;
	overflow: hidden;
	max-width: 100vw;
	width: 400px;
	text-align: right;
    pointer-events: none;
   
}

.checkout--active .checkout__order {
    pointer-events: auto;
    background: var(--color-body-bg);
}



.checkout__order-inner {
	position: relative;
	padding: 20px;
	opacity: 0;
}

.checkout--active .checkout__order-inner {
	opacity: 1;
	-webkit-transition: opacity 0.6s cubic-bezier(0.2, 1, 0.3, 1);
	transition: opacity 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.checkout__summary {
	margin: 40px 0 15px;
	width: 100%;
	color: var(--color-body-text);
	text-align: left;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 14px;
	line-height: 18px;
}

.checkout__summary tr {
	-webkit-transform: translate3d(250px, 0, 0);
	transform: translate3d(250px, 0, 0);
}

.checkout--active .checkout__summary tr {
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
	-webkit-transition: -webkit-transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
	transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.checkout--active .checkout__summary tbody tr:nth-child(1) {
	-webkit-transition-delay: 0.015s;
	transition-delay: 0.015s;
}

.checkout--active .checkout__summary tbody tr:nth-child(2) {
	-webkit-transition-delay: 0.03s;
	transition-delay: 0.03s;
}

.checkout--active .checkout__summary tbody tr:nth-child(3) {
	-webkit-transition-delay: 0.045s;
	transition-delay: 0.045s;
}

.checkout--active .checkout__summary tbody tr:nth-child(4) {
	-webkit-transition-delay: 0.06s;
	transition-delay: 0.06s;
}

.checkout--active .checkout__summary tbody tr:nth-child(5) {
	-webkit-transition-delay: 0.075s;
	transition-delay: 0.075s;
}

.checkout--active .checkout__summary tbody tr:nth-child(6) {
	-webkit-transition-delay: 0.09s;
	transition-delay: 0.09s;
}

.checkout--active .checkout__summary tfoot tr {
	-webkit-transition-delay: 0.105s;
	transition-delay: 0.105s;
}

.checkout__summary thead th,
.checkout__summary tfoot th {
	color: var(--color-button-bg);
	line-height: 20px;
}

.checkout__total {
	color: var(--color-body-text);
}

.checkout__summary tbody tr:first-child td {
	padding-top: 5px;
}

.checkout__summary tbody td {
	padding: 5px 0;
	font-weight: 700;
	font-size: 0.85em;
}

.checkout__summary tbody td span {
	color: var(--color-body-text);
}

.checkout__summary th:last-child,
.checkout__summary td:last-child {
	text-align: right;
}

.checkout__summary .checkout__empty td{
    font-size: 18px;
    color:#dfdfdf;
    text-align: center;
}




.checkout__clean{
    background: var(--color-button-bg);
    display: inline-block;
	position: absolute;
	bottom: 0;
	left: 0px;
    color: var(--color-button-text);
    font-size: 20px;
    opacity: 1;
    backface-visibility: hidden;
    opacity: 0;
	-webkit-transform: translate3d(-50px, 0, 0);
	transform: translate3d(-50px, 0, 0);
	width:38px;
	height: 38px;
	text-align: center;
	line-height: 38px;
	
}

.checkout__clean:hover,.checkout__clean:focus{
    color: var(--color-button-text);
    background: var(--color-button-hover);
}

.checkout--active .checkout__clean {
	opacity: 1;
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
	-webkit-transition: -webkit-transform 0.6s cubic-bezier(0.2, 1, 0.3, 1), opacity 0.6s cubic-bezier(0.2, 1, 0.3, 1);
	transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1), opacity 0.6s cubic-bezier(0.2, 1, 0.3, 1);
	-webkit-transition-delay: 0.18s;
	transition-delay: 0.18s;
}

.thk__checkout .checkout__option {
	display: inline-block;
	margin-top: 1em;
	padding: 0.5em 2em;
	border: none;
	border-radius: 1px;
	background: var(--color-button-bg);
	color: var(--color-button-text);
	font-weight: 700;
	opacity: 0;
	-webkit-transform: translate3d(50px, 0, 0);
	transform: translate3d(50px, 0, 0);
}

.thk__checkout .checkout__option:hover {
    background:var(--color-button-hover);
    color: var(--color-button-text);
    text-decoration: none;
}

.checkout--active .checkout__option {
	opacity: 1;
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
	-webkit-transition: -webkit-transform 0.6s cubic-bezier(0.2, 1, 0.3, 1), opacity 0.6s cubic-bezier(0.2, 1, 0.3, 1);
	transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1), opacity 0.6s cubic-bezier(0.2, 1, 0.3, 1);
	-webkit-transition-delay: 0.18s;
	transition-delay: 0.18s;
}

.thk__checkout .checkout__option--silent {
	background: none;
	color: var(--color-button-bg);
	font-weight: 500;
	font-size: 14px;
}

.thk__checkout .checkout__option--silent:hover {
	background: none;
	color: var(--color-button-hover);
}

.checkout__option:focus {
	outline: none;
}

.checkout__close {
	position: absolute;
	top: 10px;
    right: 10px;
    font-size: 20px;
	border: none;
	background: transparent;
	color: var(--color-body-text);
	opacity: 0;
	-webkit-transform: translate3d(50px, 0, 0);
	transform: translate3d(50px, 0, 0);

	backface-visibility: hidden;
}

.checkout__close:focus {
	outline: none;
}

.checkout--active .checkout__close {
	opacity: 1;
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
	-webkit-transition: -webkit-transform 0.6s cubic-bezier(0.2, 1, 0.3, 1), opacity 0.6s cubic-bezier(0.2, 1, 0.3, 1);
	transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1), opacity 0.6s cubic-bezier(0.2, 1, 0.3, 1);
	-webkit-transition-delay: 0.015s;
	transition-delay: 0.015s;
}

.checkout__delete__product{
	color: var(--color-delete-product);
    margin-left: 4px;
    font-size: 16px;
}

.checkout__delete__product:hover{
	color: var(--color-delete-product-hover);
}


.checkout__notification{
    position: absolute;
    right: -7px;
    top: -7px;
    text-align: center;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    background-color: var(--color-notification);
    border: solid 1px var(--color-notification-border);
    font-weight: 400;
    color: var(--color-notification-text);
    line-height: 16px;
    font-size: 12px;
}
.checkout__hide{
    display: none;
}
@media screen and (max-width: 400px) { 
    .checkout__order {
        width: 90%;      
    }
	.checkout--active .checkout__button {
		cursor: default;
		-webkit-transform: translate3d(-400px, 0, 0);
		transform: translate3d(-200%, 0, 0);
	}
}
