.pc-stores,
.pc-stores * {
	box-sizing: border-box;
}

.pc-stores {
	--pc-navy: #00243e;
	--pc-navy-deep: #001725;
	--pc-sand: #e5d5bc;
	--pc-white: #ffffff;
	position: relative;
	isolation: isolate;
	width: 100vw;
	max-width: none;
	margin-inline: calc(50% - 50vw);
	overflow: hidden;
	background: var(--pc-navy);
	color: var(--pc-white);
	font-family: var(--e-global-typography-primary-font-family, "Quicksand"), "Quicksand", Arial, sans-serif;
}

@supports (width: 100dvw) {
	.pc-stores {
		width: 100dvw;
		margin-inline: calc(50% - 50dvw);
	}
}

.pc-stores::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(circle at 82% 10%, rgb(43 157 176 / 26%), transparent 28%),
		radial-gradient(circle at 16% 100%, rgb(211 187 147 / 16%), transparent 34%);
	content: "";
	opacity: 0.3;
	pointer-events: none;
}

.pc-stores__container {
	width: 100%;
	padding: 40px clamp(32px, 3.35vw, 64px);
}

.pc-stores__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: 32px;
}

.pc-stores__heading-group {
	max-width: 900px;
}

.pc-stores__eyebrow,
.pc-stores__city,
.pc-stores__hint,
.pc-stores__title,
.pc-stores__name,
.pc-stores__details,
.pc-stores__position {
	margin: 0;
}

.pc-stores__eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
	color: var(--pc-sand);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.2em;
	line-height: 1.4;
	text-transform: uppercase;
}

.pc-stores__eyebrow > span {
	display: block;
	width: 36px;
	height: 1px;
	background: currentcolor;
}

.pc-stores__title {
	max-width: 896px;
	color: var(--pc-white);
	font-size: clamp(32px, 3.35vw, 48px);
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.05;
	text-wrap: balance;
}

.pc-stores__desktop-controls,
.pc-stores__mobile-controls {
	display: flex;
	align-items: center;
	gap: 12px;
}

.pc-stores .pc-stores__control {
	display: inline-grid !important;
	width: 48px !important;
	min-width: 48px;
	height: 48px !important;
	padding: 0 !important;
	place-items: center;
	border: 1px solid rgb(255 255 255 / 25%) !important;
	border-radius: 50% !important;
	background: transparent !important;
	color: var(--pc-white) !important;
	cursor: pointer;
	transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease;
	appearance: none;
}

.pc-stores__control svg,
.pc-stores__detail svg {
	display: block;
	fill: none;
	stroke: currentcolor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.5;
}

.pc-stores__control svg {
	width: 20px;
	height: 20px;
}

.pc-stores .pc-stores__control:hover,
.pc-stores .pc-stores__control:focus-visible {
	border-color: var(--pc-sand) !important;
	background: var(--pc-sand) !important;
	color: var(--pc-navy) !important;
}

.pc-stores__control:focus-visible {
	outline: 2px solid var(--pc-sand);
	outline-offset: 4px;
}

.pc-stores .pc-stores__control--primary {
	border-color: var(--pc-sand) !important;
	background: var(--pc-sand) !important;
	color: var(--pc-navy) !important;
}

.pc-stores__play-icon,
.pc-stores__autoplay[aria-pressed="true"] .pc-stores__pause-icon {
	display: none;
}

.pc-stores__autoplay[aria-pressed="true"] .pc-stores__play-icon {
	display: block;
}

.pc-stores__track {
	display: flex;
	gap: 24px;
	overflow-x: auto;
	padding: 0 0 20px;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.pc-stores__track::-webkit-scrollbar {
	display: none;
}

.pc-stores__track:focus-visible {
	outline: 2px solid var(--pc-sand);
	outline-offset: 4px;
}

.pc-stores__card {
	position: relative;
	display: flex;
	flex: 0 0 calc(25% - 18px);
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border-radius: 16px;
	background: #0b344c;
	cursor: pointer;
	scroll-snap-align: start;
}

.pc-stores__card-link {
	position: absolute;
	inset: 0;
	z-index: 4;
	border-radius: 16px;
}

.pc-stores__card-link:focus-visible {
	outline: none;
	box-shadow: inset 0 0 0 2px var(--pc-sand);
}

.pc-stores__media {
	position: relative;
	flex: 0 0 auto;
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #082c43;
}

.pc-stores .pc-stores__image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100% !important;
	max-width: none;
	height: 100% !important;
	object-fit: cover;
	transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.pc-stores__card:hover .pc-stores__image,
.pc-stores__card:focus-within .pc-stores__image {
	transform: scale(1.035);
}

.pc-stores__card--without-image .pc-stores__media {
	display: none;
}

.pc-stores__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 24px;
	pointer-events: none;
}

