/*
 * Alka Salts brand layer on top of HWD Commerce.
 * Matches myalkasalts.com: cobalt / lemon / abyss / salt, Sofia Sans + Sofia Sans Extra Condensed.
 */

/* ---------- Header ---------- */
.site-header { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08); }
.site-header__logo { display: block; flex: none; border-radius: 6px; }
.site-header__logo img { display: block; width: 200px; height: auto; }
@media (max-width: 767px) {
	.site-header__logo img { width: 150px; }
}
.site-header .wp-block-navigation { font-size: 1rem; }

/* ---------- Storefront (shop home) ---------- */
.shop-front__intro { margin-bottom: var(--wp--preset--spacing--60); }
.shop-front__title {
	margin: 0;
	color: var(--wp--preset--color--dark);
	font-size: var(--wp--preset--font-size--display);
	line-height: 0.86;
	letter-spacing: -0.01em;
}
.shop-front__lead {
	max-width: 34ch;
	margin-top: 20px;
	color: var(--wp--preset--color--contrast);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.4;
}
/* Two up from tablet width. Explicit columns: WooCommerce's responsive grid assumes its own gap. */
.shop-front__products .wc-block-product-template {
	grid-template-columns: minmax(0, 1fr);
	gap: 56px clamp(28px, 4vw, 56px);
}
@media (min-width: 700px) {
	.shop-front__products .wc-block-product-template { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.shop-front__products .wp-block-post-title.shop-front__name {
	margin: 24px 0 0;
	font-size: var(--wp--preset--font-size--x-large);
	line-height: 0.95;
}
/* Card as a column so the price/button row lines up across cards whatever the summary length */
.shop-front__products .wc-block-product { display: flex; flex-direction: column; }
.shop-front__summary { margin: 10px 0 20px; max-width: 46ch; color: var(--wp--preset--color--muted); }
.shop-front__summary p { margin: 0; }
.shop-front__buy {
	margin-top: auto;
	padding-top: 20px;
	border-top: 1.5px solid var(--wp--preset--color--border);
	gap: 16px;
}
.shop-front__buy .wp-block-woocommerce-product-price,
.shop-front__buy .wp-block-woocommerce-product-button { margin: 0; }
.shop-front__buy .wc-block-components-product-price {
	color: var(--wp--preset--color--dark);
	font-size: 1.6rem;
	font-weight: 700;
}

/* ---------- Footer (same layout as myalkasalts.com) ---------- */
.site-footer { font-size: 1rem; }
.site-footer__inner { width: 100%; }
.site-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: 40px;
}
.site-footer__brand img { display: block; width: 220px; height: auto; }
.site-footer__brand p { margin: 18px 0 0; max-width: 34ch; }
.site-footer__brand .site-footer__maker { margin-top: 8px; font-size: 0.92rem; }
.site-footer__heading {
	margin: 0 0 14px;
	color: #fff;
	font-family: var(--wp--preset--font-family--body);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
}
.site-footer ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.site-footer a { text-decoration: none; }
.site-footer__maker a,
.site-footer__bottom a { text-decoration: underline; text-underline-offset: 3px; }
.site-footer__disclaimer {
	margin: 48px 0 0;
	padding: 20px 24px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 14px;
	font-size: 0.92rem;
	line-height: 1.55;
}
.site-footer__disclaimer strong { display: block; margin-bottom: 4px; color: #fff; font-weight: 600; }
.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px 24px;
	margin-top: 32px;
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.92rem;
}
.site-footer__bottom p { margin: 0; }
.site-footer__legal { display: flex; gap: 20px; }
@media (max-width: 767px) {
	.site-footer__top { grid-template-columns: 1fr 1fr; }
	.site-footer__brand { grid-column: 1 / -1; }
}

/* ---------- Supplement Facts (FDA panel, as on the jar) ---------- */
.supplement-facts {
	max-width: 24rem;
	margin: 2rem 0;
	padding: 0.6em 0.75em 0.75em;
	border: 1px solid #000;
	background: #fff;
	color: #000;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 15px;
	line-height: 1.3;
}
.supplement-facts p { margin: 0.2em 0 0; font-size: 0.9em; }
.supplement-facts .supplement-facts__title {
	margin: 0;
	padding-bottom: 0.15em;
	border-bottom: 1px solid #000;
	font-family: "Arial Black", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 1.75em;
	font-weight: 900;
	line-height: 1.05;
	letter-spacing: -0.03em;
}
.supplement-facts table {
	width: 100%;
	margin: 0.3em 0 0;
	border-collapse: collapse;
	border-top: 7px solid #000;
	border-bottom: 7px solid #000;
	font-size: 0.88em;
}
.supplement-facts th,
.supplement-facts td { padding: 0.35em 0; border: 0; background: none; text-align: left; }
.supplement-facts thead th {
	border-bottom: 1px solid #000;
	font-size: 0.85em;
	font-weight: 700;
	text-align: right;
	white-space: nowrap;
}
.supplement-facts thead th:first-child { text-align: left; }
.supplement-facts thead th + th,
.supplement-facts tbody td { padding-left: 0.6em; }
.supplement-facts tbody th { font-weight: 700; }
.supplement-facts tbody th span { display: block; font-size: 0.92em; font-weight: 400; }
.supplement-facts tbody td { text-align: right; white-space: nowrap; }
.supplement-facts tbody tr + tr > * { border-top: 1px solid #000; }
.supplement-facts .supplement-facts__other { font-size: 0.8em; }
