/* ==========================================================================
   SHAPED CHECKOUT - MINIMAL TRUSTWORTHY DESIGN
   ========================================================================== */
/* Discount display styling */
.mphb-price-original {
	text-decoration: line-through;
	color: var(--color-text-light);
	font-weight: normal;
}

section#mphb-price-details {
  display: none;
}


.discount-badge-checkout {
	background: var(--color-semantic-success);
	color: var(--color-text-inverse);
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 14px;
	margin-left: 12px;
	display: inline-block;
}

/* Price breakdown discount row */
.mphb-price-breakdown tr.mphb-price-breakdown-discount td:last-child {
	color: var(--color-semantic-success);
}

  #checkoutbutton {
    height: 52px;
    transition: var(--transition-base);
    cursor: pointer;
  }

/* ==========================================================================
   BASE CHECKOUT CONTAINER
   ========================================================================== */

.mphb_sc_checkout-wrapper {
	font-family: var(--font-body);
	max-width: 800px;
	margin: 0 auto;
	box-shadow: var(--shadow-xl), inset 0 1px 0 rgba(255, 255, 255, 0.3);
	background-color: var(--color-surface-alt);
	color: var(--color-text-primary);
	line-height: 1.5;
	border-radius: var(--radius-lg);
}

.mphb_sc_checkout-form {
	background: var(--color-surface-white);
	border-radius: 0.75rem;
	border: none;
	box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.08);
	overflow: hidden;
  padding-top:1rem;
}

/* ==========================================================================
   SECTION STYLING
   ========================================================================== */

.mphb-checkout-section {
	padding: 1rem 2rem;
	background: var(--color-surface-white);
}

.mphb-checkout-section:last-child {
	border-bottom: none;
}

/* Section Headers */
.mphb-booking-details-title,
.mphb-customer-details-title,
.mphb-gateway-chooser-title,
.mphb-price-breakdown-title,
.mphb-room-type-title {
	color: var(--color-text-primary);
	font-size: 1.5rem;
	margin: 0 0 1.25rem 0;
	padding-bottom: .75rem;
	border-bottom: 1.5px solid var(--color-brand-primary);
	letter-spacing: -0.4px;
}

.mphb-room-rate-chooser-title {
    color: var(--color-text-primary);
    font-size: 1.25rem;
    line-height: 1.25em;
    border-bottom: 1.5px solid var(--color-brand-primary);
    letter-spacing: -0.025em;
    margin: 0 0 1.5rem 0;
    padding-bottom: 1rem;
    padding-top: 2rem;
    text-transform: unset;
}

