/*
Theme Name: Casa Polska Pay
Theme URI: https://www.casapolska.com
Author: Irvis Murillo
Author URI: https://www.casapolska.com
Description: Tema personalizado de WordPress para Casa Polska, con funcionalidades de reservas y pagos.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: casa-polska-pay
Tags: custom, reservation, payments, responsive
Credits: Desarrollo y diseño por Irvis Murillo
*/


:root {
  /* ===== COLORES BASE ===== */
  --cp-primary: #2f7d32;
  --cp-primary-dark: #1e5d22;

  --cp-success: #16a34a;
  --cp-success-light: #22c55e;

  --cp-info: #2563eb;
  --cp-info-dark: #1d4ed8;

  --cp-warning: #ffd000;
  --cp-warning-dark: #ffb700;

  --cp-text-main: #111827;
  --cp-text-muted: #6b7280;
  --cp-bg-soft: #f3f4f6;

  /* ===== UI ===== */
  --cp-radius-sm: 12px;
  --cp-radius-md: 16px;
  --cp-radius-lg: 20px;
  --cp-radius-xl: 24px;

  --cp-shadow-soft: 0 10px 30px rgba(0,0,0,0.08);
  --cp-shadow-strong: 0 18px 45px rgba(0,0,0,0.15);

  /* ===== TRANSICIONES ===== */
  --cp-ease: cubic-bezier(.4,0,.2,1);
}

/* ===== BOTÓN PRIMARIO ===== */
.cp-btn-primary,
.woocommerce button,
.woocommerce a.button {
  background: linear-gradient(
    135deg,
    var(--cp-primary),
    var(--cp-primary-dark)
  );
  color: #fff;
  box-shadow: var(--cp-shadow-soft);
}

.cp-btn-primary:hover,
.woocommerce button:hover,
.woocommerce a.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--cp-shadow-strong);
}

.cp-btn:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(47,125,50,.35);
  outline-offset: 3px;
}

.cp-btn:active,
button:active {
  transform: translateY(0);
  box-shadow: var(--cp-shadow-soft);
}

/* ===== CARDS BASE CASA POLSKA ===== */
.cp-card,
.woocommerce-cart .cart-collaterals,
.woocommerce-checkout-review-order,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message {
  background: #fff;
  border-radius: var(--cp-radius-xl);
  box-shadow: var(--cp-shadow-soft);
  padding: 24px;
}

.cp-card--hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--cp-shadow-strong);
  transition: transform .25s var(--cp-ease), box-shadow .25s var(--cp-ease);
}

/* ===== SEPARADORES NATURALES ===== */
.cp-section {
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .cp-section {
    margin-bottom: 4.5rem;
  }
}

/* ===== INPUTS PREMIUM ===== */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--cp-radius-md);
  border: 1px solid #e5e7eb;
  font-size: 0.95rem;
  transition: border .2s var(--cp-ease), box-shadow .2s var(--cp-ease);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--cp-primary);
  box-shadow: 0 0 0 3px rgba(47,125,50,.15);
}



/* Box sizing para todos los elementos */
*,
*::before,
*::after {
  box-sizing: border-box;
}


body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--cp-text-main);
  background: #ffffff;
}

a{
  color:var(--primary);
  text-decoration:none;
}


/* ===============================
   HOME – LINK DE PAGO PREMIUM
   =============================== */

.home-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, #2f7d32, #1e5d22);
}

.home-card {
  background: #fff;
  border-radius: 24px;
  padding: 2.2rem 1.8rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0,0,0,.25);
}

.home-card h1 {
  font-size: 1.9rem;
  margin-bottom: .8rem;
}

.subtitle {
  font-size: 1.05rem;
  opacity: .85;
  margin-bottom: 1.5rem;
}

.price {
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 2rem;
}

.price span {
  font-size: .9rem;
  font-weight: normal;
}

.btn-main {
  display: block;
  width: 100%;
  background: var(--primary);
  color: #fff;
  padding: 1rem;
  font-size: 1.15rem;
  border-radius: 16px;
  margin-bottom: 1.2rem;
}

.secure {
  font-size: .85rem;
  opacity: .8;
}


/* ===============================
   HERO PROFESIONAL
   =============================== */

/* =========================================================
   HERO PRINCIPAL – CASA POLSKA
   Mobile First + Modo Oscuro
========================================================= */

