/* 🎯 Solo cambia el color del botón "Academia" */
a.wp-block-button__link.has-base-color.has-tertiary-background-color.has-text-color {
  background-color: #f39bb5 !important; /* Rosa más fuerte */
  color: #ffffff !important; /* Texto blanco */
  border-radius: 16px !important;
  padding: 8px 25px !important;
}

/* 🔹 Opcional: efecto al pasar el ratón o tocar en móvil */
a.wp-block-button__link.has-base-color.has-tertiary-background-color.has-text-color:hover {
  background-color: #e286a2 !important; /* Un poco más oscuro */
}

/* Header móvil color rosa #fdf7f9 */
@media (max-width: 768px){
  /* Fondo principal del header */
  div.wp-block-group.main-header-box {
    background: #fdf7f9 !important;
  }

  /* Evitar que otros grupos o capas metan colores distintos */
  header,
  .site-header,
  header .has-background,
  header [class*="wp-block-group"][style*="background"],
  header .wp-block-cover__background,
  header .wp-block-cover__gradient-background {
    background: #fdf7f9 !important;
  }
}

/* === PRODUCTO SIMPLE/VARIABLE – BOTÓN AÑADIR AL CARRITO === */

/* Estado normal (forzamos color de texto y fondo) */
.woocommerce div.product form.cart .button.single_add_to_cart_button,
button.single_add_to_cart_button,
a.single_add_to_cart_button,
.wp-element-button.single_add_to_cart_button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #3a222a !important;                    /* texto visible */
  background-color: #f8c9d7 !important;         /* rosa corporativo */
  border: 1px solid #d88da4 !important;
  text-shadow: none !important;
  text-indent: 0 !important;
  overflow: visible !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
  -webkit-text-fill-color: #3a222a !important;  /* por si el tema usa esta propiedad */
}

/* Hover/Focus */
.woocommerce div.product form.cart .button.single_add_to_cart_button:hover,
button.single_add_to_cart_button:hover,
a.single_add_to_cart_button:hover,
.wp-element-button.single_add_to_cart_button:hover,
.woocommerce div.product form.cart .button.single_add_to_cart_button:focus {
  background-color: #ecb3c5 !important;
  color: #3a222a !important;
  -webkit-text-fill-color: #3a222a !important;
}

/* Estado DESHABILITADO (antes de elegir variación) */
.woocommerce div.product form.cart .button.single_add_to_cart_button:disabled,
.woocommerce div.product form.cart .button.single_add_to_cart_button.disabled,
button.single_add_to_cart_button:disabled,
button.single_add_to_cart_button.disabled,
.wp-element-button.single_add_to_cart_button:disabled {
  opacity: 0.85 !important;
  background-color: #f8c9d7 !important;
  color: #3a222a !important;
  -webkit-text-fill-color: #3a222a !important;
}

/* Por si algún estilo lo deja “transparente” */
.woocommerce div.product form.cart .button.single_add_to_cart_button,
button.single_add_to_cart_button {
  color: #3a222a !important;
}

/* Botón de variaciones dentro del form (algunas skins lo ocultan con text-indent) */
.variations_form .single_add_to_cart_button {
  text-indent: 0 !important;
  visibility: visible !important;
}

.login-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  max-width: 1100px;
  margin: 140px auto 40px auto; /* mucho espacio arriba (140px), poco abajo (40px) */
  gap: 50px;
  padding: 0 20px;
}

.login-col {
  flex: 1 1 45%;
}

.login-header {
  font-size: 20px;
  font-weight: 600;
  color: #2d1d07;
  margin-bottom: 20px;
}

.login-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Responsive móvil */
@media (max-width: 768px) {
  .login-wrapper {
    flex-direction: column;
    max-width: 95%;
    margin: 100px auto 20px auto; /* más espacio arriba en móvil también */
    gap: 30px;
  }

  .login-image {
    order: -1; /* Imagen arriba en móvil */
  }
}

/* ===== Paleta base (ajústala si quieres) ===== */
:root{
  --rose: #755459;        /* rosa principal de botón */
  --rose-hover:#c25f7e;   /* hover */
  --rose-dark:#5a3040;    /* texto oscuro */
  --bg-pale:#fdf2f6;      /* fondo de tu web */
  --border:#755459;       /* bordes suaves */
}

