/* Lip Balm Express — brand overrides, chrome, and the WooCommerce skin.
   Loaded after organic.css. The page templates carry their own inline styles,
   exactly as the approved design did; this file is the shared layer. */

[hidden] { display: none !important; }

[data-extra-edit]:empty::before { content: attr(data-ph); opacity: 0.4; }

/* "Add text" mode: the whole label shows the text cursor until you click. */
.lbe-addtext,
.lbe-addtext * { cursor: text !important; }

/* ---------------------------------------------------------------------------
   1. Brand tokens — override the design system's cream ground and display face
   ------------------------------------------------------------------------ */

:root {
	--font-heading: 'Baloo 2', var(--font-body), sans-serif;
	--color-bg: #ffffff;
	--color-surface: oklch(0.98 0.008 80);
	--color-neutral-100: oklch(0.96 0.006 80);
	--color-neutral-200: oklch(0.92 0.008 80);
	--color-neutral-300: oklch(0.85 0.01 80);
	--color-neutral-500: oklch(0.62 0.015 75);
	--color-neutral-700: oklch(0.45 0.02 70);
	--color-neutral-900: oklch(0.24 0.05 257);
	--color-accent: #f89c2e;
	--color-accent-100: oklch(0.95 0.045 70);
	--color-accent-200: oklch(0.90 0.08 68);
	--color-accent-300: oklch(0.85 0.115 66);
	--color-accent-700: oklch(0.58 0.13 58);
	--color-accent-800: oklch(0.47 0.105 56);
	--color-accent-900: oklch(0.36 0.08 54);
	--color-accent-2: #1a4e7e;
	--color-accent-2-100: oklch(0.93 0.02 250);
	--color-accent-2-700: oklch(0.30 0.07 256);
	--lbe-max: 1200px;
}

/* "clip" stops sideways overflow WITHOUT turning the body into its own
   scroll box. "hidden" did that on iPhone, which can freeze scrolling
   (stuck at the bottom of a page). Older browsers fall back to hidden. */
html {
	overflow-x: hidden; /* on html only: stops sideways page drift on phones */
}
body.lbe {
	overflow-x: hidden;
	overflow-x: clip;
	max-width: 100%;
}

body.lbe {
	margin: 0;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-body);
}

h1, h2, h3, h4,
.card-title {
	font-family: var(--font-heading);
	font-weight: 800;
}

a {
	color: var(--color-accent-700);
	text-decoration: none;
}

a:hover {
	color: var(--color-accent-800);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: 2px;
}

.lbe-wrap {
	max-width: var(--lbe-max);
	margin: 0 auto;
	padding: 0 32px;
}

/* ---------------------------------------------------------------------------
   2. Announcement bar
   ------------------------------------------------------------------------ */

.lbe-announce {
	background: var(--color-accent-2);
	color: var(--color-neutral-100);
	font-size: 13.5px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	padding: 9px 18px;
	flex-wrap: wrap;
}

.lbe-announce a {
	color: var(--color-accent-300);
	font-weight: 700;
}

.lbe-announce-sep {
	opacity: 0.5;
}

/* ---------------------------------------------------------------------------
   3. Header
   ------------------------------------------------------------------------ */

.lbe-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--color-bg);
	border-bottom: 1px solid var(--color-neutral-200);
}

.lbe-header-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	padding-top: 14px;
	padding-bottom: 14px;
}

.lbe-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--color-text);
}

.lbe-brand .custom-logo {
	width: 96px;
	height: 96px;
	object-fit: contain;
}

/* The horizontal lockup carries the wordmark, so it scales by width. */
.lbe-brandmark {
	width: 258px;
	height: auto;
	object-fit: contain;
}

.lbe-brandname {
	font-family: var(--font-heading);
	font-size: 22px;
	line-height: 1.05;
	white-space: nowrap;
}

.lbe-header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.lbe-cart {
	color: var(--color-text);
	font-size: 14px;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 6px;
}

.lbe-cart-count {
	background: var(--color-accent);
	color: var(--color-bg);
	border-radius: 999px;
	font-size: 11.5px;
	padding: 2px 8px;
}

