/*
Theme Name: Hello Elementor Child
Template: hello-elementor
Description: Child theme for Glekuis. Holds the small CSS that Elementor Free cannot express.
Version: 1.0.0
Text Domain: hello-elementor-child
*/

#CybotCookiebotDialog {
border:1px solid rgba(240,194,47,0.20)!important;
border-radius:0!important
}

#CybotCookiebotDialog .CybotCookiebotDialogContentWrapper,#CookiebotWidget #CookiebotWidget-widgetContent {
background:#F0C22F!important
}

#CybotCookiebotDialog *,#CybotCookiebotDialogBodyUnderlay *,#CookiebotWidget * {
color:#060505!important
}

#CybotCookiebotDialog .CybotCookiebotDialogBodyLevelButtonSlider,#CookiebotWidget .CookiebotWidget-consent-details .CookiebotWidget-consent-details-box {
background:#060505!important
}

#CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtonAccept,#CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonAccept,#CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll,#CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonCustomize,#CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelection,#CybotCookiebotDialogFooter .CybotCookiebotDialogBodyButton,#CookiebotWidget #CookiebotWidget-buttons #CookiebotWidget-btn-change,#CookiebotWidget #CookiebotWidget-buttons #CookiebotWidget-btn-withdraw {
background:#060505!important;
border:none!important;
border-radius:0!important;
color:#F0C22F!important
}

#CybotCookiebotDialog .CybotCookiebotDialogBodyLevelButtonIABContainerToggleHide,#CybotCookiebotDialog .CybotCookiebotDialogBodyLevelButtonIABContainerToggleShow,#CybotCookiebotDialog a:after,#CybotCookiebotDialog a:before,#CybotCookiebotDialog button:after,#CybotCookiebotDialog button:before {
border-color:#060505!important
}

#CybotCookiebotDialogNav .CybotCookiebotDialogNavItemLink.CybotCookiebotDialogActive {
border-bottom-color:#060505!important
}

#CookiebotWidget .CookiebotWidget-logo svg circle,#CookiebotWidget .CookiebotWidget-body .CookiebotWidget-consents-list li.CookiebotWidget-approved svg {
fill:#060505!important
}

/* Text widgets: no stray margins from p/ul/ol, 24px between consecutive blocks. */
.elementor-widget-text-editor p,
.elementor-widget-text-editor ul,
.elementor-widget-text-editor ol {
	margin: 0;
}

.elementor-widget-text-editor * + p,
.elementor-widget-text-editor * + ul,
.elementor-widget-text-editor * + ol {
	margin-top: 24px;
}

/* Decorative tape pieces never catch clicks. */
.glk-tape {
	pointer-events: none;
}

/* "Ideal para": horizontal scroller whose scrollbar is the yellow progress bar. */
.glk-scroller {
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
	scrollbar-color: #F0C22F #0F0F11;
}

.glk-scroller > .e-con {
	scroll-snap-align: start;
}

.glk-scroller::-webkit-scrollbar {
	height: 4px;
}

.glk-scroller::-webkit-scrollbar-track {
	background: #0F0F11;
	border-radius: 5px;
}

.glk-scroller::-webkit-scrollbar-thumb {
	background: #F0C22F;
	border-radius: 5px;
}

/* Footer legal links: only real links are underlined. */
.glk-legal .elementor-icon-list-item:not(:has(a)) .elementor-icon-list-text {
	text-decoration: none;
}

/* Header: UAE's JS writes inline px width/left on the <nav> (from its previous size, or the
   mobile dropdown offset), which wraps or shifts the menu after resizing. Keep it fluid, on one line. */
.glk-header .hfe-nav-menu__layout-horizontal {
	width: auto !important;
	left: 0 !important;
}

@media (min-width: 768px) {
	/* The burger's "active" state (opened on a phone, then widened) must not pull the menu out of flow. */
	.glk-header .hfe-nav-menu__layout-horizontal {
		position: static !important;
	}

	.glk-header .hfe-nav-menu {
		flex-wrap: nowrap;
		white-space: nowrap;
	}
}

/* Header: on phones the UAE dropdown sits under the header instead of widening it. */
@media (max-width: 767px) {
	.glk-header .elementor-widget-navigation-menu {
		position: static;
	}

	.glk-header .hfe-nav-menu__breakpoint-mobile .hfe-nav-menu__layout-horizontal {
		position: absolute;
		top: 100%;
		right: 0;
		z-index: 9999;
	}
}

/* Inline icon lists (footer contacts, legal links): vertical gap when items wrap. */
.elementor-icon-list-items.elementor-inline-items {
	row-gap: 12px;
}

/* Bulleted lists inside text widgets. */
.elementor-widget-text-editor ul {
	padding-left: 24px;
	list-style: disc;
}

/* Lists whose items are separated by a blank line in the design. */
.glk-spaced li + li {
	margin-top: 19px;
}

