/* Products and Categories Columns */

.swd-container {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin: 1rem auto;
}

/* 1 Column */

.size100 .item {
	width: 100%;
}

/* 2 Column */

.size50 .item {
	width: calc(50% - 0.5rem);
}

/* 3 Column */

.size33 .item {
	width: calc(33.33% - 0.67rem);
}

/* 4 Column */

.size25 .item {
	width: calc(25% - 0.75rem);
}

/* 6 Column */

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

.variations-container .jcs-product-option .form-control,
.variations-container .jcs-product-option select {
	width: 100%;
}

.variations-container .jcs-product-option-choices {
	display: grid;
	gap: 0.5rem;
}

@media all and (max-width: 29.938rem) {
	.variations-container {
		margin: 1rem 0;
		max-width: none;
	}
}

/* Single Product Images */

.product-images a {
	display: block;
	transition: scale 300ms ease-in-out;
}

.product-images a:hover,
.product-images a:focus {
	scale: 1.05;
}

.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 button {
	display: block;
	width: calc(50% - 0.5rem);
	aspect-ratio: 1 / 1;
	padding: 0;
	outline: 1px solid #c8c9c9;
	transition: scale 300ms ease-in-out;
}

.product-image-collection button:hover,
.product-image-collection button:focus {
	scale: 1.05;
}

.product-image-collection img {
	object-fit: contain;
	width: 100%;
	height: 100%;
}

/* Single Product Price */

.joocommerce__product-price {
	font-size: 1.4rem;
	font-weight: 600;
}

.price-block {
	margin-bottom: 1rem;
}

/* 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;
}

/* Buttons */

.joocommerce-container .btn {
	margin: 0;
}

/* 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;
}

/* Shopping Cart */

.js__joocommerce-cart.has-products {
	margin: 2rem 0 4rem 0;
}

.js__joocommerce-cart__title {
	font-size: 1.4rem;
	font-weight: bold;
	margin: 1rem 0;
}

.js__joocommerce-cart__table {
	display: flex;
	flex-direction: column;
	gap: 0;
	width: 100%;
	border-top: 1px solid #e0e0e5;
}

.js__joocommerce-cart__head,
.js__joocommerce-cart__body {
	display: flex;
	flex-direction: column;
}

.js__joocommerce-cart .joocommerce-cart__row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	width: 100%;
	padding: 0.5rem 0;
	border-bottom: 1px solid #e0e0e5;
	align-items: center;
}

/* Shopping Cart | Desktop */

@media (min-width: 48rem) {
	.js__joocommerce-cart .joocommerce-cart__row:not(.joocommerce-cart__row--item, .joocommerce-cart__row--footer) {
		padding-right: 8.5rem;
	}

	.joocommerce-checkout-container .js__joocommerce-cart .joocommerce-cart__row--footer,
	.joocommerce-cart-page .joocommerce-cart__row--footer {
		padding-right: 8.5rem;
	}

	.joocommerce-cart__shipping-label,
	.joocommerce-cart__tax-label,
	.joocommerce-cart__grandtotal-label {
		text-align: right;
	}
}

.js__joocommerce-cart .joocommerce-cart__cell--item {
	flex-basis: 8rem;
	flex-grow: 1;
}

.js__joocommerce-cart .joocommerce-cart__cell--price {
	flex-basis: 4rem;
}

.js__joocommerce-cart .joocommerce-cart__cell--quantity {
	flex-basis: 6rem;
}

.js__joocommerce-cart .joocommerce-cart__cell--total {
	flex-basis: 4rem;
}

.js__joocommerce-cart .joocommerce-cart__cell--tools {
	width: 8rem;
	flex-shrink: 0;
}

.js__joocommerce-cart .joocommerce-cart__row--head {
	font-weight: 700;
}

.js__joocommerce-cart .joocommerce-cart__cell {
	min-width: 0;
}

