﻿/*
Theme Name:   DM Laser Works (Astra Child)
Template:     astra
Description:  Brand styles and the quote request form for dmlaserworks.com. Colors and fonts: see BRAND.md.
Version:      1.0.2
Text Domain:  dml
*/

:root {
	--dml-wood: #4a2f1a;
	--dml-laser: #c2550f;
	--dml-laser-hi: #a8470b;
	--dml-glow: #f08a3c;
	--dml-charcoal: #1f1b18;
	--dml-parchment: #f7f1e7;
	--dml-birch: #eadcc4;
	--dml-muted: #6b5d50;
	--dml-card: #ffffff;
}

body, button, input, select, textarea { font-family: "Source Sans 3", sans-serif; }
body { background: var(--dml-parchment); color: var(--dml-charcoal); }

/* ---------- headings, buttons: Oswald capitals ---------- */
h1, h2, h3, h4, h5, h6,
.entry-title, .woocommerce-loop-product__title, .product_title,
.main-header-menu .menu-link, .ast-button, .button, button, input[type="submit"] {
	font-family: "Oswald", sans-serif;
	text-transform: uppercase;
	letter-spacing: .03em;
}
.dml-eyebrow { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .18em; font-size: 15px; font-weight: 500; }

/* ---------- header ---------- */
.site-header .ast-primary-header-bar { border-bottom: 1px solid var(--dml-birch); }
.site-header .custom-logo-link img { height: 50px !important; width: auto !important; max-width: none !important; max-height: none !important; }
@media (max-width: 921px) { .site-header .custom-logo-link img { height: 40px !important; } }
.main-header-menu .menu-link { font-size: 15px; font-weight: 500; color: var(--dml-wood); }
.main-header-menu .menu-item:hover > .menu-link,
.main-header-menu .current-menu-item > .menu-link { color: var(--dml-laser); }

/* ---------- footer ---------- */
.site-footer, .site-footer .site-below-footer-wrap { background: var(--dml-charcoal); color: #bfb3a5; }
.site-footer .ast-footer-copyright, .site-footer .ast-footer-copyright p { color: #bfb3a5; font-size: 15px; }
.site-footer a { color: var(--dml-glow); }

/* ---------- WooCommerce ---------- */
.woocommerce ul.products li.product .price, .woocommerce div.product p.price { color: var(--dml-laser); font-weight: 600; }
.woocommerce span.onsale { background: var(--dml-laser); }
.woocommerce ul.products li.product a img { border-radius: 6px; }

/* ---------- card grid used on built pages ---------- */
.dml-grid { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px !important; }
.dml-card { background: var(--dml-card); border: 1px solid var(--dml-birch); border-radius: 6px; }
.dml-card > .elementor-widget-button { margin-top: auto; }
.dml-gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; display: block; }

/* ---------- quote form ---------- */
.dml-quote { display: grid; gap: 16px; max-width: 760px; }
.dml-quote .row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.dml-quote label { display: block; font-weight: 600; margin-bottom: 4px; color: var(--dml-charcoal); }
.dml-quote label small { font-weight: 400; color: var(--dml-muted); }
.dml-quote input[type="text"], .dml-quote input[type="email"], .dml-quote input[type="tel"],
.dml-quote input[type="number"], .dml-quote input[type="date"], .dml-quote select, .dml-quote textarea {
	width: 100%; padding: 10px 12px; border: 1px solid #cbb89a; border-radius: 4px; background: #fff; font: inherit; color: var(--dml-charcoal);
}
.dml-quote textarea { min-height: 140px; }
.dml-quote input:focus, .dml-quote select:focus, .dml-quote textarea:focus { outline: 2px solid var(--dml-glow); border-color: var(--dml-laser); }
.dml-quote .dml-hp { position: absolute; left: -9999px; }
.dml-quote button { justify-self: start; background: var(--dml-laser); color: #fff; border: 0; border-radius: 4px; padding: 14px 30px; font-size: 17px; font-weight: 600; cursor: pointer; }
.dml-quote button:hover { background: var(--dml-laser-hi); }
.dml-notice { padding: 14px 18px; border-radius: 6px; margin-bottom: 18px; }
.dml-notice.ok { background: #e7f2e3; border: 1px solid #9cc28f; color: #24421b; }
.dml-notice.err { background: #fbe9e4; border: 1px solid #e0a493; color: #6b1f0c; }
@media (max-width: 640px) { .dml-quote .row { grid-template-columns: 1fr; } }