/* ---------- CONTENEDOR HERO ---------- */
.hero-main {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.2rem;
  color: #ffffff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.75)
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

/* ---------- TEXTOS ---------- */
.hero-content h1 {
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
}

.hero-sub {
  margin-top: 1rem;
  font-size: 1.1rem;
  opacity: 0.95;
}

/* ---------- PRECIO CON EFECTO BROCHA ---------- */
.hero-price {
  margin: 1.6rem 0 2.2rem;
  font-size: 1.2rem;
}

.hero-price strong {
  position: relative;
  font-size: 1.5rem;
  font-weight: 900;
  padding: 0.2rem 0.5rem;
  z-index: 1;
}

/* Brocha / pintura debajo del precio */
.hero-price strong::before {
  content: "";
  position: absolute;
  left: -6%;
  bottom: 0.15em;
  width: 112%;
  height: 0.7em;
  background: linear-gradient(120deg, #ffd000, #ffb700);
  z-index: -1;
  border-radius: 6px 14px 6px 14px;
  transform: rotate(-1.5deg);
  opacity: 0.9;
}


/* ---------- BOTÓN PRINCIPAL (RESPIRACIÓN PRO) ---------- */

/* Animación lenta tipo respiración */
 /* ---------- BOTÓN PRINCIPAL (RESPIRACIÓN PRO) ---------- */
.btn-main {
  display: inline-block;
  padding: 1rem 2.4rem;
  background: linear-gradient(135deg, #1e6bff, #3b8cff);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(30,107,255,0.45);
  animation: breathe 4.8s ease-in-out infinite;
}

/* Animación lenta tipo respiración */
@keyframes breathe {
  0% {
    transform: scale(1);
    box-shadow: 0 12px 28px rgba(30,107,255,0.45);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 18px 36px rgba(30,107,255,0.65);
  }
  100% {
    transform: scale(1);
  }
}

.btn-main:hover {
  animation-play-state: paused;
  transform: scale(1.06);
}


/* ---------- TEXTO LOGIN / SESIÓN ---------- */
.hero-login {
  margin-top: 1rem;
  font-size: 0.95rem;
}

.hero-login a {
  color: #e9f1ff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.9;
}

.hero-login a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ---------- DESKTOP ---------- */
@media (min-width: 768px) {
  .hero-main {
    min-height: 100vh;
  }
}
/* =========================================================
   HERO BACKGROUND DINÁMICO (IMAGEN DESDE CUSTOMIZER)
========================================================= */
.hero-main {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ===============================
   BENEFICIOS
   =============================== */

.benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  padding: 2rem 1.5rem;
  max-width: 600px;
  margin: auto;
}

.benefit {
  background: #fff;
  border-radius: 18px;
  padding: 1.2rem .8rem;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
  font-size: .95rem;
}

.benefit span {
  font-size: 1.6rem;
  display: block;
  margin-bottom: .4rem;
}


/* ===============================
   WHATSAPP FLOTANTE
   =============================== */

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  z-index: 999;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}


/* ===============================
   FOOTER PROFESIONAL LINK DE PAGO
   =============================== */

.site-footer {
  background: #f6f7f8;
  padding: 2.5rem 1.5rem;
  font-size: .85rem;
  color: #555;
}

.footer-inner {
  max-width: 620px;
  margin: auto;
  text-align: center;
}
/* Fin de csss*/



/* ===============================
   css de badged de pago en footer sobre seguridad del sitio web como pasarela de pago
   =============================== */
.secure-text {
    /* Posicionamiento y estructura */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    
    /* Ancho máximo para evitar que se desborde */
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;       /* Incluye padding y border en el ancho total */
    
    /* Efecto glassmorphism - fondo semi-transparente con blur */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
    /* Borde con gradiente para efecto premium */
    border: 2px solid transparent;
    background-clip: padding-box;
    
    /* Espaciado responsivo usando clamp() */
    padding: clamp(16px, 4vw, 20px) clamp(20px, 5vw, 32px);
    margin: clamp(20px, 4vw, 30px) 0;
    
    /* Bordes redondeados elegantes */
    border-radius: 16px;
    
    /* Tipografía premium y responsiva */
    font-size: clamp(13px, 2.5vw, 15px);
    font-weight: 600;
    color: #1e293b;
    text-align: center;
    line-height: 1.6;
    letter-spacing: 0.3px;
    
    /* Ajuste de texto para que no se desborde */
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    
    /* Sombras múltiples para profundidad realista */
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    
    /* Transición suave solo para efectos hover */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    
    /* Evita que el texto se seleccione (opcional) */
    user-select: none;
}




.secure-text {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    margin: 20px 0;
    font-size: 13.5px;
    line-height: 1.6;
    color: #0f172a; /* azul noche */
    background-color: #f8fafc;
    border-left: 4px solid #0f172a;
    border-radius: 8px;
    font-weight: 500;
}

/* Icono institucional */
.secure-text::before {
    content: "SECURITY";
    font-size: 10px;
    letter-spacing: 1.4px;
    font-weight: 700;
    color: #475569;
    background: #e2e8f0;
    padding: 6px 8px;
    border-radius: 4px;
    flex-shrink: 0;
}

/* Badge verificado ultra sobrio */
.verified-badge {
    margin-left: auto;
    font-size: 11px;
    font-weight: 600;
    color: #334155;
    padding: 6px 10px;
    border: 1px solid #cbd5f5;
    border-radius: 6px;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 600px) {
    .secure-text {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .verified-badge {
        margin-left: 0;
    }
}




  
        


/* Footer logos*/
.footer-logos {
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #666;
  text-decoration: underline;
}

.footer-copy {
  font-size: .75rem;
  opacity: .75;
}




/* ===============================
   HEADER PROFESIONAL
   =============================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #ffffff;
  border-bottom: 1px solid #eee;
}

.header-inner {
  max-width: 1100px;
  margin: auto;
  padding: .7rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-business img,
.logo-payment img {
  max-height: 36px;
  width: auto;
}

.logo-business strong {
  font-size: 1.1rem;
  color: var(--primary);
}

/* Mobile ajuste */
@media (max-width: 480px) {
  .logo-payment img {
    max-height: 28px;
  }
}


/* ===============================
   BANNER DE URGENCIA
   =============================== */

.urgency-banner {
  background: linear-gradient(90deg, #ffe08a, #ffd24d);
  color: #5c4500;
  font-weight: 600;
  text-align: center;
  padding: .9rem 1rem;
  font-size: .9rem;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .urgency-banner {
    font-size: 1rem;
  }
}



/* ===============================
   css de logo home
   =============================== */
.logo-link {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

.logo-link img {
  display: block;
}


/* Base WooCommerce */
/* =========================
   WOO BASE PREMIUM
========================= */

.woocommerce,
.woocommerce-page {
  background: #f3f4f6;
}

.woocommerce .site-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
}


/* =========================
   PRODUCTO – BASE LIMPIA
========================= */

.single-product .product {
  background: #ffffff;
  border-radius: 20px;
  padding: 20px;
  max-width: 960px;
  margin: 40px auto;
}

/* =====================================
   GALERÍA DE PRODUCTO – ESTILO PREMIUM
   ===================================== */

/* Contenedor general */
.single-product .woocommerce-product-gallery {
  width: 100%;
  margin-bottom: 24px;
}

/* Imagen principal */
.single-product .woocommerce-product-gallery__image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 18px;
  cursor: pointer;
}

.single-product .flex-control-thumbs img {
  width: 100%;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Miniatura activa */
.single-product .flex-control-thumbs img.flex-active {
  opacity: 1;
  transform: scale(1.05);
}

/* Hover desktop */
.single-product .flex-control-thumbs img:hover {
  opacity: 1;
}

/* Mobile ajustes */
@media (max-width: 600px) {
  .single-product .woocommerce-product-gallery__image img {
    height: 260px;
  }

  .single-product .flex-control-thumbs img {
    height: 60px;
  }
}

.woocommerce div.product div.images .flex-control-thumbs {
  /* Usar flex para controlar el layout de miniaturas */
  display: flex;

  /* Espacio horizontal entre cada miniatura */
  gap: 10px;

  /* Separación superior respecto a la imagen principal */
  margin-top: 16px;

  /* Quitar padding y estilos heredados de listas */
  padding: 0;
  list-style: none;

  /* Asegurar alineación correcta */
  justify-content: flex-start;
}


/* =========================
   Titulo del producto y descripción
========================= */
.single-product .summary {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.single-product .product_title {
  font-size: 24px;
  font-weight: 800;
  margin: 0;
}


/* =========================================
   PRECIO DEL PRODUCTO – ESTILO PREMIUM
   ========================================= */

/* Precio principal (párrafo y monto) */
.single-product .summary p.price,
.single-product .summary span.woocommerce-Price-amount {
  font-size: 30px;        /* Tamaño grande y protagonista */
  font-weight: 800;       /* Peso fuerte (premium) */
  color: #16a34a;         /* Verde confianza / pago */
  line-height: 1.2;       /* Altura compacta */
}

/* Texto secundario del precio (ej: "por día", "por noche") */
.single-product .summary p.price small {
  font-size: 14px;        /* Más pequeño que el precio */
  font-weight: 500;       /* Peso normal */
  color: #6b7280;         /* Gris elegante */
  margin-left: 6px;       /* Separación del monto */
}

/* Ajuste de tamaño del precio en móviles */
@media (max-width: 600px) {
  .single-product .summary p.price,
  .single-product .summary span.woocommerce-Price-amount {
    font-size: 26px;      /* Un poco más pequeño en móvil */
  }
}



/* =====================================
   BOTÓN RESERVAR – FORZADO WOOCOMMERCE
   ===================================== */

.single-product button.single_add_to_cart_button,
.single-product .single_add_to_cart_button,
.single-product button.button,
.single-product button.alt,
.single-product .wp-element-button {
  width: 100% !important;
  padding: 18px 20px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #16a34a, #22c55e) !important;
  color: #ffffff !important;
  border: none !important;
  cursor: pointer !important;
  text-align: center !important;
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.35) !important;
  transition: all 0.25s ease !important;
}

/* Hover desktop */
.single-product button.single_add_to_cart_button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(34, 197, 94, 0.45) !important;
}

/* Click */
.single-product button.single_add_to_cart_button:active {
  transform: scale(0.98);
}

/* Estado deshabilitado */
.single-product button:disabled {
  opacity: 0.6 !important;
  box-shadow: none !important;
}

/* =====================================
   AJUSTE MÓVIL
   ===================================== */

@media (max-width: 768px) {
  .single-product button.single_add_to_cart_button {
    font-size: 17px !important;
    padding: 20px !important;
    border-radius: 18px !important;
  }
}



@media (max-width: 600px) {
  .single-product .product {
    margin: 20px 12px;
    padding: 16px;
  }

  .woocommerce-product-gallery img {
    max-height: 240px;
  }
}


/* =========================
   FORMS – ESTILO PREMIUM
========================= */

input,
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  border-radius: 14px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #111827;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22,163,74,.15);
}
input[type="number"],
input[type="date"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: textfield;
}


.quantity {
  width: 100%;
  margin: 12px 0;
}

.quantity input.qty {
  width: 100%;
  max-width: 120px;
  text-align: center;
  font-size: 16px;
  border-radius: 14px;
  padding: 12px;
}


.woocommerce-checkout input,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
  margin-bottom: 14px;
}


@media (max-width: 600px) {
  input,
  select,
  textarea {
    font-size: 16px; /* evita zoom en iOS */
  }
}


/* =========================================
   TEXTOS DE CONFIANZA – ESTILO PREMIUM
   ========================================= */

/* ===============================
   Casa Polska – Trust Texts
   =============================== */

.trust-texts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 24px 0;
    padding: 18px;
    background: linear-gradient(180deg, #f8fbff, #ffffff);
    border: 1px solid #e6edf5;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
    font-weight: 500;
    color: #2c3e50;
    line-height: 1.4;
}

.trust-item::before {
    content: "✔";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    font-size: 13px;
    font-weight: bold;
    color: #ffffff;
    background: #1f8ef1;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Hover sutil (desktop) */
@media (hover: hover) {
    .trust-item {
        transition: transform 0.2s ease, color 0.2s ease;
    }

    .trust-item:hover {
        transform: translateX(4px);
        color: #1f8ef1;
    }
}

/* Tablet y desktop */
@media (min-width: 640px) {
    .trust-texts {
        grid-template-columns: repeat(2, 1fr);
        padding: 22px;
    }

    .trust-item {
        font-size: 15px;
    }
}




/* =====================================
   BANNER AVISO CARRITO / RESERVA
   ===================================== */

.cart-notice-banner {
  background: #f0fdf4; /* verde suave */
  border-bottom: 1px solid #bbf7d0;
  padding: 12px 16px;
}

.cart-notice-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-notice-text {
  font-size: 15px;
  font-weight: 600;
  color: #166534;
}

.cart-notice-button {
  background: #16a34a;
  color: #fff;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

/* Hover desktop */
.cart-notice-button:hover {
  background: #15803d;
}

/* Adaptación móvil */
@media (max-width: 600px) {
  .cart-notice-inner {
    flex-direction: column;
    text-align: center;
  }

  .cart-notice-button {
    width: 100%;
    text-align: center;
  }
}
/* =====================================
   ANIMACIÓN BOTÓN CONTINUAR RESERVA
   ===================================== */

/* Movimiento suave lateral */
@keyframes subtle-move {
  0%   { transform: translateX(0); }
  50%  { transform: translateX(6px); }
  100% { transform: translateX(0); }
}

/* Aplicar animación */
.cart-notice-button.pulse {
  animation: subtle-move 1.6s ease-in-out infinite;
}

/* Detener animación al pasar el mouse (desktop) */
.cart-notice-button.pulse:hover {
  animation-play-state: paused;
}
/* Precio total dentro del banner */
.cart-notice-text .cart-total {
  font-weight: 800;
  margin-left: 6px;
  color: #14532d;
}



/* ===============================
   Contenedor global (layout base)
   =============================== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Contenido principal */
.site-main {
  padding: 32px 0;
}


/* ================================
   BOTONES WOOCOMMERCE – ESTILO PRO
   ================================ */

/* Botón base WooCommerce */
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 20px;
  min-height: 48px;

  font-size: 16px;
  font-weight: 700;

  border-radius: 14px;
  border: none;

  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #ffffff;

  cursor: pointer;
  text-align: center;
  text-decoration: none;

  transition: all 0.25s ease;
}

/* Hover / foco */
.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover {
  background: linear-gradient(135deg, #15803d, #16a34a);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(22, 163, 74, 0.25);
  color: #fff;
}

/* Click / activo */
.woocommerce button.button:active,
.woocommerce a.button:active,
.woocommerce input.button:active {
  transform: scale(0.98);
}

/* ================================
   BOTÓN PRINCIPAL: Añadir al carrito
   ================================ */

.single_add_to_cart_button {
  width: 100%;
  font-size: 18px;
  padding: 18px;
  border-radius: 18px;
  margin-top: 12px;
}

/* Icono sutil (opcional, elegante) */
.single_add_to_cart_button::before {
  content: "🔒";
  margin-right: 8px;
  font-size: 16px;
}

/* ================================
   BOTONES SECUNDARIOS
   (Ver carrito, actualizar, etc.)
   ================================ */

.woocommerce a.button.alt,
.woocommerce button.button.alt {
  background: linear-gradient(135deg, #0f172a, #1e293b);
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
  background: linear-gradient(135deg, #020617, #0f172a);
}

/* ================================
   BOTONES EN CHECKOUT
   ================================ */

.woocommerce-checkout button#place_order {
  width: 100%;
  font-size: 18px;
  padding: 18px;
  border-radius: 18px;
  margin-top: 20px;
}

/* ================================
   MOBILE REFINEMENT
   ================================ */

@media (max-width: 768px) {
  .woocommerce button.button,
  .woocommerce a.button,
  .woocommerce input.button {
    font-size: 15px;
    padding: 14px 16px;
  }

  .single_add_to_cart_button,
  .woocommerce-checkout button#place_order {
    font-size: 17px;
    padding: 16px;
  }
}


/* =================================================
   BOTÓN CHECKOUT (WooCommerce Blocks)
   Realizar pedido / Pagar ahora
   ================================================= */

/* Botón principal */
.wc-block-components-checkout-place-order-button.contained {
  width: 100%;
  padding: 18px 20px;

  font-size: 18px;
  font-weight: 800;

  border-radius: 18px;
  border: none;

  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #ffffff;

  letter-spacing: 0.4px;
  cursor: pointer;

  box-shadow: 0 12px 30px rgba(22, 163, 74, 0.35);
  transition: all 0.25s ease;
}

/* Hover (PC) */
.wc-block-components-checkout-place-order-button.contained:hover {
  background: linear-gradient(135deg, #15803d, #16a34a);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(22, 163, 74, 0.45);
}

/* Click / toque */
.wc-block-components-checkout-place-order-button.contained:active {
  transform: scale(0.97);
}

/* Icono de seguridad */
.wc-block-components-checkout-place-order-button.contained::before {
  content: "🔒 ";
  font-size: 16px;
}


/* =========================================
   Animación PULSE – Botón Realizar Pedido
   WooCommerce Blocks (PC + Móvil)
   ========================================= */

@keyframes pulse-soft {
  0% {
    transform: scale(1);
    box-shadow: 0 6px 18px rgba(22,163,74,.28);
  }
  50% {
    transform: scale(1.035);
    box-shadow: 0 10px 28px rgba(22,163,74,.55);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 6px 18px rgba(22,163,74,.28);
  }
}

/* Estilo base (PC y móvil) */
.wc-block-components-checkout-place-order-button.contained {
  border-radius: 14px;
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease;
}

/* PC – animación más sutil */
@media (min-width: 769px) {
  .wc-block-components-checkout-place-order-button.contained {
    animation: pulse-soft 3.2s ease-in-out infinite;
  }
}

/* MÓVIL – animación un poco más intensa */
@media (max-width: 768px) {
  .wc-block-components-checkout-place-order-button.contained {
    animation: pulse-soft 2.2s ease-in-out infinite;
  }
}


/* =========================================
   BOTÓN FINALIZAR COMPRA – CARRITO
   WooCommerce Blocks
   ========================================= */

/* Contenedor del botón */
.wc-block-cart__submit-container {
  margin-top: 24px;
}

/* Botón */
.wc-block-cart__submit-container .wc-block-components-button {
  width: 100%;
  padding: 18px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 16px;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #fff;
  border: none;
  box-shadow: 0 12px 30px rgba(22,163,74,.35);
  transition: all .25s ease;
}

/* Hover (PC) */
@media (hover: hover) {
  .wc-block-cart__submit-container .wc-block-components-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(22,163,74,.45);
    background: linear-gradient(135deg, #15803d, #16a34a);
  }
}

/* Active / click */
.wc-block-cart__submit-container .wc-block-components-button:active {
  transform: scale(0.98);
  box-shadow: 0 8px 20px rgba(22,163,74,.35);
}

/* MÓVIL – más cómodo al tacto */
@media (max-width: 768px) {
  .wc-block-cart__submit-container .wc-block-components-button {
    font-size: 17px;
    padding: 20px;
  }
}


/* ===========================
   FAQ – AcordIÓN PREMIUM
   =========================== */

.faq-section {
  max-width: 820px;
  margin: 60px auto;
  padding: 0 16px;
}

.faq-title {
  font-size: 26px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 32px;
}

.faq-item {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 14px;
  box-shadow: 0 10px 28px rgba(0,0,0,.06);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 18px 20px;
  background: none;
  border: none;
  text-align: left;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  font-size: 22px;
  transition: transform .25s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 20px 20px;
  font-size: 18px;
  line-height: 1.6;
  color: #444;
}

.faq-item.active .faq-answer {
  display: block;
}



/* ================================
   MAGIC LINK – ESTILO PROFESIONAL
   Mobile First
================================ */

/* Contenedor general */
.cc-magic-wrapper {
  width: 100%;
  padding: 24px 16px;
  display: flex;
  justify-content: center;
}

/* Tarjeta */
.cc-magic-card {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border-radius: 18px;
  padding: 24px 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
}

/* Título */
.cc-magic-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #111;
}

/* Texto */
.cc-magic-text {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 20px;
}

/* Formulario */
.cc-magic-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Input email */
.cc-magic-form input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  border-radius: 14px;
  border: 1px solid #ddd;
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
}

.cc-magic-form input[type="email"]:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Botón */
#cc-magic-btn {
  position: relative;
  padding: 14px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.35);
}

