/*
Theme Name: Saigon Leather
Template: storefront
Version: 0.1.0
Text Domain: saigon-leather
*/

:root {
	--sl-bg: #fbf9f5;
	--sl-alt: #f4efe7;
	--sl-card: #ffffff;
	--sl-ink: #241608;
	--sl-sub: #87786a;
	--sl-line: #e2d9ca;
	--sl-accent: #7a2e1d;
	--sl-brass: #a9803f;
	--sl-brass-pale: #cbb98f;
	--sl-gold-dark: #d9b877;
	--sl-success: #2e6b3f;
	--sl-warning: #9a6b1f;
	--sl-error: #a13333;
	--sl-paypal: #ffc439;
	--sl-paypal-ink: #003087;
	--sl-nav: #5a4c3e;
	--sl-on-dark: #f6efe3;
	--sl-persona-sub: #cbbfae;
	--sl-footer-copy: #b8a88f;
	--sl-footer-heading: #efe6d6;
	--sl-header-bg: rgba(251, 249, 245, 0.92);
	--sl-badge-bg: rgba(36, 22, 8, 0.85);
	--sl-stitch-border: rgba(169, 128, 63, 0.47);
	--sl-shadow-warm: 0 12px 32px rgba(60, 35, 12, 0.13);
	/* Mockup v4 site frame: darker leather ground outside the 1280 box. */
	--sl-outer-bg: #e9e3d8;
	--sl-shadow-frame: 0 0 50px rgba(30, 18, 6, 0.15);

	--sl-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--sl-accent-hover: #8f3a26;
	--sl-fs-hero-mobile: 33px;
	--sl-fs-hero-desktop: 54px;
	--sl-fs-hero: var(--sl-fs-hero-mobile);
	--sl-fs-hero-sub-mobile: 16px;
	--sl-fs-hero-sub-desktop: 20px;
	--sl-fs-hero-sub: var(--sl-fs-hero-sub-mobile);
	--sl-fs-h2-mobile: 26px;
	--sl-fs-h2-desktop: 30px;
	--sl-fs-h2: var(--sl-fs-h2-mobile);
	--sl-fs-h3-mobile: 24px;
	--sl-fs-h3-desktop: 29px;
	--sl-fs-h3: var(--sl-fs-h3-mobile);
	--sl-fs-price-mobile: 22px;
	--sl-fs-price-desktop: 24px;
	--sl-fs-price: var(--sl-fs-price-mobile);
	--sl-fs-body: 15px;
	--sl-fs-card: 13.5px;
	--sl-fs-caption: 12.5px;
	--sl-fs-nav: 12.5px;
	--sl-fs-announce: 12px;
	--sl-fs-badge: 11px;
	--sl-fs-collection: 16px;
	--sl-fs-form-mobile: 16px;
	--fs-hero: var(--sl-fs-hero);
	--fs-hero-sub: var(--sl-fs-hero-sub);
	--fs-h2: var(--sl-fs-h2);
	--fs-h3: var(--sl-fs-h3);
	--fs-price: var(--sl-fs-price);
	--fs-body: var(--sl-fs-body);
	--fs-card: var(--sl-fs-card);
	--fs-caption: var(--sl-fs-caption);
	--fs-nav: var(--sl-fs-nav);
	--sl-lh-hero-mobile: 1.12;
	--sl-lh-hero-desktop: 1.07;
	--sl-lh-hero: var(--sl-lh-hero-mobile);
	--sl-lh-hero-sub: 1.4;
	--sl-lh-heading: 1.2;
	--sl-lh-body: 1.55;
	--sl-lh-card: 1.45;
	--sl-lh-caption: 1.5;
	--sl-weight-regular: 400;
	--sl-weight-medium: 500;
	--sl-weight-semibold: 600;
	--sl-tracking-hero: -0.015em;
	--sl-tracking-heading: -0.01em;

	--sl-space-1: 4px;
	--sl-space-2: 8px;
	--sl-space-3: 12px;
	--sl-space-4: 16px;
	--sl-space-6: 24px;
	--sl-space-8: 32px;
	--sl-space-12: 48px;
	--sl-space-18: 70px;
	--sl-section-y-mobile: 44px;
	--sl-section-y-desktop: 70px;
	--sl-section-y: var(--sl-section-y-mobile);
	--sl-section-x-mobile: 16px;
	--sl-section-x-desktop: 24px;
	--sl-section-x: var(--sl-section-x-mobile);
	--sl-grid-gap-mobile: 12px;
	--sl-grid-gap-desktop: 18px;
	--sl-grid-gap: var(--sl-grid-gap-mobile);
	--sl-site-width: 1280px;
	--sl-content-width: 1180px;
	--sl-copy-width: 62ch;
	--sl-header-height: 52px;
	--sl-touch-target: 44px;

	--r-card: 18px;
	--r-ctl: 12px;
	--r-pill: 980px;
	--sl-r-card: var(--r-card);
	--sl-r-control: var(--r-ctl);
	--sl-r-pill: var(--r-pill);
	--sl-stitch-radius-offset: 6px;
	--sl-hairline: 1px;
	--sl-stitch-line: 1.5px;
	--sl-stitch-dash: 9px;
	--sl-focus-width: 2px;
	--sl-card-lift: -3px;
	--sl-transition-fast: 0.2s;
	--sl-transition-slow: 0.3s;
}

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

html {
	scroll-behavior: smooth;
}

body,
button,
input,
select,
textarea {
	font-family: var(--sl-font);
}

body {
	background: var(--sl-outer-bg);
	color: var(--sl-ink);
	font-size: var(--sl-fs-body);
	font-weight: var(--sl-weight-regular);
	line-height: var(--sl-lh-body);
	-webkit-font-smoothing: antialiased;
}

body,
button,
input,
label,
select,
textarea,
.site-title,
.main-navigation {
	text-transform: none;
}

img {
	display: block;
	max-width: 100%;
}

p {
	max-width: var(--sl-copy-width);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--sl-ink);
	font-weight: var(--sl-weight-semibold);
	letter-spacing: var(--sl-tracking-heading);
	text-wrap: balance;
}

h1 {
	font-size: var(--sl-fs-h3);
	line-height: var(--sl-lh-heading);
}

h2 {
	font-size: var(--sl-fs-h2);
	line-height: var(--sl-lh-heading);
}

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

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

button,
.button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	min-height: var(--sl-touch-target);
	border: 0;
	border-radius: var(--sl-r-pill);
	background: var(--sl-ink);
	color: var(--sl-on-dark);
	font-size: var(--sl-fs-body);
	font-weight: var(--sl-weight-medium);
	line-height: var(--sl-lh-body);
	padding: var(--sl-space-3) var(--sl-space-6);
	transition: opacity var(--sl-transition-fast);
}

button:hover,
.button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background: var(--sl-ink);
	color: var(--sl-on-dark);
	opacity: 0.86;
}

.button.alt,
.button.add_to_cart_button,
.sl-button--accent {
	background: var(--sl-accent);
	color: var(--sl-on-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
	outline: var(--sl-focus-width) solid var(--sl-accent);
	outline-offset: var(--sl-space-1);
}

input[type="email"],
input[type="text"],
input[type="search"],
select,
textarea {
	min-height: var(--sl-touch-target);
	border: var(--sl-hairline) solid var(--sl-line);
	border-radius: var(--sl-r-control);
	background: var(--sl-card);
	color: var(--sl-ink);
	font-size: var(--sl-fs-form-mobile);
	padding: var(--sl-space-3) var(--sl-space-4);
}

.site {
	max-width: var(--sl-site-width);
	margin: 0 auto;
	background: var(--sl-bg);
	box-shadow: var(--sl-shadow-frame);
}

/* Widen inner content to the full 1280 frame (Storefront caps .col-full at ~1130). */
body:not(.home) .site-content .col-full,
.storefront-breadcrumb > .col-full {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--sl-site-width);
	margin: 0 auto;
	padding: 0 var(--sl-section-x);
}

.sl-container {
	width: 100%;
	max-width: var(--sl-content-width);
	margin: 0 auto;
}

/* Saddle stitch position 2: section-title divider. */
hr.sl-stitch {
	height: var(--sl-stitch-line);
	margin: 0 auto var(--sl-space-6);
	border: 0;
	background-image: linear-gradient(90deg, var(--sl-brass) 55%, transparent 45%);
	background-repeat: repeat-x;
	background-size: var(--sl-stitch-dash) var(--sl-stitch-line);
}

/* Storefront header shell and saddle stitch position 1: navigation state. */
.sl-announce-bar {
	background: var(--sl-alt);
	color: var(--sl-ink);
	font-size: var(--sl-fs-announce);
	text-align: center;
}

.sl-announce-bar p {
	display: flex;
	min-height: var(--sl-touch-target);
	align-items: center;
	justify-content: center;
	gap: var(--sl-space-1);
	max-width: none;
	margin: 0;
	padding: var(--sl-space-2) var(--sl-section-x);
}

.sl-announce-bar a {
	color: var(--sl-accent);
}

.site-header,
.woocommerce-active .site-header,
.home.blog .site-header,
.home.page .site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	margin: 0;
	padding: 0;
	border-bottom: var(--sl-hairline) solid var(--sl-line);
	background: var(--sl-header-bg);
	-webkit-backdrop-filter: saturate(180%) blur(10px);
	backdrop-filter: saturate(180%) blur(10px);
}

.site-header > .col-full {
	/* Storefront ships .col-full as content-box; keep padding inside the 1280 frame. */
	box-sizing: border-box;
	width: 100%;
	max-width: var(--sl-site-width);
	margin: 0 auto;
	padding: 0 var(--sl-section-x);
}

.sl-header-bar {
	display: flex;
	align-items: center;
	gap: var(--sl-space-4);
	min-height: var(--sl-header-height);
}

.sl-logo {
	display: inline-flex;
	align-items: center;
	line-height: 0;
}

/* Patina wordmark, transparent PNG (trimmed to its ink). Height tuned to the
 * 52px header; intrinsic 615×214 keeps the aspect ratio and avoids layout shift. */
.sl-logo-img {
	display: block;
	width: auto;
	height: 30px;
}

.sl-nav-toggle {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
}

.sl-burger {
	display: none;
	align-items: center;
	min-height: var(--sl-touch-target);
	color: var(--sl-nav);
	cursor: pointer;
}

.sl-mainnav {
	display: none;
	font-size: var(--sl-fs-nav);
}

