/* ============================================
   Breadcrumbs
   ============================================ */
.bl-etsy-breadcrumb-bar {
	width: 100%;
	border-bottom: 1px solid #e5e5e5;
	margin-bottom: 16px;
}

.woocommerce .woocommerce-breadcrumb,
.woocommerce-breadcrumb {
	font-size: 13px;
	color: #595959;
	margin: 0;
	padding: 10px 0;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	line-height: 1.5;
}

.woocommerce-breadcrumb a {
	color: #595959;
	text-decoration: none;
	transition: color 0.2s;
}

.woocommerce-breadcrumb a:hover {
	color: #222;
	text-decoration: underline;
}

.woocommerce-breadcrumb .breadcrumb-separator {
	color: #bfbfbf;
	font-size: 12px;
	margin: 0 2px;
}

/* ============================================
   Product Grid (Archive)
   ============================================ */
.woocommerce ul.products,
.woocommerce-page ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
	display: none;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
	background: transparent;
	border: none;
	border-radius: 0;
	box-shadow: none;
	transition: none;
}

.woocommerce ul.products li.product a img {
	border-radius: 8px;
	margin-bottom: 8px;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	object-position: center;
	display: block;
	transition: opacity 0.2s ease;
}

.woocommerce ul.products li.product:hover a img {
	opacity: 0.9;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 13px;
	line-height: 1.4;
	margin: 0;
	color: #222;
	font-weight: 400;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.woocommerce ul.products li.product .price {
	color: #222;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.25;
	margin: 4px 0 0;
}

.woocommerce .woocommerce-result-count {
	display: none;
}

/* Pagination */
.woocommerce nav.woocommerce-pagination {
	margin-top: 40px;
	margin-bottom: 40px;
}

.woocommerce nav.woocommerce-pagination ul {
	border: none;
	display: flex;
	justify-content: center;
	gap: 8px;
	padding: 18px 0 8px;
}

.woocommerce nav.woocommerce-pagination ul li {
	border: none;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	border-radius: 999px;
	border: 1px solid var(--bl-border);
	min-width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 12px;
	background: #fff;
}

.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
	border-color: #222;
	background: #222;
	color: #fff;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-radius: var(--bl-radius-sm);
	border: 1px solid var(--bl-border);
	background: #fff;
}

.bl-main-content.bl-etsy-container .woocommerce-message,
.bl-main-content.bl-etsy-container .woocommerce-info,
.bl-main-content.bl-etsy-container .woocommerce-error {
	margin-top: 24px;
}

/* Strip WC's default ::before icon from notice boxes */
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
	content: none !important;
	display: none !important;
}

/* ============================================
   SINGLE PRODUCT PAGE - Etsy Style
   ============================================ */
.single-product .bl-etsy-single-product {
	margin: 8px 0 60px;
	padding: 0;
	background: transparent;
	border: none;
	box-shadow: none;
}

.bl-etsy-single-product__layout {
	display: flex;
	align-items: flex-start;
	gap: 32px;
	flex-wrap: nowrap;
}

.bl-etsy-single-product__gallery-wrap {
	flex: 1 1 0;
	min-width: 0;
	max-width: 620px;
}

.bl-etsy-single-product__summary-wrap {
	flex: 0 0 540px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	float: none !important;
	clear: none !important;
	margin: 0 !important;
	padding: 0 !important;
	width: 540px !important;
	max-width: 540px !important;
}

/* Override WooCommerce default summary width/float */
.woocommerce div.product div.bl-etsy-single-product__summary-wrap,
.woocommerce-page div.product div.bl-etsy-single-product__summary-wrap {
	width: 100%;
	float: none;
	clear: none;
}

/* Override WooCommerce default gallery float/width */
.bl-etsy-single-product__gallery-wrap,
.woocommerce div.product div.bl-etsy-single-product__gallery-wrap,
.woocommerce-page div.product div.bl-etsy-single-product__gallery-wrap,
.woocommerce div.product div.bl-etsy-single-product__gallery-wrap .woocommerce-product-gallery {
	width: 100% !important;
	float: none !important;
	clear: none !important;
	margin: 0 !important;
}

/* ----- Gallery (Swiper) ----- */
.bl-etsy-gallery {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	gap: 10px;
	align-items: stretch;
	position: relative;
	width: 100%;
}

.bl-etsy-gallery--single {
	grid-template-columns: minmax(0, 1fr);
}

.bl-etsy-gallery__single-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.bl-etsy-gallery__thumbs {
	width: 64px;
	height: 100%;
	max-height: 100%;
	overflow: hidden;
	position: relative;
	align-self: stretch;
}

.bl-etsy-gallery__thumbs .swiper-wrapper {
	height: 100%;
}

.bl-etsy-gallery__thumbs .swiper-slide {
	width: 64px !important;
	height: 64px !important;
	border-radius: 8px;
	overflow: hidden;
	cursor: pointer;
	opacity: 0.6;
	box-sizing: border-box;
	box-shadow: inset 0 0 0 0 transparent;
	transition: opacity 0.2s ease, box-shadow 0.2s ease;
	background: #f5f5f5;
	outline: none;
}

.bl-etsy-gallery__thumbs .swiper-slide:hover {
	opacity: 0.85;
}

.bl-etsy-gallery__thumbs .swiper-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: inherit;
}

.bl-etsy-gallery__thumbs .swiper-slide-thumb-active {
	opacity: 1;
	box-shadow: inset 0 0 0 2px #222;
}

.bl-etsy-gallery__main {
	position: relative;
	border-radius: 14px;
	overflow: hidden;
	background: #f5f5f5;
	aspect-ratio: 1 / 1;
	width: 100%;
}

.bl-etsy-gallery__main .swiper,
.bl-etsy-gallery__main .swiper-wrapper {
	width: 100%;
	height: 100%;
}

.bl-etsy-gallery__main .swiper-slide {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f5f5f5;
}

.bl-etsy-gallery__main .swiper-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Gallery nav arrows (like Etsy circular buttons) */
.bl-etsy-gallery__main .swiper-button-prev,
.bl-etsy-gallery__main .swiper-button-next {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
	color: #222;
	margin-top: 0;
	transform: translateY(-50%);
	top: 50%;
	transition: background 0.2s;
}

.bl-etsy-gallery__main .swiper-button-prev:hover,
.bl-etsy-gallery__main .swiper-button-next:hover {
	background: #f2f2f2;
}

.bl-etsy-gallery__main .swiper-button-prev {
	left: 14px;
}

.bl-etsy-gallery__main .swiper-button-next {
	right: 14px;
}

.bl-etsy-gallery__main .swiper-button-prev:after,
.bl-etsy-gallery__main .swiper-button-next:after {
	font-size: 16px;
	font-weight: 700;
}

/* Make the main image visually clickable */
.bl-etsy-zoomable {
	cursor: zoom-in;
}

/* ----- Lightbox ----- */
.bl-etsy-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: rgba(0, 0, 0, 0.92);
	display: none;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.bl-etsy-lightbox.is-open {
	display: block;
	opacity: 1;
}

.bl-etsy-lightbox__inner {
	position: absolute;
	inset: 0;
}

.bl-etsy-lightbox__swiper {
	width: 100%;
	height: 100%;
}

.bl-etsy-lightbox__swiper .swiper-wrapper,
.bl-etsy-lightbox__swiper .swiper-slide {
	height: 100%;
}

.bl-etsy-lightbox__swiper .swiper-slide {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 64px 80px;
	box-sizing: border-box;
}

.bl-etsy-lightbox__swiper .swiper-zoom-container {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.bl-etsy-lightbox__swiper .swiper-zoom-container img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	cursor: zoom-in;
	user-select: none;
	-webkit-user-drag: none;
}

.bl-etsy-lightbox__swiper .swiper-slide-zoomed .swiper-zoom-container img {
	cursor: zoom-out;
}

.bl-etsy-lightbox__close {
	position: absolute;
	top: 18px;
	right: 18px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.95);
	border: 0;
	color: #222;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 5;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
	padding: 0;
	transition: background 0.15s ease, transform 0.15s ease;
}

