/*
 * sn-buttons: one button style for the public site (2026-11-22, owner's choice: black, slightly rounded).
 * Loaded by ../sn-buttons.php on every front-end page except /dashboard/.
 * The theme and plugins style buttons with many !important rules; every rule here starts with
 * "html body" so it wins on specificity without depending on load order.
 *
 * Main:      #222, white text, 4px corners, icon inside on the left, 34px tall (42px on phones).
 *            Toned down the same day at the owner's request ("a bit massive and bold"): normal weight, smaller.
 * Secondary: white with a 1px #222 border (Subscribe next to Buy now, Where to buy, Return to shop).
 */

/* ---------- Main buttons ---------- */
html body form.cart button,
html body form.cart button.single_add_to_cart_button,
html body ul.products li.product a.button,
html body p.product a.add_to_cart_button,
html body p.product a.button,
html body .woocommerce a.button,
html body .woocommerce button.button,
html body .woocommerce input.button,
html body .woocommerce-page a.button,
html body .woocommerce-page button.button,
html body .woocommerce-page input.button,
html body #place_order,
html body input.checkout-button,
html body a.checkout-button,
html body .wpcf7 input.wpcf7-submit,
html body .widget .search-form input[type=submit],
html body .sn-ip a.button.sn-ip-solid,
html body .sn-ip-find input[type=submit],
html body .sn-ap a.sn-ap-solid,
html body .sn-ap button.sn-ap-solid,
html body .sn-ap-find button,
html body .sn-is-form button,
html body .sn-is-note a.button,
html body .sn-is-actions a.sn-is-btn,
html body .sn-ip a.button.sn-ip-outline,
html body .sn-ap a.sn-ap-outline {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 7px;
	box-sizing: border-box !important;
	position: relative !important;
	height: auto !important;
	min-height: 34px !important;
	margin: 0;
	padding: 0 12px !important;
	border: 1px solid #222 !important;
	border-radius: 4px !important;
	background: #222 !important;
	background-image: none !important;
	color: #fff !important;
	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 14px !important;
	font-weight: normal !important;
	line-height: 1.2 !important;
	letter-spacing: 0;
	text-align: center;
	text-decoration: none !important;
	text-shadow: none !important;
	text-transform: none !important;
	white-space: nowrap;
	box-shadow: none !important;
	opacity: 1 !important;
	cursor: pointer;
	vertical-align: middle;
	-webkit-appearance: none;
	appearance: none;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

html body form.cart button:hover,
html body ul.products li.product a.button:hover,
html body p.product a.add_to_cart_button:hover,
html body p.product a.button:hover,
html body .woocommerce a.button:hover,
html body .woocommerce button.button:hover,
html body .woocommerce input.button:hover,
html body .woocommerce-page a.button:hover,
html body .woocommerce-page button.button:hover,
html body .woocommerce-page input.button:hover,
html body #place_order:hover,
html body input.checkout-button:hover,
html body a.checkout-button:hover,
html body .wpcf7 input.wpcf7-submit:hover,
html body .widget .search-form input[type=submit]:hover,
html body .sn-ip a.button.sn-ip-solid:hover,
html body .sn-ip-find input[type=submit]:hover,
html body .sn-ap a.sn-ap-solid:hover,
html body .sn-ap button.sn-ap-solid:hover,
html body .sn-ap-find button:hover,
html body .sn-is-form button:hover,
html body .sn-is-note a.button:hover,
html body .sn-is-actions a.sn-is-btn:hover {
	background: #444 !important;
	border-color: #444 !important;
	color: #fff !important;
}

/* Icons (Font Awesome <i>): inside the button, before the label, in the text colour. The theme
   drew them as a separate blue or grey box on the right. */
html body form.cart button i,
html body ul.products li.product a.button i,
html body p.product a.add_to_cart_button i,
html body p.product a.button i,
html body .woocommerce a.button i,
html body .woocommerce button.button i {
	display: inline-block !important;
	position: static !important;
	order: -1;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
	color: inherit !important;
	font-size: 14px !important;
	line-height: 1 !important;
}

/* ---------- Secondary buttons ---------- */
html body .sn-ip a.button.sn-ip-outline,
html body .sn-ap a.sn-ap-outline,
html body .woocommerce a.button.wc-backward,
html body aside.widget ul.products li.product a.button[href*="where-to-buy"] {
	background: #fff !important;
	color: #222 !important;
	border-color: #222 !important;
}
html body .sn-ip a.button.sn-ip-outline:hover,
html body .sn-ap a.sn-ap-outline:hover,
html body .woocommerce a.button.wc-backward:hover,
html body aside.widget ul.products li.product a.button[href*="where-to-buy"]:hover {
	background: #f0f0f0 !important;
	color: #222 !important;
	border-color: #222 !important;
}

/* Keyboard focus. */
html body form.cart button:focus-visible,
html body ul.products li.product a.button:focus-visible,
html body p.product a.button:focus-visible,
html body .woocommerce a.button:focus-visible,
html body .woocommerce button.button:focus-visible,
html body #place_order:focus-visible,
html body .wpcf7 input.wpcf7-submit:focus-visible,
html body .widget .search-form input[type=submit]:focus-visible,
html body .sn-ip a.button:focus-visible,
html body .sn-ip-find input[type=submit]:focus-visible,
html body .sn-ap a.sn-ap-solid:focus-visible,
html body .sn-ap a.sn-ap-outline:focus-visible,
html body .sn-ap button:focus-visible,
html body .sn-is-form button:focus-visible,
html body .sn-is-actions a.sn-is-btn:focus-visible,
html body .sn-btn:focus-visible {
	outline: 2px solid #3B5998 !important;
	outline-offset: 2px;
}

/* ---------- Places that need their own sizes ---------- */

/* Sidebar "In shops now": two buttons share a narrow column. */
html body aside.widget ul.products li.product a.button {
	padding: 0 10px !important;
	font-size: 13px !important;
	margin-top: 6px;
}

/* Place order and the cart's checkout button are the one big action on their page. */
html body #place_order,
html body .wc-proceed-to-checkout a.checkout-button {
	min-height: 42px !important;
	padding: 0 20px !important;
	font-size: 15px !important;
}

/* Directory buttons (lib/css/directory.css) already match; only the corners change. */
html body .sn-btn { border-radius: 4px; }

/* Links that WooCommerce marks "button" inside the theme's notice boxes stay plain links. */
html body .product_description_alert a.button,
html body .woocommerce-message a.button,
html body .woocommerce-info a.button,
html body .woocommerce-error a.button {
	display: inline !important;
	min-height: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	color: inherit !important;
	font-size: inherit !important;
	font-weight: bold !important;
	text-decoration: underline !important;
}

/* Phones and tablets: bigger tap targets. */
@media only screen and (max-width: 768px) {
	html body form.cart button,
	html body ul.products li.product a.button,
	html body p.product a.add_to_cart_button,
	html body p.product a.button,
	html body .woocommerce a.button,
	html body .woocommerce button.button,
	html body .woocommerce input.button,
	html body .wpcf7 input.wpcf7-submit,
	html body .widget .search-form input[type=submit],
	html body .sn-ip a.button.sn-ip-solid,
	html body .sn-ip a.button.sn-ip-outline,
	html body .sn-ip-find input[type=submit],
	html body .sn-ap a.sn-ap-solid,
	html body .sn-ap button.sn-ap-solid,
	html body .sn-ap a.sn-ap-outline,
	html body .sn-ap-find button,
	html body .sn-is-form button,
	html body .sn-is-actions a.sn-is-btn {
		min-height: 42px !important;
		font-size: 15px !important;
	}
}

/* Search boxes next to these buttons: same height as the button. */
html body .sn-ip-find input[type=text],
html body .sn-ap-find input[type=search],
html body .sn-ap-find select { height: 34px; box-sizing: border-box; border-radius: 4px; }
@media only screen and (max-width: 768px) {
	html body .sn-ip-find input[type=text],
	html body .sn-ap-find input[type=search],
	html body .sn-ap-find select { height: 42px; }
}
