/**
 * Property Checkout Styles
 * Styling for the property checkout page
 */

:root {
	--primary-color: #e91e63;
	--primary-dark: #c2185b;
	--text-dark: #333;
	--text-light: #666;
	--border-color: #e0e0e0;
	--bg-light: #f5f5f5;
	--success-color: #4caf50;
	--error-color: #f44336;
	--spacing: 1rem;
	--border-radius: 8px;
	--shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Main Container */
.checkout-main {
/* 	background-color: #fafafa; */
	padding: 2rem 0;
	min-height: 100vh;
}

/* ---------------------------------------------------------------
   Back button — MOBILE ONLY (≤ 768px).
   Completely hidden on desktop. Sits at the top of the checkout
   page, above the property card, and is position: sticky so it
   stays visible while scrolling. Styled with Come2Holiday pink
   brand colors and a left-arrow icon.
---------------------------------------------------------------- */
.c2h-back-btn {
	display: none;        /* hidden by default (desktop) */
	align-items: center;
	gap: 8px;
	margin: 8px 0 12px 0;
	padding: 8px 14px 8px 10px;
	background: #ffffff;
	color: #101116;
	border: 1px solid var(--border-color);
	border-radius: 999px;
	font-family: "Manrope", "DM Sans", sans-serif;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(16, 17, 22, 0.08);
	transition: background 0.25s ease, color 0.25s ease,
		border-color 0.25s ease, transform 0.25s ease,
		box-shadow 0.25s ease;
}
.c2h-back-btn svg {
	flex: 0 0 auto;
	transition: transform 0.25s ease;
}
.c2h-back-btn:hover,
.c2h-back-btn:focus {
	background: linear-gradient(180deg, #FF79C9 0%, #FF47B4 100%);
	color: #ffffff;
	border-color: transparent;
	box-shadow: 0 6px 16px rgba(236, 0, 140, 0.25);
	outline: none;
}
.c2h-back-btn:hover svg,
.c2h-back-btn:focus svg {
	transform: translateX(-2px);
}
.c2h-back-btn:active {
	transform: translateY(1px);
}

/* MOBILE (≤ 768px): show at the top, sticky so it stays visible
   while the user scrolls past the property card / pricing. */
@media (max-width: 768px) {
	.c2h-back-btn {
		display: inline-flex;
		position: sticky;
		top: 8px;
		z-index: 20;
	}
	/* Make sure the back button is never hidden under the page header. */
	.site-main.checkout-main {
		padding-top: 0.5rem;
	}
}

/* Extra small screens: slightly tighter pill for thumb-friendly use. */
@media (max-width: 480px) {
	.c2h-back-btn {
		padding: 7px 12px 7px 9px;
		font-size: 0.8125rem;
	}
}

.checkout-container {
	display: grid;
	grid-template-columns: 1fr 400px;
	gap: 2rem;
/* 	max-width: 1200px; */
	margin: 0 auto;
	padding: 0 1px;
}

/* Left Column Styles */
.checkout-left {
	background: white;
	padding: 2rem;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow);
}

.checkout-section {
	margin-bottom: 1rem;
	padding: 16px 20px;
	border-bottom: 1px solid var(--border-color);
	
}

/* .checkout-section:last-of-type {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
} */

.checkout-title {
	font-size: 1.625rem;
	font-weight: 700;
	color: var(--text-dark);
	margin-bottom: 0rem;
}

.section-title {
	font-size: 1rem;
	font-weight: 500;
	color: var(--text-dark);
	/* margin-bottom: 1.25rem; */
	line-height: normal;
	margin: 0 0 10px 0;
}

/* Payment Methods */
.payment-methods {
	display: flex;
	gap: 1rem;
	margin-bottom: 1rem;
}

.payment-method {
	flex: 1;
	border: 2px solid var(--border-color);
	border-radius: var(--border-radius);
	padding: 1rem;
	text-align: center;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
}

.payment-method:hover {
	border-color: var(--primary-color);
	box-shadow: 0 0 0 2px rgba(233, 30, 99, 0.1);
}

.payment-method input[type="radio"] {
	position: absolute;
	opacity: 0;
	cursor: pointer;
}

.payment-method input[type="radio"]:checked + * {
	content: '';
}

.payment-method input[type="radio"]:checked,
.payment-method:has(input[type="radio"]:checked) {
	border-color: var(--primary-color);
	background-color: rgba(233, 30, 99, 0.05);
}

.payment-method img {
	max-width: 50%;
	height: auto;
	display: block;
	margin: 0 auto;
}

/* Card-specific colors when active */
.card-icons {
    display: flex;
    gap: 2px;
	justify-content: end;
}
.card-icons img {
    width: 50px;
}

/* Form Styles */
.checkout-form,
.form-group {
	margin-bottom: 0.625rem;
}

.form-group {
	display: flex;
	flex-direction: column;
}

.form-group label {
	font-weight: 500;
	color: var(--text-dark);
	margin-bottom: 0.5rem;
	font-size: 0.95rem;
}

.form-group label .required-asterisk {
	color: var(--error-color);
	margin-left: 0.25rem;
	font-weight: bold;
}

.form-group input,
.form-control {
	padding: 8px 15px;
	border: 1px solid var(--border-color);
	border-radius: var(--border-radius);
	font-size: 0.875rem;
	font-family: inherit;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-control:focus {
	outline: none;
/* 	border-color: var(--primary-color); */
	border-color: #ff47ab;
/* 	box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1); */
}

.form-group input::placeholder,
.form-control::placeholder {
	color: #aaa;
}

/* Form error styling */
.form-error {
	color: var(--error-color);
	font-size: 12px;
	margin-top: 0.35rem;
	display: block;
    border: 1px solid;
    padding: 2px 5px;
    border-radius: 5px;
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

/* Payment Options */
.payment-option {
	display: flex;
	align-items: center;
	padding: 8px 15px;
	margin-bottom: 0.75rem;
	border: 1px solid var(--border-color);
	border-radius: var(--border-radius);
	cursor: pointer;
	transition: all 0.3s ease;
}

.payment-option:hover {
	border-color: var(--primary-color);
	background-color: rgba(233, 30, 99, 0.02);
}

.payment-option input[type="radio"] {
	margin-right: 1rem;
	cursor: pointer;
	width: 18px;
	height: 18px;
	accent-color: var(--primary-color);
}

.payment-option:has(input[type="radio"]:checked) {
/* 	border-color: var(--primary-color); */
	border-color: #ff47ab;
	background-color: rgba(233, 30, 99, 0.05);
}

.option-label {
	flex: 1;
	font-weight: 500;
	color: var(--text-dark);
	font-size: 14px;
}

.option-amount {
	font-weight: 600;
/* 	color: var(--primary-color); */
	color: #ff47ab;
	font-size: 0.875rem;
}

/* Travel Protection */
.travel-protection-text {
	color: var(--text-light);
	margin-bottom: 0.5rem;
	line-height: 1.5;
}

.help-link {
	margin-bottom: 1rem;
}

.help-link a {
/* 	color: var(--primary-color); */
	color: #ff47ab;
	text-decoration: none;
	font-size: 0.9rem;
}

.help-link a:hover {
	text-decoration: underline;
}

.checkbox-option {
	display: flex;
	align-items: flex-start;
	padding: 0.875rem 1rem;
	border: 1px solid var(--border-color);
	border-radius: var(--border-radius);
	cursor: pointer;
	transition: all 0.3s ease;
}

.checkbox-option:hover {
	border-color: var(--primary-color);
	background-color: rgba(233, 30, 99, 0.02);
}

.checkbox-option input[type="radio"] {
	margin-right: 10px;
}

.checkbox-option input[type="checkbox"] {
	margin-right: 1rem;
	margin-top: 0.25rem;
	cursor: pointer;
	width: 18px;
	height: 18px;
	accent-color: var(--primary-color);
	flex-shrink: 0;
}

.option-text {
	color: var(--text-light);
	font-size: 0.875rem;
	line-height: 1.5;
	margin-top: -5px;
}

/* Accordion */
.terms-accordion {
	margin-bottom: 1.5rem;
}

.accordion-item {
	border: 1px solid var(--border-color);
	border-radius: var(--border-radius);
	margin-bottom: 0.75rem;
	overflow: hidden;
}

.accordion-title {
	padding: 5px 10px;
	margin: 0;
	background-color: #eaf7ff;
	cursor: pointer;
	user-select: none;
	font-weight: 500;
	color: var(--text-dark);
	transition: background-color 0.3s ease;
	font-size: 0.95rem;
}

.accordion-title:hover {
	background-color: #eee;
}

.accordion-content {
	padding: 0.875rem 1rem;
	color: var(--text-light);
	font-size: 0.9rem;
	line-height: 1.6;
	display: none;
	border-top: 1px solid var(--border-color);
	margin: 0;
}

.accordion-item.active .accordion-content {
	display: block;
}

/* Terms Checkbox */
.terms-checkbox {
	display: flex;
	align-items: flex-start;
	padding: 1rem;
	border: 1px solid var(--border-color);
	border-radius: var(--border-radius);
	cursor: pointer;
	transition: all 0.3s ease;
}

.terms-checkbox:hover {
	border-color: var(--primary-color);
	background-color: rgba(233, 30, 99, 0.02);
}

.terms-checkbox input[type="checkbox"] {
	margin-right: 1rem;
	margin-top: 0.25rem;
	cursor: pointer;
	width: 18px;
	height: 18px;
	accent-color: var(--primary-color);
	flex-shrink: 0;
}

.terms-checkbox span {
	color: var(--text-light);
	font-size: 0.9rem;
	line-height: 1.5;
}

/* Book Now Button */
input.btn-book-now {
	width: 100%;
	padding: 1rem;
/* 	background-color: var(--primary-color); */
	background: linear-gradient(180deg, #FF79C9 0%, #FF47B4 100%);
	color: white;
	border: none;
	border-radius: var(--border-radius);
	font-size: 1.1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	margin-top: 1rem;
}

.btn-book-now:hover:not(:disabled) {
	background-color: var(--primary-dark);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(233, 30, 99, 0.4);
}

.btn-book-now:disabled {
	background-color: #ccc;
	cursor: not-allowed;
	opacity: 0.6;
}

/* Right Column Styles */
.checkout-right {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	height: fit-content;
	position: sticky;
	top: 2rem;
}

/* Accommodation Card */
.accomm-card {
	background: white;
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: var(--shadow);
}

.accomm-image {
	width: 100%;
	height: 250px;
	overflow: hidden;
	background-color: var(--bg-light);
}

.accomm-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.placeholder-image {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	font-weight: 600;
}

.accomm-details {
	padding: 1.25rem;
}

.accomm-name {
	font-size: 1.1rem;
	font-weight: 500;
	color: var(--text-dark);
	margin: 0 0 1rem 0;
}

.booking-details {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.detail-row {
	display: flex;
	justify-content: space-between;
	font-size: 0.9rem;
}

.detail-label {
	color: var(--text-light);
	font-weight: 500;
}

.detail-value {
	color: var(--text-dark);
	font-weight: 600;
}

/* Pricing Details */
.pricing-details {
	background: white;
	padding: 1.5rem;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow);
}

.pricing-title {
	font-size: 1.1rem;
	font-weight: 500;
	color: var(--text-dark);
	margin: 0 0 1rem 0;
}

.pricing-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--border-color);
	font-size: 0.95rem;
}
.pricing-row[hidden] {
    display: none !important;
}

.pricing-row.discounts .pricing-value {
	color: var(--success-color);
}

.pricing-row.total {
	border-bottom: none;
/* 	border-top: 2px solid var(--primary-color); */
	border-top: 2px solid #ff47ab;
	padding-top: 1rem;
	padding-bottom: 0;
	font-weight: 600;
	font-size: 1.1rem;
}

.pricing-row.total .pricing-label {
	color: var(--text-dark);
}

.pricing-row.total .pricing-value {
/* 	color: var(--primary-color); */
	color: #ff47ab;
	font-size: 1.3rem;
}

.pricing-label {
	color: var(--text-light);
	font-weight: 500;
}

.pricing-value {
	color: var(--text-dark);
	font-weight: 600;
}

/* Payment Methods Footer */
.payment-methods-footer {
	background: white;
	padding: 1rem;
	margin-top: 1.8rem;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow);
	display: flex;
	justify-content: space-between;
	align-items: center;
	/* gap: 0.5rem; */
}

.payment-methods-footer img {
	height: 50px;
	width: auto;
	object-fit: contain;
}

/* Responsive Design */
@media (max-width: 1024px) {
	.checkout-container {
		grid-template-columns: 1fr;
	}

	.checkout-right {
		position: static;
	}
}

@media (max-width: 768px) {
	.checkout-container {
		gap: 1rem;
		padding: 0 0.5rem;
	}

	.checkout-left {
		padding: 1.5rem;
	}

	.form-row {
		grid-template-columns: 1fr;
		gap: 0rem;
	}

	.checkout-title {
		font-size: 1.5rem;
	}

	.section-title {
		font-size: 1.1rem;
	}

	.payment-methods {
		gap: 0.5rem;
	}

	.payment-methods-footer {
		flex-wrap: wrap;
	}

	.checkout-right {
		order: -1;
	}
}

@media (max-width: 480px) {
	.checkout-container {
		padding: 0 0.25rem;
	}

	.checkout-left,
	.accomm-card,
	.pricing-details {
		padding: 1rem;
		border-radius: 4px;
	}

	.checkout-title {
		font-size: 1.25rem;
	}

	.section-title {
		font-size: 1rem;
	}

	.form-group input,
	.form-control {
		font-size: 16px;
	}

	.btn-book-now {
		padding: 0.875rem;
		font-size: 1rem;
	}

	.detail-row {
		flex-direction: column;
		gap: 0.25rem;
	}

	.pricing-row,
	.payment-option {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
	}

	.option-amount,
	.pricing-value {
		align-self: flex-start;
	}
}

/* Utility Classes */
.text-center {
	text-align: center;
}

.mt-1 {
	margin-top: 0.5rem;
}

.mt-2 {
	margin-top: 1rem;
}

.mb-1 {
	margin-bottom: 0.5rem;
}

.mb-2 {
	margin-bottom: 1rem;
}

/* Animations */
@keyframes slideIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.checkout-section {
	animation: slideIn 0.3s ease-out;
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .checkout-section .g-recaptcha {
        width: 258px;
        height: 66px;
        overflow: hidden;
    }

    .checkout-section .g-recaptcha > div {
        transform: scale(0.85);
        -webkit-transform: scale(0.85);
        transform-origin: 0 0;
        -webkit-transform-origin: 0 0;
    }
	
	.site-main.checkout-main .container {
		padding: 0px !important;
	}
}
/* ============ CHECKOUT PRICING LOADER ============
   Spinner shown inside the right-column Pricing Details
   while the property_sync_calculate_rate AJAX call is in
   flight. checkout.js's showCheckoutLoader() /
   hideCheckoutLoader() toggle the
   .vrp-checkout-pricing-loader and
   .vrp-checkout-pricing-content blocks. Mirrors the
   styling of the single property page's pricing loader. */
.vrp-price-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.vrp-loader-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.vrp-loader-dots {
    display: flex;
    gap: 8px;
}

.vrp-loader-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF79C9 0%, #FF47B4 100%);
    animation: vrp-loader-bounce 1.4s infinite ease-in-out both;
}

