.elementor-kit-13{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-color-a6bc805:#D4AF37;--e-global-color-6d07f7b:#1B4332;--e-global-color-f4b255a:#000000;--e-global-color-a3aabef:#F9F9F6;--e-global-color-c767aba:#D1D1C4;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;font-family:"Inter", Sans-serif;font-weight:400;}.elementor-kit-13 e-page-transition{background-color:#FFBC7D;}.elementor-kit-13 a{font-family:"Inter", Sans-serif;font-weight:400;}.elementor-kit-13 h1{font-family:"Cormorant Garamond", Sans-serif;font-weight:600;}.elementor-kit-13 h2{font-family:"Cormorant Garamond", Sans-serif;font-weight:600;}.elementor-kit-13 h3{font-family:"Cormorant Garamond", Sans-serif;font-weight:600;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}
/* Start custom CSS */#mg-marquee .mg-marquee-track {
  display: inline-block;
  white-space: nowrap;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  -webkit-text-stroke: 1px #D4AF37;
  color: transparent;
  animation: mg-marquee 20s linear infinite;
}

@keyframes mg-marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

#mg-hero .elementor-widget-image {
  animation: mg-floaty 6s ease-in-out infinite;
}

@keyframes mg-floaty {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* ===== Tarjetas de producto — Archive Products ===== */

/* El grid: todas las tarjetas de una fila con la misma altura */
.elementor-widget-wc-archive-products ul.products {
  display: grid !important;
  align-items: stretch !important;
}

.elementor-widget-wc-archive-products ul.products li.product {
  display: flex !important;
  flex-direction: column !important;
  height: 100%;
}

/* Imagen: proporción fija cuadrada + recorte uniforme */
.elementor-widget-wc-archive-products ul.products li.product a.woocommerce-loop-product__link {
  display: block;
}

.elementor-widget-wc-archive-products ul.products li.product img {
  aspect-ratio: 1 / 1 !important;
  width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
}

/* El bloque de texto (marca/título/precio) crece para empujar el precio
   a la misma altura en todas las tarjetas, aunque el título tenga 1 o 2 líneas */
.elementor-widget-wc-archive-products ul.products li.product {
  justify-content: space-between;
}

/* Título del producto en Cormorant Garamond */
.elementor-widget-wc-archive-products .woocommerce-loop-product__title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 20px !important;
  color: #000000 !important;
  margin: 4px 0 !important;
}

/* Precio en dorado */
.elementor-widget-wc-archive-products .price,
.elementor-widget-wc-archive-products .price .woocommerce-Price-amount {
  color: #D4AF37 !important;
  font-weight: 600 !important;
  font-size: 14px !important;
}

.woocommerce #review_form #respond .form-submit input {
    background: #D4AF37;
    color: #fff;
    padding: 14px 60px;
    text-transform: uppercase;
}

.woocommerce div.product form.cart .button {
    background: #D4AF37;
    border-bottom: none !important;
    padding: 13px 35px;
    text-transform: uppercase;
}

.woocommerce .products ul::after, .woocommerce .products ul::before, .woocommerce ul.products::after, .woocommerce ul.products::before {
    display: none !important;
}

/* ===== Productos Relacionados — mismo estilo que Home/Tienda ===== */

.related.products h2 {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 32px !important;
  color: #000000 !important;
  margin-bottom: 32px !important;
}

/* Base / Desktop: 4 columnas */
.related.products ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;
  align-items: stretch !important;
  list-style: none !important;
  padding: 0 !important;
}

/* Tablet: 2 columnas */
@media (min-width: 768px) and (max-width: 1024px) {
  .related.products ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Móvil: 1 columna */
@media (max-width: 767px) {
  .related.products ul.products {
    grid-template-columns: repeat(1, 1fr) !important;
  }
}

.related.products ul.products li.product {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between;
  height: 100%;
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 32px !important;
  position: relative !important;
  transition: box-shadow .3s ease;
  list-style: none !important;
  border: 1px solid #D1D1C4;
  border-radius: 2px;
}

.related.products ul.products li.product:hover {
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.25) !important;
}

