/* Products and Categories Colunms */

.swd-container {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin: 1rem auto;
}

/* 1 Colunm */

.size100 .item {
	width: 100%;
}

/* 2 Colunm */

.size50 .item {
	width: calc(50% - 0.5rem);
}

/* 3 Colunm */

.size33 .item {
	width: calc(33.33% - 0.67rem);
}

/* 4 Colunm */

.size25 .item {
	width: calc(25% - 0.75rem);
}

/* 6 Colunm */

.size16 .item {
	width: calc(16.66% - 0.84rem);
}

/* Desktop */

@media all and (max-width: 74.938rem) and (min-width: 60rem) {
	.size16 .item {
		width: calc(25% - 0.75rem);
	}
}

/* Tablet */

@media all and (max-width: 59.938rem) and (min-width: 48rem) {
	.size25 .item,
  .size16 .item {
		width: calc(33.33% - 0.67rem);
	}
}

/* Landscape Mobile */

@media all and (max-width: 47.938rem) and (min-width: 30rem) {
	.size33 .item,
  .size25 .item,
  .size16 .item {
		width: calc(50% - 0.5rem);
	}
}

/* Mobile */

@media all and (max-width: 29.938rem) {
	.size50 .item,
  .size33 .item,
  .size25 .item,
  .size16 .item {
		width: 100%;
	}
}

/* Products and Categories Items */

.swd-container .item {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-content: flex-start;
	border: 1px solid #dfe3e7;
	border-radius: 0.25em;
	padding: 1rem;
}

/* Category and Subcategory Items */

.joocommerce-categories .item {
	text-decoration: none;
	color: inherit;
	transition: all 300ms ease-in-out;
}

.joocommerce-categories .item:hover,
.joocommerce-categories .item:focus {
	border-color: inherit;
}

.category-description *:last-of-type {
	margin-bottom: 0;
}

.joocommerce-categories .arrow-icon {
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
}

.joocommerce-categories .arrow-icon svg {
	display: block;
	fill: currentColor;
}

.joocommerce-categories .category-heading {
	display: flex;
	gap: 0.5rem;
	justify-content: space-between;
	align-items: baseline;
}

/* Category Items */

.joocommerce__categories-list-container .item .category-image {
	flex-basis: 5rem;
	flex-grow: 1;
}

.joocommerce__categories-list-container .item .category-body {
	flex-basis: 11rem;
	flex-grow: 999;
}

/* Subcategory Items */

.joocommerce__products-list-container__subcategories-list
  .item
  .category-image {
	flex-basis: 3rem;
	flex-grow: 1;
}

.joocommerce__products-list-container__subcategories-list .item .category-body {
	flex-basis: 6rem;
	flex-grow: 999;
	font-size: 0.9rem;
}

.joocommerce__products-list-container__subcategories-list
  .item
  .category-body
  .category-heading
  h4 {
	font-size: 1.2em;
}

/* Products Items */