/* ===== Botones WooCommerce (cart/checkout/mini-cart) ===== */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .wc-forward,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce .woocommerce-mini-cart__buttons a.button {
  background: var(--rose) !important;
  color: #fff !important;
  border: 1px solid var(--rose) !important;
  border-radius: 10px;
  text-transform: none;
  box-shadow: 0 6px 18px rgba(90,48,64,.18);
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce .wc-forward:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce .woocommerce-mini-cart__buttons a.button:hover {
  background: var(--rose-hover) !important;
  border-color: var(--rose-hover) !important;
  color:#fff !important;
  transform: translateY(-1px);
}

/* Estado deshabilitado */
.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled],
.woocommerce a.button.disabled,
.woocommerce a.button:disabled {
  background:#d9c7ce !important;
  color:#fff !important;
  border-color:#d9c7ce !important;
  opacity:1 !important;
  cursor:not-allowed;
}

/* Botones secundarios (p.ej. "Actualizar carrito", "Aplicar cupón" si tu tema los marca como .alt) */
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background:#fff !important;
  color: var(--rose-dark) !important;
  border:1px solid var(--rose) !important;
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
  background: var(--rose) !important;
  color:#fff !important;
}

/* ===== Campos de formularios (checkout/cuenta) ===== */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  background:#fff;
  border:1px solid var(--border);
  border-radius:10px;
  color: var(--rose-dark);
  padding:.7rem .9rem;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus{
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(216,107,141,.15);
  outline: none;
}

/* Totales y tabla del carrito: bordes y encabezados más visibles */
.woocommerce table.shop_table,
.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  border-color: var(--border);
}
.woocommerce table.shop_table th {
  color: var(--rose-dark);
}

/* Enlaces dentro de avisos y cupones */
.woocommerce-info, .woocommerce-message, .woocommerce-error {
  background:#fff;
  border-color: var(--rose);
}
.woocommerce a {
  color: var(--rose) ;
}
.woocommerce a:hover {
  color: var(--rose-hover) ;
}

/* Ajuste de cantidad (si el tema no lo estiliza) */
.woocommerce .quantity .qty {
  border:1px solid var(--border);
  border-radius:8px;
  width: 90px;
  text-align:center;
}

/* Por si tu tema hace botones transparentes sobre tu fondo #fdf2f6 */
.woocommerce a.button:where(.transparent),
.woocommerce button.button:where(.transparent){
  background: var(--rose) !important;
  color:#fff !important;
  border-color: var(--rose) !important;
}






