button:focus, button:active {
	outline: none;
}

[hidden] {
	display: none;
}

.product-preview__overlay {
	background: rgba(0, 0, 0, 0.5);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10009;
	display: none;
}

.is-show .product-preview__overlay {
	display: block;
}

.product-preview__inner {
	width: 550px;
	background: #fff;
	-webkit-transform: translate3d(100%, 0, 0);
	transform: translate3d(100%, 0, 0);
	-webkit-transition: .3s all;
	transition: .3s all;
	position: fixed;
	top: 0;
	height: 100vh;
	z-index: 10010;
	will-change: transform;
	right: 0;
}

.is-show .product-preview__inner {
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}

@media (max-width: 767px) {
	.product-preview__inner {
		width: 90%;
	}
}

.product-preview__info {
	padding: 40px 40px 100px;
	height: 100vh;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.product-preview__title {
	font-size: 24px;
	text-transform: uppercase;
	line-height: 32px;
	margin-top: 30px;
}

@media (max-width: 767px) {
	.product-preview__title {
		margin-top: 20px;
		font-size: 18px;
		line-height: normal;
	}
}

.product-preview__desc {
	font-size: 13px;
	line-height: 24px;
	margin-top: 20px;
}

.product-preview__action {
	margin-top: 20px;
	text-align: center;
}

.product-preview__action button {
	text-transform: uppercase;
	width: 100%;
	border-radius: 0;
}

.product-preview__variant {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}

.product-preview__variant label {
	width: 36px;
	height: 36px;
	position: relative;
	margin: 0 4px;
}

.product-preview__variant label .checkmark {
	border: 1px solid #bfbfbf;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	font-size: 15px;
	font-weight: bold;
	border-radius: 100%;
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	color: #bfbfbf;
	line-height: 28px;
	cursor: pointer;
}

.product-preview__variant label input {
	position: absolute;
	opacity: 0;
}

.product-preview__variant label input:checked~.checkmark {
	color: #ae2222;
	border-color: #ae2222;
}

.product-preview__variant+.product-preview__variant {
	padding-top: 10px;
}

.product-preview__variant-meta {
	text-align: center;
	position: absolute;
	left: 0px;
	top: 100%;
	width: 100%;
	border: 1px dashed #ae2222;
	border-radius: 7px;
	padding: 10px 20px 10px 20px;
	margin-top: 20px;
	display: none;
	white-space: nowrap;
	-webkit-transform: translate3d(0%, 0, 0);
	transform: translate3d(0%, 0, 0);
}

.product-preview__variant-meta.left {
	left: 100%;
}

.product-preview__variant-meta.left::after {
	-webkit-transform: rotate(45deg) translate3d(25px, -9px, 0);
	transform: rotate(45deg) translate3d(25px, -9px, 0);
}

input:checked~.product-preview__variant-meta {
	display: block;
}

.is-active .product-preview__variant-meta {
	display: block;
}

.product-preview__variant-item label {
	display: block;
	z-index: 1;
}

.product-preview__variant-item.is-active .checkmark::after {
	display: block;
}

.product-preview__variant--option-size {
	position: relative;
	/*margin-bottom: 85px;*/
}

.product-preview__thumbs {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	margin: 20px -10px 0;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}

.product-preview__thumbs a {
	display: block;
	padding: 10px;
	width: 25%;
	opacity: .5;
}

.product-preview__thumbs a.product-preview--current {
	opacity: 1;
}

@media (max-width: 767px) {
	.product-preview__thumbs {
		margin-top: 20px;
	}
}

.product-preview__loading {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #fff;
	z-index: 11;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}

.product-preview__loading img {
	width: 50px;
}

.product-preview__close {
	text-align: center;
	width: 30px;
	height: 30px;
	cursor: pointer;
	position: absolute;
	right: 10px;
	top: 10px;
	color: #ccc;
}

.product-preview__close:hover {
	color: #ae2222;
}

.product-preview__size-chart .btn-sizechart {
	cursor: pointer;
}

@media (min-width: 768px) {
	.product-preview__size-chart-img img {
		width: 390px;
	}
}

.loading {
	background: rgba(0, 0, 0, 0.8);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	color: #fff;
	opacity: 0;
	visibility: hidden;
	-webkit-transition: .2s all;
	transition: .2s all;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
		-ms-flex-align: center;
			align-items: center;
	-webkit-box-pack: center;
		-ms-flex-pack: center;
			justify-content: center;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
		-ms-flex-flow: column;
			flex-flow: column;
	z-index: 99999;
	will-change: opacity;
  }

  .loading img {
	max-width: 70px;
  }

  .loading.is-active {
	opacity: 1;
	visibility: visible;
  }

  .items-selected__header {
	text-align: center;
  }

  .items-selected__header h3 {
	font-size: 42px;
  }

  .items-selected__header strong {

  }

  .items-selected__header p {
	font-size: 15px;
  }

/*=============================================
=            Composite product            =
=============================================*/
.box-content { padding: 24px; background: #fff; border: 1px solid var(--line); }

.wooco-sidebar {

	.wooco-product-summary {
		text-align: center;

		.wooco-product-title { font-weight: bold; color: #ae2222; margin-bottom: 10px; }
		.wooco-product-price { color: #ae2222; }
		.wooco-product-before-text { margin-bottom: 30px; }
		.wooco-product-before-text h3 { font-size: 18px; margin-bottom: 5px; }
	}

	.wooco-steps { display: flex; justify-content: center; max-width: 680px;margin: 0 auto }
	.step { display: flex;flex:1; justify-content:center; cursor: pointer; min-width: 150px;margin-bottom: 30px; color: #bfbfbf;text-align: center; padding: 18px 12px; border-bottom: 2px solid var(--line); position: relative; }
	.step__back, .step__front { display:flex; flex-direction: column; align-items: center; transition: .2s all; }
	.step__back { display:none; flex-direction: row; gap: 8px; }
	.step--added .step__front { display: none; }
	.step--added .step__back { display: flex; }
	.step__number { font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--denim-lt); line-height: 1.5 }
	.step .step__text { font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; font-weight: 600; margin-top: 4px; }

	.step--current { color: #1C1518; border-color:#AB162C }
	.step--current .step__number {color: #AB162C}

	.step__product { background: #f8f8f8; border-radius: 10px; display: flex; align-items: stretch; }
	.step__image { padding: 10px 20px; border-right: 1px solid #efefef; }
	.step__image img { max-height: 50px; width: auto; }
	.step__remove { padding: 0 20px; color: #bfbfbf; display: flex; align-items: center; }

	.wooco-reset { text-align: center; }
}

.wooco-builder {
	margin-top: 50px;

	.wooco-product-grid-title { font-family: var(--sans); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; color: var(--ink); }

	.wooco-product-grid { display: grid !important; grid-template-columns: repeat(5, 1fr); row-gap: 20px; }
}

/* Product grid */

.wooco-product-grid .product {
	height: 100%;
}
.wooco-product-grid .product__added {
	display: none;
}
.wooco-product-grid .product__inner {
	position: relative;
	display: flex;
	flex-flow: column;
}

.wooco-product-grid .product__image {
	flex-grow: 1;
	position: relative;
	height: 100%;
}

.wooco-product-grid .product__thumb {
	display: block;
	height: 100%;
}

.wooco-product-grid .product__thumb img {
	margin: 0 auto;
	width: 100%;
	aspect-ratio: 9/16;
	object-fit: cover;
}

ul.products.wooco-product-grid li.product-col h3 {
	margin-top: 20px;
	margin-bottom: 20px;
}

ul.wooco-product-grid li.product-col h3 a {
	color: #333;
	font-weight: 700;
}

ul.wooco-product-grid li.product-col h3 a:hover {
	text-decoration: none;
}

ul.wooco-product-grid li.product-col .amount {
	font-weight: 600;
	font-size: 16px;
}

ul.wooco-product-grid li.product-col del { opacity: 0.5; }
ul.wooco-product-grid li.product-col ins { text-decoration: none; }

.wooco-product-grid .product__variants {
	display: flex;
	overflow: hidden;
	position: absolute;
	bottom: 4px;
	right: 4px;
	flex-flow: column-reverse;
	height: 100%;
}

.wooco-product-grid .product--mobile .product__variants {
	position: relative;
	height: auto;
}

.wooco-product-grid .product--added .product__variants {
	display: none;
}

.wooco-product-grid .product__add {
	border: none;
	outline: none;
	padding: 0;
	cursor: pointer;
	width: 42px;
	height: 42px;
	background: #ae2222;
	border-radius: 50%;
	z-index: 1;
	color: #fff;
	transition: .2s all;
	position: relative;
}

.wooco-product-grid .product--mobile .product__add {
	opacity: 1;
	visibility: visible;
	width: 100%;
	height: 36px;
	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;
	border: 1px solid #ae2222;
	color: #ae2222;
}

.wooco-product-grid .product__add svg {
	width: 16px;
	will-change: transform;
	-webkit-transition: .2s all;
	transition: .2s all;
	z-index: 1;
	position: relative;
}

.wooco-product-grid .product__add:hover svg {
	-webkit-transform: rotate(90deg);
	transform: rotate(90deg);
}

.wooco-product-grid .product.is-active .product__options-list.is-active {
	opacity: 1;
	display: flex;
}

.wooco-product-grid .product__options-list {
	margin: 0;
	padding: 0;
	display: flex;
	flex-flow: column-reverse;
	align-items: center;
	overflow: hidden;
	transform: translate3d(0, 100%, 0);
	opacity: 0;
	visibility: hidden;
	transition: .2s all;
	pointer-events: none;
	position: absolute;
	bottom: 45px;
	left: 0;
	width: 100%;
}

.wooco-product-grid .product__options-list.is-active {
	visibility: visible;
	pointer-events: auto;
}

.wooco-product-grid .product.is-active .product__options-list {
	transform: translate3d(0, 0, 0);
}

.wooco-product-grid .product__options-list li {
	list-style: none;
}

.wooco-product-grid .product__option {
	width: 34px;
	height: 34px;
	text-align: center;
	font-size: 13px;
	font-weight: bold;
	color: #bfbfbf;
	display: inline-block;
	border: 1px solid #bfbfbf;
	line-height: 30px;
	border-radius: 50%;
	margin: 3px 0;
	background: #fff;
	-webkit-transition: .2s all;
	transition: .2s all;
	cursor: pointer;
	position: relative;
}

.wooco-product-grid .product__option input {
	position: absolute;
	clip: rect(0 0 0 0);
	clip: rect(0, 0, 0, 0);
	overflow: hidden;
	height: 1px;
	width: 1px;
}

.wooco-product-grid .product__option:hover {
	border-color: #ae2222;
	color: #ae2222;
}

.wooco-product-grid .product__option .checkmark {
	border-radius: 50%;
	border: 2px solid #ae2222;
	position: absolute;
	top: -1px;
	left: -1px;
	right: -1px;
	bottom: -1px;
	display: none;
}

.wooco-product-grid .product__option input:checked~.checkmark {
	display: block;
}

.wooco-product-grid .product__option input:checked~span {
	color: #ae2222;
}

.product__image--size {
	position: absolute;
	top: 5px;
	left: 5px;
	width: 30px;
	height: 30px;
	line-height: 30px;
	background-color: #239a1a;
	color: #fff;
	text-align: center;
	border-radius: 100px;
}

.product__remove {
	width: 30px;
	height: 30px;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	right: -15px;
	top: -15px;
	cursor: pointer;
	z-index: 11;
	background: #e7e7e7;
	border-radius: 50%;
}

.product__remove svg {
	max-width: 10px;
}

.product__remove:hover {
	color: #ae2222;
}

.woo-selected-products .cart__variant {
	margin: 0;
	position: absolute;
	bottom: 0;
	width: 100%;
}

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

.wooco-add-to-cart-wrapper {
	display: flex;
	padding: 30px 0;
	flex-flow: column;
	align-items: center;
	position: relative;
}

.wooco-add-to-cart-wrapper {
	.wooco-selected-loading {
		background: rgba(0, 0, 0, 0.5);
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		display: none;
		align-items: center;
		justify-content: center;
		opacity: 0;

		&::after {
			content: '';
			width: 48px;
			height: 48px;
			border: 5px solid #ae2222;
			border-bottom-color: transparent;
			border-radius: 50%;
			display: inline-block;
			box-sizing: border-box;
			animation: rotation 1s linear infinite;
			z-index: 999;
		}
	}

	&.is-loading {
		.wooco-selected-loading { opacity: 1; display: flex; }
	}

	.wooco-selected-price { text-align: center; font-size: 14px; }
	.wooco-original-price .price { font-size: 18px }
}

.wooco-add-to-cart-wrapper .btn-reset {
	margin: 20px 10px;
}

.wooco-add-to-cart-wrapper .btn.btn--primary {
	text-transform: uppercase;
}

@media (min-width: 768px) {
	.woo-selected-products.wooco-product-grid { grid-template-columns: repeat(2, 1fr); margin: 0 auto; max-width: 50%;}
}

@media (max-width: 767px) {
	.wooco-builder .wooco-product-grid { grid-template-columns: 1fr 1fr;}

	.wooco-products-list {
		margin-top: 30px;
	}
	ul.wooco-product-grid li.product-col .amount {
		font-size: 16px;
	}
	.wooco-product-grid .product__add {
		width: 34px;
		height: 34px;
	}
	.wooco-product-grid .product.is-active .product__add {
		display: none;
	}
	.wooco-product-grid .product__add svg {
		width: 12px;
	}
	.wooco-product-grid .product__variants {
		position: relative;
		display: block;
		padding-top: 10px;
	}
	.wooco-product-grid .product__options-list {
		flex-flow: row;
		bottom: 0;
		justify-content: center;
	}
	.wooco-product-grid .product.is-active .product__options-list {
		position: relative;
	}
	.wooco-product-grid .product__option {
		margin: 7px 3px 0;
	}
}