.sl-mainnav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Saddle stitch position 1: navigation hover/current state. */
.sl-mainnav a {
	padding-bottom: var(--sl-space-1);
	background-image: linear-gradient(90deg, var(--sl-brass) 55%, transparent 45%);
	background-position: 0 100%;
	background-repeat: repeat-x;
	background-size: 0 var(--sl-stitch-line);
	color: var(--sl-nav);
	font-weight: var(--sl-weight-regular);
	transition: color var(--sl-transition-fast), background-size var(--sl-transition-fast);
}

.sl-mainnav a:hover,
.sl-mainnav .current-menu-item > a,
.sl-mainnav .current_page_item > a {
	background-size: var(--sl-stitch-dash) var(--sl-stitch-line);
	color: var(--sl-accent);
}

.sl-header-icons {
	display: flex;
	align-items: center;
	gap: var(--sl-space-2);
	margin-left: auto;
}

.sl-header-icons a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	min-height: var(--sl-touch-target);
	color: var(--sl-nav);
}

.sl-header-icons a:hover {
	color: var(--sl-accent);
}

.sl-header-icons svg {
	display: block;
}

.sl-cart-count {
	margin-left: var(--sl-space-1);
	padding: 0 var(--sl-space-2);
	border-radius: var(--sl-r-pill);
	background: var(--sl-accent);
	color: var(--sl-on-dark);
	font-size: var(--sl-fs-badge);
	font-variant-numeric: tabular-nums;
	line-height: 18px;
}

/* Storefront's fixed handheld footer bar is not part of the v4 design. */
.storefront-handheld-footer-bar {
	display: none;
}

body.home .site-content > .col-full {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

body.home .site-main {
	margin: 0;
}

/* Homepage hero — v2 patina banner: full-bleed image, left text, serif display. */
.sl-hero {
	position: relative;
	height: 400px;
	overflow: hidden;
	background: var(--sl-ink);
}

.sl-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.62;
}

.sl-hero__scrim {
	position: absolute;
	inset: 0;
	background: radial-gradient(120% 90% at 18% 60%, rgba(24, 12, 4, 0.72) 0%, rgba(24, 12, 4, 0.15) 55%, transparent 100%);
}

.sl-hero__content {
	position: relative;
	z-index: 2;
	display: flex;
	height: 100%;
	max-width: 640px;
	flex-direction: column;
	justify-content: center;
	padding: 0 var(--sl-section-x);
	color: var(--sl-on-dark);
}

.sl-hero__eyebrow {
	margin: 0 0 var(--sl-space-4);
	color: var(--sl-brass-pale);
	font-size: var(--sl-fs-badge);
	letter-spacing: 4px;
	text-transform: uppercase;
}

.sl-hero h1 {
	margin: 0 0 var(--sl-space-3);
	color: var(--sl-on-dark);
	font-size: var(--sl-fs-hero);
	font-weight: var(--sl-weight-semibold);
	letter-spacing: var(--sl-tracking-hero);
	line-height: var(--sl-lh-hero);
}

.sl-hero h1 em {
	color: var(--sl-gold-dark);
	font-style: italic;
}

.sl-hero__sub {
	max-width: 420px;
	margin: 0 0 var(--sl-space-6);
	font-size: var(--sl-fs-hero-sub);
	line-height: var(--sl-lh-hero-sub);
	opacity: 0.85;
}

.sl-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sl-space-6);
}

.sl-btn-hero {
	display: inline-block;
	padding: 14px 34px;
	background: var(--sl-accent);
	color: var(--sl-on-dark);
	font-size: var(--sl-fs-announce);
	font-weight: 700;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	transition: background var(--sl-transition-fast);
}

.sl-btn-hero:hover {
	background: var(--sl-accent-hover);
	color: var(--sl-on-dark);
}

.sl-hero__meta {
	position: absolute;
	right: var(--sl-space-8);
	bottom: var(--sl-space-6);
	z-index: 2;
	margin: 0;
	color: var(--sl-brass-pale);
	font-size: var(--sl-fs-badge);
	letter-spacing: 2px;
	text-transform: uppercase;
}

.sl-link-cta {
	display: inline-flex;
	align-items: center;
	min-height: var(--sl-touch-target);
	color: var(--sl-accent);
	font-size: var(--sl-fs-body);
	font-weight: var(--sl-weight-medium);
}

.sl-link-cta--light {
	color: var(--sl-brass-pale);
}

.sl-link-cta--light:hover {
	color: var(--sl-gold-dark);
}

/* Homepage sections. */
.sl-section {
	padding: var(--sl-section-y) var(--sl-section-x);
	background: var(--sl-bg);
}

.sl-section--alt {
	background: var(--sl-alt);
}

.sl-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--sl-space-4);
	max-width: var(--sl-content-width);
	margin: 0 auto var(--sl-space-2);
}

.sl-section__head h2 {
	margin: 0;
}

.sl-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--sl-grid-gap);
}

/* Collection and product cards. */
.sl-collection-card,
.sl-product-card {
	position: relative;
	overflow: hidden;
	border: 0;
	border-radius: var(--sl-r-card);
	background: var(--sl-card);
	transition: transform var(--sl-transition-slow), box-shadow var(--sl-transition-slow);
}

.sl-section:not(.sl-section--alt) .sl-product-card {
	background: var(--sl-alt);
}

.sl-collection-card a,
.sl-product-card a {
	display: block;
	color: var(--sl-ink);
}

.sl-collection-card__media {
	overflow: hidden;
	aspect-ratio: 4 / 5;
	background: var(--sl-alt);
}

.sl-product-card__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	background: var(--sl-alt);
}

.sl-collection-card__media img,
.sl-product-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sl-collection-card__content,
.sl-product-card__content {
	padding: var(--sl-space-3) var(--sl-space-4) var(--sl-space-4);
}

.sl-collection-card__title {
	display: block;
	font-size: var(--sl-fs-collection);
	font-weight: var(--sl-weight-semibold);
	line-height: var(--sl-lh-heading);
}

.sl-collection-card__count {
	display: block;
	margin-top: var(--sl-space-1);
	color: var(--sl-brass);
	font-size: var(--sl-fs-caption);
	line-height: var(--sl-lh-caption);
}

.sl-product-card__name {
	display: -webkit-box;
	overflow: hidden;
	margin: 0;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	font-size: var(--sl-fs-card);
	font-weight: var(--sl-weight-medium);
	line-height: var(--sl-lh-card);
}

.sl-product-card__price {
	display: block;
	margin-top: var(--sl-space-2);
	font-size: var(--sl-fs-body);
	font-variant-numeric: tabular-nums;
	font-weight: var(--sl-weight-semibold);
}

.sl-product-card__price del {
	color: var(--sl-sub);
	font-size: var(--sl-fs-caption);
	font-weight: var(--sl-weight-regular);
}

.sl-product-card__price ins {
	background: transparent;
	font-weight: var(--sl-weight-semibold);
	text-decoration: none;
}

.sl-badge {
	position: absolute;
	top: var(--sl-space-3);
	left: var(--sl-space-3);
	z-index: 1;
	padding: var(--sl-space-1) var(--sl-space-3);
	border-radius: var(--sl-r-pill);
	background: var(--sl-badge-bg);
	color: var(--sl-brass-pale);
	font-size: var(--sl-fs-badge);
	line-height: var(--sl-lh-caption);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.sl-badge--sale {
	background: var(--sl-accent);
	color: var(--sl-on-dark);
}

/* Saddle stitch position 3: exclusive-design inset frame. */
.sl-exclusive {
	padding: var(--sl-space-3);
	border-radius: var(--sl-r-card);
	background: var(--sl-ink);
	color: var(--sl-on-dark);
}

.sl-exclusive__inner {
	display: flex;
	min-height: 100%;
	align-items: center;
	justify-content: center;
	border: var(--sl-stitch-line) dashed var(--sl-stitch-border);
	border-radius: calc(var(--sl-r-card) - var(--sl-stitch-radius-offset));
	padding: var(--sl-space-8) var(--sl-space-6);
	text-align: center;
}

.sl-exclusive__content {
	display: flex;
	max-width: var(--sl-copy-width);
	flex-direction: column;
	align-items: center;
	gap: var(--sl-space-3);
}

.sl-exclusive h2 {
	margin: 0;
	color: var(--sl-on-dark);
}

.sl-exclusive p {
	margin: 0;
	color: var(--sl-persona-sub);
}

.sl-exclusive a {
	color: var(--sl-gold-dark);
}

/* Newsletter. */
.sl-newsletter {
	text-align: center;
}

.sl-newsletter h2,
.sl-newsletter p {
	margin-right: auto;
	margin-left: auto;
}

.sl-newsletter h2 {
	margin-top: 0;
	margin-bottom: var(--sl-space-2);
}

.sl-newsletter p {
	margin-bottom: var(--sl-space-6);
	color: var(--sl-sub);
}

.sl-newsletter__form {
	display: flex;
	max-width: var(--sl-copy-width);
	flex-direction: column;
	gap: var(--sl-space-3);
	margin: 0 auto;
}

.sl-newsletter__form input {
	width: 100%;
}

.sl-newsletter__form button {
	flex: 0 0 auto;
	background: var(--sl-accent);
	color: var(--sl-on-dark);
}

/* Storefront footer hook content. */
.site-footer {
	padding: var(--sl-section-y-mobile) var(--sl-section-x) var(--sl-space-6);
	background: var(--sl-ink);
	color: var(--sl-footer-copy);
	font-size: var(--sl-fs-caption);
	line-height: var(--sl-lh-caption);
}

.site-footer > .col-full {
	max-width: var(--sl-content-width);
	margin: 0 auto;
	padding: 0;
}

.sl-footer-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--sl-space-8) var(--sl-space-6);
}

.sl-footer-brand {
	grid-column: 1 / -1;
}

.sl-footer-brand__name,
.sl-footer-column h2 {
	margin: 0 0 var(--sl-space-3);
	color: var(--sl-footer-heading);
	font-size: var(--sl-fs-caption);
	font-weight: var(--sl-weight-semibold);
	letter-spacing: 0;
	line-height: var(--sl-lh-caption);
}

.sl-footer-brand__name {
	font-size: var(--sl-fs-body);
}

.sl-footer-brand p {
	margin: 0;
}

.sl-footer-contact {
	margin: var(--sl-space-4) 0 0;
	display: grid;
	gap: var(--sl-space-2);
	font-style: normal;
	font-size: var(--sl-fs-announce);
	color: var(--sl-footer-copy);
}

