/* Paris Transfer Price Calculator
   Scoped under .ptc-card to avoid clashing with the active theme. */

.ptc-card {
	--ptc-accent: #b07a1e;      /* gold for the active One Way toggle */
	--ptc-accent-soft: #fbf6ec;
	--ptc-dark: #211d18;        /* near-black Calculate button */
	--ptc-ink: #1c1917;
	--ptc-muted: #6b6b6b;
	--ptc-label: #4a4a4a;
	--ptc-border: #e8e8e8;
	--ptc-field-border: #dcdcdc;
	--ptc-bg: #ffffff;
	--ptc-field-bg: #ffffff;

	box-sizing: border-box;
	max-width: 600px;
	margin: 0 auto;
	padding: 34px 34px 30px;
	background: var(--ptc-bg);
	border: 1px solid #eee;
	border-radius: 22px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
	/* Inherit the site's font so the plugin blends with the theme
	   (falls back to a system stack only if the theme sets none). */
	font-family: inherit;
	color: var(--ptc-ink);
	text-align: center;
}

.ptc-card *,
.ptc-card *::before,
.ptc-card *::after {
	box-sizing: border-box;
}

.ptc-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin-bottom: 14px;
	background: #ece9e3;
	color: var(--ptc-accent);
	border-radius: 12px;
}

.ptc-title {
	margin: 0 0 6px;
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--ptc-ink);
}

.ptc-subtitle {
	margin: 0 0 24px;
	font-size: 15px;
	color: var(--ptc-muted);
}

.ptc-form {
	text-align: left;
}

.ptc-label {
	display: block;
	margin: 20px 0 9px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ptc-label);
}

.ptc-form > .ptc-toggle + .ptc-label,
.ptc-form > *:first-child.ptc-label {
	margin-top: 0;
}