/* === WooCommerce Blocks: botón "Realizar el pedido" y otros === */
/* Estado normal */
.wc-block-components-button__button,
.wc-block-components-checkout-place-order-button,
.wc-block-cart__submit-button,
.wc-block-components-totals-coupon__button,
.wc-block-components-button {
  background: var(--rose, #d86b8d) !important;
  color: #fff !important;
  border: 1px solid var(--rose, #d86b8d) !important;
  border-radius: 10px !important;
  box-shadow: 0 6px 18px rgba(90,48,64,.18);
  text-transform: none;
}

/* Hover / focus (mientras no esté deshabilitado) */
.wc-block-components-button__button:not(:disabled):hover,
.wc-block-components-checkout-place-order-button:not(:disabled):hover,
.wc-block-cart__submit-button:not(:disabled):hover,
.wc-block-components-totals-coupon__button:not(:disabled):hover,
.wc-block-components-button:not(:disabled):hover,
.wc-block-components-button__button:focus-visible,
.wc-block-components-checkout-place-order-button:focus-visible {
  background: var(--rose-hover, #c25f7e) !important;
  border-color: var(--rose-hover, #c25f7e) !important;
  color: #fff !important;
  transform: translateY(-1px);
  outline: none !important;
}

/* Estado deshabilitado (cuando faltan campos) */
.wc-block-components-button__button:disabled,
.wc-block-components-checkout-place-order-button:disabled,
.wc-block-cart__submit-button:disabled {
  background: #d9c7ce !important;
  border-color: #d9c7ce !important;
  color: #fff !important;
  opacity: 1 !important;
  cursor: not-allowed !important;
}

/* Por si algún tema los deja transparentes */
.wc-block-components-button.is-link,
.wc-block-components-button__button.is-link {
  background: var(--rose, #d86b8d) !important;
  color: #fff !important;
  border-color: var(--rose, #d86b8d) !important;
}

/* Campos del checkout (por coherencia visual) */
.wc-block-components-text-input input,
.wc-block-components-textarea textarea,
.wc-block-components-select select {
  background:#fff !important;
  border:1px solid var(--border, #e7cfd7) !important;
  border-radius:10px !important;
  color:#5a3040 !important;
}
.wc-block-components-text-input input:focus,
.wc-block-components-textarea textarea:focus,
.wc-block-components-select select:focus {
  border-color: var(--rose, #d86b8d) !important;
  box-shadow: 0 0 0 3px rgba(216,107,141,.15) !important;
  outline: none !important;
}




/* ===== Botón "Añadir al carrito" en página de producto individual ===== */
.wc-block-add-to-cart-form .wp-block-button__link,
.wc-block-add-to-cart-form button.wp-block-button__link,
.wc-block-components-product-button .wp-block-button__link,
.single_add_to_cart_button {
  background: #f8c9d7 !important;  /* rosa suave */
  color: #3a222a !important;        /* texto oscuro */
  border: 1px solid #d88da4 !important;
  border-radius: 10px !important;
  font-weight: 500;
  transition: all .25s ease;
}

/* Hover */
.wc-block-add-to-cart-form .wp-block-button__link:hover,
.wc-block-components-product-button .wp-block-button__link:hover,
.single_add_to_cart_button:hover {
  background: #d86b8d !important;   /* rosa más intenso */
  color: #fff !important;
  border-color: #d86b8d !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(90,48,64,.18);
}

/* Estado deshabilitado o en carga */
.wc-block-add-to-cart-form .wp-block-button__link:disabled,
.single_add_to_cart_button:disabled {
  background: #e8d5db !important;
  color: #fff !important;
  border-color: #e8d5db !important;
  opacity: 1 !important;
  cursor: not-allowed !important;
}




/* === Botón "Añadir al carrito" SOLO en la ficha de producto === */
.single-product form.cart button[name="add-to-cart"],
.single-product form.cart .button[name="add-to-cart"],
.single-product form.cart .wp-element-button[name="add-to-cart"] {
  background-color: #f8c9d7 !important;  /* rosa claro */
  background-image: none !important;
  color: #3a222a !important;              /* texto oscuro */
  border: 1px solid #d88da4 !important;
  border-radius: 10px !important;
  font-weight: 600;
  padding: 12px 18px;
  transition: all .22s ease;
  box-shadow: 0 3px 10px rgba(90,48,64,.10);
}

/* Hover/active */
.single-product form.cart button[name="add-to-cart"]:hover,
.single-product form.cart .button[name="add-to-cart"]:hover,
.single-product form.cart .wp-element-button[name="add-to-cart"]:hover {
  background-color: #d86b8d !important;   /* rosa más intenso */
  color: #fff !important;
  border-color: #d86b8d !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(90,48,64,.18);
}

/* Deshabilitado (cuando procesa o no hay stock) */
.single-product form.cart button[name="add-to-cart"][disabled],
.single-product form.cart .button[name="add-to-cart"][disabled],
.single-product form.cart .wp-element-button[name="add-to-cart"][disabled] {
  background-color: #e7d6db !important;
  color: #ffffff !important;
  border-color: #e7d6db !important;
  opacity: 1 !important;
  cursor: not-allowed !important;
}

.frase-deslizante {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  background: transparent;
  padding: 6px 0;
  position: relative;
}

.frase-deslizante span {
  display: inline-block;
  padding-left: 100%;
  animation: deslizar var(--speed, 20s) linear infinite;
  font-family: "Helvetica", italic;
  letter-spacing: 0.5px;
}

@keyframes deslizar {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}


/* Estado inicial: oculto y ligeramente desplazado */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}

/* Cuando entra en viewport */
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Respeta usuarios con reducción de movimiento */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* Por si algún día pones .reveal dentro de la galería, neutralízalo */
.iphone-gallery .reveal {
  opacity: 1 !important;
  transform: none !important;
}

.contador {
  display: flex;
  justify-content: space-around;
  text-align: center;
  gap: 20px;
  flex-wrap: wrap;
}

.contador div {
  flex: 1;
}

.count {
  font-size: 2.5rem;
  font-weight: bold;
  color: #9E727A; /* tu marrón oscuro */
}

.count::before {
  content: "+";
  margin-right: 4px;
}

.contador p {
  margin-top: 8px;
  font-size: 1rem;
}

/* Responsive para móvil */
@media (max-width: 768px) {
  .contador {
    flex-direction: column;
    align-items: center;
  }
  
  .contador div {
    width: 100%;
    margin-bottom: 20px;
  }
}

.wp-block-video video {
  border-radius: 18px;        /* redondea los bordes */
  overflow: hidden;           /* evita desbordes */
  box-shadow: 0 8px 24px rgba(0,0,0,0.15); /* sombra suave */
  transition: transform .3s ease, box-shadow .3s ease;
}

/* Efecto al pasar el ratón (opcional) */
.wp-block-video video:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 28px rgba(0,0,0,0.2);
}
/* Paleta corporativa */
:root{
  --rose:#2C2C2C;      /* rosa palo */
  --rose-strong:#ecb3c5;
  --nude:#b08b7a;      /* nude rosado-marrón */
  --ink:#4a2e34;
}

/* Botones Gutenberg */
.wp-block-button .wp-block-button__link,
,
.button, .btn,
input[type=submit],
.woocommerce a.button,
.woocommerce button.button,
.tutor-btn, .tutor-button {
  background: var(--rose);
  color: var(--ink);
  border: 1px solid #d8b5bf;
  border-radius: 10px;
  padding: .7rem 1.1rem;
  font-weight: 600;
  transition: background-color .25s ease, color .25s ease,
              box-shadow .25s ease, transform .15s ease;
  box-shadow: 0 6px 16px rgba(84,51,64,.12);
}

/* Hover: más contraste y “lift” */
.wp-block-button .wp-block-button__link:hover,
.wp-element-button:hover,
.button:hover, .btn:hover,
input[type=submit]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.tutor-btn:hover, .tutor-button:hover {
  background: var(--rose-strong);
  box-shadow: 0 10px 24px rgba(84,51,64,.18);
  transform: translateY(-1px);
}

/* Active: leve presión */
.wp-block-button .wp-block-button__link:active,
.wp-element-button:active,
.button:active, .btn:active,
input[type=submit]:active,
.woocommerce a.button:active,
.woocommerce button.button:active,
.tutor-btn:active, .tutor-button:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(84,51,64,.12);
}

/* Accesibilidad: foco visible y elegante */
.wp-block-button .wp-block-button__link:focus-visible,
.wp-element-button:focus-visible,
.button:focus-visible, .btn:focus-visible,
input[type=submit]:focus-visible,
.woocommerce a.button:focus-visible,
.woocommerce button.button:focus-visible,
.tutor-btn:focus-visible, .tutor-button:focus-visible {
  outline: 3px solid rgba(236,179,197,.6);
  outline-offset: 2px;
}

/* Enlaces del menú (opcional) */
.wp-block-navigation a {
  transition: color .2s ease, opacity .2s ease;
}
.wp-block-navigation a:hover { color: var(--nude); }

/* Respeta usuarios con “reducir movimiento” */
@media (prefers-reduced-motion: reduce) {
  .wp-block-button .wp-block-button__link,
  .wp-element-button,
  .button, .btn,
  input[type=submit],
  .woocommerce a.button,
  .woocommerce button.button,
  .tutor-btn, .tutor-button { transition: none; }
}
:root{
  --rose-50:#fdf2f6;
  --rose-200:#25d366;
  --rose-300:#ecb3c5;
  --rose-400:#d8b5bf;
  --ink:#4a2e34;
  --ink-2:#FFFFFF;
  --ok:#22c55e;
}
.wa-card{
  max-width: 380px;
  margin: 0 auto 24px;
  background:#fff;
  border:1px solid #f0d9df;
  border-radius: 18px;
  padding:18px;
  box-shadow:0 12px 30px rgba(84,51,64,.08);
}
.wa-head{display:flex; gap:14px; align-items:center; margin-bottom:12px;}
.wa-avatar{
  width:64px; height:64px; object-fit:cover;
  border-radius:14px; border:2px solid var(--rose-200);
  box-shadow:0 6px 14px rgba(84,51,64,.12);
}
.wa-meta strong{display:block; color:var(--ink); font-size:1.05rem;}
.wa-meta small{color:#7b5a63;}
.wa-status{display:flex; align-items:center; gap:8px; color:#5f8c6d; font-weight:600;}
.wa-dot{width:9px; height:9px; border-radius:50%; background:var(--ok); box-shadow:0 0 0 4px rgba(34,197,94,.15);}
.wa-chips{display:flex; flex-wrap:wrap; gap:8px; margin:8px 0 12px;}
.wa-chip{
  border:1px solid var(--rose-400); background:var(--rose-50); color:var(--ink);
  padding:6px 10px; border-radius:999px; cursor:pointer; transition:all .2s ease;
}
.wa-chip:hover{ background:var(--rose-200); transform: translateY(-1px); }
.wa-label{display:block; color:var(--ink-2); font-weight:600; margin-bottom:6px;}
.wa-textarea{
  width:93%; resize:vertical; border-radius:12px;
  border:1px solid #ead3d9; padding:10px 12px; color:var(--ink);
  background:#fff; box-shadow: inset 0 1px 3px rgba(0,0,0,.03);
}
.wa-actions{display:flex; align-items:center; gap:8px; margin-top:12px;}
.wa-btn{
  display:inline-flex; justify-content:center; align-items:center; gap:10px;
  padding:12px 16px; border-radius:12px; background:var(--rose-200); color:var(--ink-2);
  font-weight:700; border:1px solid var(--rose-400); text-decoration:none;
  box-shadow:0 10px 22px rgba(84,51,64,.12);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.wa-btn:hover{ background:var(--rose-300); transform: translateY(-1px); box-shadow:0 14px 30px rgba(84,51,64,.18); }
.wa-qr{
  display:inline-flex; align-items:center; justify-content:center;
  width:42px; height:42px; border-radius:10px; border:1px solid var(--rose-300);
  color:var(--ink); text-decoration:none; background:var(--rose-50);
}
.wa-qr:hover{ background:var(--rose-200); }

.iphone-gallery{
  max-width: 300px;           /* tamaño compacto */
  margin: 0 auto;
	margin-top: -80px;
}

/* El alto de la caja lo impone la imagen (overlay) */
.iphone-wrap{
  position: relative;
  width: 100%;
  filter: drop-shadow(0 14px 28px rgba(0,0,0,.12)); /* sombra suave */
}

/* Zona de pantalla recortada (clips del vídeo) */
.iphone-screen{
  position: absolute;
  top: var(--top,8%); right: var(--right,8%); bottom: var(--bottom,9%); left: var(--left,8%);
  border-radius: var(--radius,18px);
  overflow: hidden;           /* ¡clave para que no se desborde! */
  z-index: 1;
}

/* Vídeos apilados para crossfade */
.iphone-video{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .5s ease;   /* cambio suave */
}
.iphone-video.is-active{ opacity: 1; }

/* PNG encima, sin bloquear clicks en el vídeo */
.iphone-overlay{
  display: block;
  width: 100%; height: auto;      /* define el alto del wrap */
  position: relative;
  z-index: 2;
  pointer-events: none;
}

/* Controles, con paleta que contraste con #fdf2f6 */
.iphone-controls{
  display:flex; gap:8px; justify-content:center; margin:10px 0 6px;
}
.iphone-controls button{
  border: 1px solid #d8b5bf;
  background: #f2c9d6;
  color: #543340;
  padding: 6px 10px; border-radius: 10px; cursor: pointer; font-weight: 500;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
  box-shadow: 0 3px 10px rgba(84,51,64,.12);
}
.iphone-controls button:hover{
  background:#ecb3c5;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(84,51,64,.18);
}

.iphone-thumbs{ display:flex; flex-wrap:wrap; gap:6px; justify-content:center; }
.iphone-thumbs button{
  border:1px solid #e0c7cf; background:#fae4ea; color:#4a2e34;
  padding:4px 8px; border-radius:8px; font-size:.8rem; cursor:pointer;
}
.iphone-thumbs button.is-active{
  background:#f2c9d6; border-color:#d8b5bf; color:#3a222a;
}

@media (min-width:768px){
  .iphone-gallery{ max-width: 320px; } /* o 300 → 320/330 según encaje */
	
}




/* Escala uniforme para asegurar que no quede aire en ningún borde */
#iphoneGallery1 .iphone-screen {
  overflow: hidden;                /* por si el vídeo crece */
	
}

#iphoneGallery1 .iphone-video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Escalas independientes */
  transform: scaleX(var(--zoomx, 1.00)) scaleY(var(--zoomy, 1.00));
  transform-origin: center;
  object-position: center var(--vpos, 52%);
	
}


