/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* =============================
   CHECKOUT - BILIS
   ============================= */

/* Fondo y texto general */
.woocommerce-checkout {
    background-color: #000000;
    color: #ffffff;
}

/* Títulos de sección */
.woocommerce-checkout h3,
.woocommerce-checkout #order_review_heading {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 16px;
}

/* Labels */
.woocommerce-checkout label {
    color: #ffffff;
}

/* Asterisco obligatorio */
.woocommerce-checkout .required {
    color: #A7C097;
}

/* =============================
   CAMPOS DEL FORMULARIO
   ============================= */

.woocommerce-checkout input.input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    background-color: #111111!important;
    border: 1px solid #333333!important;
    color: #ffffff!important;
    border-radius: 6px;
    padding: 10px 14px;
    width: 100%;
    transition: border-color 0.2s ease;
}

.woocommerce-checkout .selection .select2-selection{
	 background-color: #111111!important;
    border: 1px solid #333333!important;
    color: #ffffff!important;
}

.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
    border-color: #A7C097;
    outline: none;
    box-shadow: 0 0 0 2px rgba(167, 192, 151, 0.15);
}

/* Placeholder */
.woocommerce-checkout input.input-text::placeholder,
.woocommerce-checkout textarea::placeholder {
    color: #666666;
}

/* Select - flecha */
.woocommerce-checkout select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23A7C097' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

/* =============================
   LAYOUT DOS COLUMNAS
   ============================= */

.woocommerce-checkout #customer_details {
    width: 58%;
    float: left;
    margin-right: 4%;
}

.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 {
    width: 100% !important;
    float: none !important;
    margin: 0 0 24px 0 !important;
}

.woocommerce-checkout #order_review {
    width: 38%;
    float: left;
}

.woocommerce-checkout form.checkout::after {
    content: '';
    display: table;
    clear: both;
}

/* =============================
   RESUMEN DEL PEDIDO
   ============================= */

.woocommerce-checkout-review-order-table {
    border-collapse: collapse;
    width: 100%;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    border: 1px solid #222222;
    color: #ffffff;
    background-color: #111111;
    padding: 12px;
}

.woocommerce-checkout-review-order-table thead th {
    background-color: #0a0a0a;
    color: #A7C097;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1.5px;
}

.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
    color: #A7C097;
    font-size: 17px;
    font-weight: 700;
    border-top: 1px solid #A7C097;
}

/* =============================
   AVISO CUPÓN
   ============================= */

.woocommerce-info {
    background: #111111 !important;
    border-top: 3px solid #A7C097 !important;
    color: #ffffff !important;
}

.woocommerce-info a,
.woocommerce-info .showcoupon {
    color: #A7C097 !important;
}

/* =============================
   BOTÓN REALIZAR PEDIDO
   ============================= */

#place_order {
    background-color: #000000 !important;
    color: #ffffff !important;
    border: 2px solid #A7C097 !important;
    border-radius: 50px !important;
    padding: 14px 40px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    width: 100%;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: 16px;
    cursor: pointer;
}

#place_order:hover {
    background-color: #A7C097 !important;
    color: #000000 !important;
}

/* =============================
   POLÍTICA DE PRIVACIDAD
   ============================= */

.woocommerce-checkout .woocommerce-privacy-policy-text {
    color: #888888;
    font-size: 13px;
}

.woocommerce-checkout .woocommerce-privacy-policy-text a {
    color: #A7C097;
}

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

@media (max-width: 768px) {
    .woocommerce-checkout #customer_details,
    .woocommerce-checkout #order_review {
        width: 100%;
        float: none;
    }
}