/*
Theme Name: Noah La Mer
Theme URI: https://noahLaMer.nl
Description: Custom theme for Noah La Mer - Ambachtelijke Houtbewerking & Maritieme Kunst
Author: Noah La Mer Studio
Version: 1.0.0
License: Proprietary
Text Domain: noah-la-mer
*/

/* ============================================================
   WooCommerce Blocks Checkout — Dark Theme Override
   ============================================================ */

/* Page background */
.wc-block-checkout,
.wp-block-woocommerce-checkout {
    background-color: #0d1117;
    color: #fdfdfb;
}

/* Section headings */
.wc-block-checkout h2,
.wc-block-components-checkout-step__title {
    color: #fdfdfb;
    font-family: "Playfair Display", serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 0.75rem;
    margin-bottom: 1.25rem;
}

/* All text inputs, selects, textareas */
.wc-block-components-text-input input,
.wc-block-components-text-input input:focus,
.wc-block-components-select select,
.wc-block-components-select select:focus,
.wc-block-checkout input[type="text"],
.wc-block-checkout input[type="email"],
.wc-block-checkout input[type="tel"],
.wc-block-checkout input[type="number"],
.wc-block-checkout select,
.wc-block-checkout textarea {
    background-color: rgba(255,255,255,0.04) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    color: #fdfdfb !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.wc-block-components-text-input input:focus,
.wc-block-components-select select:focus,
.wc-block-checkout input:focus,
.wc-block-checkout select:focus,
.wc-block-checkout textarea:focus {
    border-color: #C5A07E !important;
    box-shadow: none !important;
}

/* Floating labels */
.wc-block-components-text-input label,
.wc-block-components-select label,
.wc-block-checkout label {
    color: rgba(255,255,255,0.45) !important;
}

.wc-block-components-text-input.is-active label,
.wc-block-components-text-input input:not(:placeholder-shown) ~ label {
    color: #C5A07E !important;
}

/* Select arrow */
.wc-block-components-select select {
    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='%23C5A07E' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
}

/* Order summary panel */
.wc-block-checkout__sidebar,
.wp-block-woocommerce-checkout-order-summary-block,
.wc-block-order-summary {
    background-color: rgba(255,255,255,0.02) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    color: #fdfdfb !important;
}

.wc-block-order-summary-product__name,
.wc-block-components-order-summary-item__full-price,
.wc-block-components-totals-item__label,
.wc-block-components-totals-item__value {
    color: #fdfdfb !important;
}

.wc-block-components-totals-item {
    border-color: rgba(255,255,255,0.08) !important;
}

.wc-block-components-totals-item.wc-block-components-totals-total .wc-block-components-totals-item__value {
    color: #C5A07E !important;
}

/* Payment section */
.wc-block-components-radio-control__option,
.wc-block-components-payment-method-label {
    color: #fdfdfb !important;
}

.wc-block-components-radio-control .wc-block-components-radio-control__option {
    border-color: rgba(255,255,255,0.12) !important;
    background-color: rgba(255,255,255,0.02) !important;
}

.wc-block-components-radio-control .wc-block-components-radio-control__option:hover,
.wc-block-components-radio-control .wc-block-components-radio-control__option.is-selected {
    border-color: #C5A07E !important;
}

/* Error/notice messages */
.wc-block-components-notice-banner,
.wc-block-store-notices .wc-block-components-notice-banner {
    background-color: rgba(197,160,126,0.1) !important;
    border-color: #C5A07E !important;
    color: #fdfdfb !important;
}

.wc-block-components-notice-banner.is-error {
    background-color: rgba(220,38,38,0.1) !important;
    border-color: rgba(220,38,38,0.5) !important;
}

/* Checkbox */
.wc-block-checkout .wc-block-components-checkbox .wc-block-components-checkbox__label {
    color: rgba(255,255,255,0.5) !important;
}

.wc-block-components-checkbox input[type="checkbox"] {
    border-color: rgba(255,255,255,0.2) !important;
    background-color: transparent !important;
}

.wc-block-components-checkbox input[type="checkbox"]:checked {
    background-color: #C5A07E !important;
    border-color: #C5A07E !important;
}

/* "Back to cart" link & place order button */
.wc-block-checkout .wc-block-components-checkout-return-to-cart-button {
    color: rgba(255,255,255,0.4) !important;
}

.wc-block-checkout .wc-block-components-checkout-return-to-cart-button:hover {
    color: #C5A07E !important;
}

.wc-block-checkout .wc-block-components-checkout-place-order-button,
.wc-block-checkout__place-order button {
    background-color: #C5A07E !important;
    color: #0d1117 !important;
    border: none !important;
    border-radius: 0 !important;
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.25em !important;
    text-transform: uppercase !important;
}

.wc-block-checkout .wc-block-components-checkout-place-order-button:hover {
    background-color: #d4b48e !important;
}

/* Country/region select — container uses wc-blocks- (plural) prefix */
.wc-blocks-components-select,
.wc-blocks-components-select__container {
    background-color: rgba(255,255,255,0.04) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.wc-blocks-components-select__select {
    background-color: transparent !important;
    color: #fdfdfb !important;
    border: none !important;
    box-shadow: none !important;
}

.wc-blocks-components-select__label {
    color: rgba(255,255,255,0.45) !important;
}

/* Notice/error banner inside checkout */
.wc-block-components-notice-banner.is-error,
.wc-block-checkout .wc-block-components-notice-banner.is-error {
    background-color: rgba(220,38,38,0.1) !important;
    border: 1px solid rgba(220,38,38,0.4) !important;
    color: #fdfdfb !important;
    border-radius: 0 !important;
}

.wc-block-components-notice-banner.is-error svg,
.wc-block-components-notice-banner.is-error .wc-block-components-notice-banner__icon {
    color: rgba(220,38,38,0.8) !important;
    fill: rgba(220,38,38,0.8) !important;
}

/* Privacy/terms text */
.wc-block-checkout__privacy-policy-text,
.wc-block-checkout__terms-and-conditions-checkbox-text {
    color: rgba(255,255,255,0.35) !important;
    font-size: 0.75rem !important;
}

.wc-block-checkout__privacy-policy-text a,
.wc-block-checkout__terms-and-conditions-checkbox-text a {
    color: #C5A07E !important;
}
