/* ==========================================================================
   BLESS — polish layer (loads last)
   1. No sideways scrolling on phones  2. Gold BLESS wordmark in the footer
   3. "Build a gift" banner redesign
   ========================================================================== */

/* ---------- 1. Stop horizontal scroll ---------- */
html { overflow-x: clip; max-width: 100%; }
body { overflow-x: clip; max-width: 100%; }
@supports not (overflow: clip) { html, body { overflow-x: hidden; } }
img, video, svg, iframe { max-width: 100%; }
.section__inner, .site-footer__main, .site-footer__bottom, .site-footer__newsletter-inner { min-width: 0; }

/* newsletter field: an <input> has a built-in minimum width that pushed the button off-screen */
.newsletter-form { max-width: 100%; }
.newsletter-form input { min-width: 0; width: 100%; }
.newsletter-form button { flex: none; }
@media (max-width: 620px) {
	.newsletter-form { width: 100%; min-width: 0; }
	.site-footer__newsletter-inner { padding-left: 20px; padding-right: 20px; }
	.site-footer__main { padding-left: 20px; padding-right: 20px; }
	.site-footer__bottom { padding-left: 20px; padding-right: 20px; flex-direction: column; }
}

/* ---------- 2. Footer wordmark in gold ---------- */
.site-footer__col--brand .site-logo__text {
	display: inline-block;
	font-family: var(--font-serif);
	font-size: 2.1rem;
	font-weight: 600;
	letter-spacing: .24em;
	text-indent: 0;
	line-height: 1.1;
	color: #A98445; /* fallback */
	background: linear-gradient(135deg, #9A7233 0%, #C9A66B 38%, #E3C98F 52%, #B88F4C 76%, #9A7233 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

/* ---------- 3. Build-a-gift banner ---------- */
.build-cta {
	background:
		radial-gradient(900px 420px at 88% 20%, rgba(111,23,40,.55), transparent 65%),
		linear-gradient(160deg, #26201d 0%, #1E1B19 60%, #161312 100%);
}
.build-cta .section__inner { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
.build-cta__inner { grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); }
.build-cta__copy { max-width: 520px; }
.build-cta h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.12; margin: 8px 0 18px; }
.build-cta__copy > p:not(.eyebrow) { font-size: 1.05rem; line-height: 1.7; margin: 0 0 28px; }
.build-cta__copy .btn--primary {
	margin-top: 0; padding: 15px 34px; border-radius: 999px;
	background: linear-gradient(135deg, #B88F4C, #E3C98F 50%, #B88F4C);
	color: #3a0a14; font-weight: 600; letter-spacing: .08em;
	box-shadow: 0 10px 28px rgba(201,166,107,.28);
	transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.build-cta__copy .btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(201,166,107,.42); background: linear-gradient(135deg, #C9A66B, #F0DCAA 50%, #C9A66B); color: #3a0a14; }

.build-cta__visual { height: auto; min-height: 0; aspect-ratio: 1 / 1; max-width: 440px; width: 100%; margin-inline: auto; position: relative; }
.build-cta__stage {
	position: absolute; inset: 0;
	border-radius: 999px 999px 28px 28px;
	background: radial-gradient(circle at 50% 38%, #8a1d33 0%, #6F1728 45%, #4a0e1b 100%);
	border: 1px solid rgba(201,166,107,.65);
	box-shadow: 0 30px 70px rgba(0,0,0,.45), inset 0 0 0 8px rgba(30,27,25,.25), inset 0 0 0 9px rgba(201,166,107,.35);
	overflow: hidden;
	display: flex; align-items: center; justify-content: center;
}
.build-cta__stage::before {
	content: ""; position: absolute; inset: 0; opacity: .22;
	background: var(--img-pattern-dark) center top / 150px auto;
}
.build-cta__box { position: relative; width: 62%; height: auto; filter: drop-shadow(0 18px 24px rgba(0,0,0,.4)); animation: bless-gift-float 5s ease-in-out infinite; }
.build-cta__chip {
	position: absolute; z-index: 2;
	padding: 8px 16px; border-radius: 999px;
	background: rgba(247,243,236,.96); color: var(--bless-burgundy-dark);
	font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
	box-shadow: 0 8px 22px rgba(0,0,0,.3);
	border: 1px solid rgba(201,166,107,.7);
	animation: bless-gift-float 6s ease-in-out infinite;
}
.build-cta__chip::before { content: "✦"; color: #B88F4C; margin-right: 8px; font-size: .8em; }
.build-cta__chip--1 { top: 12%; left: -4%; }
.build-cta__chip--2 { top: 30%; right: -4%; animation-delay: -1.2s; }
.build-cta__chip--3 { bottom: 26%; left: -6%; animation-delay: -2.4s; }
.build-cta__chip--4 { bottom: 9%; right: 2%; animation-delay: -3.6s; }
@keyframes bless-gift-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .build-cta__box, .build-cta__chip { animation: none; } }

@media (max-width: 880px) {
	.build-cta__inner { grid-template-columns: 1fr; text-align: center; }
	.build-cta__copy { margin-inline: auto; }
	.build-cta__visual { height: auto; max-width: 340px; }
}
@media (max-width: 480px) {
	.build-cta__visual { max-width: 290px; }
	.build-cta__chip { font-size: .62rem; padding: 6px 12px; letter-spacing: .1em; }
	.build-cta__chip--1 { left: -2%; } .build-cta__chip--3 { left: -2%; } .build-cta__chip--2 { right: -2%; }
	.build-cta__copy .btn--primary { width: 100%; }
}

/* Secondary button beside the gold one (Delivery / FAQ banners) */
.build-cta .pg-cta__actions { gap: 14px; }
.build-cta .btn--ghost-light { border-radius: 999px; padding: 15px 30px; }
.pg-cta .build-cta__chip { display: none; }

/* ==========================================================================
   Category banner (v2.10.0) — Appearance → Category Banners
   Desktop image ≥701px, mobile image ≤700px (via <picture>); full-bleed inside the shop shell.
   ========================================================================== */
.cat-banner {
	position: relative;
	margin: calc(var(--space-4) * -1) calc(50% - 50vw) var(--space-4);
	overflow: hidden;
	background: var(--bless-cream);
	animation: catBannerIn .9s var(--ease, ease) both;
}
.cat-banner__pic, .cat-banner__pic img { display: block; width: 100%; height: auto; }
.cat-banner__pic img { transform-origin: 60% 50%; animation: catBannerZoom 14s ease-out both; }
.cat-banner__title {
	position: absolute; inset: 0; margin: 0;
	display: flex; align-items: center; justify-content: center; text-align: center;
	font-family: var(--font-serif); font-weight: 500; color: #fff;
	font-size: clamp(2.2rem, 6vw, 4.6rem);
	text-shadow: 0 2px 24px rgba(0,0,0,.35);
	background: linear-gradient(rgba(30,27,25,.18), rgba(30,27,25,.18));
}
.cat-banner__desc { margin-bottom: var(--space-3); }
@keyframes catBannerIn   { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes catBannerZoom { from { transform: scale(1.045); } to { transform: scale(1); } }
body .bless-shop-shell { overflow-x: clip; }
@media (max-width: 700px)  { .cat-banner { margin-top: calc(var(--space-2) * -1); margin-bottom: var(--space-3); } }
@media (prefers-reduced-motion: reduce) { .cat-banner, .cat-banner__pic img { animation: none; } }

/* Sub-category tiles: 6 across is too tight on tablets/phones */
@media (max-width: 1000px) { .occasion-grid--sub { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .occasion-grid--sub { grid-template-columns: repeat(2, 1fr); } }
