/* Maktune — "Morning Light" (Wakefit × Frido × Secretlab blend, Option A).
   Warm cream lifestyle retail: Fraunces serif display, rounded cards,
   cobalt CTAs, coral offer stickers, one dark cinematic spec band. */

:root {
	--cream: #FDFBF6;
	--cream-2: #F7F1E6;
	--card: #F4EDE0;
	--ink: #22201B;
	--muted: #6F675A;
	--line: #E8E0D1;
	--blue: #0E2CCB;
	--blue-dark: #0A22A0;
	--blue-tint: #EEF1FC;
	--coral: #F2600C;
	--star: #F0A93B;
	--dark: #171310;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 2px 6px rgba(60, 48, 30, .06), 0 18px 40px rgba(60, 48, 30, .10);
	--container: 1240px;
	--display: 'Fraunces', Georgia, serif;
	--mono: 'IBM Plex Mono', ui-monospace, monospace;
	/* Was a literal Inter stack, which silently beat tokens.css's --body
	   (this file loads after it) and kept Inter on <body> site-wide even
	   after --mk-font changed. One source of truth now. */
	--body: var(--mk-font);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--body);
	font-size: 16px;
	line-height: 1.55;
	color: var(--ink);
	background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
body h1, body h2, body h3, body h4 { line-height: 1.14; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Display voice */
.display, .section-title {
	font-family: var(--display);
	font-weight: 550;
	font-variation-settings: 'opsz' 72;
	letter-spacing: -.015em;
	line-height: 1.06;
	text-transform: none;
}
.eyebrow {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--coral);
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--coral); border-radius: 2px; }

/* ---------- Buttons (pills) */
.btn,
.button,
button.button,
.woocommerce a.button,
.woocommerce button.button,
.wc-block-components-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 28px;
	border-radius: 999px;
	border: 2px solid transparent;
	font: 600 15px/1.2 var(--body);
	letter-spacing: .01em;
	text-transform: none;
	cursor: pointer;
	transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn-primary,
.button,
button.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce #respond input#submit,
.woocommerce button.button.alt,
.woocommerce a.button.alt {
	background: var(--blue);
	color: #fff;
}
.btn-primary:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce #respond input#submit:hover {
	background: var(--blue-dark);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(14, 44, 203, .25);
}
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .65); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .1); color: #fff; }

/* ---------- Announcement bar */
.announce-bar {
	background: var(--blue);
	color: #fff;
	text-align: center;
	font-size: 13.5px;
	font-weight: 600;
	letter-spacing: .03em;
	padding: 9px 16px;
}

/* ---------- Header (warm light) */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(253, 251, 246, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header.scrolled { box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; gap: 22px; min-height: 74px; }
.site-logo { flex: 0 0 auto; }
.site-logo img { width: 168px; height: auto; }
.primary-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.primary-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 4px 14px;
	color: var(--ink);
	font-weight: 600;
	font-size: 15px;
	border-radius: 999px;
	white-space: nowrap;
}
.primary-nav a:hover { color: var(--blue); background: var(--blue-tint); }
.primary-nav li { position: relative; }
.primary-nav .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	flex-direction: column;
	min-width: 230px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 14px;
	box-shadow: var(--shadow);
	padding: 8px;
	z-index: 50;
}
.primary-nav li.has-sub:hover .sub-menu,
.primary-nav li.has-sub:focus-within .sub-menu { display: flex; }
.primary-nav .sub-menu a { width: 100%; color: var(--ink); border-radius: 10px; }
.primary-nav .sub-menu a:hover { color: var(--blue); background: var(--blue-tint); }
.header-search {
	flex: 1 1 auto;
	display: flex;
	max-width: 400px;
	margin-left: auto;
	border: 1.5px solid var(--line);
	border-radius: 999px;
	overflow: hidden;
	background: #fff;
}
.header-search:focus-within { border-color: var(--blue); }
.header-search input[type="search"] {
	flex: 1;
	border: 0;
	background: transparent;
	padding: 10px 18px;
	font: 400 14px var(--body);
	color: var(--ink);
	outline: none;
	min-width: 0;
}
.header-search input[type="search"]::placeholder { color: var(--muted); }
.header-search button { border: 0; background: transparent; padding: 0 16px; color: var(--muted); cursor: pointer; display: flex; align-items: center; }
.header-search button:hover { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 4px; }
.header-account, .header-cart {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	color: var(--ink);
}
.header-account:hover, .header-cart:hover { background: var(--blue-tint); color: var(--blue); }
.cart-count {
	position: absolute;
	top: 1px;
	right: -1px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 999px;
	background: var(--coral);
	color: #fff;
	font: 700 11px/18px var(--body);
	text-align: center;
}
.cart-count.is-empty { display: none; }
.nav-toggle { display: none; }

