/**
 * HexRent public styles.
 *
 * Every rule is scoped under .hexrent. The theme owns the page; nothing here
 * sets a global font, colour or reset.
 */

.hexrent {
	--hexrent-ink: #232323;
	--hexrent-muted: #6d6d78;
	--hexrent-line: #e3e3ea;
	--hexrent-soft: #f6f6f9;
	--hexrent-accent: #1b0e4c;
	--hexrent-highlight: #fcca00;

	color: var(--hexrent-ink);
}

.hexrent *,
.hexrent *::before,
.hexrent *::after {
	box-sizing: border-box;
}

.hexrent-step {
	color: var(--hexrent-accent);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin: 26px 0 12px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.hexrent-step::before {
	content: "";
	width: 26px;
	height: 3px;
	background: var(--hexrent-highlight);
	display: block;
	flex: none;
}

.hexrent-muted {
	color: var(--hexrent-muted);
	font-size: 14px;
	margin: 8px 0;
}

/* Themes that set a display on bare elements beat the user agent's own
   [hidden] rule, and a warning that cannot hide is worse than no warning. */
.hexrent [hidden] {
	display: none;
}

.hexrent-note {
	font-size: 13px;
	color: var(--hexrent-muted);
	line-height: 1.55;
	border-left: 3px solid var(--hexrent-highlight);
	padding-left: 12px;
	margin-top: 14px;
}

/* ------------------------------------------------------------- catalogue */

.hexrent-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 22px;
}

.hexrent-card {
	border: 1px solid var(--hexrent-line);
	border-radius: 10px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	background: #fff;
}

.hexrent-card.is-active {
	border-color: var(--hexrent-accent);
	box-shadow: 0 0 0 2px rgba(27, 14, 76, 0.1);
}

.hexrent-card-media {
	background: var(--hexrent-soft);
	padding: 18px;
	display: flex;
	justify-content: center;
}

.hexrent-card-media img {
	max-height: 160px;
	width: auto;
	object-fit: contain;
}

.hexrent-card-body {
	padding: 18px 20px 20px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.hexrent-card-body h3 {
	font-size: 18px;
	color: var(--hexrent-accent);
	margin: 0;
}

/* Not every theme ships this class on the front end, so it is defined here. */
.hexrent .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	white-space: nowrap;
}

.hexrent-card-body h3 a {
	color: inherit;
	text-decoration: none;
}

.hexrent-card-body h3 a:hover,
.hexrent-card-body h3 a:focus-visible {
	text-decoration: underline;
}

a.hexrent-card-media:hover img {
	opacity: 0.85;
}

.hexrent-card-body p {
	font-size: 14px;
	color: var(--hexrent-muted);
	margin: 8px 0 0;
}

.hexrent-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 12px;
}

.hexrent-chip {
	font-size: 12.5px;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--hexrent-soft);
	border: 1px solid var(--hexrent-line);
	color: var(--hexrent-accent);
}

.hexrent-chip.is-ok {
	background: #eaf7ee;
	border-color: #cbe9d4;
	color: #1d6b36;
}

.hexrent-price {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid var(--hexrent-line);
	flex-wrap: wrap;
}

.hexrent-price strong {
	font-size: 21px;
	color: var(--hexrent-accent);
}

.hexrent-price span {
	font-size: 13px;
	color: var(--hexrent-muted);
}

.hexrent-quote-only {
	font-weight: 700;
	color: var(--hexrent-accent);
}

.hexrent-card-actions {
	margin-top: auto;
	padding-top: 16px;
	display: flex;
	gap: 10px;
	align-items: flex-end;
}