.site-footer .sl-footer-contact a {
	color: var(--sl-footer-heading);
	text-decoration: none;
	transition: color var(--sl-transition-fast);
}

.site-footer .sl-footer-contact a:hover,
.site-footer .sl-footer-contact a:focus-visible {
	color: var(--sl-gold-dark);
	text-decoration: none;
}

.sl-footer-column ul {
	margin: 0;
	list-style: none;
}

.sl-footer-column li {
	margin-bottom: var(--sl-space-2);
}

/* Match Storefront's .site-footer a:not(.button):not(.components-button) specificity. */
.site-footer .sl-footer-column a:not(.button):not(.components-button) {
	display: inline-flex;
	min-height: var(--sl-touch-target);
	align-items: center;
	color: var(--sl-footer-copy);
	text-decoration: none;
	transition: color var(--sl-transition-fast);
}

.site-footer .sl-footer-column a:not(.button):not(.components-button):hover,
.site-footer .sl-footer-column a:not(.button):not(.components-button):focus-visible {
	color: var(--sl-gold-dark);
	text-decoration: none;
}

.sl-footer-copy {
	margin: var(--sl-space-8) 0 0;
	padding-top: var(--sl-space-4);
	border-top: var(--sl-hairline) solid var(--sl-nav);
	color: var(--sl-footer-copy);
	font-size: var(--sl-fs-announce);
	text-align: center;
}

/* Shop archive: breadcrumb, toolbar, loop cards, pagination. */
.storefront-breadcrumb {
	margin: 0 0 var(--sl-space-4);
	padding: var(--sl-space-3) 0 0;
}

.woocommerce-breadcrumb {
	margin-bottom: 0;
	padding-bottom: 0;
	color: var(--sl-sub);
	font-size: var(--sl-fs-caption);
}

.woocommerce-breadcrumb a {
	color: var(--sl-sub);
	text-decoration: none;
}

.woocommerce-breadcrumb a:hover {
	color: var(--sl-accent);
}

.woocommerce-products-header {
	padding: var(--sl-space-2) 0 var(--sl-space-3);
}

.woocommerce-products-header__title.page-title {
	margin-bottom: var(--sl-space-2);
	font-size: var(--sl-fs-h2);
	letter-spacing: var(--sl-tracking-heading);
}

/* PLP toolbar: count left, sort right, one quiet row; pagination only below the grid. */
.storefront-sorting {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--sl-space-4);
	margin-bottom: var(--sl-space-6);
}

.storefront-sorting .woocommerce-result-count,
.storefront-sorting .woocommerce-ordering {
	margin: 0;
}

.storefront-sorting .woocommerce-notices-wrapper:empty {
	display: none;
}

.woocommerce-result-count {
	color: var(--sl-sub);
	font-size: var(--sl-fs-caption);
}

.storefront-sorting:has(~ ul.products) .woocommerce-pagination {
	display: none;
}

ul.products ~ .storefront-sorting {
	justify-content: center;
}

ul.products ~ .storefront-sorting .woocommerce-result-count,
ul.products ~ .storefront-sorting .woocommerce-ordering {
	display: none;
}

.woocommerce-pagination {
	margin: 0;
	text-align: center;
}

.woocommerce-ordering select,
select {
	padding-right: var(--sl-space-8);
	-webkit-appearance: none;
	appearance: none;
	background-color: var(--sl-card);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='m1 1.5 5 5 5-5' stroke='%2387786a' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
	background-position: right var(--sl-space-4) center;
	background-repeat: no-repeat;
	background-size: 12px 8px;
	color: var(--sl-ink);
	font-size: var(--sl-fs-card);
}

/* PLP grid: big-ecom convention (Mr Porter / apple.com store) — uniform grid, card = image/name/price. */
.site-main ul.products {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--sl-grid-gap);
	margin: 0 0 var(--sl-space-8);
}

/* Woo clearfix pseudo-elements would occupy grid/flex cells. */
.site-main ul.products::before,
.site-main ul.products::after,
.storefront-sorting::before,
.storefront-sorting::after {
	content: none;
}

body.woocommerce ul.products li.product,
body.woocommerce .site-main ul.products[class*="columns-"] li.product {
	position: relative;
	overflow: hidden;
	width: auto;
	margin: 0;
	float: none;
	border-radius: var(--sl-r-card);
	background: var(--sl-card);
	text-align: left;
	transition: transform var(--sl-transition-slow), box-shadow var(--sl-transition-slow);
}

ul.products li.product img {
	width: 100%;
	margin: 0 0 var(--sl-space-3);
	border-radius: 0;
	background: var(--sl-alt);
	transition: transform var(--sl-transition-slow);
}


ul.products li.product .woocommerce-loop-product__link {
	display: block;
	color: var(--sl-ink);
}

ul.products li.product .woocommerce-loop-product__title {
	display: -webkit-box;
	overflow: hidden;
	padding: 0 var(--sl-space-4);
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	color: var(--sl-ink);
	font-size: var(--sl-fs-card);
	font-weight: var(--sl-weight-medium);
	line-height: var(--sl-lh-card);
}

ul.products li.product .price {
	display: block;
	margin: var(--sl-space-2) 0 0;
	padding: 0 var(--sl-space-4) var(--sl-space-4);
	color: var(--sl-ink);
	font-size: var(--sl-fs-body);
	font-variant-numeric: tabular-nums;
	font-weight: var(--sl-weight-semibold);
}

ul.products li.product .price del {
	color: var(--sl-sub);
	font-size: var(--sl-fs-caption);
	font-weight: var(--sl-weight-regular);
	opacity: 1;
}

ul.products li.product .price ins {
	background: transparent;
	font-weight: var(--sl-weight-semibold);
	text-decoration: none;
}

/* SSOT v4 card = image / 2-line name / price; the whole card links to the PDP. */
ul.products li.product .button,
ul.products li.product .added_to_cart {
	display: none;
}

ul.products li.product .onsale {
	position: absolute;
	top: var(--sl-space-3);
	right: auto;
	left: var(--sl-space-3);
	z-index: 1;
	min-height: 0;
	margin: 0;
	padding: var(--sl-space-1) var(--sl-space-3);
	border-radius: var(--sl-r-pill);
	background: var(--sl-accent);
	color: var(--sl-on-dark);
	font-size: var(--sl-fs-badge);
	font-weight: var(--sl-weight-medium);
	line-height: var(--sl-lh-caption);
}

.woocommerce-pagination .page-numbers li .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: var(--sl-touch-target);
	min-height: var(--sl-touch-target);
	border-radius: var(--sl-r-control);
	background: var(--sl-alt);
	color: var(--sl-ink);
	font-size: var(--sl-fs-card);
	font-variant-numeric: tabular-nums;
}

.woocommerce-pagination .page-numbers li .page-numbers.current,
.woocommerce-pagination .page-numbers li .page-numbers:hover {
	background: var(--sl-accent);
	color: var(--sl-on-dark);
}

/* Shop sidebar filters. */
#secondary .widget {
	margin-bottom: var(--sl-space-8);
	font-size: var(--sl-fs-card);
}

#secondary .widget .widget-title,
#secondary .widget h2 {
	margin-bottom: var(--sl-space-3);
	padding-bottom: var(--sl-space-2);
	border-bottom: var(--sl-hairline) solid var(--sl-line);
	font-size: var(--sl-fs-collection);
	font-weight: var(--sl-weight-semibold);
}

#secondary .widget ul {
	margin: 0;
	list-style: none;
}

#secondary .widget li {
	margin-bottom: var(--sl-space-2);
}

#secondary .widget a {
	color: var(--sl-nav);
	text-decoration: none;
}

#secondary .widget a:hover,
#secondary .widget li.current-cat > a {
	color: var(--sl-accent);
}

#secondary .widget .count {
	color: var(--sl-brass);
	font-size: var(--sl-fs-caption);
}

/* Default-category bucket is an import artifact; keep it out of the filter. */
#secondary .widget_product_categories li.cat-item-15 {
	display: none;
}

.widget_price_filter .price_slider {
	margin-bottom: var(--sl-space-4);
}

.widget_price_filter .ui-slider .ui-slider-range {
	background: var(--sl-brass);
}

.widget_price_filter .ui-slider .ui-slider-handle {
	background: var(--sl-accent);
}

.widget_price_filter .price_slider_amount {
	color: var(--sl-sub);
	font-size: var(--sl-fs-caption);
}

.widget_price_filter .price_slider_amount .button {
	min-height: 0;
	padding: var(--sl-space-2) var(--sl-space-4);
	background: var(--sl-ink);
	color: var(--sl-on-dark);
	font-size: var(--sl-fs-caption);
}

#secondary .widget_product_search input[type="search"] {
	width: 100%;
}

@media (hover: hover) {
	.sl-collection-card:hover,
	.sl-product-card:hover {
		box-shadow: var(--sl-shadow-warm);
		transform: translateY(var(--sl-card-lift));
	}

	ul.products li.product:hover {
		box-shadow: var(--sl-shadow-warm);
		transform: translateY(var(--sl-card-lift));
	}

	ul.products li.product:hover img {
		transform: scale(1.03);
	}
}

@media (min-width: 640px) {
	:root {
		--sl-fs-hero: var(--sl-fs-hero-desktop);
		--sl-fs-hero-sub: var(--sl-fs-hero-sub-desktop);
		--sl-fs-h2: var(--sl-fs-h2-desktop);
		--sl-fs-h3: var(--sl-fs-h3-desktop);
		--sl-fs-price: var(--sl-fs-price-desktop);
		--sl-lh-hero: var(--sl-lh-hero-desktop);
		--sl-section-y: var(--sl-section-y-desktop);
		--sl-section-x: var(--sl-section-x-desktop);
		--sl-grid-gap: var(--sl-grid-gap-desktop);
	}

	input[type="email"],
	input[type="text"],
	input[type="search"],
	select,
	textarea {
		font-size: var(--sl-fs-body);
	}

	.sl-hero {
		height: 520px;
	}

	.sl-hero__content {
		padding: 0 68px;
	}

	.sl-newsletter__form {
		flex-direction: row;
	}

	.sl-newsletter__form button {
		width: auto;
	}
}

@media (min-width: 768px) {
	.sl-grid,
	.site-main ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.sl-exclusive__inner {
		padding: var(--sl-space-12);
	}

	.sl-footer-grid {
		grid-template-columns: 2fr repeat(3, 1fr);
	}

	.sl-footer-brand {
		grid-column: auto;
	}
}

