/**
 * Chic Shop — gift cards, store credit and wedding lists.
 *
 * Loaded only where these appear (chicshop_gifting_assets(), and the homepage
 * band on whatever page renders it), after style.css. Kept out of style.css so
 * category and product pages do not download it before first paint.
 */

/* ================================================================ GIFTING */
.cs-gicon { width: 20px; height: 20px; flex: 0 0 auto; }

/* Buttons & fields used across the gifting screens. */
.cs-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
	min-height: 46px; padding: 0 1.3rem; border-radius: 999px; border: 1.5px solid transparent;
	font: 700 .92rem var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
}
.cs-btn--primary { background: var(--cs-yellow); color: var(--cs-navy); }
.cs-btn--primary:hover { background: #ffe600; color: var(--cs-navy); }
.cs-btn--ghost { background: #fff; color: var(--cs-navy); border-color: var(--color-border); }
.cs-btn--ghost:hover { border-color: var(--cs-navy); }
.cs-btn--wa { background: #1e8e4e; color: #fff; }
.cs-btn--wa:hover { background: #17753f; color: #fff; }
.cs-btn--sm { min-height: 40px; padding: 0 .95rem; font-size: .84rem; }
.cs-btn svg { width: 18px; height: 18px; }

.cs-form { display: flex; flex-direction: column; gap: .9rem; }
.cs-form__row { display: grid; gap: .9rem; }
.cs-form__row--2 { grid-template-columns: 1fr 1fr; }
.cs-field { margin: 0; display: flex; flex-direction: column; gap: .35rem; }
.cs-field__label { font-weight: 600; font-size: .9rem; color: var(--cs-navy); padding: 0; }
.cs-field__hint { color: var(--color-muted); font-size: .8rem; line-height: 1.45; margin: 0; }
.cs-form input[type="text"], .cs-form input[type="email"], .cs-form input[type="tel"], .cs-form input[type="date"],
.cs-form input[type="search"], .cs-form textarea, .cs-redeem__input, .cs-share__input, .cs-credit-box input[type="text"], .cs-regfind__form input {
	width: 100%; min-height: 48px; padding: .6rem .85rem; border: 1.5px solid var(--color-border); border-radius: 10px;
	background: #fff; font: 400 .95rem var(--font-body); color: var(--cs-navy); box-sizing: border-box;
}
.cs-form textarea { min-height: 90px; resize: vertical; }
.cs-form input:focus, .cs-form textarea:focus, .cs-redeem__input:focus, .cs-credit-box input:focus, .cs-regfind__form input:focus { outline: 3px solid var(--cs-yellow); outline-offset: 1px; border-color: var(--cs-royal); }
.cs-form input[type="file"] { font-size: .88rem; }
.cs-check-line { display: flex; align-items: flex-start; gap: .55rem; font-size: .9rem; min-height: 44px; }
.cs-check-line input { width: 20px; height: 20px; margin-top: .1rem; accent-color: var(--cs-royal); }
.cs-empty { color: var(--color-muted); font-size: .9rem; margin: .25rem 0 0; }
.cs-steps { counter-reset: s; list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.cs-steps li { counter-increment: s; position: relative; padding-left: 2.6rem; font-size: .92rem; line-height: 1.45; color: #33415c; }
.cs-steps li::before {
	content: counter(s); position: absolute; left: 0; top: -.1rem; width: 1.9rem; height: 1.9rem; border-radius: 50%;
	background: var(--cs-yellow); color: var(--cs-navy); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: .88rem;
}
.cs-steps strong { color: var(--cs-navy); }

/* Amount picker. */
.cs-amounts { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .55rem; }
.cs-amounts__pills { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: .5rem; }
.cs-amounts__pill { position: relative; margin: 0; }
.cs-amounts__pill input { position: absolute; opacity: 0; inset: 0; pointer-events: none; }
.cs-amounts__pill span {
	display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 .6rem;
	border: 1.5px solid var(--color-border); border-radius: 12px; background: #fff;
	font-weight: 700; font-size: .95rem; color: var(--cs-navy); cursor: pointer; white-space: nowrap;
	font-variant-numeric: tabular-nums; transition: border-color .15s ease, background .15s ease;
}
.cs-amounts__pill span:hover { border-color: var(--cs-royal); }
.cs-amounts__pill input:checked + span { background: var(--cs-navy); border-color: var(--cs-navy); color: #fff; }
.cs-amounts__pill input:focus-visible + span { outline: 3px solid var(--cs-yellow); outline-offset: 2px; }
.cs-amounts__custom { display: flex; align-items: center; gap: .75rem; margin: 0; font-size: .88rem; color: var(--color-muted); }
.cs-amounts__custom > span:first-child { white-space: nowrap; }
.cs-amounts__field { position: relative; flex: 1 1 auto; max-width: 240px; }
.cs-amounts__field input { padding-right: 3rem !important; font-weight: 600 !important; font-variant-numeric: tabular-nums; }
.cs-amounts__cur { position: absolute; right: .9rem; top: 50%; transform: translateY(-50%); font-weight: 600; color: var(--color-muted); }
.cs-amounts__err { margin: 0; color: #b42318; font-size: .85rem; font-weight: 500; }

/* The card. Navy, logo on its white plate, yellow marker device. */
.cs-gcard {
	position: relative; overflow: hidden; aspect-ratio: 1.586; width: 100%; max-width: 460px;
	border-radius: 20px; padding: 1.5rem 1.6rem; box-sizing: border-box; color: #fff;
	background:
		radial-gradient(120% 120% at 100% 0%, rgba(84,117,175,.55) 0%, rgba(84,117,175,0) 55%),
		linear-gradient(145deg, var(--cs-royal) 0%, var(--cs-navy) 78%);
	box-shadow: 0 24px 48px rgba(12,38,86,.28), inset 0 1px 0 rgba(255,255,255,.18);
	display: flex; flex-direction: column;
}
.cs-gcard__top { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; }
.cs-gcard__logo { background: #fff; border-radius: 10px; padding: .35rem .55rem; line-height: 0; }
.cs-gcard__logo img { height: 34px; width: auto; display: block; }
.cs-gcard__kicker { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #cddcf7; }
.cs-gcard__amount { margin: auto 0 .35rem; font-family: var(--font-display); font-size: clamp(2rem, 7vw, 3.1rem); line-height: 1; letter-spacing: .01em; color: var(--cs-yellow); font-variant-numeric: tabular-nums; position: relative; z-index: 1; }
.cs-gcard__to, .cs-gcard__from { margin: 0; font-size: .9rem; color: #dbe6ff; position: relative; z-index: 1; }
.cs-gcard__to strong { color: #fff; }
.cs-gcard__from { font-size: .78rem; margin-top: .2rem; }
.cs-gcard__msg { margin: .35rem 0 0; font-size: .82rem; line-height: 1.35; color: #fff; opacity: .9; font-style: italic; position: relative; z-index: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* Only the corner of the ring shows, so it frames the card and never runs
   under the amount (a 7-digit franc amount reaches ~60% of the width). */
.cs-gcard__mark { position: absolute; right: -22%; top: -46%; width: 60%; aspect-ratio: 1; border-radius: 50%; border: 14px solid rgba(255,242,0,.92); }
.cs-gcard__top { position: relative; z-index: 1; }
.cs-gcard [hidden] { display: none !important; }
.cs-gcard--sm { max-width: 300px; border-radius: 16px; padding: 1rem 1.1rem; }
.cs-gcard--sm .cs-gcard__logo img { height: 24px; }
.cs-gcard--sm .cs-gcard__amount { font-size: 1.9rem; }
.cs-gcard--sm .cs-gcard__mark { border-width: 10px; }

/* Gift card product page. */
.cs-gift { padding: .5rem 0 2.5rem; }
.cs-gift__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 3rem; align-items: start; }
.cs-gift__sticky { position: sticky; top: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; align-items: center; padding: 2.2rem 1.5rem; border-radius: 20px; background: var(--cs-offwhite); }
.cs-gift__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; width: 100%; max-width: 460px; }
.cs-gift__facts li { display: flex; gap: .55rem; align-items: flex-start; font-size: .88rem; color: #33415c; }
.cs-gift__facts svg { width: 18px; height: 18px; color: #1a7f37; flex: 0 0 18px; margin-top: .1rem; }
.cs-gift__title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0 0 .5rem; }
.cs-gift__lead { margin: 0 0 1.5rem; color: #33415c; font-size: 1rem; line-height: 1.55; max-width: 52ch; }
.cs-gift__form { margin-bottom: 1.75rem; }
.cs-gift__send { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.cs-gift__send-hint { margin-bottom: .2rem; }
.cs-gift__submit.button, .cs-reg__form .cs-gift__submit { width: 100%; min-height: 54px; font-size: 1rem !important; border-radius: 999px !important; margin-top: .25rem; }
.cs-gift__submit.is-loading { opacity: .7; pointer-events: none; }
.cs-gift__steps { margin: 0 0 1.5rem; }
.cs-gift__reg { display: flex; align-items: center; gap: .7rem; padding: .9rem 1rem; border-radius: 12px; border: 1px dashed var(--cs-steel); color: var(--cs-navy); text-decoration: none; font-size: .9rem; font-weight: 500; }
.cs-gift__reg:hover { border-style: solid; background: var(--cs-offwhite); }

/* Account: dashboard card. */
.cs-acc-credit { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; margin: 0 0 1.25rem; border-radius: 14px; background: linear-gradient(135deg, var(--cs-royal), var(--cs-navy)); color: #fff; text-decoration: none; }
.cs-acc-credit__ico { width: 44px; height: 44px; border-radius: 12px; background: var(--cs-yellow); color: var(--cs-navy); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; }
.cs-acc-credit__txt { display: flex; flex-direction: column; flex: 1 1 auto; }
.cs-acc-credit__txt small { color: #cddcf7; font-size: .8rem; }
.cs-acc-credit__txt strong { font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.cs-acc-credit__cta { font-weight: 700; font-size: .85rem; color: var(--cs-yellow); white-space: nowrap; }

/* Account: credit screen. */
.cs-credit { display: grid; gap: 1.5rem; }
.cs-credit h3, .cs-reg-admin h3 { font-size: 1.05rem; margin: 0 0 .7rem; }
.cs-credit__balance { padding: 1.4rem 1.5rem; border-radius: 16px; background: linear-gradient(135deg, var(--cs-royal), var(--cs-navy)); color: #fff; }
.cs-credit__label { margin: 0; color: #cddcf7; font-size: .85rem; font-weight: 500; }
.cs-credit__amount { margin: .2rem 0 .35rem; font-family: var(--font-display); font-size: clamp(2.2rem, 6vw, 3rem); line-height: 1; color: var(--cs-yellow); font-variant-numeric: tabular-nums; }
.cs-credit__sub { margin: 0; color: #dbe6ff; font-size: .88rem; max-width: 52ch; }
.cs-redeem { display: flex; gap: .6rem; }
.cs-redeem__input { text-transform: uppercase; letter-spacing: .08em; font-weight: 600 !important; }
.cs-credit__offer { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.cs-offer { display: flex; align-items: center; gap: .8rem; padding: .95rem 1rem; border: 1px solid var(--color-border); border-radius: 12px; text-decoration: none; color: var(--cs-navy); background: #fff; }
.cs-offer:hover { border-color: var(--cs-royal); }
.cs-offer__ico { width: 42px; height: 42px; border-radius: 10px; background: var(--cs-offwhite); color: var(--cs-royal); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 42px; }
.cs-offer strong { display: block; font-size: .92rem; }
.cs-offer small { color: var(--color-muted); font-size: .8rem; }
.cs-ledger, .cs-codes { list-style: none; margin: 0; padding: 0; border: 1px solid var(--color-border); border-radius: 12px; overflow: hidden; }
.cs-ledger__row { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: .75rem 1rem; border-bottom: 1px solid var(--color-border); }
.cs-ledger__row:last-child { border-bottom: 0; }
.cs-ledger__what { display: flex; flex-direction: column; font-size: .9rem; color: var(--cs-navy); min-width: 0; }
.cs-ledger__what em { color: #33415c; font-size: .86rem; margin-top: .15rem; overflow-wrap: anywhere; }
.cs-ledger__what small { color: var(--color-muted); font-size: .78rem; margin-top: .1rem; }
.cs-ledger__amt { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cs-ledger__amt.is-in { color: #1a7f37; }
.cs-ledger__amt.is-out { color: var(--cs-navy); }
.cs-code { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .7rem 1rem; padding: .85rem 1rem; border-bottom: 1px solid var(--color-border); }
.cs-code:last-child { border-bottom: 0; }
.cs-code__main { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .75rem; min-width: 0; }
.cs-code__amount { font-weight: 700; color: var(--cs-navy); font-variant-numeric: tabular-nums; }
.cs-code__to { color: var(--color-muted); font-size: .88rem; }
.cs-code__code { font: 700 .95rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; color: var(--cs-royal); background: var(--cs-offwhite); padding: .2rem .5rem; border-radius: 6px; }
.cs-code__state { font-size: .78rem; font-weight: 600; color: #1a7f37; }
.cs-code--redeemed .cs-code__state, .cs-code--void .cs-code__state { color: var(--color-muted); }
.cs-code--redeemed .cs-code__code, .cs-code--void .cs-code__code { text-decoration: line-through; color: var(--color-muted); }
.cs-code__actions { display: flex; gap: .45rem; flex-wrap: wrap; }

/* Account: wedding list. */
.cs-reg-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; align-items: center; margin-bottom: 1.75rem; }
.cs-reg-intro__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; display: block; }
.cs-reg-intro h2 { font-size: 1.5rem; margin: 0 0 1rem; }
.cs-reg-form { padding: 1.25rem; border: 1px solid var(--color-border); border-radius: 16px; background: #fff; }
.cs-reg-form h3 { margin: 0; font-size: 1.1rem; }
.cs-reg-form .cs-btn { align-self: flex-start; }
.cs-reg-admin { display: grid; gap: 1.5rem; }
.cs-reg-admin__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding: 1.4rem 1.5rem; border-radius: 16px; background: var(--cs-offwhite); }
.cs-reg-admin__kicker { margin: 0; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--cs-steel); }
.cs-reg-admin__title { margin: .2rem 0; font-size: clamp(1.6rem, 4vw, 2.2rem); }
.cs-reg-admin__date { margin: 0; color: #33415c; }
.cs-reg-admin__stats { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.cs-reg-admin__stats div { display: flex; flex-direction: column; }
.cs-reg-admin__stats strong { font-size: 1.2rem; color: var(--cs-navy); font-variant-numeric: tabular-nums; }
.cs-reg-admin__stats span { font-size: .8rem; color: var(--color-muted); }
.cs-share { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .4rem; }
.cs-share__input { flex: 1 1 260px; font-size: .88rem !important; color: var(--cs-royal) !important; }
.cs-reg-admin__edit { border: 1px solid var(--color-border); border-radius: 14px; padding: .2rem 1rem; }
.cs-reg-admin__edit > summary { cursor: pointer; font-weight: 600; color: var(--cs-navy); min-height: 44px; display: flex; align-items: center; }
.cs-reg-admin__edit .cs-reg-form { border: 0; padding: .5rem 0 1rem; }

/* Cart & checkout credit box. */
.cs-credit-row td { padding: .75rem 0 !important; border-top: 1px solid var(--color-border) !important; }
.cs-credit-box { display: flex; flex-direction: column; gap: .55rem; text-align: left; font-size: .88rem; }
.cs-credit-box.is-busy { opacity: .6; pointer-events: none; }
.cs-credit-box__use { display: flex; align-items: flex-start; gap: .55rem; cursor: pointer; color: var(--cs-navy); min-height: 32px; }
.cs-credit-box__use input { width: 20px; height: 20px; margin-top: .05rem; accent-color: var(--cs-royal); flex: 0 0 20px; }
.cs-credit-box__code > summary { cursor: pointer; color: var(--cs-royal); font-weight: 600; min-height: 32px; display: inline-flex; align-items: center; }
.cs-credit-box__form { display: flex; gap: .45rem; margin-top: .45rem; }
.cs-credit-box__form input { min-height: 42px !important; text-transform: uppercase; letter-spacing: .06em; }
.cs-credit-box__msg { margin: 0; font-size: .84rem; color: #1a7f37; font-weight: 500; }
.cs-credit-box__msg.is-error { color: #b42318; }
.cs-credit-box__guest { margin: 0; display: flex; gap: .5rem; align-items: center; font-size: .86rem; color: #33415c; }
.cs-credit-box__guest svg { color: var(--cs-royal); }

/* Order confirmation. */
.cs-order-gifts { margin: 1.5rem 0; padding: 1.2rem 1.25rem; border-radius: 14px; background: var(--cs-offwhite); border: 1px solid var(--color-border); }
.cs-order-gifts__title { display: flex; align-items: center; gap: .5rem; font-size: 1.15rem; margin: 0 0 .5rem; }
.cs-order-gifts p { font-size: .9rem; color: #33415c; }
.cs-order-gifts__pending { font-weight: 500; color: var(--cs-navy) !important; }

/* Homepage band. */
.cs-gifting__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cs-gifting__card { position: relative; overflow: hidden; border-radius: 16px; min-height: 300px; display: flex; text-decoration: none; }
.cs-gifting__card--card { background: var(--cs-offwhite); align-items: center; gap: 1.5rem; padding: 1.75rem; }
.cs-gifting__card--card:hover .cs-gcard { transform: rotate(-2deg) translateY(-3px); }
.cs-gifting__visual { flex: 0 0 46%; display: flex; justify-content: center; }
.cs-gifting__visual .cs-gcard { transform: rotate(-4deg); transition: transform .3s ease; }
.cs-gifting__card--reg { align-items: flex-end; padding: 1.75rem; color: #fff; }
.cs-gifting__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cs-gifting__img { object-position: 70% center; }
.cs-gifting__card--reg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,38,86,.9) 0%, rgba(12,38,86,.6) 45%, rgba(12,38,86,0) 75%); }
@media (max-width: 720px) {
	.cs-gifting__img { object-position: 78% top; }
	.cs-gifting__card--reg::after { background: linear-gradient(0deg, rgba(12,38,86,.95) 0%, rgba(12,38,86,.75) 50%, rgba(12,38,86,0) 85%); }
}
.cs-gifting__copy { position: relative; z-index: 1; display: flex; flex-direction: column; gap: .3rem; max-width: 34ch; }
.cs-gifting__kicker { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--cs-steel); }
.cs-gifting__card--reg .cs-gifting__kicker { color: var(--cs-yellow); }
.cs-gifting__title { font-size: 1.4rem; font-weight: 700; line-height: 1.15; color: var(--cs-navy); }
.cs-gifting__card--reg .cs-gifting__title { color: #fff; }
.cs-gifting__sub { font-size: .9rem; line-height: 1.45; color: #33415c; }
.cs-gifting__card--reg .cs-gifting__sub { color: #dbe6ff; }
.cs-gifting__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-top: .6rem; }
.cs-gifting__cta { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.2rem; margin-top: .6rem; border-radius: 999px; background: var(--cs-navy); color: #fff; font-weight: 700; font-size: .88rem; text-decoration: none; }
.cs-gifting__card--reg .cs-gifting__cta { background: var(--cs-yellow); color: var(--cs-navy); margin-top: 0; }
.cs-gifting__link { color: #fff; font-weight: 600; font-size: .88rem; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; }

/* Public wedding list. */
.cs-reg { padding-bottom: 1rem; }
.cs-reg .container, .cs-regfind .container { width: min(100% - 2rem, 1200px); margin-inline: auto; }
.cs-reg__hero { padding: 1.5rem 0 1rem; }
.cs-reg__hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 2.5rem; align-items: center; }
.cs-reg__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 20px; display: block; }
.cs-reg__kicker { display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 .5rem; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--cs-steel); }
.cs-reg__kicker svg { color: var(--cs-royal); }
.cs-reg__title { margin: 0 0 .4rem; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.02; }
.cs-reg__date { margin: 0 0 1rem; font-size: 1.05rem; color: #33415c; font-weight: 500; }
.cs-reg__message { margin: 0 0 1.2rem; padding: .9rem 1.1rem; border-left: 4px solid var(--cs-yellow); background: var(--cs-offwhite); border-radius: 0 12px 12px 0; font-size: .98rem; line-height: 1.55; color: var(--cs-navy); font-style: normal; }
.cs-reg__progress p { margin: .35rem 0 0; font-size: .85rem; color: var(--color-muted); }
.cs-reg__bar { height: 8px; border-radius: 999px; background: #e6ebf5; overflow: hidden; }
.cs-reg__bar span { display: block; height: 100%; background: var(--cs-royal); border-radius: inherit; }
.cs-reg__owner { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 1rem 0 0; padding: .8rem 1rem; border-radius: 12px; background: #fffbd1; font-size: .88rem; color: var(--cs-navy); }
.cs-reg__give { padding: 1.5rem 0; }
.cs-reg__give-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 2.5rem; align-items: start; }
.cs-reg__form-wrap { padding: 1.5rem; border-radius: 18px; border: 1px solid var(--color-border); background: #fff; box-shadow: 0 10px 30px rgba(12,38,86,.06); }
.cs-reg__h2 { font-family: var(--font-body); text-transform: none; letter-spacing: -.01em; font-size: 1.35rem; font-weight: 700; color: var(--cs-navy); margin: 0 0 1rem; }
.cs-reg__how { padding: 1.5rem 0; }
.cs-reg__closed p { color: #33415c; }
.cs-reg__book { padding: 1.5rem 0; }
.cs-reg__words { list-style: none; margin: 0; padding: 0; columns: 3 260px; column-gap: 1rem; }
.cs-reg__words li { break-inside: avoid; margin: 0 0 1rem; padding: 1rem 1.1rem; border-radius: 14px; background: var(--cs-offwhite); }
.cs-reg__words blockquote { margin: 0 0 .45rem; font-size: .95rem; line-height: 1.5; color: var(--cs-navy); }
.cs-reg__words cite { font-style: normal; font-weight: 600; font-size: .85rem; color: var(--cs-steel); }
.cs-reg__own { padding: .5rem 0 2rem; }
.cs-reg__own-link, .cs-regfind__couples { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.2rem; border-radius: 14px; border: 1px dashed var(--cs-steel); color: var(--cs-navy); text-decoration: none; font-weight: 500; }
.cs-regfind__couples { justify-content: space-between; flex-wrap: wrap; border-style: solid; background: var(--cs-offwhite); padding: 1.4rem 1.5rem; }
.cs-regfind__couples p { margin: 0; color: #33415c; max-width: 60ch; }
.cs-regfind__couples .cs-reg__h2 { margin-bottom: .35rem; }

/* Finder. */
.cs-regfind__hero { padding: 1.5rem 0 1rem; }
.cs-regfind__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.cs-regfind__title { margin: 0 0 1.1rem; font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.04; }
.cs-regfind__form { display: flex; gap: .5rem; }
.cs-regfind__form .cs-btn svg { width: 18px; height: 18px; }
.cs-regfind__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 20px; display: block; }
.cs-regfind__results { margin-top: 1rem; }
.cs-regfind__list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--color-border); border-radius: 12px; overflow: hidden; }
.cs-regfind__list a { display: flex; align-items: center; gap: .75rem; padding: .85rem 1rem; text-decoration: none; color: var(--cs-navy); border-bottom: 1px solid var(--color-border); min-height: 44px; }
.cs-regfind__list li:last-child a { border-bottom: 0; }
.cs-regfind__list a:hover { background: var(--cs-offwhite); }
.cs-regfind__list strong { flex: 1 1 auto; }
.cs-regfind__list span { color: var(--color-muted); font-size: .86rem; }
.cs-regfind__list svg { width: 18px; height: 18px; color: var(--cs-royal); }

/* Responsive. */
@media (max-width: 1000px) {
	.cs-gift__grid, .cs-reg__hero-grid, .cs-reg__give-grid, .cs-regfind__grid { grid-template-columns: 1fr; gap: 1.5rem; }
	.cs-gift__sticky { position: static; padding: 1.5rem 1rem; }
	.cs-gifting__grid { grid-template-columns: 1fr; }
	.cs-regfind__media { order: -1; }
	.cs-reg__how { padding: 0; }
}
@media (max-width: 720px) {
	.cs-form__row--2, .cs-credit__offer, .cs-reg-intro { grid-template-columns: 1fr; }
	.cs-amounts__pills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cs-amounts__custom { flex-wrap: wrap; }
	.cs-amounts__field { max-width: none; flex-basis: 100%; }
	.cs-redeem, .cs-regfind__form { flex-direction: column; }
	.cs-redeem .cs-btn, .cs-regfind__form .cs-btn { width: 100%; }
	.cs-gifting__card--card { flex-direction: column; align-items: flex-start; padding: 1.4rem; }
	.cs-gifting__visual { flex-basis: auto; width: 100%; }
	.cs-gifting__card--reg { min-height: 380px; padding: 1.4rem; }
	.cs-reg__form-wrap { padding: 1.1rem; }
	.cs-reg-admin__head { padding: 1.1rem; }
	.cs-code__actions { width: 100%; }
	.cs-code__actions .cs-btn { flex: 1 1 auto; }
	.cs-share .cs-btn { flex: 1 1 auto; }
	.cs-gcard { padding: 1.15rem 1.2rem; border-radius: 16px; }
	.cs-gcard__logo img { height: 28px; }
}

/* Gift card page opts out of the product-page layout. The parent makes every
   div.product a two-column grid and every form.cart a centred flex row
   (main.css 828/858): measured, the whole page sat in the left column with
   the card clipped, and on a phone every field shrank to its content width. */
.woocommerce div.product.cs-gift { display: block; }
.woocommerce div.product.cs-gift form.cart.cs-form { display: flex; flex-direction: column; align-items: stretch; gap: .95rem; margin: 0 0 1.75rem; }
.woocommerce div.product.cs-gift form.cart.cs-form > * { width: 100%; }
.cs-form abbr.required, .cs-reg-form abbr.required { color: #b42318; text-decoration: none; border: 0; }
.cs-reg__form .cs-gift__submit { width: 100%; min-height: 54px; font-size: 1rem; }
/* Account and page link colours outrank the button colours; pin them. */
body a.cs-btn--wa, body a.cs-btn--wa:visited, body a.cs-btn--wa:hover { color: #fff; }
body a.cs-btn--primary, body a.cs-btn--primary:visited { color: var(--cs-navy); }
body a.cs-btn--ghost, body a.cs-btn--ghost:visited { color: var(--cs-navy); }
/* The finder's couples band is also a section container: keep its own padding. */
.cs-sec > .container.cs-regfind__couples { padding: 1.4rem 1.5rem; width: calc(100% - 2rem); }
@media (min-width: 1321px) { .cs-sec > .container.cs-regfind__couples { width: 100%; } }
/* Required marks: the parent colours them with the (yellow) sale token. */
.woocommerce .cs-form abbr.required, .cs-form abbr.required, .cs-reg-form abbr.required { color: #b42318; }
.cs-regfind .cs-sec > .container.cs-regfind__couples { max-width: 1200px; }
/* WooCommerce's phone cart table prefixes every cell with its label and a
   colon (td::before). The credit and free-delivery rows span both columns
   and have no label, which left a stray ":" in front of the checkbox. */
.cs-credit-row td::before { content: none !important; display: none !important; }
.cs-credit-row td { text-align: left !important; }
/* The small card (homepage band) sizes to its content: at tablet width the
   fixed card ratio clipped its "Pour …" line. */
.cs-gcard--sm { aspect-ratio: auto; min-height: 172px; }
.cs-gcard--sm .cs-gcard__amount { margin-top: 1.1rem; }
@media (min-width: 721px) and (max-width: 1200px) {
	.cs-gifting__card--reg::after { background: linear-gradient(90deg, rgba(12,38,86,.94) 0%, rgba(12,38,86,.82) 55%, rgba(12,38,86,.15) 88%); }
}
/* Gift lines in the cart ("Pour", "De la part de"): WooCommerce floats each
   label and puts the value in a <p> with a top margin, so a longer label
   ("De la part de:") pushed its value onto the next line. */
.woocommerce td.product-name dl.variation dd { margin: 0 0 .15rem; }
.woocommerce td.product-name dl.variation dd p { margin: 0; }
.woocommerce td.product-name dl.variation dt { margin-right: .3rem; }
