/* =========================================================
   Saidah Collections — Sections v2
   Banner positions, Celebrate Her, Gifting Made Easy,
   Shop by Color, New Launch, Footer SEO block.
   Loaded after main.css; uses the same design tokens.
   ========================================================= */

/* ---------- Shared section bits ---------- */
.section-cta { text-align: center; margin-top: 34px; }
.section-products { position: relative; min-height: 120px; transition: opacity .2s ease; }
.section-products.is-loading { opacity: .45; pointer-events: none; }
.section-products .no-products-found {
	text-align: center;
	padding: 48px 20px;
	color: var(--saidah-muted);
}

/* ---------- Banner positions ---------- */
.banner-position { padding-block: 0; }
.banner-position-grid { display: grid; gap: 20px; }
.banner-layout-full  .banner-position-grid,
.banner-position-grid.banner-layout-full { grid-template-columns: 1fr; }
.banner-layout-2col .banner-position-grid { grid-template-columns: repeat(2, 1fr); }
.banner-layout-3col .banner-position-grid { grid-template-columns: repeat(3, 1fr); }
.banner-layout-4col .banner-position-grid { grid-template-columns: repeat(4, 1fr); }

.banner-position .banner-card img { height: 300px; }
.banner-layout-2col .banner-card img { height: 340px; }
.banner-layout-3col .banner-card img,
.banner-layout-4col .banner-card img { height: 240px; }
.banner-layout-full .banner-card img,
.banner-position-grid.banner-layout-full .banner-card img { height: auto; max-height: 460px; }

.banner-shoppable .banner-position-grid { margin-bottom: 40px; }

/* ---------- Celebrate Her ---------- */
.celebrate-her { background: linear-gradient(180deg, var(--saidah-surface) 0%, var(--saidah-bg) 55%); }

.persona-tabs {
	display: flex;
	gap: 14px;
	overflow-x: auto;
	padding-bottom: 8px;
	margin-bottom: 36px;
	scrollbar-width: none;
	justify-content: center;
	flex-wrap: wrap;
}
.persona-tabs::-webkit-scrollbar { display: none; }

.persona-tab {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 20px 10px 10px;
	border: 1px solid var(--saidah-border);
	border-radius: 100px;
	background: var(--saidah-white);
	text-align: left;
	transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
	flex: 0 0 auto;
}
.persona-tab:hover { transform: translateY(-2px); box-shadow: var(--saidah-shadow); }
.persona-tab.is-active {
	border-color: var(--saidah-primary);
	box-shadow: 0 0 0 1px var(--saidah-primary) inset;
}

.persona-tab-media {
	width: 44px; height: 44px;
	border-radius: 50%;
	background: var(--saidah-surface) center/cover no-repeat;
	display: grid; place-items: center;
	flex: 0 0 auto;
	overflow: hidden;
}
.persona-tab-initial {
	font-family: var(--saidah-font-heading);
	font-size: 1.15rem;
	color: var(--saidah-primary);
}
.persona-tab-media[style*="background-image"] .persona-tab-initial { opacity: 0; }

.persona-tab-label { display: flex; flex-direction: column; line-height: 1.25; }
.persona-tab-name {
	font-family: var(--saidah-font-heading);
	font-size: 1.02rem;
	color: var(--saidah-primary);
}
.persona-tab-tagline { font-size: .74rem; color: var(--saidah-muted); }

/* ---------- Gifting Made Easy ---------- */
.gift-bands {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 16px;
	margin-bottom: 38px;
}
.gift-band {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 22px 16px;
	border: 1px solid var(--saidah-border);
	border-radius: var(--saidah-radius);
	background: var(--saidah-white);
	transition: all .25s ease;
	position: relative;
	overflow: hidden;
}
.gift-band::before {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 3px;
	background: var(--saidah-secondary);
	transform: scaleX(0);
	transition: transform .3s ease;
}
.gift-band:hover { transform: translateY(-3px); box-shadow: var(--saidah-shadow); }
.gift-band.is-active { border-color: var(--saidah-primary); background: var(--saidah-surface); }
.gift-band.is-active::before { transform: scaleX(1); }