@media (min-width: 1024px) {
	.sl-mainnav {
		display: flex;
		flex: 1 1 auto;
		justify-content: center;
	}

	.sl-mainnav ul {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 0 var(--sl-space-6);
	}

	.sl-grid,
	.site-main ul.products {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 1023px) {
	.sl-burger {
		display: flex;
	}

	.sl-logo-img {
		height: 26px;
	}

	.sl-mainnav {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		border-bottom: var(--sl-hairline) solid var(--sl-line);
		background: var(--sl-bg);
		padding: var(--sl-space-2) var(--sl-section-x) var(--sl-space-4);
	}

	.sl-nav-toggle:checked ~ .sl-mainnav {
		display: block;
	}

	.sl-mainnav a {
		display: flex;
		min-height: var(--sl-touch-target);
		align-items: center;
		font-size: var(--sl-fs-body);
	}
}

/* ============================================================
   Phase B — Product page (PDP). Scoped to .single-product so the
   homepage and shop archive are untouched.
   ============================================================ */

/* PDP spans the full content frame (sidebar removed in functions.php). */
.single-product .content-area {
	width: 100%;
	float: none;
	margin: 0;
}

.single-product #secondary {
	display: none;
}

/* Two-column shell: gallery left (sticky), summary right; tabs +
   related span the full width below. Storefront ships the children as
   floats, so the width/float resets keep the CSS grid in control. */
body.single-product div.product {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	column-gap: 56px;
	align-items: start;
	max-width: var(--sl-content-width);
	margin: 0 auto;
	padding: var(--sl-space-6) 0 var(--sl-section-y);
	/* Storefront sets overflow:hidden on div.product at equal specificity and
	   loads later, which turns it into the sticky gallery's scroll container and
	   applies top:76px at rest. body. bumps specificity so visible wins and the
	   gallery sticks against the viewport instead. */
	overflow: visible;
}

.single-product div.product > .woocommerce-product-gallery,
.single-product div.product > .summary {
	width: 100% !important;
	margin: 0 !important;
	float: none !important;
}

/* Pin the columns so Storefront's float order can't flip them. */
.single-product div.product > .woocommerce-product-gallery {
	grid-column: 1;
	grid-row: 1;
}

.single-product div.product > .summary {
	grid-column: 2;
	grid-row: 1;
}

.single-product div.product > .woocommerce-tabs,
.single-product div.product > .related,
.single-product div.product > .upsells,
.single-product div.product > .storefront-product-pagination,
.single-product div.product > .woocommerce-product-gallery + .onsale {
	grid-column: 1 / -1;
}

/* Gallery: sticky column on desktop, rounded main image, quiet thumbs.
   The body qualifier outweighs Storefront's woocommerce.css (which loads
   after this file with the same specificity and sets position: relative). */
body.single-product div.product .woocommerce-product-gallery {
	position: sticky;
	top: calc(var(--sl-header-height) + var(--sl-space-6));
}

.single-product .woocommerce-product-gallery__wrapper {
	margin: 0;
}

.single-product .woocommerce-product-gallery__image,
.single-product .woocommerce-product-gallery__image img {
	border-radius: var(--r-card);
}

.single-product .woocommerce-product-gallery .flex-control-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sl-space-2);
	margin: var(--sl-space-3) 0 0;
	padding: 0;
	list-style: none;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs li {
	width: 64px;
	margin: 0;
	list-style: none;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs img {
	border-radius: 10px;
	border: 2px solid transparent;
	opacity: 0.75;
	transition: opacity var(--sl-transition-fast), border-color var(--sl-transition-fast);
}

.single-product .woocommerce-product-gallery .flex-control-thumbs img.flex-active,
.single-product .woocommerce-product-gallery .flex-control-thumbs img:hover {
	border-color: var(--sl-accent);
	opacity: 1;
}

.single-product .woocommerce-product-gallery__trigger {
	z-index: 2;
}

/* Summary column. */
.single-product .summary.entry-summary {
	max-width: 480px;
}

.single-product .summary .product_title {
	margin: 0 0 var(--sl-space-3);
	font-size: var(--sl-fs-h3);
	font-weight: var(--sl-weight-semibold);
	letter-spacing: var(--sl-tracking-heading);
	line-height: var(--sl-lh-heading);
}

.single-product .summary .price {
	display: block;
	margin: 0 0 var(--sl-space-4);
	color: var(--sl-ink);
	font-size: var(--sl-fs-price);
	font-variant-numeric: tabular-nums;
	font-weight: var(--sl-weight-semibold);
}

.single-product .summary .price del {
	color: var(--sl-sub);
	font-size: var(--sl-fs-body);
	font-weight: var(--sl-weight-regular);
	opacity: 1;
}

.single-product .summary .price ins {
	background: transparent;
	text-decoration: none;
}

.single-product .woocommerce-product-details__short-description {
	margin: 0 0 var(--sl-space-6);
	color: var(--sl-sub);
	font-size: var(--sl-fs-body);
}

.single-product .woocommerce-product-details__short-description p {
	margin: 0 0 var(--sl-space-3);
}

/* Rating: Woo hides this natively when there are no reviews; style it for
   when real reviews accrue (post-purchase requests). No fabricated data. */
.single-product .woocommerce-product-rating {
	display: flex;
	align-items: center;
	gap: var(--sl-space-2);
	margin: 0 0 var(--sl-space-3);
	font-size: var(--sl-fs-caption);
	color: var(--sl-sub);
}

.single-product .woocommerce-product-rating .star-rating span::before {
	color: var(--sl-brass);
}

/* Buy actions (base — refined in B4). */
.single-product form.cart {
	margin-bottom: var(--sl-space-6);
}

/* PDP shows a single full-width CTA (Apple / Nike / Mr Porter). A lone
 * quantity box on its own row read as orphaned, so hide it — qty defaults to
 * 1 (input still submits) and is adjustable in the cart. */
.single-product form.cart .quantity {
	display: none;
}

.single-product form.cart .quantity input.qty {
	width: 56px;
	min-height: 48px;
	border: 0;
	border-radius: 0;
	text-align: center;
}

.single-product .single_add_to_cart_button {
	display: block;
	width: 100%;
	margin-top: 0;
	min-height: 52px;
	border-radius: var(--r-ctl);
	background: var(--sl-accent);
	color: var(--sl-on-dark);
	font-size: var(--sl-fs-body);
	font-weight: var(--sl-weight-semibold);
	padding: var(--sl-space-3) var(--sl-space-8);
}

.single-product .single_add_to_cart_button:hover {
	background: var(--sl-accent-hover);
	color: var(--sl-on-dark);
	opacity: 1;
}

/* ---- Variation selectors: swatch cards + size tiles (SSOT §6) ---- */
.single-product .sl-native-select {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* Flatten Woo's variations table into stacked blocks. */
.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: auto;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}

.single-product table.variations th.label {
	margin: var(--sl-space-4) 0 var(--sl-space-2);
	color: var(--sl-ink);
	font-size: var(--sl-fs-caption);
	font-weight: var(--sl-weight-semibold);
	text-align: left;
}

.single-product table.variations .reset_variations {
	display: inline-block;
	margin-top: var(--sl-space-2);
	font-size: var(--sl-fs-caption);
	color: var(--sl-sub);
}

/* Colour swatches — two-column Apple-style cards. */
.sl-swatches {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--sl-space-3);
}

.sl-swatch {
	display: flex;
	align-items: center;
	gap: var(--sl-space-3);
	padding: var(--sl-space-3);
	border: 2px solid var(--sl-line);
	border-radius: var(--r-ctl);
	background: var(--sl-card);
	cursor: pointer;
	text-align: left;
	transition: border-color var(--sl-transition-fast);
}

.sl-swatch.is-active {
	border-color: var(--sl-accent);
}

.sl-swatch--custom {
	border-style: dashed;
	border-color: var(--sl-brass);
}

.sl-swatch__img {
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background-size: cover;
	background-position: center;
}

.sl-swatch__img--empty {
	border: var(--sl-hairline) dashed var(--sl-brass-pale);
	background: var(--sl-bg);
}

