/*
Theme Name: Ogleby Butchers
Theme URI: https://www.oglebybutchers.co.uk
Author: Adam Wheater
Description: Custom theme for Ogleby Butchers, Hereford. Styles WooCommerce's own templates; no page builder.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
WC requires at least: 8.0
License: Proprietary
Text Domain: ogleby-butchers
*/

/* Palette, taken from the shop rather than invented:
 * --red    the brand red the site has always used (#B84236), 5.4:1 on white
 * --slate  the black board every product is photographed on
 * --steel  the logo's own grey
 * --paper  butcher's paper, a cool white rather than cream
 */
:root {
	--red: #b84236;
	--red-dk: #97352b;
	--slate: #1c1d1f;
	--slate-2: #2a2b2e;
	--steel: #545454;
	--muted: #5d5e61;
	--paper: #f6f6f4;
	--white: #fff;
	--rule: #e2e1dd;
	--ok: #2f6b3a;
	--display: "Big Shoulders", "Arial Narrow", sans-serif;
	--body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--radius: 4px;
	--wrap: 1200px;
}

@font-face {
	font-family: "Big Shoulders";
	src: url("assets/fonts/big-shoulders.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
}

@font-face {
	font-family: "Public Sans";
	src: url("assets/fonts/public-sans.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
}

/* Base ------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--white);
	color: var(--slate);
	font: 400 1rem/1.6 var(--body);
}

img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }

a { color: var(--red); text-underline-offset: 0.15em; }
a:hover { color: var(--red-dk); }

h1, h2, h3, .h3 {
	font-family: var(--display);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	margin: 0 0 0.5em;
	color: var(--slate);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
h3, .h3 { font-size: 1.5rem; }

p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { max-width: 640px; }

.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 100;
	background: var(--slate); color: var(--white); padding: 10px 16px;
}
.skip-link:focus { left: 8px; top: 8px; }

.kicker {
	font: 600 0.8rem/1 var(--body);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--red);
	margin-bottom: 0.9em;
}

.btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wpcf7 input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4em;
	min-height: 46px;
	padding: 0.7em 1.4em;
	border: 2px solid var(--red);
	border-radius: var(--radius);
	background: var(--red);
	color: var(--white);
	font: 700 1.05rem/1 var(--display);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s, border-color 0.15s;
}

.btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.wpcf7 input[type="submit"]:hover {
	background: var(--red-dk);
	border-color: var(--red-dk);
	color: var(--white);
}

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
	background: var(--slate);
	border-color: var(--slate);
	color: var(--white);
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
	background: var(--red);
	border-color: var(--red);
}

.woocommerce button.button:disabled,
.woocommerce button.button.disabled,
.woocommerce button.button.alt:disabled,
.woocommerce button.button.alt.disabled,
.woocommerce button.button.alt:disabled[disabled],
.woocommerce button.button.alt.disabled:hover {
	background: var(--steel);
	border-color: var(--steel);
	opacity: 0.6;
}

.btn--ghost { background: transparent; color: var(--white); border-color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--slate); border-color: var(--white); }

.more {
	font: 700 1rem/1 var(--display);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
}
.more::after { content: " \2192"; }

/* Header ----------------------------------------------------------------- */

.topbar {
	background: var(--slate);
	color: #d9d9d6;
	font-size: 0.85rem;
}
.topbar__inner {
	display: flex; justify-content: space-between; gap: 16px;
	padding-block: 8px;
}
.topbar__right { display: flex; gap: 20px; }
.topbar a { color: var(--white); text-decoration: none; font-weight: 600; }

/* A butcher's-apron stripe under the header: the one ornament on the site. */
.site-header {
	background: var(--white);
	border-bottom: 6px solid transparent;
	border-image: repeating-linear-gradient(90deg, var(--red) 0 14px, var(--white) 14px 22px) 6;
	position: sticky; top: 0; z-index: 50;
}

.nav {
	display: flex; align-items: center; gap: 28px;
	min-height: 78px;
}

.nav__brand { display: grid; gap: 4px; text-decoration: none; flex: none; }
.nav__brand img { width: 230px; height: auto; }
.nav__est {
	font: 600 0.72rem/1 var(--body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}

.nav__primary { margin-left: auto; }
.nav__menu { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav__menu a {
	display: block; padding: 10px 12px;
	font: 700 1.1rem/1 var(--display); letter-spacing: 0.06em; text-transform: uppercase;
	color: var(--slate); text-decoration: none;
}
.nav__menu a:hover,
.nav__menu .current-menu-item > a,
.nav__menu a[aria-current="page"] { color: var(--red); }

.nav__tools { display: flex; align-items: center; gap: 18px; }
.account-link { color: var(--slate); font-weight: 600; text-decoration: none; font-size: 0.95rem; }
.basket-link {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 8px 14px; border-radius: var(--radius);
	background: var(--slate); color: var(--white); text-decoration: none;
	font: 700 1rem/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase;
}
.basket-link:hover { background: var(--red); color: var(--white); }
.basket-count {
	min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
	display: inline-grid; place-items: center;
	background: var(--red); color: var(--white); font: 700 0.8rem/1 var(--body);
}
.basket-link:hover .basket-count { background: var(--slate); }

.nav__toggle {
	display: none; margin-left: auto;
	width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer;
	flex-direction: column; justify-content: center; gap: 5px; padding: 11px;
}
.nav__toggle span { height: 2px; background: var(--slate); display: block; }

@media (max-width: 960px) {
	.topbar__delivery { display: none; }
	.nav { flex-wrap: wrap; gap: 12px; min-height: 66px; }
	.nav__brand img { width: 180px; }
	.nav__toggle { display: flex; order: 3; margin-left: 0; }
	.nav__tools { margin-left: auto; order: 2; }
	.account-link { display: none; }
	.nav__primary { order: 4; flex-basis: 100%; margin: 0; display: none; }
	.nav.is-open .nav__primary { display: block; }
	.nav__menu { flex-direction: column; padding-bottom: 12px; }
	.nav__menu a { padding: 12px 0; border-top: 1px solid var(--rule); }
}

@media (max-width: 480px) {
	.topbar__inner > span:first-child { display: none; }
	.topbar__inner { justify-content: flex-end; }
	.nav__brand img { width: 150px; }
	.nav__est { display: none; }
}

/* Home ------------------------------------------------------------------- */

.hero {
	position: relative;
	background: var(--slate);
	color: var(--white);
	overflow: hidden;
}
.hero__img {
	position: absolute; inset: 0; width: 100%; height: 100%;
	object-fit: cover; object-position: 50% 45%;
	opacity: 0.55;
}
.hero__inner { position: relative; padding-block: clamp(56px, 7vw, 96px); max-width: var(--wrap); }
.hero h1 { color: var(--white); max-width: 16ch; font-size: clamp(2.6rem, 6vw, 5rem); }
.hero .kicker { color: #f0c3bd; }
.hero__lede { max-width: 46ch; font-size: 1.15rem; color: #efefec; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.section { padding-block: clamp(48px, 7vw, 88px); }
.section--tint { background: var(--paper); }
.section__head {
	display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
	border-bottom: 2px solid var(--slate); margin-bottom: 28px; padding-bottom: 10px;
}
.section__head h2 { margin: 0; }

.cats {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.cats a {
	display: grid; gap: 2px; text-decoration: none; color: var(--slate);
}
.cats__img {
	display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius);
	background: var(--slate); margin-bottom: 10px;
}
.cats__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.cats a:hover .cats__img img { transform: scale(1.04); }
.cats__name { font: 800 1.35rem/1 var(--display); text-transform: uppercase; letter-spacing: 0.02em; }
.cats a:hover .cats__name { color: var(--red); }
.cats__count { font-size: 0.85rem; color: var(--muted); }

@media (max-width: 900px) { .cats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .cats { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

.story {
	display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center;
}
.story__text { max-width: 60ch; }
.story__award { margin: 0; justify-self: center; text-align: center; }
.story__award img { width: 200px; margin: 0 auto 12px; }
.story__award figcaption { font-size: 0.85rem; color: var(--muted); }
@media (max-width: 760px) { .story { grid-template-columns: 1fr; } }

.feature {
	display: grid; grid-template-columns: 1.2fr 1fr;
	background: var(--slate); color: #e7e7e4;
}
.feature > picture { display: block; position: relative; min-height: 320px; }
.feature__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature__text { padding: clamp(32px, 6vw, 72px); align-self: center; }
.feature__text h1, .feature__text h2 { color: var(--white); }
.feature .kicker { color: #f0c3bd; }
@media (max-width: 800px) { .feature { grid-template-columns: 1fr; } .feature > picture { min-height: 240px; } }

/* Inner pages ------------------------------------------------------------ */

.page-head {
	background: var(--paper);
	border-bottom: 1px solid var(--rule);
	padding-block: clamp(32px, 5vw, 56px);
	margin-bottom: clamp(32px, 5vw, 56px);
}
.page-head h1 { margin: 0; }
.feature--page { margin-bottom: clamp(32px, 5vw, 56px); }

.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.4em; font-size: 1.9rem; }
.prose h3 { margin-top: 1.2em; }
.lede { font-size: 1.2rem; }

.wrap.prose, .wrap.wc-page, .split { padding-bottom: clamp(48px, 7vw, 88px); }

.split {
	display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px);
	align-items: start;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.side-card {
	background: var(--paper); border: 1px solid var(--rule); border-top: 6px solid var(--red);
	border-radius: var(--radius); padding: 28px;
	position: sticky; top: 110px;
}
.side-card h2 { font-size: 1.8rem; }
.side-card img { width: 160px; margin-bottom: 12px; }
@media (max-width: 860px) { .side-card { position: static; } }

.ticks, .terms { list-style: none; padding: 0; margin: 0 0 1.2em; }
.ticks li, .terms li { padding: 10px 0 10px 28px; border-bottom: 1px solid var(--rule); position: relative; }
.ticks li::before, .terms li::before {
	content: ""; position: absolute; left: 4px; top: 1.05em;
	width: 10px; height: 10px; background: var(--red); transform: rotate(45deg);
}
.terms strong { display: block; }

.hours { margin: 0 0 1em; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; border-bottom: 1px dotted currentColor; border-color: rgba(128, 128, 128, 0.35); }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; }

.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
	cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative;
	font: 800 1.35rem/1.15 var(--display); text-transform: uppercase;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 1.6rem; color: var(--red); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 18px; max-width: 65ch; }

/* Forms (Contact Form 7 and WooCommerce share these) -------------------- */

input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
input[type="number"], input[type="search"], textarea, select,
.woocommerce form .form-row .input-text, .woocommerce form .form-row select {
	width: 100%; min-height: 46px; padding: 10px 12px;
	font: inherit; color: var(--slate); background: var(--white);
	border: 1px solid #b9b8b4; border-radius: var(--radius);
}
textarea { min-height: 140px; }
input:focus, textarea:focus, select:focus { border-color: var(--slate); outline: 2px solid var(--red); outline-offset: 0; }

.wpcf7 p { margin-bottom: 14px; }
.wpcf7 label { font-weight: 600; }
.wpcf7-not-valid-tip { color: var(--red-dk); font-size: 0.9rem; }
.wpcf7 form .wpcf7-response-output { margin: 12px 0 0; padding: 12px; border-radius: var(--radius); }
.enquiry-fallback { font-size: 1.1rem; }

/* WooCommerce: shop grid -------------------------------------------------- */

.shop-wrap { padding-block: 28px clamp(48px, 7vw, 88px); }

.woocommerce .woocommerce-breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 18px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--muted); }
.woocommerce-products-header__title.page-title { margin-bottom: 18px; }
.term-description { max-width: 70ch; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.chips a {
	padding: 8px 14px; border: 1px solid var(--rule); border-radius: 999px;
	text-decoration: none; color: var(--slate); font-weight: 600; font-size: 0.9rem; background: var(--white);
}
.chips a:hover { border-color: var(--slate); }
.chips a[aria-current="page"] { background: var(--slate); border-color: var(--slate); color: var(--white); }

.woocommerce .woocommerce-result-count { color: var(--muted); font-size: 0.9rem; }
.woocommerce .woocommerce-ordering select { width: auto; min-height: 40px; }

.woocommerce ul.products {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px;
	margin: 0 0 32px; clear: both;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product {
	width: auto; float: none; margin: 0; padding: 0;
	display: flex; flex-direction: column; position: relative;
}
@media (max-width: 1000px) { .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; } }

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
	display: flex; flex-direction: column; flex: 1; text-decoration: none; color: var(--slate);
}
.woocommerce ul.products li.product a img {
	aspect-ratio: 1; object-fit: cover; width: 100%; margin: 0 0 12px;
	border-radius: var(--radius); background: var(--slate);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font: 600 1rem/1.3 var(--body); text-transform: none; letter-spacing: 0;
	padding: 0; margin: 0 0 12px;
}
.woocommerce ul.products li.product a:hover .woocommerce-loop-product__title { color: var(--red); }

/* The price as a shop-counter ticket, pinned to the corner of the photograph.
 * This is what a price looks like in a butcher's window, and it keeps the
 * number where the eye already is. */
.woocommerce ul.products li.product .price {
	position: absolute; top: 10px; left: 10px; margin: 0;
	background: var(--white); color: var(--slate);
	padding: 6px 12px 6px 16px;
	font: 800 1.3rem/1 var(--display); letter-spacing: 0.02em;
	clip-path: polygon(8px 0, 100% 0, 100% 100%, 8px 100%, 0 50%);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
	max-width: calc(100% - 20px);
}
.woocommerce ul.products li.product .price del { opacity: 0.55; font-size: 0.8em; }
.woocommerce ul.products li.product .price ins { text-decoration: none; color: var(--red); }
.woocommerce ul.products li.product .price .screen-reader-text { position: absolute; }

.woocommerce ul.products li.product .button { margin-top: auto; width: 100%; min-height: 42px; font-size: 0.95rem; }
.woocommerce ul.products li.product .added_to_cart { display: block; margin-top: 8px; font-size: 0.9rem; font-weight: 600; text-align: center; }
.woocommerce a.button.loading { opacity: 0.6; }

.woocommerce span.onsale {
	min-height: 0; min-width: 0; line-height: 1; padding: 6px 10px; border-radius: var(--radius);
	background: var(--red); font: 700 0.9rem/1 var(--display); text-transform: uppercase; letter-spacing: 0.08em;
	top: 10px; right: 10px; left: auto; margin: 0;
}

.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; gap: 6px; justify-content: center; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	min-width: 42px; padding: 11px; border: 1px solid var(--rule); border-radius: var(--radius); color: var(--slate);
}
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--slate); color: var(--white); border-color: var(--slate); }

/* WooCommerce: product page ---------------------------------------------- */

.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(28px, 5vw, 64px); }
.woocommerce div.product div.images,
.woocommerce div.product div.summary { width: auto; float: none; margin: 0; }
.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related,
.woocommerce div.product .upsells { grid-column: 1 / -1; }
@media (max-width: 800px) { .woocommerce div.product { grid-template-columns: 1fr; } }

