/* OHLH foglalási űrlap – a színek CSS változókkal átírhatók a témában/Divi/Elementor egyéni CSS-ben. */
.ohlh-booking,
.ohlh-prices {
	--ohlh-primary: #8d6e63;
	--ohlh-primary-dark: #6f554b;
	--ohlh-accent: #af9a92;
	--ohlh-soft: #f6f1ee;
	--ohlh-peak: #f1dfc0;
	--ohlh-busy: #e8e2df;
	--ohlh-text: #4d4743;
	--ohlh-radius: 2px;
	color: var(--ohlh-text);
	font-size: 16px;
	line-height: 1.5;
	box-sizing: border-box;
}
.ohlh-booking *, .ohlh-prices * { box-sizing: border-box; }
.ohlh-booking h3 { color: var(--ohlh-primary); margin: 0 0 14px; font-size: 1.25em; display: flex; align-items: center; gap: 10px; }
.ohlh-step { background: #fff; border: 1px solid #e8dfda; border-radius: var(--ohlh-radius); padding: 20px; margin: 0 0 18px; }
.ohlh-step__n { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; background: var(--ohlh-primary); color: #fff; font-size: 15px; flex: none; }
.ohlh-hint { font-size: 0.875em; color: #6c6575; margin: 10px 0 0; }
.ohlh-notice { padding: 12px 16px; border-radius: 6px; margin-bottom: 16px; }
.ohlh-notice--warn { background: #fff4d6; border: 1px solid #e6c667; }

/* Naptár */
.ohlh-cal { position: relative; }
.ohlh-cal__nav { display: flex; justify-content: space-between; position: absolute; left: 0; right: 0; top: -4px; pointer-events: none; z-index: 2; }
.ohlh-cal__btn { pointer-events: auto; width: 38px; height: 38px; border-radius: 50%; border: 1px solid #e0d3ce; background: #fff; color: var(--ohlh-primary); font-size: 22px; line-height: 1; cursor: pointer; padding: 0; }
.ohlh-cal__btn:disabled { opacity: .35; cursor: default; }
.ohlh-cal__btn:not(:disabled):hover { background: var(--ohlh-soft); }
.ohlh-cal__months { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 720px) { .ohlh-cal__months { grid-template-columns: 1fr 1fr; gap: 32px; } }
.ohlh-month__title { text-align: center; font-weight: 600; margin-bottom: 8px; color: var(--ohlh-primary-dark); min-height: 30px; padding-top: 4px; }
.ohlh-month__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.ohlh-dow { text-align: center; font-size: 0.75em; color: #8b8394; padding: 4px 0; }
.ohlh-day { aspect-ratio: 1 / 1; min-width: 0; min-height: 0; border: 0; border-radius: 2px; background: #fff; color: var(--ohlh-text); font: inherit; cursor: pointer; padding: 0; position: relative; }
.ohlh-day--empty { background: transparent; cursor: default; }
.ohlh-day:not(:disabled):hover { background: var(--ohlh-soft); outline: 2px solid var(--ohlh-accent); }
.ohlh-day.is-peak { background: var(--ohlh-peak); }
.ohlh-day.is-busy { background: var(--ohlh-busy); color: #8b8394; text-decoration: line-through; }
.ohlh-day.is-busy.is-depok { text-decoration: none; background: repeating-linear-gradient(135deg, var(--ohlh-busy), var(--ohlh-busy) 5px, #fff 5px, #fff 8px); color: var(--ohlh-text); }
.ohlh-day.is-disabled { cursor: not-allowed; opacity: .55; }
.ohlh-day.is-disabled:not(.is-busy):not(.is-peak) { background: #faf9fb; }
.ohlh-day.is-range { background: var(--ohlh-soft); color: var(--ohlh-primary-dark); border-radius: 0; opacity: 1; text-decoration: none; }
.ohlh-day.is-arrival, .ohlh-day.is-departure { background: var(--ohlh-primary); color: #fff; opacity: 1; text-decoration: none; font-weight: 600; }
.ohlh-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 0.8125em; margin: 14px 0 6px; }
.ohlh-dot { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; border: 1px solid #e0d3ce; background: #fff; }
.ohlh-dot--busy { background: var(--ohlh-busy); }
.ohlh-dot--peak { background: var(--ohlh-peak); }
.ohlh-dot--sel { background: var(--ohlh-primary); border-color: var(--ohlh-primary); }
.ohlh-dates-summary { font-weight: 600; color: var(--ohlh-primary-dark); margin: 8px 0 0; }

/* Űrlap */
.ohlh-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ohlh-grid { grid-template-columns: repeat(3, 1fr); } .ohlh-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.ohlh-form label { display: block; font-size: 0.9375em; font-weight: 500; }
.ohlh-form small { font-weight: 400; color: #6c6575; }
.ohlh-form input[type=text], .ohlh-form input[type=email], .ohlh-form input[type=tel], .ohlh-form select, .ohlh-form textarea {
	display: block; width: 100%; margin-top: 5px; padding: 10px 12px; border: 1px solid #d6c9c3; border-radius: 2px; background: #fff; font: inherit; color: inherit; min-height: 44px;
}
.ohlh-form input:focus, .ohlh-form select:focus, .ohlh-form textarea:focus, .ohlh-day:focus-visible, .ohlh-cal__btn:focus-visible { outline: 3px solid rgba(141, 110, 99, .45); outline-offset: 1px; border-color: var(--ohlh-primary); }
.ohlh-block { margin-top: 14px; }
.ohlh-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ohlh-check { display: flex !important; gap: 10px; align-items: flex-start; margin: 0 0 12px; font-weight: 400 !important; }
.ohlh-check input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--ohlh-primary); }
.ohlh-cancel { margin-top: 6px; font-size: 0.9375em; }
.ohlh-error { background: #fdeaea; border: 1px solid #e3a3a3; color: #7a1f1f; padding: 12px 16px; border-radius: 2px; margin-bottom: 14px; }
.ohlh-btn { display: inline-block; background: var(--ohlh-primary); color: #fff; border: 0; border-radius: 2px; padding: 14px 28px; font: inherit; font-weight: 600; cursor: pointer; letter-spacing: .02em; }
.ohlh-btn:hover:not(:disabled) { background: var(--ohlh-primary-dark); }
.ohlh-btn:disabled { opacity: .5; cursor: not-allowed; }

/* Árösszesítő */
.ohlh-quote { background: var(--ohlh-soft); border-color: #e0d3ce; }
.ohlh-quote h3 { margin-bottom: 8px; }
.ohlh-quote__tbl { width: 100%; border-collapse: collapse; }
.ohlh-quote__tbl th, .ohlh-quote__tbl td { padding: 8px 4px; text-align: left; font-weight: 400; border-bottom: 1px solid #e5d8d2; }
.ohlh-quote__tbl td { text-align: right; white-space: nowrap; }
.ohlh-quote__tbl .is-sub th, .ohlh-quote__tbl .is-sub td { font-weight: 600; }
.ohlh-quote__tbl .is-total th, .ohlh-quote__tbl .is-total td { font-weight: 700; font-size: 1.15em; color: var(--ohlh-primary-dark); border-bottom: 0; }
.ohlh-quote__msg { margin: 0; }

.ohlh-booking__success { background: var(--ohlh-soft); border: 1px solid #e0d3ce; border-radius: var(--ohlh-radius); padding: 28px; text-align: center; }
.ohlh-ref { font-weight: 700; color: var(--ohlh-primary-dark); }

/* Árak shortcode */
.ohlh-prices table { width: 100%; border-collapse: collapse; margin: 0 0 12px; }
.ohlh-prices th, .ohlh-prices td { padding: 12px 10px; border-bottom: 1px solid #e8dfda; text-align: center; }
.ohlh-prices thead th { background: var(--ohlh-primary); color: #fff; }
.ohlh-prices tbody th { text-align: left; font-weight: 600; }
.ohlh-seasons { margin: 6px 0 0 18px; padding: 0; }
.ohlh-seasons span { color: #8b8394; }

@media (max-width: 520px) {
	.ohlh-step { padding: 14px; }
	.ohlh-booking h3 { font-size: 1.1em; }
	.ohlh-month__grid { gap: 2px; }
}

/* Árkártyák */
.ohlh-pricecards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 0 0 18px; }
.ohlh-pricecard { background: var(--ohlh-soft); border: 1px solid #e5d8d2; border-radius: 2px; padding: 26px 18px 22px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.ohlh-pricecard--peak { background: #f8efdf; border-color: #e6d3a8; }
.ohlh-pricecard__title { font-weight: 700; color: var(--ohlh-primary-dark); font-size: 1.1em; }
.ohlh-pricecard__sub { font-size: .9em; color: #6c6575; min-height: 2.8em; margin-bottom: 10px; }
.ohlh-pricecard__price { font-size: 2em; font-weight: 700; color: var(--ohlh-primary); line-height: 1.1; }
.ohlh-pricecard__unit { font-size: .85em; color: #6c6575; margin-bottom: 12px; }
.ohlh-pricecard__alt { font-weight: 600; margin-bottom: 18px; }
.ohlh-pricecard__alt span { font-weight: 400; font-size: .85em; color: #6c6575; }
.ohlh-pricecard a.ohlh-pricecard__btn { margin-top: auto; display: inline-block; background: var(--ohlh-primary); color: #fff; text-decoration: none; padding: 11px 26px; border-radius: 2px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: .9em; }
.ohlh-pricecard a.ohlh-pricecard__btn:hover { background: var(--ohlh-primary-dark); }

/* Karbantartás / szünetel */
.ohlh-notice--pause { background: #fff4d6; border: 1px solid #e6c667; padding: 18px 20px; border-radius: 2px; font-size: 1.05em; }
.ohlh-pausebar { background: #fff4d6; color: #5a3d00; border-bottom: 2px solid #e6c667; text-align: center; padding: 10px 16px; font: 600 15px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; position: relative; z-index: 1000; }

/* Arculat: Josefin Sans gombok, antikva címek */
.ohlh-booking h3, .ohlh-pricecard__title, .ohlh-pricecard__price { font-family: var(--ohlh-font-head, Georgia, serif); font-weight: 600; }
.ohlh-booking h3 { font-size: 1.5em; }
.ohlh-pricecard__price { font-size: 2.3em; }
.ohlh-btn, .ohlh-pricecard a.ohlh-pricecard__btn { font-family: var(--ohlh-font-nav, Arial, sans-serif); font-weight: 400; letter-spacing: .22em; text-transform: uppercase; font-size: 11px; border-radius: 0; padding: 15px 28px; }
.ohlh-step { box-shadow: none; }