/* "Design your own" tile — a leather-hued colour wheel with a +, no stock photo. */
.sl-swatch__img--custom {
	position: relative;
	border: var(--sl-hairline) dashed var(--sl-brass);
	background: conic-gradient(from 210deg, #c98a5a, #a9803f, #7a2e1d, #cbb98f, #c98a5a);
}

.sl-swatch__img--custom::after {
	content: "+";
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 20px;
	font-weight: var(--sl-weight-semibold);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.sl-swatch__name {
	color: var(--sl-ink);
	font-size: 14px;
	font-weight: var(--sl-weight-medium);
}

.sl-swatch__fee,
.sl-tile__fee {
	margin-left: auto;
	color: var(--sl-brass);
	font-size: var(--sl-fs-caption);
	font-weight: var(--sl-weight-semibold);
}

/* Size tiles. */
.sl-tiles {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sl-space-2);
}

.sl-tile {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	min-width: 56px;
	padding: var(--sl-space-2) var(--sl-space-3);
	border: 2px solid var(--sl-line);
	border-radius: var(--r-ctl);
	background: var(--sl-card);
	cursor: pointer;
	color: var(--sl-ink);
	font-size: 14px;
	font-weight: var(--sl-weight-medium);
	transition: border-color var(--sl-transition-fast);
}

.sl-tile.is-active {
	border-color: var(--sl-accent);
}

.sl-tile--custom {
	border-style: dashed;
	border-color: var(--sl-brass);
}

.sl-tile__fee {
	margin: 0;
}

/* Personalization reveal box (dashed brass). */
.sl-reveal {
	margin-top: var(--sl-space-3);
	padding: var(--sl-space-4);
	border: var(--sl-hairline) dashed var(--sl-brass);
	border-radius: var(--r-ctl);
	background: rgba(169, 128, 63, 0.05);
}

.sl-reveal[hidden] {
	display: none;
}

.sl-reveal__hint {
	margin: 0 0 var(--sl-space-3);
	color: var(--sl-sub);
	font-size: var(--sl-fs-caption);
}

.sl-field {
	display: block;
	margin-top: var(--sl-space-3);
}

.sl-field > span {
	display: block;
	margin-bottom: var(--sl-space-2);
	color: var(--sl-ink);
	font-size: var(--sl-fs-caption);
}

.sl-field__input {
	width: 100%;
	min-height: 44px;
	padding: 0 var(--sl-space-3);
	border: var(--sl-hairline) solid var(--sl-line);
	border-radius: var(--r-ctl);
	background: var(--sl-card);
	color: var(--sl-ink);
	font-size: 14px;
}

.sl-upload {
	display: inline-flex;
	align-items: center;
	gap: var(--sl-space-3);
	flex-wrap: wrap;
}

.sl-upload__input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.sl-upload__cta {
	display: inline-block;
	padding: var(--sl-space-2) var(--sl-space-4);
	border: var(--sl-hairline) solid var(--sl-brass);
	border-radius: var(--r-ctl);
	color: var(--sl-accent);
	font-size: var(--sl-fs-caption);
	font-weight: var(--sl-weight-semibold);
	cursor: pointer;
}

.sl-upload__status {
	font-size: var(--sl-fs-caption);
	color: var(--sl-sub);
}

.sl-upload__status.is-done {
	color: var(--sl-brass);
}

.sl-upload__status.is-error {
	color: var(--sl-accent);
}

/* Generic engraving fields (always shown; image upload + text). */
.sl-engrave {
	clear: both;
	margin: var(--sl-space-5) 0;
	border: var(--sl-hairline) solid var(--sl-line);
	border-radius: var(--r-card);
	background: var(--sl-card);
	overflow: hidden;
}

/* Accordion header — a full-width toggle button (collapsed by default).
 * Fully neutralise Storefront's default button chrome (the purple focus ring). */
.sl-engrave__title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sl-space-3);
	width: 100%;
	margin: 0;
	padding: var(--sl-space-4);
	border: 0;
	border-radius: 0;
	background: none;
	color: var(--sl-ink);
	font-family: inherit;
	font-size: var(--sl-fs-body);
	font-weight: var(--sl-weight-semibold);
	letter-spacing: 0.01em;
	text-align: left;
	cursor: pointer;
	box-shadow: none;
	transition: background 0.2s ease;
}
.sl-engrave__title:hover,
.sl-engrave__title:focus,
.sl-engrave__title:active {
	background: var(--sl-alt);
	color: var(--sl-ink);
	box-shadow: none !important;
	outline: none;
}
.sl-engrave__title:focus-visible {
	outline: 2px solid var(--sl-brass);
	outline-offset: -2px;
}
.sl-engrave__title-main {
	display: flex;
	align-items: center;
	gap: var(--sl-space-2);
}
.sl-engrave__title-meta {
	display: flex;
	align-items: center;
	gap: var(--sl-space-2);
	flex: none;
}

.sl-engrave__icon {
	flex: none;
	color: var(--sl-brass);
}

/* Header hint: add-on cost + optional pill */
.sl-engrave__badge {
	color: var(--sl-brass);
	font-size: var(--sl-fs-caption);
	font-weight: var(--sl-weight-semibold);
}
.sl-engrave__opt-pill {
	color: var(--sl-sub);
	font-size: var(--sl-fs-caption);
	font-weight: 500;
}
.sl-engrave__chevron {
	flex: none;
	color: var(--sl-sub);
	transition: transform 0.25s ease;
}
.sl-engrave:not(.sl-engrave--collapsed) .sl-engrave__chevron {
	transform: rotate(180deg);
}

/* Collapsible body */
.sl-engrave__body {
	max-height: 640px;
	overflow: hidden;
	opacity: 1;
	padding: var(--sl-space-4);
	border-top: var(--sl-hairline) solid var(--sl-line);
	transition: max-height 0.3s ease, opacity 0.2s ease, padding 0.2s ease;
}
.sl-engrave--collapsed .sl-engrave__body {
	max-height: 0;
	opacity: 0;
	padding-top: 0;
	padding-bottom: 0;
	border-top-color: transparent;
}

/* PDP declutter (Sếp 07/08) — modern ecom (Apple/Nike) drop these entirely:
 *  #1 the WooCommerce "Clear" variation-reset link + its refresh icon,
 *  #3 the "SKU: N/A" + "Category:" meta line (breadcrumbs already cover it). */
.single-product .reset_variations {
	display: none !important;
}
.single-product .product_meta {
	display: none;
}

.sl-engrave__field + .sl-engrave__field {
	margin-top: var(--sl-space-4);
	padding-top: var(--sl-space-4);
	border-top: var(--sl-hairline) solid var(--sl-line);
}

.sl-engrave__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--sl-space-3);
}

.sl-engrave__label {
	color: var(--sl-ink);
	font-size: var(--sl-fs-caption);
	font-weight: var(--sl-weight-semibold);
}

.sl-engrave__fee {
	color: var(--sl-brass);
	font-size: var(--sl-fs-caption);
	font-weight: var(--sl-weight-semibold);
	white-space: nowrap;
}

.sl-engrave__optional {
	color: var(--sl-sub);
	font-size: var(--sl-fs-caption);
	white-space: nowrap;
}

.sl-engrave__help {
	margin: var(--sl-space-2) 0 0;
	color: var(--sl-sub);
	font-size: var(--sl-fs-caption);
}

.sl-engrave__field .sl-field__input,
.sl-engrave__upload {
	margin-top: var(--sl-space-3);
}

.single-product .product_meta {
	margin-top: var(--sl-space-4);
	color: var(--sl-sub);
	font-size: var(--sl-fs-caption);
}

.single-product .product_meta a {
	color: var(--sl-sub);
}

.single-product .product_meta a:hover {
	color: var(--sl-accent);
}

/* Product tabs — horizontal underline strip (Description | Additional
   information | Reviews). WooCommerce core template + its built-in tab JS
   handle the switching; these rules replace Storefront's rounded-pill look
   and let the active panel fill the full content width. */
.single-product .woocommerce-tabs {
	margin-top: var(--sl-section-y);
}

/* Tab bar. */
.single-product .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sl-space-6);
	margin: 0 0 var(--sl-space-6);
	padding: 0;
	list-style: none;
	overflow: visible;
	border-bottom: var(--sl-hairline) solid var(--sl-line);
}

.single-product .woocommerce-tabs ul.tabs::before {
	display: none;
}

.single-product .woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	border-radius: 0;
}

.single-product .woocommerce-tabs ul.tabs li::before,
.single-product .woocommerce-tabs ul.tabs li::after {
	display: none;
}

.single-product .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: var(--sl-space-3) 0;
	margin-bottom: calc(-1 * var(--sl-hairline));
	color: var(--sl-sub);
	font-size: 14px;
	font-weight: var(--sl-weight-semibold);
	letter-spacing: var(--sl-tracking-heading);
	border-bottom: 2px solid transparent;
	transition: color var(--sl-transition-fast), border-color var(--sl-transition-fast);
}

.single-product .woocommerce-tabs ul.tabs li a:hover {
	color: var(--sl-ink);
}

.single-product .woocommerce-tabs ul.tabs li.active a {
	color: var(--sl-ink);
	border-bottom-color: var(--sl-accent);
}

/* Panel — full width, no reading cap (Sếp: fill the right side).
   Storefront floats the panel right at ~65%; reset it to a full-width block. */
.single-product .woocommerce-tabs .panel {
	float: none;
	width: 100%;
	margin: 0;
	padding: 0;
	color: var(--sl-sub);
	font-size: 14px;
}

/* The global readable measure (p { max-width: var(--sl-copy-width) }) caps
   body copy for legibility, but Sếp wants the description to fill the full
   tab width instead of leaving the right side empty. */
.single-product .woocommerce-tabs .panel p {
	max-width: none;
	margin: 0 0 var(--sl-space-4);
	color: var(--sl-body, #4a4034);
	line-height: 1.7;
}

/* ChatGPT/ShopBase content ships justify; left-align reads cleaner and modern. */
.single-product .woocommerce-tabs .panel p,
.single-product .woocommerce-tabs .panel li,
.single-product .woocommerce-tabs .panel h1,
.single-product .woocommerce-tabs .panel h2,
.single-product .woocommerce-tabs .panel h3,
.single-product .woocommerce-tabs .panel h4 {
	text-align: left;
}

.single-product .woocommerce-tabs .panel h2,
.single-product .woocommerce-tabs .panel h3,
.single-product .woocommerce-tabs .panel h4 {
	margin: var(--sl-space-6) 0 var(--sl-space-3);
	color: var(--sl-ink);
	font-weight: var(--sl-weight-semibold);
	line-height: 1.3;
}

.single-product .woocommerce-tabs .panel h3 {
	font-size: 1.05rem;
}

.single-product .woocommerce-tabs .panel h4 {
	font-size: 1rem;
}

.single-product .woocommerce-tabs .panel strong {
	color: var(--sl-ink);
	font-weight: var(--sl-weight-semibold);
}

.single-product .woocommerce-tabs .panel ul,
.single-product .woocommerce-tabs .panel ol {
	margin: 0 0 var(--sl-space-4);
	padding-left: 1.25em;
}

.single-product .woocommerce-tabs .panel li {
	margin: 0 0 var(--sl-space-2);
	color: var(--sl-body, #4a4034);
	line-height: 1.65;
}

.single-product .woocommerce-tabs .panel ul > li {
	list-style: none;
	position: relative;
	padding-left: 1.1em;
}

.single-product .woocommerce-tabs .panel ul > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.6em;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--sl-brass);
}

.single-product .woocommerce-tabs .panel img {
	max-width: 100%;
	height: auto;
	margin: var(--sl-space-4) 0;
	border-radius: var(--r-ctl);
}

/* The tab already says "Description"; drop the duplicate heading inside it. */
.single-product #tab-description > h2:first-child {
	display: none;
}

.single-product .woocommerce-tabs .panel table.shop_attributes {
	width: 100%;
	border-collapse: collapse;
}

.single-product .woocommerce-tabs .panel table.shop_attributes th,
.single-product .woocommerce-tabs .panel table.shop_attributes td {
	padding: var(--sl-space-2) 0;
	border-bottom: var(--sl-hairline) solid var(--sl-line);
	text-align: left;
	font-weight: var(--sl-weight-regular);
}

.single-product .woocommerce-tabs .panel table.shop_attributes th {
	color: var(--sl-ink);
	font-weight: var(--sl-weight-medium);
	width: 30%;
}

/* Related products. */
.single-product .related > h2,
.single-product .upsells > h2 {
	margin-bottom: var(--sl-space-6);
	font-size: var(--sl-fs-h2);
	letter-spacing: var(--sl-tracking-heading);
}