.vrp-loader-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.vrp-loader-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

.vrp-loader-dots span:nth-child(3) {
    animation-delay: 0s;
}

@keyframes vrp-loader-bounce {
    0%, 80%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }
    40% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.vrp-loader-spinner p {
    font-size: 14px;
    color: #666;
    margin: 0;
    font-weight: 500;
}

/* ============ CHECKOUT BACK BUTTON ============ */
.checkout-back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
	margin-bottom: 1rem;
    background: transparent;
    color: var(--text-dark, #333);
    border: 1px solid #ddd;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    cursor: pointer;
}

.checkout-back-button:hover,
.checkout-back-button:focus {
    background: #f5f5f5;
    color: var(--primary-color, #e91e63);
    border-color: var(--primary-color, #e91e63);
    outline: none;
}

.checkout-back-button i {
    font-size: 12px;
}

/* ============ PRICING � REMAINING BALANCE ROW ============ */
.pricing-row.remaining {
    margin-top: 4px;
    color: var(--text-light, #666);
    font-size: 14px;
}

/* ============ PRICING � DUE TODAY ROW ============ */
.pricing-row.due-today {
    color: var(--text-dark, #333);
    font-weight: 500;
}

/* ---------------------------------------------------------------
   Speak to a Local Expert info bar (property checkout)
   Design tokens mirror kingdomvision theme:
   - Body font:    "DM Sans", sans-serif (weight 500)
   - Heading font: "Manrope", sans-serif (weight 700)
   - Pink gradient: linear-gradient(180deg, #FF79C9 0%, #FF47B4 100%)
   - Accent pink:  #EC008C
   - Hover yellow: #FFCB05
   - Card radius:  15px
---------------------------------------------------------------- */
.c2h-expert-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 22px 0;
  padding: 14px 18px;
  background: #ffffff;
  border: 1px solid transparent;
  border-radius: 15px;
  box-shadow: 0 6px 24px rgba(16, 17, 22, 0.06);
  font-family: "DM Sans", sans-serif;
  color: #101116;
  flex-wrap: wrap;
  background-image: linear-gradient(#ffffff, #ffffff),
                    linear-gradient(to right, rgba(236, 0, 140, 0.35), #EC008C);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  position: relative;
}
.c2h-expert-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 15px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 121, 201, 0.06) 0%, rgba(255, 71, 180, 0.06) 100%);
}

.c2h-expert-bar__lead {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
}
.c2h-expert-bar__avatar {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #FF79C9 0%, #FF47B4 100%);
  color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(236, 0, 140, 0.25);
}
.c2h-expert-bar__copy {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}
.c2h-expert-bar__eyebrow {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #EC008C;
  margin-bottom: 2px;
}
.c2h-expert-bar__title {
  font-family: "Manrope", sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #101116;
  line-height: 1.2;
}

.c2h-expert-bar__actions {
  flex: 0 0 auto;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.c2h-expert-bar__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 12px;
  font-family: "Plus Jakarta Sans", "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
  border: 1px solid transparent;
  transition: background 0.5s ease-in-out, color 0.5s ease-in-out,
              transform 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}
.c2h-expert-bar__btn svg {
  display: inline-block;
  flex: 0 0 auto;
}

/* Primary CTA — matches kingdomvision .customBtn
   (pink gradient + white text) */
.c2h-expert-bar__btn--phone {
  background: linear-gradient(180deg, #FF79C9 0%, #FF47B4 100%);
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(236, 0, 140, 0.25);
}
.c2h-expert-bar__btn--phone:hover,
.c2h-expert-bar__btn--phone:focus {
  background: linear-gradient(#ffffff, #ffffff) padding-box,
              linear-gradient(to right, rgba(236, 0, 140, 0.25), #EC008C) border-box;
  color: #101116 !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(236, 0, 140, 0.2);
  outline: none;
}

/* Secondary CTA — matches kingdomvision .customBorderBtn
   (white + pink gradient border, fills pink on hover) */
.c2h-expert-bar__btn--whatsapp {
  background: linear-gradient(#ffffff, #ffffff) padding-box,
              linear-gradient(to right, rgba(236, 0, 140, 0.25), #EC008C) border-box;
  color: #101116 !important;
  border: 1px solid transparent;
}
.c2h-expert-bar__btn--whatsapp:hover,
.c2h-expert-bar__btn--whatsapp:focus {
  background: linear-gradient(180deg, #FF79C9 0%, #FF47B4 100%) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(236, 0, 140, 0.2);
  outline: none;
}

@media (max-width: 640px) {
  .c2h-expert-bar {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 14px 16px;
  }
  .c2h-expert-bar__actions {
    width: 100%;
  }
  .c2h-expert-bar__btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}

/* ---------------------------------------------------------------
   Mobile-only: hide the Terms heading + accordion glossary on
   the checkout page. The user only sees the confirmation
   checkbox on mobile. Desktop is unchanged (heading + accordion
   remain visible).
---------------------------------------------------------------- */
@media (max-width: 768px) {
	.c2h-terms-heading,
	.c2h-terms-accordion {
		display: none !important;
	}
}

/* ============ MOBILE ACCORDION (Property Card + Pricing Details) ============
   These two right-column sections render as full content on
   desktop (no chrome, no header, no toggle). On mobile (= 768px)
   the header button becomes visible and the body collapses
   into an accordion that the user can tap to expand / collapse.
   The desktop layout is intentionally untouched. */

/* The header button is hidden on desktop � desktop users see
   the body content directly without any accordion chrome. */
.checkout-accordion-header {
    display: none;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 16px;
    background: linear-gradient(180deg, #FF79C9 0%, #FF47B4 100%);
    color: #fff;
    border: none;
    border-radius: var(--border-radius, 8px);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.2s ease;
}

.checkout-accordion-header:hover,
.checkout-accordion-header:focus {
    background: linear-gradient(180deg, #FF79C9 0%, #FF47B4 100%);
    /* background: var(--primary-dark, #f979c6); */
    outline: none;
}

.checkout-accordion-title {
    flex: 1 1 auto;
    text-align: left;
}

.checkout-accordion-chevron {
    flex: 0 0 auto;
    margin-left: 8px;
    transition: transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    font-size: 0.85rem;
}

.checkout-accordion.is-open .checkout-accordion-chevron {
    transform: rotate(180deg);
}

/* On mobile, switch the body between collapsed / expanded.
   We use a max-height transition so the animation is smooth
   even when the body's actual height varies. The body is
   always rendered in the DOM (so screen readers + the JS
   helper can read its content) but starts hidden on mobile. */
@media (max-width: 768px) {
    .checkout-accordion-header {
        display: flex;
    }
    .checkout-accordion-body {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.25s ease, margin 0.3s ease, padding 0.3s ease;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    .checkout-accordion.is-open .checkout-accordion-body {
        max-height: 4000px;  /* large enough for any content */
        opacity: 1;
    }

    /* Add a small gap between the two accordions on mobile so
       the user can clearly see them as separate panels. */
    .accomm-accordion,
    .pricing-accordion {
        margin-bottom: 1rem;
    }

    /* The body still carries its own padding for content
       readability (e.g. .accomm-card padding). When the
       accordion is closed, we zero those out so there's no
       wasted space; when open, the original padding returns
       (because we use padding-top: <orig> !important below). */
    .accomm-accordion .checkout-accordion-body {
        padding: 0 !important;
    }
    .accomm-accordion.is-open .checkout-accordion-body {
        /* Match the .accomm-card padding from the desktop CSS. */
        padding: 1.25rem 1rem !important;
        border: 1px solid #e5e5e5;
        border-top: none;
        border-radius: 0 0 var(--border-radius, 8px) var(--border-radius, 8px);
    }

    .pricing-accordion .checkout-accordion-body {
        padding: 0 !important;
    }
    .pricing-accordion.is-open .checkout-accordion-body {
        padding: 1.25rem 1rem !important;
        border: 1px solid #e5e5e5;
        border-top: none;
        border-radius: 0 0 var(--border-radius, 8px) var(--border-radius, 8px);
    }
}

/* Helper class: shows on desktop, hidden on mobile (where the
   accordion header already provides the title). */
.desktop-only {
    display: block;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
}

/* Short, ordered checkout with a compact property and total summary. */
.checkout-main .checkout-container { grid-template-columns:minmax(0,1fr) minmax(260px,29%); gap:24px; align-items:start; }
.checkout-main .checkout-left { padding:24px; }
.checkout-main .checkout-section { padding:0 0 18px; margin:0 0 18px; border:0; border-bottom:1px solid #eee; border-radius:0; }
.checkout-main .checkout-section-header { margin-bottom:22px; border:0; text-align:left; }
.checkout-main .section-title { font-size:17px; font-weight:700; margin-bottom:14px; }
.checkout-main .form-group { margin-bottom:12px; }
.checkout-main .form-group label { display:block; font-size:12px; line-height:1.4; font-weight:600; margin-bottom:6px; }
.checkout-main .form-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin:0; }
.checkout-main .form-group input,.checkout-main .form-group select { width:100%; min-width:0; min-height:46px; padding:10px 12px; font-size:16px; border-radius:9px; }
.checkout-main .card-icons { float:right; margin:0; height:22px; }
.checkout-main .card-icons img { height:18px; width:auto; }
.checkout-main .payment-option,.checkout-main .checkbox-option { padding:12px; margin:8px 0; border-radius:10px; gap:10px; align-items:center; }
.checkout-main .option-label,.checkout-main .option-text { font-size:14px; line-height:1.5; }
.checkout-main .option-amount { font-size:15px; white-space:nowrap; }
.c2h-protection-details { font-size:13px; color:#625660; margin-top:10px; }
.c2h-protection-details summary,.c2h-price-details summary { cursor:pointer; font-size:13px; text-decoration:underline; padding:8px 0; }
.c2h-protection-details p { margin:8px 0 0; font-size:13px; line-height:1.6; }
.checkout-main .c2h-booking-summary { position:static; display:block; padding:14px; border:1px solid #e9e1e6; border-radius:16px; background:#fff; box-shadow:none; }
.checkout-main .c2h-booking-summary .accomm-card { display:grid; grid-template-columns:64px minmax(0,1fr); gap:12px; padding:0!important; margin:0!important; box-shadow:none; border:0; border-radius:0; max-height:none; opacity:1; overflow:visible; }
.checkout-main .accomm-image { width:64px; height:64px; border-radius:10px; }
.checkout-main .accomm-details { padding:0; min-width:0; }
.checkout-main .accomm-name { font-size:13px; line-height:1.45; margin:0 0 7px; font-weight:700; }
.checkout-main .booking-details { gap:3px; }
.checkout-main .detail-row { font-size:11px; line-height:1.4; gap:5px; }
.checkout-main .detail-value { font-size:11px; white-space:normal; }
.c2h-summary-total { display:flex; justify-content:space-between; gap:10px; padding-top:12px; margin-top:12px; border-top:1px solid #eee; font-size:14px; }
.c2h-summary-total strong { font-size:17px; }
.checkout-main .c2h-price-details .pricing-row { font-size:13px; margin:0; padding:7px 0; }
.checkout-main .c2h-price-details .pricing-value { font-size:13px; }
.checkout-main .c2h-expert-bar { padding:12px 0 0; margin:16px 0 0; border:0; box-shadow:none; background:none; }
.checkout-main .c2h-expert-bar__text { display:none; }
.checkout-main .c2h-expert-bar__lead { display:none; }
body:has(.checkout-main) #fscta-trigger-btn { display:none!important; }
.checkout-main .c2h-expert-bar__btn { padding:8px 12px; font-size:12px; }
.checkout-main .c2h-back-btn { position:static; }
@media(max-width:768px) {
 .checkout-main .checkout-container { display:flex; flex-direction:column; gap:18px; }
 .checkout-main .c2h-booking-summary { order:-1; width:100%; margin:0; }
 .checkout-main .checkout-left { width:100%; padding:18px 14px; }
 .checkout-main .checkout-title { font-size:23px; }
 .checkout-main .form-row { grid-template-columns:1fr 1fr; gap:10px; }
 .checkout-main .form-group { min-width:0; }
 .checkout-main .form-group input,.checkout-main .form-group select { padding:10px; }
 .checkout-main .c2h-booking-summary .accomm-card { grid-template-columns:56px minmax(0,1fr); }
 .checkout-main .accomm-image { width:56px; height:56px; }
 .checkout-main .booking-details { flex-direction:row; flex-wrap:wrap; column-gap:12px; }
 .checkout-main .booking-details .detail-row:last-child { flex-basis:100%; }
 .checkout-main .booking-details .detail-row { display:flex; flex-direction:row; gap:4px; }
 .checkout-main .booking-details .detail-label { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
 .checkout-main .booking-details .detail-row:nth-child(2)::before { content:'–'; }
 .checkout-main .booking-details { column-gap:5px; }
 .checkout-main .accomm-name { margin-bottom:5px; }
 .checkout-main .c2h-summary-total { margin-top:9px; padding-top:9px; }
}

/* Keep each payment amount beside its choice on all screen sizes. */
.checkout-main .payment-option { display:grid; grid-template-columns:18px minmax(0,1fr) max-content; align-items:center; gap:10px; }
.checkout-main .payment-option input[type=radio] { margin:0; }
.checkout-main .payment-option .option-amount { align-self:center; text-align:right; }