.bl-etsy-lightbox__close:hover {
	background: #fff;
	transform: scale(1.05);
}

.bl-etsy-lightbox__swiper .swiper-button-prev,
.bl-etsy-lightbox__swiper .swiper-button-next {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.95);
	color: #222;
	margin-top: 0;
	transform: translateY(-50%);
	top: 50%;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
	transition: background 0.15s ease;
}

.bl-etsy-lightbox__swiper .swiper-button-prev:hover,
.bl-etsy-lightbox__swiper .swiper-button-next:hover {
	background: #fff;
}

.bl-etsy-lightbox__swiper .swiper-button-prev {
	left: 18px;
}

.bl-etsy-lightbox__swiper .swiper-button-next {
	right: 18px;
}

.bl-etsy-lightbox__swiper .swiper-button-prev:after,
.bl-etsy-lightbox__swiper .swiper-button-next:after {
	font-size: 18px;
	font-weight: 700;
}

.bl-etsy-lightbox__counter {
	position: absolute;
	top: 24px;
	left: 50%;
	transform: translateX(-50%);
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	z-index: 5;
	background: rgba(0, 0, 0, 0.5);
	padding: 5px 14px;
	border-radius: 14px;
	letter-spacing: 0.02em;
}

body.bl-lightbox-open {
	overflow: hidden;
}

@media (max-width: 680px) {
	.bl-etsy-lightbox__swiper .swiper-slide {
		padding: 64px 12px;
	}

	.bl-etsy-lightbox__swiper .swiper-button-prev,
	.bl-etsy-lightbox__swiper .swiper-button-next {
		width: 38px;
		height: 38px;
	}

	.bl-etsy-lightbox__swiper .swiper-button-prev {
		left: 8px;
	}

	.bl-etsy-lightbox__swiper .swiper-button-next {
		right: 8px;
	}

	.bl-etsy-lightbox__close {
		top: 12px;
		right: 12px;
		width: 38px;
		height: 38px;
	}
}

/* ----- Summary (right column) ----- */
.bl-etsy-summary__status-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 10px;
}

.bl-etsy-summary__status-row .bl-etsy-summary__stock,
.bl-etsy-summary__status-row .bl-etsy-summary__sale-info {
	margin: 0;
}

.bl-etsy-summary__stock {
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 10px;
}

.bl-etsy-summary__price {
	margin-bottom: 4px;
}

.bl-etsy-summary__price .bl-etsy-price-now {
	font-size: 28px;
	font-weight: 700;
	color: #222;
	margin-right: 8px;
}

.bl-etsy-summary__price .bl-etsy-price-original {
	font-size: 16px;
	color: #595959;
	text-decoration: line-through;
	font-weight: 400;
}

.bl-etsy-summary__sale-info {
	color: #0b6623;
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 12px;
}

.bl-etsy-summary__sale-info .sep {
	color: #0b6623;
	font-weight: 400;
	margin: 0 6px;
}

.bl-etsy-summary__sale-end {
	font-weight: 400;
}

.bl-etsy-summary__tax {
	font-size: 13px;
	color: #595959;
	margin-bottom: 20px;
}

.bl-etsy-summary__title {
	font-size: 22px;
	font-weight: 600;
	color: #222;
	line-height: 1.3;
	margin: 0 0 14px;
	font-family: inherit;
	white-space: normal;
	overflow: visible;
	text-overflow: clip;
}

.bl-etsy-summary__shop {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	margin-bottom: 20px;
	color: #222;
}

.bl-etsy-summary__shop-name {
	font-weight: 700;
}

.bl-etsy-summary__shop-stars {
	color: #F5A623;
	display: inline-flex;
	gap: 1px;
}

.bl-etsy-summary__shop-stars svg {
	width: 14px;
	height: 14px;
}

.bl-etsy-summary__returns {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: #222;
	margin-bottom: 20px;
}

.bl-etsy-summary__returns svg {
	color: #0b6623;
	flex-shrink: 0;
}

/* Add to cart - quantity pill (left) + button (right) */
.bl-etsy-summary__cart {
	margin-top: 4px;
}

.bl-etsy-summary__cart form.cart {
	margin: 0 !important;
	padding: 0 !important;
	display: flex !important;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 10px;
}

.bl-etsy-summary__cart form.cart .quantity {
	flex: 0 0 auto;
	display: flex !important;
	align-items: center;
	height: 52px;
	background: #f4f4f4;
	border-radius: 999px;
	padding: 0 6px;
	margin: 0 !important;
	overflow: hidden;
	position: relative;
}

.bl-etsy-summary__cart form.cart .quantity .screen-reader-text {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.bl-etsy-summary__cart form.cart .quantity .bl-qty-btn {
	width: 32px;
	height: 40px;
	border: none;
	background: transparent;
	cursor: pointer;
	font-size: 18px;
	font-weight: 700;
	color: #222;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: color 0.2s;
	line-height: 1;
}

.bl-etsy-summary__cart form.cart .quantity .bl-qty-btn:hover {
	color: #000;
}

.bl-etsy-summary__cart form.cart .quantity .bl-qty-btn:disabled {
	color: #bbb;
	cursor: not-allowed;
}

.bl-etsy-summary__cart form.cart .quantity input.qty {
	width: 40px;
	height: 40px;
	border: none;
	background: transparent;
	font-size: 15px;
	font-weight: 600;
	text-align: center;
	color: #222;
	padding: 0;
	-moz-appearance: textfield;
	appearance: textfield;
	box-shadow: none;
}

.bl-etsy-summary__cart form.cart .quantity input.qty::-webkit-inner-spin-button,
.bl-etsy-summary__cart form.cart .quantity input.qty::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.bl-etsy-summary__cart form.cart .quantity input.qty:focus {
	outline: none;
}

.bl-etsy-summary__cart .single_add_to_cart_button {
	flex: 1 1 auto;
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: auto !important;
	height: 52px !important;
	border-radius: 999px !important;
	background: #222 !important;
	color: #fff !important;
	border: none !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	cursor: pointer;
	transition: background 0.2s ease;
	padding: 0 24px !important;
	letter-spacing: 0 !important;
	line-height: 1 !important;
	text-transform: none !important;
	box-shadow: none !important;
	margin: 0 !important;
	text-align: center !important;
	float: none !important;
}

.bl-etsy-summary__cart .single_add_to_cart_button:hover,
.bl-etsy-summary__cart .single_add_to_cart_button:focus {
	background: #000 !important;
	color: #fff !important;
}

.bl-etsy-summary__cart .single_add_to_cart_button.loading {
	opacity: 0.7 !important;
	pointer-events: none;
	position: relative !important;
	color: transparent !important;
	padding: 0 24px !important;
}

.bl-etsy-summary__cart .single_add_to_cart_button.loading::after,
.bl-etsy-summary__cart .single_add_to_cart_button.loading::before {
	content: "" !important;
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	right: auto !important;
	bottom: auto !important;
	width: 18px !important;
	height: 18px !important;
	margin: -9px 0 0 -9px !important;
	padding: 0 !important;
	box-sizing: border-box !important;
	border: 2px solid rgba(255, 255, 255, 0.4) !important;
	border-top-color: #fff !important;
	border-radius: 50% !important;
	background: transparent !important;
	font: inherit !important;
	color: transparent !important;
	display: block !important;
	animation: bl-spin 0.7s linear infinite !important;
}

@keyframes bl-spin {
	to { transform: rotate(360deg); }
}

/* ============================================
   WooCommerce Blocks (Cart / Checkout / Mini Cart)
   ============================================ */
.wc-block-components-button.wp-element-button,
.wp-block-woocommerce-cart .wc-block-cart__submit-button,
.wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button,
.wc-block-components-button.contained,
.wc-block-cart__submit-button.contained,
button.wc-block-components-button.contained {
	background: #222 !important;
	color: #fff !important;
	border: 1px solid #222 !important;
	border-radius: 999px !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	padding: 14px 28px !important;
	min-height: 52px;
	height: auto !important;
	line-height: 1 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	box-shadow: none !important;
	transition: background 0.2s ease, color 0.2s ease;
}

.wc-block-components-button.wp-element-button:hover,
.wp-block-woocommerce-cart .wc-block-cart__submit-button:hover,
.wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
.wc-block-components-button.contained:hover,
.wc-block-cart__submit-button.contained:hover,
button.wc-block-components-button.contained:hover {
	background: #000 !important;
	color: #fff !important;
	border-color: #000 !important;
}

.wc-block-components-button.wp-element-button:focus,
.wc-block-components-button.contained:focus {
	outline: none !important;
	box-shadow: 0 0 0 3px rgba(34, 34, 34, 0.18) !important;
}

.wc-block-components-button.wp-element-button:disabled,
.wc-block-components-button.contained:disabled,
.wc-block-components-button.wp-element-button[disabled],
.wc-block-components-button.contained[disabled] {
	background: #222 !important;
	color: #fff !important;
	opacity: 0.55;
	cursor: not-allowed;
}

.wc-block-components-button .wc-block-components-button__text {
	color: inherit !important;
}

/* "Outlined" variant (e.g. View Cart on mini cart) */
.wc-block-components-button.outlined,
.wc-block-cart__sidebar .wc-block-components-button.outlined {
	background: #fff !important;
	color: #222 !important;
	border: 1px solid #222 !important;
}

.wc-block-components-button.outlined:hover {
	background: #f5f5f5 !important;
	color: #222 !important;
}

/* ============================================
   Cart Page (WooCommerce Blocks - shared layout)
   ============================================ */
.woocommerce-cart .bl-main-content,
.page-template-default.woocommerce-cart .bl-main-content {
	max-width: 1200px;
	margin: 0 auto;
}

/* Page H1 "Cart" heading */
.woocommerce-cart .entry-content > .wp-block-heading,
.woocommerce-cart .wp-block-post-content > .wp-block-heading,
.woocommerce-cart .bl-main-content > .wp-block-heading,
.woocommerce-cart h1.wp-block-heading.alignwide {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 36px;
	font-weight: 600;
	color: #222;
	margin: 28px 0 20px;
	line-height: 1.2;
	text-align: left;
}

.wp-block-woocommerce-cart {
	max-width: 1200px;
	margin: 8px auto 60px;
	padding: 0;
}

/* ----- Empty cart state ----- */
.wp-block-woocommerce-empty-cart-block {
	max-width: 1200px;
	margin: 8px auto 60px;
	padding: 24px 0 0;
}

.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title,
.wp-block-woocommerce-empty-cart-block h2.with-empty-cart-icon {
	font-family: Georgia, "Times New Roman", serif !important;
	font-size: 24px !important;
	font-weight: 600 !important;
	color: #222 !important;
	margin: 12px 0 16px !important;
	padding-top: 96px !important;
	position: relative;
	text-align: center !important;
	line-height: 1.3 !important;
}

.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title::before,
.wp-block-woocommerce-empty-cart-block h2.with-empty-cart-icon::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 80px;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'><circle cx='9' cy='21' r='1.2'/><circle cx='18' cy='21' r='1.2'/><path d='M1 1h4l2.7 13.4a2 2 0 0 0 2 1.6h9.7a2 2 0 0 0 2-1.6L23 6H6'/></svg>");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	opacity: 0.85;
}

