/**
 * Estilos minimalistas para Checkout e Carrinho
 * 
 * Mantém estrutura padrão do WooCommerce com visual clean e elegante
 * 
 * @package GeneratePress Child
 * @version 1.0.0
 */

/* ========================================
   CHECKOUT - Limpeza Visual
======================================== */

/* Remove fundos coloridos */
.woocommerce-checkout,
.woocommerce-cart {
    background: #ffffff;
}

/* Container clean */
.woocommerce-billing-fields,
.woocommerce-shipping-fields,
.woocommerce-additional-fields,
.woocommerce-checkout-review-order {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 4px;
}

/* Títulos elegantes */
.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-additional-fields h3,
#order_review_heading {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

/* ========================================
   CAMPOS - Bordas finas e pretas
======================================== */

.woocommerce-checkout input.input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea,
.woocommerce-cart input.input-text,
.woocommerce-cart select,
.woocommerce-cart textarea {
    border: 1px solid #333 !important;
    border-radius: 3px;
    padding: 10px 12px;
    font-size: 14px;
    background: #ffffff;
    transition: border-color 0.2s ease;
}

.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-cart input.input-text:focus,
.woocommerce-cart select:focus,
.woocommerce-cart textarea:focus {
    border-color: #000 !important;
    outline: none;
    box-shadow: none;
}

/* Labels clean */
.woocommerce-checkout label,
.woocommerce-cart label {
    font-weight: 500;
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
}

/* ========================================
   TABELA - Minimalista
======================================== */

.woocommerce-checkout-review-order-table,
.woocommerce-cart-form__contents {
    border: 1px solid #e0e0e0;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td,
.woocommerce-cart-form__contents th,
.woocommerce-cart-form__contents td {
    border: 1px solid #e0e0e0;
    padding: 12px;
}

.woocommerce-checkout-review-order-table thead,
.woocommerce-cart-form__contents thead {
    background: #f8f8f8;
}

/* ========================================
   BOTÕES - Elegante
======================================== */

.woocommerce-checkout #place_order,
.woocommerce-cart .button,
.woocommerce button.button {
    background: #000;
    color: #ffffff;
    border: 1px solid #000;
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 3px;
    transition: all 0.3s ease;
    text-transform: none;
}

.woocommerce-checkout #place_order:hover,
.woocommerce-cart .button:hover,
.woocommerce button.button:hover {
    background: #333;
    border-color: #333;
}

/* ========================================
   MENSAGENS - Clean
======================================== */

.woocommerce-info,
.woocommerce-message {
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
    color: #333;
    border-left: 3px solid #000;
}

.woocommerce-info::before,
.woocommerce-message::before {
    color: #000;
}

/* ========================================
   PAGAMENTO - Minimalista
======================================== */

.woocommerce-checkout-payment {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 20px;
    border-radius: 3px;
}

.wc_payment_methods {
    border: none;
}

.wc_payment_method {
    border: 1px solid #e0e0e0;
    padding: 15px;
    margin-bottom: 10px;
    background: #ffffff;
}

.wc_payment_method input[type="radio"]:checked + label {
    font-weight: 600;
}

/* ========================================
   CHECKBOX - Clean
======================================== */

#ship-to-different-address {
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 3px;
}

/* ========================================
   CARRINHO - Totais
======================================== */

.cart-collaterals .cart_totals {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 25px;
    border-radius: 4px;
}

.cart-collaterals .cart_totals h2 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

/* ========================================
   CUPOM - Minimalista
======================================== */

.woocommerce-form-coupon {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 20px;
}

/* ========================================
   REMOVER ELEMENTOS COLORIDOS
======================================== */

/* Remove backgrounds coloridos do WooCommerce */
.woocommerce-checkout .woocommerce-NoticeGroup,
.woocommerce-cart .woocommerce-NoticeGroup {
    background: transparent;
}

/* Remove ícones coloridos */
.woocommerce-info::before,
.woocommerce-message::before {
    opacity: 0.7;
}

/* ========================================
   RESPONSIVIDADE
======================================== */

@media (max-width: 768px) {
    .woocommerce-billing-fields,
    .woocommerce-shipping-fields,
    .woocommerce-additional-fields,
    .woocommerce-checkout-review-order,
    .cart-collaterals .cart_totals {
        padding: 20px 15px;
    }
}
