/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* Quitar fondo gris de la caja de pagos de WooCommerce *//*
.payment_box {
    background-color: #ffffff !important; /* Pone el fondo blanco *//*
	
    border-radius: 5px; /* Opcional: redondea las esquinas *//*
}

/* Opcional: Si quieres quitar también el recuadro interior de la lista de métodos *//*
.woocommerce-checkout #payment ul.payment_methods {
    border-bottom: none !important;
}*/

/* --- INICIO PERSONALIZACIÓN STRIPE --- */

/* 1. Contenedor Principal (La caja blanca) */
.payment_box.payment_method_stripe {
    background-color: #ffffff !important;
    border: none !important;           /* Quita el borde exterior */
    box-shadow: none !important;       /* Quita sombras residuales */
    padding-left: 0 !important;        /* CLAVE: Quita relleno lateral para ganar ancho */
    padding-right: 0 !important;       /* CLAVE: Quita relleno lateral para ganar ancho */
    margin-top: 10px !important;
    width: 100% !important;            /* Fuerza ancho máximo */
}

/* 2. Eliminar la "flechita" decorativa superior */
.payment_method_stripe .payment_box::before {
    display: none !important;
}

/* 3. QUITAR BORDES INTERNOS (Donde metes la tarjeta y el checkbox) */
/* Esto ataca directamente a los <fieldset> que generan esos recuadros grises */
.payment_box.payment_method_stripe fieldset {
    border: 0 !important;              /* Elimina el borde gris */
    box-shadow: none !important;
    padding: 0 !important;             /* Elimina el espacio interno que hacía la caja pequeña */
    margin: 0 !important;
    background: transparent !important;
    min-width: 100% !important;        /* Fuerza a ocupar toda la columna */
}

/* 4. Forzar que el iframe de Stripe (los campos de texto) se estire */
.wc-stripe-upe-element {
    width: 100% !important;
    max-width: 100% !important;
    border: none !important;
}

/* 5. Ajustes para el checkbox de "Guardar información" */
/* Para que se alinee con el resto y no tenga borde */
.payment_box.payment_method_stripe .woocommerce-SavedPaymentMethods-saveNew {
    margin-top: 15px !important;
    padding: 0 !important;
    border: none !important;
}

/* --- FIN PERSONALIZACIÓN STRIPE --- */