.wp-block-woocommerce-empty-cart-block > p,
.wp-block-woocommerce-empty-cart-block > .wp-block-paragraph {
	text-align: center !important;
	margin: 0 auto 32px !important;
	font-size: 15px;
	color: #595959;
}

.wp-block-woocommerce-empty-cart-block > p a,
.wp-block-woocommerce-empty-cart-block > .wp-block-paragraph a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 32px;
	border-radius: 999px;
	background: #222;
	color: #fff !important;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.2s ease;
	letter-spacing: 0;
}

.wp-block-woocommerce-empty-cart-block > p a:hover,
.wp-block-woocommerce-empty-cart-block > .wp-block-paragraph a:hover {
	background: #000;
	color: #fff !important;
	text-decoration: none;
}

/* "New in store" heading inside empty cart */
.wp-block-woocommerce-empty-cart-block .wp-block-heading:not(.wc-block-cart__empty-cart__title),
.wp-block-woocommerce-empty-cart-block h2:not(.with-empty-cart-icon):not(.wc-block-cart__empty-cart__title) {
	font-family: Georgia, "Times New Roman", serif !important;
	font-size: 24px !important;
	font-weight: 600 !important;
	color: #222 !important;
	text-align: center !important;
	margin: 48px 0 24px !important;
	padding-top: 24px !important;
	border-top: 1px solid #e6e6e6;
}