/* Hover */
#cc-magic-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(37, 99, 235, 0.45);
}

/* Disabled */
#cc-magic-btn:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
}

/* Loader animado */
#cc-magic-btn.loading {
  pointer-events: none;
}

#cc-magic-btn.loading::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border: 3px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: cc-spin 0.9s linear infinite;
}

@keyframes cc-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Mensaje de estado */
.cc-magic-status {
  margin-top: 16px;
  font-size: 0.9rem;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f1f5f9;
  color: #334155;
}

/* ================================
   Desktop enhancements
================================ */
@media (min-width: 768px) {
  .cc-magic-card {
    padding: 32px 28px;
  }

  .cc-magic-title {
    font-size: 1.6rem;
  }
}


/**
 * ESTILOS PARA EL SELECTOR DE RESERVAS
 * ====================================
 * 
 * Sistema de tarjetas responsive para mostrar diferentes tipos de reservas.
 * En móvil se apilan verticalmente (1 columna) y en desktop se distribuyen
 * horizontalmente (4 columnas). Incluye efectos hover, sombras suaves y
 * utiliza una variable CSS para el color personalizable de los botones.
 */

/* Contenedor principal con grid responsive */
.booking-selector {
  display: grid;
  grid-template-columns: 1fr; /* Una columna en móvil */
  gap: 24px; /* Espaciado entre tarjetas */
  padding: 40px 20px;
  max-width: 1300px; /* Ancho máximo del contenedor */
  margin: auto; /* Centrado horizontal */
}

