/* Yellowstone premium theme
   Primary colors requested by user: #FFF9E4 and #777777 */

/* ------------------------------------------------------------------
   Typography conventions (project-wide)
   Use this quick map when creating/updating UI blocks:

   1) Section headers (main block titles)
      - Class: .ys-section-title
      - Typical usage: Addons, Customer's information, Payment methods

   2) Card titles (vehicle or card heading)
      - Class: .ys-card-title
      - Typical usage: model name, summary card heading

   3) Secondary metadata
      - Class: .ys-meta-text
      - Typical usage: icon rows, helper lines, secondary labels

   4) Small support/legal text
      - Class: .ys-caption
      - Typical usage: legal notes, disclaimers, tiny helper copy

   Notes:
   - Prefer tokens from :root over hardcoded px values.
   - Keep visual consistency across: index, resultado, reserva,
     confirmacion, calificacion.
-------------------------------------------------------------------*/

:root {
	/* Brand tokens */
	--ys-primary: #777777;
	--ys-primary-dark: #5f5f5f;
	--ys-accent: #fff9e4;
	--ys-bg: #fffcf2;
	--ys-surface: #ffffff;
	--ys-text: #3f3f3f;
	--ys-muted: #777777;
	--ys-border: #ebe6d8;
	--ys-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	--ys-shadow-soft: 0 3px 10px rgba(0, 0, 0, 0.05);
	--ys-radius: 14px;
	--ys-font-family: "Open Sans", sans-serif;
	--ys-font-size-body: 15px;
	--ys-font-size-title-lg: 22px;
	--ys-font-size-title-md: 18px;
	--ys-font-size-title-sm: 15px;
	--ys-font-size-ui: 14px;
	--ys-font-size-ui-sm: 13px;
	--ys-font-size-caption: 12px;
	/* Design hierarchy tokens */
	--ys-section-title-size: var(--ys-font-size-title-lg);
	--ys-section-title-weight: 700;
	--ys-card-title-size: var(--ys-font-size-title-md);
	--ys-card-title-weight: 700;
	--ys-meta-text-size: var(--ys-font-size-ui-sm);
	--ys-meta-text-weight: 400;
	--ys-caption-size: var(--ys-font-size-caption);
}

body {
	background: radial-gradient(circle at top, #ffffff 0%, var(--ys-bg) 68%) !important;
	color: var(--ys-text) !important;
	font-family: var(--ys-font-family);
	font-size: var(--ys-font-size-body);
}

a {
	color: var(--ys-primary);
}

a:hover {
	color: var(--ys-primary-dark);
}

/* ------------------------------------------------------------------
   Locale bar (language + currency) — visible on resultado/reserva/
   confirmacion/calificacion; hidden targets only on home.
-------------------------------------------------------------------*/
.ys-locale-bar {
	width: 100%;
	padding: 0 15px 8px;
	margin: 0;
	box-sizing: border-box;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

/* When placed inside the header cards row, take a full top line */
.result-header-row > .ys-locale-bar {
	flex: 0 0 100%;
	width: 100%;
	max-width: 100%;
	order: -1;
	padding: 0 15px 10px;
}

.ys-locale-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
}

.ys-locale-item {
	position: relative;
	list-style: none;
}

.ys-locale-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 32px;
	min-width: 32px;
	padding: 4px 10px;
	border: 1px solid var(--ys-border);
	border-radius: 10px;
	background: var(--ys-surface);
	color: var(--ys-text) !important;
	font-size: var(--ys-font-size-ui);
	font-weight: 600;
	text-decoration: none !important;
	box-shadow: var(--ys-shadow-soft);
	cursor: pointer;
	line-height: 1;
	white-space: nowrap;
}

.ys-locale-trigger:hover,
.ys-locale-item.open .ys-locale-trigger {
	border-color: var(--ys-muted);
	background: var(--ys-accent);
	color: var(--ys-text) !important;
}

