/*
 * Gift vouchers (Feature #1610): Merch > Gift vouchers, the public /gift-vouchers/ page and the
 * voucher line on Credit notes & vouchers. Plain CSS, enqueued only on those pages, so it ships
 * without an SCSS rebuild. Colours follow the portal: #181C24 text, #474F62 muted, #D9E0F1 borders.
 */

/* ---- Shared ------------------------------------------------------------------------------ */

.gt-gv, .gt-gvp { color: #181C24; }
.gt-gv-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 28px; border: 1px solid #2B313D; border-radius: 50px;
	background: #2B313D; color: #fff !important; text-decoration: none !important;
	font: 600 16px/22px "Open Sans", Arial, sans-serif; cursor: pointer; white-space: nowrap;
	transition: background .15s, color .15s; margin: 0;
}
.gt-gv-btn:hover { background: #586172;border-color:#586172 }
.gt-gv-btn--ghost { background: #fff; color: #181C24 !important; border-color: #D9E0F1; }
.gt-gv-btn--ghost:hover { background: #586172;border-color:#586172!important;color:#fff!important }
.gt-gv-btn--light { background: #fff; color: #181C24 !important; border-color: #fff; }
.gt-gv-btn--light:hover { background: #F3FAFF; }
.gt-gv-btn--small { min-height: 34px; padding: 6px 16px; font-size: 14px; line-height: 20px; }
.gt-gv-btn--wide { min-width: 220px; }
.gt-gv-btn[disabled] { opacity: .6; cursor: wait; }

/* ---- Account pages ------------------------------------------------------------------------ */

/* The theme clears the portal header's float with overflow:hidden (_member.scss, .gt-wc-myaccount),
   which also cuts off the "My bookings" dropdown below it. flow-root clears the float without
   clipping. Theme-wide fix belongs in _member.scss; this covers the voucher pages meanwhile. */
.gt-wc-myaccount:has(.gt-gv) .gt-portal-header { overflow: visible; display: flow-root; }

/* The theme's My Account tab rules (_member.scss, .gt-wc-myaccount: li:nth-child(2) a in near-white,
   li:last-child a highlighted) also match the items inside the "My bookings" dropdown, so its 2nd
   item turned white on white. Give the dropdown back its own look (_member.scss .gt-portal-submenu). */
.gt-wc-myaccount:has(.gt-gv) #content #submenu .gt-portal-submenu li a { background: transparent !important; color: #181C24 !important; }
.gt-wc-myaccount:has(.gt-gv) #content #submenu .gt-portal-submenu li a:hover { background: #F3FAFF !important; color: #008AB3 !important; }

.gt-gv-title { font: 400 40px/46px "Oranienbaum", Georgia, serif; color: #181C24; margin: 0 0 32px; }
.gt-gv-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.gt-gv-head .gt-gv-title { margin: 0; }
.gt-gv-staging { background: #FFF6E0; border: 1px dashed #E8B23A; border-radius: 8px; padding: 10px 14px; font-size: 14px; line-height: 20px; margin: 0 0 20px; }
.gt-gv-staging p { margin: 0 0 8px; }
.gt-gv-staging .gt-gv-btn { margin: 0 8px 0 0; }
/* The site's alert, as the booking form draws it (.validation_message in the theme's _forms.scss):
   Maddie, 1 Nov 2026, "Please use our alert UI". */
.gt-gv-errors { background: #FFF8F7; border: 1px solid #9B0000; border-radius: 8px; padding: 16px 20px; margin: 0 0 24px; color: #9B0000; font-size: 16px; line-height: 1.5; }
.gt-gv-errors p { margin: 0; }
.gt-gv-errors p + p { margin-top: 6px; }

/* The site's field error state, as on the booking form (.gfield_error in _forms.scss): Maddie,
   1 Nov 2026, "Please use our error states", in place of the browser's own bubble.
   gift-vouchers.js sets these on submit; the server still checks everything. */
.gt-gv .gt-gv-field--error input,
.gt-gv .gt-gv-field--error textarea,
.gt-gv .gt-gv-field--error select,
.gt-gv .gt-gv-field--error .select2-container--default .select2-selection--single { border-color: #9B0000 !important; background-color: #FFF8F7 !important; }
.gt-gv .gt-gv-field-error { color: #9B0000; font-size: 16px; line-height: 1.5; padding: 5px 0; }

.gt-gv-box { background: #fff; border: 1px solid #D9E0F1; border-radius: 12px; padding: 24px; margin: 0 0 32px; }
.gt-gv-box h3 { font: 700 24px/30px "Open Sans", Arial, sans-serif; color: #181C24; margin: 0 0 6px; }
.gt-gv-sub { font-size: 16px; line-height: 22px; color: #474F62; margin: 0 0 24px; }
.gt-gv-box--flush { padding-bottom: 0; overflow: hidden; }

.gt-gv-field { margin: 0 0 20px; border: 0; padding: 0; min-width: 0; }
.gt-gv-field[hidden] { display: none; }
.gt-gv-field--narrow { max-width: 240px; }
.gt-gv-field label, .gt-gv-field legend { display: block; font: 600 16px/22px "Open Sans", Arial, sans-serif; color: #181C24; margin: 0 0 8px; padding: 0; }
.gt-gv-req { color: #9B0000; }
.gt-gv .gt-gv-field input[type=text], .gt-gv .gt-gv-field input[type=email], .gt-gv .gt-gv-field input[type=tel],
.gt-gv .gt-gv-field input[type=date], .gt-gv .gt-gv-field select, .gt-gv .gt-gv-field textarea {
	width: 100%; height: 48px; padding: 0 12px; border: 1px solid #D9E0F1; border-radius: 8px; background: #fff;
	font: 400 16px/22px "Open Sans", Arial, sans-serif; color: #181C24; box-sizing: border-box; margin: 0; box-shadow: none;
}
.gt-gv .gt-gv-field textarea { height: auto; min-height: 48px; padding: 12px; resize: vertical; }
.gt-gv .gt-gv-field input[readonly] { background: #F5F7FA; color: #474F62; }
.gt-gv .gt-gv-field input:focus, .gt-gv .gt-gv-field select:focus, .gt-gv .gt-gv-field textarea:focus { outline: 0; border-color: #D9E0F1; }
.gt-gv .gt-gv-field input::placeholder, .gt-gv .gt-gv-field textarea::placeholder { color: #586172; opacity: .6; }

/* Native select, only seen if select2 has not loaded: the site's arrow instead of the browser's */
.gt-gv .gt-gv-field select {
	-webkit-appearance: none; appearance: none; padding-right: 36px;
	background: #fff url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.47 7.53.47 1.53C.16 1.25.16.78.47.47c.28-.28.75-.28 1.06 0L7 5.97 12.47.5c.28-.31.75-.31 1.06 0 .28.28.28.75 0 1.03L7.5 7.53c-.28.31-.75.31-1.03 0Z' fill='%23181C24'/%3E%3C/svg%3E") no-repeat calc(100% - 14px) 50% / 14px 8px;
}

/* select2 (gift-vouchers.js), drawn like the inputs and the site's Gravity Forms selects */
.gt-gv .gt-gv-field .select2-container { width: 100% !important; display: block; }
.gt-gv .gt-gv-field .select2-container--default .select2-selection--single {
	height: 48px; margin: 0; border: 1px solid #D9E0F1; border-radius: 8px;
	background: #fff url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.47 7.53.47 1.53C.16 1.25.16.78.47.47c.28-.28.75-.28 1.06 0L7 5.97 12.47.5c.28-.31.75-.31 1.06 0 .28.28.28.75 0 1.03L7.5 7.53c-.28.31-.75.31-1.03 0Z' fill='%23181C24'/%3E%3C/svg%3E") no-repeat calc(100% - 14px) 50% / 14px 8px;
}
.gt-gv .gt-gv-field .select2-container--default .select2-selection--single .select2-selection__rendered {
	padding: 12px 40px 12px 12px; font: 400 16px/22px "Open Sans", Arial, sans-serif; color: #181C24;
}
.gt-gv .gt-gv-field .select2-container--default .select2-selection--single .select2-selection__arrow { display: none; }
/* Admin bar only (customers never have it): the theme makes body position:relative to fix
   select2 elsewhere (_mobile.scss), but the select2 on these pages does not subtract the body's
   offset, so every dropdown opened 32px below its select. Measured on staging, 30 Oct 2026. */
body.admin-bar:has(.gt-gv) { position: static; }

/* As on the booking form: no focus border, and the corners stay round while the list is open */
.gt-gv .gt-gv-field .select2-container--default.select2-container--open .select2-selection--single,
.gt-gv .gt-gv-field .select2-container--default.select2-container--focus .select2-selection--single { border-color: #D9E0F1; border-radius: 8px; outline: 0; }

/* Date: gift-vouchers.js swaps the native field for a jQuery UI datepicker (.gt-gv-date), the
   widget the site's Gravity Forms date fields use. The native rules below are the fallback if
   jQuery UI does not load: the browser's icon is stretched invisibly over the field so a click
   anywhere opens it, and Firefox keeps its own icon, so ours is dropped there. */
.gt-gv .gt-gv-field input.gt-gv-date { cursor: pointer; }
.gt-gv .gt-gv-field input.gt-gv-date,
.gt-gv .gt-gv-field input[type=date] {
	position: relative; -webkit-appearance: none; appearance: none; padding-right: 40px; text-align: left; cursor: pointer;
	background: #fff url("data:image/svg+xml,%3Csvg width='14' height='16' viewBox='0 0 14 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.75 0.75V2H9.25V0.75C9.25 0.34375 9.5625 0 10 0C10.4062 0 10.75 0.34375 10.75 0.75V2H12C13.0938 2 14 2.90625 14 4V4.5V6V14C14 15.125 13.0938 16 12 16H2C0.875 16 0 15.125 0 14V6V4.5V4C0 2.90625 0.875 2 2 2H3.25V0.75C3.25 0.34375 3.5625 0 4 0C4.40625 0 4.75 0.34375 4.75 0.75ZM1.5 6V14C1.5 14.2812 1.71875 14.5 2 14.5H12C12.25 14.5 12.5 14.2812 12.5 14V6H1.5Z' fill='%23181C24'/%3E%3C/svg%3E") no-repeat calc(100% - 14px) 50% / 14px 16px;
}
.gt-gv .gt-gv-field input[type=date]::-webkit-calendar-picker-indicator {
	position: absolute; inset: 0; width: auto; height: auto; margin: 0; padding: 0; opacity: 0; cursor: pointer;
}
.gt-gv .gt-gv-field input[type=date]::-webkit-date-and-time-value { text-align: left; }
@supports (-moz-appearance: none) {
	.gt-gv .gt-gv-field input[type=date] { background-image: none; padding-right: 12px; }
}

/* The calendar, drawn like the theme's Gravity Forms calendar (_forms.scss, "GF3 datepicker
   overlay"). jQuery UI appends it to <body>, so gift-vouchers.js tags it .gt-gv-cal; the id keeps
   these rules above the stock jQuery UI theme in style.css. */
#ui-datepicker-div.gt-gv-cal {
	z-index: 1200 !important; width: 320px; max-width: calc(100vw - 32px); box-sizing: border-box; margin-top: 6px; padding: 14px;
	background: #fff; border: 1px solid #D9E0F1; border-radius: 12px; box-shadow: 0 12px 32px rgba(43, 49, 61, .18);
	font: 400 14px/20px "Open Sans", Arial, sans-serif; color: #2B313D;
}
#ui-datepicker-div.gt-gv-cal .ui-datepicker-header { position: relative; height: 32px; margin: 0 0 8px; padding: 0; border: 0; border-radius: 0; background: none; }
#ui-datepicker-div.gt-gv-cal .ui-datepicker-title { margin: 0 40px; font: 600 16px/32px "Open Sans", Arial, sans-serif; color: #181C24; text-align: center; }
#ui-datepicker-div.gt-gv-cal .ui-datepicker-prev,
#ui-datepicker-div.gt-gv-cal .ui-datepicker-next { position: absolute; top: 0; width: 32px; height: 32px; border: 0; border-radius: 8px; background: #F4F6FB; cursor: pointer; }
#ui-datepicker-div.gt-gv-cal .ui-datepicker-prev { left: 0; }
#ui-datepicker-div.gt-gv-cal .ui-datepicker-next { right: 0; }
#ui-datepicker-div.gt-gv-cal .ui-datepicker-prev:hover,
#ui-datepicker-div.gt-gv-cal .ui-datepicker-next:hover { background: #E3E9F5; }
#ui-datepicker-div.gt-gv-cal .ui-datepicker-prev.ui-state-disabled,
#ui-datepicker-div.gt-gv-cal .ui-datepicker-next.ui-state-disabled { opacity: .35; cursor: default; background: #F4F6FB; }
#ui-datepicker-div.gt-gv-cal .ui-datepicker-prev span,
#ui-datepicker-div.gt-gv-cal .ui-datepicker-next span { display: none; }
#ui-datepicker-div.gt-gv-cal .ui-datepicker-prev::before,
#ui-datepicker-div.gt-gv-cal .ui-datepicker-next::before {
	content: ""; position: absolute; top: 50%; left: 50%; width: 7px; height: 7px; border: solid #2B313D; border-width: 0 0 2px 2px;
}
#ui-datepicker-div.gt-gv-cal .ui-datepicker-prev::before { transform: translate(-30%, -50%) rotate(45deg); }
#ui-datepicker-div.gt-gv-cal .ui-datepicker-next::before { transform: translate(-70%, -50%) rotate(-135deg); }
#ui-datepicker-div.gt-gv-cal table { width: 100%; margin: 0; border-collapse: collapse; font-size: 14px; }
#ui-datepicker-div.gt-gv-cal th { padding: 6px 4px; border: 0; background: none; font-weight: 600; font-size: 12px; color: #474F62; text-align: center; }
#ui-datepicker-div.gt-gv-cal td { padding: 2px; border: 0; background: none; opacity: 1; }
#ui-datepicker-div.gt-gv-cal td a,
#ui-datepicker-div.gt-gv-cal td span {
	display: block; padding: 6px 0; border: 0; border-radius: 8px; background: none; color: #2B313D; font-weight: 400; text-align: center; text-decoration: none;
}
#ui-datepicker-div.gt-gv-cal td a:hover { background: #EEF2FA; }
#ui-datepicker-div.gt-gv-cal td.ui-datepicker-today a { font-weight: 700; }
#ui-datepicker-div.gt-gv-cal td a.ui-state-active { background: #2B313D; color: #fff; }
#ui-datepicker-div.gt-gv-cal td.ui-state-disabled span { color: #BEC7D8; }
.gt-gv-hint { font-size: 16px; line-height: 22px; color: #474F62; margin: 8px 0 0; }
.gt-gv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.gt-gv-field--full { grid-column: 1 / -1; }
.gt-gv-form{margin-bottom:32px;}
.gt-gv-points { margin: 20px 0 0!important; padding: 0 0 0 14px; color: #474F62; }
.gt-gv-points li { font-size: 16px; line-height: 22px; margin: 0 0 8px; list-style: disc; }

.gt-gv-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.gt-gv-chip { position: relative; margin: 0 !important; }
.gt-gv-chip input { position: absolute; opacity: 0; pointer-events: none; }
.gt-gv-chip > span {
	display: inline-flex; align-items: center; justify-content: center; min-width: 100px; height: 48px; padding: 0 22px;
	border: 1px solid #D9E0F1; border-radius: 50px; background: #fff; font: 600 16px/22px "Open Sans", Arial, sans-serif;
	color: #181C24; cursor: pointer; transition: background .15s, border-color .15s;
}
.gt-gv-chip > span:hover { border-color: #2B313D; }
.gt-gv-chip input:checked + span { background: #2B313D; border-color: #2B313D; color: #fff; }
.gt-gv-chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(0, 138, 179, .35); }

.gt-gv-toggle { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 20px; }
.gt-gv-option { position: relative; flex: 0 1 240px; margin: 0 !important; }
.gt-gv-option input { position: absolute; opacity: 0; pointer-events: none; }
.gt-gv-option > span {
	display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 20px; border: 1px solid #D9E0F1; border-radius: 8px;
	background: #fff; font: 600 16px/22px "Open Sans", Arial, sans-serif; color: #181C24; cursor: pointer;
}
.gt-gv-option > span::before { content: ""; width: 16px; height: 16px; border: 1.5px solid #181C24; border-radius: 50%; box-sizing: border-box; flex: none; }
.gt-gv-option input:checked + span { background: #474F62; border-color: #474F62; color: #fff; }
.gt-gv-option input:checked + span::before { border-color: #fff; box-shadow: inset 0 0 0 3px #474F62, inset 0 0 0 8px #fff; }
.gt-gv-option input:focus-visible + span { box-shadow: 0 0 0 3px rgba(0, 138, 179, .35); }

.gt-gv-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 20px; color: #181C24; margin: 4px 0 0; cursor: pointer; }
.gt-gv-check input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; }

.gt-gv-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.gt-gv-actions--end { justify-content: flex-end; }
.gt-gv-actions-end { display: flex; gap: 16px; flex-wrap: wrap; }

/* Payment */
.gt-gv-cardhead { display: flex; justify-content: space-between; align-items: center; font-weight: 600; margin: 24px 0 8px; }
.gt-gv-schemes { display: inline-flex; align-items: center; gap: 8px; }
.gt-gv-visa { color: #1A1F71; font: italic 800 13px/1 Arial, sans-serif; }
.gt-gv-amex { display: block; height: 18px; width: auto; }
.gt-gv-amex[hidden] { display: none; }
.gt-gv-card { display: flex; align-items: center; gap: 14px; padding: 16px 0; margin: 0 !important; cursor: pointer; font-size: 16px; }
.gt-gv-card input { width: 18px; height: 18px; margin: 0; accent-color: #181C24; }
.gt-gv-card-name { flex: 1 1 auto; }
.gt-gv-card-exp { flex: 0 0 40%; }
.gt-gv-newcard { border-top: 1px solid #D9E0F1; padding-top: 20px; margin-top: 4px; }
.gt-gv-newcard[hidden] { display: none; }
.gt-gv-hf { height: 48px; border: 1px solid #D9E0F1; border-radius: 8px; background: #fff; padding: 0 12px; box-sizing: border-box; overflow: hidden; }
.gt-gv-hf iframe { width: 100%; height: 100%; border: 0; display: block; }
.gt-gv-hf.hosted-fields-invalid:not(:focus-within) { border-color: #9B0000; background: #FFF8F7; }
.gt-gv-secure { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 12px 0 0; font-size: 16px; }
.gt-gv-secure > span:first-child { display: inline-flex; align-items: center; gap: 10px; }
.gt-gv-pinbadge { font-size: 11px; color: #474F62; border: 1px solid #D9E0F1; border-radius: 4px; padding: 4px 8px; }
.gt-gv-fine { font-size: 14px; line-height: 20px; color: #474F62; margin: 28px 0 0; }
.gt-gv-line { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0 24px; font-size: 16px; }
.gt-gv-total { display: flex; justify-content: space-between; gap: 16px; margin: 0 -24px; padding: 24px; background: #F3FAFF; border-top: 1px solid #D9E0F1; font: 700 20px/26px "Open Sans", Arial, sans-serif; }

/* Confirmation */
.gt-gv-done { text-align: center; padding: 48px 32px 32px; }
.gt-gv-done p { margin: 0 0 12px; font-size: 16px; line-height: 24px; }
.gt-gv-tick { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: #DFFFED; margin-bottom: 20px; }
.gt-gv-done .gt-gv-done-amount { font: 700 24px/30px "Open Sans", Arial, sans-serif; margin-bottom: 16px; }
.gt-gv-muted { color: #474F62; }
.gt-gv-done .gt-gv-fine { margin: 48px 0 32px;font-size: 14px; }
.gt-gv-done-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* List */
.gt-gv-rows { list-style: none; margin: 0 !important; padding: 0; }
.gt-gv-row { display: flex; align-items: center; gap: 16px; border: 1px solid #D9E0F1; border-radius: 12px; padding: 18px 20px; margin: 0 0 16px; }
.gt-gv-row:last-child { margin-bottom: 0; }
.gt-gv-row-icon { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #EEF6FB; display: flex; align-items: center; justify-content: center; }
.gt-gv-row-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 20px; color: #474F62; }
.gt-gv-row-text strong { font-size: 16px; color: #181C24; }
.gt-gv-row-end { flex: none; display: flex; align-items: center; gap: 16px; white-space: nowrap; }
.gt-gv-pill { font-weight: 600; font-size: 14px; line-height: 19px; padding: 2px 10px; border-radius: 50px; background: #FFEED5; color: #C95000; }

/* Merch sidebar icon */
.woocommerce-MyAccount-navigation .menu-item-wc-vouchers a {
	background: url("img/gift.svg") no-repeat 17px 50% / 18px auto;
}
.woocommerce-MyAccount-navigation .menu-item-wc-vouchers.is-active a {
	background: #F3FAFF url("img/gift-active.svg") no-repeat 17px 50% / 18px auto !important;
	/* The label in the icon's blue, as every other active item in this menu (_member.scss). Maddie, 1 Nov 2026. */
	color: #008AB3 !important;
}

/* Credit notes & vouchers: a received voucher's message */
.gt-credit-message { margin: 6px 0 0; padding-left: 10px; border-left: 3px solid #D9E0F1; font-style: italic; color: #181C24; }
.gt-credit-message button { border: 0; background: none; padding: 0; margin-left: 6px; font: 600 14px/20px "Open Sans", Arial, sans-serif; font-style: normal; color: #1B8FC7; cursor: pointer; }

@media (max-width: 767px) {
	.gt-gv-title { font-size: 32px; line-height: 40px; margin-bottom: 20px; }
	.gt-gv-head { flex-wrap: wrap; }
	.gt-gv-box { padding: 20px 16px; margin-bottom: 20px; }
	.gt-gv-box h3 { font-size: 20px; line-height: 26px; }
	.gt-gv-grid { grid-template-columns: 1fr; }
	/* Amounts stay on one line and scroll sideways, edge to edge of the box (16px padding above) */
	.gt-gv-chips {
		gap: 8px; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
		margin: 0 -16px; padding: 3px 16px; scroll-padding: 0 16px;
	}
	.gt-gv-chips::-webkit-scrollbar { display: none; }
	.gt-gv-chip { flex: none; }
}
/* A mouse cannot swipe, so a narrow desktop window gets a thin scrollbar under the amounts */
@media (max-width: 767px) and (hover: hover) and (pointer: fine) {
	.gt-gv-chips { scrollbar-width: thin; scrollbar-color: #BEC7D8 transparent; padding-bottom: 10px; }
	.gt-gv-chips::-webkit-scrollbar { display: block; height: 6px; }
	.gt-gv-chips::-webkit-scrollbar-track { background: transparent; }
	.gt-gv-chips::-webkit-scrollbar-thumb { background: #BEC7D8; border-radius: 3px; }
}
@media (max-width: 767px) {
	.gt-gv-chip > span { min-width: 0; padding: 0 18px; white-space: nowrap; }
	.gt-gv-field--narrow { max-width: none; }
	.gt-gv-option { flex: 1 1 100%; }
	.gt-gv-actions, .gt-gv-actions-end { flex-direction: column-reverse; align-items: stretch; width: 100%; }
	.gt-gv-actions .gt-gv-btn { width: 100%; }
	.gt-gv-done-actions { grid-template-columns: 1fr; }
	.gt-gv-total { margin: 0 -16px; padding: 20px 16px; }
	.gt-gv-row { flex-wrap: wrap; padding: 14px; }
	.gt-gv-row-text { flex-basis: calc(100% - 56px); }
	.gt-gv-row-end { width: 100%; justify-content: flex-end; flex-wrap: wrap; }
	.gt-gv-card-exp { flex-basis: auto; }
}

/* ---- Public page ------------------------------------------------------------------------- */

.gt-gvp-wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.gt-gvp h2 { font: 400 40px/48px "Oranienbaum", Georgia, serif; color: #181C24; margin: 0 0 16px; }
.gt-gvp-lede { text-align: center; font-size: 20px; line-height: 28px; color: #474F62; max-width: 620px; margin: 0 auto 48px; }

.gt-gvp-intro { background: #F7F7F7; padding: 96px 9999px; margin:0 -9999px}
.gt-gvp-intro-in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.gt-gvp-intro-text p { font-size: 16px; line-height: 24px; margin: 0 0 16px; }
.gt-gvp-intro-text p.gt-gvp-tags{margin-top:24px;margin-bottom:24px}
.gt-gvp-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.gt-gvp-tags span { background: #E9EDF3; color: #132D51; border-radius: 50px; padding: 4px 12px; font-size: 14px; font-weight: 600; }
.gt-gvp-small { font-size: 14px !important; color: #474F62; margin-top: 24px !important; }

.gt-gvp-card { display: flex; background: #fff; box-shadow: 0 20px 40px rgba(24, 28, 36, .18); transform: rotate(-3deg); aspect-ratio: 842 / 595; overflow: hidden; }
.gt-gvp-card-photo { flex: 0 0 45%; background: center / cover no-repeat; position: relative; }
/* Maddie's keepsake (Figma "Printable keepsake v2"): the photo darkens toward the foot behind the tagline. */
.gt-gvp-card-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24, 28, 36, 0) 50%, rgba(24, 28, 36, .55) 100%); }
.gt-gvp-card-photo span { position: absolute; left: 7%; bottom: 7%; font: 400 22px/26px "Oranienbaum", Georgia, serif; color: #fff; }
.gt-gvp-card-side { flex: 1 1 auto; position: relative; padding: 5% 6% 0; display: flex; flex-direction: column; font-size: 12px; line-height: 16px; }
.gt-gvp-card-logo { width: 34px; height: 34px; border-radius: 50%; background: #474F62; display: block; margin-bottom: 12px; }
.gt-gvp-card-logo img { width: 34px; height: 34px; display: block; }
.gt-gvp-card-side p { margin: 0 0 6px; }
.gt-gvp-card-h { font: 400 20px/22px "Oranienbaum", Georgia, serif; }
.gt-gvp-card-from { color: #474F62; font-size: 11px; }
.gt-gvp-card-quote { border-left: 2px solid #E8B23A; padding-left: 8px; font: 400 13px/16px "Oranienbaum", Georgia, serif; }
.gt-gvp-card-amt { font: 400 22px/26px "Oranienbaum", Georgia, serif; }
.gt-gvp-card-fine { color: #474F62; font-size: 10px; line-height: 13px; }
.gt-gvp-card-band { position: absolute; left: 0; right: 0; bottom: 0; background: #474F62; color: #fff; display: flex; justify-content: space-between; align-items: flex-end; padding: 12px 6%; font: 400 14px/16px "Oranienbaum", Georgia, serif; }
.gt-gvp-card-band small { font: 400 9px/12px "Open Sans", Arial, sans-serif; }

.gt-gvp-how { padding: 96px 0; text-align: center; }
.gt-gvp-steps { list-style: none; margin: 0 !important; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: left; }
.gt-gvp-steps li { margin: 0; list-style: none; }
.gt-gvp-steps li span { display: block; font: 400 28px/32px "Oranienbaum", Georgia, serif; color: #008AB3; margin-bottom: 12px; }
.gt-gvp-steps h3 { font: 700 20px/28px "Open Sans", Arial, sans-serif; margin: 0 0 8px; }
.gt-gvp-steps p { font-size: 16px; line-height: 22px; color: #474F62; margin: 0; }

.gt-gvp-where { padding: 32px 0 96px; text-align: center; }
.gt-gvp-places { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gt-gvp-place { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; aspect-ratio: 3 / 3.7; padding: 28px; border-radius: 4px; overflow: hidden; background: #474F62 center / cover no-repeat; color: #fff !important; text-align: left; text-decoration: none !important; }
.gt-gvp-place::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .55) 100%); }
.gt-gvp-place > span { position: relative; }
.gt-gvp-place-name { font: 400 40px/48px "Oranienbaum", Georgia, serif; }
.gt-gvp-place-line { font-size: 20px; line-height: 28px; }

.gt-gvp-ready { background: #474F62; color: #fff; padding: 48px 9999px; margin:0 -9999px;}
.gt-gvp-ready-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.gt-gvp-ready h2 { color: #fff; margin: 0 0 8px; }
.gt-gvp-ready p { margin: 0; font-size: 16px; }

.gt-gvp-faq { padding: 80px 9999px 96px; margin:0 -9999px;background:#F7F7F7;}
.gt-gvp-faqs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 32px; }
.gt-gvp-faq-item { background: #fff; border: 1px solid #D9E0F1; border-radius: 12px; padding: 20px; }
.gt-gvp-faq-item h3 { font: 700 16px/22px "Open Sans", Arial, sans-serif; margin: 0 0 10px; }
.gt-gvp-faq-item p { font-size: 14px; line-height: 21px; color: #474F62; margin: 0; }

@media (max-width: 1023px) {
	.gt-gvp-intro-in { grid-template-columns: 1fr; gap: 48px; }
	.gt-gvp-steps, .gt-gvp-faqs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
	.gt-gvp h2 { font-size: 32px; line-height: 38px; }
	/* The theme's content area already has 20px sides; the wrap's own 20px doubled them */
	.gt-gvp-wrap { padding: 0; }
	.gt-gvp-intro, .gt-gvp-how { padding-top: 56px; padding-bottom: 56px; }
	.gt-gvp-where { padding-bottom: 56px; }
	.gt-gvp-faq { padding-top: 56px; padding-bottom: 56px; }
	/* Card above the text */
	.gt-gvp-card { order: -1; }
	.gt-gvp-how, .gt-gvp-where { text-align: left; }
	.gt-gvp-lede { text-align: left; margin-left: 0; margin-right: 0; }
	/* Text under the headings: 16/24 */
	.gt-gvp-lede, .gt-gvp-place-line, .gt-gvp-steps p, .gt-gvp-ready p { font-size: 16px; line-height: 24px; }
	.gt-gvp-faqs { margin-top: 0; }
	.gt-gvp-card { transform: rotate(-2deg); }
	.gt-gvp-card-side { font-size: 9px; line-height: 12px; }
	.gt-gvp-card-h { font-size: 15px; line-height: 17px; }
	.gt-gvp-card-amt { font-size: 16px; line-height: 20px; }
	.gt-gvp-card-photo span { font-size: 15px; line-height: 18px; }
	.gt-gvp-steps, .gt-gvp-places, .gt-gvp-faqs { grid-template-columns: 1fr; }
	.gt-gvp-place { aspect-ratio: 4 / 3; }
	.gt-gvp-ready-in { flex-direction: column; align-items: flex-start; }
}