.js__joocommerce-cart .cart-product {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.js__joocommerce-cart .js__joocommerce-cart__item-title {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.25rem;
}

.js__joocommerce-cart .joocommerce-cart__row--footer {
	justify-content: flex-end;
}

.js__joocommerce-cart .js__joocommerce-cart__price,
.js__joocommerce-cart .js__joocommerce-cart__row-total,
.js__joocommerce-cart .cart-shipping-total,
.js__joocommerce-cart .cart-tax-total,
.js__joocommerce-cart .cart-grand-total {
	white-space: nowrap;
}

.js__joocommerce-cart .joocommerce-cart__row--footer .joocommerce-cart__cell,
.js__joocommerce-cart .joocommerce-cart__shipping-row .joocommerce-cart__cell,
.js__joocommerce-cart .joocommerce-cart__tax-row .joocommerce-cart__cell,
.js__joocommerce-cart .joocommerce-cart__discount-row .joocommerce-cart__cell {
	padding-top: 0.25rem;
	padding-bottom: 0.25rem;
}

.js__joocommerce-cart .joocommerce-cart__thumb {
	max-width: 2.5rem;
  height: auto;
	margin-right: 0.5rem;
}

.js__joocommerce-cart .joocommerce-cart__qty {
	width: 100%;
	max-width: 5rem;
}

.cart-product .joocommerce__cart__variations {
	display: flex;
	flex-basis: 100%;
	flex-wrap: wrap;
	gap: 0.25rem;
}

.mobile-cart-tools {
	display: none;
}

.mobile-cart-tools {
	display: none;
}

.js__joocommerce-cart .js__joocommerce-cart__remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}

.js__joocommerce-cart .joocommerce-cart__remove-icon {
	display: none;
	line-height: 0;
	font-size: 0.9rem;
	width: 1em;
	height: 1em;
	justify-content: center;
	align-items: center;
}

.js__joocommerce-cart .joocommerce-cart__remove-icon svg {
	fill: grey;
}

.joocommerce-cart-page .mobile-cart-tools {
	display: flex;
	justify-content: end;
	gap: 0.5rem;
	margin-top: 1.5rem;
	flex-wrap: wrap;
}

/* Shopping Cart | Mobile */

@media (max-width: 47.938rem) {

	.js__joocommerce-cart__head {
		display: none;
	}

	.joocommerce-cart__row {
		justify-content: space-between;
	}

	.js__joocommerce-cart .joocommerce-cart__row {
		flex-basis: 100%;
		flex-grow: 1;
	}

	.js__joocommerce-cart .joocommerce-cart__product-row .cart-product {
		flex-basis: 100%;
		order: 2;
	}

	.js__joocommerce-cart .joocommerce-cart__product-row .cart-product .joocommerce__cart__variations {
		flex-basis: 100%;
	}

	.js__joocommerce-cart .joocommerce-cart__cell--price {
		flex-basis: 40%;
		order: 3;
	}

	.js__joocommerce-cart .js__joocommerce-cart__quantity-cell {
		flex-basis: 5rem;
		order: 4;
	}

	.js__joocommerce-cart .js__joocommerce-cart__row-total {
		display: none;
	}

	.js__joocommerce-cart .js__joocommerce-cart__tools {
		flex-basis: 100%;
		display: flex;
		justify-content: end;
	}

	.js__joocommerce-cart .js__joocommerce-cart__remove {
		padding: 0.2em !important;
		border: none;
		order: 1;
	}

	.js__joocommerce-cart .joocommerce-cart__remove-label {
		display: none;
	}

	.js__joocommerce-cart .joocommerce-cart__remove-icon {
		display: flex;
	}

	.js__joocommerce-cart .joocommerce-cart__cell,
	.js__joocommerce-cart .js__joocommerce-cart__table {
		font-size: 0.9rem;
	}

	.js__joocommerce-cart .joocommerce-cart__shipping-row,
	.js__joocommerce-cart .joocommerce-cart__tax-row,
	.js__joocommerce-cart .joocommerce-cart__row--footer {
		display: block;
		text-align: right;
	}

	.mobile-cart-tools {
		display: flex;
		justify-content: flex-end;
		margin: 1rem 0 2rem 0;
	}

	.joocommerce-checkout-container .mobile-cart-tools {
		justify-content: flex-start;
	}
}

