/*
Theme Name: Blue Mood Goods (Hello child)
Theme URI: https://bluemoodgoods.com
Description: Child theme of Hello Elementor for Blue Mood Goods. Design lives in Elementor. This file only adds the Archivo width axis, a few helper classes and WooCommerce product styling, all driven by your Elementor global colors and fonts.
Author: Blue Mood Goods
Template: hello-elementor
Version: 1.0.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: bluemood
*/

/*
 * HELPER CLASSES
 * Add these in Elementor: select a widget > Advanced > CSS Classes.
 *   bm-expanded   Wider Archivo letters (the poster look). Remove to go back to normal width.
 *   bm-rule       Eyebrow with a thin line and arrow after it.
 *   bm-badge      Gold tag (the "01 · Wear it" badge).
 *   bm-rules      On a numbered list inside a Text Editor: the house-rules style.
 *   bm-chips      On a <nav> of links inside a Text Editor: pill links (shop jump links).
 * Colors and sizes come from Site Settings > Global Colors / Global Fonts.
 */

/* Paragraph spacing inside Text Editor widgets. */
.elementor-widget-text-editor p:last-child { margin-bottom: 0; }

/* Wider letters for display type. */
.bm-expanded,
.bm-expanded .elementor-heading-title { font-stretch: 112%; }

/* Eyebrow with rule and arrow. */
.bm-rule .elementor-heading-title { display: flex; align-items: center; gap: 14px; }
.bm-rule .elementor-heading-title::before { content: ""; order: 2; flex: 1 1 auto; height: 1px; background: currentColor; }
.bm-rule .elementor-heading-title::after { content: "\27F6"; order: 3; }

/* Badge. */
.bm-badge p,
.bm-badge .elementor-widget-container > p {
	display: inline-block;
	background: var(--e-global-color-secondary);
	color: var(--e-global-color-text);
	padding: 6px 12px;
	margin: 0;
}

/* House rules list. */
.bm-rules { list-style: none; padding: 0; margin: 0; border-top: 2px solid currentColor; counter-reset: bm; }
.bm-rules li { counter-increment: bm; display: flex; gap: 24px; padding: 20px 0; border-bottom: 1px solid rgba(18, 16, 19, 0.25); }
.bm-rules li::before { content: counter(bm); font-weight: 900; color: var(--e-global-color-accent); min-width: 32px; }

/* Shop jump links. */
.bm-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.bm-chips a {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
	border: 2px solid currentColor; border-radius: 999px; text-decoration: none; color: inherit;
}
.bm-chips a span { color: var(--e-global-color-accent); }
.bm-chips a:hover { background: var(--e-global-color-text); color: var(--e-global-color-bmcream); }

/* Footer link columns. */
.bm-footer-col p { margin: 0 0 10px; }
.bm-footer-col a { text-decoration: none; }
.bm-footer-col a:hover { color: var(--e-global-color-secondary) !important; }
.bm-footer-col .bm-footer-head {
	font-size: var(--e-global-typography-bmcaps-font-size);
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--e-global-color-secondary);
	margin-bottom: 14px;
}

/* Text links in small caps and eyebrows: no underline. */
.elementor-widget-text-editor a { text-decoration: none; }
.elementor-widget-text-editor a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- WooCommerce product grids (shortcodes and Products widgets) ---------- */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	background: var(--e-global-color-bmcream);
	color: var(--e-global-color-text);
	padding: 0 0 18px;
}
.woocommerce ul.products li.product a img { margin-bottom: 14px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--e-global-typography-bmcard-font-family), sans-serif;
	font-size: var(--e-global-typography-bmcard-font-size);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: normal;
	text-transform: none;
	padding: 0 18px;
	color: var(--e-global-color-text);
}
.woocommerce ul.products li.product .price {
	color: var(--e-global-color-text);
	font-weight: 800;
	padding: 0 18px;
}
.woocommerce ul.products li.product .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce button.button.alt,
.woocommerce a.button.alt {
	background: var(--e-global-color-text);
	color: var(--e-global-color-bmcream);
	border-radius: 0;
	font-family: var(--e-global-typography-accent-font-family), sans-serif;
	font-size: var(--e-global-typography-accent-font-size);
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.woocommerce ul.products li.product .button { margin: 10px 18px 0; }
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover { background: var(--e-global-color-accent); color: var(--e-global-color-text); }
.woocommerce span.onsale {
	background: var(--e-global-color-secondary);
	color: var(--e-global-color-text);
	border-radius: 0;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	min-height: 0;
	line-height: 1;
	padding: 8px 12px;
}
.woocommerce div.product .product_title {
	font-family: var(--e-global-typography-bmbig-font-family), sans-serif;
	font-size: var(--e-global-typography-bmbig-font-size);
	font-weight: 900;
	font-stretch: 112%;
	text-transform: uppercase;
	line-height: 0.9;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price { color: var(--e-global-color-text); font-weight: 800; }

@media (max-width: 767px) {
	.woocommerce ul.products li.product .button { padding: 0.8em 1em; white-space: nowrap; font-size: 12px; }
}