/* Trip-type toggle */
.ptc-toggle {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.ptc-toggle-option {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 16px;
	background: #fff;
	border: 1.5px solid var(--ptc-field-border);
	border-radius: 12px;
	font-size: 16px;
	font-weight: 500;
	color: var(--ptc-ink);
	cursor: pointer;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.ptc-toggle-option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.ptc-radio {
	width: 18px;
	height: 18px;
	border: 2px solid #c7c7c7;
	border-radius: 50%;
	flex: 0 0 auto;
	position: relative;
	transition: border-color 0.15s;
}

.ptc-toggle-option.is-active {
	border-color: var(--ptc-accent);
	box-shadow: 0 0 0 1px var(--ptc-accent);
}

.ptc-toggle-option.is-active .ptc-radio {
	border-color: var(--ptc-accent);
}

.ptc-toggle-option.is-active .ptc-radio::after {
	content: "";
	position: absolute;
	inset: 3px;
	background: var(--ptc-accent);
	border-radius: 50%;
}

/* Select + input fields */
.ptc-select-wrap {
	position: relative;
}

.ptc-select-wrap::after {
	content: "";
	position: absolute;
	right: 16px;
	top: 50%;
	width: 9px;
	height: 9px;
	border-right: 2px solid #8a8a8a;
	border-bottom: 2px solid #8a8a8a;
	transform: translateY(-70%) rotate(45deg);
	pointer-events: none;
}

.ptc-card select,
.ptc-card input[type="date"],
.ptc-card input[type="time"] {
	width: 100%;
	padding: 15px 16px;
	background: #fff;
	border: 1.5px solid var(--ptc-field-border);
	border-radius: 12px;
	font-size: 16px;
	color: var(--ptc-ink);
	outline: none;
	transition: border-color 0.15s, box-shadow 0.15s;
}

/* Only the custom-arrow selects hide native appearance. */
.ptc-card select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 40px;
	cursor: pointer;
}

/* Date/time: keep native rendering (iOS shows blank if appearance is removed)
   and paint our own calendar/clock icon so it is visible on iPhone too. */
.ptc-card input[type="date"],
.ptc-card input[type="time"] {
	position: relative;
	min-height: 54px;
	line-height: 1.2;
	text-align: left;
	padding-right: 46px;
	background-repeat: no-repeat;
	background-position: right 15px center;
	background-size: 20px 20px;
}

.ptc-card input[type="date"] {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%236b6b6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E");
}

.ptc-card input[type="time"] {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%236b6b6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
}

/* Make the whole right area open the native picker; hide the duplicate
   Chrome indicator glyph but keep it as the (transparent) click target. */
.ptc-card input[type="date"]::-webkit-calendar-picker-indicator,
.ptc-card input[type="time"]::-webkit-calendar-picker-indicator {
	position: absolute;
	right: 0;
	top: 0;
	width: 46px;
	height: 100%;
	margin: 0;
	padding: 0;
	opacity: 0;
	cursor: pointer;
}

/* Hide the native empty placeholder so our own overlay is the only hint
   (iOS shows nothing here anyway; Chrome shows yyyy-mm-dd). */
.ptc-card input[type="date"]:invalid::-webkit-datetime-edit,
.ptc-card input[type="time"]:invalid::-webkit-datetime-edit {
	color: transparent;
}

/* Overlay placeholder that works on every device incl. iPhone. */
.ptc-dt {
	position: relative;
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
}

.ptc-dt input {
	width: 100%;
	min-width: 0;
	max-width: 100%;
	display: block;
}

.ptc-dt-ph {
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 16px;
	color: #9a9a9a;
	pointer-events: none;
}

/* Once a value is chosen the field is :valid — hide the overlay. */
.ptc-dt input:valid ~ .ptc-dt-ph {
	display: none;
}

.ptc-card input[type="date"]::-webkit-date-and-time-value,
.ptc-card input[type="time"]::-webkit-date-and-time-value {
	text-align: left;
	color: var(--ptc-ink);
}

.ptc-card input[type="date"]::-webkit-datetime-edit,
.ptc-card input[type="time"]::-webkit-datetime-edit {
	color: var(--ptc-ink);
}

.ptc-card select:focus,
.ptc-card input:focus {
	border-color: var(--ptc-accent);
	box-shadow: 0 0 0 3px rgba(176, 122, 30, 0.12);
}

.ptc-datetime {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	min-width: 0;
	max-width: 100%;
	overflow: visible;
}

/* iPhone/Safari fix: stop native date/time inputs from forcing a wide intrinsic width. */
.ptc-card input[type="date"],
.ptc-card input[type="time"] {
	min-width: 0;
	max-width: 100%;
	-webkit-text-size-adjust: 100%;
}

/* Passengers */
.ptc-passengers {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.ptc-pax-field label {
	display: block;
	margin-bottom: 7px;
	font-size: 13px;
	color: var(--ptc-muted);
}

.ptc-select-wrap--sm::after {
	right: 12px;
}

.ptc-select-wrap--sm select {
	padding: 14px 30px 14px 14px;
}

/* Submit */
.ptc-submit {
	width: 100%;
	margin-top: 26px;
	padding: 18px;
	background: var(--ptc-dark);
	color: #fff;
	border: none;
	border-radius: 40px;
	font-size: 17px;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.08s, background 0.15s;
}

.ptc-submit:hover {
	background: #000;
}

.ptc-submit:active {
	transform: scale(0.99);
}

/* Result */
.ptc-result {
	margin-top: 20px;
	padding: 20px;
	background: #fff;
	border: 1.5px solid var(--ptc-border);
	border-radius: 14px;
}

.ptc-result .ptc-price {
	font-size: 30px;
	font-weight: 800;
	color: var(--ptc-ink);
}

.ptc-result .ptc-price small {
	font-size: 14px;
	font-weight: 500;
	color: var(--ptc-muted);
}

.ptc-result .ptc-route {
	margin: 4px 0 12px;
	font-size: 15px;
	font-weight: 600;
	color: var(--ptc-ink);
}

.ptc-result ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ptc-result li {
	display: flex;
	justify-content: space-between;
	padding: 6px 0;
	font-size: 14px;
	color: var(--ptc-label);
	border-top: 1px solid #f0f0f0;
}

.ptc-result.ptc-result--error {
	border-color: #f0c9c9;
	background: #fdf5f5;
	color: #a12a2a;
	font-size: 15px;
}

.ptc-field-error {
	border-color: #e0a0a0 !important;
	box-shadow: 0 0 0 3px rgba(200, 60, 60, 0.1) !important;
}

/* Booking (step 2) fields */
.ptc-sep {
	border: none;
	border-top: 1px solid var(--ptc-border);
	margin: 24px 0 4px;
}

.ptc-field {
	margin-top: 14px;
}

.ptc-field label {
	display: block;
	margin-bottom: 7px;
	font-size: 13px;
	color: var(--ptc-muted);
}

.ptc-card input[type="text"],
.ptc-card input[type="tel"],
.ptc-card input[type="email"],
.ptc-card textarea {
	width: 100%;
	padding: 15px 16px;
	background: #fff;
	border: 1.5px solid var(--ptc-field-border);
	border-radius: 12px;
	font-size: 16px;
	font-family: inherit;
	color: var(--ptc-ink);
	outline: none;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.ptc-card textarea {
	resize: vertical;
	min-height: 52px;
}

.ptc-card input[type="text"]:focus,
.ptc-card input[type="tel"]:focus,
.ptc-card input[type="email"]:focus,
.ptc-card textarea:focus {
	border-color: var(--ptc-accent);
	box-shadow: 0 0 0 3px rgba(176, 122, 30, 0.12);
}

.ptc-two {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-top: 14px;
}

.ptc-two .ptc-field {
	margin-top: 0;
}

.ptc-book-btn {
	margin-top: 22px;
}

.ptc-result .ptc-tier {
	margin-bottom: 12px;
	font-size: 13px;
	color: var(--ptc-muted);
}

/* Confirmation summary */
.ptc-confirm-head {
	font-size: 17px;
	font-weight: 700;
	color: #1c7d3f;
	margin-bottom: 6px;
}

.ptc-summary {
	margin: 14px 0 0 !important;
	text-align: left;
}

.ptc-summary li {
	gap: 14px;
}

.ptc-summary li span:first-child {
	color: var(--ptc-muted);
	flex: 0 0 auto;
}

.ptc-summary li span:last-child {
	font-weight: 600;
	text-align: right;
	word-break: break-word;
}

.ptc-cal {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: 18px;
}

.ptc-cal-btn {
	display: inline-block;
	padding: 12px 10px;
	background: #1e6fd0;
	color: #fff !important;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	line-height: 1.2;
}

.ptc-cal-btn:hover {
	background: #175bb0;
}

.ptc-note {
	margin: 12px 0 0;
	font-size: 13px;
	color: var(--ptc-muted);
}


.ptc-booking-number {
	display: inline-block;
	margin-top: 5px;
	padding: 7px 11px;
	background: #fff5d8;
	border: 1px solid #efcf83;
	border-radius: 999px;
	font-size: 14px;
	color: #7c5200;
}

.ptc-thanks {
	margin: 8px 0 0;
	font-size: 15px;
	line-height: 1.5;
	color: var(--ptc-ink);
}

.ptc-detail {
	margin-top: 12px;
}

.ptc-detail:empty {
	margin-top: 0;
}

.ptc-detail .ptc-field {
	margin-top: 0;
}

.ptc-detail .ptc-field + .ptc-field {
	margin-top: 12px;
}

/* ---------- Stepper ---------- */
.ptc-card {
	--ptc-step: #1e7fa5;        /* teal step accent (matches reference) */
	--ptc-step-off: #cdd6da;
}

.ptc-steps {
	position: relative;
	display: flex;
	justify-content: space-between;
	margin: 22px 6px 26px;
	overflow-x: clip; /* never let the progress line spill outside the card */
}

.ptc-steps-line {
	position: absolute;
	top: 15px;
	left: 6%;
	right: 6%;
	height: 3px;
	background: var(--ptc-step-off);
	border-radius: 2px;
	z-index: 0;
}

/* Fill sits on the SAME track (left 6% → right 6%) and grows with scaleX,
   so it can never extend past the track / card edge. */
.ptc-steps-line--fill {
	background: var(--ptc-step);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.3s ease;
}

.ptc-step {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	flex: 1;
}

.ptc-step-num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--ptc-step-off);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	transition: background 0.2s;
}

.ptc-step.is-active .ptc-step-num,
.ptc-step.is-done .ptc-step-num {
	background: var(--ptc-step);
}

.ptc-step-label {
	font-size: 13px;
	font-weight: 600;
	color: var(--ptc-muted);
}

.ptc-step.is-active .ptc-step-label,
.ptc-step.is-done .ptc-step-label {
	color: var(--ptc-step);
}

/* ---------- Panels & nav ---------- */
.ptc-panel {
	text-align: left;
}

.ptc-nav {
	display: flex;
	gap: 12px;
	margin-top: 26px;
}

.ptc-nav .ptc-submit {
	margin-top: 0;
	flex: 1;
}

.ptc-back {
	flex: 0 0 auto;
	padding: 18px 26px;
	background: #fff;
	color: var(--ptc-ink);
	border: 1.5px solid var(--ptc-field-border);
	border-radius: 40px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
}

.ptc-back:hover {
	border-color: #bcbcbc;
}

.ptc-hint {
	margin: 8px 0 0;
	font-size: 12.5px;
	color: var(--ptc-muted);
}

/* ---------- Vehicle ---------- */
.ptc-vehicle-box {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	background: #fff;
	border: 1.5px solid var(--ptc-field-border);
	border-radius: 12px;
	color: var(--ptc-ink);
}

.ptc-vehicle-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 64px;
	height: 40px;
	color: var(--ptc-accent);
}