/* Tarjeta individual de reserva */
.booking-card {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08); /* Sombra sutil */
  overflow: hidden;
  text-align: center;
  padding: 24px;
  transition: transform .3s ease, box-shadow .3s ease; /* Transiciones suaves */
}

/* Efecto hover: elevar tarjeta y aumentar sombra */
.booking-card:hover {
  transform: translateY(-6px); /* Eleva 6px */
  box-shadow: 0 18px 45px rgba(0,0,0,0.15); /* Sombra más pronunciada */
}

/* Imagen de la tarjeta con altura fija */
.booking-card img {
  width: 100%;
  height: 180px;
  object-fit: cover; /* Mantiene proporción recortando */
  border-radius: 14px;
  margin-bottom: 16px;
}

/* Título de la tarjeta */
.booking-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

/* Texto descriptivo */
.booking-card p {
  font-size: 0.95rem;
  color: #555; /* Gris medio */
  margin-bottom: 18px;
}

/* Botón de acción con color personalizable */
.booking-btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 30px; /* Bordes redondeados tipo píldora */
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  background: var(--booking-btn-color); /* Variable CSS personalizable */
}

/* Vista Desktop: 4 columnas a partir de 768px */
@media (min-width: 768px) {
  .booking-selector {
    grid-template-columns: repeat(4, 1fr); /* 4 columnas iguales */
  }
}