.ys-locale-trigger img {
	width: 18px;
	height: auto;
	display: block;
	margin: 0;
	padding: 0;
}

.ys-locale-menu {
	display: none;
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	z-index: 1050;
	min-width: 140px;
	margin: 0;
	padding: 6px 0;
	list-style: none;
	background: var(--ys-surface);
	border: 1px solid var(--ys-border);
	border-radius: 10px;
	box-shadow: var(--ys-shadow);
}

.ys-locale-item.open > .ys-locale-menu {
	display: block;
}

.ys-locale-menu li {
	margin: 0;
	padding: 0;
}

.ys-locale-menu a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	color: var(--ys-text) !important;
	font-size: var(--ys-font-size-ui);
	text-decoration: none !important;
	white-space: nowrap;
}

.ys-locale-menu a:hover {
	background: var(--ys-accent);
}

.ys-locale-menu img {
	width: 20px;
	height: auto;
	margin: 0;
	flex-shrink: 0;
}

.ys-locale-hidden {
	display: none !important;
}

@media only screen and (max-width: 991px) {
	.ys-locale-bar,
	.result-header-row > .ys-locale-bar {
		padding: 0 15px 6px;
	}
}

@media only screen and (max-width: 767px) {
	.ys-locale-bar,
	.result-header-row > .ys-locale-bar {
		padding: 0 15px 6px;
	}

	.ys-locale-list {
		gap: 6px;
		width: 100%;
		justify-content: flex-end;
	}

	.ys-locale-trigger {
		min-height: 36px;
		padding: 6px 10px;
		font-size: var(--ys-font-size-ui-sm);
	}

	.ys-locale-menu {
		right: 0;
		left: auto;
		min-width: 150px;
		max-width: calc(100vw - 24px);
	}

	.ys-locale-menu a {
		padding: 12px 14px;
		min-height: 40px;
	}
}

/* Premium cards */
.blog-content article,
.oficinas,
.panel.panel-default {
	background: var(--ys-surface);
	border: 1px solid var(--ys-border) !important;
	border-radius: var(--ys-radius) !important;
	box-shadow: var(--ys-shadow-soft) !important;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-content article,
.oficinas {
	padding: 18px;
}

.blog-content article:hover,
.oficinas:hover {
	transform: translateY(-2px);
	box-shadow: var(--ys-shadow) !important;
}

.blog-content article h2,
.blog-content article h2 a {
	color: var(--ys-text);
	font-weight: 700;
	letter-spacing: -0.2px;
}

.panel-title.price.text-color-skin-blue,
.text-color-skin-blue,
.price {
	color: var(--ys-primary-dark) !important;
}

.text-color-skin-grey {
	color: var(--ys-muted) !important;
}

/* Premium CTA style */
.btn {
	border-radius: 12px;
	font-weight: 700;
	letter-spacing: 0.01em;
	text-transform: none;
}

.btn-default,
.btn-warning,
#apiom_submit_search,
#apiom_submit_quote {
	background: linear-gradient(135deg, #8a8a8a, var(--ys-primary-dark)) !important;
	color: #ffffff !important;
	border: none !important;
	box-shadow: 0 6px 16px rgba(119, 119, 119, 0.28);
}

.btn-default:hover,
.btn-warning:hover,
#apiom_submit_search:hover,
#apiom_submit_quote:hover {
	background: linear-gradient(135deg, var(--ys-primary-dark), #4f4f4f) !important;
	color: #ffffff !important;
	transform: translateY(-1px);
}

.bg-auto,
.bg-pagar {
	background: var(--ys-accent) !important;
	color: var(--ys-text) !important;
	border: 1px solid #efe3be;
	border-radius: 10px !important;
}

.bg-auto:hover {
	background: #f6eed4 !important;
	color: var(--ys-text) !important;
}

/* Forms */
.form-control,
.introform input,
.introform select,
input[type="time"] {
	background: #fffef9;
	border: 1px solid var(--ys-border);
	border-radius: 10px;
	box-shadow: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-control:focus,
.introform input:focus,
.introform select:focus,
input[type="time"]:focus {
	background: #ffffff;
	border-color: #8d8d8d;
	box-shadow: 0 0 0 3px rgba(119, 119, 119, 0.16);
}

/* Country select (Select2) — reserva checkout only */
body.reserva-page #rentForm .select2-container {
	width: 100% !important;
}

body.reserva-page #rentForm .select2-container .select2-selection--single {
	width: 100% !important;
	min-height: 46px;
	height: auto !important;
	background: #fffef9 !important;
	border: 1px solid var(--ys-border) !important;
	border-radius: 0 !important;
}

