/* Reservas Aqqabba — calendario público (solo consulta). Hereda la tipografía del sitio. */
.aqb-cal {
	--aqb-ink: #141414;
	--aqb-muted: #6f6f6f;
	--aqb-line: #e8e6e3;
	--aqb-soft: #f7f6f4;
	--aqb-booked: #efece8;
	box-sizing: border-box;
	max-width: 860px;
	margin: 2.5rem 0;
	padding: clamp(1rem, 3vw, 1.75rem);
	background: #fff;
	color: var(--aqb-ink);
	border: 1px solid var(--aqb-line);
	border-radius: 20px;
	box-shadow: 0 12px 32px rgba(20, 20, 20, .06);
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.4;
}
.aqb-cal *, .aqb-cal *::before, .aqb-cal *::after { box-sizing: border-box; }
.es-property-section__content > .aqb-cal, .elementor-shortcode > .aqb-cal { margin: .5rem 0 0; }

.aqb-cal__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.aqb-cal .aqb-cal__title { margin: 0 0 .25rem; padding: 0; font-size: 1.35em; line-height: 1.2; font-weight: 700; color: var(--aqb-ink); letter-spacing: 0; }
.aqb-cal__sub { margin: 0; color: var(--aqb-muted); font-size: .9em; }
.aqb-cal__from { display: flex; align-items: baseline; gap: .4rem; padding: .5rem 1rem; border-radius: 999px; background: var(--aqb-soft); color: var(--aqb-muted); font-size: .85em; white-space: nowrap; }
.aqb-cal__from strong { font-size: 1.4em; color: var(--aqb-ink); }

.aqb-cal__body { position: relative; }
.aqb-cal .aqb-cal__arrow {
	position: absolute; top: -.25rem; z-index: 1;
	width: 2.25rem; height: 2.25rem; min-width: 0; min-height: 0; padding: 0; margin: 0;
	display: grid; place-items: center;
	border: 1px solid var(--aqb-line); border-radius: 50%;
	background: #fff; color: var(--aqb-ink); box-shadow: none;
	font: inherit; font-size: 1.4rem; line-height: 1; cursor: pointer;
	transition: background .2s, color .2s, border-color .2s;
}
.aqb-cal .aqb-cal__arrow.is-prev { left: 0; }
.aqb-cal .aqb-cal__arrow.is-next { right: 0; }
.aqb-cal .aqb-cal__arrow:hover:not(:disabled), .aqb-cal .aqb-cal__arrow:focus-visible { background: var(--aqb-ink); border-color: var(--aqb-ink); color: #fff; }
.aqb-cal .aqb-cal__arrow:disabled { opacity: .3; cursor: default; }

.aqb-cal__months { display: grid; grid-template-columns: repeat(var(--aqb-cols, 1), minmax(0, 1fr)); gap: 2rem; }
.aqb-month__title { height: 1.75rem; line-height: 1.75rem; margin-bottom: .75rem; text-align: center; font-weight: 700; text-transform: capitalize; }
.aqb-month__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); row-gap: .25rem; }
.aqb-month__wd { padding-bottom: .4rem; text-align: center; font-size: .7em; letter-spacing: .06em; text-transform: uppercase; color: var(--aqb-muted); }

.aqb-cal .aqb-day { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; height: 3.25rem; border-radius: 12px; color: var(--aqb-ink); cursor: default; }
.aqb-day__n { font-size: .95em; font-weight: 600; line-height: 1; }
.aqb-day__p { font-size: .66em; line-height: 1; color: var(--aqb-muted); }
.aqb-cal .aqb-day.is-today .aqb-day__n { text-decoration: underline; text-underline-offset: 3px; }
.aqb-cal .aqb-day.is-past { color: #c8c6c3; }
.aqb-cal .aqb-day.is-booked { background: repeating-linear-gradient(135deg, var(--aqb-booked) 0 6px, #fff 6px 12px); color: #aaa59f; border-radius: 0; }
.aqb-cal .aqb-day.is-booked .aqb-day__n { text-decoration: line-through; }

.aqb-cal__legend { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--aqb-line); font-size: .8em; color: var(--aqb-muted); }
.aqb-cal__legend span { display: inline-flex; align-items: center; gap: .5rem; }
.aqb-cal__legend i { display: inline-block; width: .9rem; height: .9rem; border: 1px solid var(--aqb-line); border-radius: 4px; background: #fff; }
.aqb-cal__legend i.is-booked { background: repeating-linear-gradient(135deg, var(--aqb-booked) 0 3px, #fff 3px 6px); }

@media (max-width: 520px) {
	.aqb-cal .aqb-day { height: 2.9rem; }
}