/**
 * ESTILOS PARA EL TÍTULO DEL SELECTOR DE RESERVAS
 * ================================================
 * Título principal centrado con tamaño responsive y tipografía destacada
 */

/* Título principal del selector de reservas */
.booking-selector-title {
  text-align: center; /* Centrado horizontal */
  font-size: clamp(1.6rem, 2.5vw, 2.2rem); /* Tamaño responsive: mín 1.6rem, máx 2.2rem */
  font-weight: 700; /* Negrita */
  margin: 20px auto 40px; /* Espaciado: arriba 20px, abajo 40px, centrado horizontal */
  max-width: 900px; /* Ancho máximo para mantener legibilidad */
  color: #1a1a1a; /* Color casi negro */
  line-height: 1.25; /* Interlineado compacto */
}

/**
 * ESTILOS PARA ENCABEZADO Y ANIMACIONES DEL SELECTOR DE RESERVAS
 * ===============================================================
 * Incluye el contenedor del encabezado (título + subtítulo), estilos
 * individuales de título y subtítulo, y animaciones de entrada secuenciales
 * para crear un efecto visual atractivo al cargar la página.
 */

/* ============================================================================
   CONTENEDOR DEL ENCABEZADO (título + subtítulo)
   ============================================================================ */
.booking-selector-header {
  text-align: center; /* Centrado horizontal */
  margin-bottom: 40px; /* Separación con las tarjetas */
  opacity: 0; /* Invisible al inicio */
  transform: translateY(20px); /* Desplazado 20px hacia abajo */
  animation: fadeUp 0.8s ease forwards; /* Animación de entrada */
}