.lbe-burger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: var(--radius-md);
	border: 1px solid var(--color-neutral-300);
	background: var(--color-surface);
	cursor: pointer;
	font-size: 20px;
	line-height: 1;
	color: var(--color-text);
}

/* ---------------------------------------------------------------------------
   4. One nav row, with hover dropdowns
   ------------------------------------------------------------------------ */

.lbe-navrow {
	border-top: 1px solid var(--color-neutral-200);
}

.lbe-navrow .lbe-wrap {
	display: flex;
	justify-content: center;
	padding-top: 9px;
	padding-bottom: 9px;
}

.lbe-nav ul.lbe-menu,
.lbe-fnav ul.lbe-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 18px;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	align-items: center;
}

.lbe-nav ul.lbe-menu > li > a {
	color: var(--color-text);
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.lbe-nav ul.lbe-menu > li > a:hover,
.lbe-nav ul.lbe-menu > li.current > a,
.lbe-nav ul.lbe-menu > li.current-menu-item > a,
.lbe-nav ul.lbe-menu > li.current_page_item > a {
	color: var(--color-accent-700);
}

.lbe-nav .caret {
	font-size: 10px;
	opacity: 0.65;
}

/* dropdown */
.lbe-nav ul.lbe-menu > li.ddw {
	position: relative !important;
}

/* Keep the panel on screen: flipped by theme.js when it would run off an edge. */
.lbe-nav .ddw.flip-right > .ddp {
	left: auto;
	right: 0;
	transform: none;
}
.lbe-nav .ddw.flip-left > .ddp {
	left: 0;
	transform: none;
}

.lbe-nav .ddp,
.lbe-nav ul.sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	padding-top: 14px;
	z-index: 60;
}

/* Invisible bridge so the mouse can travel from the link into the panel. */
.lbe-nav .ddp::before,
.lbe-nav ul.sub-menu::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: -24px;
	height: 40px;
}

.lbe-nav .ddw.open > .ddp {
	display: block;
}

.lbe-nav li.open > ul.sub-menu {
	display: grid;
}

.lbe-nav .ddp-inner {
	display: grid;
}

.lbe-nav .ddp-inner,
.lbe-nav ul.sub-menu {
	grid-template-columns: repeat(2, minmax(150px, 1fr));
	gap: 2px;
	background: var(--color-bg);
	border: 1px solid var(--color-neutral-200);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	padding: 12px;
	list-style: none;
	margin: 0;
}

.lbe-nav .ddp-inner a,
.lbe-nav ul.sub-menu a {
	padding: 8px 12px;
	border-radius: var(--radius-md);
	font-size: 14px;
	font-weight: 600;
	color: var(--color-text);
	white-space: nowrap;
	display: block;
}

.lbe-nav .ddp-inner a:hover,
.lbe-nav ul.sub-menu a:hover {
	background: var(--color-accent-100);
	color: var(--color-accent-800);
}

.lbe-nav .ddp-all {
	grid-column: 1 / -1;
	margin-top: 6px;
	border-top: 1px solid var(--color-neutral-200);
	font-size: 13.5px;
	font-weight: 800;
	color: var(--color-accent-700);
}

/* ---------------------------------------------------------------------------
   5. Mobile menu
   ------------------------------------------------------------------------ */

.lbe-mobile {
	border-top: 1px solid var(--color-neutral-200);
	background: var(--color-surface);
	padding: 10px 18px 16px;
	display: flex;
	flex-direction: column;
	/* Taller than the screen? The menu scrolls inside itself. */
	max-height: calc(100dvh - 130px);
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
}

.lbe-mobile[hidden] {
	display: none;
}

.lbe-mobile > a {
	padding: 13px 4px;
	font-size: 16px;
	font-weight: 700;
	color: var(--color-text);
	border-bottom: 1px solid var(--color-neutral-200);
}

.lbe-mobile > a.current {
	color: var(--color-accent-700);
}

.lbe-mobile-cta {
	margin-top: 14px;
	border-bottom: 0 !important;
	text-align: center;
}

/* ---------------------------------------------------------------------------
   6. Shared page furniture
   ------------------------------------------------------------------------ */

.lbe-main {
	display: block;
	min-height: 40vh;
}