/* ---------- Hero: morning light lifestyle */
.hero-life { background: linear-gradient(180deg, #FBF5E9 0%, var(--cream) 100%); overflow: hidden; }
.hero-life-inner {
	display: grid;
	grid-template-columns: .82fr 1.18fr;
	align-items: center;
	gap: 44px;
	padding-top: 52px;
	padding-bottom: 56px;
}
.hero-life h1 {
	font-family: var(--display);
	font-weight: 560;
	font-variation-settings: 'opsz' 110;
	font-size: clamp(38px, 4.6vw, 62px);
	line-height: 1.04;
	letter-spacing: -.02em;
	margin: 0 0 18px;
}
.hero-life .hero-sub { font-size: 17px; color: var(--muted); max-width: 42ch; margin: 0 0 20px; }
.hero-price-chip {
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 8px 18px;
	font-size: 14px;
	font-weight: 600;
	color: var(--muted);
	margin: 0 0 22px;
	box-shadow: 0 2px 8px rgba(60, 48, 30, .06);
}
.hero-price-chip .woocommerce-Price-amount { font-size: 22px; font-weight: 800; color: var(--ink); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-figure { position: relative; }
.hero-figure img { width: 100%; border-radius: 24px; box-shadow: var(--shadow); }
.hero-rating-chip {
	position: absolute;
	left: 20px;
	bottom: 20px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, .94);
	backdrop-filter: blur(4px);
	border-radius: 999px;
	padding: 10px 18px;
	font-size: 14px;
	font-weight: 700;
	color: var(--ink);
	box-shadow: 0 4px 16px rgba(0, 0, 0, .14);
}
.hero-rating-chip .star { color: var(--star); }

/* ---------- Trust row */
.trust-strip { padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--cream); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 20px 18px; }
.trust-item svg { color: var(--blue); flex: 0 0 auto; }
.trust-item h3 { font-size: 14.5px; font-weight: 700; margin: 0; }
.trust-item p { font-size: 12.5px; color: var(--muted); margin: 0; }

/* ---------- Sections */
.section { padding: 68px 0; }
.section.alt { background: var(--cream-2); }
.section-title { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 10px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.section-head .section-title { margin-bottom: 0; }
.section-link { font-weight: 700; font-size: 15px; white-space: nowrap; }

/* ---------- Category tiles */
.category-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.category-tile {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 3px;
	background: var(--card);
	border: 1px solid transparent;
	border-radius: var(--radius);
	padding: 18px 20px 18px;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.category-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line); }
.category-tile-img { display: flex; align-items: center; justify-content: center; height: 156px; margin-bottom: 12px; background: #fff; border-radius: var(--radius-sm); }
.category-tile-img img { max-height: 80%; max-width: 80%; object-fit: contain; mix-blend-mode: multiply; transition: transform .25s ease; }
.category-tile:hover .category-tile-img img { transform: scale(1.06); }
.category-tile-code { display: none; }
.category-tile-name { font-weight: 700; font-size: 16.5px; color: var(--ink); display: flex; align-items: center; justify-content: space-between; }
.category-tile-name::after { content: "→"; color: var(--blue); font-weight: 600; transition: transform .18s ease; }
.category-tile:hover .category-tile-name::after { transform: translateX(4px); }
.category-tile-count { font-size: 13px; color: var(--muted); }

/* ---------- Product cards */
ul.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; margin: 0; padding: 0; }
ul.products.columns-3 { grid-template-columns: repeat(3, 1fr); }
li.product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
li.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card-media { position: relative; display: block; background: #fff; padding: 20px; overflow: hidden; }
.product-card-media img { width: 100%; aspect-ratio: 1; object-fit: contain; transition: transform .25s ease; }
li.product-card:hover .product-card-media img { transform: scale(1.05); }
.onsale {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--coral);
	color: #fff;
	border: 0;
	border-radius: 999px;
	font: 700 12px/1 var(--body);
	letter-spacing: .02em;
	padding: 7px 12px;
	z-index: 2;
	transform: none;
	box-shadow: 0 3px 10px rgba(242, 96, 12, .35);
}
.product-card-body { display: flex; flex-direction: column; gap: 6px; padding: 2px 18px 18px; flex: 1; }
.product-card-part {
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: .1em;
	color: #B4AA97;
	text-transform: uppercase;
	border-top: 1px solid var(--line);
	padding-top: 10px;
}
.product-card-title h2 { font-size: 15.5px; font-weight: 700; color: var(--ink); margin: 0; line-height: 1.3; }
.product-card-title:hover h2 { color: var(--blue); }
.product-card-rating { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.rating-num { font-weight: 700; color: var(--ink); }
.product-card-price { font-size: 19px; font-weight: 800; color: var(--ink); margin-top: auto; }
.product-card-price del { color: var(--muted); font-weight: 400; font-size: 13px; margin-left: 6px; }
.product-card-price ins { text-decoration: none; }
.product-card-cta .button { width: 100%; }
.product-card-cta .added_to_cart { display: block; text-align: center; font-size: 13px; font-weight: 700; margin-top: 8px; }

/* Stars */
.stars { position: relative; display: inline-block; width: 88px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 110 20'%3E%3Cg fill='%23E2D9C8'%3E%3Cpath d='M10 1l2.5 6h6.3l-5 4 1.9 6.2L10 13.5 4.3 17.2 6.2 11l-5-4h6.3zM32 1l2.5 6h6.3l-5 4 1.9 6.2L32 13.5l-5.7 3.7 1.9-6.2-5-4h6.3zM54 1l2.5 6h6.3l-5 4 1.9 6.2L54 13.5l-5.7 3.7 1.9-6.2-5-4h6.3zM76 1l2.5 6h6.3l-5 4 1.9 6.2L76 13.5l-5.7 3.7 1.9-6.2-5-4h6.3zM98 1l2.5 6h6.3l-5 4 1.9 6.2-5.7-3.7-5.7 3.7 1.9-6.2-5-4h6.3z'/%3E%3C/g%3E%3C/svg%3E") 0 0/88px 16px no-repeat; }
.stars-fill { position: absolute; inset: 0; overflow: hidden; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 110 20'%3E%3Cg fill='%23F0A93B'%3E%3Cpath d='M10 1l2.5 6h6.3l-5 4 1.9 6.2L10 13.5 4.3 17.2 6.2 11l-5-4h6.3zM32 1l2.5 6h6.3l-5 4 1.9 6.2L32 13.5l-5.7 3.7 1.9-6.2-5-4h6.3zM54 1l2.5 6h6.3l-5 4 1.9 6.2L54 13.5l-5.7 3.7 1.9-6.2-5-4h6.3zM76 1l2.5 6h6.3l-5 4 1.9 6.2L76 13.5l-5.7 3.7 1.9-6.2-5-4h6.3zM98 1l2.5 6h6.3l-5 4 1.9 6.2-5.7-3.7-5.7 3.7 1.9-6.2-5-4h6.3z'/%3E%3C/g%3E%3C/svg%3E") 0 0/88px 16px no-repeat; }
.star-rating { position: relative; display: inline-block; width: 88px; min-width: 88px; height: 16px; max-height: 16px; overflow: hidden; white-space: nowrap; font-size: 0; line-height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 110 20'%3E%3Cg fill='%23E2D9C8'%3E%3Cpath d='M10 1l2.5 6h6.3l-5 4 1.9 6.2L10 13.5 4.3 17.2 6.2 11l-5-4h6.3zM32 1l2.5 6h6.3l-5 4 1.9 6.2L32 13.5l-5.7 3.7 1.9-6.2-5-4h6.3zM54 1l2.5 6h6.3l-5 4 1.9 6.2L54 13.5l-5.7 3.7 1.9-6.2-5-4h6.3zM76 1l2.5 6h6.3l-5 4 1.9 6.2L76 13.5l-5.7 3.7 1.9-6.2-5-4h6.3zM98 1l2.5 6h6.3l-5 4 1.9 6.2-5.7-3.7-5.7 3.7 1.9-6.2-5-4h6.3z'/%3E%3C/g%3E%3C/svg%3E") 0 0/88px 16px no-repeat; }
.star-rating > span { position: absolute; inset: 0; height: 16px; overflow: hidden; white-space: nowrap; text-indent: -9999px; font-size: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 110 20'%3E%3Cg fill='%23F0A93B'%3E%3Cpath d='M10 1l2.5 6h6.3l-5 4 1.9 6.2L10 13.5 4.3 17.2 6.2 11l-5-4h6.3zM32 1l2.5 6h6.3l-5 4 1.9 6.2L32 13.5l-5.7 3.7 1.9-6.2-5-4h6.3zM54 1l2.5 6h6.3l-5 4 1.9 6.2L54 13.5l-5.7 3.7 1.9-6.2-5-4h6.3zM76 1l2.5 6h6.3l-5 4 1.9 6.2L76 13.5l-5.7 3.7 1.9-6.2-5-4h6.3zM98 1l2.5 6h6.3l-5 4 1.9 6.2-5.7-3.7-5.7 3.7 1.9-6.2-5-4h6.3z'/%3E%3C/g%3E%3C/svg%3E") 0 0/88px 16px no-repeat; }
/* Star sizes.
   The sprite is a fixed 5.5 : 1 strip, so height is always width / 5.5 —
   scaling width alone squashes the glyphs, which is how the review stars ended
   up looking congested in the first place.

   Only the track gets width/height. The fill is `position:absolute; inset:0`
   and clips by the percentage width set inline at the call site, so it needs
   its background rescaled and nothing else — give it a width here and the
   rating would silently always render full. */
.stars.is-sm { width: 99px;  height: 18px; background-size: 99px 18px; }
.stars.is-md { width: 110px; height: 20px; background-size: 110px 20px; }
.stars.is-lg { width: 132px; height: 24px; background-size: 132px 24px; }
.stars.is-xl { width: 165px; height: 30px; background-size: 165px 30px; }
.stars.is-sm .stars-fill { background-size: 99px 18px; }
.stars.is-md .stars-fill { background-size: 110px 20px; }
.stars.is-lg .stars-fill { background-size: 132px 24px; }
.stars.is-xl .stars-fill { background-size: 165px 30px; }

p.stars { display: flex; gap: 4px; margin: 6px 0; }
p.stars a { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 1.5px solid var(--line); border-radius: 8px; color: var(--star); font-weight: 700; text-decoration: none; }
p.stars a:hover, p.stars a.active { border-color: var(--star); background: #FFF6E6; }

/* ---------- Dark cinematic band */
.factory-band { position: relative; background: var(--dark); color: #fff; overflow: hidden; border-radius: 0; }
.factory-band::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 52%;
	background: var(--band-img, none) center/cover no-repeat;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
}
.factory-inner { position: relative; z-index: 1; padding: 76px 24px; max-width: 56%; }
.factory-band .eyebrow { color: var(--star); }
.factory-band .eyebrow::before { background: var(--star); }
.factory-title {
	font-family: var(--display);
	font-weight: 560;
	font-variation-settings: 'opsz' 96;
	font-size: clamp(30px, 3.8vw, 52px);
	line-height: 1.05;
	letter-spacing: -.015em;
	color: #fff;
	max-width: 16ch;
	margin: 0 0 16px;
}
.factory-title em { font-style: italic; color: #E8C687; }
.factory-copy { color: rgba(255, 255, 255, .72); font-size: 16px; max-width: 48ch; margin: 0 0 28px; }
.factory-specs { display: flex; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .16); margin-bottom: 32px; }
.factory-specs div { flex: 1 1 140px; padding: 16px 24px 0 0; margin-right: 20px; }
.factory-specs strong { display: block; font-family: var(--display); font-weight: 550; font-size: 30px; color: #fff; }
.factory-specs span { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }

/* ---------- Reviews (photo cards) */
.review-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card {
	position: relative;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.review-photo { aspect-ratio: 4 / 3; overflow: hidden; }
.review-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.review-card:hover .review-photo img { transform: scale(1.04); }
.review-card-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.review-card p { margin: 0; font-size: 14.5px; color: var(--ink); flex: 1; }
.review-card p::before { content: "“"; font-family: var(--display); color: var(--coral); margin-right: 2px; }
.review-card p::after { content: "”"; font-family: var(--display); color: var(--coral); margin-left: 2px; }
.review-card header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review-author { display: block; font-weight: 700; font-size: 14px; }
.review-card footer { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.review-avatar { display: none; }

/* ---------- Scroll reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in-view { opacity: 1; transform: none; }

/* ---------- Footer (warm light) */
.site-footer { background: var(--cream-2); color: var(--muted); border-top: 1px solid var(--line); margin-top: 0; }
.site-footer::before { display: none; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 56px 24px 40px; }
.footer-brand img { filter: none; opacity: 1; margin-bottom: 16px; width: 160px; height: auto; }
.footer-brand p { font-size: 14px; max-width: 34ch; }
.site-footer h3, body .site-footer h3 { color: var(--ink); font-family: var(--body); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--muted); font-size: 14px; }
.footer-col a:hover { color: var(--blue); }
.footer-trust li { font-size: 14px; position: relative; padding-left: 20px; }
.footer-trust li::before { content: "✓"; position: absolute; left: 0; color: var(--coral); font-weight: 700; }
.footer-bottom { border-top: 1px solid var(--line); padding: 16px 0; font-size: 13px; }
.footer-bottom .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.footer-bottom p { margin: 0; }
.footer-pay { display: flex; gap: 8px; }
.footer-pay span {
	border: 1px solid var(--line);
	background: #fff;
	border-radius: 6px;
	padding: 3px 9px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .04em;
	color: var(--muted);
}

/* ---------- WooCommerce pages ---------- */
.wc-page { padding: 36px 24px 64px; }
.wc-page .woocommerce-breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.wc-page .woocommerce-breadcrumb a { color: var(--muted); }
.wc-page .woocommerce-products-header h1,
.wc-page .page-title { font-family: var(--display); font-weight: 560; font-variation-settings: 'opsz' 96; font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -.015em; margin-bottom: 12px; }
.woocommerce-result-count { color: var(--muted); font-size: 13.5px; }
.woocommerce-ordering select { border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 16px; font: 500 13.5px var(--body); background: #fff; }
.wc-page ul.products { margin-top: 26px; }

.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	border: 1px solid var(--line);
	border-left: 3px solid var(--blue);
	background: #fff;
	box-shadow: var(--shadow);
	padding: 14px 18px !important;
	margin-bottom: 20px;
	list-style: none;
	border-radius: var(--radius-sm);
}
.woocommerce-error { border-left-color: var(--coral); }

/* Single product */
.single-product div.product { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.single-product div.product > .onsale { top: 12px; left: 12px; z-index: 5; }
.single-product div.product .woocommerce-product-gallery { position: relative; }
.single-product div.product .woocommerce-product-gallery img { border: 1px solid var(--line); border-radius: var(--radius); }
.single-product div.product .flex-control-thumbs { display: flex; gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.single-product div.product .flex-control-thumbs img { width: 72px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; }
.single-product div.product .flex-control-thumbs img.flex-active { border-color: var(--blue); }
.single-product div.product .summary { position: sticky; top: 96px; }
.pdp-part { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.single-product .product_title { font-family: var(--display); font-weight: 560; font-variation-settings: 'opsz' 96; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.06; letter-spacing: -.015em; text-transform: none; }
.single-product .woocommerce-product-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.single-product .price { font-size: 30px; font-weight: 800; color: var(--ink); margin: 8px 0 16px; }
.single-product .price del { font-size: 16px; color: var(--muted); font-weight: 400; }
.single-product .price ins { text-decoration: none; }
.single-product .woocommerce-product-details__short-description { color: var(--muted); font-size: 15.5px; }
.single-product form.cart { display: flex; gap: 12px; margin: 20px 0; }
.single-product form.cart .qty { width: 76px; min-height: 48px; border: 1.5px solid var(--line); border-radius: 999px; text-align: center; font: 600 15px var(--body); }
.single-product form.cart .single_add_to_cart_button { flex: 1; max-width: 340px; font-size: 15px; }
.pdp-trust { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 4px 0 16px; padding: 14px 18px; background: var(--cream-2); border-radius: var(--radius-sm); }
.pdp-trust li { position: relative; padding-left: 20px; font-size: 13px; font-weight: 600; color: var(--ink); }
.pdp-trust li::before { content: "✓"; position: absolute; left: 0; color: var(--coral); font-weight: 800; }
.product_meta { font-size: 13px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.woocommerce-tabs { grid-column: 1 / -1; margin-top: 44px; }
.woocommerce-tabs ul.tabs { display: flex; gap: 4px; list-style: none; margin: 0 0 -1px; padding: 0; border-bottom: 1px solid var(--line); }
.woocommerce-tabs ul.tabs a { display: inline-block; padding: 12px 20px; font-weight: 700; font-size: 14.5px; color: var(--muted); border-bottom: 2.5px solid transparent; }
.woocommerce-tabs ul.tabs li.active a { color: var(--blue); border-bottom-color: var(--blue); }
.woocommerce-tabs .panel { padding: 28px 0; }
.related.products, .upsells.products { grid-column: 1 / -1; margin-top: 44px; }
.related.products > h2, .upsells.products > h2 { font-family: var(--display); font-weight: 560; font-size: 28px; letter-spacing: -.015em; margin-bottom: 20px; }

#reviews .commentlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
#reviews .comment_container { display: flex; gap: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; background: #fff; }
#reviews .comment_container img.avatar { border-radius: 50%; width: 44px; height: 44px; }
#reviews .comment-text { flex: 1; }
#reviews .comment-text .meta { margin: 4px 0; font-size: 13px; color: var(--muted); }
#reviews .star-rating { float: none; }

/* Cart / checkout / account */
.woocommerce-cart-form table.shop_table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
table.shop_table th, table.shop_table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14.5px; }
table.shop_table thead th { background: var(--cream-2); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
table.shop_table td.product-thumbnail img { width: 72px; border: 1px solid var(--line); border-radius: 8px; }
table.shop_table .qty { width: 70px; min-height: 42px; border: 1.5px solid var(--line); border-radius: 999px; text-align: center; }
.cart_totals { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; }
.cart_totals h2 { font-size: 20px; }
.cart_totals .checkout-button { width: 100%; font-size: 15px; }
.cart-collaterals { display: flex; justify-content: flex-end; margin-top: 28px; }
.cart-collaterals .cart_totals { width: 100%; max-width: 420px; }
.coupon { display: flex; gap: 10px; }
.coupon .input-text { border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 16px; font: 400 14px var(--body); }

.woocommerce-checkout form.checkout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
#order_review_heading { display: none; }
#order_review { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; position: sticky; top: 96px; }
.woocommerce-checkout #payment { background: transparent; }
.woocommerce-checkout #payment ul.payment_methods { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.woocommerce-checkout #payment ul.payment_methods li { border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; background: #fff; }
.woocommerce-checkout #payment div.payment_box { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.woocommerce-checkout #place_order { width: 100%; font-size: 15px; }
.form-row label { font-weight: 600; font-size: 13.5px; margin-bottom: 4px; display: block; }
.form-row .input-text, .form-row select,
.select2-container--default .select2-selection--single {
	width: 100%;
	min-height: 46px;
	border: 1.5px solid var(--line);
	border-radius: var(--radius-sm);
	padding: 10px 14px;
	font: 400 14.5px var(--body);
	background: #fff;
}
.form-row .input-text:focus, .form-row select:focus { border-color: var(--blue); outline: none; }
.form-row { margin: 0 0 14px; }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 48%; display: inline-block; }
.woocommerce form .form-row-first { margin-right: 4%; }

.wc-block-components-button:not(.is-link),
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
	background: var(--blue) !important;
	color: #fff !important;
	border-radius: 999px !important;
	font-weight: 700 !important;
}
.wc-block-components-button:not(.is-link):hover { background: var(--blue-dark) !important; }
.wc-block-components-product-badge, .wc-block-components-sale-badge { border-radius: 999px; }

.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 16px; border-radius: 999px; font-weight: 600; color: var(--ink); }
.woocommerce-MyAccount-navigation li.is-active a, .woocommerce-MyAccount-navigation a:hover { background: var(--blue-tint); color: var(--blue); }
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.woocommerce-account.woocommerce-checkout .woocommerce { display: block; }

.woocommerce-pagination { text-align: center; margin-top: 36px; }
.woocommerce-pagination ul { display: inline-flex; gap: 6px; list-style: none; padding: 0; }
.woocommerce-pagination a, .woocommerce-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	border: 1.5px solid var(--line);
	border-radius: 999px;
	font-weight: 700;
	color: var(--ink);
}
.woocommerce-pagination span.current { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Defensive resets */
ul.products li.product { width: 100%; float: none; margin: 0; }
.woocommerce-page ul.products::before, .woocommerce-page ul.products::after { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	ul.products { grid-template-columns: repeat(3, 1fr); }
	.review-cards { grid-template-columns: repeat(2, 1fr); }
	.category-tiles { grid-template-columns: repeat(2, 1fr); }
	.trust-grid { grid-template-columns: repeat(2, 1fr); }
	.header-search { max-width: 260px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.factory-inner { max-width: 100%; }
	.factory-band::after { width: 100%; opacity: .28; -webkit-mask-image: none; mask-image: none; }
}

@media (max-width: 820px) {
	.primary-nav { display: none; position: fixed; inset: 0; background: var(--cream); z-index: 200; padding: 84px 24px 24px; overflow-y: auto; }
	.primary-nav.open { display: block; }
	.primary-nav ul { flex-direction: column; gap: 2px; }
	.primary-nav a { width: 100%; font-size: 17px; min-height: 48px; }
	.primary-nav .sub-menu { display: flex; position: static; border: 0; box-shadow: none; padding-left: 16px; background: transparent; }
	.nav-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer; z-index: 300; }
	.nav-toggle span { display: block; height: 2.5px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
	.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
	.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
	.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
	.header-inner { flex-wrap: wrap; gap: 12px; padding-top: 10px; padding-bottom: 12px; min-height: 0; }
	.site-logo { order: 2; margin-right: auto; }
	.site-logo img { width: 140px; }
	.nav-toggle { order: 1; }
	.header-actions { order: 3; }
	.header-search { order: 4; flex-basis: 100%; max-width: none; }

	.hero-life-inner { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; padding-bottom: 40px; }
	.hero-figure { order: -1; }
	.hero-life h1 { font-size: clamp(32px, 8.4vw, 44px); }

	.single-product div.product { grid-template-columns: 1fr; gap: 28px; }
	.single-product div.product .summary { position: static; }
	.woocommerce-checkout form.checkout { grid-template-columns: 1fr; }
	#order_review { position: static; }
	.woocommerce-account .woocommerce { grid-template-columns: 1fr; }
	.cart-collaterals .cart_totals { max-width: none; }
	.factory-specs div { flex-basis: 40%; }
}

@media (max-width: 560px) {
	ul.products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.product-card-body { padding: 2px 12px 12px; }
	.product-card-media { padding: 12px; }
	.review-cards { grid-template-columns: 1fr; }
	.category-tiles { grid-template-columns: 1fr 1fr; gap: 12px; }
	.category-tile-img { height: 110px; }
	.section { padding: 44px 0; }
	.trust-grid { grid-template-columns: 1fr 1fr; }
	.trust-item { justify-content: flex-start; padding: 14px 10px; }
	.footer-grid { grid-template-columns: 1fr; gap: 28px; }
	table.shop_table th, table.shop_table td { padding: 10px 8px; font-size: 13.5px; }
	.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 100%; margin-right: 0; }
	.hero-rating-chip { left: 12px; bottom: 12px; font-size: 12.5px; padding: 8px 14px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; transition: none; }
	li.product-card, .category-tile, .btn, .button { transition: none; }
	html { scroll-behavior: auto; }
}

body { padding-bottom: env(safe-area-inset-bottom); }
