/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: TUCHO Development Team
Template: flatsome
Version: 1.0
*/

/* tipografia */
@font-face {
	font-family: 'Fraunces';
	src: url('/wp-content/themes/flatsome-child/fonts/Fraunces.woff2') format('woff2-variations');
	font-weight: 100 1000;
	font-stretch: 75% 125%;
	font-style: normal;
	font-display: swap;
}

body, input, textarea, select, button, p, ul {
    font-synthesis: none;
    -moz-font-feature-settings: 'kern';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    direction: ltr;
	font-family: 'Fraunces', serif;
}

h1, h2, h3, h4, h5, h6, .widget-title {
	font-family: 'Fraunces', serif;
}
.centered h1, .centered h2, .centered p {
	text-align: center;
}
b, strong {
	font-weight: 500;
}

h1 {
	font-size: 50px;
	line-height: 54px;
	font-weight: 700;
	text-transform: uppercase;
}
h2 {
	font-size: 20px;
	font-weight: 500;
}


/* general */
body {
	font-size: 18px;
	font-weight: 300;
	overflow-x: clip;
}
td, th {
    border-bottom: 1px solid #d0cbc2;
}
.hero .banner, .hero .img.has-hover, iframe {
	border-radius: 6px;
	overflow: hidden;
}
.lightbox-content {
	background-color: #ece6dc;
	border-radius: 6px;
}
.product-quick-view-container .product-gallery-slider .flickity-viewport {
    height: 400px !important;
}
.product-quick-view-container .product-gallery-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
.product-quick-view-container .product-gallery-slider .slide img {
    object-fit: cover;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}
html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
	background: #1d1f25;
	border-radius: 0;
}
html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, #bfa57d, #bfa57d);
	border-radius: 10px;
	border: 2px solid #1d1f25;
}
html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
	background: linear-gradient(180deg, #bfa57d, #bfa57d);
}

/* cabecera */
.header-main .nav>li>a {
    font-size: 1rem;
	font-weight: 500;
}
.header .stuck .header-bg-color {
	background-color: rgba(236, 230, 220, 1)!important;
}
.no-link>a {
	cursor: default;
}
.nav-dropdown {
	min-width: 340px!important;
	margin-top: 20px;
	font-size: 16px!important;
}
.nav-dropdown.nav-dropdown-default>li>a  {
	border-bottom: none!important;
	font-weight: 500;
}

/* ajustes */
.pretitulo {
	font-size: 24px;
	letter-spacing: 2px;
	margin-bottom: 10px!important;
}
.boton {
	padding: 2px 40px;
	font-size: 18px;
}
.titulo-seccion h2 .section-title-main {
	font-size: 20px;
	font-weight: 500;
	color: var(--fs-color-primary);
	border: 2px solid var(--fs-color-secondary)!important;
	border-radius: 6px;
	padding: 6px 20px;
}
.titulo-seccion b {
	background-color: var(--fs-color-secondary)!important;
	opacity: 1!important;
}
.titulo-cta {
	font-size: 46px;
	font-weight: 500;
	text-transform: uppercase;
}
.texto-cta {
	font-size: 20px;
}
.h2-big h2 {
	font-size: 60px;
}
span.destacado {
	font-weight: 100;
}
.woocommerce-loop-product__title {
	font-weight: 700;
}
@media (max-width: 768px) {
	.h2-big h2 {
		font-size: 26px;
	}
}

/* catalogo */
.catalogo .category {
	font-size: 14px;
	font-weight: 500;
	text-transform: none!important;
	margin-bottom: 16px;
}
.catalogo .product-title a {
	font-size: 17px;
    font-weight: 500;
	color: var(--fs-color-secondary);
    text-align: left;
}
.catalogo span.amount {
	font-size: 14px;
	font-weight: 500!important;
	color: var(--fs-color-primary)!important;
}

/* thumbnail producto + badges */
.product-small .col-inner,
.woocommerce-product-gallery {
	overflow: hidden;
}
.badge-container {
	margin: 0;
}
.badge {
	height: 0;
	width: 130px;
	transform: rotate(-45deg) translate(-37px,-5px);
}
.badge-inner {
	background-color: #c9b290;
	padding: 5px 10px;
	text-transform: uppercase;
	font-size: 12px!important;
	font-weight: 700;
	letter-spacing: 1px;
	border-top: 1px solid;
	border-bottom: 1px solid;
}

/* pág. producto */
.custom-tabs-mobile .tabs.wc-tabs {
    display: flex;
    justify-content: left;
    flex-wrap: wrap;
    margin-bottom: 20px;
    border-bottom: none;
	gap: 10px;
}
.custom-tabs-mobile .tabs.wc-tabs li {
	margin-left: 0;
}
.custom-tabs-mobile .tabs.wc-tabs li a {
	color: var(--fs-color-primary);
	font-weight: 500;
    display: inline-block;
    padding: 0px 14px;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 2px solid var(--fs-color-base);
}
.custom-tabs-mobile .tabs.wc-tabs li.active a,
.custom-tabs-mobile .tabs.wc-tabs li a:hover {
    background-color: var(--fs-color-primary);
    color: #fff;
}
.custom-tabs-mobile .panel.entry-content {
    display: none;
    padding: 20px 0;
    animation: fadeIn 0.5s;
}
.custom-tabs-mobile .panel.entry-content.active {
    display: block;
}

