/* Gift card promo tile (functions/gift-cards/frontend.php): large (home), compact (products), banner (elsewhere).
   Same direction as the gift cards page: see DESIGN.md. */
.esm-gc-tile {
	--gct-ink: #17201e;
	--gct-brand: #0b4a43;
	--gct-brand-deep: #083a34;
	--gct-on-brand: #efe9da;
	--gct-on-brand-soft: #b9c8c1;
	--gct-card: #fdfbf5;
	--gct-gold: #84652a;
	--gct-gold-light: #c9a95f;
	--gct-gold-line: #d2bb85;
	--gct-display: "Newsreader", Georgia, "Times New Roman", serif;
	background: var(--gct-brand-deep);
	color: var(--gct-on-brand);
	font-family: Aptos, "Segoe UI", system-ui, -apple-system, sans-serif;
	padding: 36px 16px;
	clear: both;
}
.esm-gc-tile *, .esm-gc-tile *::before, .esm-gc-tile *::after { box-sizing: border-box; }
.esm-gc-tile__inner { max-width: 1160px; margin: 0 auto; display: flex; align-items: center; gap: 40px; }
.esm-gc-tile__text { flex: 1; min-width: 0; }
.esm-gc-tile p { margin: 0; }
.esm-gc-tile .esm-gc-tile__eyebrow { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gct-gold-light); margin-bottom: 8px; }
.esm-gc-tile .esm-gc-tile__title { font-family: inherit !important; font-weight: 600; font-size: 1.6rem; line-height: 1.15; letter-spacing: -.02em; color: #fff; }
.esm-gc-tile .esm-gc-tile__lede { color: var(--gct-on-brand-soft); margin-top: 8px; font-size: 1rem; line-height: 1.5; }
.esm-gc-tile__btn {
	flex: none; display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 14px 26px; border-radius: 2px;
	background: var(--gct-on-brand); color: var(--gct-brand-deep) !important; font-size: 1rem; font-weight: 600; text-decoration: none !important;
	transition: background-color .2s ease;
}
.esm-gc-tile__btn:hover { background: #fff; }
.esm-gc-tile__btn:focus-visible { outline: 3px solid var(--gct-gold-light); outline-offset: 3px; }

/* The card: the same object as on the gift cards page, smaller. */
.esm-gc-tile__card {
	position: relative; flex: none; width: 200px; aspect-ratio: 1.58; border-radius: 8px; padding: 14px 16px;
	display: flex; flex-direction: column; justify-content: space-between;
	background: var(--gct-card); color: var(--gct-ink); transform: rotate(-3deg);
	box-shadow: 0 1px 1px rgba(10, 30, 26, .2), 0 22px 36px -18px rgba(0, 0, 0, .7);
}
.esm-gc-tile__card::before, .esm-gc-tile__card::after { content: ""; position: absolute; pointer-events: none; border: 1px solid var(--gct-gold-line); }
.esm-gc-tile__card::before { inset: 6px; border-radius: 4px; }
.esm-gc-tile__card::after { inset: 9px; border-radius: 3px; border-color: #e7dab8; }
.esm-gc-tile__top { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; }
.esm-gc-tile__seal { flex: none; display: block; width: 24px; height: 24px; }
.esm-gc-tile__brand { display: grid; white-space: nowrap; font-family: var(--gct-display); font-size: .5rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gct-brand); line-height: 1.3; }
.esm-gc-tile__brand small { font-family: inherit; font-size: .42rem; letter-spacing: .22em; color: var(--gct-gold); }
.esm-gc-tile .esm-gc-tile__value { position: relative; z-index: 1; font-family: var(--gct-display) !important; font-weight: 400; font-size: 2.3rem; line-height: 1; letter-spacing: -.03em; color: var(--gct-ink); }

.esm-gc-tile--large { padding: 72px 16px; }
.esm-gc-tile--large .esm-gc-tile__inner { gap: 64px; }
.esm-gc-tile--large .esm-gc-tile__card { width: 300px; padding: 22px 24px; border-radius: 10px; }
.esm-gc-tile--large .esm-gc-tile__card::before { inset: 9px; }
.esm-gc-tile--large .esm-gc-tile__card::after { inset: 13px; }
.esm-gc-tile--large .esm-gc-tile__seal { width: 34px; height: 34px; }
.esm-gc-tile--large .esm-gc-tile__brand { font-size: .68rem; }
.esm-gc-tile--large .esm-gc-tile__brand small { font-size: .52rem; }
.esm-gc-tile--large .esm-gc-tile__value { font-size: 3.4rem; }
.esm-gc-tile--large .esm-gc-tile__title { font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
.esm-gc-tile--large .esm-gc-tile__lede { font-size: 1.1rem; }

.esm-gc-tile--banner { padding: 18px 16px; }
.esm-gc-tile--banner .esm-gc-tile__inner { gap: 16px; }
.esm-gc-tile--banner .esm-gc-tile__text { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.esm-gc-tile--banner .esm-gc-tile__title { font-size: 1.3rem; }
.esm-gc-tile--banner .esm-gc-tile__lede { margin: 0; }
.esm-gc-tile--banner .esm-gc-tile__btn { min-height: 44px; padding: 10px 20px; }

@media (max-width: 720px) {
	.esm-gc-tile__inner, .esm-gc-tile--large .esm-gc-tile__inner { flex-direction: column; align-items: flex-start; gap: 28px; }
	.esm-gc-tile--large .esm-gc-tile__card { width: 240px; }
	.esm-gc-tile--large .esm-gc-tile__value { font-size: 2.8rem; }
	.esm-gc-tile--large .esm-gc-tile__brand { font-size: .6rem; letter-spacing: .14em; }
	.esm-gc-tile--banner .esm-gc-tile__inner { flex-direction: row; flex-wrap: wrap; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { .esm-gc-tile__card { transform: none; } }
