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

.pc-home-shop {
	--pc-home-navy: #00243e;
	--pc-home-navy-hover: #123a52;
	--pc-home-muted: #587080;
	--pc-home-soft: #718796;
	--pc-home-line: rgb(0 36 62 / 10%);
	--pc-home-image-bg: #f3f1ec;
	width: 100vw;
	max-width: none;
	margin-inline: calc(50% - 50vw);
	overflow: hidden;
	background: #fff;
	color: var(--pc-home-navy);
	font-family: var(--e-global-typography-primary-font-family, "Quicksand"), "Quicksand", Arial, sans-serif;
}

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

.pc-home-shop__container {
	width: 100%;
	max-width: none;
	margin-inline: 0;
	padding: 64px clamp(32px, 3.35vw, 64px);
}

.pc-home-shop__section {
	margin: 0 0 96px;
}

.pc-home-shop__section--divided {
	padding-top: 64px;
	border-top: 1px solid var(--pc-home-line);
}

.pc-home-shop__heading,
.pc-home-shop__recent-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: 28px;
}

.pc-home-shop__heading-copy {
	max-width: 960px;
}

.pc-home-shop__eyebrow,
.pc-home-shop__title,
.pc-home-shop__product-name,
.pc-home-shop__product-category,
.pc-home-shop__price,
.pc-home-shop__recent-label,
.pc-home-shop__recent-name {
	margin: 0;
}

/* Una única regla compartida garantiza categoría, tamaño y color idénticos. */
.pc-home-shop__eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
	color: var(--pc-home-muted);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.2em;
	line-height: 1.4;
	text-transform: uppercase;
}

.pc-home-shop__eyebrow > span {
	display: block;
	width: 36px;
	height: 1px;
	background: #97aac0;
}

/* Una única regla compartida mantiene todos los titulares al mismo tamaño. */
.pc-home-shop__title {
	max-width: 960px;
	color: var(--pc-home-navy);
	font-size: clamp(36px, 3.05vw, 52px);
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.05;
	text-wrap: balance;
}

.pc-home-shop__controls {
	display: flex;
	align-items: center;
	gap: 8px;
	padding-bottom: 2px;
}

.pc-home-shop__control {
	display: inline-grid;
	width: 44px;
	height: 44px;
	padding: 0;
	place-items: center;
	border: 1px solid rgb(0 36 62 / 20%);
	border-radius: 50%;
	background: #fff;
	color: var(--pc-home-navy);
	cursor: pointer;
	transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, opacity 180ms ease;
	appearance: none;
}

.pc-home-shop__control--primary,
.pc-home-shop__control:hover,
.pc-home-shop__control:focus-visible {
	border-color: var(--pc-home-navy);
	background: var(--pc-home-navy);
	color: #fff;
}

.pc-home-shop__control:focus-visible,
.pc-home-shop__card-link:focus-visible,
.pc-home-shop__recent-card:focus-visible,
.pc-home-shop__orders-link:focus-visible,
.pc-home-shop__all-products-link:focus-visible {
	outline: 2px solid var(--pc-home-navy);
	outline-offset: 4px;
}

.pc-home-shop__control:disabled {
	cursor: not-allowed;
	opacity: 0.3;
}

.pc-home-shop__control svg,
.pc-home-shop__orders-link svg,
.pc-home-shop__repeat-link svg,
.pc-home-shop__all-products-link svg {
	display: block;
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentcolor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.5;
}

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

.pc-home-shop__track::-webkit-scrollbar {
	display: none;
}

.pc-home-shop__track:focus-visible {
	outline: 2px solid var(--pc-home-navy);
	outline-offset: 4px;
}

.pc-home-shop__card {
	flex: 0 0 calc(25% - 18px);
	min-width: 0;
	scroll-snap-align: start;
}

.pc-home-shop__card-link {
	display: block;
	border-radius: 16px;
	color: inherit;
	text-decoration: none;
}

.pc-home-shop__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 16px;
	background: var(--pc-home-image-bg);
}

