/*
Theme Name: Astra Child
Description: Tema hijo mínimo para personalizaciones de Astra.
Author: Licia Zucchet
Template: astra
Version: 1.1.3
Text Domain: astra-child
*/
/* Header transparente: el hero empieza arriba del todo */
.ast-theme-transparent-header .site-content > .ast-container {
  padding-top: 0;
}
.ast-theme-transparent-header .entry-content > :first-child {
  margin-top: 0;
}
.ast-theme-transparent-header #primary {
  margin-top: 0;
}
 

#primary {
    margin: 1em 0 0 0;
}

/* =========================================================
   HEADER STICKY (la clase .dx-scrolled la pone functions.php)
========================================================= */
:root {
	--dx-header-bg: #ffffff;        /* fondo del header al hacer scroll */
	--dx-menu-color: #0b3c5d;       /* enlaces del menú al hacer scroll */
	--dx-menu-hover: #00646f;       /* hover / página actual */
	--dx-header-shadow: 0 2px 12px rgba(0, 0, 0, .08);
}

/* Fijo en todas las páginas */
#masthead {
	position: fixed !important;
	top: 0; left: 0; right: 0;
	z-index: 999;
	transition: background-color .3s ease, box-shadow .3s ease;
}
.admin-bar #masthead { top: 32px; }
@media (max-width: 782px) { .admin-bar #masthead { top: 46px; } }

/* Páginas con header normal: compensar la altura para que no tape el contenido */
body:not(.ast-theme-transparent-header) { padding-top: var(--dx-header-h, 80px); }

/* Sombra al hacer scroll */
body.dx-scrolled #masthead { box-shadow: var(--dx-header-shadow); }

/* Header transparente → blanco al hacer scroll */
body.ast-theme-transparent-header.dx-scrolled #masthead,
body.ast-theme-transparent-header.dx-scrolled #masthead .main-header-bar {
	background-color: var(--dx-header-bg) !important;
}
body.ast-theme-transparent-header.dx-scrolled #masthead .main-header-menu > .menu-item > .menu-link,
body.ast-theme-transparent-header.dx-scrolled #masthead .main-header-menu > .menu-item > .ast-menu-toggle {
	color: var(--dx-menu-color) !important;
}
body.ast-theme-transparent-header.dx-scrolled #masthead .main-header-menu > .menu-item:hover > .menu-link,
body.ast-theme-transparent-header.dx-scrolled #masthead .main-header-menu > .current-menu-item > .menu-link {
	color: var(--dx-menu-hover) !important;
}
/* Menú: hover y focus (header blanco / con scroll) */
body:not(.ast-theme-transparent-header) #masthead .main-header-menu .menu-item:hover > .menu-link,
body:not(.ast-theme-transparent-header) #masthead .main-header-menu .menu-item:focus-within > .menu-link,
body.dx-scrolled #masthead .main-header-menu .menu-item:hover > .menu-link,
body.dx-scrolled #masthead .main-header-menu .menu-item:focus-within > .menu-link {
	color: #00646f !important;
}

/* Header transparente (sin scroll): subrayado, mantiene su color */
/* Header transparente (sin scroll): subrayado solo en el primer nivel */
body.ast-theme-transparent-header:not(.dx-scrolled) #masthead .main-header-menu > .menu-item:hover > .menu-link,
body.ast-theme-transparent-header:not(.dx-scrolled) #masthead .main-header-menu > .menu-item:focus-within > .menu-link {
	text-decoration: underline;
	text-underline-offset: 6px;
	text-decoration-thickness: 1px;
}

/* Focus visible con teclado */
#masthead .main-header-menu .menu-link:focus-visible {
	outline: 1px solid currentColor;
	outline-offset: 3px;
}

