/**
 * Theme Name:     Hello Elementor Child
 * Author:         Elementor Team
 * Template:       hello-elementor
 * Text Domain:	   hello-elementor-child
 * Description:    Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
 */

.md-product-gallery {
	display: grid;
	grid-template-columns: 82px minmax(0, 1fr);
	gap: 12px;
	width: 100%;
}

.md-product-gallery__viewport {
	grid-column: 2;
	grid-row: 1;
	position: relative;
	overflow: hidden;
}

.md-product-gallery__track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.md-product-gallery__track::-webkit-scrollbar {
	display: none;
}

.md-product-gallery__slide {
	display: flex;
	flex: 0 0 100%;
	aspect-ratio: 1 / 1;
	align-items: center;
	justify-content: center;
	background: #f7f7f7;
	scroll-snap-align: start;
}

.md-product-gallery__slide img,
.md-product-gallery__slide video,
.md-product-gallery__slide iframe,
.md-product-gallery__video .wp-video,
.md-product-gallery__video .wp-video-shortcode {
	width: 100%;
	height: 100%;
	border: 0;
	object-fit: cover;
}

.md-product-gallery__video > div {
	width: 100%;
	height: 100%;
}

.md-product-gallery__arrow {
	position: absolute;
	z-index: 2;
	top: 50%;
	width: 44px;
	height: 54px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: rgb(255 255 255 / 75%);
	color: #2c2c2c;
	font-size: 28px;
	line-height: 1;
	transform: translateY(-50%);
}

.md-product-gallery__arrow:hover,
.md-product-gallery__arrow:focus {
	background: #fff;
	color: #7f2687;
}

.md-product-gallery__arrow--prev {
	left: 12px;
}

.md-product-gallery__arrow--next {
	right: 12px;
}

.md-product-gallery__thumbs {
	display: flex;
	grid-column: 1;
	grid-row: 1;
	flex-direction: column;
	gap: 8px;
	max-height: 100%;
	overflow-y: auto;
}

.md-product-gallery__thumb {
	appearance: none;
	flex: 0 0 auto;
	width: 82px;
	height: 82px;
	min-width: 0;
	padding: 0 !important;
	overflow: hidden;
	border: 0 !important;
	border-radius: 0 !important;
	outline: 0;
	background: #f2f2f2;
	box-shadow: none !important;
	opacity: 0.65;
}

.md-product-gallery__thumb:hover,
.md-product-gallery__thumb:focus,
.md-product-gallery__thumb.is-active {
	background: #f2f2f2;
	opacity: 1;
}

.md-product-gallery__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.md-product-gallery__video-thumb {
	display: grid;
	place-items: center;
	color: #fff;
	background: #7f2687;
	font-size: 28px;
}

.md-product-gallery__video-thumb:hover,
.md-product-gallery__video-thumb:focus,
.md-product-gallery__video-thumb.is-active {
	background: #7f2687;
	color: #fff;
}

@media (min-width: 1025px) {
	.elementor-widget-shortcode:has(.md-product-gallery),
	.elementor-widget-shortcode:has(.md-product-gallery) > .elementor-widget-container,
	.elementor-shortcode:has(.md-product-gallery),
	.md-product-gallery,
	.md-product-gallery__viewport,
	.md-product-gallery__track,
	.md-product-gallery__slide {
		height: 100%;
	}

	.md-product-gallery__slide {
		aspect-ratio: auto;
	}
}

@media (max-width: 1024px) {
	.md-product-gallery {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto auto;
		gap: 8px;
	}

	.md-product-gallery__viewport {
		grid-column: 1;
		grid-row: 1;
	}

	.md-product-gallery__thumbs {
		grid-column: 1;
		grid-row: 2;
		flex-direction: row;
		gap: 6px;
		max-width: 100%;
		overflow-x: auto;
		overflow-y: hidden;
		padding-bottom: 2px;
	}

	.md-product-gallery__thumb {
		flex: 0 0 68px;
		width: 68px;
		height: 68px;
	}

	.md-product-gallery__arrow {
		width: 36px;
		height: 46px;
		font-size: 22px;
	}

	.md-product-gallery__arrow--prev {
		left: 6px;
	}

	.md-product-gallery__arrow--next {
		right: 6px;
	}
}

.bow-header-icons {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center;
	gap: 0;
	height: 36px;
	line-height: 0;
	vertical-align: middle;
	color: #000;
}