.wc-block-components-quantity-selector {
	align-items: center;
}
.form-flat input:not([type=submit]), .form-flat select, .form-flat textarea {
	border-radius: 6px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 480px) {
    .custom-tabs-mobile .tabs.wc-tabs {
		flex-direction: row;
		flex-wrap: nowrap;
		overflow-x: scroll;
		gap: 10px;
    }
    .custom-tabs-mobile .tabs.wc-tabs li {
        display: inline-flex!important;
		float: none;
		text-wrap: nowrap;
		width: fit-content;
    }
}

/* carrito */
.wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link, 
:root :where(.wp-element-button, .wp-block-button__link) {
	border: 2px solid var(--fs-color-primary)!important;
	border-radius: 6px!important;
	background-color: transparent!important;
	color: var(--fs-color-primary)!important;
	font-weight: 500!important;
}

/* home slider */
.home-slider-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  margin: 0 auto;
  height: 540px;
}
.slider-container-js {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  height: 100%;
}
.slide-item-js {
  min-width: 100%;
  position: relative;
  display: block;
}
.slide-item-js img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 6px;
  will-change: transform; 
}
.progress-bar-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: rgba(0, 0, 0, 0.2);
  overflow: hidden;
  z-index: 4;
}
.progress-bar-fill {
  height: 100%;
  width: 0%;
  background-color: rgba(191, 165, 125, 1);
  transition: width 5000ms linear;
}
.slide-content-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  max-width: 40%;
  margin: 1rem;
  pointer-events: none;
}
.slide-text-overlay {
  background-color: rgba(0, 0, 0, 0.4);
  padding: 1rem 1.5rem;
  border-radius: 6px;
  text-align: left;
  box-sizing: border-box;
  color: white;
  z-index: 3;
  -webkit-backdrop-filter: blur(1px);
  backdrop-filter: blur(1px);
}
.slide-title {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  /*font-weight: 700;*/
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
  color: #ffffff;
}
.slide-subtitle {
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  /*font-weight: 400;*/
  margin: 0;
  /*line-height: 1.4;*/
  color: #e0e0e0;
  text-shadow: 0.5px 0.5px 1px rgba(0,0,0,0.8);
}

.slide-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  pointer-events: auto;
}

.slider-indicators-js {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
  z-index: 5;
}

.indicator-dot-js {
  width: 40px;
  height: 4px;
  background-color: rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  padding: 0;
}

.indicator-dot-js:hover {
  background-color: rgba(0, 0, 0, 0.7);
  transform: scaleY(1.4);
}

.indicator-dot-js.active {
  background-color: black;
  transform: scaleY(1.3);
}

@media (max-width: 768px) {
  .home-slider-wrapper {
    height: 300px; 
  }
  
  .slider-container-js {
    height: 100%; /* Hereda los 300px del wrapper móvil */
  }

  .slide-content-wrapper {
    max-width: 60%;
    margin: 0.8rem;
  }

  .slide-text-overlay {
    padding: 1rem;
  }

  .slide-title {
    font-size: clamp(1.2rem, 5vw, 1.8rem);
  }

  .slide-subtitle {
    font-size: clamp(0.8rem, 3.5vw, 1rem);
  }

  .indicator-dot-js {
    width: 25px;
    height: 5px;
  }
}

/* pie */
.absolute-footer {
	display: none !important;
}
.widget-title {
	color: #fff;
	font-size: 18px;
	line-height: 1.2;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	padding-bottom: 20px;
}
#nav_menu-2 ul.menu>li+li, #nav_menu-3 ul.menu>li+li {
	border-top: none!important;
}
#nav_menu-2 ul.menu>li>a, #nav_menu-3 ul.menu>li>a {
	padding: 0!important;
}
.ue-logos div {
	max-width: fit-content;
}
.ue-logos img {
	max-height: 40px;
	object-fit: contain;
	object-position: left;
}
.texto-ue {
	font-size: 14.4px;
	margin-top: 10px;
}
.menu-legal ul {
	display: flex;
    flex-direction: row;
	gap: 20px;
	font-size: 14.4px;
}
.menu-legal .col, .menu-draco .col {
	padding: 0 0 30px!important;
}
.menu-legal .widget, .menu-draco .widget {
	margin-bottom: 0!important;
}
.menu-draco a, .redes p {
	font-size: 18px!important;
	color: var(--fs-color-secondary)!important;
}
@media (max-width: 768px) {
	.texto-ue, .widget-title {
		text-align: center;
	}
	.redes .icon-box {
		width: auto;
	}
	.fila-legal {
		display: flex;
		flex-direction: column-reverse;
	}
	.menu-legal ul {
		display: flex;
		flex-direction: column;
		gap: 10px;
		font-size: 14.4px;
		align-items: center;
	}
	.tuchonet-footer {
		text-align: center;
	}
}

