/*
 Theme Name:   Tokeiwabi
 Theme URI:    https://tokeiwabi.com
 Description:  Thème Tokeiwabi - Montres Seiko d'Occasion - Design épuré, Tailwind CSS
 Author:       Tokeiwabi
 Author URI:   https://tokeiwabi.com
 Version:      2.0.0
 Text Domain:  tokeiwabi
 Domain Path:  /languages
 Tags:         e-commerce, woocommerce, tailwind, minimal
 Requires PHP: 8.0
*/

/* =========================================
   CUSTOM WOOCOMMERCE CHECKOUT STYLES
   To match paiement_tokeiwabi.html mockup
   ========================================= */

/* Reset WooCommerce default heavy borders and backgrounds */
.woocommerce-checkout h3 {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #2c363f;
    margin-bottom: 1.5rem;
}

/* Inputs */
.woocommerce form .form-row input.input-text, 
.woocommerce form .form-row textarea {
    width: 100%;
    padding: 0.875rem; /* p-3.5 */
    background-color: #ffffff;
    border: 1px solid rgba(166, 124, 82, 0.2);
    border-radius: 0.5rem; /* rounded-lg */
    font-size: 0.875rem;
    color: #2c363f;
    transition: box-shadow 0.2s, border-color 0.2s;
    box-shadow: none;
}
.woocommerce form .form-row input.input-text:focus, 
.woocommerce form .form-row textarea:focus {
    outline: none;
    border-color: #a67c52;
    box-shadow: 0 0 0 1px #a67c52;
}

/* Select fields */
.woocommerce form .form-row select {
    width: 100%;
    padding: 0.875rem;
    background-color: #ffffff;
    border: 1px solid rgba(166, 124, 82, 0.2);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #2c363f;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

/* Form labels */
.woocommerce form .form-row label {
    font-size: 0.875rem;
    color: rgba(44, 54, 63, 0.7);
    margin-bottom: 0.5rem;
    display: block;
}
.woocommerce form .form-row label.checkbox {
    display: inline-flex;
    align-items: center;
}
.woocommerce form .form-row input[type="checkbox"] {
    accent-color: #a67c52;
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
}

/* Order Review Table */
.woocommerce-checkout-review-order-table {
    border: none !important;
    border-radius: 0 !important;
    margin-bottom: 2rem !important;
}
.woocommerce table.shop_table {
    border: none;
    border-collapse: collapse;
}
.woocommerce table.shop_table th, 
.woocommerce table.shop_table td {
    border: none;
    border-top: 1px solid rgba(166, 124, 82, 0.1);
    padding: 1rem 0;
}
.woocommerce table.shop_table thead th {
    border-top: none;
    border-bottom: 1px solid rgba(166, 124, 82, 0.1);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: rgba(44, 54, 63, 0.6);
}
.woocommerce-checkout #payment {
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
}
.woocommerce-checkout #payment ul.payment_methods {
    border-bottom: 1px solid rgba(166, 124, 82, 0.1) !important;
    padding: 0 0 1rem 0 !important;
}
.woocommerce-checkout #payment div.payment_box {
    background-color: rgba(250, 248, 245, 0.5) !important;
    border: 1px solid rgba(166, 124, 82, 0.1) !important;
    border-radius: 0.5rem !important;
    color: #2c363f !important;
}
.woocommerce-checkout #payment div.payment_box::before {
    border-bottom-color: rgba(166, 124, 82, 0.1) !important;
}

/* Place Order Button */
.woocommerce #payment #place_order, .woocommerce-page #payment #place_order {
    width: 100%;
    padding: 1rem 1.5rem;
    background-color: #2c363f;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 0.25rem;
    border: none;
    transition: background-color 0.3s;
    font-size: 0.875rem;
    margin-top: 1.5rem;
}
.woocommerce #payment #place_order:hover {
    background-color: #a67c52;
}

/* Two-column responsive tweaks */
.woocommerce-page #customer_details,
.woocommerce-page #order_review_heading,
.woocommerce-page #order_review,
.woocommerce-page form.checkout {
    width: 100% !important;
    float: none !important;
}

.woocommerce .col2-set .col-1, .woocommerce-page .col2-set .col-1,
.woocommerce .col2-set .col-2, .woocommerce-page .col2-set .col-2 {
    float: none;
    width: 100%;
}