p.mphb-room-rate-variant {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

p.mphb-room-rate-variant:last-child {
    margin-bottom: 8px;
}

.elementor-79 .elementor-element.elementor-element-5fd4111::before {
    background-image: unset !important;
}

/* ==========================================================================
   BOOKING DETAILS
   ========================================================================== */

.mphb-booking-details {
	background: var(--color-surface-white);
}

.mphb-check-dates {
	display: flex;
	gap: 2rem;
	width: 100%;
}

.mphb-check-in-date,
.mphb-check-out-date {
	display: inline-block;
	width: calc(50% - 0.5rem);
	background: var(--color-surface-alt);
	border: 1px solid var(--color-border-default);
	border-radius: 0.5rem;
	padding: 1.5rem;
	margin-bottom: 2.5rem;
	font-size: 0.875rem;
	text-align: center;
	box-shadow: var(--shadow-card);
  margin-top: 0;
}


.mphb-check-in-date span:first-child,
.mphb-check-out-date span:first-child {
	display: block;
	color: var(--color-text-muted);
	font-weight: 600;
	font-size: 1rem;
	margin-bottom: 0.5rem;
}

.mphb-check-in-date strong,
.mphb-check-out-date strong {
	display: block;
	color: var(--color-text-primary);
	font-weight: 600;
	font-size: 1.125rem;
	margin-bottom: 0.5rem;
}

.mphb-check-in-date time:last-child,
.mphb-check-out-date time:last-child {
	color: var(--color-text-primary);
	font-size: 0.875rem;
	font-weight: 600;
}

.mphb-room-rate-variant label strong {
  font-weight: 600;
}

.mphb-check-dates span {
	color: var(--color-text-muted);
}

/* Room Details Container - Fix for full width */
.mphb-reserve-rooms-details {
	width: 100%;
	flex-basis: 100%;
}

.mphb-room-details,
.mphb-coupon-code-wrapper {
	background: var(--color-surface-white);
	border-radius: 0.5rem;
	padding: 0;
	width: 100%;
}

.mphb-coupon-code-wrapper {
	margin-top: 0rem !important;
	border: 0;
	border-radius: 0;
	border-bottom: 1px solid var(--color-border-default);
	margin: 0 !important;
}

.mphb-room-number {
	color: var(--color-text-primary);
	font-size: 1.125rem;
	font-weight: 600;
	margin: 0 0 1rem 0;
}

.mphb-room-type-title {
	color: var(--color-text-primary);
	font-size: 1.5rem;
	margin: 0 0 1.5rem 0;
	padding-top: 0rem;
	letter-spacing: -0.4px;
}

.mphb-room-type-title a {
	color: var(--color-brand-primary);
	text-decoration: none;
	font-weight: 600;
}

.mphb-room-type-title a:hover {
	text-decoration: underline;
}

/* Form Controls */
.mphb-adults-chooser {
	margin-bottom: 1.25rem;
}

.mphb-children-chooser {
	margin-bottom: 2.5rem;
}

.mphb-adults-chooser label,
.mphb-children-chooser label,
.mphb-guest-name-wrapper label,
.mphb-services-details-title {
	display: block;
	color: var(--color-text-primary);
	font-weight: 600;
	font-size: 1rem;
	margin-bottom: 8px;
}

.mphb-checkbox-label {
	font-weight: 400;
}

.mphb_sc_checkout-guests-chooser,
.mphb_checkout-guests-chooser,
.mphb-guest-name-wrapper input[type="text"],
select[name*="mphb_room_details"] {
	width: 100%;
	height: 48px;
	padding: 10px 0 10px 16px;
	border: 1.5px solid var(--color-border-default);
	border-radius: 0.5rem;
	font-family: inherit;
	font-size: 1rem;
	color: var(--color-text-primary);
	background: var(--color-surface-white);
	transition: border-color var(--transition-base);
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

/* Add dropdown arrow for selects */
.mphb_sc_checkout-guests-chooser,
.mphb_checkout-guests-chooser,
select[name*="mphb_room_details"] {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23666666' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
	background-position: right 12px center !important;
	background-repeat: no-repeat;
	background-size: 16px;
	padding: 0 0 0 16px;
}

.mphb_sc_checkout-guests-chooser:focus,
.mphb_checkout-guests-chooser:focus,
.mphb-guest-name-wrapper input[type="text"]:focus,
select[name*="mphb_room_details"]:focus {
	outline: none;
	border-color: var(--color-brand-primary);
}

span.mphb-price-discount {
  font-size: 1.125rem;
  font-weight: 600 !important;
  margin-left: 8px;
  color: var(--color-text-primary) !important;
}


/* ==========================================================================
   PRICE BREAKDOWN
   ========================================================================== */


.mphb-price-breakdown-total {
	background: var(--gradient-brand, linear-gradient(135deg, #d1af5d 0%, #94772e 100%));

}

.mphb-price-breakdown-booking.mphb-price-breakdown-group td div {
	display: none;
}

.mphb-room-price-breakdown-wrapper {
	background: var(--color-surface-white);
}

.mphb-price-breakdown-group td  {
  background-color: var(--color-surface-white) !important;
}

.mphb-price-breakdown {
	width: 100%;
	border-collapse: collapse;
	background: var(--color-surface-white);
	border: 1px solid var(--color-border-default);
	border-radius: 0.5rem;
	overflow: hidden;
	border-bottom: 2rem;
	box-shadow: var(--shadow-card);
	margin-bottom: 8px;
}

.mphb-price-breakdown th,
.mphb-price-breakdown td {
	padding: 1rem 1.5rem;
	text-align: left;
	border-bottom: 1px solid var(--color-border-default);
}

.mphb-price-breakdown th {
	background: var(--color-surface-alt);
	color: var(--color-text-muted);
	font-weight: 600;
	font-size: 0.875rem;
}

.mphb-price-breakdown td {
	color: var(--color-text-muted);
	font-size: 1rem;
	font-weight: 600;
}

.mphb-table-price-column {
	text-align: right !important;
	font-weight: 600;
}

.mphb-price {
	color: var(--color-text-muted);
	font-weight: 600;
}

.mphb-price-breakdown-expand {
	color: var(--color-text-primary);
	text-decoration: none;
	font-weight: 600;
}

.mphb-price-breakdown-expand:hover {
	text-decoration: underline;
  color: var(--color-brand-primary-hover);
}

/* Total Row */
.mphb-price-breakdown tfoot th {
	background: transparent;
	color: var(--color-text-inverse);
	font-weight: 600;
	font-size: 1.125rem;
	border: none;
}

.mphb-price-breakdown tfoot .mphb-price {
	color: var(--color-text-inverse);
	font-size: 1.5rem;
}


/* ==========================================================================
   CUSTOMER DETAILS
   ========================================================================== */

.mphb-required-fields-tip {
	background: var(--color-surface-alt);
	border: 1px solid var(--color-border-default);
	border-radius: 0.5rem;
	padding: 1rem;
	margin-bottom: 1.5rem;
	text-align: center;
	color: var(--color-text-muted);
	font-size: 0.875rem;
	display: none;
}

.mphb-customer-first-name,
.mphb-customer-last-name,
.mphb-customer-email {
	margin-bottom: 1.5rem;
}

.mphb-customer-phone {
	margin-bottom: 1.5rem !important;
}

.mphb-customer-details label {
	display: block;
	color: var(--color-text-primary);
	font-weight: 600;
	font-size: 1rem;
	margin-bottom: 0.5rem;
}

.mphb-customer-details input[type="text"],
.mphb-customer-details input[type="email"],
.mphb-customer-details input[type="tel"] {
	width: 100%;
	height: 48px;
	padding: 10px 0 10px 16px;
	border: 1.5px solid var(--color-border-default);
	border-radius: 0.5rem;
	font-family: inherit;
	font-size: 1rem;
	color: var(--color-text-primary);
	background: var(--color-surface-white);
	transition: border-color var(--transition-base);
}

.mphb-customer-details input:focus {
	outline: none;
	border-color: var(--color-brand-primary);
}

.mphb-customer-details input::placeholder {
	color: var(--color-text-light);
}

/* Required Fields */
abbr[title="Required"] {
	color: var(--color-text-primary);
	text-decoration: none;
	font-weight: 600;
	margin-left: 2px;
}

/* add to Additional CSS */
#mphb-customer-details br {
	display: none;
}

/* Hide the redundant payment option since there's only Stripe */
.mphb-gateway-title {
	display: none;
}

/* Make the payment description more prominent */
.mphb-gateway-description {
	color: var(--color-text-muted);
	font-size: 1rem;
	margin-bottom: 0.5rem;
	font-weight: 600;
	line-height: 1.5em
}


.mphb-customer-note {
    display: none;
}


/* ==========================================================================
   TOTAL PRICE DISPLAY
   ========================================================================== */

.mphb-total-price {
	background: var(--color-surface-highlight);
	padding: 2rem 2rem 0 2rem;
	text-align: center;
	margin-bottom: 1rem;
  margin-top: 0;
  border-top: 1.5px solid var(--color-border-default);
}

.mphb-total-price output {
	color: var(--color-text-muted);
	font-size: 1.25rem;
	font-weight: 600;
}

.mphb-total-price-field .mphb-price {
	color: var(--color-text-primary) !important;
	font-size: 2rem;
	font-weight: 600 !important;
	display: block;
	margin-top: 0;
}

.mphb-checkout-terms-wrapper {
	border: 0;
	text-align: -webkit-center;
	margin-top: 0 !important;
	background: var(--color-surface-highlight);
	padding: 0rem;
}

.mphb-terms-and-conditions-accept label {
	margin-bottom: 0;
	padding-bottom: 0;
}

/* ==========================================================================
   ERROR MESSAGES
   ========================================================================== */

.mphb-errors-wrapper {
	background: var(--color-semantic-error-bg);
	border: 1px solid var(--color-semantic-error-border);
	padding: 1rem;
	color: var(--color-semantic-error);
	font-size: 0.875rem;
	text-align: center;
	margin-top: 1rem;
	margin-bottom: 0;
}

.checkout-form-bottom {
	background: var(--color-surface-highlight)
}

.payment-methods {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1.5rem;
	padding-bottom: 1rem;
}

.payment-method-logo {
	width: auto;
	max-width: 36px !important;
	object-fit: contain;
	height: 32px !important;
}


/* ==========================================================================
   TERMS AND CONDITIONS
   ========================================================================== */


.mphb-terms-and-conditions {
	background: var(--color-surface-white);
	border: 1px solid var(--color-border-default);
	border-radius: 0.5rem;
	padding: 1rem;
	margin-bottom: 1.5rem;
}

.mphb-terms-and-conditions p {
	color: var(--color-text-muted);
	font-size: 0.875rem;
	margin: 0;
}

.mphb-terms-and-conditions-accept {
	margin-bottom: 0;
  margin-top: 0;
	width: 90%;
}

.mphb-terms-and-conditions-accept label {
	cursor: pointer;
	font-size: 1rem;
}

.mphb-terms-and-conditions-accept input[type="checkbox"] {
	appearance: none;
	width: 20px;
	height: 20px;
	border: 1.5px solid var(--color-border-default);
	border-radius: 0.25rem !important;
	background: var(--color-surface-white);
	position: relative;
	cursor: pointer;
	transition: all var(--transition-base);
	flex-shrink: 0;
	margin-bottom: -4px;
  margin-right: 4px;
}

.mphb-terms-and-conditions-accept input[type="checkbox"]:checked {
	background: var(--color-brand-primary);
	border-color: var(--color-brand-primary);
}

.mphb-terms-and-conditions-accept input[type="checkbox"]:checked::after {
	content: "✓";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: var(--color-text-on-primary);
	font-size: 12px;
	font-weight: bold;
}

.mphb-terms-and-conditions-link {
	color: var(--color-brand-primary);
	text-decoration: none;
	font-weight: 600;
}

.mphb-terms-and-conditions-link:hover {
	text-decoration: underline;
}

#mphb-billing-details,
#mphb-price-details,
#mphb-customer-details {
	margin-top: 0rem !important;
}

#mphb-billing-details {
	display: none !important;
}

ul.mphb_sc_checkout-services-list.mphb_checkout-services-list {
	padding: 0;
	margin-bottom: -.5rem;
}

/* ==========================================================================
   SUBMIT BUTTON
   ========================================================================== */

.mphb_sc_checkout-submit-wrapper {
	background: var(--color-surface-highlight);
	padding: 1.5rem 0 1rem 0;
	text-align: center;
	margin: 0;
}

/* ==========================================================================
   CHECKOUT TEXT
   ========================================================================== */

.mphb-checkout-text-wrapper {
	background: var(--color-surface-alt);
	border-left: 4px solid var(--color-brand-primary);
	border-right: 4px solid var(--color-brand-primary);
	padding: 2rem;
	text-align: center;
	margin: 0 !important;
}

.mphb-checkout-text-wrapper strong {
	font-size: 1rem;
}

.mphb-checkout-text-wrapper p {
	color: var(--color-text-muted);
	font-size: 0.875rem;
	margin: 0;
	line-height: 1.5em;
}


/* Focus States */
.mphb_sc_checkout-guests-chooser:focus,
.mphb_checkout-guests-chooser:focus,
select[name*="mphb_room_details"]:focus,
input:focus,
#mphb_coupon_code:focus,
.mphb-terms-and-conditions-accept input[type="checkbox"]:focus,
.mphb_sc_checkout-submit-wrapper .button:focus,
.mphb-apply-coupon-code-button:focus,
.mphb-terms-and-conditions-link:focus,
.mphb-room-type-title a:focus {
	outline: none;
	border-color: var(--color-brand-primary);
}

.mphb-discount-row {
	color: var(--color-semantic-success);
	font-weight: 600;
}

.discount-badge-checkout {
	background: var(--color-semantic-success);
	color: var(--color-text-inverse);
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 14px;
	margin-left: 12px;
	display: inline-block;
}

/* Price breakdown table styling */
.mphb-price-breakdown {
	width: 100%;
	table-layout: fixed;
}

/* Increase horizontal padding for all cells */
.mphb-price-breakdown td,
.mphb-price-breakdown th {
	padding: 10px 20px;
	vertical-align: middle;
}

/* Price column styling */
.mphb-price-breakdown .mphb-table-price-column {
	text-align: right;
	white-space: nowrap;
	width: 140px;
}

/* Font size hierarchy - Desktop */
/* Subtotal and You're saving - largest */
.mphb-price-breakdown .mphb-price-breakdown-subtotal th,
.mphb-price-breakdown .mphb-discount-row th {
	font-size: 1rem;
	color: var(--color-text-primary);
}

/* Accommodation and Services totals - medium */
.mphb-price-breakdown .mphb-price-breakdown-accommodation-total th,
.mphb-price-breakdown .mphb-price-breakdown-services-total th {
	font-size: 1rem;
}

/* Individual dates and services - smallest */
.mphb-price-breakdown .mphb-price-breakdown-date td,
.mphb-price-breakdown .mphb-price-breakdown-service td {
	font-size: 0.875rem;
}

/* Subtotal and You're saving row styling with background */
.mphb-price-breakdown .mphb-price-breakdown-subtotal,
.mphb-price-breakdown .mphb-discount-row {
	background-color: var(--color-surface-white);
}

.mphb-price-breakdown .mphb-price-breakdown-subtotal th,
.mphb-price-breakdown .mphb-discount-row th {
	padding-top: 12px;
	padding-bottom: 12px;
	border-top: 1px solid var(--color-border-default);
}

/* Keep discount amount in green */
.mphb-price-breakdown .mphb-discount-row .mphb-table-price-column {
	color: var(--color-semantic-success) !important;
	font-weight: 600;
}

/* Make dates header and services header consistent */
.mphb-price-breakdown .mphb-price-breakdown-dates th,
.mphb-price-breakdown .mphb-price-breakdown-services-headers th {
	font-weight: 600;
	font-size: 0.875rem;
	background-color: var(--color-surface-alt);
	padding: 4px 16px;
	color: var(--color-text-muted);
}

/* Services row (empty header) - match dates row styling */
.mphb-price-breakdown .mphb-price-breakdown-services th {
	font-weight: 600;
	font-size: 1rem;
	padding: 8px 16px;
	border-top: 1px solid var(--color-border-default);
	color: var(--color-brand-primary);
	background-color: var(--color-surface-white);
}

/* Total row styling */
.mphb-price-breakdown .mphb-price-breakdown-total th {
	border-top: 1.5px solid var(--color-border-default);
	padding-top: 12px;
	font-weight: 600;
	font-size: 1.5rem;
}

/* Hide unnecessary rows */
.mphb-price-breakdown .mphb-price-breakdown-adults,
.mphb-price-breakdown .mphb-price-breakdown-children,
.mphb-price-breakdown .mphb-price-breakdown-nights {
	display: none;
}

/* Ensure consistent spacing between sections */
.mphb-price-breakdown .mphb-price-breakdown-accommodation-total,
.mphb-price-breakdown .mphb-price-breakdown-services-total {
	border-top: 1px solid var(--color-surface-alt);
}

/* Service details column width */
.mphb-price-breakdown .mphb-price-breakdown-service-details {
	text-align: left;
	color: var(--color-text-muted);
}

/* Remove any default MotoPress styling that conflicts */
.mphb-price-breakdown tbody tr th:first-child,
.mphb-price-breakdown tbody tr td:first-child {
	text-align: left;
	line-height: 1.3em
}

.mphb-price-breakdown-subtotal th,
.mphb-discount-row th {
	background-color: var(--color-surface-white);
}

.mphb-urgency-badge {
	background: var(--color-semantic-error-bg);
	color: var(--color-semantic-error);
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
}

.discount-badge-checkout+.mphb-urgency-badge {
	margin-left: 8px;
}

.taxes-fees-line {
	margin-top: 4px;
	margin-bottom: 4px;
}

.taxes-fees-line .trust-signals svg {
	color: var(--color-semantic-success);
  width: 18px;
  height: 18px;
}

.trust-signals {
	display: flex;
	justify-content: center;
	font-size:16px;
	color: var(--color-text-muted);
}


.trust-signals p
{
	margin: 0;
}

.checkout-form-bottom> :last-child {
	margin-bottom: 0;
	padding-bottom: 16px;
}


#shaped-payment-note {
	background: var(--color-surface-white);
	border: 1.5px solid var(--color-border-default);
	padding: 20px 200px;
	margin: 20px 0;
	box-shadow: var(--shadow-md);
}

