/**
* Theme Name: FreshNaranja Child
* Theme URI: https://www.freshnaranja.com
* Description: Tema hijo de Naturally personalizado para FreshNaranja.
* Author: Albert Sas
* Author URI: https://www.freshnaranja.com
* Template: naturally
* Version: 1.0.0
* Text Domain: freshnaranja-child
*/

/* ==============================
   HERO - Texto y Fondo
   ============================== */

/* Quitar fondo del texto en el hero */
.slider-hero2_item_heading {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: block !important;
}

/* Overlay con gradiente en la imagen del hero */
.slider-hero2_item {
  position: relative;
}

.slider-hero2_item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.25) 50%,
    rgba(0, 0, 0, 0.15) 100%
  );
  z-index: 1;
}

/* Texto hero siempre blanco */
.slider-hero2_item_heading,
.slider-hero2_item_summary {
  position: relative;
  z-index: 2;
  color: #fff !important;
  text-shadow: 0 2px 4px rgba(0,0,0,.3);
}

/* Forzar título <h1> del hero en blanco */
.slider-hero2_item_heading .slider-hero2_item_title,
.slider-hero2_item_heading h1 {
  color: #fff !important;
  text-shadow: 0 2px 4px rgba(0,0,0,.4);
}

/* Forzar el enlace CTA del hero a blanco */
.elementor .slider-hero2_item .slider-hero2_item_summary a.link.is-color-secondary {
  color: #fff !important;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0,0,0,.35);
}
.elementor .slider-hero2_item .slider-hero2_item_summary a.link.is-color-secondary:hover {
  color: #f5f5f5 !important;
}

/* ==============================
   Estilos para títulos de secciones
   ============================== */
.fresh-section-title {
  text-align: center;
  margin: 0 0 12px 0;
  font-family: "Bodoni Moda", "Cyrillic Bodoni", serif;
  font-size: clamp(26px, 3vw, 38px);
  color: #364A15; /* Verde corporativo */
}

.fresh-section-sub {
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #1f1f1f;
  margin: 0 0 28px 0;
}

/* ==============================
   Newsletter
   ============================== */
.newsletter3_form_button,
.newsletter3 .wpcf7-form-control.wpcf7-submit.newsletter3_form_button {
  background-color: #FC8B2F !important;
  border-color: #FC8B2F !important;
  color: #fff !important;
}
.newsletter3_form_button:hover {
  background-color: #e6781f !important;
  border-color: #e6781f !important;
}

/* ==============================
   WooCommerce - Variaciones
   ============================== */

/* Contenedor de variaciones como flex */
.woocommerce div.product form.cart .variations {
  display: flex !important;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
  border: none !important;
  align-items: flex-end;
}

/* Evitar tabla rígida */
.woocommerce div.product form.cart .variations tr,
.woocommerce div.product form.cart .variations td {
  display: block !important;
  width: 100% !important;
  border: none !important;
  padding: 0 !important;
}

/* Cada campo */
.woocommerce div.product form.cart .variations .value {
  flex: 1 1 220px;
}

/* Label */
.woocommerce div.product form.cart .variations label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #365F27;
  margin-bottom: 6px;
}

/* Select estilizado */
.woocommerce div.product form.cart .variations select {
  width: 100%;
  padding: 12px 40px 12px 12px;
  border: 2px solid #ddd;
  border-radius: 8px;
  background: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.4;
  color: #365F27;
  transition: border-color .25s ease, box-shadow .25s ease;
  appearance: none;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 24 24'%3E%3Cpath fill='%23365F27' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 10px;
}

/* Hover y focus */
.woocommerce div.product form.cart .variations select:hover,
.woocommerce div.product form.cart .variations select:focus {
  border-color: #FC8B2F;
  box-shadow: 0 0 0 3px rgba(252,139,47,.15);
  outline: none;
}

/* Evitar cortes */
.woocommerce div.product,
.woocommerce div.product .summary,
.woocommerce div.product .entry-summary,
.woocommerce div.product form.cart,
.woocommerce div.product .variations,
.elementor,
body {
  overflow: visible !important;
}

/* Responsive */
@media (max-width: 640px) {
  .woocommerce div.product form.cart .variations {
    flex-direction: column;
  }
}

/* ==============================
   Single Product
   ============================== */
.single-product div.product .images,
.single-product div.product .summary {
  background: #fff;
  border: 1px solid #EEF2EA;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 6px 16px rgba(0,0,0,.05);
}

.single-product .woocommerce-tabs {
  border-top: 2px solid #E7EFE3;
  margin-top: 40px;
  padding-top: 25px;
}