/* Resty24 front-end styles — built automatically from the plugin files (includes/r24-asset-bundle.php). Do not edit. */

/* == r24gc == */
/* Resty24 Gift Certificates — website page (2026-11-28). Colours follow Resty24 → Design (--r24-primary, --r24-button). */
.r24gc-page { --gc-accent: var(--r24-primary, #b8862b); --gc-ink: var(--r24-primary-ink, #fff); --gc-btn: var(--r24-button, var(--gc-accent)); --gc-btn-ink: var(--r24-button-ink, #fff); max-width: 1180px; margin: 0 auto; padding: 24px 16px 40px; }
.r24gc-none { text-align: center; padding: 40px 0; font-size: 18px; }
.r24gc-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 36px; align-items: start; }
@media (max-width: 900px) { .r24gc-layout { grid-template-columns: 1fr; gap: 24px; } }

/* the branded certificate — 2026-11-28 (owner): white card, ribbon with a bow, script title (original SVG drawing) */
.r24gc-page { --gc-ribbon: var(--r24-button, var(--r24-primary, #c8102e)); } /* 2026-11-28 (owner): site colours (Button colour, else Primary) */
.r24gc-preview { position: sticky; top: 90px; }
@media (max-width: 900px) { .r24gc-preview { position: static; } }
.r24gc-cert { position: relative; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; color: #2b2b2b; background: linear-gradient(160deg, #ffffff 0%, #fafafa 60%, #f1f1f1 100%); box-shadow: 0 18px 40px rgba(0, 0, 0, .16), 0 2px 6px rgba(0, 0, 0, .08); container-type: inline-size; }
.r24gc-cert__art { position: absolute; inset: 0; pointer-events: none; }
.r24gc-ribbon { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .18)); }
.r24gc-rb { fill: var(--gc-ribbon); }
.r24gc-bow { position: absolute; left: 13.5%; top: 14%; width: 34%; height: auto; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .25)); }
.r24gc-cert__inner { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; padding: 5% 6% 4% 40%; box-sizing: border-box; }
.r24gc-cert__head { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: 0 0 40%; } /* 2026-11-28 (owner): "move the amount down a bit" - the amount starts under the ribbon */
.r24gc-cert__head .r24gc-cert__logo { max-height: 44px; max-width: 70%; margin: 0; }
.r24gc-cert__head .r24gc-cert__site { margin: 0; font-size: 20px; color: var(--gc-ribbon); }
.r24gc-cert__title { font-family: "Great Vibes", "Pinyon Script", "Brush Script MT", "Segoe Script", cursive; font-size: clamp(24px, 6.6cqw, 46px); line-height: 1.05; color: var(--gc-ribbon); text-align: right; }
.r24gc-cert__body { margin-top: auto; text-align: right; }
.r24gc-cert__amount { font-size: clamp(34px, 9.5cqw, 66px); font-weight: 800; line-height: 1; letter-spacing: -.02em; color: #1d1d1d; }
.r24gc-cert__promo { display: inline-block; margin: 6px 0 0; padding: 3px 10px; border-radius: 999px; background: var(--gc-ribbon); color: #fff; font-size: 12px; font-weight: 700; }
.r24gc-cert__for { margin-top: 6px; font-size: 13px; color: #555; }
.r24gc-cert__for b { color: #1d1d1d; }
.r24gc-cert__to { display: flex; justify-content: flex-end; align-items: baseline; gap: 8px; margin-top: 4px; font-size: 15px; }
.r24gc-cert__to span { color: #888; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.r24gc-cert__msg { min-height: 0; font-style: italic; color: #666; font-size: 13px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.r24gc-cert__foot { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 4px 14px; margin-top: 6px; padding-top: 6px; border-top: 1px dashed #cfcfcf; font-size: 11px; color: #777; }
.r24gc-cert__logo { max-height: 36px; max-width: 150px; width: auto; height: auto; object-fit: contain; margin-right: auto; }
.r24gc-cert__site { margin-right: auto; font-weight: 800; font-size: 16px; color: var(--gc-ribbon); }
.r24gc-cert__code { font-family: Menlo, Consolas, monospace; font-weight: 700; letter-spacing: .14em; color: #1d1d1d; }
@media (max-width: 480px) {
	.r24gc-cert { aspect-ratio: 4 / 3; }
	.r24gc-cert__inner { padding: 6% 6% 5% 36%; }
	.r24gc-bow { left: 9%; width: 38%; }
}
.r24gc-note { margin: 14px 2px 0; color: #666; font-size: 13px; }

/* groups: Redeemed for Food / Store / both */
.r24gc-group { margin: 0 0 6px; }
.r24gc-group__h { margin: 10px 0 8px; font-size: 15px; font-weight: 700; color: #444; }
.r24gc-cartmsg { max-width: 1180px; margin: 12px auto; padding: 12px 16px; border-left: 4px solid #d63638; border-radius: 6px; background: #fdecec; color: #8a1f1f; font-weight: 600; box-sizing: border-box; }
.r24gc-cartmsg p { margin: 0 0 4px; }
.r24gc-cartmsg p:last-child { margin: 0; }

/* buy box */
.r24gc-buy__title { margin: 0 0 12px; font-size: 22px; }
.r24gc-amounts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 12px; }
.r24gc-amt { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 96px; padding: 10px 16px; border: 2px solid #d6d6d6; border-radius: 12px; background: #fff; color: #1d1d1d; cursor: pointer; line-height: 1.2; transition: border-color .15s, box-shadow .15s; }
.r24gc-amt b { font-size: 20px; }
.r24gc-amt small { margin-top: 2px; font-size: 11px; font-weight: 700; color: var(--gc-accent); }
.r24gc-amt:hover { border-color: var(--gc-accent); }
.r24gc-amt.is-on { border-color: var(--gc-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gc-accent) 25%, transparent); }
.r24gc-amt:focus-visible { outline: 2px solid var(--gc-accent); outline-offset: 2px; }
.r24gc-desc { margin: 0 0 14px; color: #555; }
.r24gc-desc:empty { display: none; }
.r24gc-form { display: grid; gap: 12px; }
.r24gc-f { display: grid; gap: 5px; margin: 0; }
.r24gc-f > span { font-weight: 600; font-size: 14px; }
.r24gc-f input, .r24gc-f textarea { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid #cfcfcf; border-radius: 8px; font-size: 16px; background: #fff; }
.r24gc-f input:focus, .r24gc-f textarea:focus { border-color: var(--gc-accent); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--gc-accent) 20%, transparent); }
.r24gc-f small { color: #777; font-size: 12px; }
.r24gc-money { position: relative; display: block; }
.r24gc-money::before { content: "$"; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #777; }
.r24gc-money input { padding-left: 26px; }
.r24gc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .r24gc-two { grid-template-columns: 1fr; } }
.r24gc-hint { margin-top: -6px; color: #777; font-size: 12px; }
.r24gc-err { margin: 0; padding: 10px 12px; border-radius: 8px; background: #fdecec; color: #a11d1d; font-weight: 600; }
.r24gc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border: 0; border-radius: 10px; background: var(--gc-btn, var(--r24-button, var(--r24-primary, #c8102e))); color: var(--gc-btn-ink, var(--r24-button-ink, #fff)) !important; font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer; }
.r24gc-btn:hover { filter: brightness(1.06); }
.r24gc-btn[disabled] { opacity: .6; cursor: wait; }
.r24gc-ok { padding: 14px; border-radius: 10px; background: #eaf7ee; }
.r24gc-ok p { margin: 0 0 10px; font-weight: 700; color: #1d6b34; }
.r24gc-login { padding: 16px; border: 1px solid #e3e3e3; border-radius: 12px; background: #fafafa; }
.r24gc-login p { margin: 0 0 12px; }
.r24gc-terms { margin-top: 18px; color: #555; font-size: 13px; }
.r24gc-terms summary { cursor: pointer; font-weight: 700; }
/* 2026-11-28: system page template */
.r24gc-wrap-page .inner_div { border: 0; }
.r24gc-page-title { margin: 18px 0 6px; }
.r24gc-wrap-page .r24gc-page { padding-top: 8px; }

/* 2026-11-28: gift checkout — terms (opens below, no script) */
.r24gc-coterms { margin: 0 0 10px; }
.r24gc-coterms > summary { cursor: pointer; list-style: none; }
.r24gc-coterms > summary::-webkit-details-marker { display: none; }
.r24gc-coterms__link { color: var(--r24-primary, #c8102e); text-decoration: underline; }
.r24gc-coterms__text { margin-top: 8px; padding: 10px 12px; border: 1px solid #ddd; border-radius: 6px; background: #fafafa; font-size: 14px; }
.r24gc-coterms__text p:last-child { margin-bottom: 0; }

/* 2026-11-28: checkout — Gift Certificate box */
.r24gc-co { margin: 0 0 14px; padding: 12px 14px; border: 1px solid #ddd; border-radius: 8px; background: #fff; }
.r24gc-co.is-busy { opacity: .6; pointer-events: none; }
.r24gc-co__h { margin: 0 0 8px; font-size: 16px; font-weight: 700; }
.r24gc-co__form { display: flex; flex-wrap: wrap; gap: 8px; }
.r24gc-co__form input { flex: 1 1 140px; min-width: 0; height: 38px; padding: 0 10px; border: 1px solid #ccc; border-radius: 6px; }
.r24gc-co__code { text-transform: uppercase; letter-spacing: 2px; }
/* 2026-11-30: guest redeem — the e-mail of the certificate on its own line */
.r24gc-co__email { flex: 1 1 100%; text-transform: none; letter-spacing: 0; }
.r24gc-co__help { margin: 0 0 8px; font-size: 13px; color: #555; }
.r24gc-co__form .r24gc-btn { flex: 0 0 auto; height: 38px; padding: 0 18px; }
.r24gc-co__err { margin: 8px 0 0; color: #b00020; font-size: 14px; }
.r24gc-co__list { list-style: none; margin: 0 0 8px; padding: 0; }
.r24gc-co__list li { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px dashed #e3e3e3; }
.r24gc-co__list li span { flex: 1 1 auto; }
.r24gc-co__rm { border: 0; background: none; color: #b00020; font-size: 20px; line-height: 1; cursor: pointer; padding: 0 4px; }
.r24gc-co__pay { margin: 4px 0; }
.r24gc-co__note { margin: 6px 0 0; color: #1a7f37; font-weight: 600; }

/* 2026-11-28: thank-you — gift certificates bought */
.r24gc-ty { margin: 20px 0; padding: 16px 18px; border: 2px solid var(--r24-button, var(--r24-primary, #c8102e)); border-radius: 10px; background: #fff; }
.r24gc-ty__h { margin: 0 0 8px; font-size: 20px; }
.r24gc-ty__list { margin: 0 0 10px; padding-left: 18px; }
.r24gc-ty__code { font-family: Consolas, monospace; letter-spacing: 1px; }

/* 2026-11-28: My Account → My Gift Certificates */
.r24gc-my__back { margin: 10px 0 0; }
.r24gc-my__msg { margin: 10px 0; padding: 10px 14px; border-radius: 6px; }
.r24gc-my__msg.is-ok { background: #e7f6ec; color: #1a7f37; }
.r24gc-my__msg.is-err { background: #fdecee; color: #b00020; }
.r24gc-my__h { margin: 22px 0 10px; font-size: 20px; }
.r24gc-my__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.r24gc-my__card { padding: 14px 16px; border: 1px solid #ddd; border-top: 6px solid var(--r24-button, var(--r24-primary, #c8102e)); border-radius: 10px; background: #fff; }
.r24gc-my__card.is-off { opacity: .65; }
.r24gc-my__top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.r24gc-my__amt { font-size: 24px; font-weight: 700; }
.r24gc-my__tag { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: #b00020; border: 1px solid #b00020; border-radius: 4px; padding: 1px 5px; }
.r24gc-my__st { margin-left: auto; font-size: 13px; color: #555; }
.r24gc-my__dl { margin: 0 0 8px; }
.r24gc-my__dl > div { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; border-bottom: 1px dotted #eee; }
.r24gc-my__dl dt { font-weight: 400; color: #666; }
.r24gc-my__dl dd { margin: 0; text-align: right; word-break: break-all; }
.r24gc-my__code { font-family: Consolas, monospace; letter-spacing: 2px; font-weight: 700; }
.r24gc-my__how { font-size: 13px; color: #555; }
.r24gc-my__form { margin-top: 8px; }
.r24gc-my__btns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 6px; }
.r24gc-btn--line { background: #fff !important; color: var(--r24-button, var(--r24-primary, #c8102e)) !important; border: 1px solid currentColor !important; }
.r24gc-my__hist { margin-top: 8px; font-size: 13px; }
.r24gc-my__hist summary { cursor: pointer; }
.r24gc-my__hist table { width: 100%; margin-top: 6px; border-collapse: collapse; }
.r24gc-my__hist th, .r24gc-my__hist td { padding: 4px; border-bottom: 1px solid #eee; text-align: left; }
.r24gc-my__hist .num { text-align: right; }

/* 2026-11-28 (owner: "add to cart bad"): the "added to your cart" panel (after the page reloads) */
.r24gc-added { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 18px; padding: 14px 16px; border: 1px solid #b7e1c3; border-left: 6px solid #1d8a43; border-radius: 10px; background: #f1faf4; scroll-margin-top: 140px; }
.r24gc-added__tick { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: #1d8a43; color: #fff; font-size: 20px; font-weight: 700; }
.r24gc-added__txt { flex: 1 1 220px; display: flex; flex-direction: column; gap: 2px; }
.r24gc-added__txt b { font-size: 17px; color: #14532d; }
.r24gc-added__txt span { font-size: 14px; color: #3f5f4a; word-break: break-word; }
.r24gc-added__btns { flex: 0 0 auto; }
.r24gc-added__btns .r24gc-btn { min-height: 42px; padding: 8px 26px; }

/* 2026-11-28: gift certificates pay everything → the other payment methods are hidden (also without the Online Credit CSS) */
.r24-ocred-hide, .r24-ocred-covered .cardinfo_wrap, .r24-ocred-covered .have_term_amount { display: none !important; }

/* 2026-11-28 (owner: "fix quantity"): gift lines at checkout — the quantity is fixed (1), with the remove button */
.r24ev-co-qty { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.r24ev-co-qty__n { min-width: 36px; font-size: 18px; font-weight: 700; text-align: center; }

/* 2026-11-28: gift-only checkout at a location with no online payment: nothing can pay — no card box, no Submit */
body.r24gc-nopay .cardinfo_wrap, body.r24gc-nopay #checkout_submit_btn_wrap, body.r24gc-nopay .r24ev-co-submit { display: none !important; }

/* 2026-11-29 (phone check): "Valid at" broke into two lines and the location name broke in the middle of a word
   ("Princeto / n"). The label stays on one line; the value breaks between words (a long code can still break). */
.r24gc-my__dl dt { flex: 0 0 auto; white-space: nowrap; }
.r24gc-my__dl dd { flex: 1 1 auto; min-width: 0; word-break: normal; overflow-wrap: anywhere; }

/* 2026-11-30 (owner: "guest can't see what balance left"): "Check your gift certificate" box */
.r24gc-bal { margin: 28px 0 0; padding: 18px 20px; border: 1px solid #e3e3e3; border-radius: 10px; background: #fafafa; }
.r24gc-bal__h { margin: 0 0 6px; font-size: 20px; }
.r24gc-bal__p { margin: 0 0 12px; font-size: 14px; color: #555; }
.r24gc-bal__form { display: flex; flex-wrap: wrap; gap: 8px; }
.r24gc-bal__form input { flex: 1 1 180px; min-width: 0; height: 40px; padding: 0 10px; border: 1px solid #ccc; border-radius: 6px; background: #fff; }
.r24gc-bal__code { text-transform: uppercase; letter-spacing: 2px; }
.r24gc-bal__form .r24gc-btn { flex: 0 0 auto; height: 40px; padding: 0 20px; }
.r24gc-bal__out { margin: 14px 0 0; }
.r24gc-bal__left { margin: 0 0 6px; font-size: 18px; }
.r24gc-bal__list { margin: 0; padding-left: 18px; font-size: 14px; color: #555; }
.r24gc-bal__err { margin: 10px 0 0; color: #c0261f; font-weight: 600; }
@media (max-width: 480px) { .r24gc-bal__form input, .r24gc-bal__form .r24gc-btn { flex: 1 1 100%; } }
/* 2026-11-30: the Log in link in the Gift Certificate box (the e-mail of the certificate has an account) */
.r24gc-co__login { margin-left: 8px; font-weight: 700; text-decoration: underline; }


/* == r24-confirm == */
/* Resty24 2026-11-18: our "Are you sure?" box when the browser blocks confirm() (assets/js/r24-confirm.js). */
.r24-confirm { position: fixed; inset: 0; z-index: 1000000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, .45); box-sizing: border-box; }
.r24-confirm__card { width: 100%; max-width: 440px; background: #fff; color: #1d2327; border-radius: 10px; padding: 22px 22px 18px; box-shadow: 0 18px 50px rgba(0, 0, 0, .3); font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }
.r24-confirm__msg { margin: 0 0 18px; white-space: pre-line; }
.r24-confirm__row { display: flex; justify-content: flex-end; gap: 10px; }
.r24-confirm__row .button { min-width: 84px; padding: 6px 14px; border-radius: 6px; cursor: pointer; font-size: 14px; border: 1px solid #2271b1; background: #fff; color: #2271b1; }
.r24-confirm__row .button-primary { background: #2271b1; color: #fff; }
.r24-confirm__row .button:focus-visible { outline: 2px solid #2271b1; outline-offset: 2px; }

/* 2026-11-22: title + red OK for delete / remove questions */
.r24-confirm__title { margin: 0 0 8px; font-size: 17px; line-height: 1.3; color: #1d2327; }
.r24-confirm__card.is-danger { border-top: 4px solid #d63638; }
.r24-confirm__card.is-danger .r24-confirm__row .button-primary { background: #d63638; border-color: #d63638; }
.r24-confirm__card.is-danger .r24-confirm__row .button:not(.button-primary) { border-color: #8c8f94; color: #1d2327; }

/* hidden text box for Copy buttons (assets/js/r24-copy.js) */
.r24-copy-buffer { position: fixed; top: 0; left: -9999px; width: 1px; height: 1px; opacity: 0; }


/* == r24-places == */
/* Resty24 2026-11-29: address suggestions under the input (assets/js/r24-places.js, Places API New). */
.r24-pac-host {
	position: relative;
}
.r24-pac {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	z-index: 100050;
	margin: 2px 0 0;
	padding: 4px 0;
	list-style: none;
	background: #fff;
	border: 1px solid #d0d4da;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
	max-height: 260px;
	overflow-y: auto;
	text-align: left;
}
.r24-pac[hidden] {
	display: none;
}
.r24-pac__item {
	padding: 9px 12px;
	font-size: 14px;
	line-height: 1.35;
	color: #222;
	cursor: pointer;
}
.r24-pac__item:hover,
.r24-pac__item.is-active {
	background: #f2f4f7;
}

