/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

.elementor-text-editor a {
  color: inherit;
  text-decoration: underline;
  background-color: #4343430d;
}

.custom-list ul {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.5rem;
}

@media screen and (max-width: 1040px) {
  .custom-list ul {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 660px) {
  .custom-list ul {
    grid-template-columns: 1fr;
  }
}

.custom-list ul li {
  display: flex;
  background: var(--e-global-color-secondary);
  padding: 0.5rem 1rem !important;
  margin: 0 !important;
  gap: 0.25rem;
}

.custom-list ul li .elementor-icon-list-text {
  color: var(--e-global-color-primary) !important;
  font-weight: 400 !important;
  letter-spacing: -0.03em !important;
}

.custom-backdrop {
  backdrop-filter: blur(10px);
}

.fw-details {
  display: inline-flex;
  flex-direction: column;
  gap: 0;
  min-width: 20ch;
}

.fw-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 8px 0;
  font-family: var(--e-global-typography-text-font-family);
}

.fw-detail + .fw-detail {
  border-top: 1px solid #e0e0e0;
}

.fw-detail-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fw-icon {
  display: flex;
  align-items: center;
  color: #434343;
}

.fw-icon svg {
  width: 24px;
  height: 24px;
}

.fw-label {
  font-size: 14px;
  letter-spacing: 0.1em;
  color: #434343;
}

.fw-value {
  font-size: 16px;
  color: #434343;
}

#mainheader .is-booking a {
  color: white;
}

#mainheader .is-booking a::before {
  background: var(--e-global-color-09c9796) !important;
  opacity: 1;
}

/* =========================================================
   Villa Map — DSGVO Consent Layer
   ========================================================= */

.villa-map-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  z-index: 0;
}

.villa-map-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 1;
  overflow: hidden;
  object-fit: cover;
  background-color: #e8e8e8;
}

.villa-map-preview-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.villa-map-consent-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  backdrop-filter: blur(5px);
  background-color: rgb(255 255 255 / 45%);
}

.villa-map-consent-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 2rem;
  background-color: #ffffff;
  text-align: center;
  max-width: 520px;
}

.villa-map-consent-box p {
  margin-bottom: 1rem;
}

.villa-map-consent-box p a {
  text-decoration: underline;
}

.villa-map-consent-icon {
  display: flex;
  color: #434343;
}

.villa-map-consent-text {
  color: #434343;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  letter-spacing: 0.07em;
  font-family: "Clash Display", sans-serif;
}

.villa-map-consent-link {
  color: #434343;
  text-decoration: underline;
}

.villa-map-load-btn {
  cursor: pointer !important;
  padding: 13px 20px !important;
  background: var(--e-global-color-09c9796) !important;
  color: #ffffff !important;
  border: none !important;
  font-family: "Argesta", Sans-serif !important;
  font-size: 1.1em !important;
  letter-spacing: -0.03em !important;
  transition: opacity 0.2s ease !important;
}

.villa-map-load-btn:hover {
  opacity: 0.85 !important;
  background: var(--e-global-color-09c9796) !important;
}

.villa-map-container {
  width: 100%;
  aspect-ratio: 4 / 1;
}

.leaflet-popup-content .villa-map-popup-link,
.leaflet-popup-content .villa-map-popup-link:hover,
.leaflet-popup-content .villa-map-popup-link:visited {
  color: var(--e-global-color-primary) !important;
  text-decoration: none !important;
  display: block;
  text-align: center;
}

.leaflet-popup-content-wrapper {
  border-radius: 0 !important;
}

.leaflet-popup-tip {
  border-radius: 0;
}

.leaflet-control-attribution .leaflet-attribution-flag {
  display: none !important;
}

/* Tablet (Elementor breakpoint: max 1024px) */
@media (max-width: 1024px) {
  .villa-map-placeholder,
  .villa-map-container {
    aspect-ratio: 2 / 1;
  }
}

/* Mobile (Elementor breakpoint: max 767px) */
@media (max-width: 767px) {
  .villa-map-placeholder,
  .villa-map-container {
    aspect-ratio: 2 / 1;
  }
}