.woocommerce div.product div.images img { border-radius: var(--radius); background: var(--slate); }
.woocommerce div.product .product_title { font-size: clamp(2rem, 4vw, 3rem); }
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--slate); font: 800 2.2rem/1 var(--display); margin-bottom: 18px;
}
.woocommerce div.product .woocommerce-product-details__short-description { font-size: 1.05rem; margin-bottom: 20px; }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-bottom: 24px; }
.woocommerce div.product form.cart::before, .woocommerce div.product form.cart::after { display: none; }
.woocommerce div.product form.cart.variations_form { display: block; }
.woocommerce div.product form.cart .variations { margin-bottom: 12px; width: 100%; }
.woocommerce div.product form.cart .variations th,
.woocommerce div.product form.cart .variations td { display: block; padding: 0; text-align: left; line-height: 1.4; }
.woocommerce div.product form.cart .variations label { font-weight: 600; }
.woocommerce div.product form.cart .variations select { min-width: 0; margin: 6px 0 4px; }
.woocommerce div.product form.cart .reset_variations { font-size: 0.85rem; }
.woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.woocommerce .quantity .qty { width: 5em; text-align: center; min-height: 46px; }
.woocommerce div.product form.cart .button { flex: 1; min-width: 200px; }
.woocommerce div.product .stock { color: var(--ok); font-weight: 600; }
.woocommerce div.product .stock.out-of-stock { color: var(--red-dk); }
.product_meta { font-size: 0.9rem; color: var(--muted); display: grid; gap: 4px; }
.product_meta a { color: var(--muted); }