.lbe-prose {
	padding-top: 40px;
	padding-bottom: 64px;
	max-width: 820px;
	font-size: 16.5px;
	line-height: 1.7;
	color: var(--color-neutral-700);
}

.lbe-prose h1 {
	font-size: 42px;
	line-height: 1.1;
	color: var(--color-text);
	margin: 0 0 18px;
}

.lbe-prose h2 {
	font-size: 26px;
	color: var(--color-text);
	margin: 32px 0 10px;
}

.lbe-rating {
	color: var(--color-accent-800);
	font-weight: 800;
}

.lbe-prices {
	width: 100%;
}

.lbe-prices-note {
	margin: 12px 0 0;
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--color-neutral-700);
}

/* WPForms slot placeholder — only visible to logged-in editors */
.lbe-form-slot {
	border: 2px dashed var(--color-accent-300);
	background: var(--color-accent-100);
	border-radius: var(--radius-lg);
	padding: 18px 20px;
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--color-accent-900);
}

.lbe-form-slot code {
	background: #fff;
	padding: 2px 6px;
	border-radius: 4px;
}

/* ---------------------------------------------------------------------------
   7. Footer
   ------------------------------------------------------------------------ */

.lbe-footer {
	background: var(--color-accent-2);
	color: var(--color-neutral-300);
	margin-top: 8px;
}

.lbe-footer a {
	color: var(--color-neutral-100);
}

.lbe-footer a:hover {
	color: var(--color-accent-300);
}

.lbe-footer-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
	padding-top: 48px;
	padding-bottom: 20px;
}

.lbe-footer-brand {
	display: flex;
	align-items: center;
	gap: 14px;
}

.lbe-footer-badge {
	width: 132px;
	height: 132px;
	object-fit: contain;
	flex-shrink: 0;
	background: #fff;
	border-radius: var(--radius-lg);
	padding: 12px;
	box-sizing: border-box;
}

.lbe-footer-name {
	font-family: var(--font-heading);
	font-size: 24px;
	color: #fff;
}

.lbe-footer-contact {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 14.5px;
	text-align: right;
}

.lbe-footer-nav ul.lbe-menu {
	flex-wrap: wrap;
	gap: 18px;
	padding-bottom: 22px;
	font-size: 14px;
}

.lbe-footer-legal {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	font-size: 12.5px;
	padding-top: 18px;
	padding-bottom: 30px;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* ---------------------------------------------------------------------------
   8. WooCommerce skin — shop, product, cart, checkout, account
   Woo renders these; we only make them match.
   ------------------------------------------------------------------------ */

.lbe-woo {
	padding: 34px 0 64px;
}

.woocommerce .page-title,
.woocommerce-products-header__title {
	font-family: var(--font-heading);
	font-size: 40px;
	line-height: 1.1;
	margin: 0 0 18px;
}

/* Shop grid: tidy cards, never giants. */
.woocommerce ul.products,
.woocommerce-page ul.products {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(240px, 300px));
	gap: 22px;
	justify-content: center;
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	width: auto !important;
	float: none !important;
	margin: 0 !important;

	border: 1px solid var(--color-neutral-200);
	border-radius: var(--radius-lg);
	background: #fff;
	padding: 16px;
	box-sizing: border-box;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.woocommerce ul.products li.product:hover {
	border-color: var(--color-accent);
	box-shadow: var(--shadow-md);
}

.woocommerce ul.products li.product img {
	border-radius: var(--radius-md);
	margin-bottom: 12px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--font-heading);
	font-size: 18px;
	font-weight: 800;
	padding: 0;
	color: var(--color-text);
}

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--color-accent-800);
	font-weight: 800;
	font-size: 18px;
}

.woocommerce div.product .product_title {
	font-family: var(--font-heading);
	font-size: 38px;
	line-height: 1.1;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	font-family: var(--font-body);
	font-weight: 700;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	border-bottom-color: var(--color-accent);
}

/* Buttons — one rule for Woo, Blocks and our own .btn */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.wc-block-components-button,
.wp-block-button__link {
	background: var(--color-accent) !important;
	color: var(--color-accent-900) !important;
	font-family: var(--font-body);
	font-weight: 800;
	font-size: 15px;
	border-radius: 999px !important;
	padding: 13px 28px;
	border: 0;
	text-shadow: none;
	transition: background 0.15s ease;
}