/* Price tables: header cells framed in yellow, columns separated by a 20px gutter. */
.glk-table {
	--glk-col-gap: 20px;
	width: calc(100% + 2 * var(--glk-col-gap));
	margin: 0 calc(-1 * var(--glk-col-gap));
	border-collapse: separate;
	border-spacing: var(--glk-col-gap) 0;
	table-layout: fixed;
	font-size: inherit;
	background: none;
}

.glk-table th,
.glk-table td {
	padding: 32px 24px;
	text-align: center;
	vertical-align: middle;
	line-height: 1.2;
	background: none;
}

.glk-table th {
	border: 1px solid #F0C22F;
	background: linear-gradient(180deg, rgba(240, 194, 47, 0) 0%, rgba(240, 194, 47, 0.1) 100%);
	color: #F0C22F;
	font-weight: 700;
}

.glk-table td {
	border: 1px solid rgba(217, 217, 217, 0.2);
	border-top: 0;
	color: #D3C9B5;
}

.glk-table tbody > tr:nth-child(odd) > td,
.glk-table tbody > tr:nth-child(odd) > th,
.glk-table tbody tr:hover > td,
.glk-table tbody tr:hover > th {
	background: none;
}

@media (max-width: 1024px) {
	.glk-table {
		--glk-col-gap: 12px;
	}

	.glk-table th,
	.glk-table td {
		padding: 24px 12px;
	}
}

@media (max-width: 767px) {
	.glk-table {
		--glk-col-gap: 6px;
	}

	.glk-table th,
	.glk-table td {
		padding: 16px 6px;
		font-size: 14px;
	}

	/* Packages: three text-heavy columns don't fit a phone, so each row becomes a card. */
	.glk-table--cards {
		width: 100%;
		margin: 0;
	}

	.glk-table--cards thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
	}

	.glk-table--cards,
	.glk-table--cards tbody,
	.glk-table--cards tr,
	.glk-table--cards td {
		display: block;
	}

	.glk-table--cards tr {
		border: 1px solid rgba(217, 217, 217, 0.2);
	}

	.glk-table--cards tr + tr {
		margin-top: 16px;
	}

	.glk-table--cards td {
		border: 0;
		padding: 16px;
		text-align: left;
		font-size: 16px;
	}

	.glk-table--cards td + td {
		border-top: 1px solid rgba(217, 217, 217, 0.2);
	}

	.glk-table--cards td:first-child {
		color: #F0C22F;
		font-weight: 700;
		background: linear-gradient(180deg, rgba(240, 194, 47, 0) 0%, rgba(240, 194, 47, 0.1) 100%);
	}

	.glk-table--cards td:not(:first-child)::before {
		content: attr(data-label);
		display: block;
		margin-bottom: 8px;
		color: #F0C22F;
		font-size: 14px;
		font-weight: 700;
	}
}

/* Rooms summary: adjoining cells, faint borders. */
.glk-table--summary {
	--glk-col-gap: 0px;
	border-collapse: collapse;
}

.glk-table--summary th {
	border-color: rgba(240, 194, 47, 0.2);
	padding: 24px 10px;
}

.glk-table--summary td {
	border: 1px solid rgba(211, 201, 181, 0.1);
	padding: 24px 16px;
}

@media (min-width: 1025px) {
	.glk-table--summary th:first-child,
	.glk-table--summary td:first-child {
		width: 7.5%;
	}

	.glk-table--summary th:nth-child(4),
	.glk-table--summary td:nth-child(4) {
		width: 9%;
	}
}

@media (max-width: 1024px) {
	.glk-table--summary th,
	.glk-table--summary td {
		padding: 16px 6px;
		font-size: 14px;
	}
}

/* Phones: each room becomes a card with label / value lines; the number column is redundant there. */
@media (max-width: 767px) {
	.glk-table--summary,
	.glk-table--summary tbody,
	.glk-table--summary tr,
	.glk-table--summary td {
		display: block;
		width: 100%;
	}

	.glk-table--summary thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
	}

	.glk-table--summary tr {
		border: 1px solid rgba(217, 217, 217, 0.2);
	}

	.glk-table--summary tr + tr {
		margin-top: 16px;
	}

	.glk-table--summary td {
		display: flex;
		justify-content: space-between;
		gap: 16px;
		border: 0;
		padding: 12px 16px;
		text-align: right;
		font-size: 16px;
	}

	.glk-table--summary td + td {
		border-top: 1px solid rgba(217, 217, 217, 0.1);
	}

	.glk-table--summary td:first-child {
		display: none;
	}

	.glk-table--summary td:nth-child(2) {
		border-top: 0;
		padding: 16px;
		text-align: left;
		color: #F0C22F;
		font-weight: 700;
		background: linear-gradient(180deg, rgba(240, 194, 47, 0) 0%, rgba(240, 194, 47, 0.1) 100%);
	}

	.glk-table--summary td:not(:nth-child(2))::before {
		content: attr(data-label);
		color: #F0C22F;
		font-weight: 700;
		text-align: left;
	}
}

/* Contact details: label / value columns with a 20px gutter, like the price tables. */
.glk-table--info th,
.glk-table--info td {
	border: 1px solid rgba(217, 217, 217, 0.2);
	border-top: 0;
	background: none;
	color: #D3C9B5;
	font-weight: 400;
}

