/*
Theme Name:   Amoja Child
Theme URI:    https://www.lavilladegliorti.it
Description:  Tema child di Amoja per La Villa degli Orti.
Author:       Zucchetti
Template:     amoja
Version:      1.1.5
Text Domain:  amoja-child
*/

/* Personalizzazioni CSS del sito */

/* Logo: dimensioni contenute in header e footer */
:is(.elementor-143,.elementor-6592,.elementor-6627) .elementor-widget-amoja_sitelogo .hfe-site-logo-img { width: 230px !important; max-width: 230px !important; height: auto !important; }
:is(.elementor-137,.elementor-6593,.elementor-6628) .elementor-widget-amoja_sitelogo .hfe-site-logo-img { width: 260px !important; max-width: 260px !important; height: auto !important; }
@media (max-width: 767px) {
  :is(.elementor-143,.elementor-6592,.elementor-6627) .elementor-widget-amoja_sitelogo .hfe-site-logo-img { width: 160px !important; max-width: 160px !important; }
}

/* Telefono in header su una riga */
:is(.elementor-143,.elementor-6592,.elementor-6627) .elementor-icon-list-text { white-space: nowrap; }

/* Footer: link leggibili sullo sfondo scuro */
:is(.elementor-137,.elementor-6593,.elementor-6628) .elementor-image-box-description a,
:is(.elementor-137,.elementor-6593,.elementor-6628) .elementor-widget-text-editor a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }


/* Camere: catalogo senza prezzi (la prenotazione avviene con Beddy) */
.item_info_price, .item_info_price_old, .item_info_price_discount, .babe_price_from, .item-price-from { display: none !important; }

/* Territorio: immagini delle schede con altezza uniforme */
#vedere .elementor-widget-image img, #fare .elementor-widget-image img, #gustare .elementor-widget-image img { width: 100%; height: 420px; object-fit: cover; }
@media (max-width: 767px) {
  #vedere .elementor-widget-image img, #fare .elementor-widget-image img, #gustare .elementor-widget-image img { height: 260px; }
}

