/*
Theme Name: Iona Child
Template: iona
Theme URI: https://iona.themerex.net/
Description: Iona is a Premium WordPress theme that has built-in support for popular Page Builders, slider with swipe gestures, and is SEO- and Retina-ready. The unique system of inheritance and override options allows setting up individual parameters for different sections of your site and supported plugins.
Author: ThemeRex
Author URI: https://themerex.net/
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/


/* =Theme customization starts here
-------------------------------------------------------------- */

/* HEADER */
body.home header {
	display: none !important;
}
.scheme_default .top_panel, .scheme_default.top_panel {
	background-color: transparent !important;
}

@media (max-width: 768px) {
	#header-guitars {
		display: flex;
		flex-direction: row !important;
	}
	#header-guitars .header-ico-menu,
	#header-guitars .header-lang-select {
		width: 30% !important;
	}
	#header-guitars .header-logo {
		width: 30% !important;
	}
}

/* MENÚ DESPLEGABLE */
.scheme_default .menu_mobile.menu_mobile_narrow {
	background-color: #e9e5d8ee;
    width: 25%;
}
.scheme_default .menu_mobile_inner {
	background-color: transparent !important;
}
@media (max-height: 768px) {
	.scheme_default .menu_mobile.menu_mobile_narrow {
		width: 100% !important;
	}>	
}

/* ======================================================
   WPML LANGUAGE SWITCHER – DROPDOWN CLICK (FIX TOTAL)
   ====================================================== */

/* CONTENEDOR */
.custom-lang-switcher {
  display: flex;
  justify-content: flex-end;
}

/* RESET GENERAL WPML */
.custom-lang-switcher .wpml-ls,
.custom-lang-switcher ul,
.custom-lang-switcher li {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* UL PRINCIPAL */
.custom-lang-switcher .wpml-ls > ul {
  	display: flex;
  	position: relative;
	justify-content: flex-end;
}

/* ======================================================
   PILL PRINCIPAL
   ====================================================== */

.custom-lang-switcher 
.wpml-ls-item-legacy-dropdown-click {
  position: relative;
  display: inline-flex;
	min-width: 100px !important;
  align-items: center;
  background-color: #352927;
  border-radius: 999px;
  padding: 8px 14px 8px 42px;
}

/* ICONO SVG */
.custom-lang-switcher 
.wpml-ls-item-legacy-dropdown-click::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background-image: url('/wp-content/uploads/icons/picto-globe.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

/* TEXTO */
.custom-lang-switcher 
.wpml-ls-item-toggle,
.custom-lang-switcher 
.wpml-ls-link {
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  color: #e9e5d8 !important;
  font-size: 16px;
  font-weight: 500;
  text-transform: lowercase;
  display: inline-block;
}

/* ======================================================
   SUBMENÚ (DROPDOWN)
   ====================================================== */

.custom-lang-switcher 
.wpml-ls-sub-menu {
  	position: absolute;
	left: auto;
  	right: 0;
  	top: calc(100% - 1px);
  	min-width: calc(100% + 25px);
  	background-color: #352927;
  	border-radius: 16px;
	border: 0 !important;
  	padding: 6px 0;
  	box-shadow: none;
  	z-index: 9999;
}

/* ITEM DEL SUBMENÚ (FIX PILL FANTASMA) */
.custom-lang-switcher 
.wpml-ls-sub-menu li {
  display: block;
  margin: 0 !important;
}

.custom-lang-switcher 
.wpml-ls-sub-menu a {
  display: block !important;
  width: 100%;
  padding: 5px 14px 10px 42px !important;
  background: transparent !important;
  border-radius: 0 !important;
  margin: 0 !important;
  color: #e9e5d8 !important;
  text-transform: lowercase;
}

/* Estado cerrado */
.custom-lang-switcher 
.wpml-ls-item-legacy-dropdown-click {
	width: fit-content;
  	border-radius: 999px;
}
.custom-lang-switcher 
.wpml-ls-item-legacy-dropdown-click.is-open {
  border-radius: 16px 16px 0 0;
}

.custom-lang-switcher 
.wpml-ls-sub-menu {
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
  	border-radius: 0 0 16px 16px;
}

/* Estado abierto (clase real WPML) */
.custom-lang-switcher 
.wpml-ls-item-legacy-dropdown-click.wpml-ls-open {
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

.custom-lang-switcher 
.wpml-ls-item-legacy-dropdown-click.wpml-ls-open 
.wpml-ls-sub-menu {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  padding-top: 4px;
}

/* Fix flecha WPML */
.custom-lang-switcher 
.wpml-ls-item-toggle::after {
  display: none !important;
}

/* Más aire en dropdown */
.custom-lang-switcher 
.wpml-ls-sub-menu {
  padding: 0;
}

@media(max-width:767px) {
	.custom-lang-switcher 
	.wpml-ls-item-legacy-dropdown-click {
		min-width: 75px !important;
		padding: 5px 10px 5px 42px;
	}
}

/* ======================================================
   HOME – VERSIÓN CLARA
   ====================================================== */

.custom-lang-switcher.home 
.wpml-ls-item-legacy-dropdown-click {
  background-color: #e9e5d8;
}

.custom-lang-switcher.home 
.wpml-ls-item-legacy-dropdown-click::before {
  background-image: url('/wp-content/uploads/icons/picto-globe_home.svg');
}

.custom-lang-switcher.home 
.wpml-ls-item-toggle,
.custom-lang-switcher.home 
.wpml-ls-link {
  color: #352927 !important;
}

.custom-lang-switcher.home 
.wpml-ls-sub-menu {
  background-color: #e9e5d8;
}

.custom-lang-switcher.home 
.wpml-ls-sub-menu a {
  color: #352927 !important;
}

/* LOGO CENTRAT HOME */
.cont-home {
	position: relative;
}
.cont-home-logo {
	position: absolute;
  	top: 50%;
  	left: 50%;
  	transform: translate(-50%, -50%);
}

/* SLIDES HOME */
#slider-home {
    overflow: hidden;
    border-radius: 40px;
}

#slider-home .slider_outer,
#slider-home .slider_container {
    height: 90vh !important;
    border-radius: 40px;
    overflow: hidden;
}

#slider-home .slider-wrapper {
    height: 100% !important;
}

