/* WooCommerce Theme, Begehbaresglas (light) */

body.woocommerce-page {
    background: #ffffff !important;
    color: #2a2520 !important;
    padding-top: 100px !important;
}

/* Hide the redundant page title */
.woocommerce-page .entry-title,
.woocommerce-page h1.wp-block-post-title,
.woocommerce-page .page-title {
    display: none !important;
}

.wp-block-woocommerce-checkout,
.wp-block-woocommerce-cart {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Headings */
.wc-block-checkout h1,
.wc-block-checkout h2,
.wc-block-checkout h3,
.wc-block-cart h1,
.wc-block-cart h2 {
    color: #2a2520 !important;
}

/* Form labels */
.wc-block-components-text-input label,
.wc-block-components-checkbox__label,
.wc-block-components-radio-control__label,
.wc-block-components-payment-method-label {
    color: #2a2520 !important;
}

/* Secondary descriptions */
.wc-block-components-radio-control__description,
.wc-block-components-radio-control__secondary-label,
.wc-block-components-radio-control-accordion-content {
    color: #5a5048 !important;
}

/* Order summary text */
.wc-block-components-order-summary-item__description,
.wc-block-components-product-name,
.wc-block-components-product-metadata__description,
.wc-block-components-totals-item__label,
.wc-block-components-totals-item__value,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    color: #2a2520 !important;
}

/* Links */
.wc-block-checkout a:not([class]),
.wc-block-cart a:not([class]),
.wc-block-checkout .wc-block-components-checkout-policies a {
    color: #c08070 !important;
}

/* Inputs */
.wc-block-components-text-input input,
.wc-block-components-text-input textarea,
.wc-block-components-combobox input,
.wc-block-checkout select {
    background: #ffffff !important;
    border: 1px solid #d9cfc1 !important;
    color: #2a2520 !important;
    outline: none !important;
    box-shadow: none !important;
}

.wc-block-components-text-input input:focus,
.wc-block-components-text-input textarea:focus,
.wc-block-components-combobox input:focus,
.wc-block-checkout select:focus {
    border-color: #c08070 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(192, 128, 112, 0.18) !important;
}

/* Light borders everywhere */
.wc-block-checkout *,
.wc-block-cart * {
    border-color: #d9cfc1 !important;
}

/* Payment/shipping option boxes */
.wc-block-components-radio-control__option,
.wc-block-components-radio-control-accordion-option,
.wc-block-components-shipping-rates-control__package {
    border-color: #d9cfc1 !important;
    background: #ffffff !important;
}

.wc-block-components-radio-control__option--checked,
.wc-block-components-radio-control-accordion-option--checked {
    border-color: #c08070 !important;
    background: #faf7f3 !important;
}

/* Dropdown menus */
.wc-block-components-combobox-control .components-form-token-field__suggestions-list,
.components-popover__content {
    background: #ffffff !important;
    border: 1px solid #d9cfc1 !important;
    box-shadow: 0 4px 12px rgba(42, 37, 32, 0.08) !important;
}

.wc-block-components-combobox-control .components-form-token-field__suggestion {
    color: #2a2520 !important;
    background: #ffffff !important;
}

.wc-block-components-combobox-control .components-form-token-field__suggestion:hover,
.wc-block-components-combobox-control .components-form-token-field__suggestion.is-selected {
    background: #faf7f3 !important;
    color: #c08070 !important;
}

/* Hide quantity badge */
.wc-block-components-order-summary-item__quantity {
    display: none !important;
}

/* Radio + checkbox accent */
.wc-block-components-radio-control input[type="radio"],
.wc-block-components-checkbox__input {
    accent-color: #c08070 !important;
}

/* Primary button */
.wc-block-components-button,
.wc-block-cart__submit-button,
button.wc-block-components-checkout-place-order-button {
    background: #c08070 !important;
    border: 1px solid #c08070 !important;
    color: #ffffff !important;
    border-radius: 6px !important;
}

.wc-block-components-button:hover,
.wc-block-cart__submit-button:hover,
button.wc-block-components-checkout-place-order-button:hover {
    background: #cd8a78 !important;
    border-color: #cd8a78 !important;
}

/* Error / notice banners */
.wc-block-components-notice-banner {
    background: #ffffff !important;
    border: 1px solid #d9cfc1 !important;
    border-radius: 6px !important;
}

.wc-block-components-notice-banner__content {
    color: #2a2520 !important;
}

.wc-block-components-notice-banner.is-error {
    border-color: #c44545 !important;
    background: #fcebeb !important;
}
.wc-block-components-notice-banner.is-error .wc-block-components-notice-banner__content {
    color: #791f1f !important;
}

/* Cart line item / order summary card surface */
.wc-block-components-order-summary-item,
.wc-block-cart-items__row {
    background: #faf7f3 !important;
    border-bottom: 1px solid #d9cfc1 !important;
}

/* Calculator-product custom metadata (each ESG piece's spec lines) */
.wc-block-components-product-details__name,
.wc-block-components-product-metadata__title {
    color: #5a5048 !important;
    font-size: 12px !important;
}
.wc-block-components-product-details__value {
    color: #2a2520 !important;
}

/* Totals footer (grand total) */
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #2a2520 !important;
}