body.reserva-page #rentForm .select2-selection__rendered {
	line-height: 46px !important;
	padding-left: 12px;
	padding-right: 36px;
	color: var(--ys-text);
}

body.reserva-page #rentForm .select2-selection__arrow {
	height: 100% !important;
	top: 0 !important;
	right: 10px !important;
	left: auto !important;
	width: 20px !important;
}

body.reserva-page #rentForm .select2-selection__arrow b {
	border-color: var(--ys-muted) transparent transparent transparent;
}

body.reserva-page #rentForm .select2-container--focus .select2-selection--single,
body.reserva-page #rentForm .select2-container--open .select2-selection--single {
	background: #ffffff !important;
	border-color: #8d8d8d !important;
	border-radius: 0 !important;
	box-shadow: 0 0 0 3px rgba(119, 119, 119, 0.16);
}

/* Override select2-bootstrap-5-theme rounded corners on rent form only */
body.reserva-page #rentForm .select2-container--bootstrap-5 .select2-selection,
body.reserva-page #rentForm .select2-container--default .select2-selection--single {
	border-radius: 0 !important;
}

/* DDI dial-code select (same row as phone number) */
body.reserva-page #rentForm #apiom_userDDI + .select2-container {
	width: 100% !important;
	max-width: 100%;
}

body.reserva-page #rentForm .phone-ddi-col .select2-container .select2-selection--single {
	height: 50px !important;
	min-height: 50px;
	display: flex;
	align-items: center;
}

body.reserva-page #rentForm .phone-ddi-col .select2-selection__rendered {
	display: flex !important;
	align-items: center;
	width: 100%;
	height: 48px;
	line-height: 1.2 !important;
	padding-left: 8px;
	padding-right: 30px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: clip;
}

body.reserva-page #rentForm .phone-ddi-col .select2-selection__rendered .select2-selection__placeholder {
	display: none;
}

body.reserva-page #rentForm .phone-ddi-col .select2-selection__arrow {
	height: 48px !important;
	top: 1px !important;
}

@media only screen and (max-width: 767px) {
	body.reserva-page #rentForm .phone-row {
		margin-left: 0;
		margin-right: 0;
	}

	body.reserva-page #rentForm .phone-ddi-col,
	body.reserva-page #rentForm .phone-number-col {
		width: 100%;
		float: none;
		padding-left: 0;
		padding-right: 0;
	}

	body.reserva-page #rentForm .phone-ddi-col {
		margin-bottom: 12px;
	}

	body.reserva-page #rentForm #apiom_userDDI + .select2-container,
	body.reserva-page #rentForm .phone-number-col .form-control {
		width: 100% !important;
	}
}

.blog-meta {
	color: var(--ys-muted);
}

.blog-meta i {
	color: #8a8a8a;
}

/* Typography rhythm */
h1, h2, h3, h4, h5, h6 {
	color: #3a3a3a;
	letter-spacing: -0.02em;
	font-family: var(--ys-font-family);
}

h1 { font-size: 30px; line-height: 1.2; }
h2 { font-size: 24px; line-height: 1.25; }
h3 { font-size: 20px; line-height: 1.3; }
h4 { font-size: 17px; line-height: 1.35; }

p {
	line-height: 1.65;
	color: #666666;
	font-size: var(--ys-font-size-ui);
}