.gift-band-label {
	font-family: var(--saidah-font-heading);
	font-size: 1.22rem;
	color: var(--saidah-primary);
}
.gift-band-count {
	font-size: .76rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--saidah-muted);
}

/* ---------- Shop by Color ---------- */
.color-swatches {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 22px;
	margin-bottom: 38px;
}
.color-swatch {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 7px;
	padding: 6px;
	width: 96px;
	transition: transform .25s ease;
}
.color-swatch:hover { transform: translateY(-3px); }

.color-swatch-dot {
	width: 56px; height: 56px;
	border-radius: 50%;
	background-size: cover;
	background-position: center;
	border: 1px solid rgba(0, 0, 0, .08);
	box-shadow: inset 0 -6px 14px rgba(0, 0, 0, .12);
	transition: box-shadow .25s ease;
}
.color-swatch.is-active .color-swatch-dot {
	box-shadow: 0 0 0 2px var(--saidah-bg), 0 0 0 4px var(--saidah-primary), inset 0 -6px 14px rgba(0, 0, 0, .12);
}
.color-swatch-name {
	font-size: .83rem;
	color: var(--saidah-text);
	text-align: center;
	line-height: 1.2;
}
.color-swatch.is-active .color-swatch-name { color: var(--saidah-primary); font-weight: 600; }
.color-swatch-count { font-size: .7rem; color: var(--saidah-muted); }

/* ---------- New badge on product cards ---------- */
.product-label.label-new {
	position: absolute;
	top: 12px; left: 12px;
	z-index: 3;
	background: var(--saidah-primary);
	color: #fff;
	font-size: .66rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 2px;
}
.product-label.label-sale.is-stacked { top: 44px; }

/* ---------- Footer SEO block ---------- */
.footer-seo {
	background: var(--saidah-surface);
	border-top: 1px solid var(--saidah-border);
	padding: 34px 0;
}
.footer-seo-details summary { list-style: none; cursor: pointer; }
.footer-seo-details summary::-webkit-details-marker { display: none; }
.footer-seo-heading {
	font-family: var(--saidah-font-heading);
	font-size: 1.15rem;
	color: var(--saidah-primary);
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 8px;
}
.footer-seo-heading::after {
	content: "";
	width: 8px; height: 8px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	transition: transform .25s ease;
}
.footer-seo-details[open] .footer-seo-heading::after { transform: rotate(-135deg); }

.footer-seo-text {
	max-width: 900px;
	font-size: .88rem;
	line-height: 1.75;
	color: var(--saidah-muted);
	margin: 0 0 16px;
}
.footer-seo-keywords {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 10px;
}
.footer-seo-keywords a {
	display: inline-block;
	font-size: .78rem;
	padding: 5px 13px;
	border: 1px solid var(--saidah-border);
	border-radius: 100px;
	color: var(--saidah-muted);
	background: var(--saidah-white);
	transition: all .2s ease;
}
.footer-seo-keywords a:hover {
	color: var(--saidah-primary);
	border-color: var(--saidah-primary);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.banner-layout-4col .banner-position-grid { grid-template-columns: repeat(2, 1fr); }
	.banner-layout-3col .banner-position-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
	.banner-layout-2col .banner-position-grid,
	.banner-layout-3col .banner-position-grid,
	.banner-layout-4col .banner-position-grid { grid-template-columns: 1fr; }
	.banner-position .banner-card img,
	.banner-layout-2col .banner-card img { height: 220px; }

	.persona-tabs {
		flex-wrap: nowrap;
		justify-content: flex-start;
		margin-left: -20px;
		margin-right: -20px;
		padding-inline: 20px;
	}
	.persona-tab { padding-right: 16px; }
	.persona-tab-tagline { display: none; }

	.gift-bands { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.gift-band { padding: 16px 10px; }
	.gift-band-label { font-size: 1.05rem; }

	.color-swatches { gap: 14px; }
	.color-swatch { width: 74px; }
	.color-swatch-dot { width: 46px; height: 46px; }

	.footer-seo { padding: 24px 0; }
	.footer-seo-text { font-size: .82rem; }
}