.products-item-content {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.products-image-link {
	flex-basis: 8rem;
	flex-grow: 1;
}

.products-content {
	flex-basis: 12rem;
	flex-grow: 9999;
}

.products-title-link {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
}

.products-title {
	font-size: 1.4rem;
	margin: 0 1rem 1rem 0;
}

.products-price {
	font-size: 1.2rem;
	font-weight: bold;
}

/* Products Pagination */
.joocommerce__products-list-container .pagination-block {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.joocommerce__products-list-container .pagination-block .counter {
	margin: 1.5rem 0 0 0;
}

/* Single Product Layout */

.product-main {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin: 1rem 0;
}

.product-images {
	width: 30%;
}

.joocommerce-product-details {
	width: calc(70% - 1rem);
}

@media all and (max-width: 29.938rem) {
	.product-images,
  .joocommerce-product-details {
		width: 100%;
	}
}

.product-tools {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: space-between;
}

.product-buy-button {
	flex-grow: 999;
}

.quantity-container {
	flex-basis: 15rem;
	flex-grow: 1;
}

.quantity-container .quantity {
	display: flex;
	gap: 1rem;
	align-items: center;
	justify-content: flex-end;
}

@media all and (max-width: 29.938rem) {
	.quantity-container .quantity {
		justify-content: space-between;
	}
}

.quantity-container .quantity select {
	width: 4rem;
}

.full-product-description {
	margin: 2rem 0;
}

/* Single Product Variations */

.variations-container {
	margin: 1rem 0 1rem auto;
	max-width: 15rem;
}

.variations-container .variations > div {
	margin: 1rem 0;
}

@media all and (max-width: 29.938rem) {
	.variations-container {
		margin: 1rem 0;
		max-width: none;
	}
}

/* Single Product Images */

.product-images .joocommerce__default-image {
	aspect-ratio: 1 / 1;
	object-fit: contain;
}

.product-image-collection {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 1rem;
}

.product-image-collection > * {
	display: block;
	width: calc(50% - 0.5rem);
	aspect-ratio: 1 / 1;
	padding: 0.24rem;
	outline: 1px solid #c8c9c9;
	transition: scale 300ms ease-in-out;
}

.product-image-collection > a:hover,
.product-image-collection > a:focus {
	scale: 1.1;
}

.product-image-collection > a > img {
	width: 100%;
	height: 100%;
}

.product-image-collection img {
	object-fit: contain;
}

/* Single Product Price */

.joocommerce__product-price {
	font-size: 1.4rem;
	font-weight: 600;
}

.price-block {
	margin-bottom: 1rem;
}

/* Buttons */

.joocommerce-container .btn {
	margin: 0;
}

/* Table */

.joocommerce-container table {
	border: none;
}

.joocommerce-container table tr {
	border-color: #e0e0e5;
}

.table-item-nowrap {
	white-space: nowrap;
}

/* Form Fields */

.joocommerce-container input[type="text"],
.joocommerce-container input[type="email"],
.joocommerce-container select,
.joocommerce-container textarea {
	width: 100%;
	padding: 0.4em;
	min-height: 41px;
}

/* Gantry Buttons */

.gantry .joocommerce-container .btn {
	padding: 0.8em 1.6em;
}

.gantry .btn-outline-secondary {
	font-size: 0.8rem;
	line-height: 1.15;
	border: 1px solid;
}

/* Checkout / Cart*/

.js__joocommerce-cart.has-products {
	margin: 2rem 0 4rem 0;
}

.js__joocommerce-cart__title {
	font-size: 1.4rem;
	font-weight: bold;
}

.mobile-cart-tools {
	display: none;
}

.mobile-cart-tools .btn {
	margin: 0 0.5rem 0.5rem 0;
}

.cart-product .variations {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
}

@media all and (max-width: 29.938rem) {
	.js__joocommerce-cart .cart-product img {
		display: none;
	}

	.js__joocommerce-cart .js__joocommerce-cart__table td {
		font-size: 0.9rem;
		padding: 0.4em;
	}

	.js__joocommerce-cart .js__joocommerce__remove-from-cart .remove-title {
		display: none;
	}

	.js__joocommerce-cart .js__joocommerce__remove-from-cart {
		display: inline-block;
		height: 1rem;
		width: 1rem;
		padding: 0 !important;
		background-color: #6d757e;
		background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 90 90" style="fill:%23ffffff;"><path d="M6.109 69.749l24.749 -24.749 -24.749 -24.749c-1.945,-1.944 -1.945,-5.126 0,-7.071l7.071 -7.071c1.945,-1.945 5.127,-1.945 7.071,0l24.749 24.749 24.749 -24.749c1.944,-1.945 5.126,-1.945 7.071,0l7.071 7.071c1.945,1.945 1.945,5.127 0,7.071l-24.749 24.749 24.749 24.749c1.945,1.944 1.945,5.126 0,7.071l-7.071 7.071c-1.945,1.945 -5.127,1.945 -7.071,0l-24.749 -24.749 -24.749 24.749c-1.944,1.945 -5.126,1.945 -7.071,0l-7.071 -7.071c-1.945,-1.945 -1.945,-5.127 0,-7.071z"/></svg>');
		background-position: center;
		background-repeat: no-repeat;
		background-size: 80%;
	}

	.js__joocommerce-cart
    .js__joocommerce-cart__table
    .js__joocommerce__proceed-to-checkout,
  .js__joocommerce-cart
    .js__joocommerce-cart__table
    .joocommerce__continue-shopping {
		display: none;
	}

	.js__joocommerce-cart.has-products .mobile-cart-tools {
		display: block;
	}
}

/* Checkout */

.joocommerce-checkout-container .contact-details,
.joocommerce-checkout-container .checkout-foot {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin: 2rem 0;
}

.joocommerce-checkout-container .contact-block,
.joocommerce-checkout-container .checkout-foot > div {
	width: calc(50% - 0.5rem);
	border: 1px solid #e0e0e5;
	padding: 1rem;
}

@media all and (max-width: 47.938rem) {
	.joocommerce-checkout-container .contact-block,
  .joocommerce-checkout-container .checkout-foot > div {
		width: 100%;
	}
}

.discount-code-line .discount-code-cell {
	display: flex;
	gap: 1rem;
}

.discount-code-line .discount-code-cell input {
	max-width: 10rem;
}

.js-billing__additionalCheckoutFieldOpenOption {
	margin-top: 1rem;
}

.css-accept-terms-and-conditions {
	margin: 1rem 0;
}

.js-shipment__methods-radio-container input,
.payment-option input {
	margin-right: 0.5rem;
}

.payment-option img {
	margin-left: 0.5rem;
}

/* Pay Button */

.joocommerce-container .js-checkout__button__proceed-to-payment {
	margin-bottom: 2rem;
}

/* Shipping Address */

.joocommerce-checkout-container .different_address_shipping {
	margin-bottom: 0;
}

/* H2 Page Heading */

.joocommerce-container .page-heading {
	margin-bottom: 2rem;
}

/* Stripe Modal */

.modal-background {
	z-index: 3;
	display: none;
	padding: 20vh 10px;
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0, 0, 0);
	background-color: rgba(0, 0, 0, 0.6);
	box-sizing: border-box;
}

.modal-fade {
	animation: opac 0.8s;
}

@keyframes opac {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.modal-content {
	background-color: #f5f5f7;
	position: relative;
	box-shadow: 0 12px 30px 0 rgba(0, 0, 0, 0.5),
    inset 0 1px 0 0 hsla(0, 0%, 100%, 0.65);
	max-width: 300px;
	margin: 0 auto;
	border-radius: 6px;
	z-index: 1;
}

.modal-logo img {
	width: 100%;
	height: auto;
	border-radius: 50%;
}

.modal-logo {
	background-color: #ffffff;
	width: 70px;
	height: 70px;
	border: 3px solid #ffffff;
	box-sizing: border-box;
	border-radius: 50%;
	margin: -38px auto 15px auto;
	overflow: hidden;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18), 0 2px 2px 0 rgba(0, 0, 0, 0.08);
}

.modal-close {
	position: absolute;
	right: 6px;
	top: 6px;
	cursor: pointer;
	width: 25px;
	height: 25px;
	background-image: url("../../img/close.svg");
	background-size: 17px;
	background-position: 4px 4px;
	background-repeat: no-repeat;
	transition: background-image 300ms ease-in-out;
}

.modal-close:hover {
	background-image: url("../../img/closed.svg");
}

.modal-title {
	color: #ffffff;
	background-color: #e8e9eb;
	padding: 15px 10px;
	text-align: center;
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
	border-bottom: 1px solid #c1c2c4;
}

.modal-title .stripe-title {
	color: #333333;
	font-size: 17px;
	line-height: 21px;
	font-weight: 700;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.12);
	margin: 0 0 10px 0;
}