input,
select,
textarea,
button,
.btn,
label,
th,
td {
	font-family: var(--ys-font-family);
}

/* Global section heading line used across pages */
h2.bg-auto,
h2.bg-pagar {
	font-size: var(--ys-font-size-title-lg) !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	letter-spacing: -0.01em;
	padding: 10px 14px !important;
}

h2.bg-auto .trn,
h2.bg-pagar .trn {
	font-size: inherit !important;
	font-weight: inherit !important;
}

/* Normalize recurring title blocks across project */
.apiom_result_item h2,
.side-widget article h2,
#apiom_container_methods h2 {
	font-size: var(--ys-font-size-title-lg);
	font-weight: 700;
	line-height: 1.2;
}

/* Total to pay + payment methods + addon/customer labels */
.apiom_breakdown table th,
.apiom_breakdown table td,
.apiom_breakdown .text-small,
.payment-methods-card .apiom_method_check,
.payment-checkbox-group label,
.payment-checkbox-group p,
#apiom_container_addons th,
#apiom_container_addons td {
	font-size: var(--ys-font-size-ui) !important;
	line-height: 1.45;
}

.apiom_breakdown .money.price,
.apiom_breakdown .amount {
	font-size: var(--ys-font-size-title-md) !important;
	font-weight: 700;
}

.blog-meta,
.blog-meta span,
.blog-meta i,
.text-small {
	font-size: var(--ys-font-size-ui-sm);
}

/* ---------------------------------------------------------------
   Design Token Map (global visual line)
   Reuse in new pages/components:
   - .ys-section-title => section headers (addons/customer/payment)
   - .ys-card-title    => card/vehicle titles
   - .ys-meta-text     => secondary metadata
   - .ys-caption       => legal/support text
---------------------------------------------------------------- */
.ys-section-title {
	font-size: var(--ys-section-title-size) !important;
	font-weight: var(--ys-section-title-weight) !important;
	line-height: 1.2 !important;
	letter-spacing: -0.01em;
}

.ys-card-title {
	font-size: var(--ys-card-title-size) !important;
	font-weight: var(--ys-card-title-weight) !important;
	line-height: 1.25 !important;
}

.ys-meta-text {
	font-size: var(--ys-meta-text-size) !important;
	font-weight: var(--ys-meta-text-weight) !important;
	line-height: 1.45 !important;
	color: var(--ys-muted) !important;
}

.ys-caption {
	font-size: var(--ys-caption-size) !important;
	line-height: 1.4 !important;
	color: var(--ys-muted) !important;
}

h2.bg-auto,
h2.bg-pagar,
.apiom_result_item h2,
.side-widget article h2,
#apiom_container_methods h2 {
	font-size: var(--ys-section-title-size) !important;
	font-weight: var(--ys-section-title-weight) !important;
}

/* Spacing system for key sections */
.blog-content {
	padding-top: 24px;
	padding-bottom: 24px;
}

.blog-content article {
	margin-top: 0;
	margin-bottom: 20px;
}

.reserva-padding {
	padding-top: 24px;
}

.panel.panel-default {
	padding: 12px 10px;
}

/* Premium button states */
.btn:disabled,
.btn.disabled,
#apiom_submit_search.disabled,
#apiom_submit_quote.disabled {
	opacity: 0.65 !important;
	cursor: not-allowed !important;
	box-shadow: none !important;
	transform: none !important;
	filter: grayscale(8%);
}

.btn.is-loading,
#apiom_submit_search.is-loading,
#apiom_submit_quote.is-loading {
	position: relative;
	pointer-events: none;
	color: transparent !important;
}

.btn.is-loading::after,
#apiom_submit_search.is-loading::after,
#apiom_submit_quote.is-loading::after {
	content: "";
	position: absolute;
	width: 16px;
	height: 16px;
	top: 50%;
	left: 50%;
	margin-top: -8px;
	margin-left: -8px;
	border: 2px solid rgba(255, 255, 255, 0.5);
	border-top-color: #ffffff;
	border-radius: 50%;
	animation: ys-spin 0.8s linear infinite;
}

