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

/* == r24-level-options == */
/* Resty24 2026-11-09 — levels 3-4 of the modifier tree, under the choice that opens them (includes/r24-level-options.php) */
.r24-lvl-sub { clear: both; margin: 2px 0 10px 18px; padding: 6px 0 2px 12px; border-left: 2px solid var(--r24-line, #dcdfe3); }
.r24-lvl-sub.r24-off { display: none; }
.r24-lvl-group { margin-bottom: 6px; }
.r24-lvl-name { font-weight: 600; font-size: .92em; margin: 0 0 4px; }
.r24-lvl-req { font-weight: 600; font-size: .75em; text-transform: uppercase; letter-spacing: .04em; color: var(--r24-accent, #d0021b); margin-left: 6px; }
.r24-lvl-group .attrOptionWrap { width: 100%; float: none; }


/* == r24-password-rules == */
/* Resty24 2026-11-20 — password rules under the password box (includes/r24-password-rules.php) */
.r24-pwrules {
	list-style: none;
	margin: 8px 0 14px;
	padding: 10px 12px;
	border: 1px solid color-mix(in srgb, var(--r24-ink, #1d2327) 15%, transparent);
	border-radius: 6px;
	background: color-mix(in srgb, var(--r24-ink, #1d2327) 3%, var(--r24-page-bg, #fff));
	font-size: 14px;
	line-height: 1.5;
	color: var(--r24-ink, #1d2327);
	clear: both;
}
.r24-pwrules__title {
	font-weight: 600;
	margin-bottom: 4px;
}
.r24-pwrules__rule {
	position: relative;
	padding-left: 24px;
	color: color-mix(in srgb, var(--r24-ink, #1d2327) 70%, transparent);
}
.r24-pwrules__rule::before {
	content: "\2022";
	position: absolute;
	left: 6px;
	top: 0;
	font-weight: 700;
}
.r24-pwrules__rule.is-ok {
	color: #15803d;
}
.r24-pwrules__rule.is-ok::before {
	content: "\2713";
	left: 3px;
}
.r24-pwrules__rule.is-bad {
	color: #b91c1c;
}
.r24-pwrules__rule.is-bad::before {
	content: "\2717";
	left: 3px;
}
.r24-pwrules.is-done {
	border-color: #15803d;
}


/* == r24-card-input == */
/* Resty24 2026-11-09 — card number note under the field (assets/js/r24-card-input.js) */
.r24-cc-note {
	display: block;
	margin-top: 4px;
	font-size: .85em;
	opacity: .85;
}
.r24-cc-note.is-bad {
	color: var(--r24-danger, #d63638);
	opacity: 1;
}
input[name="card_no"] {
	letter-spacing: .04em;
}
/* gateway in Test mode (2026-11-09) */
.r24-cc-testmode {
	display: inline-block;
	margin-left: 8px;
	vertical-align: middle;
	color: var(--r24-danger, #d63638);
	font-weight: 700;
	letter-spacing: .03em;
}
.r24-pay-alert--in-card {
	margin: 0 0 12px;
}
/* card logo inside the number field, on the right (2026-11-09; data-brand set by r24-card-input.js) */
input[name="card_no"][data-brand] {
	padding-right: 56px;
	background-repeat: no-repeat;
	background-position: right 8px center;
	background-size: auto 22px;
}
input[name="card_no"][data-brand="amex"] { background-image: url("https://eastern.resty24.com/wp-content/plugins/resty24/assets/css/../../templates/image/CC_AEXP.jpg"); }
input[name="card_no"][data-brand="dinersClub"] { background-image: url("https://eastern.resty24.com/wp-content/plugins/resty24/assets/css/../../templates/image/CC_Diners.jpg"); }
input[name="card_no"][data-brand="discover"] { background-image: url("https://eastern.resty24.com/wp-content/plugins/resty24/assets/css/../../templates/image/CC_Discover.jpg"); }
input[name="card_no"][data-brand="jcb"] { background-image: url("https://eastern.resty24.com/wp-content/plugins/resty24/assets/css/../../templates/image/CC_JCB.jpg"); }
input[name="card_no"][data-brand="mastercard"] { background-image: url("https://eastern.resty24.com/wp-content/plugins/resty24/assets/css/../../templates/image/CC_MC.jpg"); }
input[name="card_no"][data-brand="visa"] { background-image: url("https://eastern.resty24.com/wp-content/plugins/resty24/assets/css/../../templates/image/CC_VISA.jpg"); }
.r24-cc-note:empty { display: none; }/* checkout: a missing / wrong field's message, readable on the dark checkout (2026-11-09; jQuery Validate label.error) */
#checkoutForm label.error {
	display: inline-block;
	margin: 4px 0 0 8px;
	padding: 4px 10px;
	border-radius: 3px;
	background: var(--r24-error-bg, #fdecec);
	color: var(--r24-danger, #d63638);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}

/* == 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: 14px; color: #555; }
.r24gc-co__form .r24gc-btn { flex: 0 0 auto; height: 38px; padding: 0 18px; }
/* 2026-12-03 (owner): "Shrink the gift certificate container size, add padding between inputs and top container,
   align it left" - the redeem box at the food / Store checkout. */
.r24gc-co[data-ajax] { max-width: 460px; margin: 0 0 14px; }
.r24gc-co[data-ajax] .r24gc-co__h { margin: 0 0 10px; }
.r24gc-co[data-ajax] .r24gc-co__form { margin-top: 10px; }
.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: 15px; color: #555; }
.r24gc-bal__form { display: flex; flex-wrap: wrap; gap: 8px; }
.r24gc-bal__form input { flex: 1 1 180px; min-width: 0; height: 46px; padding: 0 12px; border: 1px solid #ccc; border-radius: 6px; background: #fff; font-size: 16px; line-height: 46px; color: #1f2328; }
.r24gc-bal__form input::placeholder { font-size: 15px; color: #8a8f98; }
.r24gc-bal__code { text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.r24gc-bal__form .r24gc-btn { flex: 0 0 auto; height: 46px; padding: 0 22px; font-size: 16px; }
.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: 15px; 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; }

/* 2026-12-01 (owner): a star on the fields that must be filled in (Send gift). */
.r24gc-f .r24gc-req{color:#c0392b;font-style:normal;font-weight:700;margin-left:3px}

/* 2026-12-02 (owner): "Cash payment is not allowed for gift certificates" - on the gift page and at checkout */
.r24gc-nocash { margin: 8px 0 10px; padding: 8px 12px; border-left: 3px solid #d9822b; background: #fff8ef; color: #7a4a12; font-size: 13px; line-height: 1.4; }

/* 2026-12-03 (owner): these belong to the gift checkout PAGE only. Unscoped, they also hit the "Gift
   Certificate" redeem box at the food / Store checkout - which shares the .r24gc-co class - and blew it up
   into a wide, centred container with a bordered inner box. Scoped to the page from here on. */
/* 2026-12-02 (owner): the gift checkout of its own — buy → checkout, no cart (gifts/includes/gift-order.php) */
body.r24gc-co-page .r24gc-co { max-width: 980px; margin: 0 auto 40px; }
body.r24gc-co-page .r24gc-co h2 { font-size: 18px; margin: 0 0 12px; }
body.r24gc-co-page .r24gc-co__err { margin: 0 0 16px; padding: 10px 14px; border-left: 3px solid #c0392b; background: #fdecea; color: #7a1c13; }
body.r24gc-co-page .r24gc-co__sum { padding: 18px 20px; border: 1px solid #e3e5e8; border-radius: 8px; background: #fafbfc; margin-bottom: 22px; }
body.r24gc-co-page .r24gc-co__amt { font-size: 30px; font-weight: 700; margin: 0 0 10px; color: #1d2327; }
body.r24gc-co-page .r24gc-co__list { list-style: none; margin: 0; padding: 0; }
body.r24gc-co-page .r24gc-co__list li { padding: 4px 0; border-bottom: 1px solid #edeff1; font-size: 14px; }
body.r24gc-co-page .r24gc-co__list li:last-child { border-bottom: 0; }
body.r24gc-co-page .r24gc-co__change { margin: 12px 0 0; font-size: 13px; }
body.r24gc-co-page .r24gc-co__form { padding: 18px 20px; border: 1px solid #e3e5e8; border-radius: 8px; }
body.r24gc-co-page .r24gc-co__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; margin-bottom: 24px; }
body.r24gc-co-page .r24gc-co__grid .r24gc-f { display: block; }
body.r24gc-co-page .r24gc-co .r24gc-f > span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
body.r24gc-co-page .r24gc-co .r24gc-f input, body.r24gc-co-page .r24gc-co .r24gc-f select { width: 100%; max-width: 100%; height: 40px; padding: 6px 10px; border: 1px solid #c9ced3; border-radius: 4px; background: #fff; }
body.r24gc-co-page .r24gc-co__ways { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 16px; }
body.r24gc-co-page .r24gc-co__way { display: flex !important; align-items: center; gap: 8px; margin: 0; }
body.r24gc-co-page .r24gc-co__way input { width: auto !important; height: auto !important; }
body.r24gc-co-page .r24gc-co__way > span { display: inline !important; margin: 0 !important; font-weight: 500 !important; }
body.r24gc-co-page .r24gc-co__card { padding: 14px 16px; border: 1px solid #e3e5e8; border-radius: 6px; background: #fafbfc; margin-bottom: 18px; }
/* 2026-12-03 (owner): the payment choices on one line with a mark each; the card picker, a new card and the CVV on
   one row, each with its label beside the field. */
body.r24gc-co-page .r24gc-co__way > span { display: inline-flex !important; align-items: center; gap: 6px; white-space: nowrap; }
body.r24gc-co-page .r24gc-co__ico { flex: 0 0 auto; }
body.r24gc-co-page .r24gc-co__cardrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
body.r24gc-co-page .r24gc-co__newcard { display: contents; }
body.r24gc-co-page .r24gc-co__newcard[hidden] { display: none; }
body.r24gc-co-page .r24gc-co__inline { display: flex !important; align-items: center; gap: 8px; margin: 0; }
body.r24gc-co-page .r24gc-co__inline > span { margin: 0 !important; white-space: nowrap; font-weight: 600; font-size: 14px; }
body.r24gc-co-page .r24gc-co__inline select, body.r24gc-co-page .r24gc-co__inline input { width: auto; }
body.r24gc-co-page .r24gc-co__cvv input { width: 5.5ch; min-width: 5.5ch; text-align: center; padding-left: 8px; padding-right: 8px; }
body.r24gc-co-page .r24gc-co__exp input { width: 9ch; }
@media (max-width: 640px) { body.r24gc-co-page .r24gc-co__cardrow { flex-direction: column; align-items: stretch; } body.r24gc-co-page .r24gc-co__inline { justify-content: space-between; } }
body.r24gc-co-page .r24gc-co__pay { display: inline-block; margin-top: 16px; min-width: 200px; }
body.r24gc-co-page .r24gc-co--done { text-align: center; padding: 30px 20px; }
body.r24gc-co-page .r24gc-co--done .r24gc-co__list { display: inline-block; text-align: left; margin: 10px 0 18px; }
@media (max-width: 680px) {
body.r24gc-co-page .r24gc-co__grid { grid-template-columns: 1fr; }
}

/* 2026-12-02 (owner): the gift checkout has nothing to do with a food or Store order — the header's ordering parts
   (location picker, Order Online, the cart) are off on this page. */
body.r24gc-co-page .r24-hdr-loc,
body.r24gc-co-page .r24-hdr-order,
body.r24gc-co-page .header_cart_wrap,
body.r24gc-co-page .cart_btn,
body.r24gc-co-page .order_type_wrap,
body.r24gc-co-page .store_detail_wrap { display: none !important; }

/* 2026-12-02: the theme lays every form out with flex, which put "Your details" and "Payment" side by side */
body.r24gc-co-page .r24gc-co__form { display: block !important; }
body.r24gc-co-page .r24gc-co__form > * { float: none; width: auto; }
body.r24gc-co-page .r24gc-co__grid { max-width: 720px; }
body.r24gc-co-page .r24gc-co h2 { clear: both; }
body.r24gc-co-page .r24gc-co__ways { max-width: 720px; }
body.r24gc-co-page .r24gc-co__card { max-width: 720px; }

/* 2026-12-02 (owner): My Gift Certificates — tabs, a list and a popup (was a wall of cards) */
.r24gc-my__tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; border-bottom: 1px solid #e3e5e8; }
.r24gc-my__tab { appearance: none; background: none; border: 0; border-bottom: 3px solid transparent; padding: 10px 14px; font: inherit; font-weight: 600; color: #5b6166; cursor: pointer; }
.r24gc-my__tab:hover { color: #1d2327; }
.r24gc-my__tab.is-on { color: #c0392b; border-bottom-color: #c0392b; }
.r24gc-my__n { display: inline-block; min-width: 20px; padding: 1px 6px; margin-left: 4px; border-radius: 10px; background: #eef0f2; color: #3c434a; font-size: 12px; font-weight: 700; }
.r24gc-my__tab.is-on .r24gc-my__n { background: #c0392b; color: #fff; }
.r24gc-my__list { width: 100%; border-collapse: collapse; background: #fff; }
.r24gc-my__list th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: #6b7280; padding: 8px 10px; border-bottom: 1px solid #e3e5e8; }
.r24gc-my__list td { padding: 12px 10px; border-bottom: 1px solid #eef0f2; vertical-align: middle; }
.r24gc-my__codecell b { font-family: Consolas, Monaco, monospace; letter-spacing: 1px; }
.r24gc-my__from { display: block; font-size: 12px; color: #6b7280; }
.r24gc-my__tag { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 3px; background: #fdecea; color: #b32d2e; font-size: 11px; font-weight: 700; }
.r24gc-my__act { text-align: right; white-space: nowrap; }
.r24gc-my__buy { margin-top: 20px; }
.r24gc-my__modal { position: fixed; inset: 0; z-index: 99999; background: rgba(15, 20, 25, .55); display: flex; align-items: flex-start; justify-content: center; padding: 30px 16px; overflow: auto; }
.r24gc-my__modal[hidden] { display: none; }
.r24gc-my__sheet { position: relative; width: 100%; max-width: 560px; background: #fff; border-radius: 10px; padding: 22px; box-shadow: 0 12px 40px rgba(0,0,0,.25); }
.r24gc-my__x { position: absolute; top: 8px; right: 10px; appearance: none; background: none; border: 0; font-size: 26px; line-height: 1; color: #6b7280; cursor: pointer; }
.r24gc-my__sheet .r24gc-my__card { border: 0; box-shadow: none; padding: 0; margin: 0; }
@media (max-width: 680px) {
	.r24gc-my__list thead { display: none; }
	.r24gc-my__list, .r24gc-my__list tbody, .r24gc-my__list tr, .r24gc-my__list td { display: block; width: 100%; }
	.r24gc-my__list tr { border: 1px solid #e3e5e8; border-radius: 8px; margin-bottom: 10px; padding: 6px 4px; }
	.r24gc-my__list td { border: 0; padding: 4px 10px; }
	.r24gc-my__act { text-align: left; }
}

/* 2026-12-02 (owner): "Active - make Green" — the status says at a glance whether the money is still there */
.r24gc-st { display: inline-block; padding: 2px 10px; border-radius: 12px; font-size: 12px; font-weight: 700; line-height: 1.6; }
.r24gc-st--ok { background: #e7f6ec; color: #136c34; }
.r24gc-st--wait { background: #fff4e5; color: #8a5300; }
.r24gc-st--off { background: #eef0f2; color: #5b6166; }
.r24gc-my__st.r24gc-st { float: right; }

/* 2026-12-02 (owner): turn an unused gift certificate into Online Credit */
.r24gc-my__credit { margin-top: 12px; padding-top: 12px; border-top: 1px dashed #e3e5e8; }
.r24gc-my__credit .r24gc-hint { display: block; margin-top: 6px; }
.r24gc-st--sent { background: #fdecea; color: #b32d2e; } /* Sent / Locked: in somebody else's hands */
.r24gc-my__when { display: block; margin-top: 4px; font-size: 12px; color: #6b7280; } /* when something last happened */
.r24gc-st--credit { background: #e8f0fe; color: #1a4b8c; } /* turned into Online Credit */

/* 2026-12-03 (owner): the closed tab drops the "Valid until" column - the date means nothing once a certificate is void or expired */
/* 2026-12-04: the Expired / cancelled tab drops the Valid until column. It used to be picked out by its
   place in the row, which broke the moment a column was added before it; it is picked out by its own
   class now. */
.r24gc-my__list.is-ended .r24gc-my__expcol { display: none; }

/* 2026-12-03 (owner): search, the For filter and the paging of the list */
.r24gc-my__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 12px 0; }
.r24gc-my__find { flex: 1 1 240px; }
.r24gc-my__q { width: 100%; height: 40px; padding: 0 12px; border: 1px solid #d7d7d7; border-radius: 6px; font-size: 14px; }
.r24gc-my__forsel { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #6b7280; }
.r24gc-my__forpick { height: 40px; max-width: 240px; border: 1px solid #d7d7d7; border-radius: 6px; font-size: 14px; }
.r24gc-my__found { font-size: 13px; color: #6b7280; }
.r24gc-my__pager { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.r24gc-my__page { min-width: 34px; height: 34px; padding: 0 8px; border: 1px solid #d7d7d7; border-radius: 6px; background: #fff; cursor: pointer; font-size: 14px; }
.r24gc-my__page.is-on { border-color: #b32d2e; color: #b32d2e; font-weight: 700; }
@media (max-width: 640px) {
	.r24gc-my__forsel, .r24gc-my__forpick { width: 100%; max-width: none; }
}

/* 2026-12-03: hidden means hidden. The theme gives .r24gc-btn a display of its own, so the Pay button stayed on
   the page after the PayPal buttons took over from it. */
.r24gc-co [hidden] { display: none !important; }

/* 2026-12-03 (owner): "Apply make the same height as inputs" — the gift certificate box on the checkout. The
   theme gives .r24gc-btn a min-height of 48px, which beat the 38px asked for here, so the button stood taller
   than the two boxes beside it. Both are measured the same way now, at the height the inputs already had. */
.r24gc-co[data-ajax] .r24gc-co__form input,
.r24gc-co[data-ajax] .r24gc-co__form .r24gc-btn { box-sizing: border-box; height: 42px; min-height: 42px; }

/* 2026-12-03 (owner): "Block gift if terms" — the gift certificate box steps aside while a Terms customer has
   Terms picked (that order goes on his invoice), and comes back the moment he picks another payment. */
.r24gc-co--termoff { display: none !important; }

/* 2026-12-04 (owner): "Move gift to be right of coupon and set header same style" — the box sits in a panel of
   the same make as Coupon and Tip, so the panel carries the heading and the box fills its body. */
.r24-gift-panel .r24gc-co__h { display: none; }
.r24-gift-panel .r24gc-co[data-ajax] { max-width: none; margin: 0; border: 0; padding: 0; background: none; border-radius: 0; } /* no box inside the panel's own box */
.r24-gift-panel .r24gc-co[data-ajax] .r24gc-co__form { margin-top: 0; }
.r24-gift-panel:has(.r24gc-co--termoff) { display: none !important; } /* Terms: the whole panel steps aside */

/* 2026-12-04 (owner): "set gift one row, [m]k button text same as coupon" — Code, Password and Apply share one
   line (the inputs take what is left after the button), and Apply is lettered like the Coupon's own button. */
.r24-gift-panel .r24gc-co__form { flex-wrap: nowrap; }
.r24-gift-panel .r24gc-co__form > input { flex: 1 1 0; min-width: 0; width: auto; }
.r24-gift-panel .r24gc-co__form > .r24gc-btn { flex: 0 0 auto; font-size: 12px; font-weight: 400; padding: 0 16px; }

/* 2026-12-04 (owner): "add the order# to each GC in 'My Account'" — the order the certificate was bought on. */
.r24gc-my__ordcell { white-space: nowrap; }
.r24gc-my__none { opacity: .55; }


/* == r24-system-options-front == */
/* Resty24 — value images on the item page (Cooking Instructions), 2026-11-21. */
.r24-optimg { display: inline-block; width: 44px; height: 44px; margin: 0 8px 0 2px; object-fit: cover; border-radius: 50%; vertical-align: middle; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); }
label .r24-optimg { transition: transform 0.2s ease; }
input:checked + label .r24-optimg { transform: scale(1.08); box-shadow: 0 0 0 2px currentColor; }