/* Botón hamburguesa (móvil) */
.ast-header-break-point .ast-mobile-menu-buttons-fill.menu-toggle {
	background: #0b3c5d;
	border-radius: 24px;
}
/* Hamburguesa: icono blanco sobre el botón */
#masthead .menu-toggle .menu-toggle-icon,
#masthead .menu-toggle .menu-toggle-icon::before,
#masthead .menu-toggle .menu-toggle-icon::after {
	background: transparent !important;
	color: #ffffff !important;
}
.entry-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    color: #0b3c5d;
    letter-spacing: -0.01em;
    margin-bottom: 0.5em;
}
/* Arriba del todo (cabecera transparente): blanco */
.ast-theme-transparent-header .ast-cart-menu-wrap .count,
.ast-theme-transparent-header .ast-cart-menu-wrap .count:after {
	border-color: #fff;
	color: #fff;
}

/* Al hacer scroll: vuelve al color original */
body.ast-theme-transparent-header.dx-scrolled .ast-cart-menu-wrap .count,
body.ast-theme-transparent-header.dx-scrolled .ast-cart-menu-wrap .count:after {
	border-color: var(--ast-global-color-0);
	color: var(--ast-global-color-0);
}


/* Desplegable del carrito: fondo y texto legibles, también con cabecera transparente */
.ast-site-header-cart .ast-site-header-cart-data .widget_shopping_cart_content {
	background-color: #fff;
}
.ast-site-header-cart .ast-site-header-cart-data .widget_shopping_cart_content,
.ast-site-header-cart .ast-site-header-cart-data .widget_shopping_cart_content a:not(.button),
.ast-site-header-cart .ast-site-header-cart-data .variation dt,
.ast-site-header-cart .ast-site-header-cart-data .variation dd,
.ast-site-header-cart .ast-site-header-cart-data .variation p,
.ast-site-header-cart .ast-site-header-cart-data .quantity,
.ast-site-header-cart .ast-site-header-cart-data .total {
	color: #1a2b3c; /* pon aquí tu color de texto oscuro */
}

/* Detalles (equipo, fecha) alineados, sin la sangría rara */
.ast-site-header-cart .ast-site-header-cart-data .variation {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.15em 0.5em;
	margin: 0.4em 0;
	font-size: 0.875em;
}
.ast-site-header-cart .ast-site-header-cart-data .variation dt,
.ast-site-header-cart .ast-site-header-cart-data .variation dd,
.ast-site-header-cart .ast-site-header-cart-data .variation p {
	margin: 0;
	padding: 0;
}

/* Botones del mismo ancho y alineados */
.ast-site-header-cart .woocommerce-mini-cart__buttons .button {
	display: block;
	width: 100%;
	margin: 0 0 0.5em;
}
/* ===== SOMBRAS (escala reutilizable) ===== */
.shadow-sm {
  box-shadow: 0 6px 16px -2px rgba(6, 35, 53, .08);
}

.shadow-md {
  box-shadow: 0 12px 30px -3px rgba(6, 35, 53, .10);
}

.shadow-lg {
  box-shadow: 0 16px 40px -4px rgba(6, 35, 53, .12);
}
.radius24 { border-radius: 24px;}
/* =========================================================
   BOTÓN WHATSAPP (Kadence)
========================================================= */
.kb-button.wa-button,
.kb-button.wa-button:visited {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100% !important;
  min-height: 60px;
  margin: 10px auto 10px auto !important;
  padding: 14px 28px !important;
  background: #25d366 !important;
  color: #fff;
  border-radius: 999px !important;
  line-height: 1.2 !important;
  text-decoration: none;
  width:100%;
}

.kb-button.wa-button:hover,
.kb-button.wa-button:focus {
  background: #25b059 !important;
}

.wa-button .kb-svg-icon-wrap {
  display: inline-flex;
  flex: 0 0 26px;
  width: 26px !important;
  height: 26px !important;
  margin: 0;
}

.wa-button .kb-svg-icon-wrap svg {
  width: 100% !important;
  height: 100% !important;
}

.wa-button .kt-btn-inner-text {
  font-size: 20px;
  white-space: nowrap;
}

/* =========================================================
   BOTÓN CONTACTO (shortcode [boton_contacto])
========================================================= */
.mail-button,
.mail-button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 60px;
  margin: 10px auto 10px auto !important;
  padding: 14px 28px;
  background: #0b3c5d;
  color: #fff;
  border: 2px solid #0b3c5d;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .25s ease, border-color .25s ease;
    width:100%;
}