.pc-stores__city {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
	color: var(--pc-sand);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.15em;
	line-height: 1.4;
	text-transform: uppercase;
}

.pc-stores__city > span {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--pc-sand);
}

.pc-stores__name {
	margin-bottom: 14px;
	color: var(--pc-white);
	font-size: clamp(21px, 1.55vw, 25px);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.pc-stores__details {
	display: grid;
	gap: 10px;
	color: rgb(255 255 255 / 85%);
	font-size: 14px;
	line-height: 1.5;
}

.pc-stores__detail {
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr);
	gap: 10px;
	align-items: start;
}

.pc-stores__detail dt,
.pc-stores__detail dd {
	margin: 0;
}

.pc-stores__detail dt {
	padding-top: 2px;
	color: var(--pc-sand);
}

.pc-stores__detail svg {
	width: 16px;
	height: 16px;
}

.pc-stores__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.pc-stores__position {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	gap: 16px;
	min-width: 0;
	font-size: 14px;
	font-variant-numeric: tabular-nums;
}

.pc-stores__current {
	width: 24px;
	font-weight: 500;
}

.pc-stores__total {
	color: rgb(255 255 255 / 55%);
}

.pc-stores__progress {
	position: relative;
	flex: 1 1 auto;
	height: 1px;
	overflow: hidden;
	background: rgb(255 255 255 / 20%);
}

.pc-stores__progress > span {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	background: var(--pc-sand);
	transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.pc-stores__hint {
	color: #c7d9e8;
	font-size: 14px;
	line-height: 1.5;
}

.pc-stores__mobile-controls {
	display: none;
}

@media (max-width: 1439px) {
	.pc-stores__card {
		flex-basis: calc(33.333% - 16px);
	}
}

@media (max-width: 1023px) {
	.pc-stores__container {
		padding: 40px 32px;
	}

	.pc-stores__card {
		flex-basis: calc(50% - 10px);
	}

	.pc-stores__track {
		gap: 20px;
	}

	.pc-stores__content {
		padding: 24px;
	}
}

@media (max-width: 639px) {
	.pc-stores__container {
		padding: 32px 20px;
	}

	.pc-stores__header {
		margin-bottom: 24px;
	}

	.pc-stores__eyebrow {
		font-size: 11px;
	}

	.pc-stores__title {
		font-size: 32px;
	}

	.pc-stores__desktop-controls,
	.pc-stores__hint {
		display: none;
	}

	.pc-stores__track {
		gap: 16px;
	}

	.pc-stores__card {
		flex-basis: 100%;
	}

	.pc-stores__content {
		padding: 22px 20px 24px;
	}

	.pc-stores__name {
		font-size: 23px;
	}

	.pc-stores__details {
		font-size: 13px;
	}

	.pc-stores__footer,
	.pc-stores__mobile-controls {
		display: flex;
	}

	.pc-stores__footer {
		gap: 16px;
	}

	.pc-stores__mobile-controls {
		gap: 8px;
	}

	/* Solo queda el boton de pausa: quien no quiera movimiento tiene que poder pararlo. */
	.pc-stores__mobile-controls .pc-stores__control:not(.pc-stores__autoplay) {
		display: none !important;
	}

	.pc-stores__mobile-controls .pc-stores__control {
		width: 44px !important;
		min-width: 44px;
		height: 44px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pc-stores__track {
		scroll-behavior: auto;
	}

	.pc-stores__image,
	.pc-stores__progress > span {
		transition: none;
	}
}