/* ============================================================================
   TÍTULO PRINCIPAL del selector
   ============================================================================ */
.booking-selector-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem); /* Tamaño responsive: mín 1.8rem, máx 2.4rem */
  font-weight: 700; /* Negrita */
  color: #1a1a1a; /* Color casi negro */
  margin-bottom: 10px; /* Separación con el subtítulo */
}

/* ============================================================================
   SUBTÍTULO descriptivo
   ============================================================================ */
.booking-selector-subtitle {
  font-size: 1rem; /* Tamaño estándar */
  color: #555; /* Gris medio */
  max-width: 700px; /* Ancho máximo para legibilidad */
  margin: 0 auto; /* Centrado horizontal */
}

/* ============================================================================
   ANIMACIÓN DE ENTRADA para las tarjetas
   ============================================================================ */
.booking-card {
  opacity: 0; /* Invisible al inicio */
  transform: translateY(20px); /* Desplazado 20px hacia abajo */
  animation: fadeUp 0.8s ease forwards; /* Animación de aparición */
}

/* Delays progresivos para efecto cascada */
.booking-card:nth-child(1) { animation-delay: .1s; } /* Primera tarjeta: 0.1s */
.booking-card:nth-child(2) { animation-delay: .2s; } /* Segunda tarjeta: 0.2s */
.booking-card:nth-child(3) { animation-delay: .3s; } /* Tercera tarjeta: 0.3s */
.booking-card:nth-child(4) { animation-delay: .4s; } /* Cuarta tarjeta: 0.4s */

/* ============================================================================
   KEYFRAMES - Animación fadeUp (aparecer desde abajo)
   ============================================================================ */
@keyframes fadeUp {
  to {
    opacity: 1; /* Totalmente visible */
    transform: translateY(0); /* Posición original */
  }
}


/* ============================================
   ENCABEZADO DEL SELECTOR DE RESERVAS
   ============================================ */

/* Contenedor principal del encabezado */
.booking-selector-header {
  text-align: center;              /* Centra el contenido horizontalmente */
  margin-bottom: 40px;             /* Espacio inferior para separar del contenido siguiente */
  opacity: 0;                      /* Inicia invisible para la animación de entrada */
  transform: translateY(20px);     /* Desplaza 20px hacia abajo como estado inicial */
  animation: fadeUp 0.8s ease forwards; /* Aplica animación de aparición suave */
}

/* Título principal del selector */
.booking-selector-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem); /* Tamaño responsivo: mín 1.8rem, ideal 3vw, máx 2.4rem */
  font-weight: 700;                /* Negrita para énfasis */
  color: #1a1a1a;                  /* Color gris muy oscuro, casi negro */
  margin-bottom: 10px;             /* Espacio inferior entre título y subtítulo */
}

/* Subtítulo descriptivo */
.booking-selector-subtitle {
  font-size: 1rem;                 /* Tamaño de fuente estándar */
  color: #555;                     /* Color gris medio para contraste suave */
  max-width: 700px;                /* Limita el ancho para mejor legibilidad */
  margin: 0 auto;                  /* Centra horizontalmente el bloque */
}

/* ============================================
   TARJETAS DE RESERVA
   ============================================ */

/* Estilos base para cada tarjeta de reserva */
.booking-card {
  opacity: 0;                      /* Inicia invisible para animación */
  transform: translateY(20px);     /* Desplaza 20px hacia abajo como estado inicial */
  animation: fadeUp 0.8s ease forwards; /* Aplica animación de aparición */
}

/* Retrasos escalonados para crear efecto de cascada */
.booking-card:nth-child(1) { animation-delay: .1s; }  /* Primera tarjeta: 0.1s */
.booking-card:nth-child(2) { animation-delay: .2s; }  /* Segunda tarjeta: 0.2s */
.booking-card:nth-child(3) { animation-delay: .3s; }  /* Tercera tarjeta: 0.3s */
.booking-card:nth-child(4) { animation-delay: .4s; }  /* Cuarta tarjeta: 0.4s */