/* Checkout */

.joocommerce-checkout-container .contact-details,
.joocommerce-checkout-container .checkout-foot {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin: 1rem 0;
}

.joocommerce-checkout-container .contact-block,
.joocommerce-checkout-container .checkout-foot > div {
	width: calc(50% - 0.5rem);
	border: 1px solid #e0e0e5;
	padding: 1rem;
}

@media (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-top: 1rem;
}

/* Shipping Address */

.joocommerce-checkout-container .different_address_shipping {
	margin-bottom: 0;
}

/* H2 Page Heading */

.joocommerce-container .page-heading {
	margin-bottom: 2rem;
}

/* ============================================
   Lightweight Modal / Lightbox
============================================ */

.joo-lightbox-open {
  overflow: hidden;
}

.joo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;

  /* Animated open/close (JS toggles .is-open + [hidden]) */

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 800ms ease, visibility 0s linear 800ms;
}

.joo-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 800ms ease;
}

.joo-lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  transition: opacity 800ms ease;
}

.joo-lightbox.is-open .joo-lightbox__overlay {
  opacity: 1;
}

.joo-lightbox__dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(12px) scale(0.98);
  opacity: 0;
  transition: transform 800ms ease, opacity 800ms ease;
	width: min(900px, calc(100% - 3rem));
  background: #fff;
  border-radius: 4px;
  padding: 1.25rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}


.joo-lightbox.is-open .joo-lightbox__dialog {
  transform: translate(-50%, -50%) translateY(0) scale(1);
  opacity: 1;
}

.joo-lightbox__img {
  width: 100%;
  height: auto;
  display: block;
}

/* Bottom caption bar like your screenshot (title + image count + close X) */
.joo-lightbox__bar {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1.25rem;
  width: min(900px, calc(100% - 3rem));
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  color: #fff;
  pointer-events: none; /* allows clicking outside unless on close */
}

.joo-lightbox__caption {
  font-size: 0.95rem;
  line-height: 1.3;
  pointer-events: none;
}

.joo-lightbox__title {
  font-weight: 600;
}

.joo-lightbox__count {
  opacity: 0.85;
  font-size: 0.9rem;
}

.joo-lightbox__close {
  pointer-events: auto;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
}

/* Inline SVG icons (style via currentColor) */

.joo-lightbox .joo-icon {
  width: 28px;
  height: 28px;
  display: block;
}

/* Modal prev/next arrows (clickable) */

.joo-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: rgba(0,0,0,0.35);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}

/* Rotate the arrow for "previous" */

.joo-lightbox__prev .joo-icon {
  transform: rotate(180deg);
}

.joo-lightbox__prev { left: 1rem; }
.joo-lightbox__next { right: 1rem; }

.joo-lightbox__nav:hover { background: rgba(0,0,0,0.5); }

@media (prefers-reduced-motion: reduce) {
  .joo-lightbox,
  .joo-lightbox__overlay,
  .joo-lightbox__dialog {
    transition: none !important;
  }
}

/* ============================================
   Joocommerce Namespaced Gallery Modal
   (Bootstrap-independent to avoid class conflicts)
============================================ */

/* Base modal + backdrop */

.jooc-modal {
  position: fixed;
  inset: 0;
	padding: 1rem;
  z-index: 1055;
  display: none;
	justify-content: center;
	align-items: center;
}

.jooc-fade {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.jooc-fade.jooc-show {
  opacity: 1;
}

.jooc-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1050;
	background: rgba(0,0,0,0.8);
}

/* Dialog/layout */

.jooc-modal-dialog {
  width: auto;
  pointer-events: none;
	max-width: 1200px;
	transition: width 800ms ease;
}