@keyframes ys-spin {
	to { transform: rotate(360deg); }
}

/* Mobile readability tweaks */
@media only screen and (max-width: 767px) {
	:root {
		--ys-section-title-size: var(--ys-font-size-title-md);
		--ys-card-title-size: 16px;
		--ys-meta-text-size: var(--ys-font-size-ui-sm);
		--ys-caption-size: 11px;
	}

	h1 { font-size: 26px; }
	h2 { font-size: 22px; }
	h3 { font-size: 18px; }
	h4 { font-size: 16px; }

	.blog-content {
		padding-top: 16px;
		padding-bottom: 16px;
	}

	.blog-content article,
	.oficinas {
		padding: 14px;
		border-radius: 12px !important;
	}

	h2.bg-auto,
	h2.bg-pagar,
	.apiom_result_item h2,
	.side-widget article h2,
	#apiom_container_methods h2 {
		font-size: var(--ys-section-title-size) !important;
	}

	.apiom_breakdown table th,
	.apiom_breakdown table td,
	.payment-methods-card .apiom_method_check,
	.payment-checkbox-group label,
	.payment-checkbox-group p {
		font-size: var(--ys-font-size-ui-sm) !important;
	}
}

/* Header alignment fixes (logo + cards) */
.result-header-row {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
}

.result-header-item {
	display: flex;
}

.result-header-item .panel.panel-default,
.result-header-logo-card {
	width: 100%;
	height: 160px;
	min-height: 160px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	box-sizing: border-box;
}

/* Center text content vertically in header cards */
.result-header-item .panel.panel-default.text-center {
	align-items: center;
}

.result-header-item .panel.panel-default .panel-body {
	padding: 0;
	flex: 0 0 auto;
}

/* First card: exact vertical centering for "Fechas y Destino" */
.result-header-item .panel.panel-default.content-desktop {
	align-items: center;
	justify-content: center;
}

.result-header-item .panel.panel-default.content-desktop .result-header-title {
	margin: 0;
	line-height: 1.15;
}

.result-header-item .panel.panel-default h3,
.result-header-item .panel.panel-default h4,
.result-header-item .panel.panel-default p {
	margin-top: 4px;
	margin-bottom: 4px;
}

/* Tighten and center PICK UP / DROP OFF content */
.result-header-item .panel.panel-default h3 br {
	display: none;
}

.result-header-title span {
	display: block;
}

.result-header-item .panel.panel-default h3 {
	line-height: 1.2;
}

.result-header-item .panel.panel-default h3.text-color-skin-blue {
	margin-top: 2px;
}

.result-header-item .panel.panel-default #apiom_hora_desde_seleccionada,
.result-header-item .panel.panel-default #apiom_hora_hasta_seleccionada {
	display: inline-block;
	margin-bottom: 0;
}

.result-header-item .panel.panel-default .apiom_result_pickup_icono,
.result-header-item .panel.panel-default .apiom_result_dropoff_icono {
	margin-right: 4px;
}

.result-header-logo-card {
	background: var(--ys-surface);
	border: 1px solid var(--ys-border);
	border-radius: var(--ys-radius);
	box-shadow: var(--ys-shadow-soft);
	padding: 10px 12px;
	align-items: center;
}

.result-header-logo-card img {
	width: auto;
	max-width: 100%;
	max-height: 78px;
	object-fit: contain;
}

/* Make "Cambiar Fechas" match "Buscar auto" dimensions */
.change-dates-btn,
#apiom_submit_search {
	min-height: 44px;
	line-height: 44px;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	padding-left: 16px !important;
	padding-right: 16px !important;
	width: 100%;
	max-width: 300px;
	text-align: center !important;
}

