/* Iamegens detalle producto*/
.woocommerce div.product div.images .woocommerce-product-gallery__image img {
    max-width: 80% !important;
    height: auto !important;
    margin: 0 auto;
    display: block;
	border-radius: 20px;
}

.woocommerce-product-gallery__image img.zoomImg {
    display: none !important;
}

/* AÑADIR AL CARRITO*/
.woocommerce div.product form.cart .button {
    background-color: #49c572; 
    color: #fff;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    width: auto;
    display: inline-block;
}

.woocommerce div.product form.cart .button:hover {
    background-color: #3fb665;
    transform: scale(1.03);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}




/* Contenedor relativo para que el overlay quede dentro */
.hero-overlay-half {
  position: relative;
  overflow: hidden;
}

/* Overlay semitransparente en la mitad izquierda */
.hero-overlay-half::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: rgba(0,0,0,0.35);
  pointer-events: none;  /* deja los clics en los elementos “por delante” */
  z-index: 1;
}

/* Asegura que tu contenido interno quede siempre encima del overlay */
.hero-overlay-half .p1 {
  position: relative;
  z-index: 2;
}


.hero-overlay-half .menu-realmeal {
  position: relative;
  z-index: 3;
}

.texto-1 {
  font-weight: bold;
  /* degradado de abajo (oscuro) hacia arriba (claro) */
  background: linear-gradient(to top, #1a3000 0%, #76b701 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}



/* Overlay negro uniforme en todo el contenedor */
.rm-hero-dark{
  position: relative;
}

.rm-hero-dark::before{
  content:"";
  position:absolute;
  inset:0;                 /* cubre todo el contenedor */
  background: rgba(0,0,0,.38); /* opacidad suave; súbela/bájala a gusto */
  z-index:1;
  pointer-events:none;     /* no bloquea clics */
}

/* Asegura que el contenido quede por encima del overlay */
.rm-hero-dark > *{
  position:relative;
  z-index:2;
}

/* Si usas Elementor y ya tiene “background overlay”, forzamos el color */
.rm-hero-dark .elementor-background-overlay{
  background: rgba(0,0,0,.68) !important;
}

/* Un pelín más oscuro en móvil para mejorar legibilidad */
@media (max-width: 767px){
  .rm-hero-dark::before,
  .rm-hero-dark .elementor-background-overlay{
    background: rgba(0,0,0,.48) !important;
  }
}


/* ===== RealMeal – WooCommerce Checkout (Poppins + asterisco rojo + blancos suaves) ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root{
  --rm-green:#76B701;
  --rm-green-700:#507C01;
  --rm-text:#1F2933;
  --rm-border:#EAE7DF;
  --rm-focus:#1F7A46;
  /* Blancos suavizados (off-white “sage”) */
  --rm-surface:#F7FAF3;  /* tarjetas/paneles/tablas */
  --rm-input:#FBFEF7;    /* inputs/selects/textarea */
}

/* Tipografía Poppins en todo el checkout (no tocamos fondos globales) */
body.woocommerce-checkout,
.woocommerce,
.woocommerce-checkout,
.woocommerce form.checkout{
  font-family:"Poppins", system-ui, -apple-system, Segoe UI, Roboto, sans-serif !important;
  color:var(--rm-text);
}

/* Títulos */
.woocommerce .woocommerce-billing-fields h3,
.woocommerce .woocommerce-additional-fields h3,
#order_review_heading,
.woocommerce .woocommerce-checkout h3{
  font-weight:700; letter-spacing:-.2px; color:var(--rm-text);
}

/* Paneles principales (formulario, resumen, pago, cupones) */
.woocommerce .col2-set,
.woocommerce #order_review,
.woocommerce .woocommerce-checkout-payment,
.woocommerce form .checkout_coupon,
.woocommerce .wc-gift-card-form,
.woocommerce .coupon{
  background:var(--rm-surface);
  border:1px solid var(--rm-border);
  border-radius:16px;
  box-shadow:0 10px 28px rgba(0,0,0,.06);
  padding:22px;
}

/* Resumen a la derecha “sticky” en escritorio */
@media (min-width:992px){
  #order_review{ position:sticky; top:18px; }
}

/* Inputs, selects, textarea */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select{
  background:var(--rm-input);
  border:1.5px solid var(--rm-border);
  border-radius:12px;
  padding:12px 14px;
  box-shadow:0 2px 6px rgba(0,0,0,.03) inset;
  transition:border-color .2s ease, box-shadow .2s ease;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus{
  outline:none;
  border-color:var(--rm-green);
  box-shadow:0 0 0 3px rgba(118,183,1,.18);
}

/* Placeholder más tenue con el nuevo fondo */
.woocommerce ::placeholder{ color:rgba(31,41,51,.55); }

/* Labels y asterisco (ROJO) */
.woocommerce form .form-row label{
  font-weight:600; color:var(--rm-text); margin-bottom:.35rem;
}
.woocommerce form .form-row .required{ color:#E11D48 !important; } /* rojo */

/* Nombre / Apellidos a dos columnas (responsive) */
.woocommerce .form-row-first, .woocommerce .form-row-last{ width:48%; float:left; clear:none; }
.woocommerce .form-row-last{ margin-left:4%; }
@media (max-width:768px){
  .woocommerce .form-row-first, .woocommerce .form-row-last{ width:100%; margin-left:0; float:none; }
}

/* Select2 (País/Provincia) */
.select2-container--default .select2-selection--single{
  height:46px; border:1.5px solid var(--rm-border); border-radius:12px; background:var(--rm-input);
}
.select2-container--default .select2-selection--single .select2-selection__rendered{
  line-height:44px; padding-left:12px; color:var(--rm-text);
}
.select2-container--default .select2-selection--single .select2-selection__arrow{ height:44px; }
.select2-container--default.select2-container--focus .select2-selection--single{
  border-color:var(--rm-green); box-shadow:0 0 0 3px rgba(118,183,1,.18);
}

/* Tabla del pedido */
.woocommerce table.shop_table{
  border:1px solid var(--rm-border) !important;
  border-radius:12px; overflow:hidden; background:var(--rm-surface);
}
.woocommerce table.shop_table th{ color:#6B7280; font-weight:600; }
.woocommerce table.shop_table td,
.woocommerce table.shop_table th{
  padding:12px 14px; border-top:1px solid var(--rm-border);
}

/* Métodos de pago */
.woocommerce .woocommerce-checkout-payment{
  background:var(--rm-surface); border-radius:14px; border:1px solid var(--rm-border);
}
.woocommerce .wc_payment_methods li{
  padding:10px 0; border-bottom:1px solid rgba(0,0,0,.04);
}
.woocommerce .wc_payment_methods input[type="radio"]{ accent-color:var(--rm-green); }

/* Botones (incluye Realizar pedido) */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #place_order{
  background:var(--rm-green);
  color:#fff; border:none; border-radius:999px;
  padding:14px 22px; font-weight:700;
  box-shadow:0 10px 22px rgba(118,183,1,.25);
  transition:transform .08s ease, background .2s ease, box-shadow .2s ease;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #place_order:hover{
  background:var(--rm-green-700);
  box-shadow:0 12px 26px rgba(80,124,1,.28);
  transform:translateY(-1px);
}

/* Avisos */
.woocommerce-error, .woocommerce-info, .woocommerce-message{
  border-radius:12px; border:none; box-shadow:0 8px 20px rgba(0,0,0,.06);
}
.woocommerce-message{ background:rgba(118,183,1,.12); color:#1a2e12; }
.woocommerce-info{ background:#eef6e6; }
.woocommerce-error{ background:#fff3f3; }

/* Ajustes finos */
.woocommerce form .form-row{ margin-bottom:16px; }
.woocommerce form .form-row .optional{ color:#6B7280; font-weight:500; }

/* Por si algún tema aplica flex raro y rompe anchos */
.woocommerce form.checkout .form-row{ display:block; }