.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 20px; border-bottom: 2px solid var(--slate); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: transparent; border: 0; border-radius: 0; margin: 0 16px 0 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { font: 800 1.2rem/1 var(--display); text-transform: uppercase; padding: 12px 0; color: var(--muted); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--slate); }
.woocommerce div.product .woocommerce-tabs .panel h2:first-child { display: none; }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { padding: 8px; font-style: normal; }

.related > h2, .upsells > h2 { border-bottom: 2px solid var(--slate); padding-bottom: 10px; margin: 32px 0 24px; }

/* WooCommerce: notices, basket, checkout, account ------------------------ */

.woocommerce-message, .woocommerce-info, .woocommerce-error,
.woocommerce-notices-wrapper .wc-block-components-notice-banner {
	border-top: 4px solid var(--slate); background: var(--paper); color: var(--slate); border-radius: 0 0 var(--radius) var(--radius);
}
.woocommerce-message { border-top-color: var(--ok); }
.woocommerce-message::before { color: var(--ok); }
.woocommerce-info { border-top-color: var(--slate); }
.woocommerce-info::before { color: var(--slate); }
.woocommerce-error { border-top-color: var(--red); }
.woocommerce-error::before { color: var(--red); }
.woocommerce-message .button, .woocommerce-info .button { min-height: 38px; font-size: 0.9rem; }