@media (max-width: 767px) {
	/* body. matches the base rule's bumped specificity so 1fr wins on mobile. */
	body.single-product div.product {
		grid-template-columns: 1fr;
		column-gap: 0;
		padding-top: var(--sl-space-4);
	}

	.single-product div.product > .woocommerce-product-gallery,
	.single-product div.product > .summary {
		grid-column: 1;
		grid-row: auto;
	}

	body.single-product div.product .woocommerce-product-gallery {
		position: static;
	}

	.single-product .summary.entry-summary {
		max-width: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}
}

/* =========================================================================
 * B4 — Cart & Checkout (WooCommerce Blocks)
 * Restyled to the leather / ink / brass SSOT palette, modelled on modern
 * ecommerce checkout (Apple, Shopify, Mr Porter): calm sections, hairline
 * dividers, a distinct order-summary card, and one confident ink pill CTA.
 * ===================================================================== */

/* ---- Page shell -------------------------------------------------------- */
.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content {
	color: var(--sl-ink);
}
/* Neutralise the Storefront/WooCommerce `.alignwide` breakout on cart &
 * checkout. Our `.site` shell is a fixed var(--sl-site-width) box with
 * overflow-x: hidden, so Storefront's `margin: calc(25% - 25vw)` pulls these
 * blocks' left column (product thumbnail + qty stepper) past the clip edge
 * and it disappears. Keep the blocks inside the content column instead. */
.wp-block-woocommerce-cart.alignwide,
.wp-block-woocommerce-checkout.alignwide {
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: 100% !important;
}
.wc-block-components-sidebar-layout {
	/* WooCommerce's is-large column widths already sum to 100%, so a
	 * horizontal gap forces the sidebar to wrap below the items. Zero the
	 * column gap; keep vertical spacing for the stacked (mobile) layout. */
	column-gap: 0;
	row-gap: clamp(24px, 4vw, 56px);
}

/* ---- Column titles ----------------------------------------------------- */
.wc-block-cart__totals-title,
.wc-block-components-checkout-step__title,
.wc-block-components-title {
	font-weight: 600;
	color: var(--sl-ink);
	letter-spacing: 0.01em;
}
.wc-block-components-checkout-step__title {
	font-size: 19px;
}
.wc-block-components-checkout-step__description {
	color: var(--sl-sub);
}

/* ---- Line items -------------------------------------------------------- */
.wc-block-cart-items,
.wc-block-cart-items__header {
	border-color: var(--sl-line);
}
.wc-block-cart-items__header {
	color: var(--sl-sub);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: var(--sl-fs-badge);
}
.wc-block-cart-items__row {
	border-top: 1px solid var(--sl-line);
	padding-top: 24px;
	padding-bottom: 24px;
}
.wc-block-cart-item__image img,
.wc-block-components-order-summary-item__image img {
	border-radius: 12px;
	border: 1px solid var(--sl-line);
	background: var(--sl-alt);
}
.wc-block-components-product-name {
	color: var(--sl-ink);
	font-weight: 600;
	text-decoration: none;
}
.wc-block-components-product-name:hover {
	color: var(--sl-accent);
}

/* Personalization / variation meta — quiet, indented, brass key */
.wc-block-components-product-details {
	margin-top: 8px;
	padding-left: 12px;
	border-left: 2px solid var(--sl-brass-pale);
	list-style: none;
}
.wc-block-components-product-details__name {
	color: var(--sl-brass);
	font-weight: 600;
}
.wc-block-components-product-details__value {
	color: var(--sl-sub);
}

/* Watch-strap reveal products carry placeholder variation attributes
 * ("Color: Your color" / "Size: Your size"). When the real chosen values are
 * present as personalization (Preferred colour / Custom size) in the same
 * item, hide the redundant placeholder variation block. Scoped by :has() so
 * ordinary products — which have no such personalization — keep their Color /
 * Size lines untouched. */
.wc-block-components-product-metadata:has(.wc-block-components-product-details__preferred-colour) .wc-block-components-product-details:has(.wc-block-components-product-details__color),
.wc-block-components-product-metadata:has(.wc-block-components-product-details__custom-size) .wc-block-components-product-details:has(.wc-block-components-product-details__size) {
	display: none;
}

/* ---- Quantity selector — bordered pill --------------------------------- */
.wc-block-components-quantity-selector {
	border: 1px solid var(--sl-line);
	border-radius: 999px;
	overflow: hidden;
	background: var(--sl-card);
}
.wc-block-components-quantity-selector__button {
	color: var(--sl-ink);
}
.wc-block-components-quantity-selector__button:hover {
	color: var(--sl-accent);
	background: var(--sl-alt);
}
.wc-block-components-quantity-selector__input {
	color: var(--sl-ink);
	font-weight: 600;
}

.wc-block-cart-item__remove-link {
	color: var(--sl-sub);
	text-underline-offset: 3px;
}
.wc-block-cart-item__remove-link:hover {
	color: var(--sl-error);
}

/* Prices */
.wc-block-components-product-price__value,
.wc-block-cart-item__total .wc-block-components-formatted-money-amount {
	color: var(--sl-ink);
	font-weight: 600;
}

/* ---- Order-summary / totals card -------------------------------------- */
.wc-block-cart__sidebar .wc-block-components-sidebar,
.wc-block-checkout__sidebar .wc-block-components-sidebar {
	background: var(--sl-card);
	border: 1px solid var(--sl-line);
	border-radius: 16px;
	padding: 24px;
	box-shadow: var(--sl-shadow-warm);
}
.wc-block-components-totals-item__label {
	color: var(--sl-sub);
}
.wc-block-components-totals-item__value {
	color: var(--sl-ink);
}
.wc-block-components-totals-wrapper {
	border-color: var(--sl-line) !important;
}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	color: var(--sl-ink);
	font-weight: 700;
	font-size: 17px;
}

/* Coupon row */
.wc-block-components-totals-coupon__button,
.wc-block-components-panel__button {
	color: var(--sl-accent);
}

/* ---- The CTA — single ink pill ---------------------------------------- */
.wc-block-cart__submit-button.wc-block-components-button,
.wc-block-components-checkout-place-order-button.wc-block-components-button {
	background: var(--sl-ink);
	color: var(--sl-on-dark);
	border-radius: 999px;
	font-weight: 600;
	letter-spacing: 0.02em;
	padding: 16px 28px;
	min-height: 54px;
	box-shadow: none;
	transition: background 0.2s ease, transform 0.1s ease;
}
.wc-block-cart__submit-button.wc-block-components-button:hover,
.wc-block-components-checkout-place-order-button.wc-block-components-button:hover {
	background: var(--sl-accent);
}
.wc-block-cart__submit-button.wc-block-components-button:active,
.wc-block-components-checkout-place-order-button.wc-block-components-button:active {
	transform: translateY(1px);
}

/* ---- Checkout form fields --------------------------------------------- */
.wc-block-components-text-input input,
.wc-block-components-text-input textarea,
.wc-blocks-components-select__select {
	border: 1px solid var(--sl-line);
	border-radius: 10px;
	background: var(--sl-card);
	color: var(--sl-ink);
}
.wc-block-components-text-input.is-active input,
.wc-block-components-text-input input:focus,
.wc-blocks-components-select__select:focus {
	border-color: var(--sl-brass);
	box-shadow: 0 0 0 3px rgba(169, 128, 63, 0.18);
	outline: none;
}
.wc-block-components-text-input label,
.wc-blocks-components-select__label {
	color: var(--sl-sub);
}
.wc-block-components-text-input.is-active label {
	color: var(--sl-brass);
}

/* ---- Payment options — bordered choice rows --------------------------- */
/* WC renders each method as an accordion option; the wrapper carries the
 * border. Replace WC's hard ink inset ring with a soft brass border. */
.wc-block-components-radio-control-accordion-option {
	border: 1px solid var(--sl-line);
	border-radius: 12px;
	margin-bottom: 10px;
	background: var(--sl-card);
	overflow: hidden;
	box-shadow: none !important;
	transition: border-color 0.2s ease, background 0.2s ease;
}
.wc-block-components-radio-control-accordion-option:hover {
	border-color: var(--sl-brass-pale);
}
.wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wc-block-components-radio-control__option-checked {
	border-color: var(--sl-brass);
	background: var(--sl-bg);
}
/* Multi-method (non-accordion) fallback rows */
.wc-block-components-radio-control > .wc-block-components-radio-control__option {
	border: 1px solid var(--sl-line);
	border-radius: 12px;
	padding: 16px 16px 16px 44px;
	margin-bottom: 10px;
	background: var(--sl-card);
}
.wc-block-components-radio-control__input:checked {
	accent-color: var(--sl-accent);
}

/* ---- PayPal express / smart button ------------------------------------ */
/* The button renders inside a PayPal iframe (not restyleable), so we shape
 * the container, spacing, and the divider around it. */
.wc-block-components-express-payment {
	margin: 8px 0 20px;
}
.wc-block-components-express-payment__title-and-divider,
.wc-block-components-checkout-payment-methods .wc-block-components-checkout-step__description {
	color: var(--sl-sub);
}
.wc-block-components-express-payment__event-buttons > li {
	border-radius: 10px;
	overflow: hidden;
}
/* PayPal-branded fallback button, if the gateway paints a plain button */
.paypal-button,
.wc-block-components-payment-method-button--paypal {
	background: var(--sl-paypal) !important;
	color: var(--sl-paypal-ink) !important;
	border-radius: 999px !important;
	font-weight: 700 !important;
}

/* ---- Mobile ------------------------------------------------------------ */
@media (max-width: 767px) {
	.wc-block-cart__sidebar .wc-block-components-sidebar,
	.wc-block-checkout__sidebar .wc-block-components-sidebar {
		padding: 18px;
		border-radius: 14px;
	}
	.wc-block-cart-items__row {
		padding-top: 18px;
		padding-bottom: 18px;
	}
	.wc-block-cart__submit-button.wc-block-components-button,
	.wc-block-components-checkout-place-order-button.wc-block-components-button {
		min-height: 50px;
		padding: 14px 22px;
	}
}

/* ============================================================
   §6C — PLP Shop filter & sort toolbar (v2.8)
   Rounded-rect controls (no pills), custom Sort dropdown,
   Category + Price facet panel (desktop inline / mobile drawer).
   ============================================================ */
.sl-plp {
	margin: 0 0 var(--sl-space-6);
}

.sl-plp__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--sl-space-4);
}

.sl-plp__left {
	display: flex;
	align-items: center;
	gap: var(--sl-space-4);
}

