/* ==========================================================================
   D’oba — Shop
   ========================================================================== */

.shop-hero {
	padding-top: calc(var(--header-h) + clamp(1.5rem, 1rem + 3vw, 4rem));
	background: var(--c-brown);
	color: var(--c-cream);
}

.shop-hero__grid {
	display: grid;
	gap: clamp(2.5rem, 2rem + 3vw, 4rem);
	align-items: center;
	padding-bottom: calc(var(--section-y) * 0.75);
}

.shop-hero .kicker {
	color: var(--c-pink-soft);
}

.shop-hero__title {
	font-size: var(--fs-h1);
	line-height: 0.92;
	color: var(--c-cream);
}

.shop-hero__text {
	max-width: 36ch;
	margin-top: 1.4rem;
	font-size: var(--fs-lg);
	line-height: 1.55;
}

.shop-hero__figure {
	position: relative;
	justify-self: center;
	width: min(100%, 520px);
}

.shop-hero__frame {
	--tilt: 2deg;
}

.shop-hero__note {
	position: absolute;
	left: -0.5rem;
	bottom: -2.5rem;
	color: var(--c-pink-soft);
	font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.9rem);
}

.shop-hero__band {
	--band-h: clamp(38px, 1.8rem + 1.2vw, 52px);
}

@media (min-width: 900px) {
	.shop-hero__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.shop-hero__figure {
		justify-self: end;
		margin-right: 2%;
	}
}

/* Product grid (feature cards) */
.shop-grid {
	padding-top: calc(var(--section-y) + var(--band-h) / 2);
}

.shop-grid__header {
	display: grid;
	justify-items: center;
	gap: 1rem;
	margin-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem);
	text-align: center;
}

.shop-grid__lede {
	max-width: 44ch;
	font-size: var(--fs-lg);
}

.shop-grid__list {
	display: grid;
	gap: clamp(3rem, 2rem + 3vw, 4rem) clamp(1.5rem, 3vw, 3.25rem);
	max-width: 440px;
	margin-inline: auto;
}

.product-card--feature .product-card__media {
	aspect-ratio: 4 / 4.8;
}

.product-card--feature .product-card__name {
	font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.6rem);
}

.product-card__kind {
	margin-bottom: 0.45rem;
	padding: 0.3rem 0.85rem 0.25rem;
	border-radius: var(--r-blob);
	background: var(--accent-soft);
	font-family: var(--f-display);
	font-weight: 650;
	font-size: 0.72rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--c-ink);
}

.product-card--feature .product-card__tagline {
	font-size: clamp(0.9rem, 0.85rem + 0.25vw, 1.05rem);
}

@media (min-width: 700px) {
	.shop-grid__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		max-width: none;
	}
}

.shop-grid__empty {
	text-align: center;
	font-size: var(--fs-lg);
}

/* What’s inside */
.inside {
	background: var(--c-ink);
	color: var(--c-cream);
}

.inside__grid {
	display: grid;
	gap: 3rem;
	align-items: center;
	padding-block: calc(var(--section-y) * 0.85);
}

.inside__title {
	font-size: var(--fs-h2);
	color: var(--c-cream);
}

.inside__text {
	max-width: 36ch;
	margin: 1.25rem 0 1.5rem;
	font-size: var(--fs-lg);
	line-height: 1.55;
}

.inside__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(0.75rem, 2vw, 2rem);
}

.inside__item {
	display: grid;
	justify-items: center;
	gap: 0.5rem;
	text-align: center;
}

.inside__img {
	width: 100%;
	max-width: 190px;
	aspect-ratio: 1;
	object-fit: contain;
	padding: 14%;
	border-radius: 52% 48% 55% 45% / 48% 55% 45% 52%;
	background: var(--c-cream);
}

.inside__item:nth-child(2) .inside__img {
	border-radius: 45% 55% 48% 52% / 55% 45% 52% 48%;
	background: var(--c-pink-soft);
}

.inside__name {
	margin-top: 0.4rem;
	font-size: clamp(1.2rem, 1rem + 0.9vw, 1.75rem);
	color: var(--c-cream);
}

.inside__note {
	font-size: var(--fs-sm);
	color: rgba(243, 226, 208, 0.85);
}

@media (min-width: 960px) {
	.inside__grid {
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	}
}

/* Good to know */
.good {
	padding-top: calc(var(--section-y) + var(--band-h) / 2);
}

.good .section-title {
	margin-bottom: clamp(2.25rem, 1.75rem + 2vw, 3.5rem);
}

.good__grid {
	display: grid;
	gap: 1.5rem;
}

.good-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.8rem;
	padding: clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem);
	border-radius: var(--r-card);
	background: var(--c-cream);
}

.good-card:nth-child(2) {
	border-radius: 38px 28px 32px 36px / 30px 38px 28px 34px;
}

.good-card--pink {
	background: var(--c-pink);
}

.good-card--purple {
	background: var(--c-purple);
	color: var(--c-cream);
}

.good-card--purple .text-link {
	color: var(--c-cream);
}

.good-card__art {
	width: auto;
	height: 110px;
	margin-bottom: 0.5rem;
	object-fit: contain;
}

.good-card__title {
	font-size: var(--fs-h3);
}

.good-card__text {
	flex: 1;
	line-height: 1.55;
}

@media (min-width: 768px) {
	.good__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Phones: get to the products sooner (the range photo is shown from tablet size up). */
@media (max-width: 639px) {
	.shop-hero__figure {
		display: none;
	}
}