/* Menu principale: testo bianco, sottolineato in hover e sulla pagina attiva */
:is(.elementor-143,.elementor-6592,.elementor-6627) .main-navigation ul.menu > li.menu-item > a,
:is(.elementor-143,.elementor-6592,.elementor-6627) .main-navigation ul.menu > li.menu-item > a:hover,
:is(.elementor-143,.elementor-6592,.elementor-6627) .main-navigation ul.menu > li.menu-item.current-menu-item > a,
:is(.elementor-143,.elementor-6592,.elementor-6627) .main-navigation ul.menu > li.menu-item.current-menu-parent > a,
:is(.elementor-143,.elementor-6592,.elementor-6627) .main-navigation ul.menu > li.menu-item.current-menu-ancestor > a { color: #FFFFFF !important; }
:is(.elementor-143,.elementor-6592,.elementor-6627) .main-navigation ul.menu > li.menu-item > a:hover .menu-title,
:is(.elementor-143,.elementor-6592,.elementor-6627) .main-navigation ul.menu > li.menu-item.current-menu-item > a .menu-title,
:is(.elementor-143,.elementor-6592,.elementor-6627) .main-navigation ul.menu > li.menu-item.current-menu-parent > a .menu-title,
:is(.elementor-143,.elementor-6592,.elementor-6627) .main-navigation ul.menu > li.menu-item.current-menu-ancestor > a .menu-title { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
:is(.elementor-143,.elementor-6592,.elementor-6627) .main-navigation ul.menu .sub-menu .menu-item:hover > a,
:is(.elementor-143,.elementor-6592,.elementor-6627) .main-navigation ul.menu .sub-menu .menu-item.current-menu-item > a { color: inherit !important; text-decoration: underline; text-underline-offset: 4px; }

/* Footer: spazio in fondo per la barra di prenotazione Beddy */
:is(.elementor-137,.elementor-6593,.elementor-6628) .elementor-element-544fe2b { padding-bottom: 120px !important; }
@media (max-width: 767px) {
  :is(.elementor-137,.elementor-6593,.elementor-6628) .elementor-element-544fe2b { padding-bottom: 140px !important; }
}

/* Crediti foto dintorni */
.vdo-crediti a { color: inherit; text-decoration: underline; }

/* Header desktop: colonne laterali di uguale larghezza, logo centrato */
@media (min-width: 1025px) {
  :is(.elementor-143,.elementor-6592,.elementor-6627) .elementor-element-03bcf58,
  :is(.elementor-143,.elementor-6592,.elementor-6627) .elementor-element-c4a9a7b { flex: 1 1 0 !important; }
  :is(.elementor-143,.elementor-6592,.elementor-6627) .elementor-element-c4a9a7b { justify-content: flex-end; }
  :is(.elementor-143,.elementor-6592,.elementor-6627) .elementor-element-4cc7be7 { flex: 0 0 auto !important; }
  :is(.elementor-143,.elementor-6592,.elementor-6627) .elementor-element-03bcf58 { padding-right: 0 !important; }
}

/* Testate per pagina (il breadcrumb globale usa una foto unica) */
:is(body.page-id-4569,body.page-id-6586,body.page-id-6621) :is(.elementor-277,.elementor-6594,.elementor-6629) .elementor-element-e6e7ff5 { background-image: url("https://www.lavilladegliorti.it/wp-cntnt/uplds/2026/10/villa-degli-orti-agrifoglio-01.jpg") !important; background-position: center 60% !important; }

/* Singola camera: anteprime galleria tutte uguali (al click si apre la lightbox) */
.elementor-widget-babe-item-slideshow .grid-item img { width: 100%; height: 220px; object-fit: cover; border-radius: 8px; display: block; }
.elementor-widget-babe-item-slideshow .grid-item a { display: block; cursor: zoom-in; }
@media (max-width: 767px) { .elementor-widget-babe-item-slideshow .grid-item img { height: 140px; } }

/* Singola camera: sottotitolo nel testo */
.amoja-single-content h4.vdo-room-lead { font-size: 26px; line-height: 1.25; margin-bottom: 18px; }

/* Singola camera: elenco "Le altre camere" */
.vdo-altre-camere { list-style: none; margin: 0; padding: 0; }
.vdo-altre-camere li + li { border-top: 1px solid var(--e-global-color-border, #E3DCCF); }
.vdo-altre-camere a { display: flex; align-items: center; gap: 14px; padding: 10px 0; color: inherit; text-decoration: none; }
.vdo-altre-camere .vdo-ac-thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; flex: 0 0 64px; }
.vdo-altre-camere .vdo-ac-text { display: flex; flex-direction: column; line-height: 1.3; }
.vdo-altre-camere .vdo-ac-name { font-family: "Ortica Linear", serif; font-size: 20px; color: var(--e-global-color-accent, #3E4A3D); }
.vdo-altre-camere .vdo-ac-type { font-size: 13px; color: var(--e-global-color-text_light, #8C7B76); }
.vdo-altre-camere a:hover .vdo-ac-name { text-decoration: underline; text-underline-offset: 4px; }

/* Colazione: i box "in tavola" non hanno un menu da aprire */
.elementor-widget-amoja-menu-box .button-popup { pointer-events: none; cursor: default; }
.elementor-widget-amoja-menu-box .button-popup .text-hover,
.elementor-widget-amoja-menu-box .button-popup::before,
.elementor-widget-amoja-menu-box .button-popup::after { display: none !important; }

/* Territorio: spazio verticale tra le righe di schede */
#vedere > .e-con-inner > .e-con + .e-con,
#fare > .e-con-inner > .e-con + .e-con,
#gustare > .e-con-inner > .e-con + .e-con { margin-top: 50px; }
@media (max-width: 767px) {
  #vedere > .e-con-inner > .e-con + .e-con,
  #fare > .e-con-inner > .e-con + .e-con,
  #gustare > .e-con-inner > .e-con + .e-con { margin-top: 30px; }
}

/* Galleria: etichette dei filtri come scritte (niente maiuscola su ogni parola) */
:is(.elementor-106,.elementor-6589,.elementor-6624) .e-n-tab-title, :is(.elementor-106,.elementor-6589,.elementor-6624) .e-n-tab-title-text { text-transform: none !important; }

/* Selettore lingua a tendina (WPML, shortcode [vdo_lingue]): bandierine native, nessun bordo */
.vdo-lang { position: relative; display: inline-block; font-size: 13px; line-height: 1; }
.vdo-lang-btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 6px; background: transparent !important; border: 0 !important; box-shadow: none !important; color: inherit !important; font: inherit; letter-spacing: .08em; cursor: pointer; }
.vdo-lang-btn:focus-visible { outline: 1px solid currentColor; outline-offset: 2px; }
.vdo-lang img { display: block; width: 18px; height: 12px; border: 0; box-shadow: none; object-fit: cover; }
.vdo-lang-btn svg { transition: transform .2s ease; }
.vdo-lang.open .vdo-lang-btn svg { transform: rotate(180deg); }
.vdo-lang-list { position: absolute; top: 100%; right: 0; z-index: 1000; min-width: 150px; margin: 6px 0 0; padding: 6px 0; list-style: none; background: #fff; border: 0; border-radius: 6px; box-shadow: 0 10px 30px rgba(0,0,0,.14); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.vdo-lang.open .vdo-lang-list { opacity: 1; visibility: visible; transform: none; }
.vdo-lang-list li { margin: 0; padding: 0; }
.vdo-lang-list a { display: flex; align-items: center; gap: 10px; padding: 9px 16px; color: #3b3530 !important; text-decoration: none !important; font-size: 14px; letter-spacing: 0; white-space: nowrap; }
.vdo-lang-list a:hover, .vdo-lang-list a[aria-current] { background: #f4efe8; }
#masthead .vdo-lang-btn { color: #fff !important; }
@media (max-width: 1024px) { .vdo-lang-list { left: 0; right: auto; } }

/* Colazione, "Cosa trovi a colazione": immagini delle card tutte alla stessa altezza */
.elementor-widget-amoja-menu-box .menu-box-thumb img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; object-position: center; }

/* Icone sottili su misura (stesso tratto delle icone "hotel" del tema): <i class="amoja-icon-vdo-..."> */
[class*="amoja-icon-vdo-"]::before{content:""!important;display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask:var(--vdo-i) center/contain no-repeat;mask:var(--vdo-i) center/contain no-repeat}
.amoja-icon-vdo-bike{--vdo-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='31' r='7.5'/%3E%3Ccircle cx='37' cy='31' r='7.5'/%3E%3Cpath d='M11 31h13l7-13H19zM19 18l5 13M19 18v-3M16 15h6M31 18l6 13M31 18l1-5h3'/%3E%3C/svg%3E")}
.amoja-icon-vdo-gift{--vdo-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='18' width='32' height='8' rx='1'/%3E%3Cpath d='M11 26v14h26V26M24 18v22M24 18c-2-6-10-9-11-4-.6 3 5 4 11 4zM24 18c2-6 10-9 11-4 .6 3-5 4-11 4z'/%3E%3C/svg%3E")}
.amoja-icon-vdo-sofa{--vdo-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 23v-6a3 3 0 0 1 3-3h22a3 3 0 0 1 3 3v6'/%3E%3Cpath d='M5 26a3 3 0 0 1 6 0v4h26v-4a3 3 0 0 1 6 0v10H5zM11 30v6M37 30v6M9 36v3M39 36v3'/%3E%3C/svg%3E")}
.amoja-icon-vdo-door{--vdo-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 41h34M12 41V7h17v34M29 9l7 3v29M24 24v2'/%3E%3C/svg%3E")}
.amoja-icon-vdo-home{--vdo-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 22L24 8l17 14M11 19v21h26V19M20 40V29h8v11'/%3E%3C/svg%3E")}
.amoja-icon-vdo-compass{--vdo-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='24' r='17'/%3E%3Cpath d='M31 17l-4 10-10 4 4-10zM24 7v3M24 38v3M7 24h3M38 24h3'/%3E%3C/svg%3E")}
/* Icone bagno e panorama (rev. 26/11/2026) */
.amoja-icon-vdo-shower{--vdo-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 42V11a5 5 0 0 1 5-5h8a5 5 0 0 1 5 5v3M19 21a9 7 0 0 1 18 0zM22 26l-1 3M28 26v3M34 26l1 3M21 33l-1 3M28 33v3M35 33l1 3'/%3E%3C/svg%3E")}
.amoja-icon-vdo-wc{--vdo-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 7h11v12H10zM8 19h15c0 6-2 10-6 11l1 8h-7l1-8c-3-1-4-5-4-11zM30 28h12c0 4-2 7-5 8v3h-2v-3c-3-1-5-4-5-8zM36 28v-4h3M7 42h36'/%3E%3C/svg%3E")}
.amoja-icon-vdo-garden{--vdo-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 27a9 9 0 1 1 0-18 9 9 0 0 1 0 18zM24 27v13M24 33l-4-3M24 31l4-3M6 40h36M10 40c1-3 3-4 5-4M38 40c-1-3-3-4-5-4'/%3E%3C/svg%3E")}
.amoja-icon-vdo-valley{--vdo-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 39L17 20l8 11 6-8 13 16zM13 26l4 3 3-3M28 27l3 2 3-2M36 13a4 4 0 1 0 0-.01'/%3E%3C/svg%3E")}
.amoja-icon-vdo-bathtub{--vdo-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 24h38v4a10 10 0 0 1-10 10H15A10 10 0 0 1 5 28zM13 38l-2 4M35 38l2 4M10 24V12a4 4 0 0 1 8 0v1M14 15h8'/%3E%3C/svg%3E")}
.amoja-icon-vdo-showerpanel{--vdo-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 6h16v36H16zM24 15a3 3 0 1 0 0-.01M20 23v.5M28 23v.5M20 29v.5M28 29v.5M20 35v.5M28 35v.5M11 21l-3-1M11 27H8M11 33l-3 1M37 21l3-1M37 27h3M37 33l3 1'/%3E%3C/svg%3E")}
.amoja-icon-vdo-hydro{--vdo-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 30h38v2a8 8 0 0 1-8 8H13a8 8 0 0 1-8-8zM12 40l-1 3M36 40l1 3M17 24a3 3 0 1 0 0-.01M26 20a2 2 0 1 0 0-.01M32 25a2.5 2.5 0 1 0 0-.01M22 12a1.5 1.5 0 1 0 0-.01M33 14a1.5 1.5 0 1 0 0-.01'/%3E%3C/svg%3E")}
.amoja-icon-vdo-steam{--vdo-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 31c-3-3 3-6 0-9s3-6 0-9M24 31c-3-3 3-6 0-9s3-6 0-9M32 31c-3-3 3-6 0-9s3-6 0-9M8 37h32M11 37v5M37 37v5'/%3E%3C/svg%3E")}
.amoja-icon-vdo-chromo{--vdo-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 29a9 9 0 1 1 0-18 9 9 0 0 1 0 18zM29 29a9 9 0 1 1 0-18 9 9 0 0 1 0 18zM24 38a9 9 0 1 1 0-18 9 9 0 0 1 0 18z'/%3E%3C/svg%3E")}
.amoja-icon-vdo-balcony{--vdo-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 26V7h14v19M24 7v19M7 26h34M7 41h34M9 26v15M15 26v15M21 26v15M27 26v15M33 26v15M39 26v15'/%3E%3C/svg%3E")}

/* Selettore lingua: il contenitore dell'header che lo ospita sta sopra la riga del menu (entrambi z-index 9999 nel template) */
.e-con:has(.vdo-lang) { z-index: 10000 !important; }