.change-dates-btn,
#apiom_submit_search.btn-ico {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.change-dates-btn i,
#apiom_submit_search i {
	margin-left: 0;
	position: static;
	line-height: 1;
}

/* Unify search select chevrons with time input icon alignment */
.introform select.form-control,
#collapse15 .introform select.form-control {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 20 20'%3E%3Cpath fill='%23838383' d='M5.5 7.5L10 12l4.5-4.5 1.4 1.4L10 14.8 4.1 8.9z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 30px center;
	background-size: 14px 14px;
	padding-right: 40px;
}

.introform select.form-control::-ms-expand {
	display: none;
}

@media only screen and (max-width: 991px) {
	.result-header-row {
		display: block;
	}

	.result-header-item {
		display: block;
	}

	.result-header-logo-card,
	.result-header-item .panel.panel-default {
		height: auto;
		min-height: auto;
	}
}

/* Align sidebar start with first top card */
.search-sidebar-col {
	padding-left: 30px;
}

.result-mobile-logo {
	display: none;
}

@media only screen and (max-width: 991px) {
	.search-sidebar-col {
		padding-left: 15px;
	}
}

/* Reservation page sidebar and payment methods polish */
.apiom_breakdown article {
	background: var(--ys-surface);
	border: 1px solid var(--ys-border);
	border-radius: var(--ys-radius);
	box-shadow: var(--ys-shadow-soft);
	padding: 14px;
	margin-bottom: 16px;
}

.apiom_breakdown .bg-pagar {
	background: var(--ys-accent) !important;
	color: var(--ys-text) !important;
	border: 1px solid #e7d9b0;
	border-radius: 10px !important;
	padding: 10px 12px;
}

.apiom_breakdown .bg-pagar h2,
.apiom_breakdown .bg-pagar .trn {
	color: var(--ys-text) !important;
	margin: 0;
}

.apiom_breakdown table tr th {
	background: #f1f1f1 !important;
	color: #4d4d4d;
}

.payment-methods-card .payments-options {
	margin-top: 12px;
}

.payment-methods-card .apiom_item_method {
	border: 1px solid var(--ys-border);
	border-radius: 12px;
	box-shadow: none;
	padding: 10px;
	margin-bottom: 12px;
}

.payment-methods-card .apiom_method_check {
	display: block;
	background: #1f3b40;
	color: #ffd24a !important;
	border-radius: 8px;
	padding: 12px 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.payment-methods-card .apiom_method_check:hover {
	background: #24474d;
}

.payment-methods-card .apiom_method_form .form-control {
	border-radius: 8px;
	height: 44px;
}

/* Stripe / Decidir credit card form (injected into #apiom_payment_form_container) */
body.reserva-page #apiom_payment_form_container .ys-creditcard-card {
	width: 100%;
	max-width: 520px;
	margin: 12px auto 0;
	padding: 16px;
	background: var(--ys-surface);
	border: 1px solid var(--ys-border);
	border-radius: var(--ys-radius);
	box-shadow: var(--ys-shadow-soft);
	box-sizing: border-box;
}

body.reserva-page #apiom_payment_form_container .ys-creditcard-card .form-group {
	margin-bottom: 12px;
}

body.reserva-page #apiom_payment_form_container .ys-creditcard-card .form-control {
	background: #fffef9;
	border: 1px solid var(--ys-border);
	border-radius: 10px;
	min-height: 46px;
	height: auto;
	box-shadow: none;
}

body.reserva-page #apiom_payment_form_container .ys-creditcard-card .form-control:focus {
	background: #ffffff;
	border-color: #8d8d8d;
	box-shadow: 0 0 0 3px rgba(119, 119, 119, 0.16);
}

body.reserva-page #apiom_payment_form_container .ys-creditcard-expiry-row {
	margin-left: -8px;
	margin-right: -8px;
}

body.reserva-page #apiom_payment_form_container .ys-creditcard-expiry-row > [class*="col-"] {
	padding-left: 8px;
	padding-right: 8px;
}