/* ============================================
   ANIMACIÓN DE APARICIÓN
   ============================================ */

/* Animación que hace aparecer los elementos con desplazamiento hacia arriba */
@keyframes fadeUp {
  to {
    opacity: 1;                    /* Estado final: completamente visible */
    transform: translateY(0);      /* Estado final: posición original (sin desplazamiento) */
  }
  /* Nota: el estado 'from' se hereda del elemento (opacity: 0, translateY: 20px) */
}

/* =========================================================
   MAPA GOOGLE MAPS – DISEÑO PROFESIONAL
   ========================================================= */
.cp-map-section {
  padding: 2.5rem 1rem;
  background: #f8fafc;
}

@media (prefers-color-scheme: dark) {
  .cp-map-section {
    background: #020617;
  }
}

.cp-map-container {
  max-width: 1100px;
  margin: auto;
}

.cp-map-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #0f172a;
}

@media (prefers-color-scheme: dark) {
  .cp-map-title {
    color: #e5e7eb;
  }
}

.cp-map-responsive {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0,0,0,.25);
  background: #000;
}

.cp-map-responsive iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Desktop */
@media (min-width: 768px) {
  .cp-map-section {
    padding: 4rem 2rem;
  }

  .cp-map-title {
    font-size: 1.9rem;
  }
}


/* Contenedor principal */
.woocommerce-account .woocommerce {
    display: flex;
    flex-direction: column; /* mobile first */
    max-width: 1200px;
    margin: auto;
    gap: 2rem;
    padding: 1.5rem;
}

/* Navegación lateral */
.woocommerce-account .woocommerce-MyAccount-navigation {
    order: 1; /* primero en móvil */
    flex: 0 0 auto;
    width: 100%; /* full width en móvil */
    background: #f9f9f9;
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid #ddd;
}

/* Lista de enlaces */
.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin-bottom: .5rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
    display: block;
    padding: .75rem 1rem;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: background .2s, color .2s;
}

.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
    background: #222;
    color: #fff;
}

/* Contenido principal */
.woocommerce-account .woocommerce-MyAccount-content {
    order: 2; /* después de navegación en móvil */
    flex: 1;
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,.05);
}

/* Estancias visuales */
.casapolska-estancias-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.estancia-card {
    background: #f5f5f5;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,.05);
}

/* Botón */
.btn-estancia {
    display: inline-block;
    margin-top: .5rem;
    padding: .5rem 1rem;
    border-radius: 8px;
    background: #222;
    color: #fff;
    text-decoration: none;
}