.mail-button:hover,
.mail-button:focus {
  background: #1ca7b8;
  border-color: #1ca7b8;
  color: #fff;
}

.mail-button:focus-visible {
  outline: 3px solid #243C8C;
  outline-offset: 3px;
}

.mail-button__icon {
  display: inline-flex;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
}

.mail-button__icon svg {
  width: 100%;
  height: 100%;
}

.mail-button__text {
  font-size: 20px;
  white-space: nowrap;
}

/* =========================================================
   CTA PÁGINA DE PRODUCTO (hook en functions.php)
========================================================= */
.divex-product-cta {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 0 3rem;
  width: 100%;
  margin: 4rem 0 0;
  padding: 3rem 2.5rem;
  background: #00646f; /* ajusta a tu color si es otro */
  color: #fff;
  text-align: left;
  border-radius: 24px;
}

.divex-product-cta .cta-eyebrow {
  margin-bottom: 8px;
}

.divex-product-cta h2 {
  margin: 0 0 .75rem;
  color: #fff;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.1;
}

.divex-product-cta > p:not(.cta-eyebrow) {
  margin: 0;
  font-size: 1.125rem;
}

.divex-product-cta__btns {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  margin-top: 1.75rem;
}

@media (min-width: 922px) {
  .divex-product-cta {
    grid-template-columns: 1fr auto;
  }

  .divex-product-cta__btns {
    grid-column: 2;
    grid-row: 1 / span 3;
    margin-top: 0;
  }
}

/* =========================================================
   WHATSAPP FLOTANTE
========================================================= */
.wa-float, .wa-float:visited {
  position: fixed !important;
  bottom: 40px !important;
  left: 40px !important;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px !important;
  height: 56px !important;
  background: #25D366 !important;
  border-radius: 50%;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
  transition: transform .2s ease;
  cursor: pointer;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float:focus-visible {
  outline: 3px solid #243C8C;
  outline-offset: 3px;
  color: #ffffff !important;
}
.wa-float__icon { width: 32px; height: 32px; }

@media (prefers-reduced-motion: reduce) {
  .wa-float,
  .mail-button { transition: none; }
  .wa-float:hover { transform: none; }
}

#moderncart-floating-cart { 
    bottom: 40px; 
    right: 40px;
}
.cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  font-size: 0.8125rem; /* 13px */
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1.2;
  color: #7fd4e0;
}

/* Línea decorativa opcional antes del texto */
.cta-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}
ul.pillList, .pillList ul {
    display: inline-block;
    margin:15px auto 15px auto;
    padding:0;
}
.pill, .pillList li {
    display: inline-block;
    padding: 5px 11px;
    margin-bottom: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.3;
    color: #0b3c5d;
    background-color: #e6f3f5;
    border: 1px solid #b8dde3;
    border-radius: 50px;
}
.acx-metas {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}
a.pill {
    text-decoration: none;
    transition: background-color .2s, border-color .2s;
}
a.pill:hover {
    color: #0b3c5d;
    background-color: #d3ebef;
    border-color: #0b3c5d;
}
a.pill:focus-visible {
    outline: 2px solid #0b3c5d;
    outline-offset: 2px;
}
.btn-txt, .btn-txt:visited, .btn-txt a, .btn-txt a:visited {
    cursor: pointer;
    color: #0b3c5d;
    font-weight:bold;
    background:none;
    text-decoration:none;
}
.btn-txt:hover, .btn-txt:focus, .btn-txt a:hover, .btn-txt a:focus {
    cursor: pointer;
    color: #1ca7b8 !important;
    background:none;
    text-decoration:none;
}
/* ============================================================
   LC-GRID
============================================================ */
.lc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
  padding-block: 1rem;
}

.no-sidebar .entry-content .alignfull {
  padding-inline: 20px;
}

@media (min-width: 480px) {
  .lc-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 1rem;
  }
}

