/* =========================================================
   Ecomus Child — Elementor Shop by Collection
   Responsive image + responsive hotspots + click product panel
   Scoped only to this widget
   ========================================================= */

.sas-sbc {
	--sas-sbc-hotspot: #ffffff;
	--sas-sbc-hotspot-active: #ff625e;
	width: 100%;
	padding: 34px 0 18px;
	overflow: hidden;
}

.sas-sbc .sas-sbc__inner {
	width: min(1392px, calc(100% - 48px));
	margin-inline: auto;
}

.sas-sbc .sas-sbc__heading {
	margin: 0 0 20px;
	font-size: 42px;
	line-height: 1.1;
	font-weight: 500;
	letter-spacing: -0.02em;
	color: #3a3835;
}

.sas-sbc .sas-sbc__viewport {
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	overscroll-behavior-inline: contain;
	cursor: grab;
}

.sas-sbc .sas-sbc__viewport::-webkit-scrollbar {
	display: none;
}

.sas-sbc .sas-sbc__viewport.is-dragging {
	cursor: grabbing;
	scroll-behavior: auto;
	user-select: none;
}

.sas-sbc .sas-sbc__track {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	width: max-content;
}

.sas-sbc .sas-sbc__slide {
	flex: 0 0 min(1280px, calc(100vw - 140px));
	scroll-snap-align: start;
	min-width: 0;
}

.sas-sbc .sas-sbc__interactive {
	display: flex;
	align-items: stretch;
	gap: 0;
	width: 100%;
	transition: gap .55s cubic-bezier(.22,.61,.36,1);
}

.sas-sbc .sas-sbc__media-shell {
	flex: 0 0 100%;
	min-width: 0;
	transition:
		flex-basis .55s cubic-bezier(.22,.61,.36,1),
		width .55s cubic-bezier(.22,.61,.36,1);
}

.sas-sbc .sas-sbc__interactive.is-product-open {
	gap: 28px;
}

.sas-sbc .sas-sbc__interactive.is-product-open .sas-sbc__media-shell {
	flex-basis: calc(70% - 14px);
}

.sas-sbc .sas-sbc__product-panel {
	flex: 0 0 0;
	min-width: 0;
	width: 0;
	opacity: 0;
	overflow: hidden;
	transform: translateX(16px);
	pointer-events: none;
	transition:
		flex-basis .55s cubic-bezier(.22,.61,.36,1),
		width .55s cubic-bezier(.22,.61,.36,1),
		opacity .35s ease .08s,
		transform .55s cubic-bezier(.22,.61,.36,1);
}

.sas-sbc .sas-sbc__interactive.is-product-open .sas-sbc__product-panel {
	flex-basis: calc(30% - 14px);
	width: calc(30% - 14px);
	opacity: 1;
	transform: translateX(0);
	pointer-events: auto;
}

.sas-sbc .sas-sbc__image-wrap {
	position: relative;
	height: 600px;
	overflow: hidden;
	background: #eee;
}

.sas-sbc .sas-sbc__picture,
.sas-sbc .sas-sbc__image {
	display: block;
	width: 100%;
	height: 100%;
}

.sas-sbc .sas-sbc__image {
	object-fit: cover;
	transform: scale(1);
	transition: transform .65s cubic-bezier(.22,.61,.36,1);
}

.sas-sbc .sas-sbc__interactive.is-product-open .sas-sbc__image {
	transform: scale(1.015);
}

.sas-sbc .sas-sbc__shade {
	position: absolute;
	inset: auto 0 0;
	height: 34%;
	background: linear-gradient(to top, rgba(0,0,0,.38), rgba(0,0,0,0));
	pointer-events: none;
}

.sas-sbc .sas-sbc__slide-title {
	position: absolute;
	left: 56px;
	bottom: 24px;
	z-index: 3;
	margin: 0;
	max-width: 60%;
	color: #fff;
	font-size: 30px;
	line-height: 1.15;
	font-weight: 600;
	letter-spacing: -0.02em;
	text-shadow: 0 1px 16px rgba(0,0,0,.25);
}