.shaped-note__content {
	text-align: center;
}

.shaped-note__headline {
	display: block;
	font-size: 1.25rem;
	color: var(--color-text-primary);
	margin-bottom: 8px;
  font-weight: 600;
}

.shaped-note__body {
	color: var(--color-text-muted);
	margin: 0;
	line-height: 1.5;
}

.shaped-note__body strong {
	color: var(--color-text-primary);
  font-weight: 600;
}

#mphb-customer-details p {
    margin-bottom: 20px;
}

@media (max-width: 767px) {

  .mphb_sc_checkout-form {
    padding-top: 0;
  }

	.mphb-price-breakdown .mphb-price-breakdown-subtotal th,
	.mphb-price-breakdown .mphb-discount-row th {
		font-size: 1rem;
	}

	.mphb-price-breakdown .mphb-price-breakdown-accommodation-total th,
	.mphb-price-breakdown .mphb-price-breakdown-services-total th {
		font-size: 0.9375rem;
	}

	.mphb-price-breakdown .mphb-price-breakdown-date td,
	.mphb-price-breakdown .mphb-price-breakdown-service td {
		font-size: 0.875rem;
	}

	.mphb-price-breakdown td,
	.mphb-price-breakdown th {
		padding: 8px 16px;
	}

	.mphb-price-breakdown-accommodation.mphb-price-breakdown-expand,
	.mphb-price-breakdown-booking.mphb-price-breakdown-group span {
		font-size: 1rem;
	}

  span.mphb-price-discount {
    font-size: 1.0625rem;
  }

	.discount-badge-checkout,
	.mphb-urgency-badge {
		margin-left: 0px;
		margin-top: 4px;
		margin-bottom: 4px;
		font-size: .8125rem;
	}

	.mphb-check-in-date span:first-child,
	.mphb-check-out-date span:first-child,
	.mphb-check-in-date strong,
	.mphb-check-out-date strong {
		margin-bottom: 4px;
	}


	.discount-badge-checkout+.mphb-urgency-badge {
		margin-left: 80px;
		margin-top: 0px;
	}

	.mphb-urgency-badge {
		margin-left: 80px;
		margin-right: 80px;
	}

	.discount-badge-checkout {
		margin-left: 40px;
		margin-right: 40px;
		display: inline-block;
	}

	.checkout-form-bottom> :last-child {
		padding-bottom: 32px;
	}

	.mphb-terms-and-conditions-accept input[type="checkbox"] {
		width: 16px;
		height: 16px;
		margin-right: 4px;
	}

	.mphb-terms-and-conditions-accept label {
		font-size: .8125rem;
    line-height: 1.5em;
	}

	#shaped-payment-note {
		padding: 16px 24px;
		margin: 16px 0;
	}

	.shaped-note__headline {
		font-size: 1.1875rem;
	}

	.shaped-note__body {
		font-size: 0.9375rem;
	}

	.mphb-checkout-text-wrapper strong,
	.mphb-gateway-description {
		font-size: 0.9375rem;
	}


	.mphb-check-in-date strong,
	.mphb-check-out-date strong {
		font-size: 1.0625rem;
	}

	.mphb-price-breakdown th,
	.mphb-price-breakdown td {
		padding: 0.75rem 1rem;
	}

	.mphb-check-in-date span:first-child,
	.mphb-check-out-date span:first-child {
		font-size: 0.9375rem;
	}


	.mphb-check-in-date time:last-child,
	.mphb-check-out-date time:last-child {
		font-size: 0.9375rem;

	}

	.mphb-check-dates span {
		font-size: 0.9375rem;

	}

	.mphb-price-breakdown td {
		font-size: 0.9375rem;
	}

	.checkout-form-bottom>.mphb-checkout-terms-wrapper.mphb-checkout-section {
		padding: 0 1.5rem;
	}


	.mphb-price-breakdown tfoot .mphb-price,
	.mphb-price-breakdown tfoot th,
	.mphb-total-price output {
		font-size: 1.1875rem;
	}

	.mphb-total-price-field .mphb-price {
		font-size: 1.75rem;
    color: var(--color-text-primary);
    margin-left: 0 !important;
	}

	.mphb-total-price {
		margin-bottom: 0;
	}

	.mphb-booking-details-title,
	.mphb-customer-details-title,
	.mphb-gateway-chooser-title,
	.mphb-price-breakdown-title {
		padding-bottom: 0.5rem;
    font-size: 1.375rem !important;
	}

  	.mphb-booking-details-title {
      display: none;
    }


	.mphb_sc_checkout-wrapper {
		padding: 0;
	}

	.mphb-checkbox-label {
		font-size: 0.875rem;
	}

	.mphb-check-dates {
		gap: 1.5rem;
	}

	.mphb-room-details {
		border: 0;
		padding: 0;
	}

	.mphb-checkout-section {
		padding: 2rem 1rem 1.5rem 1rem;
	}

	.mphb_sc_checkout-form {
		border-radius: 0;
	}

	.mphb-booking-details {
		flex-direction: column;
	}

	.mphb-check-in-date,
	.mphb-check-out-date {
		width: 100%;
		margin: 0 0 2rem 0;
    padding: 1rem;
	}

  .mphb-children-chooser {
    margin-bottom: 2rem;
  }

  .mphb-customer-phone {
    margin-bottom: .75rem !important;
  }

  .mphb-room-type-title {
    margin-bottom: 1.25rem;
}
p.mphb-room-rate-variant{
  gap: 4px;
}

