/*
Theme Name: Maison Lune
Description: Single-product perfume theme built from the Maison Lune static template. Homepage layout lives in front-page.php; other pages and posts use index.php.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: maison-lune
*/
/* Main styles are in css/style.css. This file holds the WordPress-only extras. */

/* keep the sticky header below the admin bar when logged in */
.admin-bar header { top:32px; }
@media (max-width:782px){ .admin-bar header { top:46px; } }

/* pages and posts made in wp-admin */
.page-body { padding:80px 0 120px; }
.entry { max-width:760px; margin:0 auto; }
.entry + .entry { margin-top:80px; }
.entry-content a { color:var(--gold); text-decoration:underline; }
.entry-content img { max-width:100%; height:auto; }
.entry-content h2 { font-size:clamp(1.6rem,3vw,2.2rem); margin-top:48px; }
.wp-block-button__link { background:var(--gold); color:var(--bg); border-radius:0; letter-spacing:.2em; text-transform:uppercase; font-size:.74rem; padding:15px 34px; }

/* ==== WooCommerce pages (cart, checkout, account): restyled with the theme tokens ==== */
.woocommerce, .woocommerce-page { color:var(--text); }
.woocommerce table.shop_table, .woocommerce table.shop_table td, .woocommerce table.shop_table th { border-color:var(--line); }
.woocommerce table.shop_table { border-radius:0; }
.woocommerce a { color:var(--gold); }
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce #respond input#submit {
  background:var(--gold); color:var(--bg); border:1px solid var(--gold); border-radius:0; letter-spacing:.2em;
  text-transform:uppercase; font-size:.72rem; font-weight:500; padding:15px 28px; font-family:inherit; }
.woocommerce .button:hover, .woocommerce button.button:hover, .woocommerce a.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background:transparent; color:var(--gold); }
.woocommerce .button:disabled, .woocommerce button.button:disabled[disabled] { background:var(--line); color:var(--muted); border-color:var(--line); }
.woocommerce input.input-text, .woocommerce textarea, .woocommerce select, .woocommerce .select2-container .select2-selection,
.woocommerce form .form-row .input-text { background:var(--bg-2); color:var(--text); border:1px solid var(--line); border-radius:0; padding:12px 14px; font-family:inherit; }
.select2-dropdown { background:var(--bg-2); color:var(--text); border-color:var(--line); }
.woocommerce .select2-container .select2-selection__rendered { color:var(--text); line-height:1.4; }
.woocommerce form .form-row label { color:var(--muted); font-size:.8rem; letter-spacing:.06em; }
.woocommerce-checkout #payment, .woocommerce-checkout #payment div.payment_box { background:var(--bg-2); color:var(--text); border-radius:0; }
.woocommerce-checkout #payment ul.payment_methods { border-color:var(--line); }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews { background:var(--bg-2); color:var(--text); border-top-color:var(--gold); }
.woocommerce-message::before, .woocommerce-info::before { color:var(--gold); }
.woocommerce .cart-collaterals .cart_totals h2, .woocommerce-checkout h3 { font-size:1.6rem; }
.woocommerce a.remove { color:var(--muted) !important; }
.woocommerce a.remove:hover { background:var(--rose); color:var(--text) !important; }
.woocommerce .quantity .qty { background:var(--bg-2); color:var(--text); border:1px solid var(--line); padding:8px; }
.woocommerce .product-name .variation, .woocommerce dl.variation { color:var(--muted); font-size:.82rem; }
.page-body .entry:has(.woocommerce) { max-width:1080px; }