#slider-home .slider-slide {
    height: 100% !important;
    border-radius: 0 !important;
    background-size: cover;
    background-position: center;
}

/* home alternativa */
#slider-home.alternate .slider_outer,
#slider-home.alternate .slider_container {
    height: 80vh !important;
}

/* Icona + línies del menú hamburguesa només a #menu-home */
#menu-home .sc_layouts_item_icon,
#menu-home .sc_layouts_item_icon:before,
#menu-home .sc_layouts_item_icon:after {
    background-color: #e9e5d8 !important;
}

/* WIDGET BLOGGER (per empresa / highlights) */
.post_featured.hover_info {
	border-radius: 40px !important;
}
.scheme_default .sc_blogger_portfolio .post_featured.hover_info .post_info {
	border-radius: 30px;
	background-color: #e9e5d8 !important;
}
.sc_blogger_portfolio .post_featured.hover_info .post_info .post_title {
	margin-bottom: 15px;
	text-align: left !important;
	color: #352927;
	font-family: 'Cardo', serif;
	font-size: 32px;
	font-family: 600;
}
.sc_blogger_portfolio .post_featured.hover_info .post_info .post_descr {
    display: block !important;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.3em;
}
.sc_blogger_portfolio .post_featured.hover_info .post_info .post_descr p {
	margin-bottom: 15px;
}
.sc_blogger_portfolio .post_featured.hover_info .post_info .post_descr img {
	display: block;
	margin: 0 auto;
	max-width: 50%;
}
.iona_longer_pagination .slider_outer.slider_outer_pagination_pos_bottom .swiper-pagination-progressbar {
	margin-top: 30px !important;
}

/* MANTENIMIENTO */
.sc_action_item_title {
	font-family: 'Cardo', serif;
	font-size: 24px;
}

/* CONTACTO */
/* Estructura del formulari */
.form-row {
  margin-bottom: 15px;
}

.form-row-flex {
  display: flex;
  gap: 15px;
}

.form-col-1-3 {
  flex: 1;
}
.form-col-2-3 {
  flex: 2;
}

.form-row-bottom {
  align-items: center;
  justify-content: space-between;
}

.form-col-privacidad {
  flex: 1;
  font-size: 14px;
}

.form-col-submit {
  flex: 0 0 auto;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
	margin-bottom: 25px;
  	padding: 10px 5px;
  	border-bottom: 1px solid #352927;
  	font-family: 'Inter', sans-serif;
	color: #352927;
	font-size: 18px;
	font-weight: 400;
}

.wpcf7 label {
	font-family: 'Cardo', serif;
	color: #352927;
	font-size: 24px;
	font-weight: 600;
}

.wpcf7 textarea {
  height: 120px !important;
  min-height: 120px;
  overflow: auto;
}

.wpcf7 .form-col-privacidad {
	position: relative;
	top: -20px;
	left: -15px;
	font-family: 'Cardo', serif;
  color: #FFFFFF;
  font-size: 16px;
	font-weight: 300;
}

.wpcf7 .form-col-privacidad a {
	display: inline;
	font-family: 'Cardo', serif;
  color: #352927;
  font-weight: 400;
  font-size: 16px;
  text-decoration: underline;
}

.wpcf7 input[type="submit"] {
	display: block;
	margin-left: auto;
	padding: 15px 50px;
	border-radius: 60px;
  	border: none;
  	background-color: #352927;
	font-family: 'Cardo', serif;
  	color: #e9e5d8;
  	font-weight: bold;
  	font-size: 32px;
  	cursor: pointer;
	text-transform: none !important;
}

.wpcf7 input[type="submit"]:hover {
	background-color: #352927 !important;
    opacity: 0.9;
}