p.mphb-room-rate-variant:last-child {
    margin-bottom: -20px;
}

	.mphb-customer-details label,
	.mphb-adults-chooser label,
	.mphb-children-chooser label,
	.mphb-guest-name-wrapper label {
		margin-bottom: 0.5rem;
		font-size: 0.9375rem;
	}

	.mphb-services-details-title {
		margin-bottom: 0.5rem;
		font-size: 0.9375rem;
	}

	.mphb_sc_checkout-submit-wrapper .button,
	input[type="submit"].button {
		width: 100%;
		min-width: auto;
		font-size: 0.9375rem;
    height: 48px;
	}

  #checkoutbutton {
    width: 100%;
		min-width: auto;
		font-size: 0.9375rem;
    height: 48px;
  }

	.mphb_sc_checkout-submit-wrapper {
		padding: 1rem 1.5rem;
	}

	.mphb-customer-details input[type="text"],
	.mphb-customer-details input[type="email"],
	.mphb-customer-details input[type="tel"],
	.mphb_sc_checkout-guests-chooser,
	.mphb_checkout-guests-chooser,
	select[name*="mphb_room_details"],
	.mphb-guest-name-wrapper input[type="text"] {
		padding: 8px 12px;
		height: 44px;
		font-size: 1rem;
	}

	.mphb-price-breakdown-date {
		font-size: 0.875rem;
		font-weight: 600;
	}

	.payment-methods {
		gap: 1rem;
		padding: .5rem;
		margin-top: 0rem;
		opacity: 0.87;
	}

	.payment-method-logo {
		max-width: 36px !important;
	}

  .mphb-room-type-title {
    font-size: 1.375rem;
  }

	.mphb-room-rate-chooser-title {
    padding-bottom: .5rem !important;
    font-size: 1.375rem;
}

  .trust-signals {
    font-size: 15px;
  }

  .taxes-fees-line .trust-signals svg {
  width: 16px;
  height: 16px;
}