.bow-header-icons .bow-account-link,
.bow-header-icons .bow-cart-toggle {
	position: relative;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	align-self: center;
	width: 36px;
	height: 36px;
	min-height: 36px;
	max-height: 36px;
	margin: 0 !important;
	padding: 0 !important;
	border: 0;
	background: transparent;
	color: #000;
	line-height: 0 !important;
	vertical-align: middle;
	text-decoration: none;
	box-sizing: border-box;
	cursor: pointer;
}

.bow-account-link:hover,
.bow-account-link:focus,
.bow-cart-toggle:hover,
.bow-cart-toggle:focus {
	color: #000;
}

.bow-header-icons .bow-cart-toggle,
.bow-header-icons .bow-cart-toggle:hover,
.bow-header-icons .bow-cart-toggle:focus,
.bow-header-icons .bow-cart-toggle:active {
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	border-color: transparent !important;
}

.bow-header-icons svg {
	display: block;
	width: 28px;
	height: 28px;
	margin: 0;
	stroke: #000;
}

.bow-cart-toggle:focus-visible,
.bow-mini-cart__close:focus-visible,
.bow-mini-cart__remove:focus-visible,
.bow-mini-cart__checkout:focus-visible {
	outline: 2px solid #7f2687;
	outline-offset: 2px;
}

.bow-cart-toggle__count {
	position: absolute;
	top: -2px;
	right: -2px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 99px;
	background: #7f2687;
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	line-height: 18px;
	text-align: center;
}

.bow-mini-cart {
	position: fixed;
	z-index: 100001;
	inset: 0;
	visibility: hidden;
	pointer-events: none;
}

.bow-mini-cart.is-open {
	visibility: visible;
	pointer-events: auto;
}

.bow-mini-cart__overlay {
	position: absolute;
	inset: 0;
	background: rgb(0 0 0 / 45%);
	opacity: 0;
	transition: opacity 0.25s ease;
}

.bow-mini-cart.is-open .bow-mini-cart__overlay {
	opacity: 1;
}

.bow-mini-cart__panel {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	width: min(420px, 100%);
	height: 100%;
	background: #fff;
	box-shadow: -8px 0 24px rgb(0 0 0 / 12%);
	transform: translateX(100%);
	transition: transform 0.28s ease;
}

.bow-mini-cart.is-open .bow-mini-cart__panel {
	transform: translateX(0);
}

.bow-mini-cart__head,
.bow-mini-cart__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 20px;
	border-bottom: 1px solid #eee;
}

.bow-mini-cart__foot {
	flex-direction: column;
	align-items: stretch;
	margin-top: auto;
	border-bottom: 0;
	border-top: 1px solid #eee;
}

.bow-mini-cart__head h2 {
	margin: 0;
	font-size: 18px;
	line-height: 1.2;
}

.bow-mini-cart__close {
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #1a1a1a;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.bow-mini-cart__items {
	flex: 1;
	overflow: auto;
	padding: 8px 20px 16px;
}

.bow-mini-cart__empty {
	margin: 24px 0;
	color: #555;
}

.bow-mini-cart__item {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 12px;
	padding: 14px 0;
	border-bottom: 1px solid #f0f0f0;
}

.bow-mini-cart__item img {
	width: 72px;
	height: 72px;
	object-fit: cover;
	background: #f6f6f6;
}

.bow-mini-cart__name {
	margin: 0 0 4px;
	color: #1a1a1a;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none;
}

.bow-mini-cart__meta {
	margin: 0;
	color: #444;
	font-size: 13px;
}

.bow-mini-cart__remove {
	margin-top: 6px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #7f2687;
	font-size: 13px;
	text-decoration: underline;
	cursor: pointer;
}

.bow-mini-cart__remove:disabled {
	opacity: 0.5;
	cursor: wait;
}

.bow-mini-cart__subtotal {
	display: flex;
	justify-content: space-between;
	margin: 0;
	font-size: 15px;
}

.bow-mini-cart__checkout {
	display: block;
	padding: 14px 16px;
	background: #1a1a1a;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
}

.bow-mini-cart__checkout:hover,
.bow-mini-cart__checkout:focus {
	background: #7f2687;
	color: #fff;
}

body.bow-cart-open {
	overflow: hidden;
}

.woocommerce-account .order-actions-button.cancel,
.woocommerce-account a.button.cancel.order-actions-button {
	border-color: #b32d2e;
	color: #b32d2e;
	background: #fff;
}

.woocommerce-account .order-actions-button.track,
.woocommerce-account .order-actions-button.review,
.woocommerce-account a.button.track.order-actions-button,
.woocommerce-account a.button.review.order-actions-button {
	background: #1a1a1a;
	border-color: #1a1a1a;
	color: #fff;
}
