.etpl-product-hero .etpl-hero-main-image {
	position: relative !important;
	width: 100%;
	border-radius: 16px;
	overflow: hidden !important;
	touch-action: pan-y;
	user-select: none;
	-webkit-user-select: none;
}

.etpl-product-hero .etpl-gallery-track {
	display: flex !important;
	direction: rtl !important;
	width: 100%;
	height: clamp(280px, 42vw, 560px);
	transition: transform 380ms cubic-bezier(.22, .61, .36, 1);
	will-change: transform;
}

.etpl-product-hero .etpl-gallery-slide {
	flex: 0 0 100%;
	width: 100%;
	height: 100%;
	display: grid;
	place-items: center;
}

.etpl-product-hero .etpl-gallery-slide img.etpl-main-image {
	display: block;
	width: 100%;
	height: 100%;
	max-height: none !important;
	object-fit: contain;
	pointer-events: none;
	user-select: none;
	-webkit-user-drag: none;
}

.etpl-product-hero .etpl-gallery-arrow {
	position: absolute !important;
	top: 50% !important;
	bottom: auto !important;
	left: auto !important;
	right: auto !important;
	z-index: 5 !important;
	width: 46px !important;
	height: 46px !important;
	min-width: 46px !important;
	min-height: 46px !important;
	margin: 0 !important;
	padding: 0 !important;
	transform: translateY(-50%) !important;
	display: grid !important;
	place-items: center !important;
	border: 1px solid rgba(22, 36, 58, .12) !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, .96) !important;
	color: #16243a !important;
	box-shadow: 0 3px 14px rgba(20, 36, 58, .16) !important;
	cursor: pointer;
	opacity: 1 !important;
	visibility: visible !important;
}

.etpl-product-hero .etpl-gallery-arrow--prev {
	right: 14px !important;
}

.etpl-product-hero .etpl-gallery-arrow--next {
	left: 14px !important;
}

.etpl-product-hero .etpl-gallery-arrow svg {
	display: block;
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.etpl-product-hero .etpl-gallery-arrow:hover {
	background: #fff !important;
	color: var(--etpl-blue) !important;
	box-shadow: 0 5px 18px rgba(20, 36, 58, .22) !important;
}

.etpl-ordered-sections .etpl-cod-card {
	padding: clamp(18px, 3vw, 30px);
}

.etpl-ordered-sections .etpl-cod-card h2 {
	margin: 0 0 6px;
	font-size: clamp(21px, 2.4vw, 28px);
}

.etpl-ordered-sections .etpl-cod-card > p {
	margin: 0 0 12px;
}

.etpl-ordered-sections .etpl-cod-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 12px;
}

.etpl-ordered-sections .etpl-order-fields {
	display: grid !important;
	grid-column: 1 / -1;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 9px 12px;
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.etpl-ordered-sections .etpl-order-fields label {
	min-width: 0;
	gap: 4px;
	font-size: 13px;
}

.etpl-ordered-sections .etpl-order-fields input {
	width: 100%;
	min-width: 0;
	min-height: 42px;
	height: 42px;
	padding: 8px 10px;
	font-size: 14px;
}

.etpl-ordered-sections .etpl-address-field {
	grid-column: 1 / -1;
}

.etpl-ordered-sections .etpl-order-summary {
	grid-column: 1 / -1;
	padding: 9px 12px;
}

.etpl-ordered-sections .etpl-order-summary > div {
	padding: 5px 0;
	font-size: 14px;
}

.etpl-ordered-sections .etpl-order-summary .etpl-grand-row {
	margin-top: 4px;
	padding-top: 9px;
	font-size: 15px;
}

.etpl-ordered-sections .etpl-cod-form > .etpl-button {
	grid-column: 1 / -1;
	min-height: 46px;
	padding: 10px 16px;
}

.etpl-ordered-sections .etpl-cod-footnote {
	margin: 8px 0 0;
}

@media (max-width: 767px) {
	.etpl-product-hero .etpl-hero-main-image {
		border-radius: 0;
	}

	.etpl-product-hero .etpl-gallery-track {
		height: clamp(260px, 92vw, 390px);
	}

	.etpl-product-hero .etpl-gallery-arrow {
		width: 42px !important;
		height: 42px !important;
		min-width: 42px !important;
		min-height: 42px !important;
	}

	.etpl-product-hero .etpl-gallery-arrow--prev {
		right: 12px !important;
	}

	.etpl-product-hero .etpl-gallery-arrow--next {
		left: 12px !important;
	}

	.etpl-ordered-sections .etpl-cod-card {
		padding: 18px 14px;
	}

	.etpl-ordered-sections .etpl-cod-form {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 9px 10px;
	}

	.etpl-ordered-sections .etpl-order-fields {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px 10px;
	}

	.etpl-ordered-sections .etpl-order-fields label {
		font-size: 12px;
	}

	.etpl-ordered-sections .etpl-order-fields input {
		min-height: 40px;
		height: 40px;
		font-size: 14px;
	}

	.etpl-ordered-sections .etpl-order-summary > div {
		font-size: 13px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.etpl-product-hero .etpl-gallery-track {
		transition: none;
	}
}