.taxesfees
{
	font-size: 13px !important;
  margin-bottom: 0 !important;
}
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	* {
		transition-duration: 0.01ms !important;
	}
}

/* ==========================================================================
   MODAL STYLES
   ========================================================================== */

.shaped-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
}

.shaped-modal-content {
    background-color: var(--color-surface-white);
    margin: 50px auto;
    padding: 0;
    width: 90%;
    max-width: 700px;
    border-radius: var(--radius-md);
    position: relative;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.shaped-modal-content .checkoutmodalheading {
    padding: 24px;
    margin: 0;
}

.shaped-modal-content h2 {
    padding: 24px 0 8px;
    margin: 0;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--color-border-default);
    color: var(--color-text-primary);
    font-size: 1.75rem;
}

.shaped-modal-content h3 {
    margin-top: 0;
    font-size: 1.375rem;
}

.shaped-modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
    line-height: 1.6;
    color: var(--color-text-muted);
}

.shaped-modal-close {
    position: absolute;
    right: 24px;
    top: 28px;
    font-size: 40px;
    font-weight: bold;
    color: var(--color-text-primary);
    cursor: pointer;
    transition: color var(--transition-base);
}

.shaped-modal-close:hover {
    color: var(--color-brand-primary-hover);
}

.shaped-terms-link,
.shaped-privacy-link {
    color: var(--color-text-primary);
    text-decoration: dotted !important;
    transition: color 200ms ease;
    font-weight: 600;
    text-decoration-line: underline !important;
    text-decoration-style: dotted !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 5px;
    text-decoration-color: rgb(218 217 208) !important;
}

.shaped-terms-link:hover,
.shaped-privacy-link:hover {
    color: var(--color-brand-primary-hover);
}

/* Mobile optimization */
@media (max-width: 640px) {
    .shaped-modal-content {
        width: 100%;
        padding:8px;
        max-height: 90vh;
        margin: 24px auto 0;
    }

    .shaped-modal-content h2 {
        font-size: 1.5rem;
    }

    .shaped-modal-content h3 {
    font-size: 1.1875rem;
    margin-bottom:12px;
}

    .shaped-modal-body {
        padding: 16px;
    }
}