/* 🌸 PÉTALO — Carrito visible y nítido en el header */
.ast-header-cart a,
.ast-header-cart,
.ast-header-cart svg,
.ast-header-cart svg path,
.ast-woocommerce-cart-menu,
.ast-site-header-cart-menu,
.ast-icon-shopping-cart {
  fill: #000 !important;
  stroke: #000 !important;
  color: #000 !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  height: 24px !important;
}

/* Contador del carrito (círculo con número) */
.ast-site-header-cart-menu-wrap-count {
  background: #000 !important;
  color: #fff !important;
  font-weight: 600 !important;
  border-radius: 50% !important;
  font-size: 11px !important;
  width: 16px !important;
  height: 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  top: -4px !important;
  right: -8px !important;
  position: absolute !important;
}

/* 🌸 PÉTALO — Barra lila fija + menú fijo corregidos */

/* --- Barra lila superior --- */
.petalo-envio-gratis-barra {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(203, 188, 221, 0.9);
  color: #fff;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 0;
  z-index: 9999;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* --- Menú principal (header) fijo justo debajo --- */
#masthead.site-header {
  position: fixed !important;
  top: 32px; /* altura de la barra lila */
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95) !important;
  z-index: 9998;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

/* --- Anula el modo “transparente” de Astra --- */
.ast-theme-transparent-header #masthead {
  position: fixed !important;
  background: rgba(255, 255, 255, 0.95) !important;
}

/* --- Elimina cualquier fondo residual o bloque vacío --- */
.ast-above-header,
.ast-desktop-header,
.ast-above-header-wrap,
.ast-primary-header-bar,
.ast-desktop-header {
  background: transparent !important;
}

/* --- Ajuste de espacio del contenido (que no quede tapado) --- */
body {
  padding-top: 130px !important;
}

/* --- Estilo del menú --- */
.main-header-menu .menu-link,
.ast-main-header-nav .menu-item > a {
  color: #000 !important;
  font-weight: 600;
  font-size: 15px;
}

/* --- En móvil: más compacto --- */
@media (max-width: 768px) {
  .petalo-envio-gratis-barra {
    font-size: 13px;
    padding: 5px 0;
  }
  #masthead.site-header {
    top: 30px;
    background: rgba(255, 255, 255, 0.98) !important;
  }
  body {
    padding-top: 115px !important;
  }
}
/* 🌸 PÉTALO — Corrige color de icono del carrito */
.ast-header-cart,
.ast-header-cart a,
.ast-header-cart svg {
  color: #000 !important;
  fill: #000 !important;
  opacity: 1 !important;
}
/* 🌸 PÉTALO — Corrige visibilidad del carrito (forzado) */
.ast-header-cart .ast-icon-shopping-cart svg,
.ast-header-cart .ast-icon-shopping-cart path,
.ast-header-cart .ast-icon-shopping-cart {
  fill: #000 !important;
  stroke: #000 !important;
  color: #000 !important;
  opacity: 1 !important;
}

.ast-header-cart .ast-site-header-cart-menu-wrap-count {
  background: #000 !important;
  color: #fff !important;
  font-weight: 600;
}


/* 🌸 PÉTALO — Aumenta ligeramente el tamaño del menú principal */
.ast-desktop .main-header-menu > .menu-item > a {
  font-size: 17px !important; /* antes suele ser 15px */
  font-weight: 500;
  letter-spacing: 0.3px;
  font-family: "Helvetica Neue", sans-serif;
  transition: all 0.2s ease;
}

/* Sutil aumento al pasar el ratón */
.ast-desktop .main-header-menu > .menu-item > a:hover {
  transform: scale(1.05);
  color: #0069A7 !important;
}


/* 🌸 PÉTALO — Menú desplegable limpio y legible */
.ast-desktop .main-header-menu .sub-menu {
  background-color: rgba(255, 255, 255, 0.9) !important; /* blanco translúcido */
  border-radius: 12px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  padding: 15px 0 !important;
  backdrop-filter: blur(6px);
  transition: all 0.3s ease-in-out;
}

/* Enlaces dentro del menú */
.ast-desktop .main-header-menu .sub-menu a {
  color: #0069A7 !important; /* azul Pétalo */
  font-family: "Helvetica Neue", sans-serif;
  font-weight: 500;
  font-size: 15px;
  padding: 10px 20px !important;
  transition: all 0.2s ease;
}