.pc-home-shop__image,
.pc-home-shop__image-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pc-home-shop__image {
	transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.pc-home-shop__card:hover .pc-home-shop__image,
.pc-home-shop__card:focus-within .pc-home-shop__image {
	transform: scale(1.035);
}

.pc-home-shop__badge {
	position: absolute;
	top: 16px;
	left: 16px;
	padding: 7px 12px;
	border-radius: 999px;
	background: rgb(255 255 255 / 95%);
	color: var(--pc-home-navy);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.1em;
	line-height: 1.2;
	text-transform: uppercase;
}

.pc-home-shop__product-meta {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 4px 0;
}

.pc-home-shop__product-copy {
	min-width: 0;
}

.pc-home-shop__product-name {
	color: var(--pc-home-navy);
	font-size: 19px;
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.25;
}

.pc-home-shop__product-category {
	margin-top: 5px;
	color: var(--pc-home-soft);
	font-size: 14px;
	line-height: 1.45;
}

.pc-home-shop__price {
	flex: 0 0 auto;
	color: var(--pc-home-navy);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
	text-align: right;
}

.pc-home-shop__price del {
	display: block;
	color: var(--pc-home-soft);
	font-size: 12px;
	font-weight: 400;
}

.pc-home-shop__price ins {
	text-decoration: none;
}

.pc-home-shop__recent {
	margin-bottom: 0;
}

.pc-home-shop__orders-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
	color: var(--pc-home-navy);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.pc-home-shop__recent-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.pc-home-shop__recent-card {
	display: flex;
	align-items: center;
	gap: 16px;
	min-width: 0;
	padding: 12px;
	border-radius: 16px;
	color: inherit;
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.pc-home-shop__recent-card:hover,
.pc-home-shop__recent-card:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 12px 35px rgb(0 36 62 / 8%);
}

.pc-home-shop__recent-media {
	flex: 0 0 112px;
	width: 112px;
	height: 112px;
	overflow: hidden;
	border-radius: 12px;
	background: var(--pc-home-image-bg);
}

.pc-home-shop__recent-copy {
	min-width: 0;
}

.pc-home-shop__recent-label {
	color: var(--pc-home-soft);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
}

.pc-home-shop__recent-name {
	margin-top: 5px;
	color: var(--pc-home-navy);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
}

.pc-home-shop__repeat-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 12px;
	color: var(--pc-home-navy);
	font-size: 14px;
	font-weight: 600;
}

.pc-home-shop__repeat-link svg {
	transition: transform 180ms ease;
}

.pc-home-shop__recent-card:hover .pc-home-shop__repeat-link svg {
	transform: translateX(3px);
}

.pc-home-shop__all-products {
	margin-top: 48px;
	text-align: center;
}

.pc-home-shop__all-products-link {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	border-radius: 999px;
	background: var(--pc-home-navy);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 180ms ease;
}

.pc-home-shop__all-products-link:hover,
.pc-home-shop__all-products-link:focus-visible {
	background: var(--pc-home-navy-hover);
	color: #fff;
}

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

@media (max-width: 1023px) {
	.pc-home-shop__container {
		padding: 48px 32px;
	}

	.pc-home-shop__section {
		margin-bottom: 72px;
	}

	.pc-home-shop__section--divided {
		padding-top: 56px;
	}

	.pc-home-shop__track {
		gap: 20px;
	}

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

	.pc-home-shop__recent-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 639px) {
	.pc-home-shop__container {
		padding: 40px 20px;
	}

	.pc-home-shop__section {
		margin-bottom: 56px;
	}

	.pc-home-shop__section--divided {
		padding-top: 44px;
	}

	.pc-home-shop__heading,
	.pc-home-shop__recent-heading {
		align-items: flex-end;
		gap: 16px;
		margin-bottom: 24px;
	}

	.pc-home-shop__eyebrow {
		font-size: 11px;
	}

	.pc-home-shop__title {
		font-size: 34px;
	}

	/* En el movil se pasa con el dedo: las flechas solo comen ancho al titular. */
	.pc-home-shop__controls {
		display: none;
	}

	.pc-home-shop__control {
		width: 44px;
		height: 44px;
	}

	.pc-home-shop__track {
		gap: 16px;
	}

	.pc-home-shop__card {
		flex-basis: 100%;
	}

	.pc-home-shop__badge {
		top: 12px;
		left: 12px;
	}

	.pc-home-shop__product-name {
		font-size: 18px;
	}

	.pc-home-shop__recent-heading {
		align-items: flex-start;
		flex-direction: column;
	}

	.pc-home-shop__recent-card {
		padding: 8px 0;
	}

	.pc-home-shop__recent-media {
		flex-basis: 96px;
		width: 96px;
		height: 96px;
	}

	.pc-home-shop__all-products {
		margin-top: 40px;
	}
}

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

	.pc-home-shop__image,
	.pc-home-shop__recent-card,
	.pc-home-shop__repeat-link svg {
		transition: none;
	}
}