/* ContactForm 7 */
form.wpcf7-form{
	background: #fbfbfb;
	padding: 2rem 2rem 1rem;
	border-radius: 6px;
}
form.wpcf7-form * {
	transition: 225ms;
}
form.wpcf7-form label {
	display: block;
	width: 100%;
	cursor: pointer;
	color: var(--fs-color-primary);
	font-weight: 500;
}
form.wpcf7-form input,
form.wpcf7-form select,
form.wpcf7-form textarea {
	display: block;
	width: 100%;
	padding: .5em 0;
	margin-bottom: 2rem;
	border: 0;
	border-bottom: 1px solid var(--fs-color-primary);
	border-radius: 0;
	background: transparent;
	font-size: 1rem;
	color: #fff;
	box-shadow: none;
	padding: 0 10px;
}
form.wpcf7-form input:hover,
form.wpcf7-form select:hover,
form.wpcf7-form textarea:hover {
	cursor: pointer;
	border-bottom: 1px solid var(--fs-color-secondary);
}
form.wpcf7-form input:focus,
form.wpcf7-form select:focus,
form.wpcf7-form textarea:focus {
	border-bottom: 1px solid var(--fs-color-secondary);
	box-shadow: none;
	outline: none;
	background: transparent;
	color: var(--fs-color-primary);
}

form.wpcf7-form input[type="submit"] {
	padding: 0.5em;
	margin-bottom: 0;
	box-shadow: none;
	background: var(--fs-color-primary);
	color: var(--fs-color-secondary);
	line-height: 1.2em;
    display: inline-block;
    margin-right: 1em;
	font-weight: 700;
	border-radius: 6px!important;
	border-bottom: none;
}
form.wpcf7-form input[type="submit"]:hover {
	background: var(--fs-color-secondary);
	color: var(--fs-color-primary);
}
.wpcf7-list-item-label a {
	color: var(--fs-color-primary);!important;
}
span.wpcf7-not-valid-tip {
	position: relative;
	top: -1em;
	color: var(--fs-color-secondary);
}
div.wpcf7-response-output {
	padding: 1em !important;
	margin: 0 !important;
	border-width: 1px!important;
	border-color: var(--fs-color-primary)!important;
	border-radius: 3px!important;
	color: #fff!important;
}
form.wpcf7-form .wpcf7-acceptance label {
	display: inline-flex;
}
form.wpcf7-form .wpcf7-acceptance label input {
	max-width: 50px;
}
/* columnas CF7 */
.cf7-row {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
}

.cf7-row .cf7-col {
	flex: 1 1 0;
}

@media (max-width: 767px) {
	.cf7-row {
		flex-direction: column;
		gap: 0;
	}
}

div.wpcf7 .ajax-loader {
	display:none;
	background: none;
	-webkit-animation: spin 1s ease-in-out infinite;
	animation: spin 1s cubic-bezier(0.36, 0.09, 0.27, 0.97) infinite;
	border: 3px solid #dedede;
	border-top: 3px solid #000000;
	border-radius: 50%;
	height: 1em;
	width: 1em;
	margin: 0;
	vertical-align: middle;
}
@-webkit-keyframes spin {
  50% {
	border-top-color: #a7005d;
  }
  100% {
	border-top-color: #000000;
	-webkit-transform: rotate(360deg);
	transform: rotate(360deg);
  }
}
@keyframes spin {
  50% {
	border-top-color: #a7005d;
  }
  100% {
	border-top-color: #000000;
	-webkit-transform: rotate(360deg);
	transform: rotate(360deg);
  }
}
.wpcf7-list-item {
	display: block!important;
}

/* wpml */
.wpml-ls-statics-shortcode_actions, .wpml-ls-statics-shortcode_actions .wpml-ls-sub-menu, .wpml-ls-statics-shortcode_actions a {
	border-color: transparent;
}
.wpml-ls-statics-shortcode_actions {
	background-color: #ece6dc;
}
 .wpml-ls-statics-shortcode_actions li:not(.wpml-ls-current-language) .wpml-ls-link, .wpml-ls-statics-shortcode_actions li:not(.wpml-ls-current-language) .wpml-ls-link:link {
	background-color: transparent;
}
.wpml-ls-statics-shortcode_actions .wpml-ls-current-language > a {
	background-color: #bfa57d40;
	border-radius: 6px;
}
.wpml-ls-statics-shortcode_actions .wpml-ls-current-language:hover>a, .wpml-ls-statics-shortcode_actions .wpml-ls-current-language>a:focus {
	background-color: #bfa57d80;
}


.wc-block-components-radio-control__description-group {
    display: none !important;
}

/* Título método envío */
.wc-block-components-radio-control__label {
    font-size: 0.8em !important;
    font-weight: 600;
    line-height: 1.3;
}

/* Descripción método envío */
.shipping-method-description,
.flexible-shipping-method-description-block {
    font-size: 0.7em;
    line-height: 1.6;
    opacity: 0.9;
}