.jooc-modal-content {
  pointer-events: auto;
}

.jooc-gallery-modal .jooc-modal-img {
  max-height: 80vh;
  max-width: 100%;
  display: block;
	border-radius:0.4em;
	box-shadow: 0 0.8em 0.8em 0 rgba(0,0,0,0.9);
}

.jooc-modal-content .jooc-modal-body {
	display: flex;
	align-items: center;
}

/* stack the images */

.jooc-gallery-modal .jooc-modal-stage {
  display: grid;
  place-items: center;
}

.jooc-gallery-modal .jooc-modal-stage .jooc-modal-img {
  grid-area: 1 / 1;
  transition: opacity 400ms ease;
  opacity: 0;
}

/* Gallery Nav */

.jooc-modal-close {
	position: absolute;
	top: 1rem;
	right: 1rem;
}

.jooc-modal-nav, .jooc-modal-close {
	width: 2.5rem;
	height: 2.5rem;
	padding: 0.4em;
	color: #ffffff;
	background-color: rgba(0,0,0,0.1);
	border-radius: 0.6em;
	transition: color 300ms ease-in-out;
}

.jooc-modal-nav:hover, .jooc-modal-close:hover {
	color: #cacaca;
}

.jooc-gallery-modal-single .jooc-modal-nav,
.jooc-modal-nav[hidden] {
	display: none !important;
}

.jooc-modal-nav {
	flex-shrink: 0;
	position: absolute;
}

.jooc-modal-next {
	right: 1.5rem;
}

.jooc-modal-prev {
	left: 1.5rem;
}

.jooc-modal-prev svg {
	rotate: 180deg;
}

@media (max-width: 47.938rem) {
	.jooc-modal {
	padding-top: 8rem;
	}
	.jooc-modal-body {
		position: relative;
	}
	.jooc-modal-nav {
		top: -3.5rem;
	}
	.jooc-modal-next {
		right: 0;
	}
	.jooc-modal-prev {
		left: 0;
	}
}

/* Foot */

.jooc-modal-foot {
	margin-top: 1rem;
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	color: #cacaca;
	font-size: 0.8rem;
	line-height: 1.2;
}

/* === Slow open/close transitions (800ms) === */

.jooc-gallery-modal.fade{
  transition-duration: .8s !important;
}
.jooc-gallery-modal.fade .modal-dialog{
  transition-duration: .8s !important;
}
.modal-backdrop.fade{
  transition-duration: .8s !important;
}

/* === Lock page scroll like Bootstrap Live Demo (Gantry may scroll on <html>) === */

html.modal-open,
body.modal-open{
  overflow: hidden !important;
}
/* With scrollbar-gutter stable, Bootstrap padding compensation can cause a shift */

body.modal-open{
  padding-right: 0 !important;
}

.joocommerce-checkout-inline-errors {
	border: 2px solid #dc3545;
	border-radius: 14px;
	padding: 1.5rem;
	margin: 1.5rem 0;
	background: #fff;
}

.joocommerce-checkout-inline-errors__title {
	margin: 0 0 1rem 0;
}

.joocommerce-checkout-inline-errors__message {
	margin: 0;
	font-size: 1rem;
	line-height: 1.5;
}

.joocommerce-checkout-inline-errors__list {
	margin: 0;
	padding-left: 1.25rem;
}

.joocommerce-checkout-inline-errors__list-item {
	margin-bottom: 0.5rem;
}

.product-row-error {
	outline: 1px solid red;
}

.joocommerce__product-sale-meta,
.joocommerce__sale-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: baseline;
	margin-top: 0.5rem;
}

.joocommerce__product-original-price,
.joocommerce__sale-original-price {
	color: #b3b3b3;
	text-decoration: line-through;
	text-decoration-thickness: 2px;
}

.joocommerce__product-save-label,
.joocommerce__sale-save-label {
	color: #c4003b;
	font-weight: 700;
}

