/*
Theme Name: Bienal Checkout Theme
Theme URI: https://www.bienaleditora.com.br/
Description: Tema minimalista integrado para a página de checkout da Bienal Editora.
Version: 1.0.0
Author: Antigravity
Author URI: https://deepmind.google/
Text Domain: bienal-checkout
*/

/* Importar a folha de estilo global da raiz do site */
@import url('/style.css');

/* Estilos adicionais para harmonizar o layout nativo do WooCommerce */
/* Resets e alinhamentos para o cabeçalho no WordPress */
.glass-header ul, 
.glass-header li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
}
.glass-header .desktop-nav ul {
    gap: 32px !important;
    flex-direction: row !important;
}
.glass-header .desktop-nav a {
    text-decoration: none !important;
}

/* Suporte à barra administrativa do WordPress */
body.admin-bar .glass-header {
    top: 32px !important;
}
@media screen and (max-width: 782px) {
    body.admin-bar .glass-header {
        top: 46px !important;
    }
}
.woocommerce-checkout {
    padding: 40px 0;
}

/* Centralizar e dar uma cara premium ao container do checkout */
.checkout-container-wrapper {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.woocommerce-checkout form.checkout {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.woocommerce-billing-fields h3, 
.woocommerce-shipping-fields h3, 
#order_review_heading {
    font-family: 'Sora', sans-serif;
    font-size: 1.6rem;
    color: #18181B;
    border-bottom: 2px solid #0028B3;
    padding-bottom: 10px;
    margin-bottom: 20px;
    margin-top: 20px;
}

/* Ajustes finos nos inputs do checkout */
.woocommerce-checkout input.input-text, 
.woocommerce-checkout select, 
.woocommerce-checkout textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #E4E4E7 !important;
    border-radius: 4px !important;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
    background: #fff;
}

.woocommerce-checkout input.input-text:focus, 
.woocommerce-checkout select:focus, 
.woocommerce-checkout textarea:focus {
    border-color: #0028B3 !important;
}

/* Botão de Finalizar Compra */
.woocommerce-checkout #place_order {
    background-color: #0028B3 !important;
    color: #ffffff !important;
    padding: 15px 30px !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
    transition: background-color 0.2s, transform 0.2s !important;
    border: none !important;
    width: 100% !important;
    margin-top: 20px !important;
}

.woocommerce-checkout #place_order:hover {
    background-color: #001178 !important;
    opacity: 1 !important;
}
