/* PP Quote - main-menu "Quote" item (loaded on every page; tiny). */
.pp-quote-count { display: inline-block; min-width: 1.5em; height: 1.5em; line-height: 1.5em; margin-left: .35em; padding: 0 .35em; border-radius: .75em; background: #84ab49; color: #fff; font-size: 11px; font-weight: 700; text-align: center; vertical-align: middle; position: relative; top: -2px; }
.pp-quote-count[hidden] { display: none; }
/* Theme menu links use line-height:125px, hence vertical-align: middle above. */
/* The theme's desktop menu is already at full width at 1199–1439px (Contact wraps at 1200px before this item
   is added). Tighten item spacing slightly in that range so the extra item fits. */
@media (min-width: 1199px) and (max-width: 1439px) {
	#sf-menu #sf-navigation > li.menu-item > a { padding-left: 10px; padding-right: 10px; }
}
@media (min-width: 1199px) and (max-width: 1299px) {
	#sf-menu #sf-navigation > li.menu-item > a { padding-left: 7px; padding-right: 7px; }
}
.pp-quote-mob { display: none; }

/* ===== 0.6.3 phones and tablets (the theme's burger header is used up to 1198px). Nick 11-25: mobile UX pass. ===== */
@media (max-width: 1198px) {
	/* The floating search button covered page content (the "Added… View quote list" message, the quote page product
	   picker, card text). The header has its own search button at these widths. */
	.search-bubble { display: none !important; }
	/* iOS zooms the page when a field under 16px gets focus. */
	header input#s, .search-bar input[type="search"], .search-bar input[type="text"] { font-size: 16px !important; }

	/* Burger badge: how many products are in the quote list. */
	.responsive-menu a { position: relative; }
	.pp-quote-count--burger { position: absolute; top: -9px; right: -9px; margin: 0; box-shadow: 0 0 0 2px #fff; }

	/* Phone menu: "Quote list" first, as a button, so it is the first thing seen when the menu opens. */
	#sf-navigation { display: flex; flex-direction: column; }
	#sf-navigation > li.menu-item-pp-quote { order: -1; width: auto !important; margin: 6px 16px 10px; box-sizing: border-box; }
	#sf-navigation > li.menu-item-pp-quote > a { display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 48px; padding: 10px 16px !important; border: 2px solid #84ab49; border-radius: 6px; background: #f3f8ec; color: #4f7a24 !important; font-weight: 700; line-height: 1.2 !important; }
	#sf-navigation > li.menu-item-pp-quote .pp-quote-mob { display: inline; }
	#sf-navigation > li.menu-item-pp-quote .pp-quote-count { top: 0; }

	/* Bottom bar while the quote list has products (menu.php). */
	.pp-qbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 8px 16px calc(8px + env(safe-area-inset-bottom, 0px)); background: #2f3133; color: #fff !important; font-size: 15px; line-height: 1.3; text-decoration: none !important; box-shadow: 0 -2px 12px rgba(0, 0, 0, .18); }
	.pp-qbar[hidden] { display: none; }
	.pp-qbar__text { min-width: 0; }
	.pp-qbar__text strong { font-weight: 700; }
	.pp-qbar__n { color: #cfe3b2; white-space: nowrap; }
	.pp-qbar__go { flex: 0 0 auto; padding: 9px 14px; border-radius: 5px; background: #84ab49; color: #fff; font-weight: 700; white-space: nowrap; }
	.pp-qbar:hover .pp-qbar__go, .pp-qbar:focus-visible .pp-qbar__go { background: #5f8a2c; }
	html.pp-has-qbar body { padding-bottom: 64px; }
	html.pp-typing .pp-qbar { display: none; }
}
@media (min-width: 1199px) { .pp-qbar { display: none !important; } }

/* Phones: the address + hours strip under the header took ~105px of the first screen. Smaller and tighter (~70px). */
@media (max-width: 480px) {
	.menu-new p.mobile-only { padding: 2px 12px; font-size: 13px; line-height: 1.35; }
	.menu-new p.mobile-only:first-of-type { padding-top: 7px; }
	.menu-new p.mobile-only:last-of-type { padding-bottom: 7px; }
}
@media (max-width: 486px) {
	body.hours-address-padding { padding-top: 136px; }
	body.msg-banner-hours-address-padding { padding-top: 206px; }
}
/* Theme: the address strip (absolute, under the header) covered the first items of the open burger menu (Home,
   Products, and now Quote list). Hide it while the menu is open (the theme sets header.remove-fixed then). */
@media (max-width: 1198px) { header.remove-fixed #hours-address { display: none !important; } }