.hexrent-card-actions label {
	font-size: 12px;
	font-weight: 700;
	color: var(--hexrent-accent);
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.hexrent-qty {
	width: 68px;
	padding: 9px 10px;
	border: 1px solid var(--hexrent-line);
	border-radius: 6px;
	font: inherit;
}

/* ---------------------------------------------------------------- buttons */

.hexrent-btn {
	font: inherit;
	font-weight: 800;
	font-size: 14px;
	padding: 11px 20px;
	border-radius: 6px;
	border: 2px solid var(--hexrent-accent);
	background: transparent;
	color: var(--hexrent-accent);
	cursor: pointer;
	flex: 1;
	transition: background 0.15s, color 0.15s;
}

.hexrent-btn:hover {
	background: var(--hexrent-accent);
	color: #fff;
}

.hexrent-btn-primary {
	background: var(--hexrent-highlight);
	border-color: var(--hexrent-highlight);
	color: var(--hexrent-accent);
}

.hexrent-btn-primary:hover {
	background: #e8bb00;
	border-color: #e8bb00;
	color: var(--hexrent-accent);
}

.hexrent-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.hexrent-btn:focus-visible,
.hexrent-day:focus-visible {
	outline: 3px solid var(--hexrent-accent);
	outline-offset: 2px;
}

.hexrent-block {
	width: 100%;
	flex: none;
}

.hexrent-link {
	background: none;
	border: 0;
	padding: 0;
	font: inherit;
	color: #b32d2e;
	cursor: pointer;
	text-decoration: underline;
}

/* ------------------------------------------------------------------ panel */

.hexrent-panel {
	border: 1px solid var(--hexrent-line);
	border-radius: 12px;
	margin-top: 30px;
	overflow: hidden;
	background: #fff;
}

.hexrent-panel-head {
	background: var(--hexrent-accent);
	color: #fff;
	padding: 16px 22px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.hexrent-panel-head h3 {
	margin: 0;
	font-size: 18px;
	color: #fff;
}

.hexrent-panel-head span {
	font-size: 13.5px;
	opacity: 0.85;
}

.hexrent-cart {
	padding: 16px 22px;
	border-bottom: 1px solid var(--hexrent-line);
	background: var(--hexrent-soft);
}

.hexrent-cart-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hexrent-cart-list li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 14px;
	padding: 7px 0;
	border-bottom: 1px dashed var(--hexrent-line);
	font-size: 14.5px;
}

.hexrent-cart-list li:last-child {
	border-bottom: 0;
}

.hexrent-columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.hexrent-col {
	padding: 22px;
}

.hexrent-col + .hexrent-col {
	border-left: 1px solid var(--hexrent-line);
}

/* --------------------------------------------------------------- calendar */

.hexrent-cal-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
}

.hexrent-cal-head strong {
	font-size: 16px;
	color: var(--hexrent-accent);
}

.hexrent-cal-nav {
	width: 32px;
	height: 32px;
	border: 1px solid var(--hexrent-line);
	background: #fff;
	border-radius: 6px;
	cursor: pointer;
	color: var(--hexrent-accent);
	font: inherit;
}

.hexrent-dow,
.hexrent-days {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 4px;
	text-align: center;
}

.hexrent-dow span {
	font-size: 12px;
	font-weight: 800;
	color: var(--hexrent-muted);
	padding-bottom: 6px;
}

.hexrent-day {
	aspect-ratio: 1;
	border: 1px solid transparent;
	background: #fff;
	border-radius: 6px;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	color: var(--hexrent-ink);
	cursor: pointer;
	padding: 0;
}

.hexrent-day:hover:not(:disabled) {
	border-color: var(--hexrent-accent);
}

.hexrent-day:disabled {
	cursor: not-allowed;
}

.hexrent-day.is-empty {
	visibility: hidden;
}

.hexrent-day.is-weekend {
	color: #b9b9c4;
	background: #fbfbfd;
}

.hexrent-day.is-rented {
	background: #fbe1e1;
	color: #8d2323;
	border-color: #f2c9c9;
}

.hexrent-day.is-unavailable {
	background: #ececf1;
	color: #7c7c88;
	border-color: #e0e0e8;
}

.hexrent-day.is-selected {
	background: var(--hexrent-accent);
	color: #fff;
	border-color: var(--hexrent-accent);
}

.hexrent-day.is-range {
	background: #e5e0f5;
	color: var(--hexrent-accent);
}

.hexrent-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 14px;
	font-size: 13px;
	color: var(--hexrent-muted);
}

.hexrent-legend i {
	width: 12px;
	height: 12px;
	border-radius: 3px;
	display: inline-block;
	vertical-align: -1px;
	margin-right: 5px;
}

.hexrent-legend .is-rented {
	background: #fbe1e1;
	border: 1px solid #f2c9c9;
}