.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.wc-block-components-button:hover {
	background: var(--color-accent-300) !important;
	color: var(--color-accent-900) !important;
}

.woocommerce a.button.wc-forward,
.woocommerce .cart-collaterals a.button {
	background: var(--color-accent-2) !important;
	color: #fff !important;
}

/* Fields */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .quantity input.qty,
.wc-block-components-text-input input {
	border: 1px solid var(--color-neutral-300);
	border-radius: 999px;
	padding: 11px 16px;
	font-family: var(--font-body);
	font-size: 15px;
	background: #fff;
	color: var(--color-text);
}

.woocommerce form .form-row textarea {
	border-radius: var(--radius-md);
}

.woocommerce .quantity input.qty {
	width: 92px;
	text-align: center;
}

.woocommerce form .form-row label {
	font-weight: 700;
	font-size: 13.5px;
}

/* Tables: cart, order review, account orders */
.woocommerce table.shop_table,
.woocommerce-cart table.cart,
.woocommerce table.woocommerce-orders-table {
	border: 1px solid var(--color-neutral-200);
	border-radius: var(--radius-lg);
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
}

.woocommerce table.shop_table th {
	font-family: var(--font-body);
	font-weight: 800;
	font-size: 14px;
	background: var(--color-surface);
	color: var(--color-text);
}

.woocommerce table.shop_table td,
.woocommerce table.shop_table th {
	border-top: 1px solid var(--color-neutral-200);
	padding: 14px 16px;
}

.woocommerce .cart_item .variation,
.woocommerce .cart_item dl.variation {
	font-size: 13px;
	color: var(--color-neutral-700);
}

.lbe-freeship td span {
	display: inline-block;
	background: var(--color-accent-100);
	color: var(--color-accent-900);
	border-radius: 999px;
	padding: 6px 14px;
	font-size: 13px;
	font-weight: 700;
}

/* Notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.wc-block-components-notice-banner {
	border-top-color: var(--color-accent) !important;
	border-radius: var(--radius-md);
	background: var(--color-accent-100);
	font-size: 15px;
}

.woocommerce-message::before,
.woocommerce-info::before {
	color: var(--color-accent-700);
}

/* Account nav */
.woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.woocommerce-MyAccount-navigation ul li a {
	display: block;
	padding: 10px 14px;
	border-radius: var(--radius-md);
	font-weight: 700;
	font-size: 14.5px;
	color: var(--color-text);
}

.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li a:hover {
	background: var(--color-accent-100);
	color: var(--color-accent-800);
}

/* The reorder plugin's own markup, so it matches without editing the plugin */
.lbe-reorder {
	max-width: 820px;
}

.lbe-reorder h3 {
	font-family: var(--font-heading);
	font-size: 24px;
	margin: 26px 0 12px;
}

.lbe-reorder .lbe-order {
	border: 1px solid var(--color-neutral-200) !important;
	border-radius: var(--radius-lg) !important;
}

.lbe-reorder button {
	background: var(--color-accent);
	color: var(--color-accent-900);
	font-weight: 800;
	font-size: 15px;
	border: 0;
	border-radius: 999px;
	padding: 12px 24px;
	cursor: pointer;
}

.lbe-reorder button:hover {
	background: var(--color-accent-300);
}

.lbe-reorder input,
.lbe-reorder select {
	border: 1px solid var(--color-neutral-300);
	border-radius: 999px;
	padding: 10px 14px;
	font-family: var(--font-body);
	font-size: 15px;
}

.lbe-reorder .lbe-notice {
	background: var(--color-accent-100) !important;
	border-radius: var(--radius-md) !important;
	font-size: 14.5px;
}

/* ---------------------------------------------------------------------------
   9. Responsive — breakpoint is 1100px, matching the design
   ------------------------------------------------------------------------ */