.sas-sbc .sas-sbc__button {
	position: absolute;
	right: 32px;
	bottom: 18px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 36px;
	padding: 0 12px;
	border: 1px solid rgba(35,35,35,.35);
	border-radius: 3px;
	background: rgba(255,255,255,.95);
	color: #4b4946;
	text-decoration: none;
	font-size: 14px;
	line-height: 1;
	transition: background-color .2s ease, transform .2s ease;
}

.sas-sbc .sas-sbc__button:hover {
	background: #fff;
	transform: translateY(-1px);
}

.sas-sbc .sas-sbc__button svg {
	width: 15px;
	height: 15px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.3;
}

.sas-sbc .sas-sbc__hotspot {
	position: absolute;
	left: var(--sas-x-desktop);
	top: var(--sas-y-desktop);
	z-index: 4;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 2px solid var(--sas-sbc-hotspot);
	border-radius: 50%;
	background: transparent;
	transform: translate(-50%, -50%);
	cursor: pointer;
	appearance: none;
	transition:
		transform .22s ease,
		border-color .22s ease,
		background-color .22s ease;
}

.sas-sbc .sas-sbc__hotspot::after {
	content: '';
	position: absolute;
	inset: -9px;
	border-radius: 50%;
	border: 1px solid rgba(255,255,255,.32);
	transition: transform .22s ease, opacity .22s ease;
}

.sas-sbc .sas-sbc__hotspot > span {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--sas-sbc-hotspot);
	box-shadow: 0 1px 4px rgba(0,0,0,.25);
	transition: background-color .22s ease;
}

.sas-sbc .sas-sbc__hotspot:hover,
.sas-sbc .sas-sbc__hotspot.is-active {
	transform: translate(-50%, -50%) scale(1.08);
}

.sas-sbc .sas-sbc__hotspot.is-active {
	border-color: #fff;
	background: rgba(255,255,255,.14);
}

.sas-sbc .sas-sbc__hotspot.is-active > span {
	background: var(--sas-sbc-hotspot-active);
}

.sas-sbc .sas-sbc__hotspot.is-active::after {
	transform: scale(1.08);
	opacity: .85;
}

/* Product card */
.sas-sbc .sas-sbc__product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	min-width: 0;
	background: #fff;
}

.sas-sbc .sas-sbc__product-card[hidden] {
	display: none !important;
}

.sas-sbc .sas-sbc__product-close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 4;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255,255,255,.94);
	color: #2f2d2a;
	box-shadow: 0 2px 14px rgba(0,0,0,.08);
	cursor: pointer;
}

.sas-sbc .sas-sbc__product-close svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
}

.sas-sbc .sas-sbc__product-image-link {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #f5f2ed;
	text-decoration: none;
}

.sas-sbc .sas-sbc__product-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform .35s ease;
}

.sas-sbc .sas-sbc__product-image-link:hover .sas-sbc__product-image {
	transform: scale(1.025);
}

.sas-sbc .sas-sbc__product-info {
	padding: 14px 0 0;
}

.sas-sbc .sas-sbc__product-category {
	margin-bottom: 5px;
	font-size: 11px;
	line-height: 1.35;
	color: #8b8781;
	text-transform: uppercase;
	letter-spacing: .05em;
}

.sas-sbc .sas-sbc__product-row {
	display: grid;
	grid-template-columns: minmax(0,1fr) auto;
	align-items: start;
	gap: 14px;
}

.sas-sbc .sas-sbc__product-name {
	color: #4a4742;
	font-size: 15px;
	line-height: 1.35;
	font-weight: 500;
	text-decoration: none;
}

.sas-sbc .sas-sbc__product-price {
	color: #3c3935;
	font-size: 14px;
	line-height: 1.35;
	font-weight: 600;
	text-align: right;
	white-space: nowrap;
}

.sas-sbc .sas-sbc__product-price del {
	display: block;
	font-size: 11px;
	font-weight: 400;
	color: #8b8781;
}

.sas-sbc .sas-sbc__product-price ins {
	text-decoration: none;
	color: #3c3935;
}