.glk-table--info tr:first-child > * {
	border-top: 1px solid rgba(217, 217, 217, 0.2);
}

.glk-table--info a {
	color: inherit;
}

.glk-table--info a:hover {
	color: #F0C22F;
}

/* Booking form (Contact Form 7). */
.glk-form p {
	margin: 0;
}

.glk-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.glk-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.glk-field--wide {
	grid-column: 1 / -1;
}

.glk-field label {
	color: #F0C22F;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
}

.glk-form .wpcf7-form-control-wrap {
	display: block;
}

.glk-form input[type="text"],
.glk-form input[type="email"],
.glk-form input[type="tel"],
.glk-form input[type="number"],
.glk-form select,
.glk-form textarea {
	width: 100%;
	min-height: 53px;
	padding: 16px 32px;
	border: 1px solid rgba(240, 194, 47, 0.2);
	border-radius: 0;
	background: transparent;
	color: #D3C9B5;
	font: inherit;
	line-height: 1.2;
	transition: border-color 0.2s;
}

.glk-form textarea {
	height: auto;
	min-height: 53px;
	resize: vertical;
}

.glk-form select {
	appearance: none;
	padding-right: 64px;
	background: url("assets/icons/arrow-down.svg") no-repeat right 32px center / 24px 24px;
	cursor: pointer;
}

.glk-form select option {
	background: #0F0F11;
	color: #D3C9B5;
}

.glk-form ::placeholder {
	color: #D3C9B5;
	opacity: 0.7;
}

.glk-form input:focus,
.glk-form select:focus,
.glk-form textarea:focus {
	outline: none;
	border-color: #F0C22F;
}

.glk-form .wpcf7-not-valid {
	border-color: #FF6B5B;
}

.glk-form .wpcf7-not-valid-tip {
	margin-top: 6px;
	color: #FF6B5B;
	font-size: 14px;
}

.glk-consent {
	margin-top: 20px !important;
}

.glk-consent .wpcf7-list-item {
	margin: 0;
}

.glk-consent label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	color: #D3C9B5;
	cursor: pointer;
}

.glk-consent a {
	color: #F0C22F;
	text-decoration: underline;
}

.glk-consent input[type="checkbox"] {
	appearance: none;
	flex: none;
	width: 20px;
	height: 20px;
	margin: 0;
	border: 1px solid #F0C22F;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
}

.glk-consent input[type="checkbox"]:checked {
	background: radial-gradient(circle, #F0C22F 0 5px, transparent 6px);
}

.glk-consent input[type="checkbox"]:focus-visible {
	outline: 2px solid #F0C22F;
	outline-offset: 2px;
}

.glk-submit {
	position: relative;
	margin-top: 24px !important;
}

.glk-form .wpcf7-submit {
	width: 100%;
	padding: 16px 32px;
	border: 1px solid #F0C22F;
	border-radius: 0;
	background: #F0C22F;
	color: #060505;
	font: inherit;
	font-weight: 500;
	line-height: 1.2;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s;
}

.glk-form .wpcf7-submit:hover,
.glk-form .wpcf7-submit:focus-visible {
	background: #0F0F11;
	color: #F0C22F;
}

.glk-form .wpcf7-spinner {
	position: absolute;
	top: 50%;
	right: 16px;
	margin: -12px 0 0;
}

.wpcf7 form .wpcf7-response-output {
	margin: 24px 0 0;
	padding: 16px 20px;
	border: 1px solid #FF6B5B;
	color: #D3C9B5;
	line-height: 1.2;
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: #F0C22F;
	background: rgba(240, 194, 47, 0.1);
}

@media (max-width: 767px) {
	.glk-form__grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.glk-field label {
		font-size: 18px;
	}

	.glk-form input[type="text"],
	.glk-form input[type="email"],
	.glk-form input[type="tel"],
	.glk-form input[type="number"],
	.glk-form select,
	.glk-form textarea {
		padding: 14px 20px;
	}

	.glk-form select {
		padding-right: 52px;
		background-position: right 20px center;
	}
}

/* FAQ toggle: each question is a framed box; 32px plus / minus icons from the design. */
.glk-faq .elementor-toggle-item {
	border: 1px solid rgba(240, 194, 47, 0.2);
}

.glk-faq .elementor-toggle-icon svg {
	width: 32px;
	height: 32px;
}

.glk-faq .elementor-tab-title {
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.glk-faq .elementor-toggle-icon {
	flex: none;
	float: none;
	margin: 0 !important;
}

.glk-faq .elementor-tab-content a {
	color: #F0C22F;
}

@media (max-width: 767px) {
	.glk-faq .elementor-toggle-icon svg {
		width: 24px;
		height: 24px;
	}
}

/* Inline links inside running text are underlined so they stand out from the body colour. */
.elementor-widget-text-editor p a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Privacy policy purposes table: large header labels as in the design. */
.glk-table--big-head th {
	font-size: 40px;
	font-weight: 600;
}

@media (max-width: 1024px) {
	.glk-table--big-head th {
		font-size: 24px;
	}
}