.sl-plp__count {
	color: var(--sl-sub);
	font-size: var(--sl-fs-caption);
	font-variant-numeric: tabular-nums;
}

/* ---- shared button reset (kill Storefront purple focus ring) ---- */
.sl-filter-btn,
.sl-sort__btn,
.sl-facets__apply,
.sl-sort__opt,
.sl-chip__x {
	box-shadow: none;
	font-family: inherit;
	cursor: pointer;
}
.sl-filter-btn:hover,
.sl-filter-btn:focus,
.sl-filter-btn:active,
.sl-sort__btn:hover,
.sl-sort__btn:focus,
.sl-sort__btn:active {
	box-shadow: none;
}
.sl-filter-btn:focus-visible,
.sl-sort__btn:focus-visible,
.sl-facets__apply:focus-visible {
	outline: 2px solid var(--sl-brass);
	outline-offset: 2px;
}

/* ---- Filter button (rounded-rect, badge) ---- */
.sl-filter-btn {
	display: inline-flex;
	align-items: center;
	gap: var(--sl-space-2);
	padding: 10px 16px;
	border: var(--sl-hairline) solid var(--sl-line);
	border-radius: var(--sl-r-control);
	background: var(--sl-card);
	color: var(--sl-ink);
	font-size: var(--sl-fs-card);
	font-weight: var(--sl-weight-semibold);
	transition: border-color var(--sl-transition-fast);
}
.sl-filter-btn:hover {
	border-color: var(--sl-brass);
}
.sl-filter-btn__n {
	min-width: 18px;
	padding: 1px 5px;
	border-radius: 6px;
	background: var(--sl-accent);
	color: var(--sl-on-dark);
	font-size: var(--sl-fs-badge);
	font-weight: var(--sl-weight-semibold);
	text-align: center;
}

/* ---- Sort: custom dropdown over the native select ---- */
.sl-sort {
	position: relative;
}
.sl-sort__btn {
	display: inline-flex;
	align-items: center;
	gap: var(--sl-space-2);
	padding: 10px 16px;
	border: var(--sl-hairline) solid var(--sl-line);
	border-radius: var(--sl-r-control);
	background: var(--sl-card);
	color: var(--sl-ink);
	font-size: var(--sl-fs-card);
	font-weight: var(--sl-weight-medium);
	transition: border-color var(--sl-transition-fast);
}
.sl-sort__btn:hover,
.sl-sort.is-open .sl-sort__btn {
	border-color: var(--sl-brass);
}
.sl-sort__lab {
	color: var(--sl-sub);
}
.sl-sort__val {
	font-weight: var(--sl-weight-semibold);
}
.sl-sort__btn svg {
	margin-left: 2px;
	transition: transform var(--sl-transition-fast);
}
.sl-sort.is-open .sl-sort__btn svg {
	transform: rotate(180deg);
}
.sl-sort__menu {
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	z-index: 20;
	min-width: 240px;
	padding: 7px;
	border: var(--sl-hairline) solid var(--sl-line);
	border-radius: 14px;
	background: var(--sl-card);
	box-shadow: var(--sl-shadow-warm);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity var(--sl-transition-fast), transform var(--sl-transition-fast), visibility var(--sl-transition-fast);
}
.sl-sort.is-open .sl-sort__menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}
.sl-sort__opt {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	gap: var(--sl-space-3);
	padding: 10px 12px;
	border: 0;
	border-radius: 9px;
	background: none;
	color: var(--sl-ink);
	font-size: var(--sl-fs-card);
	text-align: left;
}
.sl-sort__opt:hover {
	background: var(--sl-alt);
}
.sl-sort__opt.active {
	color: var(--sl-accent);
	font-weight: var(--sl-weight-semibold);
}
.sl-sort__ck {
	opacity: 0;
	color: var(--sl-brass);
}
.sl-sort__opt.active .sl-sort__ck {
	opacity: 1;
}
.sl-sort select[hidden] {
	display: none;
}

/* ---- Active filter chips ---- */
.sl-plp__chips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sl-space-2);
	margin-top: var(--sl-space-3);
}
.sl-chip {
	display: inline-flex;
	align-items: center;
	gap: var(--sl-space-2);
	padding: 6px 8px 6px 12px;
	border: var(--sl-hairline) solid var(--sl-line);
	border-radius: 9px;
	background: var(--sl-alt);
	color: var(--sl-ink);
	font-size: var(--sl-fs-caption);
}
.sl-chip__x {
	display: grid;
	place-items: center;
	width: 16px;
	height: 16px;
	border: 0;
	border-radius: 5px;
	background: none;
	color: var(--sl-sub);
	font-size: 13px;
	line-height: 1;
}
.sl-chip__x:hover {
	background: var(--sl-line);
	color: var(--sl-ink);
}
.sl-chip__clear {
	margin-left: var(--sl-space-2);
	color: var(--sl-sub);
	font-size: var(--sl-fs-caption);
	text-decoration: underline;
}
.sl-chip__clear:hover {
	color: var(--sl-accent);
}

/* ---- Facet panel (desktop: inline below bar) ---- */
.sl-facets {
	margin-top: var(--sl-space-4);
	padding-top: var(--sl-space-4);
	border-top: var(--sl-hairline) solid var(--sl-line);
}
.sl-facets__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--sl-space-6);
}
.sl-facet {
	margin: 0;
	padding: 0;
	border: 0;
}
.sl-facet legend {
	margin-bottom: var(--sl-space-3);
	padding: 0;
	color: var(--sl-sub);
	font-size: var(--sl-fs-caption);
	font-weight: var(--sl-weight-semibold);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.sl-opt {
	display: flex;
	align-items: center;
	gap: var(--sl-space-2);
	margin-bottom: var(--sl-space-2);
	color: var(--sl-nav);
	font-size: var(--sl-fs-card);
	cursor: pointer;
}
.sl-opt input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.sl-opt__box {
	flex: none;
	width: 18px;
	height: 18px;
	border: 1.5px solid var(--sl-line);
	border-radius: 5px;
	background: var(--sl-card);
	transition: background var(--sl-transition-fast), border-color var(--sl-transition-fast);
}
.sl-opt__box--radio {
	border-radius: 50%;
}
.sl-opt input:checked ~ .sl-opt__box {
	border-color: var(--sl-ink);
	background-color: var(--sl-ink);
	background-repeat: no-repeat;
	background-position: center;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none'%3E%3Cpath d='M2.5 6.2 5 8.6l4.5-5' stroke='%23f6efe3' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.sl-opt input:checked ~ .sl-opt__box--radio {
	background-image: radial-gradient(circle, var(--sl-on-dark) 0 3.5px, transparent 4px);
}
.sl-opt input:checked ~ .sl-opt__label {
	color: var(--sl-ink);
	font-weight: var(--sl-weight-medium);
}
.sl-opt input:focus-visible ~ .sl-opt__box {
	outline: 2px solid var(--sl-brass);
	outline-offset: 2px;
}
.sl-price-range {
	display: flex;
	align-items: center;
	gap: var(--sl-space-2);
	margin-top: var(--sl-space-3);
	color: var(--sl-sub);
	font-size: var(--sl-fs-caption);
}
.sl-price-in {
	width: 84px;
	padding: 8px 10px;
	border: var(--sl-hairline) solid var(--sl-line);
	border-radius: 10px;
	background: var(--sl-card);
	color: var(--sl-ink);
	font-family: inherit;
	font-size: var(--sl-fs-caption);
}
.sl-price-in:focus {
	border-color: var(--sl-brass);
	outline: none;
	box-shadow: 0 0 0 3px rgba(169, 128, 63, 0.18);
}

/* ---- Facet footer ---- */
.sl-facets__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sl-space-4);
	margin-top: var(--sl-space-6);
	padding-top: var(--sl-space-4);
	border-top: var(--sl-hairline) solid var(--sl-line);
}
.sl-facets__clear {
	color: var(--sl-sub);
	font-size: var(--sl-fs-card);
	text-decoration: underline;
}
.sl-facets__clear:hover {
	color: var(--sl-accent);
}
.sl-facets__apply {
	padding: 11px 22px;
	border: 0;
	border-radius: var(--sl-r-control);
	background: var(--sl-ink);
	color: var(--sl-on-dark);
	font-size: var(--sl-fs-card);
	font-weight: var(--sl-weight-semibold);
	transition: background var(--sl-transition-fast);
}
.sl-facets__apply:hover {
	background: var(--sl-accent);
}

/* ---- Mobile: Filter panel becomes a bottom drawer ---- */
@media (max-width: 768px) {
	body.sl-facets-open {
		overflow: hidden;
	}
	body.sl-facets-open::before {
		content: "";
		position: fixed;
		inset: 0;
		z-index: 60;
		background: rgba(36, 22, 8, 0.45);
	}
	.sl-facets.is-open {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 70;
		max-height: 85vh;
		margin: 0;
		padding: var(--sl-space-6) var(--sl-space-6) calc(var(--sl-space-6) + env(safe-area-inset-bottom));
		border-top: 0;
		border-radius: 20px 20px 0 0;
		background: var(--sl-card);
		box-shadow: 0 -12px 32px rgba(60, 35, 12, 0.18);
		overflow-y: auto;
	}
	.sl-facets__grid {
		grid-template-columns: 1fr;
		gap: var(--sl-space-6);
	}
	.sl-facets__foot {
		position: sticky;
		bottom: 0;
		margin-top: var(--sl-space-6);
		padding-bottom: 2px;
		background: var(--sl-card);
	}
	.sl-facets__apply {
		flex: 1;
		text-align: center;
	}
	.sl-sort__menu {
		min-width: 220px;
	}
}

/* ============================================================
   §6D — Branded 404 (v2.9) — replaces Storefront's cluttered default
   ============================================================ */