.products-price .joocommerce__price {
	display: block;
}

.joocommerce-cart__discount-panel {
	max-height: 0;
	opacity: 0;
	transition: max-height 250ms ease, opacity 250ms ease;
}

.joocommerce-cart__discount-panel.is-open {
	max-height: 120px;
	opacity: 1;
	margin-top: 1rem;
}

.joocommerce-cart__discount-form {
	display: flex;
	gap: 0.5rem;
}

.joocommerce-cart__discount-input {
	max-width: 12rem !important;
}

.joocommerce-cart__discount-message {
  display: none;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.4;
}

.joocommerce-cart__discount-message.is-visible {
  display: block;
}

.joocommerce-cart__discount-message.is-error {
  color: #b42318;
}

.joocommerce-cart__discount-message.is-success {
  color: #027a48;
}

.hidden {
	display: none !important;
}

/* Shipping address slide (Different delivery address?) */

.shipping-address {
	overflow: hidden;
	max-height: 0;
	opacity: 0;
	transition: max-height 250ms ease, opacity 250ms ease;
}

.shipping-address.is-open {
	max-height: 2000px;
	opacity: 1;
}

.js-shipment__options {
	margin-top: 1rem;
}

/* On the checkout page, the cart should not offer a "Checkout" button (we are already here). */
.joocommerce-checkout-container .js__joocommerce__proceed-to-checkout {
	display: none !important;
}

.joocommerce-checkout-form .jooc-field-error {
	display: none;
	color: #c52828;
	font-size: 0.9rem;
	margin-top: 0.35rem;
}

.joocommerce-checkout-form.jcs-validation-attempted .jooc-field-invalid input,
.joocommerce-checkout-form.jcs-validation-attempted .jooc-field-invalid select,
.joocommerce-checkout-form.jcs-validation-attempted .jooc-field-invalid textarea {
	border-color: #c52828 !important;
}

.joocommerce-checkout-form.jcs-validation-attempted .jooc-field-error {
	display: block;
}

/* Payment Accordion */

.jooc-payment-accordion {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-top: 1rem;
}

.jooc-payment-accordion__item {
	border: 1px solid #e0e0e5;
	border-radius: 0.5rem;
	overflow: hidden;
	background: #fff;
}

.jooc-payment-accordion__toggle {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem;
	border: 0;
	background: transparent;
	text-align: left;
	font: inherit;
	cursor: pointer;
}

.jooc-payment-accordion__title {
	font-weight: 600;
}

.jooc-payment-accordion__toggle::after {
	content: '+';
	font-size: 1.2rem;
	line-height: 1;
	flex-shrink: 0;
}

.jooc-payment-accordion__item.is-active .jooc-payment-accordion__toggle::after {
	content: '−';
}

.jooc-payment-accordion__panel {
	display: block;
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	padding: 0 1rem;
	border-top: 1px solid transparent;
	transition: all 800ms ease;
}

.jooc-payment-accordion__item.is-active .jooc-payment-accordion__panel {
	max-height: 1000px;
	opacity: 1;
	padding: 1rem;
	border-top-color: #e0e0e5;
}

.jooc-payment-accordion__input,
.jooc-payment-accordion__summary {
	display: none !important;
}

.jooc-payment-accordion__input[hidden] {
	display: none !important;
	appearance: none;
	position: absolute;
	pointer-events: none;
}

/* PayPal */

.jooc-paypal-wrap {
	margin-top: 1rem;
}

.jooc-paypal-loading {
	display: none;
	margin: 1rem 0;
}

.jooc-paypal-card-fields {
	margin-top: 1rem;
}

.jooc-paypal-message {
	margin-top: 1rem;
}

.jooc-paypal-message.is-error {
	color: #c52828;
}


/* PayPal card fields */

.jooc-paypal-card-fields {
	margin-top: 1rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

#jooc-paypal-card-number,
#jooc-paypal-card-expiry,
#jooc-paypal-card-cvv {
	margin: -0.375rem;
}