@media (max-width: 767px) {
	body.reserva-page #apiom_payment_form_container .ys-creditcard-card {
		max-width: 100%;
		padding: 14px;
	}
}

.payment-disclaimer-block {
	margin-top: 8px;
}

.payment-checkbox-group {
	padding-left: 0;
	padding-right: 0;
}

.payment-checkbox-group label {
	color: #666;
	line-height: 1.55;
	font-size: 14px;
}

.payment-checkbox-group p {
	margin: 0 0 8px;
	font-size: 14px;
	color: #666;
}

/* Cross-page design line (index, results, reserva, confirmacion, calificacion) */
.index-page .introform,
.confirmacion-page .apiom_result_item,
.calificacion-page .apiom_result_item,
.resultado-page .apiom_result_item,
.reserva-page .apiom_result_item {
	background: var(--ys-surface);
	border: 1px solid var(--ys-border);
	border-radius: var(--ys-radius);
	box-shadow: var(--ys-shadow-soft);
}

.index-page .introform {
	padding: 16px;
	margin: 12px 0 18px;
}

.index-page .introform h4,
.confirmacion-page h3.text-center,
.calificacion-page h3.text-center {
	font-size: var(--ys-font-size-title-md);
	font-weight: 700;
	color: #3f3f3f;
	margin: 0 0 12px;
}

.index-page .introform .search-field-label {
	display: block;
	margin-bottom: 6px;
	font-size: var(--ys-font-size-ui);
	font-weight: 600;
	color: var(--ys-text);
}

.index-page .introform .search-submit-col {
	padding-top: 27px;
}

@media only screen and (max-width: 991px) {
	.index-page .introform .search-submit-col {
		padding-top: 0;
		margin-top: 8px;
	}

	#apiom_submit_search {
		max-width: 100%;
		width: 100%;
	}
}

.confirmacion-page .apiom_result_item .text-center h2,
.confirmacion-page .apiom_result_item .text-center h4,
.calificacion-page .apiom_result_item .text-center h4 {
	font-family: var(--ys-font-family);
}

.confirmacion-page .apiom_result_item .bg-auto,
.calificacion-page .apiom_result_item .bg-auto,
.reserva-page .apiom_result_item .bg-auto,
.resultado-page .bg-auto {
	background: var(--ys-accent) !important;
	border: 1px solid #e7d9b0;
}

.confirmacion-page .apiom_result_photo,
.calificacion-page .apiom_result_photo,
.reserva-page .apiom_result_photo,
.resultado-page .apiom_result_photo {
	border-radius: 10px;
}

.confirmacion-page .blog-meta,
.calificacion-page .blog-meta,
.reserva-page .blog-meta,
.resultado-page .blog-meta {
	color: var(--ys-muted);
}

.confirmacion-page .blog-meta span,
.calificacion-page .blog-meta span,
.reserva-page .blog-meta span,
.resultado-page .blog-meta span {
	font-size: var(--ys-font-size-ui-sm);
}