.woocommerce table.shop_table { border-radius: var(--radius); border-color: var(--rule); border-collapse: separate; }
.woocommerce table.shop_table th { font: 800 1.05rem/1.2 var(--display); text-transform: uppercase; letter-spacing: 0.04em; }
.woocommerce table.shop_table td { border-top-color: var(--rule); }
.woocommerce table.cart img { width: 72px; border-radius: var(--radius); }
.woocommerce table.cart td.actions .coupon .input-text { width: 160px; min-height: 46px; margin-right: 6px; }
.woocommerce a.remove { color: var(--red) !important; }
.woocommerce a.remove:hover { background: var(--red); color: var(--white) !important; }
.woocommerce .cart-collaterals .cart_totals h2 { font-size: 1.8rem; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { font-size: 1.2rem; min-height: 56px; }

.woocommerce-checkout h3 { font-size: 1.7rem; margin-top: 12px; }
.woocommerce form .form-row label { font-weight: 600; line-height: 1.4; }
.woocommerce form .form-row .required { color: var(--red-dk); }
.woocommerce-checkout #payment { background: var(--paper); border-radius: var(--radius); }
.woocommerce-checkout #payment div.payment_box { background: var(--white); color: var(--slate); }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--white); }
.woocommerce #payment #place_order { width: 100%; min-height: 56px; font-size: 1.25rem; float: none; }
.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register { border-color: var(--rule); border-radius: var(--radius); }

.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0 0 24px; border-top: 1px solid var(--rule); }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--rule); text-decoration: none; font-weight: 600; color: var(--slate); }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { color: var(--red); }

