/*
Theme Name:   artfacas-child
Theme URI:    https://xstore.8theme.com
Description:  XStore is a multi-purpose theme that offers the ultimate WordPress and WooCommerce synergy, providing a comprehensive, all-in-one solution.
Author:       8theme
Author URI:   https://www.8theme.com
Template:     xstore
Version:      1.0
Text Domain:  xstore-child
Tags: e-commerce, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, custom-logo, featured-images, full-width-template, threaded-comments, accessibility-ready, rtl-language-support, footer-widgets, sticky-post, theme-options, translation-ready, ecommerce, woocommerce, shop, elementor, business, corporate, blog, news, light, dark
*/


/* ============================================
   Estilização Unificada de Formulários
   ============================================ */

/* Inputs padrão - Contact Form 7 e WooCommerce */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout textarea,
.woocommerce-checkout select {
    width: 100% !important;
    height: 40px !important;
    border-radius: 6px !important;
    border: 1px solid #d1d5db !important;
    background: white !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
    transition: all 0.2s !important;
    box-shadow: none !important;
    margin: 0 !important;
}

.wpcf7 textarea,
.woocommerce-checkout textarea {
    height: 80px !important;
    resize: vertical !important;
    min-height: 80px !important;
}

.woocommerce-checkout select {
    height: 40px !important;
}

/* Focus nos inputs */
.wpcf7 input:focus,
.wpcf7 textarea:focus,
.woocommerce-checkout input:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout select:focus {
    outline: none !important;
    border-color: #0891b2 !important;
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1) !important;
}

/* Labels */
.woocommerce-checkout label {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #374151 !important;
    margin-bottom: 6px !important;
    display: block;
}

/* Botão de finalizar compra */
.woocommerce-checkout button[type="submit"],
.woocommerce-checkout #place_order,
.woocommerce button.button.alt {
    background: linear-gradient(135deg, #00d4ff, #0891b2, #075985) !important;
    color: white !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    height: 44px !important;
    padding: 0 24px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.3) !important;
    width: 100% !important;
}

.woocommerce-checkout button[type="submit"]:hover,
.woocommerce-checkout #place_order:hover,
.woocommerce button.button.alt:hover {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d, #404040) !important;
    color: #00d4ff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.4) !important;
}

/* Mensagens de erro */
.woocommerce-error,
.woocommerce-NoticeGroup-checkout .woocommerce-error {
    border-color: #dc2626 !important;
    color: #dc2626 !important;
    background: #fef2f2 !important;
    border-radius: 6px !important;
}

/* Radio buttons e checkboxes */
.woocommerce-checkout input[type="radio"],
.woocommerce-checkout input[type="checkbox"] {
    width: auto !important;
    height: auto !important;
    margin-right: 8px !important;
}

/* Responsivo */
@media (max-width: 768px) {
    .woocommerce-checkout .col2-set .col-1,
    .woocommerce-checkout .col2-set .col-2 {
        width: 100% !important;
        float: none !important;
    }
}