.sl-404 {
	max-width: 660px;
	margin: 0 auto;
	padding: var(--sl-space-18) 0 var(--sl-space-12);
	text-align: center;
}
.sl-404__eyebrow {
	margin: 0 0 var(--sl-space-3);
	color: var(--sl-brass);
	font-size: var(--sl-fs-caption);
	font-weight: var(--sl-weight-semibold);
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.sl-404__title {
	margin: 0 0 var(--sl-space-3);
	font-size: var(--sl-fs-h2);
	letter-spacing: var(--sl-tracking-heading);
	line-height: var(--sl-lh-heading);
}
.sl-404__text {
	max-width: 46ch;
	margin: 0 auto var(--sl-space-6);
	color: var(--sl-sub);
	font-size: var(--sl-fs-body);
	line-height: var(--sl-lh-body);
}

/* Product search */
.sl-404__search {
	max-width: 440px;
	margin: 0 auto var(--sl-space-6);
}
.sl-404__search .woocommerce-product-search {
	display: flex;
	gap: var(--sl-space-2);
}
.sl-404__search input[type="search"] {
	flex: 1;
	min-width: 0;
	padding: 12px 16px;
	border: var(--sl-hairline) solid var(--sl-line);
	border-radius: var(--sl-r-control);
	background: var(--sl-card);
	color: var(--sl-ink);
	font-family: inherit;
	font-size: var(--sl-fs-card);
}
.sl-404__search input[type="search"]:focus {
	border-color: var(--sl-brass);
	outline: none;
	box-shadow: 0 0 0 3px rgba(169, 128, 63, 0.18);
}
.sl-404__search button {
	padding: 12px 20px;
	border: 0;
	border-radius: var(--sl-r-control);
	background: var(--sl-ink);
	color: var(--sl-on-dark);
	font-family: inherit;
	font-size: var(--sl-fs-card);
	font-weight: var(--sl-weight-semibold);
	box-shadow: none;
	cursor: pointer;
	transition: background var(--sl-transition-fast);
}
.sl-404__search button:hover,
.sl-404__search button:focus,
.sl-404__search button:active {
	background: var(--sl-accent);
	box-shadow: none;
}
.sl-404__search button:focus-visible {
	outline: 2px solid var(--sl-brass);
	outline-offset: 2px;
}

/* Collection links (rounded-rect, matches filter chips) */
.sl-404__cats {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--sl-space-2);
	margin: 0 0 var(--sl-space-6);
}
.sl-404__cat {
	padding: 8px 16px;
	border: var(--sl-hairline) solid var(--sl-line);
	border-radius: var(--sl-r-control);
	background: var(--sl-card);
	color: var(--sl-ink);
	font-size: var(--sl-fs-card);
	text-decoration: none;
	transition: border-color var(--sl-transition-fast), color var(--sl-transition-fast);
}
.sl-404__cat:hover {
	border-color: var(--sl-brass);
	color: var(--sl-accent);
}

/* Primary action */
.sl-404__cta {
	display: inline-block;
	padding: 13px 30px;
	border-radius: var(--sl-r-control);
	background: var(--sl-ink);
	color: var(--sl-on-dark);
	font-size: var(--sl-fs-card);
	font-weight: var(--sl-weight-semibold);
	text-decoration: none;
	transition: background var(--sl-transition-fast);
}
.sl-404__cta:hover {
	background: var(--sl-accent);
	color: var(--sl-on-dark);
}

/* Popular row */
.sl-404__popular {
	margin-top: var(--sl-space-12);
	padding-top: var(--sl-space-8);
	border-top: var(--sl-hairline) solid var(--sl-line);
}
.sl-404__subtitle {
	margin: 0 0 var(--sl-space-6);
	text-align: center;
	font-size: var(--sl-fs-h3);
	letter-spacing: var(--sl-tracking-heading);
}

@media (max-width: 480px) {
	.sl-404 {
		padding: var(--sl-space-12) 0 var(--sl-space-8);
	}
	.sl-404__search .woocommerce-product-search {
		flex-wrap: wrap;
	}
	.sl-404__search button {
		width: 100%;
	}
}

/* ============================================================
   §6E — Content / Legal pages (Shipping, Returns & Refunds,
   Sizing & Care, Contact). Centred single-column reading layout,
   modern-ecom / Google Merchant convention. Template: page-legal.php
   ============================================================ */

/* Full width — cancel Storefront's two-column float on these pages */
.sl-legal-area.content-area {
	width: 100%;
	float: none;
	margin: 0 auto;
}

.sl-legal {
	max-width: 760px;
	margin: 0 auto;
	padding: var(--sl-space-12) 0 var(--sl-space-18);
}

.sl-legal__head {
	margin: 0 0 var(--sl-space-8);
	padding: 0 0 var(--sl-space-6);
	border-bottom: var(--sl-hairline) solid var(--sl-line);
}
.sl-legal__eyebrow {
	margin: 0 0 var(--sl-space-2);
	color: var(--sl-brass);
	font-size: var(--sl-fs-caption);
	font-weight: var(--sl-weight-semibold);
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.sl-legal__title {
	margin: 0;
	font-size: var(--sl-fs-h2);
	letter-spacing: var(--sl-tracking-heading);
	line-height: var(--sl-lh-heading);
}

/* Body typography */
.sl-legal__body {
	color: var(--sl-ink);
	font-size: var(--sl-fs-body);
	line-height: var(--sl-lh-body);
}
.sl-legal__body > .sl-legal__lead {
	margin: 0 0 var(--sl-space-8);
	color: var(--sl-sub);
	font-size: var(--sl-fs-card);
}
.sl-legal__body h2 {
	margin: var(--sl-space-12) 0 var(--sl-space-3);
	font-size: var(--sl-fs-h3);
	letter-spacing: var(--sl-tracking-heading);
	line-height: var(--sl-lh-heading);
}
.sl-legal__body h2:first-child {
	margin-top: 0;
}
.sl-legal__body p {
	margin: 0 0 var(--sl-space-4);
}
.sl-legal__body ul {
	margin: 0 0 var(--sl-space-4);
	padding-left: var(--sl-space-6);
}
.sl-legal__body li {
	margin: 0 0 var(--sl-space-2);
}
.sl-legal__body a {
	color: var(--sl-accent);
	text-decoration: underline;
	text-underline-offset: 2px;
}
.sl-legal__body a:hover {
	color: var(--sl-brass);
}
.sl-legal__updated {
	margin: var(--sl-space-8) 0 0;
	padding-top: var(--sl-space-6);
	border-top: var(--sl-hairline) solid var(--sl-line);
	color: var(--sl-sub);
	font-size: var(--sl-fs-caption);
}

/* Contact — info cards */
.sl-contact-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--sl-space-4);
	margin: 0 0 var(--sl-space-8);
}
.sl-contact-card {
	padding: var(--sl-space-6);
	border: var(--sl-hairline) solid var(--sl-line);
	border-radius: var(--sl-r-card);
	background: var(--sl-card);
}
.sl-contact-card__label {
	margin: 0 0 var(--sl-space-2);
	color: var(--sl-brass);
	font-size: var(--sl-fs-caption);
	font-weight: var(--sl-weight-semibold);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.sl-contact-card__value,
.sl-contact-card__value a {
	margin: 0;
	color: var(--sl-ink);
	font-size: var(--sl-fs-card);
	line-height: var(--sl-lh-body);
	text-decoration: none;
	word-break: break-word;
}
.sl-contact-card__value a:hover {
	color: var(--sl-accent);
}

@media (max-width: 768px) {
	.sl-legal {
		padding: var(--sl-space-8) 0 var(--sl-space-12);
	}
	.sl-contact-grid {
		grid-template-columns: 1fr;
	}
}

/* ============================================================
   §6F — Contact form ([sl_contact_form], inc/contact-form.php).
   Self-contained form in the Phase B language: hairline inputs,
   brass focus, ink CTA pill. Lives inside .sl-legal__body.
   ============================================================ */

.sl-contact-form {
	margin: var(--sl-space-12) 0 0;
	padding: var(--sl-space-8);
	border: var(--sl-hairline) solid var(--sl-line);
	border-radius: var(--sl-r-card);
	background: var(--sl-card);
}
.sl-contact-form__title {
	margin: 0 0 var(--sl-space-2);
	font-size: var(--sl-fs-h3);
	letter-spacing: var(--sl-tracking-heading);
	line-height: var(--sl-lh-heading);
}
.sl-contact-form__intro {
	margin: 0 0 var(--sl-space-6);
	color: var(--sl-sub);
	font-size: var(--sl-fs-card);
}

.sl-contact-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--sl-space-4);
}

.sl-field {
	display: block;
	margin: 0 0 var(--sl-space-4);
}
.sl-field__label {
	display: block;
	margin: 0 0 var(--sl-space-2);
	color: var(--sl-ink);
	font-size: var(--sl-fs-caption);
	font-weight: var(--sl-weight-semibold);
	letter-spacing: 0.02em;
}

.sl-contact-form .hn-input {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	border: 1px solid var(--sl-line);
	border-radius: var(--r-ctl);
	background: var(--sl-bg);
	color: var(--sl-ink);
	font-size: var(--sl-fs-body);
	line-height: var(--sl-lh-body);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.sl-contact-form .hn-input::placeholder {
	color: var(--sl-sub);
}
.sl-contact-form .hn-input:focus {
	outline: none;
	border-color: var(--sl-brass);
	box-shadow: 0 0 0 3px rgba(169, 128, 63, 0.18);
}
.sl-contact-form .sl-textarea {
	resize: vertical;
	min-height: 140px;
}
.sl-contact-form .sl-select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none' stroke='%2387786a' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='m3 5 4 4 4-4'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 38px;
}

/* Honeypot — kept out of view and the a11y tree without display:none
   (some bots skip display:none fields). */
.sl-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.sl-contact-form__foot {
	display: flex;
	align-items: center;
	gap: var(--sl-space-4);
	flex-wrap: wrap;
	margin-top: var(--sl-space-2);
}
.sl-contact-form__submit {
	background: var(--sl-ink);
	color: var(--sl-on-dark);
	border: none;
	border-radius: 999px;
	font-weight: 600;
	letter-spacing: 0.02em;
	padding: 14px 30px;
	min-height: 52px;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.1s ease;
}
.sl-contact-form__submit:hover {
	background: var(--sl-accent);
}
.sl-contact-form__submit:active {
	transform: translateY(1px);
}
.sl-contact-form__submit:disabled {
	opacity: 0.6;
	cursor: default;
}
.sl-contact-form__submit:focus-visible {
	outline: 2px solid var(--sl-brass);
	outline-offset: 2px;
}
.sl-contact-form__status {
	margin: 0;
	font-size: var(--sl-fs-card);
}
.sl-contact-form__status.is-ok {
	color: #2f7a3f;
}
.sl-contact-form__status.is-error {
	color: var(--sl-accent);
}
.sl-contact-form__status.is-pending {
	color: var(--sl-sub);
}

@media (max-width: 768px) {
	.sl-contact-form {
		padding: var(--sl-space-6);
	}
	.sl-contact-form__row {
		grid-template-columns: 1fr;
		gap: 0;
	}
}
