/* 1.0.51.57 Holiday gift certificate popup. Modal (tablet/desktop) + centered card (phones <= 640px). */
.tsd-gp[hidden], .tsd-gp-bar[hidden] { display: none !important; }

/* ---------- Modal (Mockup B: light sand) ---------- */
.tsd-gp { position: fixed; inset: 0; z-index: 99990; display: grid; place-items: center; padding: 20px; }
.tsd-gp__backdrop { position: absolute; inset: 0; background: rgba(20,16,10,.6); opacity: 0; transition: opacity .25s; overscroll-behavior: contain; }
.tsd-gp__modal {
	position: relative; width: min(640px, 100%); max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow-y: auto; overscroll-behavior: contain;
	background: #f4efe6; color: #191818; border-radius: 12px; text-align: center;
	box-shadow: 0 30px 80px rgba(0,0,0,.5); opacity: 0; transform: translateY(12px) scale(.98); transition: opacity .25s, transform .25s;
}
.tsd-gp.is-open .tsd-gp__backdrop { opacity: 1; }
.tsd-gp.is-open .tsd-gp__modal { opacity: 1; transform: none; }
.tsd-gp__modal:focus { outline: none; }
.tsd-gp__top { position: relative; padding: 30px 40px 6px; background: linear-gradient(180deg, #e9e0cf, #f4efe6); }
.tsd-gp__top:before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, #ffb81c, #ffd36b, #ffb81c); }
.tsd-gp__img { display: block; }
.tsd-gp__img img { display: block; width: 84%; height: auto; margin: 0 auto -26px; position: relative; border-radius: 3px; box-shadow: 0 14px 30px rgba(60,40,10,.35), 0 0 0 1px rgba(0,0,0,.08); }
.tsd-gp__copy { padding: 44px 44px 26px; }
.tsd-gp__eyebrow { margin: 0 0 .7rem; font-family: var(--tt-head, Montserrat, Arial, sans-serif); font-weight: 800; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: #8a5f00; }
.tsd-gp__h { margin: 0 0 .8rem; font-family: var(--tt-head, Montserrat, Arial, sans-serif); font-weight: 900; font-style: italic; text-transform: uppercase; line-height: 1.05; font-size: clamp(1.45rem, 3.4vw, 1.95rem); color: #0b0b0b; }
.tsd-gp__sub { margin: 0 auto 1rem; max-width: 30em; font-size: 1.12rem; line-height: 1.45; color: #33302b; }
.tsd-gp__ben { display: inline-block; list-style: none; text-align: left; margin: 0 0 1.2rem; padding: 0; }
.tsd-gp__ben li { position: relative; margin: .45rem 0; padding-left: 1.7rem; font-weight: 600; font-size: 1.05rem; line-height: 1.3; }
.tsd-gp__ben li:before { content: ""; position: absolute; left: 0; top: .2em; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: #ffb81c; }
.tsd-gp__ben li:after { content: ""; position: absolute; left: .36rem; top: .34em; width: .28rem; height: .55rem; border: solid #0b0b0b; border-width: 0 2px 2px 0; transform: rotate(40deg); }
.tsd-gp__cta { padding: 1.05rem 2.2rem; font-size: .84rem; }
.tsd-gp__no { display: block; margin: .5rem auto 0; padding: .6rem .6rem; background: none; border: 0; cursor: pointer; font-family: inherit; font-weight: 600; font-size: .95rem; line-height: 1.2; color: #5d584e; text-decoration: underline; text-underline-offset: 3px; }
.tsd-gp__no:hover { color: #0b0b0b; }
.tsd-gp__fine { margin: .6rem 0 0; font-size: .82rem; line-height: 1.35; color: #5d584e; }
.tsd-gp__x, .tsd-gp-bar__x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer; font: 400 26px/1 Arial, sans-serif; }
.tsd-gp__x, .tsd-gp-bar__x { background: rgba(255,255,255,.92); color: #222; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.tsd-gp__x:hover, .tsd-gp-bar__x:hover { background: #fff; color: #dd0000; }
.tsd-gp__modal :focus-visible, .tsd-gp-bar__card :focus-visible { outline: 3px solid #ffb81c; outline-offset: 3px; }
.tsd-gp__modal .tsd-gp__cta:focus-visible, .tsd-gp-bar__card .tsd-gp-bar__cta:focus-visible { outline-color: #0b0b0b; }

/* ---------- Phone card (Mockup C copy, B sand styling) ---------- */
.tsd-gp-bar {
	position: fixed; inset: 0; z-index: 99990;
	display: grid; place-items: center;
	padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
}
.tsd-gp-bar__backdrop { position: absolute; inset: 0; background: rgba(20,16,10,.6); opacity: 0; transition: opacity .25s; overscroll-behavior: contain; }
.tsd-gp-bar__card {
	position: relative; width: min(400px, 92vw); max-height: 85vh; max-height: 85dvh; overflow-y: auto; overscroll-behavior: contain;
	background: #f4efe6; color: #191818; border-radius: 12px; text-align: center;
	box-shadow: 0 30px 80px rgba(0,0,0,.5); opacity: 0; transform: translateY(12px) scale(.98); transition: opacity .25s, transform .25s;
}
.tsd-gp-bar.is-open .tsd-gp-bar__backdrop { opacity: 1; }
.tsd-gp-bar.is-open .tsd-gp-bar__card { opacity: 1; transform: none; }
.tsd-gp-bar__card:focus { outline: none; }
.tsd-gp-bar__top { position: relative; padding: 28px 22px 4px; background: linear-gradient(180deg, #e9e0cf, #f4efe6); }
.tsd-gp-bar__top:before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, #ffb81c, #ffd36b, #ffb81c); }
.tsd-gp-bar__img { display: block; }
.tsd-gp-bar__img img { display: block; width: 88%; height: auto; margin: 0 auto; position: relative; border-radius: 3px; box-shadow: 0 14px 30px rgba(60,40,10,.35), 0 0 0 1px rgba(0,0,0,.08); }
.tsd-gp-bar__copy { padding: 16px 22px 20px; }
.tsd-gp-bar__h { margin: 0 0 .55rem; font-family: var(--tt-head, Montserrat, Arial, sans-serif); font-weight: 900; font-style: italic; text-transform: uppercase; line-height: 1.08; font-size: 1.28rem; color: #0b0b0b; }
.tsd-gp-bar__sub { margin: 0 auto .95rem; max-width: 28em; font-size: .98rem; line-height: 1.4; color: #33302b; }
.tsd-gp-bar__cta { display: block; width: 100%; box-sizing: border-box; padding: 1rem 1.2rem; font-size: .8rem; }
.tsd-gp-bar__no { display: block; margin: .2rem auto 0; min-height: 44px; padding: .5rem .6rem; background: none; border: 0; cursor: pointer; font-family: inherit; font-weight: 600; font-size: .95rem; line-height: 1.2; color: #5d584e; text-decoration: underline; text-underline-offset: 3px; }
.tsd-gp-bar__no:hover { color: #0b0b0b; }

/* Modal only above 640px; the phone card only at or below it. */
@media (min-width: 641px) { .tsd-gp-bar { display: none !important; } }
@media (max-width: 640px) { .tsd-gp { display: none !important; } }
@media (max-width: 480px) {
	.tsd-gp { padding: 12px; }
	.tsd-gp__top { padding: 20px 22px 4px; }
	.tsd-gp__img img { width: 92%; margin-bottom: -18px; }
	.tsd-gp__copy { padding: 30px 22px 14px; }
}
@media (max-height: 560px) and (min-width: 641px) { .tsd-gp__top { padding-top: 20px; } .tsd-gp__img img { width: 52%; } }
@media (max-height: 560px) and (max-width: 640px) {
	.tsd-gp-bar__top { padding: 22px 18px 2px; }
	.tsd-gp-bar__img img { width: 72%; }
	.tsd-gp-bar__copy { padding: 12px 18px 14px; }
	.tsd-gp-bar__h { font-size: 1.12rem; }
}
@media (prefers-reduced-motion: reduce) {
	.tsd-gp__backdrop, .tsd-gp__modal, .tsd-gp-bar__backdrop, .tsd-gp-bar__card { transition: none; transform: none; }
}