#jooc-paypal-card-number iframe,
#jooc-paypal-card-expiry iframe,
#jooc-paypal-card-cvv iframe {
	width: 100% !important;
	min-height: 24px !important;
}

.jooc-paypal-card-label {
	display: block;
	font-size: 0.95rem;
	line-height: 1.4;
	margin-bottom: 0.35rem;
	color: inherit;
}


/* Order Complete */

.joocommerce-order-details {
	display: flex;
	flex-direction: column;
	width: 100%;
	border-top: 1px solid #e0e0e5;
	margin-top: 1rem;
}

.joocommerce-order-details__head,
.joocommerce-order-details__body {
	display: flex;
	flex-direction: column;
}

.joocommerce-order-details__row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	width: 100%;
	padding: 0.75rem 0;
	border-bottom: 1px solid #e0e0e5;
	align-items: center;
}

.joocommerce-order-details__row--head {
	font-weight: 700;
}

.joocommerce-order-details__cell {
	min-width: 0;
}

.joocommerce-order-details__cell--item {
	flex-basis: 8rem;
	flex-grow: 1;
}

.joocommerce-order-details__cell--price,
.joocommerce-order-details__cell--total {
	flex-basis: 5rem;
}

.joocommerce-order-details__cell--quantity {
	flex-basis: 4rem;
}

.joocommerce-order-details__cell--tools {
	width: 8rem;
	flex-shrink: 0;
	text-align: right;
}

.joocommerce-order-details .cart-product {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.joocommerce-order-details__thumb {
	max-width: 2.5rem;
	height: auto;
	margin-right: 0.5rem;
}

.joocommerce-order-details__item-meta {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	min-width: 0;
}

.joocommerce-order-details__item-title {
	font-weight: 600;
}

.joocommerce-order-details__variations {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0.5rem;
}

.joocommerce-order-details__cell--price,
.joocommerce-order-details__cell--quantity,
.joocommerce-order-details__cell--total,
.joocommerce-order-details__cell--amount {
	white-space: nowrap;
}

.joocommerce-order-details__cell-label {
	display: none;
	font-weight: 600;
	margin-right: 0.35rem;
}

.joocommerce-order-details__row--summary {
	justify-content: flex-end;
}

.joocommerce-order-details__cell--spacer {
	flex-basis: 8rem;
	flex-grow: 1;
}

.joocommerce-order-details__cell--label {
	flex-basis: 10rem;
	text-align: right;
}

.joocommerce-order-details__cell--amount {
	flex-basis: 5rem;
	text-align: right;
}

.joocommerce-order-details__row--grand-total {
	font-weight: 700;
}

@media (max-width: 47.938rem) {
	.joocommerce-order-details__head {
		display: none;
	}

	.joocommerce-order-details__row {
		justify-content: space-between;
	}

	.joocommerce-order-details__cell--item {
		flex-basis: 100%;
		order: 1;
	}

	.joocommerce-order-details__cell--price {
		flex-basis: 40%;
		order: 2;
	}

	.joocommerce-order-details__cell--quantity {
		flex-basis: 5rem;
		order: 3;
	}

	.joocommerce-order-details__cell--total {
		flex-basis: 100%;
		order: 4;
		text-align: right;
	}

	.joocommerce-order-details__cell--tools {
		flex-basis: 100%;
		order: 5;
		text-align: right;
	}

	.joocommerce-order-details__cell-label {
		display: inline-block;
	}

	.joocommerce-order-details__row--summary {
		display: block;
		text-align: right;
	}

	.joocommerce-order-details__cell--spacer,
	.joocommerce-order-details__row--summary .joocommerce-order-details__cell--tools {
		display: none;
	}

	.joocommerce-order-details__cell--label,
	.joocommerce-order-details__cell--amount {
		flex-basis: auto;
		text-align: right;
	}
}


.joocommerce__product-sku {
	margin-top: 0.35rem;
}