/* Cross-sells / product collection inside empty cart */
.wp-block-woocommerce-empty-cart-block .wp-block-woocommerce-product-collection,
.wp-block-woocommerce-empty-cart-block .wp-block-woocommerce-product-template,
.wp-block-woocommerce-empty-cart-block .wc-block-product-template {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 20px !important;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.wp-block-woocommerce-empty-cart-block .wc-block-product-template > li,
.wp-block-woocommerce-empty-cart-block .wp-block-woocommerce-product-template > li,
.wp-block-woocommerce-empty-cart-block .wc-block-product {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 6px;
	text-align: left;
}

.wp-block-woocommerce-empty-cart-block .wc-block-components-product-image,
.wp-block-woocommerce-empty-cart-block .wp-block-woocommerce-product-image img {
	width: 100% !important;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	background: #f5f5f5;
	border-radius: 10px;
	display: block;
}

.wp-block-woocommerce-empty-cart-block .wc-block-components-product-image a,
.wp-block-woocommerce-empty-cart-block .wp-block-woocommerce-product-image a {
	display: block;
	border-radius: 10px;
	overflow: hidden;
}

.wp-block-woocommerce-empty-cart-block .wp-block-post-title,
.wp-block-woocommerce-empty-cart-block .wc-block-components-product-name {
	font-family: inherit !important;
	font-size: 13px !important;
	line-height: 1.4 !important;
	font-weight: 400 !important;
	color: #222 !important;
	margin: 4px 0 0 !important;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.wp-block-woocommerce-empty-cart-block .wp-block-post-title a {
	color: #222;
	text-decoration: none;
}

.wp-block-woocommerce-empty-cart-block .wp-block-post-title a:hover {
	text-decoration: underline;
}

.wp-block-woocommerce-empty-cart-block .wc-block-components-product-price,
.wp-block-woocommerce-empty-cart-block .wp-block-woocommerce-product-price {
	color: #222 !important;
	font-weight: 700 !important;
	font-size: 15px !important;
	line-height: 1.25 !important;
	margin: 2px 0 0 !important;
}

.wp-block-woocommerce-empty-cart-block .wc-block-components-product-price del,
.wp-block-woocommerce-empty-cart-block .wp-block-woocommerce-product-price del {
	color: #999 !important;
	font-weight: 400 !important;
	margin-right: 6px;
}

.wp-block-woocommerce-empty-cart-block .wc-block-components-product-price ins,
.wp-block-woocommerce-empty-cart-block .wp-block-woocommerce-product-price ins {
	text-decoration: none !important;
	background: transparent !important;
	color: #222 !important;
}

.wp-block-woocommerce-empty-cart-block .wc-block-components-product-price .bl-discount-percent,
.wp-block-woocommerce-empty-cart-block .wp-block-woocommerce-product-price .bl-discount-percent {
	color: #0b6623;
	font-weight: 600;
	font-size: 13px;
	margin-left: 4px;
}

/* Hide "Sale" badges, add to cart buttons inside the cross-sells if present */
.wp-block-woocommerce-empty-cart-block .wp-block-woocommerce-product-sale-badge {
	display: none !important;
}

.wp-block-woocommerce-empty-cart-block .wp-block-button,
.wp-block-woocommerce-empty-cart-block .wp-block-woocommerce-product-button {
	display: none !important;
}

@media (max-width: 1024px) {
	.wp-block-woocommerce-empty-cart-block .wp-block-woocommerce-product-collection,
	.wp-block-woocommerce-empty-cart-block .wp-block-woocommerce-product-template,
	.wp-block-woocommerce-empty-cart-block .wc-block-product-template {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 680px) {
	.woocommerce-cart .entry-content > .wp-block-heading,
	.woocommerce-cart .wp-block-post-content > .wp-block-heading,
	.woocommerce-cart .bl-main-content > .wp-block-heading,
	.woocommerce-cart h1.wp-block-heading.alignwide {
		font-size: 28px;
		margin: 16px 0 12px;
	}

	.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title,
	.wp-block-woocommerce-empty-cart-block h2.with-empty-cart-icon {
		padding-top: 80px !important;
		font-size: 20px !important;
	}

	.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title::before,
	.wp-block-woocommerce-empty-cart-block h2.with-empty-cart-icon::before {
		width: 64px;
		height: 64px;
	}

	.wp-block-woocommerce-empty-cart-block .wp-block-woocommerce-product-collection,
	.wp-block-woocommerce-empty-cart-block .wp-block-woocommerce-product-template,
	.wp-block-woocommerce-empty-cart-block .wc-block-product-template {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 12px !important;
	}
}

/* ============================================
   Shopify-style Checkout Layout (WooCommerce Blocks)
   ============================================ */
.wp-block-woocommerce-checkout {
	max-width: 1200px;
	margin: 24px auto 60px;
	padding: 0;
}

.wp-block-woocommerce-checkout .wc-block-checkout {
	background: transparent;
}

/* Two-column layout: form / items left, summary right.
   Targets the post-hydration React layout. WC Blocks ships the sidebar layout
   as flex with width:65% / width:35% on the children — we replace it with a
   proper grid and reset the child widths so the columns fill their cells. */
.wp-block-woocommerce-checkout .wc-block-components-sidebar-layout,
.wp-block-woocommerce-checkout > .wp-block-woocommerce-checkout-fields-block,
.wp-block-woocommerce-cart .wc-block-components-sidebar-layout,
.wp-block-woocommerce-cart .wp-block-woocommerce-filled-cart-block {
	display: grid !important;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) !important;
	gap: 48px !important;
	align-items: start !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	margin: 0 auto 16px !important;
}

.wp-block-woocommerce-checkout .wc-block-components-main,
.wp-block-woocommerce-cart .wc-block-components-main,
.wp-block-woocommerce-cart .wc-block-cart__main,
.wp-block-woocommerce-cart .wp-block-woocommerce-cart-items-block {
	background: #fff;
	padding: 8px 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box;
	margin: 0 !important;
}

.wp-block-woocommerce-checkout .wc-block-components-sidebar,
.wp-block-woocommerce-cart .wc-block-components-sidebar,
.wp-block-woocommerce-cart .wc-block-cart__sidebar,
.wp-block-woocommerce-cart .wp-block-woocommerce-cart-totals-block {
	background: #f7f7f5;
	padding: 28px 28px 32px !important;
	border-radius: 14px;
	position: sticky;
	top: 24px;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box;
	margin: 0 !important;
}

/* Cart "Proceed to Checkout" button — must fill its sidebar column,
   otherwise border-radius:999px collapses it into a circle. */
.wp-block-woocommerce-cart .wp-block-woocommerce-proceed-to-checkout-block,
.wp-block-woocommerce-cart .wc-block-cart__submit,
.wp-block-woocommerce-cart .wc-block-cart__submit-container {
	width: 100% !important;
	margin: 16px 0 0 !important;
	padding: 0 !important;
}

.wp-block-woocommerce-cart .wc-block-cart__submit-button,
.wp-block-woocommerce-cart a.wc-block-cart__submit-button,
.wp-block-woocommerce-cart button.wc-block-cart__submit-button {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	min-width: 0 !important;
	max-width: none !important;
	white-space: nowrap !important;
	box-sizing: border-box !important;
	text-align: center !important;
}

/* Cart items table — let the table use the full available width */
.wp-block-woocommerce-cart .wc-block-cart-items,
.wp-block-woocommerce-cart table.wc-block-cart-items {
	width: 100% !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
}

.wp-block-woocommerce-cart .wc-block-cart-items__header {
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: 0.06em;
	color: #595959 !important;
	text-transform: uppercase;
	border-bottom: 1px solid #e6e6e6 !important;
}

.wp-block-woocommerce-cart .wc-block-cart-items__header th {
	padding: 0 0 14px !important;
}

.wp-block-woocommerce-cart .wc-block-cart-items .wc-block-cart-items__row {
	border-bottom: 1px solid #ececec;
}

.wp-block-woocommerce-cart .wc-block-cart-item__image img {
	border-radius: 8px;
	background: #f5f5f5;
	width: 64px !important;
	height: 64px !important;
	object-fit: cover;
}

.wp-block-woocommerce-cart .wc-block-cart-item__product-name,
.wp-block-woocommerce-cart .wc-block-components-product-name {
	font-size: 14px !important;
	font-weight: 600 !important;
	color: #222 !important;
	line-height: 1.4 !important;
}

.wp-block-woocommerce-cart .wc-block-cart-item__total .wc-block-components-product-price,
.wp-block-woocommerce-cart .wc-block-components-product-price {
	font-size: 14px !important;
	font-weight: 700 !important;
	color: #222 !important;
}

/* Cart Totals heading */
.wp-block-woocommerce-cart .wp-block-woocommerce-cart-order-summary-heading-block h2,
.wp-block-woocommerce-cart .wc-block-components-totals-wrapper > h2,
.wp-block-woocommerce-cart .wp-block-woocommerce-cart-totals-block h2 {
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: 0.08em;
	text-transform: uppercase !important;
	color: #595959 !important;
	margin: 0 0 16px !important;
	padding: 0 !important;
	border: none !important;
	font-family: inherit !important;
}

/* Estimated total — bigger emphasis */
.wp-block-woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wp-block-woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-size: 18px !important;
	font-weight: 700 !important;
	color: #222 !important;
}

.wp-block-woocommerce-cart .wc-block-components-totals-item__label {
	white-space: normal !important;
}

/* Coupon accordion in sidebar */
.wp-block-woocommerce-cart .wc-block-components-totals-coupon {
	margin: 0 0 12px !important;
}

.wp-block-woocommerce-cart .wc-block-components-panel__button {
	font-size: 14px !important;
	color: #222 !important;
	padding: 6px 0 !important;
}

/* Section heading */
.wp-block-woocommerce-checkout .wc-block-components-checkout-step__title,
.wp-block-woocommerce-checkout .wc-block-components-title {
	font-size: 20px !important;
	font-weight: 700 !important;
	color: #222 !important;
	margin: 0 0 14px !important;
	font-family: inherit;
	letter-spacing: 0;
	border: none !important;
}

/* Each form step */
.wp-block-woocommerce-checkout .wc-block-components-checkout-step {
	background: transparent !important;
	border: none !important;
	border-top: 1px solid #ececec !important;
	padding: 28px 0 !important;
	margin: 0 !important;
}

.wp-block-woocommerce-checkout .wc-block-components-checkout-step:first-of-type,
.wp-block-woocommerce-checkout .wc-block-components-checkout-step:first-child {
	border-top: 0 !important;
	padding-top: 8px !important;
}

.wp-block-woocommerce-checkout .wc-block-components-checkout-step__container::before,
.wp-block-woocommerce-checkout .wc-block-components-checkout-step__heading::before {
	display: none !important;
}

/* ============================================
   Form fields — Shopify-style (label ABOVE input, no floating).
   We disable WC Blocks' floating-label pattern entirely so labels and values
   never overlap, regardless of whether `.is-active` toggles correctly.
   ============================================ */

/* Wrapper: reset WC's line-height:0 / white-space:nowrap from the floating-label
   layout, restore normal block-level layout, and add spacing between fields. */
.wp-block-woocommerce-checkout .wc-block-components-text-input,
.wp-block-woocommerce-checkout .wc-block-components-combobox,
.wp-block-woocommerce-checkout .wc-block-components-textarea,
.wp-block-woocommerce-checkout .wc-block-components-select,
.wp-block-woocommerce-checkout .wc-block-components-state-input,
.wp-block-woocommerce-checkout .wc-block-components-country-input,
.wp-block-woocommerce-cart .wc-block-components-text-input {
	display: block !important;
	position: relative !important;
	margin: 0 0 14px !important;
	line-height: 1.45 !important;
	white-space: normal !important;
}

/* Internal wrapper that WC adds around the input */
.wp-block-woocommerce-checkout .wc-block-components-text-input__wrapper,
.wp-block-woocommerce-checkout .wc-block-components-combobox__wrapper {
	position: relative !important;
}

/* Label — pull it OUT of the input box, render it as a normal block above. */
.wp-block-woocommerce-checkout .wc-block-components-text-input > label,
.wp-block-woocommerce-checkout .wc-block-components-combobox > label,
.wp-block-woocommerce-checkout .wc-block-components-select > label,
.wp-block-woocommerce-checkout .wc-block-components-state-input > label,
.wp-block-woocommerce-checkout .wc-block-components-country-input > label,
.wp-block-woocommerce-checkout .wc-block-components-textarea > label,
.wp-block-woocommerce-checkout .wc-blocks-components-select > label,
.wp-block-woocommerce-cart .wc-block-components-text-input > label {
	position: static !important;
	display: block !important;
	transform: none !important;
	transform-origin: 0 0 !important;
	top: auto !important;
	left: auto !important;
	right: auto !important;
	bottom: auto !important;
	margin: 0 0 6px !important;
	padding: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	font-size: 13px !important;
	line-height: 1.4 !important;
	font-weight: 600 !important;
	color: #222 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	white-space: normal !important;
	overflow: visible !important;
	text-overflow: clip !important;
	cursor: default !important;
	transition: none !important;
	pointer-events: auto;
}

/* Inputs / selects / textareas — uniform clean Shopify-like field. */
.wp-block-woocommerce-checkout .wc-block-components-text-input input,
.wp-block-woocommerce-checkout .wc-block-components-text-input input[type="text"],
.wp-block-woocommerce-checkout .wc-block-components-text-input input[type="email"],
.wp-block-woocommerce-checkout .wc-block-components-text-input input[type="tel"],
.wp-block-woocommerce-checkout .wc-block-components-text-input input[type="number"],
.wp-block-woocommerce-checkout .wc-block-components-text-input input[type="url"],
.wp-block-woocommerce-checkout .wc-block-components-combobox input,
.wp-block-woocommerce-checkout .wc-block-components-combobox input[type="text"],
.wp-block-woocommerce-checkout .wc-block-components-textarea textarea,
.wp-block-woocommerce-checkout .wc-block-components-select select,
.wp-block-woocommerce-checkout .wc-blocks-components-select__select,
.wp-block-woocommerce-checkout select,
.wp-block-woocommerce-cart .wc-block-components-text-input input {
	display: block !important;
	width: 100% !important;
	box-sizing: border-box !important;
	background: #fff !important;
	border: 1px solid #d9d9d9 !important;
	border-radius: 8px !important;
	color: #222 !important;
	font-family: inherit !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
	height: 48px !important;
	min-height: 48px !important;
	padding: 0 14px !important;
	margin: 0 !important;
	box-shadow: none !important;
	transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

/* Override WC's .is-active padding bump (no longer needed since label moved out) */
.wp-block-woocommerce-checkout .wc-block-components-text-input.is-active input,
.wp-block-woocommerce-checkout .wc-block-components-text-input input:-webkit-autofill,
.wp-block-woocommerce-checkout .wc-block-components-combobox.is-active input,
.wp-block-woocommerce-checkout .wc-block-components-select.is-active select,
.wp-block-woocommerce-checkout .wc-blocks-components-select.is-active select,
.wp-block-woocommerce-cart .wc-block-components-text-input.is-active input {
	padding: 0 14px !important;
}

/* Textarea — taller, multi-line padding */
.wp-block-woocommerce-checkout .wc-block-components-textarea textarea {
	height: auto !important;
	min-height: 96px !important;
	padding: 12px 14px !important;
	line-height: 1.5 !important;
}

/* Selects — caret arrow on the right */
.wp-block-woocommerce-checkout .wc-block-components-select select,
.wp-block-woocommerce-checkout .wc-blocks-components-select__select,
.wp-block-woocommerce-checkout select {
	appearance: none !important;
	-webkit-appearance: none !important;
	padding-right: 36px !important;
	background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23222%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 14px center !important;
	background-size: 10px auto !important;
}

/* Combobox: WC renders <input type="text"> + a dropdown list. Add a caret arrow. */
.wp-block-woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox__wrapper {
	position: relative;
}

.wp-block-woocommerce-checkout .wc-block-components-combobox input[type="text"] {
	padding-right: 36px !important;
	background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23222%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 14px center !important;
	background-size: 10px auto !important;
}

/* ============================================
   Country / State select (wc-blocks-components-select)
   This is a SEPARATE component from .wc-block-components-* — it has its own
   nested label/expand structure. Use a grid on the container to reorder so
   the label sits ABOVE the <select> (matching all the other form fields).
   ============================================ */
.wp-block-woocommerce-checkout .wc-blocks-components-select,
.wc-block-checkout .wc-blocks-components-select,
.wc-block-checkout__form .wc-blocks-components-select {
	display: block !important;
	margin: 0 0 14px !important;
	max-width: none !important;
	width: 100% !important;
}

.wp-block-woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__container,
.wc-block-checkout .wc-blocks-components-select .wc-blocks-components-select__container,
.wc-block-checkout__form .wc-blocks-components-select .wc-blocks-components-select__container {
	display: grid !important;
	grid-template-columns: 1fr !important;
	grid-template-areas: "label" "select" !important;
	gap: 6px !important;
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	line-height: normal !important;
	position: relative !important;
	width: 100% !important;
}

.wp-block-woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__label,
.wc-block-checkout .wc-blocks-components-select .wc-blocks-components-select__label,
.wc-block-checkout__form .wc-blocks-components-select .wc-blocks-components-select__label {
	grid-area: label !important;
	position: static !important;
	display: block !important;
	transform: none !important;
	transform-origin: 0 0 !important;
	top: auto !important;
	left: auto !important;
	right: auto !important;
	bottom: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	font-size: 13px !important;
	line-height: 1.4 !important;
	font-weight: 600 !important;
	color: #222 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	white-space: normal !important;
	overflow: visible !important;
	text-overflow: clip !important;
	z-index: auto !important;
}

.wp-block-woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__select,
.wc-block-checkout .wc-blocks-components-select .wc-blocks-components-select__select,
.wc-block-checkout__form .wc-blocks-components-select .wc-blocks-components-select__select {
	grid-area: select !important;
	display: block !important;
	width: 100% !important;
	box-sizing: border-box !important;
	height: 48px !important;
	min-height: 48px !important;
	padding: 0 36px 0 14px !important;
	margin: 0 !important;
	border: 1px solid #d9d9d9 !important;
	border-radius: 8px !important;
	background: #fff !important;
	color: #222 !important;
	font-family: inherit !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
	box-shadow: none !important;
	appearance: none !important;
	-webkit-appearance: none !important;
}

.wp-block-woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__select:focus,
.wc-block-checkout .wc-blocks-components-select .wc-blocks-components-select__select:focus,
.wc-block-checkout__form .wc-blocks-components-select .wc-blocks-components-select__select:focus {
	border: 1px solid #222 !important;
	box-shadow: 0 0 0 1px #222 !important;
	outline: none !important;
	padding: 0 36px 0 14px !important;
}

/* Dropdown caret SVG — anchor it to the bottom of the container so it lines
   up with the vertical middle of the <select> (which sits in the bottom row). */
.wp-block-woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__expand,
.wc-block-checkout .wc-blocks-components-select .wc-blocks-components-select__expand,
.wc-block-checkout__form .wc-blocks-components-select .wc-blocks-components-select__expand {
	position: absolute !important;
	right: 14px !important;
	bottom: 19px !important;
	top: auto !important;
	transform: none !important;
	pointer-events: none !important;
	fill: #222 !important;
	width: 10px !important;
	height: 10px !important;
}

/* Placeholder color */
.wp-block-woocommerce-checkout .wc-block-components-text-input input::placeholder,
.wp-block-woocommerce-checkout .wc-block-components-combobox input::placeholder,
.wp-block-woocommerce-checkout .wc-block-components-textarea textarea::placeholder {
	color: #aaa !important;
	opacity: 1;
}

/* Focus ring */
.wp-block-woocommerce-checkout .wc-block-components-text-input input:focus,
.wp-block-woocommerce-checkout .wc-block-components-textarea textarea:focus,
.wp-block-woocommerce-checkout .wc-block-components-combobox input:focus,
.wp-block-woocommerce-checkout .wc-block-components-select select:focus,
.wp-block-woocommerce-checkout .wc-blocks-components-select__select:focus,
.wp-block-woocommerce-checkout select:focus,
.wp-block-woocommerce-cart .wc-block-components-text-input input:focus {
	border: 1px solid #222 !important;
	box-shadow: 0 0 0 1px #222 !important;
	outline: none !important;
}

/* Required-field marker / optional hint */
.wp-block-woocommerce-checkout .wc-block-components-text-input > label::after,
.wp-block-woocommerce-checkout .wc-block-components-combobox > label::after,
.wp-block-woocommerce-checkout .wc-block-components-select > label::after,
.wp-block-woocommerce-checkout .wc-block-components-textarea > label::after {
	content: "" !important;
}

/* Validation error message under field */
.wp-block-woocommerce-checkout .wc-block-components-validation-error {
	color: #cc1818 !important;
	font-size: 12px !important;
	margin-top: 6px !important;
}

.wp-block-woocommerce-checkout .wc-block-components-text-input.has-error input,
.wp-block-woocommerce-checkout .wc-block-components-combobox.has-error input,
.wp-block-woocommerce-checkout .wc-block-components-select.has-error select {
	border-color: #cc1818 !important;
}

/* Address form — proper 2-column layout for First name / Last name etc. */
.wp-block-woocommerce-checkout .wc-block-components-address-form {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	gap: 0 12px !important;
}

.wp-block-woocommerce-checkout .wc-block-components-address-form > * {
	grid-column: 1 / -1 !important;
}

.wp-block-woocommerce-checkout .wc-block-components-address-form__first_name,
.wp-block-woocommerce-checkout .wc-block-components-address-form__last_name,
.wp-block-woocommerce-checkout .wc-block-components-address-form__city,
.wp-block-woocommerce-checkout .wc-block-components-address-form__postcode {
	grid-column: span 1 !important;
}

@media (max-width: 600px) {
	.wp-block-woocommerce-checkout .wc-block-components-address-form {
		grid-template-columns: 1fr !important;
	}

	.wp-block-woocommerce-checkout .wc-block-components-address-form__first_name,
	.wp-block-woocommerce-checkout .wc-block-components-address-form__last_name,
	.wp-block-woocommerce-checkout .wc-block-components-address-form__city,
	.wp-block-woocommerce-checkout .wc-block-components-address-form__postcode {
		grid-column: 1 / -1 !important;
	}
}

/* Radio options (shipping methods, payment methods) */
.wp-block-woocommerce-checkout .wc-block-components-radio-control__option,
.wp-block-woocommerce-checkout .wc-block-components-shipping-rates-control__package {
	background: #fff !important;
	border: 1px solid #d9d9d9 !important;
	border-radius: 10px !important;
	padding: 14px 16px !important;
	margin-bottom: 8px !important;
	transition: border-color 0.15s, background 0.15s;
}

.wp-block-woocommerce-checkout .wc-block-components-radio-control__option:hover {
	border-color: #888 !important;
}

.wp-block-woocommerce-checkout .wc-block-components-radio-control__option-checked {
	border-color: #222 !important;
	background: #fafafa !important;
	box-shadow: 0 0 0 1px #222 !important;
}

/* Payment methods inner cards */
.wp-block-woocommerce-checkout .wc-block-components-payment-methods .wc-block-components-radio-control__option {
	padding: 16px !important;
}

/* "Use shipping address as billing" checkbox / Coupon code accordion */
.wp-block-woocommerce-checkout .wc-block-components-checkbox__input,
.wp-block-woocommerce-cart .wc-block-components-checkbox__input {
	border-radius: 4px !important;
	border-color: #c4c4c4 !important;
}

.wp-block-woocommerce-checkout .wc-block-components-checkbox__input:checked,
.wp-block-woocommerce-cart .wc-block-components-checkbox__input:checked {
	background: #222 !important;
	border-color: #222 !important;
}

/* Right column — Order summary.
   WC Blocks ships borders on BOTH .wp-block-woocommerce-checkout-order-summary-block
   AND its inner .checkout-order-summary-block-fill, which doubles up with our
   sidebar background. Strip every border from both layers. */
.wp-block-woocommerce-checkout .wc-block-components-order-summary,
.wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
.wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .checkout-order-summary-block-fill,
.wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .checkout-order-summary-block-fill-wrapper,
.wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-cart-items-block,
.wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-totals-block,
.wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-coupon-form-block,
.wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-shipping-block,
.wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-discount-block,
.wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-fee-block,
.wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-subtotal-block,
.wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-taxes-block,
.wp-block-woocommerce-cart .wc-block-cart__sidebar > .wp-block-woocommerce-cart-order-summary-block {
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 0 18px !important;
}

/* Make sure inner totals rows don't carry the WC default left/right padding
   that was meant to align them with the inner border */
.wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .checkout-order-summary-block-fill .wc-block-components-totals-item {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block.checkout-order-summary-block-fill-wrapper .wc-block-components-order-summary {
	padding: 0 !important;
}

.wp-block-woocommerce-checkout .wc-block-components-order-summary__content {
	padding: 0 !important;
}

.wp-block-woocommerce-checkout .wc-block-components-order-summary-item {
	display: grid !important;
	grid-template-columns: 64px 1fr auto !important;
	gap: 14px !important;
	padding: 14px 0 !important;
	border: none !important;
	border-top: 1px solid #e6e4dd !important;
	align-items: flex-start !important;
}

.wp-block-woocommerce-checkout .wc-block-components-order-summary-item:first-child {
	border-top: 0 !important;
	padding-top: 4px !important;
}

.wp-block-woocommerce-checkout .wc-block-components-order-summary-item__image {
	width: 64px !important;
	height: 64px !important;
	border-radius: 10px !important;
	overflow: hidden;
	border: 1px solid #e6e4dd !important;
	background: #fff !important;
	position: relative;
}

.wp-block-woocommerce-checkout .wc-block-components-order-summary-item__quantity {
	position: absolute !important;
	top: -8px !important;
	right: -8px !important;
	width: 22px !important;
	height: 22px !important;
	min-width: 22px !important;
	border-radius: 50% !important;
	background: #595959 !important;
	color: #fff !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 0 !important;
	line-height: 1 !important;
}

.wp-block-woocommerce-checkout .wc-block-components-order-summary-item__description {
	min-width: 0;
}

.wp-block-woocommerce-checkout .wc-block-components-product-name {
	font-size: 14px !important;
	color: #222 !important;
	font-weight: 600 !important;
	line-height: 1.35 !important;
}

.wp-block-woocommerce-checkout .wc-block-components-product-metadata {
	font-size: 12px !important;
	color: #595959 !important;
	margin-top: 4px !important;
}

.wp-block-woocommerce-checkout .wc-block-components-order-summary-item__total-price,
.wp-block-woocommerce-checkout .wc-block-components-order-summary-item__individual-prices {
	font-size: 14px !important;
	font-weight: 700 !important;
	color: #222 !important;
	white-space: nowrap;
}

/* Totals breakdown */
.wp-block-woocommerce-checkout .wc-block-components-totals-wrapper,
.wp-block-woocommerce-cart .wc-block-components-totals-wrapper {
	border-top: 1px solid #e6e4dd !important;
	padding: 12px 0 !important;
	margin: 0 !important;
}

.wp-block-woocommerce-checkout .wc-block-components-totals-item {
	font-size: 14px !important;
	color: #222 !important;
	padding: 4px 0 !important;
}

.wp-block-woocommerce-checkout .wc-block-components-totals-footer-item,
.wp-block-woocommerce-cart .wc-block-components-totals-footer-item {
	font-size: 18px !important;
	font-weight: 700 !important;
	padding: 12px 0 !important;
	border-top: 1px solid #d9d7d0 !important;
	margin-top: 4px !important;
}

.wp-block-woocommerce-checkout .wc-block-components-totals-coupon,
.wp-block-woocommerce-cart .wc-block-components-totals-coupon {
	background: transparent !important;
	border: none !important;
	padding: 8px 0 !important;
}

.wp-block-woocommerce-checkout .wc-block-components-totals-coupon__button,
.wp-block-woocommerce-cart .wc-block-components-totals-coupon__button {
	background: #222 !important;
	color: #fff !important;
	border-radius: 8px !important;
	height: 44px !important;
	min-height: 44px !important;
	padding: 0 18px !important;
}

/* Notices & errors */
.wp-block-woocommerce-checkout .wc-block-components-notice-banner,
.wp-block-woocommerce-checkout .wc-block-components-validation-error {
	border-radius: 10px !important;
}

/* Place order button (already black via earlier rule, just spacing) */
.wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button {
	width: 100%;
	min-height: 56px !important;
	font-size: 16px !important;
	margin-top: 12px;
}

/* Express checkout (Apple Pay etc.) */
.wp-block-woocommerce-checkout .wc-block-components-express-payment {
	background: transparent !important;
	border: none !important;
	margin: 0 0 16px !important;
}

.wp-block-woocommerce-checkout .wc-block-components-express-payment__title-container {
	margin-bottom: 12px !important;
}

/* Shipping details / order details labels in summary */
.wp-block-woocommerce-checkout .wc-block-components-product-details,
.wp-block-woocommerce-checkout .wc-block-components-product-details__name {
	color: #595959 !important;
	font-size: 12px !important;
}

/* Mobile responsive */
@media (max-width: 900px) {
	.wp-block-woocommerce-checkout .wc-block-components-sidebar-layout,
	.wp-block-woocommerce-cart .wc-block-components-sidebar-layout,
	.wp-block-woocommerce-cart .wp-block-woocommerce-filled-cart-block {
		grid-template-columns: 1fr !important;
		gap: 24px !important;
	}

	.wp-block-woocommerce-checkout .wc-block-components-sidebar,
	.wp-block-woocommerce-cart .wc-block-components-sidebar,
	.wp-block-woocommerce-cart .wc-block-cart__sidebar,
	.wp-block-woocommerce-cart .wp-block-woocommerce-cart-totals-block {
		position: static !important;
		margin-bottom: 0 !important;
	}

	.wp-block-woocommerce-checkout {
		margin: 16px auto 40px;
	}
}

@media (max-width: 600px) {
	.wp-block-woocommerce-checkout .wc-block-components-sidebar,
	.wp-block-woocommerce-cart .wc-block-components-sidebar,
	.wp-block-woocommerce-cart .wc-block-cart__sidebar,
	.wp-block-woocommerce-cart .wp-block-woocommerce-cart-totals-block {
		padding: 20px 18px 24px !important;
		border-radius: 12px;
	}

	.wp-block-woocommerce-checkout .wc-block-components-main {
		padding: 0;
	}

	.wp-block-woocommerce-checkout .wc-block-components-checkout-step__title {
		font-size: 18px !important;
	}
}

/* Buy Now button (yellow) */
.bl-etsy-summary__buy-now {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	height: 52px;
	margin-top: 10px;
	border-radius: 999px;
	background: #FFC94D;
	color: #222;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.1s ease;
	line-height: 52px;
	text-align: center;
	box-shadow: none;
}

.bl-etsy-summary__buy-now:hover,
.bl-etsy-summary__buy-now:focus {
	background: #FFB524;
	color: #222;
	text-decoration: none;
}

.bl-etsy-summary__buy-now:active {
	transform: translateY(1px);
}

.bl-etsy-summary__buy-now svg {
	flex-shrink: 0;
	color: #222;
}

.bl-etsy-summary__meta {
	font-size: 13px;
	color: #595959;
	margin-top: 12px;
}

.bl-etsy-summary__meta .product_meta {
	font-size: 13px;
}

/* ============================================
   Accordion - Polished card style
   ============================================ */
.bl-etsy-accordion {
	margin-top: 28px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.bl-etsy-accordion__item {
	background: #fff;
	border: 1px solid #e6e6e6;
	border-radius: 14px;
	overflow: hidden;
	transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.bl-etsy-accordion__item:hover {
	border-color: #d0d0d0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.bl-etsy-accordion__item[open] {
	border-color: #222;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.bl-etsy-accordion__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 18px 20px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
	color: #222;
	user-select: none;
	transition: background 0.2s ease;
}

.bl-etsy-accordion__header:hover {
	background: #fafafa;
}

.bl-etsy-accordion__header::-webkit-details-marker,
.bl-etsy-accordion__header::marker {
	display: none;
	content: '';
}

.bl-etsy-accordion__header .bl-etsy-chevron {
	transition: transform 0.3s ease;
	color: #595959;
	flex-shrink: 0;
}

.bl-etsy-accordion__item[open] .bl-etsy-accordion__header .bl-etsy-chevron {
	transform: rotate(180deg);
	color: #222;
}

.bl-etsy-accordion__content {
	padding: 4px 20px 22px;
	color: #444;
	font-size: 14px;
	line-height: 1.7;
	animation: bl-accordion-fade 0.3s ease;
}

@keyframes bl-accordion-fade {
	from {
		opacity: 0;
		transform: translateY(-4px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.bl-etsy-accordion__content p {
	margin: 0 0 12px;
}

.bl-etsy-accordion__content p:last-child {
	margin-bottom: 0;
}

.bl-etsy-accordion__content strong {
	color: #222;
	font-weight: 700;
}

.bl-etsy-accordion__content a {
	color: #222;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.bl-etsy-accordion__content a:hover {
	text-decoration-thickness: 2px;
}

/* Highlights block */
.bl-etsy-highlights {
	margin: 0 0 18px;
	padding: 14px 16px;
	background: #f7f7f5;
	border-radius: 10px;
}

.bl-etsy-highlights__title {
	font-size: 13px;
	font-weight: 700;
	margin: 0 0 10px;
	color: #222;
	text-transform: uppercase;
	letter-spacing: 0.4px;
}

.bl-etsy-highlights__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.bl-etsy-highlights__list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 14px;
	line-height: 1.55;
	color: #333;
}

.bl-etsy-highlights__list svg {
	flex-shrink: 0;
	margin-top: 2px;
	color: #595959;
}

/* Shipping & policies list */
.bl-etsy-shipping-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.bl-etsy-shipping-list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 14px;
	line-height: 1.55;
	color: #333;
}

.bl-etsy-shipping-list li strong {
	color: #222;
}

.bl-etsy-shipping-list svg {
	flex-shrink: 0;
	margin-top: 2px;
	color: #0b6623;
}

/* Related products */
.related.products {
	margin-top: 48px;
	clear: both;
}

.related.products > h2 {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 28px;
	margin-bottom: 20px;
}

/* ----- Related Products Swiper Carousel ----- */
.bl-etsy-related {
	position: relative;
}

.bl-etsy-related__carousel {
	position: relative;
	overflow: hidden;
	padding: 4px 0;
}

.woocommerce .bl-etsy-related ul.products.bl-etsy-related__list,
.bl-etsy-related ul.products.bl-etsy-related__list {
	display: flex !important;
	grid-template-columns: none !important;
	gap: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}

.woocommerce .bl-etsy-related ul.products.bl-etsy-related__list li.product,
.bl-etsy-related ul.products.bl-etsy-related__list li.product {
	width: auto;
	height: auto;
	flex-shrink: 0;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

.bl-etsy-related__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.bl-etsy-related__image {
	width: 100%;
	margin-bottom: 8px;
}

.bl-etsy-related__image img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	object-position: center;
	border-radius: 8px;
	display: block;
	background: #f5f5f5;
	transition: opacity 0.2s ease;
}

.bl-etsy-related__item:hover .bl-etsy-related__image img {
	opacity: 0.9;
}

.bl-etsy-related__title {
	font-size: 13px;
	line-height: 1.4;
	margin: 0;
	color: #222;
	font-weight: 400;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-family: inherit;
}

/*
 * Note: WooCommerce core ships `.products li.product .price { display:block }`
 * (specificity 0,3,1) which would otherwise hide our flex layout, and
 * `.products li.product .price ins/del { display:inline-block }` (0,3,2) which
 * would defeat the flex `order` reordering. We escalate selectors and use
 * !important so the related-product card can mirror the home-page price card
 * (sale price first, original strikethrough next, % off last).
 */
.bl-etsy-related .bl-etsy-related__list li.product .bl-etsy-related__price,
.bl-etsy-related__price {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
	margin: 4px 0 0;
	color: var(--clg-color-pal-green-650, #0f743b) !important;
	display: flex !important;
	align-items: baseline;
	gap: 6px;
	flex-wrap: wrap;
}

.bl-etsy-related .bl-etsy-related__list li.product .bl-etsy-related__price > .amount,
.bl-etsy-related__price > .amount {
	color: var(--clg-color-pal-green-650, #0f743b) !important;
}

.bl-etsy-related .bl-etsy-related__list li.product .bl-etsy-related__price ins,
.bl-etsy-related .bl-etsy-related__list li.product .bl-etsy-related__price ins .amount,
.bl-etsy-related__price ins,
.bl-etsy-related__price ins .amount {
	text-decoration: none;
	background: transparent;
	display: inline !important;
	order: 1;
	color: var(--clg-color-pal-green-650, #0f743b) !important;
}

.bl-etsy-related .bl-etsy-related__list li.product .bl-etsy-related__price del,
.bl-etsy-related .bl-etsy-related__list li.product .bl-etsy-related__price del .amount,
.bl-etsy-related__price del,
.bl-etsy-related__price del .amount {
	font-size: 12px;
	color: #595959 !important;
	opacity: 1;
	font-weight: 400;
	text-decoration: line-through;
	display: inline !important;
	order: 2;
}

.bl-etsy-related .bl-etsy-related__list li.product .bl-etsy-related__price .bl-discount-percent,
.bl-etsy-related__price .bl-discount-percent {
	font-size: 12px;
	color: var(--clg-color-pal-green-650, #0f743b) !important;
	font-weight: 400;
	order: 3;
}

/* Nav arrows for related */
.bl-etsy-related .swiper-button-prev,
.bl-etsy-related .swiper-button-next {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
	color: #222;
	border: none;
	margin-top: 0;
	transform: translateY(-50%);
	top: 35%;
	transition: background 0.2s, opacity 0.2s;
	cursor: pointer;
	z-index: 5;
}

.bl-etsy-related .swiper-button-prev {
	left: 8px;
}

.bl-etsy-related .swiper-button-next {
	right: 8px;
}

.bl-etsy-related .swiper-button-prev:hover,
.bl-etsy-related .swiper-button-next:hover {
	background: #f2f2f2;
}

.bl-etsy-related .swiper-button-prev:after,
.bl-etsy-related .swiper-button-next:after {
	font-size: 14px;
	font-weight: 700;
}

.bl-etsy-related .swiper-button-disabled {
	opacity: 0;
	pointer-events: none;
}

.bl-etsy-related .swiper-button-lock {
	display: none;
}

/* Override WooCommerce default dark theme on single product */
.single-product div.product {
	background: transparent;
	border: none;
	border-radius: 0;
	padding: 0;
	box-shadow: none;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
	.bl-etsy-single-product__layout {
		flex-direction: column;
		flex-wrap: wrap;
		gap: 32px;
	}

	.bl-etsy-single-product__gallery-wrap,
	.woocommerce div.product div.bl-etsy-single-product__gallery-wrap,
	.woocommerce-page div.product div.bl-etsy-single-product__gallery-wrap {
		flex: 1 1 100%;
		max-width: 100%;
		width: 100% !important;
		position: static;
	}

	.bl-etsy-single-product__summary-wrap,
	.woocommerce div.product div.bl-etsy-single-product__summary-wrap,
	.woocommerce-page div.product div.bl-etsy-single-product__summary-wrap {
		flex: 1 1 100%;
		width: 100% !important;
		max-width: 100% !important;
	}
}

@media (max-width: 680px) {
	.single-product .bl-etsy-single-product {
		margin: 8px 0 40px;
	}

	/* Breadcrumb - horizontal scroll on mobile */
	.bl-etsy-breadcrumb-bar {
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.bl-etsy-breadcrumb-bar::-webkit-scrollbar {
		display: none;
	}

	.woocommerce .woocommerce-breadcrumb,
	.woocommerce-breadcrumb {
		flex-wrap: nowrap;
		white-space: nowrap;
		width: max-content;
		min-width: 100%;
	}

	.woocommerce-breadcrumb a,
	.woocommerce-breadcrumb .breadcrumb-separator {
		flex-shrink: 0;
	}

	.bl-etsy-single-product__layout {
		gap: 20px;
	}

	.bl-etsy-gallery {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.bl-etsy-gallery__thumbs {
		order: 2;
		width: 100%;
		max-height: none;
		height: 72px;
	}

	.bl-etsy-gallery__thumbs .swiper-slide {
		width: 64px !important;
		height: 64px !important;
	}

	.bl-etsy-gallery__main {
		order: 1;
		border-radius: 10px;
	}

	.bl-etsy-gallery__main .swiper-button-prev,
	.bl-etsy-gallery__main .swiper-button-next {
		width: 36px;
		height: 36px;
	}

	.bl-etsy-gallery__main .swiper-button-prev {
		left: 8px;
	}

	.bl-etsy-gallery__main .swiper-button-next {
		right: 8px;
	}

	.bl-etsy-summary__title {
		font-size: 18px;
	}

	.bl-etsy-summary__price .bl-etsy-price-now {
		font-size: 24px;
	}

	.bl-etsy-summary__cart form.cart {
		flex-wrap: wrap;
	}

	.bl-etsy-summary__cart form.cart .quantity {
		flex: 0 0 auto;
	}

	.bl-etsy-summary__cart .single_add_to_cart_button {
		flex: 1 1 auto;
		min-width: 0;
	}

	.bl-etsy-accordion__header {
		padding: 14px 16px;
		font-size: 14px;
	}

	.bl-etsy-accordion__content {
		padding: 4px 16px 18px;
	}

	.related.products > h2,
	.bl-etsy-related > h2 {
		font-size: 22px;
		margin-bottom: 14px;
	}

	.bl-etsy-related .swiper-button-prev {
		display: none;
	}

	.bl-etsy-related .swiper-button-next {
		width: 36px;
		height: 36px;
		right: 6px;
		background: rgba(255, 255, 255, 0.95);
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
	}

	.bl-etsy-related .swiper-button-next:after {
		font-size: 13px;
	}
}

@media (max-width: 1199px) {
	.woocommerce ul.products,
	.woocommerce-page ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.woocommerce ul.products,
	.woocommerce-page ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}
}

/* ============================================
   Shop header sort dropdown
   ============================================ */
body.woocommerce .bl-shop-sorting form.woocommerce-ordering {
	margin: 0;
	display: flex;
	align-items: center;
}

body.woocommerce .bl-shop-sorting form.woocommerce-ordering select.orderby {
	box-sizing: border-box;
	min-height: 36px;
	border: 1px solid #222;
	border-radius: 999px;
	background-color: #fff;
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 10px auto;
	background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23222%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
	font-size: 14px;
	line-height: 1.25;
	color: #222;
	font-weight: 500;
	cursor: pointer;
	padding: 6px 32px 6px 16px;
	appearance: none;
	-webkit-appearance: none;
}

body.woocommerce .bl-shop-sorting form.woocommerce-ordering select.orderby:hover {
	background-color: rgba(0, 0, 0, 0.05);
}

body.woocommerce .bl-shop-sorting form.woocommerce-ordering select.orderby:focus {
	outline: none;
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px #222;
}