@media (max-width: 1100px) {
	.lbe-wrap {
		padding-left: 18px;
		padding-right: 18px;
	}

	.lbe-navrow {
		display: none;
	}

	.lbe-burger {
		display: flex;
	}

	.lbe-hidesm {
		display: none !important;
	}

	.lbe-brandmark {
		width: 186px;
	}

	.lbe-brand .custom-logo {
		width: 62px;
		height: 62px;
	}

	.lbe-brandname {
		font-size: 19px;
	}

	.lbe-footer-contact {
		text-align: left;
	}

	.lbe-prose h1 {
		font-size: 32px;
	}

	/* The page templates keep the design's data-m hooks */
	[data-page] {
		min-width: 0 !important;
	}

	[data-m="stack"] {
		grid-template-columns: minmax(0, 1fr) !important;
		min-width: 0 !important;
		gap: 24px !important;
	}

	[data-m="two"] {
		grid-template-columns: 1fr 1fr !important;
		gap: 16px !important;
	}

	[data-m="pad"] {
		padding-left: 18px !important;
		padding-right: 18px !important;
	}

	[data-m="wrap"] {
		flex-wrap: wrap !important;
	}

	[data-page] * {
		min-width: 0;
	}

	[data-page] [style*="repeat(8, 44px)"],
	[data-page] [style*="repeat(8, 1fr)"] {
		grid-template-columns: repeat(auto-fill, minmax(38px, 1fr)) !important;
	}

	[data-page] [style*="repeat(8, 44px)"] > *,
	[data-page] [style*="repeat(8, 1fr)"] > * {
		width: auto !important;
		min-width: 0 !important;
		aspect-ratio: 1 / 1 !important;
		height: auto !important;
	}

	[data-page] [style*="padding: 32px;"] {
		padding: 20px 16px !important;
	}

	[data-page] h1 {
		font-size: 34px !important;
		width: 100% !important;
		max-width: none !important;
	}

	[data-page] h2 {
		font-size: 26px !important;
	}

	[data-page] section,
	[data-page] > div > div {
		padding-left: 18px !important;
		padding-right: 18px !important;
	}

	.woocommerce ul.products li.product,
	.woocommerce-page ul.products li.product {
		width: 48% !important;
	}
}

@media (max-width: 640px) {
	.woocommerce ul.products li.product,
	.woocommerce-page ul.products li.product {
		width: 100% !important;
		margin-right: 0 !important;
	}
}

/* Print */
@media print {
	.lbe-announce,
	.lbe-header,
	.lbe-footer,
	.lbe-burger {
		display: none !important;
	}
}