.hexrent-legend .is-unavailable {
	background: #ececf1;
	border: 1px solid #e0e0e8;
}

.hexrent-legend .is-selected {
	background: var(--hexrent-accent);
}

.hexrent-legend .is-weekend {
	background: #fbfbfd;
	border: 1px solid var(--hexrent-line);
}

/* ------------------------------------------------------------------ quote */

.hexrent-summary {
	background: #fff9e0;
	border: 1px solid #f4e2a0;
	border-radius: 6px;
	padding: 10px 14px;
	font-size: 14px;
	font-weight: 700;
	color: #6b5200;
	margin-bottom: 14px;
}

.hexrent-quote {
	border: 1px solid var(--hexrent-line);
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 16px;
}

.hexrent-quote-head {
	background: var(--hexrent-soft);
	padding: 9px 14px;
	font-size: 12.5px;
	font-weight: 800;
	color: var(--hexrent-accent);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	border-bottom: 1px solid var(--hexrent-line);
}

.hexrent-quote-body {
	padding: 6px 14px 12px;
}

.hexrent-q-row {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	font-size: 14px;
	padding: 7px 0;
	border-bottom: 1px dashed var(--hexrent-line);
}

.hexrent-q-row span:first-child {
	color: var(--hexrent-muted);
}

.hexrent-q-row.is-discount span {
	color: #1d6b36;
	font-weight: 700;
}

.hexrent-q-row.is-total {
	border-bottom: 0;
	padding-top: 11px;
	font-size: 16px;
	font-weight: 800;
	color: var(--hexrent-accent);
}

.hexrent-q-row.is-total span:first-child {
	color: var(--hexrent-accent);
}

/* ------------------------------------------------------------------- form */

.hexrent-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.hexrent form label {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: var(--hexrent-accent);
	margin-bottom: 12px;
}

.hexrent form input,
.hexrent form select,
.hexrent form textarea {
	width: 100%;
	font: inherit;
	font-size: 14.5px;
	font-weight: 400;
	padding: 10px 12px;
	border: 1px solid var(--hexrent-line);
	border-radius: 6px;
	background: #fff;
	color: var(--hexrent-ink);
	margin-top: 5px;
}

.hexrent form input:focus,
.hexrent form select:focus,
.hexrent form textarea:focus {
	outline: none;
	border-color: var(--hexrent-accent);
	box-shadow: 0 0 0 3px rgba(27, 14, 76, 0.08);
}

.hexrent-captcha {
	margin: 6px 0 14px;
}

.hexrent-consent {
	display: flex;
	gap: 9px;
	align-items: flex-start;
	font-size: 13px;
	font-weight: 400;
	color: var(--hexrent-muted);
	margin-bottom: 16px;
}

.hexrent-consent input {
	width: auto;
	margin-top: 3px;
	flex: none;
}

.hexrent-error {
	background: #fbeaea;
	border: 1px solid #f2c9c9;
	color: #8d2323;
	border-radius: 6px;
	padding: 11px 14px;
	font-size: 14px;
	margin-bottom: 14px;
}

.hexrent-success {
	background: #eaf7ee;
	border: 1px solid #cbe9d4;
	border-radius: 8px;
	padding: 18px 20px;
	color: #1d6b36;
}

.hexrent-success h4 {
	margin: 0 0 8px;
	color: #1d6b36;
	font-size: 17px;
}

.hexrent-success p {
	margin: 0;
	font-size: 14.5px;
}

@media (max-width: 860px) {
	.hexrent-columns {
		grid-template-columns: 1fr;
	}

	.hexrent-col + .hexrent-col {
		border-left: 0;
		border-top: 1px solid var(--hexrent-line);
	}

	.hexrent-row {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hexrent * {
		transition: none !important;
	}
}

/* ------------------------------------------------------------- currency */

.hexrent-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
}

.hexrent-toolbar .hexrent-step {
	margin-bottom: 12px;
}

.hexrent-currency {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 12px;
	font-size: 13.5px;
}

.hexrent-currency-label {
	color: var(--hexrent-muted);
}