.sas-sbc .sas-sbc__product-view {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 14px;
	color: #3c3935;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

.sas-sbc .sas-sbc__product-view svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Bottom progress/navigation */
.sas-sbc .sas-sbc__bottom {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-top: 18px;
}

.sas-sbc .sas-sbc__progress {
	position: relative;
	flex: 1 1 auto;
	height: 3px;
	background: #e5e3df;
	overflow: hidden;
}

.sas-sbc .sas-sbc__progress-bar {
	display: block;
	width: 0;
	height: 100%;
	background: #ff625e;
	transition: width .25s ease;
}

.sas-sbc .sas-sbc__nav {
	display: flex;
	align-items: center;
	gap: 8px;
}

.sas-sbc .sas-sbc__nav-btn {
	display: inline-grid;
	place-items: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid #d8d5cf;
	border-radius: 50%;
	background: #fff;
	color: #34312d;
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease;
}

.sas-sbc .sas-sbc__nav-btn:hover {
	background: #f7f5f1;
	border-color: #bbb6ae;
}

.sas-sbc .sas-sbc__nav-btn svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

div#sas-sbc-product-3a5d7ba-0-3 {
    background: #00000000 !important;
    padding-right: 10px;
    padding-top: 10px;
}
.sas-sbc__interactive.is-product-open {
    background: #f8f5f0;
}

@media (max-width: 1400px) {
	.sas-sbc .sas-sbc__inner {
		width: 100%;
		padding-inline: 24px;
		box-sizing: border-box;
	}
}

/* Tablet */
@media (max-width: 1199px) {
	.sas-sbc .sas-sbc__heading {
		font-size: 34px;
	}

	.sas-sbc .sas-sbc__slide {
		flex-basis: 88vw;
	}

	.sas-sbc .sas-sbc__image-wrap {
		height: 520px;
	}

	.sas-sbc .sas-sbc__slide-title {
		left: 28px;
		font-size: 26px;
	}

	.sas-sbc .sas-sbc__hotspot {
		left: var(--sas-x-tablet);
		top: var(--sas-y-tablet);
	}

	.sas-sbc .sas-sbc__interactive.is-product-open {
		gap: 20px;
	}

	.sas-sbc .sas-sbc__interactive.is-product-open .sas-sbc__media-shell {
		flex-basis: calc(66% - 10px);
	}

	.sas-sbc .sas-sbc__interactive.is-product-open .sas-sbc__product-panel {
		flex-basis: calc(34% - 10px);
		width: calc(34% - 10px);
	}
}