/* --- Small phones: 390px and down ---------------------------------------- */
@media (max-width: 430px) {
	.lbe-wrap {
		padding-left: 14px;
		padding-right: 14px;
	}

	.lbe-announce {
		font-size: 12.5px;
		padding: 8px 12px;
		gap: 6px;
	}

	.lbe-announce-sep {
		display: none;
	}

	.lbe-header-top {
		gap: 12px;
		padding-top: 10px;
		padding-bottom: 10px;
	}

	.lbe-brandmark {
		width: 150px;
	}

	.lbe-brand .custom-logo {
		width: 48px;
		height: 48px;
	}

	.lbe-brandname {
		font-size: 16px;
		white-space: normal;
		line-height: 1.1;
	}

	.lbe-header-actions {
		gap: 8px;
	}

	.lbe-burger {
		width: 44px;
		height: 44px;
	}

	.lbe-mobile > a {
		padding: 14px 4px;
		min-height: 44px;
		display: flex;
		align-items: center;
	}

	.lbe-footer-top {
		padding-top: 32px;
		gap: 20px;
	}

	.lbe-footer-badge {
		width: 104px;
		height: 104px;
		padding: 9px;
	}

	.lbe-footer-name {
		font-size: 20px;
	}

	.lbe-footer-legal {
		font-size: 11.5px;
	}

	/* Page content: nothing may exceed the viewport. */
	[data-page] {
		overflow-x: clip;
	}

	[data-page] img,
	[data-page] table {
		max-width: 100%;
	}

	[data-page] h1 {
		font-size: 28px !important;
	}

	[data-page] h2 {
		font-size: 22px !important;
	}

	[data-page] h3 {
		font-size: 17px !important;
	}

	[data-page] section,
	[data-page] > div > div {
		padding-left: 14px !important;
		padding-right: 14px !important;
	}

	[data-page] [style*="padding: 48px"],
	[data-page] [style*="padding: 44px"] {
		padding: 26px 16px !important;
	}

	[data-page] .btn,
	[data-page] button,
	[data-page] a.btn {
		min-height: 44px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	[data-m="two"] {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	.table,
	.lbe-prices {
		font-size: 13.5px;
	}

	.table th,
	.table td {
		padding: 9px 8px;
	}
}

/* Checkout: the coupon prompt is a quiet one-liner, not a banner. */
.woocommerce-form-coupon-toggle .woocommerce-info {
	background: none;
	border: 0;
	padding: 2px 0;
	margin: 0 0 10px;
	font-size: 13.5px;
	color: var(--color-neutral-500);
	box-shadow: none;
}
.woocommerce-form-coupon-toggle .woocommerce-info::before {
	display: none;
}

/* ---------------------------------------------------------------------------
   Order form (the Woo single product page) — skin it like the rest of the
   new site: pill inputs, roomy spacing, brand buttons. No plugin edits.
--------------------------------------------------------------------------- */
.single-product div.product .price {
	font-family: var(--font-heading);
	font-size: 30px;
	color: var(--color-accent-700);
}

.single-product form.cart {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 10px;
}

/* Flavor / Cap Color rows: label above a full-width pill select */
.single-product table.variations,
.single-product table.variations tbody,
.single-product table.variations tr,
.single-product table.variations th,
.single-product table.variations td {
	display: block;
	width: 100%;
	border: 0;
	padding: 0;
	text-align: left;
}
.single-product table.variations tr { margin: 0 0 14px; }
.single-product table.variations th.label {
	font-size: 14px;
	font-weight: 700;
	color: var(--color-text);
	padding-bottom: 6px;
}
.single-product form.cart select,
.single-product form.cart input[type="text"],
.single-product form.cart input[type="email"],
.single-product form.cart input[type="tel"],
.single-product form.cart input[type="number"],
.single-product form.cart textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 18px;
	border: 2px solid var(--color-neutral-200);
	border-radius: 999px;
	background: #fff;
	font-size: 15px;
	font-family: var(--font-body);
	color: var(--color-text);
	appearance: auto;
}
.single-product form.cart textarea {
	border-radius: 18px;
	min-height: 96px;
	resize: vertical;
}
.single-product form.cart select:focus,
.single-product form.cart input:focus,
.single-product form.cart textarea:focus {
	outline: none;
	border-color: var(--color-accent-500, #f0a028);
}
.single-product form.cart label {
	font-size: 14px;
	font-weight: 700;
	color: var(--color-text);
}
.single-product .reset_variations { font-size: 12.5px; }

/* Quantity + Add to cart */
.single-product form.cart .quantity input.qty {
	border-radius: 999px;
	width: 110px;
	text-align: center;
	padding: 12px 10px;
}
.single-product form.cart .single_add_to_cart_button {
	background: var(--color-accent-600, #e08a00);
	color: #fff;
	border: 0;
	border-radius: 999px;
	padding: 15px 34px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	align-self: flex-start;
}
.single-product form.cart .single_add_to_cart_button:hover { filter: brightness(1.06); }

.single-product .woocommerce-breadcrumb { font-size: 13px; color: var(--color-neutral-500); }
.single-product .product_meta { display: none; }

/* Shop grid: sensible card sizes no matter how few products there are. */
.woocommerce ul.products,
.woocommerce-page ul.products {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(250px, 320px));
	gap: 24px;
	justify-content: center;
	margin: 0 0 32px;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.woocommerce ul.products li.product img {
	width: 100%;
	max-width: 260px;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	background: #fff;
}
.woocommerce ul.products li.product .button {
	margin-top: 10px;
}

/* Hero: the peach oval crowds the photo on tablet widths — hide it there. */
@media (max-width: 1100px) {
	[data-hero-blob] { display: none; }
}


.lbe-gal-colhead {
	font-family: var(--font-heading);
	font-size: 21px;
	margin: 26px 0 10px;
	color: var(--color-text);
}

/* ------- Wizard on phones: rows wrap, nothing runs off-screen ------- */
#lbe-wizard [data-line-colors],
#lbe-sanitizer [data-line-colors],
#lbe-wizard [data-font-colors],
#lbe-sanitizer [data-font-colors] {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
	max-width: 100%;
}

#lbe-wizard [data-line-colors] button,
#lbe-sanitizer [data-line-colors] button,
#lbe-wizard [data-font-colors] button,
#lbe-sanitizer [data-font-colors] button {
	min-height: 0 !important;
	flex: 0 0 auto;
}

#lbe-wizard textarea,
#lbe-wizard input[type="text"],
#lbe-wizard input[type="number"],
#lbe-sanitizer textarea,
#lbe-sanitizer input[type="text"],
#lbe-sanitizer input[type="number"] {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}


/* While the phone menu is open the page behind it holds still. */
html.lbe-menu-open,
html.lbe-menu-open body {
	overflow: hidden;
}
html.lbe-menu-open .lbe-mobile {
	touch-action: pan-y;
}

/* Phone menu: category groups fold closed until tapped. */
.lbe-mobile-group summary {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 11px 2px;
	font-weight: 700;
	font-size: 16px;
	cursor: pointer;
	border-bottom: 1px solid var(--color-neutral-150, #eee8df);
}
.lbe-mobile-group summary::-webkit-details-marker { display: none; }
.lbe-mobile-group summary span { transition: transform 160ms ease; color: var(--color-accent); font-size: 20px; }
.lbe-mobile-group[open] summary span { transform: rotate(90deg); }
.lbe-mobile-group > div { padding-left: 12px; display: flex; flex-direction: column; }


/* Phones: a heading block and a button sharing one row squeezed the text into
   a one-word-wide column. Let those rows wrap so text gets the full width. */
@media (max-width: 700px) {
	[data-page] [style*="justify-content: space-between"] {
		flex-wrap: wrap;
	}
	[data-page] [style*="justify-content: space-between"] > [style*="max-width: 640px"],
	[data-page] [style*="justify-content: space-between"] > [style*="max-width: 600px"],
	[data-page] [style*="justify-content: space-between"] > [style*="max-width: 560px"] {
		flex: 1 1 100%;
		min-width: 0;
	}
}

/* Wedding page: 6-across design thumbnails were postage-stamp size on phones.
   Show 3 across (2 rows) so each design is about twice as big. */
@media (max-width: 700px) {
	[data-page] [style*="repeat(6, 1fr)"] {
		grid-template-columns: repeat(3, 1fr) !important;
		gap: 10px !important;
	}
}

/* Phones: button + phone-number rows ran off the right edge. */
@media (max-width: 700px) {
	[data-page] [style*="flex-shrink: 0"][style*="display: flex"] {
		flex-wrap: wrap;
		max-width: 100%;
	}
}

/* Phones: a "span 2" photo inside a stacked grid created a phantom second
   column and squeezed the next photo to a sliver (wedding photo strip). */
@media (max-width: 700px) {
	[data-m="stack"] > [style*="span 2"],
	[data-m="stack"] > [style*="span 3"] {
		grid-column: auto !important;
	}
	[data-m="stack"] > img[style*="height: 300px"] {
		height: auto !important;
		max-height: 340px;
	}
}

/* Phones: big blue call-to-action boxes kept 52-64px desktop side padding,
   squeezing their text into a narrow column. */
@media (max-width: 700px) {
	[data-page] [style*="padding: 44px 52px"],
	[data-page] [style*="padding: 48px 56px"],
	[data-page] [style*="padding: 48px 64px"],
	[data-page] [style*="padding: 52px 64px"],
	[data-page] [style*="padding: 56px 64px"],
	[data-page] [style*="padding: 40px 40px"] {
		padding: 32px 20px !important;
	}
}

/* Phone-menu "Chat with us" link (shown only when Tawk chat is on the site). */
.lbe-mobile-chat {
	display: block;
	text-align: center;
	font-weight: 700;
	padding: 12px;
	margin-top: 8px;
	color: var(--color-accent-2);
}
.lbe-open-chat[hidden] { display: none !important; }