/* Efecto hover */
.ast-desktop .main-header-menu .sub-menu a:hover {
  background-color: rgba(203, 188, 221, 0.2); /* toque lila */
  color: #000 !important;
  border-radius: 8px;
}

/* Espaciado y alineación */
.ast-desktop .main-header-menu .sub-menu li {
  margin: 2px 0 !important;
  text-align: left;
}



/* 🌸 PÉTALO — Efecto flotar al pasar el cursor por los productos */
.woocommerce ul.products li.product {
  transition: all 0.3s ease !important;
  transform: translateY(0);
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

/* En pantallas táctiles: que se note al tocar */
@media (hover: none) {
  .woocommerce ul.products li.product:active {
    transform: translateY(-6px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
}
/* 🌸 PÉTALO — Bordes redondeados al elevarse */
.woocommerce ul.products li.product {
  border-radius: 14px; /* puedes subir a 18px si lo quieres más suave */
  overflow: hidden;
  transition: all 0.3s ease !important;
}

.woocommerce ul.products li.product:hover {
  border-radius: 14px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

/* PÉTALO — Alineación de imagen y texto en columnas */
.single-product div.product {
  display: flex;
  align-items: flex-start;
  justify


/* 🌸 PÉTALO — Ficha de producto con slider normal (ORDENADOR) */
.single-product div.product {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
}

/* Galería izquierda */
.single-product div.product .woocommerce-product-gallery {
  flex: 1 1 48%;
  max-width: 48%;
  margin: 0;
}

/* Corrige el alto del flexslider */
.woocommerce-product-gallery .flex-viewport,
.woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
  height: auto !important;
  max-height: none !important;
}

/* Imagen */
.woocommerce-product-gallery img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Columna derecha */
.single-product div.product .summary {
  flex: 1 1 48%;
  max-width: 48%;
}

/* Título y precio */
.single-product h1.product_title {
  font-family: "Freude", sans-serif;
  font-size: 26px;
  color: #000;
  margin-bottom: 8px;
}
.single-product .price {
  color: #000;
  font-weight: 600;
  margin-bottom: 15px;
}

/* Flechas blancas del slider */
.flex-direction-nav a {
  color: #fff !important;
  text-shadow: none !important;
  opacity: 0.8;
}
.flex-direction-nav a:hover {
  opacity: 1;
}

/* 🌸 PÉTALO — Ajuste vista móvil */
@media (max-width: 768px) {
  .single-product div.product {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 30px !important;
    padding: 0 20px !important;
  }

  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .swiper {
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  .single-product div.product .summary.entry-summary {
    width: 100% !important;
    padding: 0 20px !important;
    text-align: left !important;
  }

  .single-product div.product .summary.entry-summary * {
    text-align: left !important;
  }

  /* Alinear “Joya : Dorado” y “Flor : Azul” */
  .single-product div.product .summary.entry-summary .label,
  .single-product div.product .summary.entry-summary label {
    display: inline-block !important;
    margin-right: 4px !important;
  }

  .single-product div.product .summary.entry-summary .value {
    display: inline-block !important;
  }

  .single-product div.product .summary.entry-summary table.variations td {
    display: inline-block !important;
    vertical-align: middle !important;
  }

  .ast-container,
  .woocommerce div.product {
    max-width: 100% !important;
    padding: 0 !important;
  }
}

/* 🌸 PÉTALO — Productos relacionados correctamente debajo */
@media (min-width: 769px) {
  .single-product .related.products {
    display: block !important;
    clear: both !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 120px auto 80px auto !important;
    padding: 0 20px !important;
    position: relative !important;
    z-index: 0 !important;
  }

  /* Asegura que no quede dentro del bloque del producto */
  .single-product div.product::after {
    content: "";
    display: block;
    clear: both;
  }

  /* Centra el título */
  .single-product .related.products > h2 {
    text-align: center !important;
    font-family: "Freude", sans-serif !important;
    font-size: 30px !important;
    color: #000;
    margin-bottom: 40px !important;
  }

  /* Grid de 4 columnas */
  .single-product .related.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px !important;
    justify-items: center !important;
  }

  .single-product .related.products ul.products li.product {
    text-align: center !important;
    width: 100% !important;
  }

  .single-product .related.products ul.products li.product img {
    border-radius: 10px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }

  .single-product .related.products ul.products li.product img:hover {
    transform: scale(1.03);
  }
}


/* 🌸 PÉTALO — Corrige el solapamiento del título de categoría en móvil */
.archive .ast-woocommerce-container,
.tax-product_cat .ast-woocommerce-container {
  padding-top: 40px !important; /* espacio extra para el título */
}

/* Ajusta el margen del título de categoría */
.woocommerce-products-header {
  margin-top: 20px !important;
  margin-bottom: 10px;
  text-align: center;
}

.woocommerce-products-header__title.page-title {
  font-family: "Freude", "Helvetica Neue", sans-serif;
  font-size: 28px;
  color: #0069A7;
  margin-bottom: 20px;
}

/* En móvil: más espacio arriba */
@media (max-width: 768px) {
  .archive .ast-woocommerce-container,
  .tax-product_cat .ast-woocommerce-container {
    padding-top: 70px !important;
  }

  .woocommerce-products-header__title.page-title {
    font-size: 24px;
  }
}

.petalo-envios-gratis {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(203, 188, 221, 0.8); /* lila medio transparente */
  color: white;
  text-align: center;
  font-family: "Freude", "Helvetica Neue", sans-serif;
  font-size: 16px;
  padding: 10px 0;
  backdrop-filter: blur(5px);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  animation: petalo-move 18s linear infinite;
  overflow: hidden;
}

@keyframes petalo-move {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.woocommerce-checkout .petalo-envios-gratis {
  margin-bottom: 15px;
}



.easyzoom {
  position: relative;
  display: inline-block;
  cursor: zoom-in;
}

.easyzoom img {
  display: block;
  width: 100%;
  height: auto;
}

.easyzoom img.zoomed {
  position: absolute;
  top: 0;
  left: 100%;
  width: auto;
  max-height: none;
  z-index: 999;
  border: none;
}
/* 💧 Desactiva EasyZoom en móvil y tablet */
@media (max-width: 1024px) {
  .easyzoom {
    pointer-events: none !important;
  }
  .easyzoom img {
    transform: none !important;
  }
}

/* --- BOTÓN ROSADO DEFINITIVO PARA SPECTRA --- */

/* 1️⃣ Elimina fondo, bordes y sombras de todos los contenedores del botón */
.boton-rosado.uagb-buttons__outer-wrap,
.boton-rosado.uagb-buttons-layout-wrap,
.boton-rosado .uagb-button__wrapper,
.boton-rosado:hover.uagb-buttons__outer-wrap,
.boton-rosado:hover.uagb-buttons-layout-wrap,
.boton-rosado:hover .uagb-button__wrapper {
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* 2️⃣ Estilo del botón en estado normal */
.boton-rosado .uagb-buttons-repeater.wp-block-button__link {
  background: transparent !important;
  color: #6D264E !important;
  border: 2px solid #6D264E !important;
  border-radius: 999px !important; /* píldora redondeada */
  transition: all 0.3s ease !important;
  box-shadow: none !important;
}

/* 3️⃣ Hover: cambia solo el propio botón, no el contenedor */
.boton-rosado .uagb-buttons-repeater.wp-block-button__link:hover {
  background-color: #6D264E !important;
  color: #ffffff !important;
  border-color: #6D264E !important;
  box-shadow: none !important;
}

/* 4️⃣ Asegura que el contenedor no reaccione al hover */
.boton-rosado:hover,
.boton-rosado:hover *,
.boton-rosado:hover .uagb-buttons__outer-wrap,
.boton-rosado:hover .uagb-buttons-layout-wrap {
  background: none !important;
  background-color: transparent !important;
}

/* Tipografía para todos los botones Pétalo */
button,
.wp-block-button__link,
.uagb-buttons__button,
.add_to_cart_button,
.single_add_to_cart_button {
  font-family: "Nunito Sans", sans-serif !important;
  font-weight: 600;
  text-transform: none;
}

/* ---- CITAS / FRASES ---- */
blockquote, .wp-block-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 20px;
  color: #0069A7;
  border-left: 4px solid #cbbcdd;
  padding-left: 20px;
  margin: 30px 0;
}