/* When a real vehicle photo is used */
.ptc-vehicle-box.has-photo .ptc-vehicle-icon {
	width: 118px;
	height: 74px;
	background: #f3f3f4;
	border-radius: 8px;
	overflow: hidden;
}

.ptc-vehicle-photo {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.ptc-vehicle-text {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
}

.ptc-vehicle-text strong {
	font-size: 15px;
	font-weight: 700;
}

.ptc-vehicle-text small {
	font-size: 13px;
	color: var(--ptc-muted);
}

.ptc-vehicle-box--choices {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
}

.ptc-vehicle-option {
	position: relative;
	display: grid;
	grid-template-columns: 54px minmax(0, 1fr);
	grid-template-areas:
		"icon text"
		"price price";
	align-items: center;
	gap: 8px 12px;
	min-width: 0;
	padding: 14px;
	background: #fff;
	border: 1.5px solid var(--ptc-field-border);
	border-radius: 12px;
	cursor: pointer;
	transition: border-color .15s, box-shadow .15s, transform .15s;
}

.ptc-vehicle-option:hover {
	transform: translateY(-1px);
	border-color: #bdb8c4;
}

.ptc-vehicle-option.is-active {
	border-color: var(--ptc-accent);
	box-shadow: 0 0 0 1px var(--ptc-accent);
}

.ptc-vehicle-option input {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 3;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.ptc-vehicle-option {
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
}

.ptc-vehicle-option:focus-within {
	outline: 2px solid var(--ptc-accent);
	outline-offset: 2px;
}

.ptc-vehicle-option .ptc-vehicle-icon {
	grid-area: icon;
	width: 54px;
	height: 38px;
}

.ptc-vehicle-option .ptc-vehicle-text {
	grid-area: text;
	min-width: 0;
}

.ptc-vehicle-option .ptc-vehicle-text strong {
	display: block;
	font-size: 14px;
}

.ptc-vehicle-option .ptc-vehicle-text small {
	display: block;
	margin-top: 2px;
	font-size: 11.5px;
	line-height: 1.35;
}

.ptc-vehicle-price {
	grid-area: price;
	display: block;
	padding-top: 9px;
	border-top: 1px solid #ece9ef;
	font-size: 18px;
	font-weight: 800;
	color: var(--ptc-dark);
	text-align: right;
}

.ptc-night-charge[hidden] { display: none; }

.ptc-night-charge {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 12px;
	padding: 12px 14px;
	background: #fff7e6;
	border: 1px solid #f0d59d;
	border-radius: 10px;
	color: #86570d;
	font-size: 13px;
}

.ptc-night-charge strong {
	font-weight: 800;
}

.ptc-night-charge span {
	font-size: 15px;
	font-weight: 800;
	white-space: nowrap;
}

.ptc-advance-notice {
	margin-top: 18px;
	padding: 14px 16px;
	background: #f8f6fa;
	border: 1px solid #e6e0eb;
	border-radius: 12px;
	font-size: 12.5px;
	line-height: 1.6;
	color: var(--ptc-muted);
}

.ptc-advance-notice strong {
	color: var(--ptc-ink);
}

.ptc-advance-notice a {
	color: var(--ptc-accent);
	font-weight: 800;
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* ---------- Payment ---------- */
.ptc-pay {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}

.ptc-pay-option {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 8px;
	background: #fff;
	border: 1.5px solid var(--ptc-field-border);
	border-radius: 12px;
	font-size: 15px;
	cursor: pointer;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.ptc-pay-option input { position: absolute; opacity: 0; pointer-events: none; }

.ptc-pay-option.is-active {
	border-color: var(--ptc-accent);
	box-shadow: 0 0 0 1px var(--ptc-accent);
}

.ptc-pay-option.is-active .ptc-radio { border-color: var(--ptc-accent); }
.ptc-pay-option.is-active .ptc-radio::after {
	content: ""; position: absolute; inset: 3px; background: var(--ptc-accent); border-radius: 50%;
}

/* ---------- Price bar ---------- */
.ptc-pricebar[hidden] { display: none; }

.ptc-pricebar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 20px;
	padding: 16px 20px;
	background: var(--ptc-dark);
	color: #fff;
	border-radius: 14px;
}

.ptc-pricebar-label {
	font-size: 14px;
	font-weight: 500;
	opacity: 0.85;
}

.ptc-pricebar-value {
	font-size: 24px;
	font-weight: 800;
}

/* Phone / WhatsApp field — country code + number on one line */
.ptc-phone-line {
	display: flex;
	gap: 10px;
	align-items: stretch;
	width: 100%;
	min-width: 0;
}

.ptc-phone-number {
	flex: 1 1 auto;
	min-width: 0;
}

/* Custom country-code dropdown: closed button shows only flag + code; open menu shows flag, code and country name. */
.ptc-cc {
	position: relative;
	flex: 0 0 130px;
	min-width: 130px;
	max-width: 130px;
}

.ptc-cc-toggle {
	width: 100%;
	min-height: 58px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 14px;
	background: var(--ptc-dark);
	border: 1.5px solid rgba(255,255,255,.45);
	border-radius: 999px;
	font-size: 17px;
	line-height: 1;
	color: #fff;
	cursor: pointer;
	white-space: nowrap;
	overflow: hidden;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.ptc-cc-current {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	white-space: nowrap;
	line-height: 1;
}

.ptc-cc-flag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	flex: 0 0 28px;
	font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
	font-size: 25px;
	line-height: 1;
	transform: scale(1.22);
	transform-origin: center;
	overflow: visible;
}

.ptc-cc-code {
	display: inline-block;
	font-weight: 800;
	line-height: 1;
	letter-spacing: .01em;
}

.ptc-cc-toggle:focus {
	outline: none;
	border-color: var(--ptc-accent);
	box-shadow: 0 0 0 3px rgba(176, 122, 30, 0.12);
}

.ptc-cc-toggle::after {
	content: "";
	width: 8px;
	height: 8px;
	flex: 0 0 auto;
	border-right: 2px solid rgba(255,255,255,.65);
	border-bottom: 2px solid rgba(255,255,255,.65);
	transform: translateY(-2px) rotate(45deg);
}

.ptc-cc-menu {
	position: absolute;
	z-index: 9999;
	top: calc(100% + 6px);
	left: 0;
	width: 300px;
	max-width: calc(100vw - 32px);
	max-height: 280px;
	overflow-y: auto;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: #fff;
	border: 1.5px solid var(--ptc-field-border);
	border-radius: 12px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.ptc-cc-menu li {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 11px 12px;
	border-radius: 8px;
	font-size: 14px;
	color: var(--ptc-ink);
	cursor: pointer;
	white-space: nowrap;
}

.ptc-cc-menu li:hover,
.ptc-cc-menu li.is-selected {
	background: #f3f3f4;
}

.ptc-cc-menu .ptc-cc-code {
	min-width: 48px;
	font-weight: 700;
}

.ptc-cc-name {
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Responsive — use more of the screen on phones */
@media (max-width: 600px) {
	.ptc-card {
		max-width: 100% !important;
		padding: calc(28px + env(safe-area-inset-top, 0px)) 12px 20px;
		border-radius: 16px;
		overflow: hidden;
	}
	.ptc-phone-cc-wrap { flex-basis: 118px; }
	.ptc-pay { grid-template-columns: 1fr; }
	.ptc-step-label { font-size: 12px; }
	.ptc-nav { flex-direction: row; }
	.ptc-back { padding: 16px 18px; }
	.ptc-passengers { gap: 8px; }
	.ptc-title { font-size: 23px; }
	.ptc-two,
	.ptc-cal { grid-template-columns: 1fr; }
	.ptc-datetime { grid-template-columns: 1fr; }
	.ptc-cc {
		flex-basis: 124px;
		min-width: 124px;
		max-width: 124px;
	}
	.ptc-cc-toggle {
		padding-left: 12px;
		padding-right: 12px;
		font-size: 16px;
	}
	.ptc-cc-flag {
		width: 26px;
		height: 26px;
		flex-basis: 26px;
		font-size: 24px;
	}
	.ptc-cc-menu {
		width: min(300px, calc(100vw - 34px));
	}
	.ptc-vehicle-box--choices {
		grid-template-columns: 1fr;
	}
	.ptc-vehicle-option {
		grid-template-columns: 58px minmax(0, 1fr) auto;
		grid-template-areas: "icon text price";
	}
	.ptc-vehicle-price {
		padding: 0 0 0 10px;
		border-top: 0;
		border-left: 1px solid #ece9ef;
		font-size: 17px;
	}
}


/* v4.1.4: iPhone-safe date/time fields with custom display text and native picker behind it. */
.ptc-datetime {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.ptc-dt {
	position: relative;
	min-width: 0;
	max-width: 100%;
	min-height: 58px;
	background: #fff;
	border: 1.5px solid var(--ptc-field-border);
	border-radius: 14px;
	overflow: visible;
}

.ptc-dt:focus-within {
	border-color: var(--ptc-accent);
	box-shadow: 0 0 0 3px rgba(176, 122, 30, 0.12);
}

.ptc-dt input[type="date"],
.ptc-dt input[type="time"] {
	position: absolute;
	inset: 0;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	height: 100%;
	min-height: 0;
	margin: 0;
	padding: 0 48px 0 16px;
	border: 0 !important;
	border-radius: 14px;
	background: transparent !important;
	box-shadow: none !important;
	color: transparent !important;
	-webkit-text-fill-color: transparent !important;
	caret-color: transparent;
	appearance: auto;
	-webkit-appearance: none;
	cursor: pointer;
}

.ptc-dt input[type="date"]::-webkit-date-and-time-value,
.ptc-dt input[type="time"]::-webkit-date-and-time-value,
.ptc-dt input[type="date"]::-webkit-datetime-edit,
.ptc-dt input[type="time"]::-webkit-datetime-edit {
	color: transparent !important;
	-webkit-text-fill-color: transparent !important;
}

.ptc-dt input[type="date"]::-webkit-calendar-picker-indicator,
.ptc-dt input[type="time"]::-webkit-calendar-picker-indicator {
	position: absolute;
	right: 0;
	top: 0;
	width: 52px;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}

.ptc-dt-ph {
	left: 16px;
	right: 48px;
	font-size: 16px;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: #9a9a9a;
	z-index: 1;
}

.ptc-dt.has-value .ptc-dt-ph {
	color: var(--ptc-ink);
}

.ptc-dt::after {
	content: "";
	position: absolute;
	right: 16px;
	top: 50%;
	width: 22px;
	height: 22px;
	transform: translateY(-50%);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 22px 22px;
	pointer-events: none;
	z-index: 1;
}

.ptc-dt--date::after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%236b6b6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E");
}

.ptc-dt--time::after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%236b6b6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
}

@media (max-width: 600px) {
	.ptc-card {
		padding-left: 18px;
		padding-right: 18px;
		overflow: hidden;
	}
	.ptc-datetime {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 14px;
	}
	.ptc-dt {
		width: 100%;
		min-height: 58px;
	}
}

/* Keep the custom date/time text visible; JS changes it from placeholder to value. */
.ptc-dt input:valid ~ .ptc-dt-ph {
	display: block !important;
}

/* v4.1.5: make emoji flags large and readable on iPhone/Safari. */
.ptc-cc-menu .ptc-cc-flag {
	width: 26px;
	height: 26px;
	flex-basis: 26px;
	font-size: 23px;
	transform: scale(1.12);
}
.ptc-cc-menu .ptc-cc-code {
	color: var(--ptc-ink);
}


/* v4.1.6: make the whole date/time box open the native picker, not only the icon. */
.ptc-dt {
	cursor: pointer;
}
.ptc-dt input[type="date"],
.ptc-dt input[type="time"] {
	z-index: 2;
}
.ptc-dt input[type="date"]::-webkit-calendar-picker-indicator,
.ptc-dt input[type="time"]::-webkit-calendar-picker-indicator {
	left: 0;
	right: auto;
	top: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	position: absolute;
	cursor: pointer;
}
.ptc-dt-ph,
.ptc-dt::after {
	pointer-events: none;
}

/* Homepage quick quote shortcode: [transfer_quick_quote]
   Hero-card layout inspired by the full booking form, but lighter. */
.ptc-quick {
	--ptc-accent: #b07a1e;
	--ptc-dark: #211d18;
	--ptc-ink: #1c1917;
	--ptc-muted: #6b6b6b;
	--ptc-label: #4a4a4a;
	--ptc-field-border: #dcdcdc;
	box-sizing: border-box;
	width: 100%;
	margin: 0 auto;
	padding: 34px 38px 36px;
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid rgba(232, 232, 232, 0.94);
	border-radius: 22px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.14);
	font-family: inherit;
	color: var(--ptc-ink);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.ptc-quick *,
.ptc-quick *::before,
.ptc-quick *::after {
	box-sizing: border-box;
}

.ptc-quick-head {
	text-align: center;
	margin: 0 0 26px;
}

.ptc-quick-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-bottom: 10px;
	border-radius: 12px;
	background: #f4eee5;
	color: var(--ptc-accent);
	font-size: 24px;
	font-weight: 800;
	line-height: 1;
}

.ptc-quick-head h3 {
	margin: 0;
	font-size: 28px;
	line-height: 1.12;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--ptc-ink);
}

.ptc-quick-head p {
	margin: 6px 0 0;
	font-size: 15px;
	line-height: 1.4;
	color: var(--ptc-muted);
}

.ptc-quick-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 18px;
	align-items: end;
}

.ptc-quick-field label {
	display: block;
	margin: 0 0 9px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ptc-label);
}