@media (min-width: 480px) and (max-width: 1023px) {
  /* Último elemento impar centrado, con el ancho de una columna */
  .lc-grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: 100%;
    max-width: calc(50% - 0.9rem); /* mitad del gap (1.8rem) */
    margin-inline: auto;
  }
}

@media (min-width: 1024px) {
  .lc-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }

  .no-sidebar .entry-content .alignfull {
    padding-inline: 0;
  }
}
/* ============================================================
   LOOP PRODUCTO (breakpoints de Astra: 544 / 921)
============================================================ */
.loop-grid.loop-producto-grid {
	--loop-gap: 32px;              /* ← espacio entre cards */
	display: grid;
	gap: var(--loop-gap);
	grid-template-columns: 1fr;
}

@media (min-width: 545px) {
	.loop-grid.loop-producto-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 922px) {
	.loop-grid.loop-producto-grid { --loop-gap: 40px; }

	/* 3 columnas con últimas filas centradas */
	.loop-grid.loop-producto-grid.loop-grid--cols-3 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.loop-grid--cols-3 > * { grid-column: span 2; }
	.loop-grid--cols-3 > :nth-last-child(2):nth-child(3n+1) { grid-column: 2 / span 2; }
	.loop-grid--cols-3 > :last-child:nth-child(3n+1) { grid-column: 3 / span 2; }
}

@media (min-width: 1280px) {
	.loop-grid.loop-producto-grid.loop-grid--cols-4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		--loop-gap: 45px;
	}
}
/* ============================================================
   CARD BASE (.lc-card)
============================================================ */
.lc-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  border-radius: 24px;
  background: var(--ast-global-color-4, #fff);
  box-shadow: 0 6px 16px -2px rgba(6, 35, 53, .08);
  transition: box-shadow 0.2s ease;
}

.lc-card:hover {
  box-shadow: 0 12px 30px -3px rgba(6, 35, 53, .10);
}

.lc-card__image-wrap {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ast-global-color-5, #e8eef5);
}

.lc-card__image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lc-card__image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #b0bec5;
  font-size: 2.5rem;
}

.lc-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1rem 1.1rem 1.25rem;
}

.lc-card__cont {
  min-height: 210px;
  overflow: hidden;
}

.lc-card__footer {
  margin-top: auto;
  padding: 0 1.1rem 2rem;
  text-align: center;
}