/* Mobile: keep banner full width and reveal product card below it. */
@media (max-width: 767px) {
	.sas-sbc {
		padding-top: 24px;
	}

	.sas-sbc .sas-sbc__inner {
		padding-inline: 16px;
	}

	.sas-sbc .sas-sbc__heading {
		margin-bottom: 14px;
		font-size: 28px;
	}

	.sas-sbc .sas-sbc__track {
		gap: 12px;
	}

	.sas-sbc .sas-sbc__slide {
		flex-basis: calc(100vw - 48px);
	}

	.sas-sbc .sas-sbc__interactive,
	.sas-sbc .sas-sbc__interactive.is-product-open {
		display: block;
	}

	.sas-sbc .sas-sbc__media-shell,
	.sas-sbc .sas-sbc__interactive.is-product-open .sas-sbc__media-shell {
		width: 100%;
		flex-basis: auto;
	}

	.sas-sbc .sas-sbc__image-wrap {
		height: 440px;
	}

	.sas-sbc .sas-sbc__image {
		transform: none !important;
	}

	.sas-sbc .sas-sbc__hotspot {
		left: var(--sas-x-mobile);
		top: var(--sas-y-mobile);
		width: 31px;
		height: 31px;
	}

	.sas-sbc .sas-sbc__hotspot > span {
		width: 12px;
		height: 12px;
	}

	.sas-sbc .sas-sbc__slide-title {
		left: 18px;
		right: 18px;
		bottom: 66px;
		max-width: none;
		font-size: 22px;
	}

	.sas-sbc .sas-sbc__button {
		left: 18px;
		right: auto;
		bottom: 18px;
	}

	.sas-sbc .sas-sbc__product-panel,
	.sas-sbc .sas-sbc__interactive.is-product-open .sas-sbc__product-panel {
		width: 100%;
		max-height: 0;
		flex-basis: auto;
		margin-top: 0;
		opacity: 0;
		overflow: hidden;
		transform: translateY(-8px);
		pointer-events: none;
		transition:
			max-height .5s cubic-bezier(.22,.61,.36,1),
			margin-top .5s cubic-bezier(.22,.61,.36,1),
			opacity .3s ease,
			transform .5s cubic-bezier(.22,.61,.36,1);
	}

	.sas-sbc .sas-sbc__interactive.is-product-open .sas-sbc__product-panel {
		max-height: 280px;
		margin-top: 14px;
		opacity: 1;
		transform: translateY(0);
		pointer-events: auto;
	}

	.sas-sbc .sas-sbc__product-card {
		display: grid;
		grid-template-columns: 128px minmax(0,1fr);
		min-height: 128px;
		padding: 10px;
		border: 1px solid #ece8e1;
		background: #fff;
	}

	.sas-sbc .sas-sbc__product-image-link {
		width: 128px;
		aspect-ratio: 1 / 1;
	}

	.sas-sbc .sas-sbc__product-info {
		align-self: center;
		padding: 2px 34px 2px 14px;
	}

	.sas-sbc .sas-sbc__product-row {
		display: block;
	}

	.sas-sbc .sas-sbc__product-price {
		margin-top: 7px;
		text-align: left;
		white-space: normal;
	}

	.sas-sbc .sas-sbc__product-price del {
		display: inline;
		margin-left: 6px;
	}

	.sas-sbc .sas-sbc__product-view {
		margin-top: 9px;
	}

	.sas-sbc .sas-sbc__product-close {
		top: 9px;
		right: 9px;
		width: 30px;
		height: 30px;
	}

	.sas-sbc .sas-sbc__nav {
		display: none;
	}
}

@media (max-width: 420px) {
	.sas-sbc .sas-sbc__image-wrap {
		height: 400px;
	}

	.sas-sbc .sas-sbc__product-card {
		grid-template-columns: 104px minmax(0,1fr);
		min-height: 104px;
	}

	.sas-sbc .sas-sbc__product-image-link {
		width: 104px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sas-sbc .sas-sbc__viewport {
		scroll-behavior: auto;
	}

	.sas-sbc *,
	.sas-sbc *::before,
	.sas-sbc *::after {
		transition: none !important;
	}
}

/* Full-bleed collection slider: first slide starts at content alignment,
   but subsequent slides can snap flush to the viewport edge. */
@media (min-width: 768px) {
  .sas-sbc {
    --sas-sbc-gutter: max(24px, calc((100vw - 1050px) / 2));
    max-width: 100%;
    overflow: clip; /* contain the bleed without a page-level scrollbar */
  }

  .sas-sbc .sas-sbc__inner {
    width: min(1050px, calc(100% - 48px));
    padding-inline: 0;
    margin-inline: auto;
  }

  .sas-sbc .sas-sbc__viewport {
    width: 100vw;
    max-width: none;
    margin-left: calc(-1 * var(--sas-sbc-gutter));
    overflow-x: auto;
    overflow-y: hidden;
    scroll-padding-inline-start: 0;
  }

  .sas-sbc .sas-sbc__track {
    width: max-content;
    box-sizing: border-box;
    padding-left: var(--sas-sbc-gutter);
    padding-right: 24px;
  }

  /* First snap preserves its initial content gutter; slides 2+ do not. */
  .sas-sbc .sas-sbc__slide:first-child {
    scroll-margin-left: var(--sas-sbc-gutter);
  }

  .sas-sbc .sas-sbc__slide {
    flex-basis: min(1280px, calc(100vw - 150px));
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .sas-sbc .sas-sbc__slide { flex-basis: 86vw; }
}

@media (max-width: 767px) {
  .sas-sbc .sas-sbc__viewport { max-width: 100%; }
}

/* Product popup aspect ratio (does not affect collection hero) */
.sas-sbc .sas-sbc__product-image-link{aspect-ratio:var(--sbc-product-ratio,4 / 5)}