.ptc-quick-field:nth-child(1),
.ptc-quick-field:nth-child(2),
.ptc-quick-field--pax,
.ptc-quick-actions {
	grid-column: 1 / -1;
}

.ptc-quick .ptc-select-wrap {
	margin: 0;
}

.ptc-quick select,
.ptc-quick input[type="date"],
.ptc-quick input[type="time"] {
	width: 100%;
	min-height: 58px;
	padding: 16px 46px 16px 18px;
	background-color: #fff;
	border: 1.5px solid var(--ptc-field-border);
	border-radius: 16px;
	font-size: 16px;
	font-family: inherit;
	color: var(--ptc-ink);
	outline: none;
}

.ptc-quick select {
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
}

.ptc-quick select:focus,
.ptc-quick input:focus,
.ptc-quick .ptc-dt:focus-within {
	border-color: var(--ptc-accent);
	box-shadow: 0 0 0 3px rgba(176, 122, 30, 0.12);
}

.ptc-quick .ptc-dt {
	min-height: 58px;
	border-radius: 16px;
	background-color: #fff;
}

.ptc-quick .ptc-dt input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	min-height: 58px;
	opacity: 0.01;
	cursor: pointer;
}

.ptc-quick .ptc-dt-ph {
	left: 18px;
	right: 46px;
	font-size: 16px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ptc-quick-actions {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(190px, 0.45fr);
	gap: 14px;
	align-items: stretch;
	margin-top: 2px;
}

.ptc-quick-price {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	min-height: 58px;
	padding: 14px 18px;
	background: #f7f4ef;
	color: var(--ptc-ink);
	border: 1.5px solid #ece6dc;
	border-radius: 16px;
}

.ptc-quick-price-label {
	font-size: 14px;
	line-height: 1.1;
	font-weight: 700;
	color: var(--ptc-muted);
}

.ptc-quick-price-value {
	font-size: 28px;
	font-weight: 900;
	white-space: nowrap;
	color: var(--ptc-ink);
}

.ptc-quick-btn {
	width: 100%;
	min-height: 58px;
	padding: 15px 22px;
	border: 0;
	border-radius: 999px;
	background: var(--ptc-dark);
	color: #fff;
	font-size: 16px;
	font-weight: 800;
	font-family: inherit;
	cursor: pointer;
	transition: transform 0.08s, background 0.15s;
}

.ptc-quick-btn:hover {
	background: #000;
}

.ptc-quick-btn:active {
	transform: scale(0.99);
}

.ptc-quick-message {
	margin-top: 14px;
	padding: 12px 14px;
	border-radius: 12px;
	background: #fff7ed;
	color: #9a3412;
	font-size: 14px;
}

@media (max-width: 760px) {
	.ptc-quick {
		padding: 28px 24px 30px;
		border-radius: 20px;
	}
	.ptc-quick-head h3 {
		font-size: 24px;
	}
	.ptc-quick-grid {
		grid-template-columns: 1fr;
		gap: 15px;
	}
	.ptc-quick-field,
	.ptc-quick-field:nth-child(1),
	.ptc-quick-field:nth-child(2),
	.ptc-quick-field--pax,
	.ptc-quick-actions {
		grid-column: 1 / -1;
	}
	.ptc-quick-actions {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.ptc-quick {
		padding: 24px 18px 26px;
	}
	.ptc-quick-head {
		margin-bottom: 22px;
	}
	.ptc-quick-icon {
		width: 40px;
		height: 40px;
		font-size: 22px;
	}
	.ptc-quick-head h3 {
		font-size: 22px;
	}
	.ptc-quick select,
	.ptc-quick input[type="date"],
	.ptc-quick input[type="time"],
	.ptc-quick .ptc-dt,
	.ptc-quick .ptc-dt input,
	.ptc-quick-btn,
	.ptc-quick-price {
		min-height: 54px;
	}
	.ptc-quick-price-value {
		font-size: 24px;
	}
}


/* v4.2.8: reliable macOS Safari time selector.
   JavaScript replaces the problematic native time control with normal hour and
   minute dropdowns while keeping the original HH:MM input for submission. */
.ptc-mac-safari .ptc-dt--time-select {
	padding: 0 12px;
	cursor: default;
}

.ptc-mac-safari .ptc-dt--time-select::after,
.ptc-mac-safari .ptc-dt--time-select .ptc-dt-ph {
	display: none !important;
}

.ptc-mac-safari .ptc-dt--time-select > input[type="hidden"] {
	display: none !important;
}

.ptc-mac-safari .ptc-time-selects {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.15fr);
	align-items: center;
	gap: 8px;
	width: 100%;
	min-height: 55px;
}

.ptc-mac-safari .ptc-time-selects select {
	width: 100%;
	min-width: 0;
	height: 44px;
	margin: 0;
	padding: 0 30px 0 12px;
	border: 1px solid #dedede;
	border-radius: 10px;
	background-color: #fff;
	color: var(--ptc-ink);
	font: inherit;
	font-size: 16px;
	line-height: 1.2;
	-webkit-text-fill-color: var(--ptc-ink);
	appearance: auto;
	-webkit-appearance: menulist;
	cursor: pointer;
}

.ptc-mac-safari .ptc-time-selects select:focus {
	outline: none;
	border-color: var(--ptc-accent);
	box-shadow: 0 0 0 2px rgba(176, 122, 30, 0.12);
}

.ptc-mac-safari .ptc-time-separator {
	font-size: 20px;
	font-weight: 800;
	line-height: 1;
	color: var(--ptc-muted);
}

.ptc-mac-safari .ptc-dt--time-select.ptc-field-error {
	border-color: #e0a0a0 !important;
	box-shadow: 0 0 0 3px rgba(200, 60, 60, 0.1) !important;
}

@media (max-width: 480px) {
	.ptc-mac-safari .ptc-dt--time-select {
		padding: 0 8px;
	}
	.ptc-mac-safari .ptc-time-selects {
		gap: 5px;
	}
	.ptc-mac-safari .ptc-time-selects select {
		padding-left: 8px;
		padding-right: 22px;
		font-size: 15px;
	}
}