/* Result cards: desktop alignment — km/price with photo, actions with vehicle meta */
@media (min-width: 992px) {
	/* "Change dates" form always expanded in the desktop sidebar */
	.resultado-page .change-dates-btn {
		display: none;
	}

	.resultado-page #collapse15.collapse {
		display: block;
		height: auto !important;
	}

	.resultado-page .apiom_result_item > .row:first-child h2 {
		margin-top: 0;
		margin-bottom: 12px;
	}

	.resultado-page .apiom_result_body_row {
		display: flex;
		flex-wrap: wrap;
		align-items: stretch;
	}

	.resultado-page .apiom_result_body_row::before,
	.resultado-page .apiom_result_body_row::after {
		display: none;
	}

	.resultado-page .apiom_result_body_row > .col-md-5 {
		float: none;
		width: 41.66666667%;
		display: flex;
		flex-direction: column;
	}

	.resultado-page .apiom_result_body_row > .col-md-7 {
		float: none;
		width: 58.33333333%;
	}

	.resultado-page .apiom_result_details_col {
		display: flex;
		flex-direction: column;
		min-height: 100%;
	}

	.resultado-page .apiom_result_details_row {
		display: flex;
		flex-wrap: wrap;
		flex: 1 1 auto;
		align-content: flex-start;
		width: 100%;
		min-height: 100%;
		margin-left: 0;
		margin-right: 0;
	}

	.resultado-page .apiom_result_details_row::before,
	.resultado-page .apiom_result_details_row::after {
		display: none;
	}

	.resultado-page .apiom_result_details_row > [class*="col-"] {
		float: none;
	}

	.resultado-page .apiom_result_details_row > .col-md-6 {
		width: 50%;
	}

	.resultado-page .apiom_result_actions_row {
		margin-top: auto;
		width: 100%;
		align-self: flex-end;
	}

	.resultado-page .apiom_result_km_container,
	.resultado-page .apiom_result_km_container > .form-group:first-child,
	.resultado-page .apiom_result_km_container > span:first-child {
		margin-top: 0;
		padding-top: 0;
	}

	.resultado-page .apiom_result_details_row > .col-md-6:first-child h4 {
		margin-top: 8px;
	}

	.resultado-page .apiom_result_details_row > .col-md-6.text-right h5,
	.resultado-page .apiom_result_details_row > .col-md-6.text-right h2,
	.resultado-page .apiom_result_details_row > .col-md-6.text-right h4 {
		margin-top: 0;
	}

	.resultado-page .apiom_result_body_row .blog-meta {
		margin-bottom: 0;
	}
}

/* Mobile polish for payment sidebar */
@media only screen and (max-width: 767px) {
	.apiom_breakdown {
		margin-top: 12px;
	}

	.apiom_breakdown article {
		padding: 12px;
		margin-bottom: 12px;
		border-radius: 12px;
	}

	.apiom_breakdown .bg-pagar {
		padding: 10px;
	}

	.apiom_breakdown .bg-pagar h2 {
		font-size: 20px;
		line-height: 1.25;
	}

	.payment-methods-card .apiom_item_method {
		padding: 8px;
		margin-bottom: 10px;
	}

	.payment-methods-card .apiom_method_check {
		font-size: 15px;
		letter-spacing: 0.06em;
		line-height: 1.25;
		padding: 11px 12px;
		white-space: normal;
		word-break: break-word;
	}

	.payment-methods-card .apiom_method_check .fa {
		margin-right: 4px;
	}

	.payment-methods-card .apiom_method_form .row {
		margin-left: -6px;
		margin-right: -6px;
	}

	.payment-methods-card .apiom_method_form [class*="col-"] {
		padding-left: 6px;
		padding-right: 6px;
	}

	.payment-methods-card .apiom_method_form .form-control {
		height: 42px;
		font-size: 14px;
	}

	.payment-disclaimer-block {
		margin-top: 4px;
	}

	.payment-checkbox-group label,
	.payment-checkbox-group p {
		font-size: 13px;
		line-height: 1.5;
	}

	/* Mobile: compact "Change search" behavior and spacing */
	#collapse15 .change-search-title {
		margin-bottom: 14px;
	}

	/* Mobile: Change dates CTA should span full width */
	.change-dates-btn {
		max-width: 100% !important;
		width: 100% !important;
	}

	/* Mobile: date/time fields should use 6-column width each */
	#collapse15 .mobile-date-time-col {
		width: 50%;
	}

	#collapse15 .mobile-date-time-col .form-control {
		padding-left: 8px;
		padding-right: 8px;
	}

	.result-mobile-logo {
		display: block;
		margin: 0 0 10px;
		padding: 8px 10px;
		background: #fffef9;
		border: 1px solid var(--ys-border);
		border-radius: 10px;
	}

	.result-mobile-logo img {
		max-width: 170px;
		width: auto;
		max-height: 42px;
		height: auto;
		object-fit: contain;
	}
}
