/* ==========================================================================
   Homepage sections
   ========================================================================== */

.pc-main--front { padding-block: 0; }

/* Slider — contained peek carousel */
.pc-slider { position: relative; padding: 1.75rem 0 2.5rem; background: #eef1f5; overflow: hidden; }
.pc-slider__viewport { overflow: hidden; width: 100%; }
.pc-slider__track { display: flex; gap: 1rem; align-items: stretch; transition: transform 0.55s cubic-bezier(.4,0,.2,1); will-change: transform; }
.pc-slider:not(.is-ready) .pc-slider__slide:not(.is-active) { display: none; }
.pc-slider__slide {
	flex: 0 0 min(920px, calc(100vw - 3rem));
	max-width: 100%;
	background: var(--slide-bg, #f5f0e8);
	border-radius: 16px;
	overflow: hidden;
	opacity: 0.45;
	transform: scale(0.94);
	transition: opacity 0.45s ease, transform 0.45s ease;
	box-shadow: 0 8px 32px rgba(0,0,0,.06);
}
.pc-slider__slide.is-active { opacity: 1; transform: scale(1); box-shadow: 0 16px 48px rgba(0,0,0,.1); }
.pc-slider__slide .pc-slider__inner { padding: 2rem 0; }

.pc-slider__inner { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 2rem; min-height: 300px; padding-inline: 1rem; }
.pc-slider__badge { display: inline-block; background: #f97316; color: #fff; font-size: 0.75rem; font-weight: 700; padding: 0.25rem 0.65rem; border-radius: 999px; margin-bottom: 0.75rem; }
.pc-slider__title { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 700; color: #111827; margin: 0 0 0.75rem; line-height: 1.15; max-width: 420px; }
.pc-slider__subtitle { color: #4b5563; margin: 0 0 1.25rem; max-width: 380px; }
.pc-slider__promo-label { font-size: 0.875rem; color: #6b7280; margin: 0; }
.pc-slider__promo-value { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; color: #2563eb; margin: 0; line-height: 1; }
.pc-slider__visual { justify-self: end; }
.pc-slider__img { max-height: 280px; width: auto; object-fit: contain; }

.pc-slider__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(255,255,255,.95); box-shadow: 0 4px 16px rgba(0,0,0,.12); cursor: pointer; z-index: 3; font-size: 1.25rem; color: #374151; }
.pc-slider__arrow--prev { left: 0.75rem; }
.pc-slider__arrow--next { right: 0.75rem; }
.pc-slider__dots { display: flex; justify-content: center; gap: 0.5rem; padding-bottom: 1rem; }
.pc-slider__dots button { width: 8px; height: 8px; border-radius: 50%; border: none; background: #d1d5db; cursor: pointer; padding: 0; }
.pc-slider__dots button.is-active { background: #2563eb; width: 24px; border-radius: 999px; }

/* Trust bar — Porto */
.pc-trust { background: #fff; border-bottom: 1px solid #e5e7eb; padding: 1.25rem 0; }
.pc-trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.pc-trust__item { display: flex; align-items: center; gap: 0.85rem; }
.pc-trust__item strong { display: block; font-size: 0.9375rem; color: #111827; }
.pc-trust__item span { font-size: 0.8125rem; color: #6b7280; }
.pc-trust__icon { width: 44px; height: 44px; border-radius: 50%; border: 2px solid #2563eb; flex-shrink: 0; position: relative; }
.pc-trust__icon--shipping::after { content: '🚚'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.pc-trust__icon--payment::after { content: '$'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #2563eb; }
.pc-trust__icon--support::after { content: '24'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; color: #2563eb; }
.pc-trust__icon--handmade::after { content: '✂'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }

/* Wolmart categories */
.pc-categories--wolmart { background: #fff; }
.pc-section__header--center { flex-direction: column; align-items: center; text-align: center; }
.pc-categories__grid--wolmart { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }

.pc-wolmart-card { position: relative; display: block; min-height: 220px; border-radius: 4px; overflow: hidden; background: var(--card-bg, #8b7355); text-decoration: none; }
.pc-wolmart-card__img { position: absolute; right: 0; bottom: 0; max-width: 70%; max-height: 85%; object-fit: contain; object-position: bottom right; transition: transform 0.4s; }
.pc-wolmart-card--has-image .pc-wolmart-card__img { inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; object-position: center; }
.pc-wolmart-card__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.25rem; color: #fff; background: linear-gradient(to top, rgba(0,0,0,.35), transparent 60%); }
.pc-wolmart-card--has-image .pc-wolmart-card__overlay { background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.25) 45%, transparent 100%); }
.pc-wolmart-card__overlay h3 { margin: 0; font-size: 1.25rem; font-weight: 700; }
.pc-wolmart-card__overlay p { margin: 0.25rem 0 0; font-size: 0.875rem; opacity: 0.9; }
.pc-wolmart-card__btn { display: inline-block; margin-top: 0.75rem; padding: 0.45rem 1rem; background: #fff; color: #111; font-size: 0.8125rem; font-weight: 600; border-radius: 4px; opacity: 0; transform: translateY(8px); transition: opacity 0.3s, transform 0.3s; width: fit-content; }
.pc-wolmart-card:hover .pc-wolmart-card__btn { opacity: 1; transform: none; }
.pc-wolmart-card:hover .pc-wolmart-card__img { transform: scale(1.05); }

/* Kuden origin hub — sidebar + products */
.pc-origin-hub { background: #fff; }
.pc-origin-hub__header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.pc-origin-hub__title { margin: 0; position: relative; padding-left: 1rem; }
.pc-origin-hub__title::before { content: ''; position: absolute; left: 0; top: 0.15em; bottom: 0.15em; width: 3px; background: #111827; border-radius: 2px; }
.pc-origin-hub__view-all { text-decoration: none; color: #f97316; font-weight: 600; font-size: 0.9375rem; border: 1px solid #f97316; border-radius: 999px; padding: 0.45rem 1rem; white-space: nowrap; }
.pc-origin-hub__view-all:hover { background: #fff7ed; color: #ea580c; }

.pc-origin-hub__grid { display: grid; grid-template-columns: minmax(220px, 280px) 1fr; gap: 1.75rem; align-items: start; }
.pc-origin-hub__sidebar { display: flex; flex-direction: column; gap: 0.65rem; }
.pc-origin-hub__products { min-height: 320px; position: relative; }
.pc-origin-hub__panel { display: none; animation: pcFadeIn 0.35s ease; }
.pc-origin-hub__panel.is-active { display: block; }
.pc-origin-hub__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.pc-origin-hub__cards .pc-shop-card { flex: none; min-width: 0; }
.pc-origin-hub__empty { color: #6b7280; padding: 2rem; background: #f9fafb; border-radius: 8px; margin: 0; }

.pc-origin__banner {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 72px;
	border-radius: 6px;
	overflow: hidden;
	text-decoration: none;
	color: #fff;
	border: none;
	cursor: pointer;
	text-align: left;
	font: inherit;
	padding: 0;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pc-origin__banner:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.pc-origin__banner.is-active { background: #f97316; box-shadow: 0 8px 24px rgba(249,115,22,.35); }
.pc-origin__banner.is-active::before,
.pc-origin__banner.is-active .pc-origin__img,
.pc-origin__banner.is-active .pc-origin__placeholder,
.pc-origin__banner.is-active .pc-origin__arrow { display: none; }
.pc-origin__img, .pc-origin__placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.pc-origin__placeholder { background: linear-gradient(135deg, #5c3d2e, #b85c38); }
.pc-origin__banner::before { content: ''; position: absolute; inset: 0; background: var(--banner-overlay, rgba(0,0,0,.45)); z-index: 1; pointer-events: none; }
.pc-origin__label { position: relative; z-index: 2; flex: 1; padding: 1rem 1.25rem; font-weight: 700; letter-spacing: 0.06em; font-size: 0.875rem; }
.pc-origin__arrow { position: relative; z-index: 2; padding-right: 1.25rem; font-size: 1.25rem; opacity: 0.85; }

@keyframes pcFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Featured Collections — Kuden Swiper coverflow */
.pc-fc {
	padding: 4rem 0 5rem;
	background: #fff;
	overflow: hidden;
}
.pc-fc__title {
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	font-weight: 700;
	color: #111827;
	margin: 0 0 2.75rem;
	text-align: center;
}
.pc-fc__wrap {
	position: relative;
	width: 100%;
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 clamp(2.75rem, 6vw, 4.5rem);
	overflow: hidden;
	perspective: 1400px;
}

.pc-fc-swiper {
	overflow: hidden !important;
	padding: 0;
	width: 100%;
}

.pc-fc-swiper .swiper-wrapper {
	align-items: center;
}

.pc-fc-swiper .swiper-slide {
	width: 300px;
	height: auto;
	backface-visibility: hidden;
}

.pc-fc__image {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: #f3f4f6;
	border-radius: 2px;
	box-shadow: 0 10px 36px rgba(0, 0, 0, 0.1);
	transition: box-shadow 0.35s ease;
}

.pc-fc-swiper .swiper-slide-active .pc-fc__image {
	box-shadow: 0 20px 56px rgba(0, 0, 0, 0.16);
}

.pc-fc__image img,
.pc-fc__placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.pc-fc__placeholder {
	background: linear-gradient(145deg, #5c3d2e 0%, #c9924e 100%);
}

.pc-fc__info {
	padding-top: 1.25rem;
	text-align: center;
	min-height: 4.5rem;
}

.pc-fc__item-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: #111827;
	margin: 0 0 0.35rem;
	line-height: 1.25;
}

.pc-fc__shop-all {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 0.75rem;
	font-weight: 600;
	color: #111827;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.pc-fc__shop-all:hover { color: #c9924e; }

.pc-fc__arrows {
	pointer-events: none;
	position: absolute;
	inset: 0;
	top: 38%;
	transform: translateY(-50%);
	left: 0;
	right: 0;
	height: 0;
}

.pc-fc__arrow {
	pointer-events: auto;
	position: absolute;
	top: 0;
	z-index: 20;
	width: 42px;
	height: 42px;
	border: 1px solid #c9924e;
	background: #fff;
	color: #c9924e;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border-radius: 0;
	transition: background 0.2s, color 0.2s;
}

.pc-fc__arrow:hover { background: #c9924e; color: #fff; }
.pc-fc__arrow--prev { left: 0; }
.pc-fc__arrow--next { right: 0; }
.pc-fc__arrow.swiper-button-disabled { opacity: 0.35; cursor: default; pointer-events: none; }

/* Collection hero-box — Kuden */
.pc-hero-box { padding: 3rem 0; background: #fafafa; overflow: hidden; }
.pc-hero-box__wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 0.75rem; align-items: stretch; min-height: 320px; max-width: 100%; }
.pc-hero-box__side {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.5rem;
	color: #111827;
	min-width: 44px;
}
.pc-hero-box__side:disabled { opacity: 0.35; cursor: default; }
.pc-hero-box__side-label {
	writing-mode: vertical-rl;
	text-orientation: mixed;
	transform: rotate(180deg);
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1.4;
	max-height: 220px;
}
.pc-hero-box__side--next .pc-hero-box__side-label { transform: none; }
.pc-hero-box__side-arrow { color: #c9924e; font-size: 1.125rem; line-height: 1; }
.pc-hero-box__viewport { overflow: hidden; min-width: 0; }
.pc-hero-box__track { display: flex; gap: 1rem; transition: transform 0.5s cubic-bezier(.4,0,.2,1); will-change: transform; }
.pc-hero-box__card {
	flex: 0 0 calc(50% - 0.5rem);
	min-height: 320px;
	border-radius: 4px;
	background-color: #5c3d2e;
	background-size: cover;
	background-position: center;
	position: relative;
	text-decoration: none;
	overflow: hidden;
}
.pc-hero-box__card-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(0,0,0,.58) 0%, rgba(0,0,0,.2) 42%, transparent 68%);
	padding: 1.5rem;
	color: #fff;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.pc-hero-box__card--has-image .pc-hero-box__card-overlay { background: linear-gradient(to bottom, rgba(0,0,0,.62) 0%, rgba(0,0,0,.25) 42%, rgba(0,0,0,.08) 68%); }
.pc-hero-box__eyebrow { font-size: 0.875rem; font-weight: 500; margin: 0 0 0.35rem; opacity: 0.95; }
.pc-hero-box__card-title { font-size: clamp(1.35rem, 2.5vw, 1.75rem); font-weight: 700; margin: 0 0 1rem; line-height: 1.2; max-width: 90%; }
.pc-hero-box__cta {
	display: inline-block;
	background: #f97316;
	color: #fff;
	padding: 0.55rem 1rem;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	border-radius: 3px;
	margin-top: auto;
}

/* Product rows carousel */
.pc-product-row { background: #fff; overflow: hidden; }
.pc-product-row__track { position: relative; overflow: hidden; padding: 0 2.5rem; }
.pc-product-row__grid { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0.25rem 0 1rem; -webkit-overflow-scrolling: touch; }
.pc-product-row__grid::-webkit-scrollbar { display: none; }
.pc-product-row__grid .pc-shop-card { scroll-snap-align: start; flex: 0 0 min(280px, 82vw); min-width: 0; }
.pc-product-row__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 1px solid #e5e7eb; background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.08); cursor: pointer; z-index: 2; }
.pc-product-row__nav--prev { left: 0.25rem; }
.pc-product-row__nav--next { right: 0.25rem; }

@media (max-width: 1024px) {
	.pc-trust__grid { grid-template-columns: repeat(2, 1fr); }
	.pc-categories__grid--wolmart { grid-template-columns: repeat(2, 1fr); }
	.pc-origin-hub__grid { grid-template-columns: 1fr; }
	.pc-origin-hub__cards { grid-template-columns: repeat(2, 1fr); }
	.pc-hero-box__card { flex-basis: calc(100% - 0.5rem); }
	.pc-fc__wrap { padding: 0 2.75rem; perspective: 1000px; }
	.pc-fc-swiper .swiper-slide { width: 280px; }
	.pc-slider__inner { grid-template-columns: 1fr 1fr; grid-template-areas: "content visual" "promo visual"; gap: 1.25rem; min-height: auto; padding: 1.5rem 1rem; }
	.pc-slider__content { grid-area: content; }
	.pc-slider__promo { grid-area: promo; align-self: start; }
	.pc-slider__visual { grid-area: visual; justify-self: end; }
	.pc-slider__slide { flex-basis: min(720px, calc(100vw - 2.5rem)); }
	.pc-product-row__track { padding: 0 2.25rem; }
}

@media (max-width: 767px) {
	.pc-main--front { overflow-x: visible; }

	.pc-trust { padding: 1rem 0; }
	.pc-trust__grid { grid-template-columns: 1fr; gap: 0.85rem; }
	.pc-trust__item { padding: 0.35rem 0; }

	.pc-categories__grid--wolmart { grid-template-columns: 1fr; }
	.pc-wolmart-card { min-height: 180px; }
	.pc-wolmart-card__btn { opacity: 1; transform: none; }

	.pc-slider { padding: 0.75rem 0 1.25rem; }
	.pc-slider__track { gap: 0.75rem; }
	.pc-slider__slide {
		flex-basis: calc(100% - 1rem);
		opacity: 1;
		transform: none;
		border-radius: 12px;
	}
	.pc-slider__slide:not(.is-active) { opacity: 0.35; }
	.pc-slider__inner {
		grid-template-columns: 1fr;
		grid-template-areas: "visual" "content" "promo";
		gap: 0.85rem;
		min-height: auto;
		padding: 1rem 0.75rem;
		text-align: center;
	}
	.pc-slider__content { grid-area: content; min-width: 0; }
	.pc-slider__promo { grid-area: promo; justify-self: center; }
	.pc-slider__visual { grid-area: visual; justify-self: center; }
	.pc-slider__title { max-width: none; font-size: 1.35rem; margin-bottom: 0.5rem; }
	.pc-slider__subtitle { max-width: none; font-size: 0.9375rem; margin-bottom: 0.85rem; }
	.pc-slider__img { max-height: 180px; width: auto; margin-inline: auto; }
	.pc-slider__promo-value { font-size: 2rem; }
	.pc-slider__arrow { width: 36px; height: 36px; font-size: 1rem; }
	.pc-slider__arrow--prev { left: 0.35rem; }
	.pc-slider__arrow--next { right: 0.35rem; }

	.pc-origin-hub__header { flex-direction: column; align-items: flex-start; gap: 0.65rem; }
	.pc-origin-hub__sidebar {
		flex-direction: row;
		overflow-x: auto;
		gap: 0.65rem;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 0.35rem;
		scrollbar-width: none;
		max-width: 100%;
	}
	.pc-origin-hub__sidebar::-webkit-scrollbar { display: none; }
	.pc-origin__banner {
		flex: 0 0 min(82vw, 280px);
		min-height: 64px;
		scroll-snap-align: start;
	}
	.pc-origin__label { font-size: 0.8125rem; padding: 0.85rem 1rem; white-space: nowrap; }
	.pc-origin-hub__cards { grid-template-columns: 1fr; gap: 1rem; }
	.pc-origin-hub__products { min-height: 0; overflow: hidden; }

	.pc-fc { padding: 2.25rem 0 2.75rem; }
	.pc-fc__title { margin-bottom: 1.5rem; font-size: 1.5rem; padding-inline: 1rem; }
	.pc-fc__wrap { padding: 0 2.5rem; perspective: none; }
	.pc-fc-swiper .swiper-slide { width: min(78vw, 300px); }
	.pc-fc__arrow { width: 34px; height: 34px; }
	.pc-fc__arrow--prev { left: 0; }
	.pc-fc__arrow--next { right: 0; }
	.pc-fc__info { padding-top: 1rem; min-height: 3.5rem; padding-inline: 1rem; }
	.pc-fc__item-title { font-size: 1.0625rem; }

	.pc-hero-box { padding: 2rem 0; }
	.pc-hero-box__wrap { grid-template-columns: 1fr; gap: 0.5rem; min-height: 0; }
	.pc-hero-box__side { flex-direction: row; min-height: auto; padding: 0.5rem 0; justify-content: center; }
	.pc-hero-box__side-label { writing-mode: horizontal-tb; transform: none; max-height: none; font-size: 0.6875rem; }
	.pc-hero-box__card { flex-basis: 100%; min-height: 240px; }

	.pc-product-row__track { padding: 0 2rem; }
	.pc-product-row__nav--prev { left: 0; }
	.pc-product-row__nav--next { right: 0; }
	.pc-product-row__grid .pc-shop-card { flex: 0 0 min(82vw, 300px); }
}
