/*
Theme Name: LUMEN
Description: LUMEN fragrance single-product store, built from the lumen-fragrance template, with WooCommerce cart and checkout.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: lumen
*/

/* The template's own styles are in css/style.css. These cover WordPress and WooCommerce pages. */

.page-main { padding-top: 8px; padding-bottom: 72px; min-height: 50vh; }
.page-main > h1 { font-size: 1.6rem; margin-bottom: 24px; }
.page-main .entry > * + * { margin-top: 1em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Buttons: one red accent, as in the template */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce #respond input#submit,
.woocommerce-page #place_order, .woocommerce .checkout-button {
  background: var(--accent); color: #fff; border: none; border-radius: 6px; padding: 13px 22px; font-weight: 700; font-family: var(--font);
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover, .woocommerce-page #place_order:hover { background: var(--accent-dark); color: #fff; }
.woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled] { background: #bbb; color: #fff; padding: 13px 22px; }

/* Forms */
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select,
.woocommerce .quantity .qty, .woocommerce-cart table.cart td.actions .coupon .input-text {
  border: 1px solid #bbb; border-radius: 6px; padding: 10px 12px; background: #fff; line-height: 1.4;
}
.woocommerce form .form-row label { font-size: .88rem; font-weight: 700; color: var(--ink); }
.select2-container .select2-selection--single { height: 44px; border-color: #bbb; border-radius: 6px; }
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 42px; padding-left: 12px; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 42px; }

/* Tables and totals */
.woocommerce table.shop_table { border-color: var(--line); border-radius: 6px; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border-color: var(--line); }
.woocommerce-cart .cart-collaterals .cart_totals h2, .woocommerce-checkout h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 14px; }
.woocommerce a.remove { color: var(--muted) !important; }
.woocommerce a.remove:hover { background: var(--soft); }
.woocommerce .product-name a, .woocommerce-checkout-review-order a { text-decoration: underline; }
#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment { background: var(--soft); border-radius: 6px; }

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--ink); background: var(--soft); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--ink); }
.woocommerce-error { border-top-color: var(--accent); }
.woocommerce-error::before { color: var(--accent); }

/* My account */
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { font-weight: 800; color: var(--ink); }

/* Bag drawer: error line and busy state (front page) */
.bag-error { margin: 0; padding: 10px 24px; background: #fff1f2; color: var(--accent-dark); font-size: .85rem; }
.bag-error:empty { display: none; }
.btn-red[aria-busy="true"] { opacity: .7; cursor: progress; }