/* La imagen vive dentro del <a> principal, junto con título y precio */
.related.products ul.products li.product > a.woocommerce-loop-product__link {
  display: block;
  overflow: hidden;
  text-decoration: none;
}

.related.products ul.products li.product img {
  height: 280px !important;
  width: 100% !important;
  object-fit: cover !important;
  transition: transform .5s ease !important;
}

.related.products ul.products li.product:hover img {
  transform: scale(1.06) !important;
}

.related.products .woocommerce-loop-product__title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 20px !important;
  color: #000000 !important;
  margin: 12px 0 4px !important;
}

.related.products .price,
.related.products .price .woocommerce-Price-amount {
  color: #D4AF37 !important;
  font-weight: 600 !important;
  font-size: 14px !important;
}

/* Botón "Añadir al carrito": aquí es hermano directo del link, no está en un div */
.related.products ul.products li.product > a.add_to_cart_button {
  position: absolute !important;
  top: 328px !important;
  transform: translateY(-100%);
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  background: #D4AF37 !important;
  color: #FFFFFF !important;
  text-align: center !important;
  text-transform: uppercase !important;
  font-size: 11px !important;
  letter-spacing: 1px !important;
  font-weight: 700 !important;
  padding: 14px 0 !important;
  border-radius: 0 !important;
  border: none !important;
  opacity: 0;
  transition: opacity .25s ease;
  z-index: 5;
  cursor: pointer;
}

.related.products ul.products li.product:hover > a.add_to_cart_button {
  opacity: 1 !important;
}
/* Contenedor de avisos: fijo bajo las burbujas del header */
.woocommerce-notices-wrapper {
  position: fixed !important;
  top: 122px !important;
  left: 50%;
  transform: translateX(-50%);
  width: min(640px, calc(100% - 32px));
  z-index: 9999 !important;
  margin: 0 !important;
  pointer-events: none;            /* el área vacía no bloquea clics de la página */
}
.woocommerce-notices-wrapper:empty { display: none; }

/* Cada aviso */
.woocommerce-notices-wrapper > * {
  pointer-events: auto;
  position: relative;
  margin: 0 0 8px !important;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,.25);
  animation: mgToastIn .35s cubic-bezier(.16,1,.3,1);
}

.mg-toast-close {
  position: absolute; top: 50%; right: 14px; transform: translateY(-50%);
  width: 28px; height: 28px; padding: 0 !important; margin: 0 !important;
  display: flex; align-items: center; justify-content: center;
  background: transparent !important; border: 0 !important; border-radius: 50%;
  box-shadow: none !important; cursor: pointer; z-index: 2;
  font-size: 20px; line-height: 1; color: rgba(0,0,0,.4) !important;
  transition: background-color .2s, color .2s;
}
.mg-toast-close:hover { color: #000 !important; background: rgba(0,0,0,.06) !important; }

@keyframes mgToastIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Auto-ocultar a los 10 s, sin JavaScript */
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-info {
  border-top: 0 !important;   /* quita la línea verde de arriba (borde por defecto de WooCommerce) */
  animation: mgToastIn .35s cubic-bezier(.16,1,.3,1),
             mgToastOut .4s ease 10s forwards;
}
@keyframes mgToastOut {
  to { opacity: 0; visibility: hidden; transform: translateY(-8px); }
}


/* Tu estilo */
.woocommerce-message {
  background: #F9F9F6 !important;
  border-left: 3px solid #D4AF37 !important;
  color: #000000 !important;
  font-size: 13px !important;
  padding: 16px 50px !important;
  border-radius: 0 !important;
}
.woocommerce-message .button.wc-forward {
  background: #000000 !important;
  color: #FFFFFF !important;
  border-radius: 999px !important;
  text-transform: uppercase !important;
  font-size: 10px !important;
  letter-spacing: 1px !important;
  padding: 8px 20px !important;
}

/* Móvil: las burbujas van apiladas, el aviso baja más */
@media (max-width: 767px) {
  .woocommerce-notices-wrapper { top: 190px !important; }
}/* End custom CSS */