@media (max-width: 768px) {
	.woocommerce table.shop_table_responsive tr td::before { font-weight: 600; }
	.woocommerce-account .woocommerce-MyAccount-navigation,
	.woocommerce-account .woocommerce-MyAccount-content { float: none; width: auto; }
	.woocommerce .col2-set .col-1, .woocommerce .col2-set .col-2,
	.woocommerce-page .col2-set .col-1, .woocommerce-page .col2-set .col-2 { float: none; width: 100%; }
	.woocommerce form .form-row-first, .woocommerce form .form-row-last { float: none; width: 100%; }
	.woocommerce .cart-collaterals .cart_totals { float: none; width: 100%; }
	.woocommerce table.cart td.actions .coupon { display: flex; flex-wrap: wrap; gap: 8px; }
	.woocommerce table.cart td.actions .coupon .input-text { flex: 1; width: auto; margin: 0; }
	.woocommerce table.cart td.actions .button { width: 100%; }
}

/* Footer ----------------------------------------------------------------- */

.site-footer { background: var(--slate); color: #cfcfcb; font-size: 0.95rem; }
.site-footer a { color: var(--white); }
.site-footer h2 { color: var(--white); font-size: 1.4rem; margin-bottom: 14px; }

.promise {
	list-style: none; margin: 0; padding: 32px 0;
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
	border-bottom: 1px solid var(--slate-2);
}
.promise strong { display: block; color: var(--white); font: 800 1.35rem/1.1 var(--display); text-transform: uppercase; margin-bottom: 4px; }
@media (max-width: 760px) { .promise { grid-template-columns: 1fr; gap: 14px; } }

.footer-grid {
	display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1fr; gap: 32px;
	padding-block: 44px;
}
.footer-logo { width: 200px; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-menu { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-menu a { text-decoration: none; }
.footer-menu a:hover { text-decoration: underline; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
	padding-block: 18px; border-top: 1px solid var(--slate-2); font-size: 0.85rem; color: #a9a9a5;
}

/* Utility ---------------------------------------------------------------- */

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; word-wrap: normal !important;
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; }
}