.hexrent-currency-option {
	font: inherit;
	font-weight: 700;
	font-size: 13px;
	padding: 5px 14px;
	border: 1px solid var(--hexrent-line);
	background: #fff;
	color: var(--hexrent-muted);
	cursor: pointer;
	transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.hexrent-currency-option:first-of-type {
	border-radius: 6px 0 0 6px;
}

.hexrent-currency-option:last-of-type {
	border-radius: 0 6px 6px 0;
	margin-left: -1px;
}

.hexrent-currency-option:hover {
	border-color: var(--hexrent-accent);
	color: var(--hexrent-accent);
}

.hexrent-currency-option.is-active {
	background: var(--hexrent-accent);
	border-color: var(--hexrent-accent);
	color: #fff;
}

/* The reference date matters: a UF figure without it cannot be checked. */
.hexrent-currency-note {
	color: var(--hexrent-muted);
	font-size: 12.5px;
	flex-basis: 100%;
	text-align: right;
}

@media (max-width: 640px) {
	.hexrent-currency-note {
		text-align: left;
	}
}

/* --------------------------------------------------------------- credit */

/* The signature of the block. It borrows the catalogue card's anatomy —
   hairline border, 10px radius, tinted media panel beside white body — so it
   reads as part of the same set instead of a stray line of text. <details>
   supplies the open and close with no script. */

.hexrent-about {
	margin-top: 30px;
	padding-top: 16px;
	border-top: 1px solid var(--hexrent-line);
}

.hexrent-about summary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border: 1px solid var(--hexrent-line);
	border-radius: 999px;
	background: #fff;
	color: var(--hexrent-muted);
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	list-style: none;
	transition: border-color 0.15s, color 0.15s, background 0.15s;
}

/* Both engines need telling: the triangle is replaced by the chevron below. */
.hexrent-about summary::-webkit-details-marker {
	display: none;
}

.hexrent-about summary::marker {
	content: "";
}

.hexrent-about summary:hover {
	border-color: var(--hexrent-accent);
	color: var(--hexrent-accent);
	background: var(--hexrent-soft);
}

.hexrent-about summary:focus-visible {
	outline: 2px solid var(--hexrent-accent);
	outline-offset: 2px;
	color: var(--hexrent-accent);
}

.hexrent-about-glyph {
	width: 18px;
	height: 18px;
	flex: none;
}

.hexrent-about-chevron {
	flex: none;
	transition: transform 0.18s ease-out;
}

.hexrent-about[open] summary {
	border-color: var(--hexrent-accent);
	color: var(--hexrent-accent);
}

.hexrent-about[open] .hexrent-about-chevron {
	transform: rotate(180deg);
}

.hexrent-about-panel {
	display: flex;
	align-items: stretch;
	max-width: 440px;
	margin-top: 14px;
	background: #fff;
	border: 1px solid var(--hexrent-line);
	border-radius: 10px;
	overflow: hidden;
	animation: hexrent-about-in 0.18s ease-out both;
}

@keyframes hexrent-about-in {
	from {
		opacity: 0;
		transform: translateY(-4px);
	}
}

.hexrent-about-mark {
	display: flex;
	align-items: center;
	flex: none;
	padding: 16px 18px;
	background: var(--hexrent-soft);
	border-right: 1px solid var(--hexrent-line);
}

.hexrent-about-mark img {
	width: 56px;
	height: 56px;
}

.hexrent-about-text {
	padding: 14px 18px;
}

.hexrent-about-text p {
	margin: 0 0 5px;
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--hexrent-muted);
}

.hexrent-about-text p:last-child {
	margin-bottom: 0;
}

.hexrent-about-text p.hexrent-about-name {
	margin-bottom: 3px;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.01em;
	color: var(--hexrent-accent);
}

.hexrent-about-text a {
	color: var(--hexrent-accent);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
	text-decoration-thickness: 1px;
}

.hexrent-about-text a:hover {
	text-decoration-color: var(--hexrent-highlight);
	text-decoration-thickness: 2px;
}

@media (prefers-reduced-motion: reduce) {
	.hexrent-about-panel {
		animation: none;
	}

	.hexrent-about-chevron {
		transition: none;
	}
}

@media (max-width: 480px) {
	.hexrent-about-mark {
		padding: 14px;
	}

	.hexrent-about-mark img {
		width: 44px;
		height: 44px;
	}
}