.btn-card-out {
  background-color: #fff;
  color: #0b3c5d;
  border: 2px solid #0b3c5d;
  border-radius: 24px;
  padding: 12px 28px;
  font-weight: 600;
  line-height: 1.2;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

.btn-card-out:hover,
.btn-card-out:focus-visible {
  background-color: #0b3c5d;
  border-color: #0b3c5d;
  color: #fff;
}

.btn-card-out:focus-visible {
  outline: 3px solid #0b3c5d;
  outline-offset: 3px;
}

/* Iconos dentro del botón */
.btn-card-out svg { fill: currentColor; }

/* ============================================================
   VARIANTE PRODUCTO (.acx-product-card)
============================================================ */
.acx-product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  border: 1px solid #E5F8EB;
  border-radius: 24px;
  background: var(--ast-global-color-4, #fff);
}

.acx-product-card .lc-card__image-wrap img {
  transition: transform 180ms ease;
}

.acx-product-card:hover .lc-card__image-wrap img {
  transform: scale(1.03);
}

.acx-product-card .lc-card__body {
  padding: 20px 20px 0;
}

.acx-product-card .lc-card__footer {
  padding: 20px 20px 40px 20px;
}

.acx-product-card .lc-card__title {
  margin: 8px auto 12px auto;
  font-weight:700;
}

.acx-product-card .lc-card__title a {
  color: inherit;
  text-decoration: none;
}
.lc-card__excerpt p:empty {
  display: none;
}
 
.acx-product-card .lc-card__price {
    margin: 14px auto;
    font-weight: 900;
    color: #0b3c5d;
    font-size: 20px;
}
.acx-product-card .lc-card__price small {
    font-weight: 400;
    color: #466981;
    font-size: 16px;
}

fieldset.dx-extras {
    margin: 15px auto;
}

/* =========================================================
   BOTONES KADENCE: altura y 100% en móvil
========================================================= */
.kb-button.kt-btn-width-type-full.kb-btn-global-inherit {
	min-height: 53px;
	padding: 16px 22px;
}

@media (max-width: 544px) {
	.kb-buttons-wrap {
		flex-direction: column;
		align-items: stretch;
	}
	.kb-buttons-wrap .kb-button {
		width: 100%;
		justify-content: center;
	}
}

/* =========================================================
   BOTÓN FULL WIDTH
   <a class="btn-full" href="/contacto/">Reservar ahora</a>
   <button class="btn-full" type="submit">Enviar</button>
   <button class="btn-full" type="button" disabled>No disponible</button>
   <a class="btn-full" href="#" aria-disabled="true">No disponible</a>
   Variante CTA coral: añade la clase "btn-full--cta"
========================================================= */
.btn-full {
  --btn-bg: var(--ast-global-color-0, #0e7c86);
  --btn-bg-hover: #0a5f67;
  --btn-bg-active: #084a50;
  --btn-text: #fff;
  --btn-focus: #f2d72f;
  --btn-disabled-bg: #d8e0e3;
  --btn-disabled-text: #5a676d;

  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--btn-bg);
  border-radius: 24px;
  appearance: none;
  background-color: var(--btn-bg);
  color: var(--btn-text);
  cursor: pointer;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.btn-full--cta {
  --btn-bg: var(--ast-global-color-8, #c94a2a);
  --btn-bg-hover: #a83d22;
  --btn-bg-active: #8a321c;
}

.btn-full:visited,
.btn-full:hover,
.btn-full:focus,
.btn-full:active {
  color: var(--btn-text);
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  .btn-full:hover {
    border-color: var(--btn-bg-hover);
    background-color: var(--btn-bg-hover);
    box-shadow: 0 8px 18px rgb(0 54 71 / 22%);
    transform: translateY(-2px);
  }
}

.btn-full:focus-visible {
  outline: 3px solid var(--btn-focus);
  outline-offset: 3px;
}

.btn-full:focus:not(:focus-visible) {
  outline: none;
}

.btn-full:active {
  border-color: var(--btn-bg-active);
  background-color: var(--btn-bg-active);
  box-shadow: 0 2px 6px rgb(0 54 71 / 18%);
  transform: translateY(0);
}

/* Deshabilitado (pointer-events: none ya anula hover/active) */
.btn-full:disabled,
.btn-full[aria-disabled="true"] {
  border-color: var(--btn-disabled-bg);
  background-color: var(--btn-disabled-bg);
  box-shadow: none;
  color: var(--btn-disabled-text);
  opacity: 1;
  pointer-events: none;
  transform: none;
}

/* Accesibilidad: sin animaciones si el usuario lo pide */
@media (prefers-reduced-motion: reduce) {
  .btn-full,
  .lc-card,
  .acx-product-card .lc-card__image-wrap img {
    transition: none;
  }

  .btn-full:hover,
  .acx-product-card:hover .lc-card__image-wrap img {
    transform: none;
  }
} 

/* =========================================================
  TITULO SOLO PARA CARD DEL BLOG
========================================================= */
.lc-card--post .lc-card__title,
.lc-card--post .lc-card__title a {
    font-size: 1.25rem;
    line-height: 1.3;
}
/* =========================================================
  BOTONES AZUL OBSCURO Y AZUL CLARO
========================================================= */

.btn-primary .wp-block-button__link,
.btn-primary .kb-button,
a.btn-primary {
  background: #0b3c5d;
  color: #fff;
  border: 2px solid #0b3c5d;
  border-radius: 24px !important;
  padding: 12px 28px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .25s, color .25s, border-color .25s;
}

.btn-secondary .wp-block-button__link,
.btn-secondary .kb-button,
a.btn-secondary {
  background: #fff;
  color: #1CA7B8;
  border: 2px solid #1CA7B8;
  border-radius: 24px !important;
  padding: 12px 28px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .25s, color .25s, border-color .25s;
}

.btn-primary .wp-block-button__link:hover,
.btn-primary .kb-button:hover,
a.btn-primary:hover {
  background: #fff;
  color: #1CA7B8;
}

.btn-secondary .wp-block-button__link:hover,
.btn-secondary .kb-button:hover,
a.btn-secondary:hover {
  background: #0b3c5d;
  color: #fff;
}
/* =========================================================
  PAGINA PRODUCTO
========================================================= */
.single-product div.product .product_title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: #0b3c5d;
  letter-spacing: -0.01em;
  margin-bottom: 0.5em;
}
.single-product-category {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.single-product-category a {
  display: inline-block;
  padding: 5px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.3;
  color: #0b3c5d;
  background-color: #e6f3f5;
  border: 1px solid #b8dde3;
  border-radius: 50px;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.single-product-category a:hover,
.single-product-category a:focus-visible {
  background-color: #0b3c5d;
  border-color: #0b3c5d;
  color: #fff;
  transform: translateY(-1px);
}

.single-product-category a:focus-visible {
  outline: 2px solid #0b3c5d;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .single-product-category a { transition: none; }
  .single-product-category a:hover { transform: none; }
}
/* Galería: bordes redondeados */
.woocommerce-product-gallery .woocommerce-product-gallery__image img,
.woocommerce-product-gallery .flex-viewport {
  border-radius: 24px;
  overflow: hidden;
}

.woocommerce-product-gallery .flex-control-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.woocommerce-product-gallery .flex-control-thumbs li {
  width: calc(25% - 9px) !important;
  margin: 0 !important;
}

.woocommerce-product-gallery .flex-control-thumbs img {
  border-radius: 24px;
  opacity: .6;
  transition: opacity .2s ease;
}

.woocommerce-product-gallery .flex-control-thumbs img.flex-active,
.woocommerce-product-gallery .flex-control-thumbs img:hover {
  opacity: 1;
}

/* Precio destacado */
.single-product div.product .summary > .price {
  font-size: 2rem;
  font-weight: 800;
  color: #0b3c5d;
  margin-bottom: 16px;
}

/* Categoría repetida abajo */
.single-product .product_meta .posted_in { display: none; }

.single-product .woocommerce-tabs .wc-tabs { display: none; }

.woocommerce .woocommerce-tabs h2, .woocommerce .related.products h2 {
  font-size: 2.375em;
} 
/* Sección related productos en pagina producto */
section.related.products.divex-related {
    margin-top: 7rem;
    border-top: 1px solid #E5E9FF;
    padding-top: 2rem;
    padding-bottom: 7rem;
}

/* =========================================================
  LISTADO BLOG
========================================================= */

.blog-listado{display:grid;gap:2rem;grid-template-columns:repeat(var(--cols,3),1fr)}
@media(max-width:921px){.blog-listado{grid-template-columns:repeat(2,1fr)}}
@media(max-width:544px){.blog-listado{grid-template-columns:1fr}}
.blog-card__img img{width:100%;aspect-ratio:3/2;object-fit:cover;display:block}
.blog-card__body{padding-top:1rem}
.blog-card__title{font-size:1.25rem;margin:.25rem 0 .5rem}
.blog-paginacion{margin-top:2.5rem;display:flex;gap:.5rem;justify-content:center}


form.cart .single_add_to_cart_button {
    text-transform: none !important;
}

/* Productos variables: oculta el segundo precio bajo el desplegable
   (el de arriba se actualiza desde functions.php) */
.single-product .woocommerce-variation-price { display: none; }


/* =========================================================
 ELIMINAR <BR> EN BOTÓN DE FINALIZAR COMPRA EN EL CARRITO
========================================================= */
.wc-proceed-to-checkout .checkout-button br { display: none; }
.wc-proceed-to-checkout > p:empty { display: none; }
.wc-proceed-to-checkout > p { margin: 0; }