.sr-payment-form .stripe-submit-btn {
	display: block;
	background-color: #3174ef;
	color: white;
	margin: 25px 0 0 0;
	border-radius: 0.3em;
	text-transform: uppercase;
}

.sr-payment-form .stripe-submit-btn:hover,
.sr-payment-form .stripe-submit-btn:focus {
	background-color: #2459ba;
}

.sr-payment-form #button-text {
	margin-right: 0.3rem;
}

.sr-payment-form {
	padding: 25px;
}

.power-logo {
	position: absolute;
	left: 15px;
	bottom: 15px;
	width: 123px;
	height: 30px;
}

/* Stripe */

.sr-payment-form * {
	box-sizing: border-box;
}

.sr-combo-inputs-row {
	box-shadow: 0px 0px 0px 0.5px rgba(50, 50, 93, 0.1),
    0px 2px 5px 0px rgba(50, 50, 93, 0.1), 0px 1px 1.5px 0px rgba(0, 0, 0, 0.07);
	border-radius: 7px;
}

.sr-combo-inputs-row .sr-input {
	border: 1px solid #f5f5f7;
	border-radius: 6px;
	padding: 5px 12px;
	padding-top: 12px;
	height: 44px;
	width: 100%;
	transition: box-shadow 0.2s ease;
	background: white;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
}

.sr-field-error {
	color: var(--font-color);
	text-align: left;
	font-size: 13px;
	line-height: 17px;
	margin-top: 12px;
}

.sr-payment-form button {
	color: white;
	border: 0;
	padding: 12px 16px;
	margin-top: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	display: block;
	box-shadow: 0px 4px 5.5px 0px rgba(0, 0, 0, 0.07);
	width: 100%;
}

.sr-payment-form button .spinner {
	color: #ffffff;
	font-size: 22px;
	text-indent: -99999px;
	margin: 0px auto;
	position: relative;
	width: 20px;
	height: 20px;
	box-shadow: inset 0 0 0 2px;
	-webkit-transform: translateZ(0);
	-ms-transform: translateZ(0);
	transform: translateZ(0);
}

.sr-payment-form button .spinner.hidden {
	display: none;
}

.sr-payment-form button .spinner::before {
	width: 10.4px;
	height: 20.4px;
	background: #0a721b;
	border-radius: 20.4px 0 0 20.4px;
	top: -0.2px;
	left: -0.2px;
	-webkit-transform-origin: 10.4px 10.2px;
	transform-origin: 10.4px 10.2px;
	-webkit-animation: loading 2s infinite ease 1.5s;
	animation: loading 2s infinite ease 1.5s;
}

.sr-payment-form button .spinner::after {
	width: 10.4px;
	height: 10.2px;
	background: #0a721b;
	border-radius: 0 10.2px 10.2px 0;
	top: -0.1px;
	left: 10.2px;
	-webkit-transform-origin: 0px 10.2px;
	transform-origin: 0px 10.2px;
	-webkit-animation: loading 2s infinite ease;
	animation: loading 2s infinite ease;
}