/* --------- MEDIA QUERY PARA PC --------- */
@media (min-width: 1024px) {
    .woocommerce-account .woocommerce {
        flex-direction: row; /* ahora lado a lado */
        align-items: flex-start;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation {
        width: 260px; /* columna izquierda fija */
        margin-bottom: 0;
        position: sticky;
        top: 90px;
        order: 0;
    }

    .woocommerce-account .woocommerce-MyAccount-content {
        flex: 1;
        order: 1;
    }

    .casapolska-estancias-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1440px) {
    .casapolska-estancias-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* Contenedor soporte */
.casapolska-soporte {
    background: #f5f5f5;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,.05);
    text-align: center;
    max-width: 700px;
    margin: 1rem auto;
    font-family: 'Inter', sans-serif;
}

/* Título */
.casapolska-soporte h2 {
    color: #222;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

/* Mensaje */
.casapolska-soporte p {
    color: #555;
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* Botón WhatsApp */
.btn-whatsapp {
    display: inline-block;
    background: #25D366;
    color: #fff;
    padding: .7rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: .8rem;
    transition: background .3s;
}

.btn-whatsapp:hover {
    background: #1ebe5d;
}

/* Información adicional */
.soporte-info {
    font-size: 0.9rem;
    color: #777;
}

.soporte-info a {
    color: #222;
    text-decoration: underline;
}


/* =============================== */
/* CASA POLSKA – LIVE PRICE BOX */
/* =============================== */

.cp-live-box {
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border-radius: 18px;
    padding: 18px 16px;
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
    max-width: 420px;
    margin: auto;
    text-align: center;
    position: relative;
}

/* Badge */
.cp-live-box::before {
    content: "Sin cargos ocultos";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #e7f8ee;
    color: #0f8a4c;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
}

/* Label */
.cp-price-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
}

/* Precio */
.cp-price-value {
    display: block;
    font-size: 44px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
    margin: 6px 0;
    transition: transform .35s ease, opacity .35s ease;
}

/* Animación al cambiar */
.cp-price-value.cp-animate {
    transform: scale(1.15);
    opacity: .6;
}

/* Nota */
.cp-price-note {
    display: block;
    font-size: 13px;
    color: #64748b;
}

/* Estado disponibilidad */
.cp-live-box::after {
    content: "🟢 Disponible para tus fechas · 💳 Paga solo al confirmar";
    display: block;
    margin-top: 12px;
    font-size: 13px;
    color: #1f7a3f;
    background: #f1f5f9;
    padding: 10px 12px;
    border-radius: 12px;
}

/* =============================== */
/* DESKTOP */
/* =============================== */
@media (min-width: 768px) {

    .cp-price-value {
        font-size: 54px;
    }

    .cp-price-note {
        font-size: 14px;
    }
}



/* =============================== */
/* CSS DE CALENDARIO DE RESERVAS */
/* =============================== */
.cp-booking-dates {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    margin-bottom: 20px;
}

.cp-booking-dates h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.cp-date-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.cp-date-grid input {
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-size: 1rem;
    cursor: pointer;
    background: #f9f9f9;
}

.cp-hint {
    display: block;
    margin-top: 10px;
    font-size: .85rem;
    color: #666;
}

@media (min-width: 768px) {
    .cp-date-grid {
        grid-template-columns: 1fr 1fr;
    }
}
.cp-clear-btn {
    margin-top: 10px;
    background: transparent;
    border: none;
    color: #b00020;
    font-size: .9rem;
    cursor: pointer;
    text-decoration: underline;
}

.cp-clear-btn:hover {
    opacity: .7;
}


/* ===== CASA POLSKA – BOOKING FIELDS PRO ===== */

.cp-booking-fields {
    margin-top: 28px;
}

.cp-booking-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 18px;
    color: #111827;
}

/* GRID – MOBILE FIRST */
.cp-booking-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

/* CARD */
.cp-field-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* 🔥 clave */
    min-height: 120px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.cp-field-card:focus-within {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transform: translateY(-1px);
}

/* HEADER */
.cp-field-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.cp-field-icon {
    font-size: 1.3rem;
}

.cp-field-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #374151;
}

.cp-field-label small {
    font-weight: 400;
    color: #6b7280;
    margin-left: 4px;
}

/* SELECT */
.cp-field-card select {
    width: 100%;
    padding: 12px 14px;
    font-size: 1rem;
    border-radius: 12px;
    border: 1px solid #d1d5db;
    background-color: #f9fafb;
    appearance: none;
    cursor: pointer;
}

.cp-field-card select:focus {
    outline: none;
    border-color: #2563eb;
    background-color: #ffffff;
}

/* TABLET */
@media (min-width: 768px) {
    .cp-booking-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* DESKTOP */
@media (min-width: 1024px) {
    .cp-booking-grid {
        grid-template-columns: repeat(4, 1fr);
        align-items: stretch; /* 🔒 */
    }
}



/* =====================================
   RELATED PRODUCTS – FIX FINAL PC
   Reseteo total de columnas del theme
===================================== */

.related.products ul.products {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ===============================
   DESKTOP FIRST (PC)
================================ */

@media (min-width: 768px) {

  .related.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
  }

  /* RESET CLAVE */
  .related.products ul.products li.product {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    box-sizing: border-box;
  }
}

/* ===============================
   MOBILE
================================ */

@media (max-width: 767px) {

  .related.products ul.products {
    display: flex !important;
    overflow-x: auto;
    gap: 16px;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
  }

  .related.products ul.products li.product {
    flex: 0 0 80%;
    width: auto !important;
    max-width: 80%;
    scroll-snap-align: start;
  }
}

/* ===============================
   ESTÉTICA
================================ */

.related.products ul.products li.product {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
  transition: all .25s ease;
}

.related.products ul.products li.product:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(0,0,0,.12);
}

.related.products li.product img {
  border-radius: 12px;
}

.related.products li.product .woocommerce-loop-product__title {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 10px 0 6px;
}

.related.products li.product .price {
  font-size: 1.1rem;
  font-weight: 700;
}

.related.products li.product .button {
  width: 100%;
  margin-top: 10px;
  border-radius: 10px;
  font-weight: 600;
}



/* =====================================
   WOO PRODUCT TABS
   Mobile UX improvement only
===================================== */

.woocommerce-tabs {
  margin-top: 2.5rem;
}

/* =========================
   MOBILE FIRST – BOTONES
========================= */

.woocommerce-tabs ul.tabs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0 0 1.5rem 0;
  border: none;
}

.woocommerce-tabs ul.tabs li {
  width: 100%;
  margin: 0;
  border: none;
  background: none;
}

/* BOTÓN USA COLORES DEL TEMA */
.woocommerce-tabs ul.tabs li a {
  display: block;
  width: 100%;
  padding: 14px 16px;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: background .2s ease;
}

/* ACTIVO (Woo maneja colores) */
.woocommerce-tabs ul.tabs li.active a {
  font-weight: 700;
}

/* =========================
   CONTENIDO
========================= */

.woocommerce-tabs .panel {
  padding: 18px;
  line-height: 1.6;
}

/* =========================
   DESKTOP – WOO DEFAULT
========================= */

@media (min-width: 768px) {

  .woocommerce-tabs ul.tabs {
    flex-direction: row;
    gap: 0;
    border-bottom: 1px solid #ddd;
    margin-bottom: 1.5rem;
  }

  .woocommerce-tabs ul.tabs li {
    width: auto;
  }

  .woocommerce-tabs ul.tabs li a {
    width: auto;
    padding: .5em 1em;
    border-radius: 0;
  }

  .woocommerce-tabs .panel {
    padding: 1.5em;
  }
}


/* -------------------------------------------------
   Contenedor principal del CTA de contacto
   ------------------------------------------------- */
.cp-contact-cta {
    width: 100%;
    min-height: 520px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cp-contact-cta-overlay {
    background: rgba(0,0,0,0.55);
    padding: 60px 20px;
    text-align: center;
    color: #fff;
    width: 100%;
}

.cp-contact-cta h2 {
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 15px;
}

.cp-contact-cta p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
}

.cp-cta-button {
    display: inline-block;
    padding: 16px 38px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: transform .3s ease;
}

.cp-cta-button:hover {
    transform: scale(1.05);
}

.pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0 rgba(255,255,255,0.6);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(255,255,255,0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255,255,255,0);
    }
}


