/*
Theme Name: WOWOOD
Theme URI: https://wowood.local
Author: WOWOOD
Description: Clean, modern and lightweight WooCommerce theme for WOWOOD personalised wooden gifts. Edit texts, images and contact details in Appearance → Customize → WOWOOD Theme.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wowood
WC requires at least: 8.0
*/

/* ---------- Tokens ---------- */
:root {
	--ink: #1f1b18;
	--ink-soft: #3d3631;
	--muted: #6b635c;
	--line: #e3dfdb;
	--bg: #ffffff;
	--soft: #f6f4f2;
	--accent: #8a4b2a;
	--accent-dark: #6e3b20;
	--required: #b8261e;
	--radius: 8px;
	--radius-sm: 6px;
	--max: 1240px;
	--gutter: clamp(16px, 4vw, 32px);
	--font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--font-head: "Poppins", "Segoe UI", Arial, sans-serif;
	--shadow: 0 1px 2px rgba(31, 27, 24, .05), 0 10px 30px rgba(31, 27, 24, .08);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.7;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; line-height: 1.2; font-family: var(--font-head); font-weight: 600; letter-spacing: -0.005em; color: var(--ink); }
h1 { font-size: clamp(32px, 4vw, 46px); }
h2 { font-size: clamp(26px, 3vw, 34px); }
h3 { font-size: 21px; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 1000; top: 8px; left: 8px;
	background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Buttons & forms ---------- */
.btn,
button,
input[type="submit"],
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wc-block-components-button:not(.is-link) {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font: inherit; font-size: 16px; font-weight: 600; line-height: 1.2; letter-spacing: .01em;
	padding: 15px 28px; border: 1px solid var(--accent); border-radius: var(--radius-sm);
	background: var(--accent); color: #fff; cursor: pointer;
	transition: background .2s, border-color .2s, color .2s;
}
.btn:hover,
button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.wc-block-components-button:not(.is-link):hover {
	background: var(--accent-dark); border-color: var(--accent-dark); color: #fff;
}
.btn--ghost { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn--ghost:hover { background: var(--accent); color: #fff; }
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt { background: var(--accent); border-color: var(--accent); color: #fff; }
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
/* Header icons (links and buttons) share one 40x40 box so they line up exactly */
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; min-height: 0; padding: 0; line-height: 1; background: none; border: 0; color: var(--ink); border-radius: 50%; }
.icon-btn svg { display: block; flex-shrink: 0; }
.icon-btn:hover { background: var(--soft); color: var(--ink); }

input[type="text"], input[type="email"], input[type="tel"], input[type="search"],
input[type="password"], input[type="number"], input[type="url"], textarea, select {
	width: 100%; font: inherit; color: var(--ink); background: #fff;
	padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
}
input:focus, textarea:focus, select:focus { border-color: var(--ink); outline: none; }

/* ---------- Announcement ---------- */
.announcement {
	background: var(--accent); color: #fff; text-align: center;
	font-size: 14px; font-weight: 500; letter-spacing: .03em; padding: 10px var(--gutter);
}

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: saturate(180%) blur(8px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 80px; }
.site-branding { flex-shrink: 0; }
.site-title { font-family: var(--font-head); font-size: 27px; font-weight: 700; letter-spacing: 0; line-height: 1; margin: 0; color: var(--accent); }
.site-title a:hover { color: var(--accent); }
.custom-logo { display: block; max-height: 52px; width: auto; }
.custom-logo-link { display: block; }
.footer-brand .custom-logo { max-height: 72px; margin-bottom: 12px; }
.primary-nav { flex: 1; display: flex; justify-content: center; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.primary-nav li { position: relative; }
.primary-nav a { font-size: 15px; font-weight: 500; padding: 8px 0; display: block; color: var(--ink-soft); }
.primary-nav a:hover { color: var(--accent); }
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a { color: var(--accent); font-weight: 600; box-shadow: inset 0 -2px 0 var(--accent); }
.primary-nav .sub-menu .current-menu-item > a { box-shadow: none; }
.primary-nav .sub-menu {
	display: none; position: absolute; top: 100%; left: -16px; min-width: 200px;
	flex-direction: column; gap: 0; padding: 8px; background: #fff;
	border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow);
}
.primary-nav .sub-menu a { padding: 9px 12px; border-radius: 4px; }
.primary-nav .sub-menu a:hover { background: var(--soft); }
.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu { display: flex; }
.primary-nav .menu-item-has-children > a::after {
	content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 7px;
	border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg);
}
.submenu-toggle { display: none; }
/* Two-column dropdown ("For Professionals": By product | By profession) on desktop */
@media (min-width: 1051px) {
	.primary-nav .mega-menu > .sub-menu { flex-direction: row; gap: 24px; padding: 16px 20px 18px; min-width: 520px; }
	.primary-nav .mega-menu > .sub-menu > li { flex: 1; min-width: 230px; }
	.primary-nav .mega-menu .sub-menu .sub-menu a { white-space: nowrap; }
	.primary-nav .mega-menu .sub-menu .sub-menu,
	.primary-nav .mega-menu li:hover > .sub-menu .sub-menu { display: flex; position: static; flex-direction: column; min-width: 0; padding: 0; border: 0; box-shadow: none; background: none; }
	.primary-nav .menu-heading > a { padding: 4px 12px 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
	.primary-nav .menu-heading > a:hover { background: none; text-decoration: underline; }
	.primary-nav .menu-heading > a::after { display: none; }
}
/* Small laptops: tighter menu so every item stays on one line */
@media (min-width: 1051px) {
	.primary-nav > ul > li > a { white-space: nowrap; }
}
@media (min-width: 1051px) and (max-width: 1240px) {
	.header-inner { gap: 16px; }
	.primary-nav ul { gap: 16px; }
	.primary-nav > ul > li > a { font-size: 14px; }
	.primary-nav .sub-menu { gap: 0; }
	.primary-nav .mega-menu > .sub-menu { gap: 24px; }
}
/* Third menu level in the mobile menu: indent under its heading */
@media (max-width: 1050px) {
	.primary-nav .sub-menu .sub-menu { padding-left: 14px; }
	.primary-nav .menu-heading > a { font-weight: 600; color: var(--ink); }
}
@media (max-width: 1050px) {
	.primary-nav .menu-item-has-children > a::after { display: none; }
	.primary-nav .submenu-toggle,
	.primary-nav .submenu-toggle:hover,
	.primary-nav .submenu-toggle:focus {
		display: inline-flex; align-items: center; justify-content: center;
		width: 44px; height: 44px; min-height: 0; margin: 0 -10px 0 0; padding: 0;
		border: 0; border-radius: 0; background: none; box-shadow: none;
		color: var(--ink-soft); cursor: pointer;
	}
	.primary-nav .submenu-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }
	.submenu-toggle::before {
		content: ""; width: 8px; height: 8px; margin-top: -4px;
		border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
		transform: rotate(45deg); transition: transform .2s ease, margin .2s ease;
	}
	.primary-nav .is-open > .submenu-toggle { color: var(--accent); }
	.is-open > .submenu-toggle::before { transform: rotate(-135deg); margin-top: 4px; }
}
.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.cart-link { position: relative; }
.wowood-cart-count {
	position: absolute; top: 0; right: -2px; min-width: 18px; height: 18px; padding: 0 5px;
	border-radius: 9px; background: var(--accent); color: #fff;
	font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}
.wowood-cart-count.is-empty { display: none; }
.menu-toggle { display: none; }
.header-search { display: none; border-top: 1px solid var(--line); padding: 16px 0; }
.search-open .header-search { display: block; }
.header-search form { display: flex; gap: 8px; max-width: 640px; margin: 0 auto; }
.header-search label { flex: 1; }
.header-search .woocommerce-product-search { display: flex; gap: 8px; width: 100%; }

@media (max-width: 1050px) {
	.menu-toggle { display: inline-flex; }
	/* Phones: menu + search | logo (centred) | account + cart */
	.header-inner { display: grid; grid-template-columns: 40px 40px minmax(0, 1fr) 40px 40px; grid-template-areas: "menu search logo account cart"; align-items: center; gap: 2px; min-height: 64px; }
	.header-actions { display: contents; }
	.menu-toggle { grid-area: menu; }
	.search-toggle { grid-area: search; }
	.site-branding { grid-area: logo; justify-self: center; }
	.header-account { grid-area: account; }
	.cart-link { grid-area: cart; }
	.header-inner .custom-logo { max-height: 44px; }
	.primary-nav {
		display: none; position: absolute; top: 100%; left: 0; right: 0;
		background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
		max-height: var(--nav-max, calc(100dvh - 64px)); overflow-y: auto;
		overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
	}
	.nav-open .primary-nav { display: block; }
	.nav-open { overflow: hidden; }
	.primary-nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; }
	.primary-nav li { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line); }
	.primary-nav li > a { flex: 1; padding: 13px 0; }
	.primary-nav .current-menu-item > a,
	.primary-nav .current_page_item > a { box-shadow: none; }
	.primary-nav li:hover > .sub-menu,
	.primary-nav li:focus-within > .sub-menu { display: none; }
	.primary-nav .sub-menu {
		display: none; position: static; flex-basis: 100%; min-width: 0;
		border: 0; border-radius: 0; box-shadow: none; padding: 0 0 8px 14px; background: none;
	}
	.primary-nav li.is-open > .sub-menu { display: flex; }
	.primary-nav .sub-menu li { border-bottom: 0; }
	.primary-nav .sub-menu a { padding: 10px 0; font-size: 14px; color: var(--ink-soft); }
	.header-actions { gap: 0; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

/* ---------- Sections ---------- */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section--soft { background: var(--soft); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-head h2 { position: relative; margin: 0; padding-bottom: 14px; font-size: clamp(24px, 3vw, 32px); font-weight: 600; letter-spacing: -0.01em; }
.section-head h2::before { content: attr(data-eyebrow); display: block; margin-bottom: 6px; font-family: var(--font-body, Inter, sans-serif); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.section-head h2:not([data-eyebrow])::before { content: "WOWOOD collection"; }
.section-head h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--accent), #d9a46b); }
.section-head a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; font-size: 14px; color: var(--ink); white-space: nowrap; transition: border-color .2s, color .2s, background .2s; }
.section-head a:hover { border-color: var(--accent); background: var(--accent); color: #fff; }
@media (max-width: 600px) {
	.section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); }

/* Hero */
.hero { padding: clamp(32px, 6vw, 72px) 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero { background: var(--soft); }
.hero .hero-title { font-size: clamp(38px, 5.2vw, 62px); line-height: 1.1; letter-spacing: -0.01em; margin-bottom: 22px; }
.hero p { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 30em; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--soft); box-shadow: var(--shadow); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-placeholder {
	height: 100%; display: grid; place-items: center;
	background:
		radial-gradient(circle at 50% 40%, rgba(255, 255, 255, .14), transparent 55%),
		linear-gradient(160deg, #a25b35, #8a4b2a 55%, #6e3b20);
	color: #fff; font-family: var(--font-head); font-size: clamp(80px, 13vw, 150px); font-weight: 600;
}
@media (max-width: 800px) {
	.hero-grid { grid-template-columns: 1fr; }
	.hero-media { aspect-ratio: 4 / 3; order: -1; }
}

/* USPs */
.usps { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 36px; padding-bottom: 36px; }
.usp { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.usp__icon {
	display: flex; align-items: center; justify-content: center; flex-shrink: 0;
	width: 76px; height: 76px; border-radius: 50%;
	background: #f6ece5; color: var(--accent);
}
.usp h3 { font-size: 17px; margin: 0 0 5px; text-wrap: balance; }
.usp p { font-size: 14px; line-height: 1.5; color: var(--muted); margin: 0 auto; max-width: 250px; text-wrap: balance; }
/* Two by two on tablets and phones */
@media (max-width: 1000px) {
	.usp-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; padding-top: 28px; padding-bottom: 28px; }
}
@media (max-width: 480px) {
	.usp { gap: 10px; }
	.usp__icon { width: 64px; height: 64px; }
	.usp__icon svg { width: 30px; height: 30px; }
	.usp h3 { font-size: 15px; }
	.usp p { font-size: 13px; }
}

/* Categories */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }
.cat-card { display: block; }
.cat-card__img {
	aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--soft);
	display: grid; place-items: center; margin-bottom: 12px;
	font-family: var(--font-head); font-size: 46px; font-weight: 600; color: var(--accent);
}
.cat-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cat-card:hover .cat-card__img img { transform: scale(1.04); }
.cat-card__name { font-weight: 600; font-size: 17px; }
.cat-card__count { font-size: 15px; color: var(--muted); }

/* Empty-state notice for the shop owner */
.owner-note {
	border: 1px dashed var(--line); border-radius: var(--radius); padding: 28px;
	text-align: center; color: var(--muted); background: #fff;
}
.owner-note strong { color: var(--ink); }

/* CTA band */
.cta-band { background: linear-gradient(160deg, #a25b35, #8a4b2a 60%, #6e3b20); color: #fff; border-radius: var(--radius); padding: clamp(36px, 6vw, 72px); text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .85); max-width: 34em; margin: 0 auto 28px; }
.cta-band .btn { background: #fff; color: var(--accent); border-color: #fff; }
.cta-band .btn:hover { background: transparent; border-color: #fff; color: #fff; }

/* ---------- Content ---------- */
.site-main { padding: clamp(32px, 5vw, 56px) 0 clamp(48px, 7vw, 88px); min-height: 50vh; }
.page-header { margin-bottom: 32px; }
.page-header .archive-description { color: var(--muted); }
.entry-content { max-width: 760px; }
.entry-content--wide, .woocommerce-cart .entry-content, .woocommerce-checkout .entry-content, .woocommerce-account .entry-content { max-width: none; }
.entry-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.entry-content h2 { font-size: clamp(21px, 2.2vw, 25px); margin: 1.6em 0 .5em; }
.entry-content h3 { font-size: 19px; margin: 1.4em 0 .4em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .35em; }
.entry-content .wp-block-button__link, .entry-content .button { text-decoration: none; color: #fff; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px; }
.post-card__thumb { border-radius: var(--radius); overflow: hidden; margin-bottom: 14px; aspect-ratio: 16 / 10; background: var(--soft); }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card h2 { font-size: 20px; }
.post-meta { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.pagination, .woocommerce nav.woocommerce-pagination { margin-top: 40px; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.nav-links .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.nav-links .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.error-404 { text-align: center; padding: 40px 0; }
.error-404 form { max-width: 480px; margin: 24px auto 0; display: flex; gap: 8px; }

/* ---------- WooCommerce ---------- */
.woocommerce .woocommerce-breadcrumb { font-size: 14px; color: var(--muted); margin: 0 0 24px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--muted); }
.woocommerce-products-header { margin-bottom: 8px; }
.woocommerce .woocommerce-result-count { color: var(--muted); font-size: 14px; margin: 8px 0 24px; }
.woocommerce .woocommerce-ordering select { width: auto; padding: 10px 36px 10px 14px; }

/* Product grid: CSS grid instead of floats */
.woocommerce ul.products,
.woocommerce-page ul.products {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px;
	margin: 0 0 24px; padding: 0;
}
.woocommerce ul.products.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.woocommerce ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.woocommerce ul.products.columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.woocommerce ul.products::before,
.woocommerce ul.products::after { content: none !important; display: none !important; }
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	width: auto !important; float: none !important; margin: 0 !important;
	position: relative; display: flex; flex-direction: column;
}
.woocommerce ul.products li.product a img {
	aspect-ratio: 1; object-fit: cover; width: 100%;
	border-radius: var(--radius); background: var(--soft); margin: 0 0 14px;
	transition: opacity .3s;
}
.woocommerce ul.products li.product a:hover img { opacity: .9; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--font); font-size: 16px; font-weight: 500; letter-spacing: 0; padding: 0; margin: 0 0 4px; color: var(--ink);
}
.woocommerce ul.products li.product .price { color: var(--accent); font-weight: 700; font-size: 16px; margin-bottom: 12px; }
.woocommerce ul.products li.product .price del { color: var(--muted); font-weight: 400; opacity: 1; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.woocommerce ul.products li.product .star-rating { font-size: 12px; margin-bottom: 6px; }
.woocommerce ul.products li.product .button {
	margin-top: auto; width: 100%; background: transparent; color: var(--accent);
	border-color: var(--accent); padding: 12px 16px; font-size: 15px;
}
.woocommerce ul.products li.product .button:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.woocommerce ul.products li.product .added_to_cart { font-size: 14px; margin-top: 8px; color: var(--accent); }
.woocommerce span.onsale {
	top: 12px; left: 12px; right: auto; margin: 0; min-width: 0; min-height: 0;
	padding: 5px 10px; line-height: 1.4; border-radius: 4px;
	background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
@media (max-width: 1024px) {
	.woocommerce ul.products, .woocommerce-page ul.products,
	.woocommerce ul.products.columns-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
	.woocommerce ul.products, .woocommerce-page ul.products,
	.woocommerce ul.products[class*="columns-"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
}

/* Continuous loading on shop & category pages */
.products-loader { display: flex; flex-direction: column; align-items: center; gap: 10px; min-height: 60px; margin: 8px 0 24px; color: var(--muted); font-size: 15px; }
.products-loader__spinner, .products-loader__text { display: none; }
.products-loader.is-loading .products-loader__spinner,
.products-loader.is-loading .products-loader__text,
.products-loader.is-done .products-loader__text { display: block; }
.products-loader__spinner { width: 28px; height: 28px; border: 3px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: wowood-spin .8s linear infinite; }
@keyframes wowood-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .products-loader__spinner { animation-duration: 2s; } }
.woocommerce-pagination[hidden], .products-loader__more[hidden] { display: none !important; }

/* Single product */
.woocommerce div.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); }
.woocommerce div.product div.images,
.woocommerce div.product div.summary { width: auto !important; float: none !important; margin: 0 !important; }
.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related,
.woocommerce div.product .upsells { grid-column: 1 / -1; }
.woocommerce div.product div.images img { border-radius: var(--radius); background: var(--soft); }
.woocommerce div.product div.images .flex-control-thumbs { margin-top: 12px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.woocommerce div.product div.images .flex-control-thumbs li { width: auto; float: none; }
.woocommerce div.product div.images .flex-control-thumbs img { border-radius: var(--radius-sm); }
.woocommerce div.product .product_title { font-size: clamp(26px, 3vw, 36px); margin-bottom: 12px; }
.woocommerce div.product p.price,
.woocommerce div.product span.price { color: var(--accent); font-size: 26px; font-weight: 700; margin-bottom: 20px; }
.woocommerce div.product p.price del { color: var(--muted); font-size: 18px; font-weight: 400; }
.woocommerce div.product p.price ins { text-decoration: none; }
.woocommerce-product-details__short-description { color: var(--ink-soft); margin-bottom: 24px; }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; margin-bottom: 24px; }
.woocommerce div.product form.cart div.quantity { float: none; margin: 0; }
.woocommerce .quantity .qty { width: 80px; height: 100%; min-height: 48px; text-align: center; }
.woocommerce div.product form.cart .button { flex: 1; min-width: 200px; float: none; }
/* Buy Now: dark, next to the brown Add to cart */
.woocommerce div.product form.cart .button.wowood-buy-now { flex: 1 1 100%; margin: 0; background: var(--ink); border-color: var(--ink); color: #fff; }
.woocommerce div.product form.cart .button.wowood-buy-now:hover { background: #000; border-color: #000; color: #fff; }
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart { flex-wrap: wrap; }
.woocommerce div.product form.cart.variations_form { display: block; }
.woocommerce div.product form.cart .variations { margin-bottom: 16px; }
.woocommerce div.product form.cart .variations td, .woocommerce div.product form.cart .variations th { padding: 6px 0; vertical-align: middle; }
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart { display: flex; gap: 12px; }
.woocommerce .product_meta { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }
.woocommerce .product_meta > span { display: block; margin-bottom: 4px; }
.woocommerce div.product .woocommerce-tabs { margin-top: 24px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 24px; border-bottom: 1px solid var(--line); display: flex; gap: 28px; overflow-x: auto; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none; border: 0; border-radius: 0; margin: 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 12px 0; font-weight: 600; color: var(--muted); white-space: nowrap; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); }
.woocommerce div.product .woocommerce-tabs .panel { max-width: 760px; }
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child { display: none; }
.related.products > h2, .upsells.products > h2 { margin: 48px 0 24px; }

/* Category trust strip, picture tiles, bottom text */
.cat-trust { list-style: none; margin: 18px 0 8px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.cat-trust li { display: flex; gap: 10px; align-items: center; padding: 12px 14px; background: var(--soft); border-radius: 12px; }
.cat-trust svg { flex-shrink: 0; color: var(--accent); }
.cat-trust span { display: flex; flex-direction: column; font-size: 13px; line-height: 1.35; color: var(--muted); }
.cat-trust strong { font-size: 14px; color: var(--ink); }
@media (max-width: 900px) { .cat-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 16px; margin: 24px 0 8px; }
.cat-tile { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; color: var(--ink); }
.cat-tile__img { width: 100%; max-width: 132px; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--soft); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s, transform .2s; }
.cat-tile__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat-tile:hover .cat-tile__img { box-shadow: 0 0 0 2px var(--accent); transform: translateY(-2px); }
.cat-tile__name { font-size: 14px; font-weight: 600; line-height: 1.3; }
.cat-bottom { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.cat-bottom__text { max-width: 820px; color: var(--ink-soft); }
.cat-bottom__text h2 { font-size: clamp(22px, 2.4vw, 26px); }
.cat-bottom__text h3 { font-size: 17px; margin: 1.2em 0 .3em; }
.cat-custom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 32px 0 8px; padding: 24px 28px; border-radius: var(--radius); background: var(--soft); }
.cat-custom h2 { font-size: 22px; margin: 0 0 4px; }
.cat-custom p { margin: 0; color: var(--muted); }

/* Parent category pages: one section per sub-category */
.cat-subnav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.cat-subnav a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; color: var(--ink); background: #fff; }
.cat-subnav a:hover { border-color: var(--accent); color: var(--accent); }
.cat-section { padding: 28px 0 8px; border-top: 1px solid var(--line); margin-top: 24px; scroll-margin-top: 90px; }
.cat-section .section-head h2 { margin: 0; }

/* Product details (replaces the tabs) */
.woocommerce div.product .product-details { grid-column: 1 / -1; margin-top: clamp(24px, 4vw, 48px); border-top: 1px solid var(--line); }
.pd-section { padding: clamp(28px, 4vw, 40px) 0; border-bottom: 1px solid var(--line); }
.pd-section > h2, .pd-reviews .woocommerce-Reviews-title { font-size: clamp(22px, 2.4vw, 28px); margin: 0 0 20px; }
.pd-bullets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 36px; }
.pd-bullets li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.55; color: var(--ink-soft); }
.pd-bullets svg { flex-shrink: 0; color: var(--accent); margin-top: 1px; }
.pd-uses { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.pd-use { display: flex; gap: 12px; align-items: flex-start; padding: 18px; background: var(--soft); border-radius: var(--radius); }
.pd-use svg { flex-shrink: 0; color: var(--accent); }
.pd-use strong { display: block; font-size: 16px; color: var(--ink); margin-bottom: 2px; }
.pd-use span { display: block; font-size: 15px; color: var(--muted); line-height: 1.5; }
.pd-desc { max-width: 780px; color: var(--ink-soft); }
.pd-desc > *:last-child { margin-bottom: 0; }
.pd-desc h3 { font-size: 19px; color: var(--ink); margin: 1.6em 0 .5em; }
.pd-desc h4 { font-size: 16px; font-family: var(--font-body, inherit); font-weight: 650; color: var(--ink); margin: 1.1em 0 .25em; }
.pd-desc h4 + p { margin-top: 0; }
.pd-desc ol { padding-left: 1.3em; }
.pd-desc ol li { margin-bottom: 6px; line-height: 1.55; }
.pd-desc .ww-desc-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 16px 0 4px; }
.pd-desc .ww-desc-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: var(--soft); }
@media (max-width: 480px) { .pd-desc .ww-desc-gallery { gap: 8px; } }
.pd-specs { max-width: 640px; }
.woocommerce .pd-specs table.shop_attributes { width: 100%; border-collapse: separate; border-spacing: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.woocommerce .pd-specs table.shop_attributes th,
.woocommerce .pd-specs table.shop_attributes td { padding: 12px 16px; border: 0; border-bottom: 1px solid var(--line); text-align: left; font-size: 15px; font-style: normal; line-height: 1.5; vertical-align: top; background: #fff; }
.woocommerce .pd-specs table.shop_attributes tr:last-child th,
.woocommerce .pd-specs table.shop_attributes tr:last-child td { border-bottom: 0; }
.woocommerce .pd-specs table.shop_attributes th { width: 38%; background: var(--soft); font-weight: 600; color: var(--ink); }
.woocommerce .pd-specs table.shop_attributes td { color: var(--ink-soft); }
.woocommerce .pd-specs table.shop_attributes td p { margin: 0; padding: 0; }
.pd-reviews { border-bottom: 0; }
@media (max-width: 700px) {
	.pd-bullets { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
	.woocommerce div.product { grid-template-columns: 1fr; }
}

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	border: 1px solid var(--line); border-left: 3px solid var(--accent);
	background: var(--soft); border-radius: var(--radius-sm); color: var(--ink);
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--accent); }
.woocommerce-error { border-left-color: var(--required); }
.woocommerce abbr.required, .woocommerce .required { color: var(--required); text-decoration: none; border: 0; }

/* Account */
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }
/* WooCommerce's clearfix pseudo-elements would become grid cells and push the menu into the wrong column */
.woocommerce-account .woocommerce::before, .woocommerce-account .woocommerce::after { content: none; display: none; }
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-account .woocommerce-MyAccount-navigation { grid-column: 1; }
.woocommerce-account .woocommerce-MyAccount-content { grid-column: 2; }
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content { width: auto; float: none; min-width: 0; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.woocommerce-MyAccount-navigation li a { display: block; padding: 11px 14px; border-radius: 8px; color: var(--ink-soft); font-weight: 500; text-decoration: none; }
.woocommerce-MyAccount-navigation li a:hover { background: var(--soft); color: var(--ink); }
.woocommerce-MyAccount-navigation li.is-active a { background: var(--soft); color: var(--accent); font-weight: 600; box-shadow: inset 3px 0 0 var(--accent); }
.woocommerce-MyAccount-navigation-link--customer-logout { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
.woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--muted); }
.woocommerce-MyAccount-content > p:first-child { margin-top: 0; }
/* Address cards */
.woocommerce-account .woocommerce-Addresses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 16px; }
.woocommerce-account .woocommerce-Addresses::before, .woocommerce-account .woocommerce-Addresses::after { content: none; display: none; }
.woocommerce-account .woocommerce-Addresses .woocommerce-Address { float: none; width: auto; margin: 0; padding: 20px 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.woocommerce-account .woocommerce-Address-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.woocommerce-account .woocommerce-Addresses .woocommerce-Address .woocommerce-Address-title.title::before,
.woocommerce-account .woocommerce-Addresses .woocommerce-Address .woocommerce-Address-title.title::after { content: none; display: none; }
.woocommerce-account .woocommerce-Address-title h2 { font-size: 18px; margin: 0; }
.woocommerce-account .woocommerce-Address-title .edit { float: none; font-size: 14px; font-weight: 600; color: var(--accent); white-space: nowrap; }
.woocommerce-account .woocommerce-Address address { font-style: normal; line-height: 1.6; color: var(--ink-soft); }
/* Order + account tables */
.woocommerce-account .woocommerce-orders-table th, .woocommerce-account .woocommerce-table--order-details th { background: var(--soft); font-weight: 600; }
.woocommerce-account .woocommerce-orders-table__cell-order-number a, .woocommerce-account .woocommerce-table--order-details .product-name a { font-weight: 600; color: var(--accent); }
.woocommerce-account .woocommerce-customer-details address { font-style: normal; border-radius: 12px; }
/* Account forms: same field style as checkout */
.woocommerce-account .woocommerce-MyAccount-content input.input-text,
.woocommerce-account .woocommerce-MyAccount-content select,
.woocommerce-account .woocommerce-MyAccount-content .select2-selection { min-height: 46px; padding: 10px 12px; border: 1px solid #d9d4cf; border-radius: 6px; background: #fff; }
.woocommerce-account .woocommerce-MyAccount-content .select2-selection__rendered { line-height: 24px; padding-left: 0; }
.woocommerce-account .woocommerce-MyAccount-content .select2-selection__arrow { top: 10px; }
.woocommerce-account .woocommerce-MyAccount-content input.input-text:focus,
.woocommerce-account .woocommerce-MyAccount-content select:focus { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); outline: 0; }
.woocommerce-account .woocommerce-MyAccount-content .form-row label { font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.woocommerce-account .woocommerce-MyAccount-content fieldset { margin: 24px 0; padding: 18px 20px 4px; border: 1px solid var(--line); border-radius: 12px; }
.woocommerce-account .woocommerce-MyAccount-content legend { padding: 0 8px; font-weight: 600; }
.woocommerce-account .woocommerce-MyAccount-content em { font-size: 13px; color: var(--muted); }
/* Dashboard quick links */
.account-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin-top: 24px; }
.account-tile { display: flex; flex-direction: column; gap: 4px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.account-tile:hover { border-color: var(--accent); box-shadow: var(--shadow); color: var(--ink); }
.woocommerce-MyAccount-content a.account-tile, .woocommerce-MyAccount-content a.account-tile:hover { text-decoration: none; }
.account-tile strong { font-size: 16px; color: var(--accent); }
.account-tile span { font-size: 13px; color: var(--muted); }
@media (max-width: 600px) { .woocommerce-account .woocommerce-Addresses { grid-template-columns: minmax(0, 1fr); } .account-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
/* Orders list on phones: one card per order, order number on top */
@media (max-width: 768px) {
	.woocommerce-account table.woocommerce-orders-table { border: 0; }
	.woocommerce-account table.woocommerce-orders-table tbody tr { display: block; margin: 0 0 14px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--bg); }
	.woocommerce-account table.woocommerce-orders-table tbody th.woocommerce-orders-table__cell-order-number { display: block; padding: 12px 14px; background: var(--soft); border: 0; text-align: left; }
	.woocommerce-account table.woocommerce-orders-table tbody th.woocommerce-orders-table__cell-order-number::before { content: none; }
	.woocommerce-account table.woocommerce-orders-table tbody td { border-top: 1px solid var(--line); padding: 10px 14px; }
	.woocommerce-account table.woocommerce-orders-table tbody tr:nth-child(2n) td { background: transparent; }
}
.woocommerce-account:not(.logged-in) .woocommerce { display: block; max-width: 900px; }
@media (max-width: 800px) {
	.woocommerce-account .woocommerce { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { grid-column: 1; }
	/* Menu as a row of swipeable tabs on phones */
	.woocommerce-MyAccount-navigation ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
	.woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
	.woocommerce-MyAccount-navigation li { flex: 0 0 auto; }
	.woocommerce-MyAccount-navigation li a { white-space: nowrap; padding: 9px 14px; }
	.woocommerce-MyAccount-navigation li.is-active a { box-shadow: inset 0 -2px 0 var(--accent); }
	.woocommerce-MyAccount-navigation-link--customer-logout { margin: 0; padding: 0; border: 0; }
}

/* Customer login card */
.woocommerce-account:not(.logged-in) .woocommerce { max-width: 920px; margin: 0 auto; }
.login-card { display: grid; grid-template-columns: 1fr 1.1fr; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--bg); box-shadow: var(--shadow); margin-bottom: 40px; }
.login-card__intro { background: var(--soft); padding: 40px 36px; display: flex; flex-direction: column; }
.login-card__eyebrow { margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.login-card__title { font-size: 30px; margin: 0 0 20px; }
.login-card__perks { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.login-card__perks li { position: relative; padding-left: 30px; color: var(--ink-soft); }
.login-card__perks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }
.login-card__new { margin: auto 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.login-card__new a { font-weight: 600; color: var(--accent); white-space: nowrap; }
.login-card__form { padding: 40px 36px; }
.login-card__form > h2 { font-size: 22px; margin: 0 0 18px; }
.woocommerce .login-card form.woocommerce-form-login { border: 0; padding: 0; margin: 0; border-radius: 0; box-shadow: none; }
.login-card .woocommerce-form-login .form-row { padding: 0; margin: 0 0 16px; }
.login-card .woocommerce-form-login input.input-text { width: 100%; min-height: 46px; }
.login-card .woocommerce-form-login .form-row:has(.woocommerce-form-login__submit) { display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
.woocommerce .login-card .woocommerce-form-login__submit { width: 100%; min-height: 48px; margin: 0; }
.login-card .woocommerce-form-login__rememberme { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 14px; color: var(--ink-soft); }
/* Track Your Order */
.track-order { max-width: 680px; margin: 0 auto 48px; }
.track-order__form { border: 1px solid var(--line); border-radius: 14px; padding: 28px; background: var(--bg); box-shadow: var(--shadow); }
.track-order__intro { margin: 0 0 18px; color: var(--ink-soft); }
.track-order__field { margin: 0; }
.track-order__field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; }
.track-order__field input { width: 100%; min-height: 46px; }
.track-order__form .button { margin-top: 18px; width: 100%; min-height: 48px; }
.track-order__message { margin-top: 20px; padding: 14px 18px; border-left: 3px solid var(--required); background: var(--soft); border-radius: var(--radius-sm); }
.track-order__message a { display: inline-block; margin-left: 6px; font-weight: 600; color: var(--accent); }
.track-order__result { margin-top: 24px; border: 1px solid var(--line); border-radius: 14px; padding: 28px; background: var(--bg); }
.track-order__number { margin: 0 0 4px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.track-order__headline { font-size: 24px; margin: 0 0 22px; }
.track-steps { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.track-steps::before { content: ""; position: absolute; top: 11px; left: 16.66%; right: 16.66%; height: 2px; background: var(--line); }
.track-steps li { position: relative; text-align: center; padding-top: 32px; font-size: 14px; color: var(--muted); }
.track-steps li::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 24px; height: 24px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line); box-sizing: border-box; z-index: 1; }
.track-steps li.is-done { color: var(--ink); font-weight: 500; }
.track-steps li.is-done::before { border-color: var(--accent); background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 13px no-repeat; }
.track-steps__label, .track-steps__date { display: block; }
.track-steps__date { margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--muted); }
.track-order__courier { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; background: var(--soft); border-radius: var(--radius); }
.track-order__courier p { margin: 0; }
.track-order__courier a.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: var(--radius-sm); background: var(--accent); color: #fff; font-weight: 600; text-decoration: none; }
.track-order__courier a.button:hover { background: var(--accent-dark); color: #fff; }
.track-order__note { margin: 0; padding: 14px 18px; background: var(--soft); border-radius: var(--radius); color: var(--ink-soft); }
@media (max-width: 600px) {
	.track-order__form, .track-order__result { padding: 20px; }
	.track-steps li { font-size: 12.5px; }
	.track-order__courier .button { width: 100%; text-align: center; }
}

.checkout-google { max-width: 560px; margin: 0 0 28px; padding: 20px 22px 4px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); }
.checkout-google__title { margin: 0 0 2px; font-family: var(--font-head); font-size: 18px; font-weight: 600; color: var(--ink); }
.checkout-google__text { margin: 0 0 14px; font-size: 14px; color: var(--ink-soft); }
.checkout-google .google-login__button { justify-content: flex-start; }
.checkout-google .google-login__or { margin-top: 14px; }
.google-login { margin: 0 0 18px; }
.google-login__button { min-height: 44px; display: flex; justify-content: center; }
.google-login__error { margin: 10px 0 0; font-size: 14px; color: var(--required); }
.google-login__or { display: flex; align-items: center; gap: 12px; margin: 18px 0 0; font-size: 13px; color: var(--muted); }
.google-login__or::before, .google-login__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.login-card .lost_password { margin: 4px 0 0; font-size: 14px; }
.login-card .lost_password a { color: var(--muted); }
.login-card .lost_password a:hover { color: var(--accent); }
@media (max-width: 760px) {
	.login-card { grid-template-columns: 1fr; }
	.login-card__form { order: -1; padding: 28px 20px; }
	.login-card__intro { padding: 24px 20px; }
	.login-card__title { font-size: 24px; margin-bottom: 14px; }
	.login-card__perks { margin-bottom: 18px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--soft); border-top: 1px solid var(--line); padding: 56px 0 24px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-bottom { padding-right: 76px; } /* room for the WhatsApp button */
.footer-address { font-style: normal; color: var(--muted); margin: 0 0 12px; line-height: 1.6; }
.footer-brand .site-title { margin-bottom: 12px; }
.footer-brand p { color: var(--muted); max-width: 28em; }
.footer-col h3 { font-family: var(--font); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.social-links { display: flex; gap: 8px; margin-top: 16px; }
.social-links a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--accent); }
.social-links a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* WhatsApp button */
.wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 60;
	width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
	background: #25d366; color: #fff; box-shadow: var(--shadow);
}
.wa-float:hover { color: #fff; transform: translateY(-2px); }

/* Alignments from the block editor */
.alignwide { max-width: var(--max); }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: 14px; color: var(--muted); }

/* Product card badges */
.woocommerce ul.products li.product { position: relative; }
.card-badges { position: absolute; top: 10px; left: 10px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; max-width: calc(100% - 20px); pointer-events: none; }
.card-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 8px; border-radius: 999px; font-family: var(--font-body, Inter, sans-serif); font-size: 11.5px; font-weight: 600; line-height: 1; color: var(--ink); background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.card-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.card-badge--multi::before { background: conic-gradient(#e2445c, #f29f3d, #3fb37f, #3c8de0, #9b5de5, #e2445c); }
.card-badge--photo::before { background: #3c8de0; }
.card-badge--best::before { background: #c8902b; }
/* Amazon rating under the price */
.amz-rating { display: flex; align-items: center; gap: 8px; margin: -4px 0 16px; font-size: 14px; color: var(--muted); }
.amz-rating strong { color: var(--ink); font-size: 15px; }
.amz-stars { position: relative; display: inline-block; font-size: 16px; letter-spacing: 2px; color: #e3dfdb; line-height: 1; }
.amz-stars::before { content: "★★★★★"; position: absolute; inset: 0; width: var(--pct); overflow: hidden; color: #e7a33e; }

/* Shop All page */
.shop-header { max-width: 760px; }
.shop-header .eyebrow { display: inline-block; margin-bottom: 8px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.shop-header .page-title { font-size: clamp(30px, 4vw, 44px); margin: 0 0 10px; }
.shop-intro { font-size: 17px; color: var(--muted); margin: 0; }
.shop-browse { margin: 8px 0 0; }
.shop-browse__title { font-size: 20px; margin: 32px 0 14px; }
.occ-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.occ-chips a { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 500; color: var(--ink); transition: all .2s; }
.occ-chips a:hover { border-color: var(--accent); background: var(--accent); color: #fff; }

/* Filter sidebar */
.shop-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; align-items: start; }
.shop-filters { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow: auto; padding: 4px 4px 4px 0; }
.shop-filters summary { display: none; }
.filter-group { padding: 0 0 18px; margin: 0 0 18px; border-bottom: 1px solid var(--line); }
.filter-group:last-child { border-bottom: 0; }
.filter-group h3 { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.filter-group ul { list-style: none; margin: 0; padding: 0; }
.filter-group ul ul { margin: 2px 0 6px 12px; padding-left: 10px; border-left: 1px solid var(--line); }
.filter-group a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 8px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.35; }
.filter-group a span { font-size: 12px; color: var(--muted); background: var(--soft); border-radius: 999px; padding: 1px 8px; }
.filter-group a:hover { background: var(--soft); color: var(--accent); }
.filter-group a.is-active { background: var(--accent); color: #fff; font-weight: 600; }
.filter-group a.is-active span { background: rgba(255,255,255,.2); color: #fff; }
.filter-parent > a { font-weight: 600; color: var(--ink); }
.filter-clear { color: var(--accent) !important; font-weight: 600; }
@media (max-width: 900px) {
	.shop-layout { grid-template-columns: 1fr; gap: 16px; }
	.shop-filters { position: static; max-height: none; border: 1px solid var(--line); border-radius: 12px; padding: 0; overflow: visible; }
	.shop-filters summary { display: flex; align-items: center; gap: 8px; padding: 12px 16px; font-weight: 600; cursor: pointer; list-style: none; }
	.shop-filters summary::-webkit-details-marker { display: none; }
	.shop-filters__body { padding: 4px 16px 8px; }
}
.shop-main ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .shop-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.shop-main { transition: opacity .2s; }
.shop-main.is-updating { opacity: .4; pointer-events: none; }
.shop-main .cat-section:first-of-type { margin-top: 8px; }

/* Homepage rows loaded while scrolling */
.home-more { display: flex; justify-content: center; padding: 32px 0; }
.home-more .products-loader__spinner { display: none; }
.home-more.is-js .btn { display: none; }
.home-more.is-js .products-loader__spinner { display: inline-block; }
.home-cat-row.is-entering { animation: wwRowIn .6s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes wwRowIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .home-cat-row.is-entering { animation: none; } }
.home-more { min-height: 120px; align-items: center; }

/* Smooth, brand-like feel */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .25s; }
html { scroll-behavior: smooth; }
.woocommerce ul.products li.product a img { transition: transform .5s cubic-bezier(.2, .7, .2, 1), opacity .4s ease; }
.woocommerce ul.products li.product:hover a img { transform: scale(1.04); }
.woocommerce ul.products li.product a:has(img) { display: block; overflow: hidden; border-radius: var(--radius); }
.woocommerce ul.products li.product a img, .cat-card__img img { background: var(--soft); }
.btn, .button, button, .section-head a, .cat-card { transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.cat-card:hover { transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) {
	@view-transition { navigation: none; }
	html { scroll-behavior: auto; }
	.woocommerce ul.products li.product:hover a img, .cat-card:hover { transform: none; }
}
.cat-trust-wrap { margin-top: 40px; }
.cat-trust-wrap .cat-trust { margin: 0; }
.cat-trust-wrap + .cat-bottom { margin-top: 32px; }

/* ---------- Mobile polish ---------- */
@media (max-width: 600px) {
	.announcement { font-size: 12.5px; padding-top: 7px; padding-bottom: 7px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.cat-card__name { font-size: 15px; }
	.cat-card__count { font-size: 13px; }
	.woocommerce .woocommerce-breadcrumb { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 16px; }
	.wa-float { transform: scale(.85); transform-origin: bottom right; }
}
/* Show the product gallery immediately (WooCommerce hides it until its slider script loads). */
.woocommerce div.product div.images.woocommerce-product-gallery { opacity: 1 !important; }

/* Empty cart */
.empty-cart { max-width: 560px; margin: 24px auto 40px; text-align: center; }
.empty-cart__icon { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: var(--soft); color: var(--accent); margin-bottom: 16px; }
.empty-cart h2 { font-size: clamp(24px, 3vw, 30px); margin: 0 0 8px; }
.empty-cart p { color: var(--muted); margin: 0 0 20px; }
.empty-cart__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.empty-cart__chips a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--ink); background: #fff; }
.empty-cart__chips a:hover { border-color: var(--accent); color: var(--accent); }
.wp-block-woocommerce-empty-cart-block .empty-cart a.btn { color: #fff !important; text-decoration: none !important; }
.wp-block-woocommerce-empty-cart-block .empty-cart__chips a { text-decoration: none !important; color: var(--ink) !important; }
.wp-block-woocommerce-empty-cart-block .empty-cart__chips a:hover { color: var(--accent) !important; }

/* Cart & checkout polish */
.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button, .wp-block-woocommerce-cart a.wc-block-components-button { text-decoration: none !important; }
.wc-block-components-product-name { text-decoration: none !important; font-weight: 600; color: var(--ink) !important; }
.wc-block-components-product-metadata__description { display: none; }

/* Sticky add-to-cart bar (phones) */
.sticky-atc { display: none; }
@media (max-width: 900px) {
	.sticky-atc { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; align-items: center; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 -4px 18px rgba(0,0,0,.08); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s cubic-bezier(.2,.7,.2,1); }
	.sticky-atc[hidden] { display: none; }
	.sticky-atc.is-visible { transform: none; }
	.sticky-atc__img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
	.sticky-atc__info { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
	.sticky-atc__name { font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.sticky-atc__price { font-size: 14px; font-weight: 700; color: var(--accent); }
	.sticky-atc__price small, .sticky-atc__price .woocommerce-price-suffix { font-size: 11px; font-weight: 600; }
	.sticky-atc__btn { flex-shrink: 0; padding: 11px 18px; font-size: 14px; }
	body.has-sticky-atc .wa-float { bottom: 84px !important; }
	body.has-sticky-atc { padding-bottom: 72px; }
}

.wa-float { transition: bottom .3s cubic-bezier(.2,.7,.2,1), transform .2s; }
.nav-open .wa-float { display: none; }

/* Delivery estimate */
.delivery-eta { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 10px 14px; border-radius: 12px; background: var(--soft); font-size: 14.5px; color: var(--ink-soft); line-height: 1.4; }
.delivery-eta svg { flex-shrink: 0; color: var(--accent); }
.delivery-eta strong { color: var(--ink); }
.delivery-eta { align-items: flex-start; }
.delivery-eta__note { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted); }
.delivery-eta[hidden] { display: none; }
/* PIN code delivery checker */
.pin-check { margin: 16px 0 18px; padding: 12px 14px 14px; border: 1px solid var(--line); border-radius: 12px; }
.pin-check__label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.pin-check__row { display: flex; gap: 8px; }
.pin-check__input { flex: 1; min-width: 0; min-height: 44px; padding: 8px 12px; border: 1px solid #d9d4cf; border-radius: 8px; font-size: 16px; letter-spacing: .08em; }
.pin-check__input:focus { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); outline: 0; }
.pin-check .pin-check__btn { flex: 0 0 auto; min-height: 44px; padding: 0 20px; border-radius: 8px; }
.pin-check__result { margin: 10px 0 0; font-size: 14px; line-height: 1.45; color: var(--ink-soft); }
.pin-check__result.is-ok { color: #1f6f3f; }
.pin-check__result.is-ok strong { color: #1f6f3f; }
.pin-check__result.is-error { color: var(--required); }

/* Customiser: WhatsApp help */
.wcz-help-wa { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 14px; border: 1px dashed #c9b8a8; border-radius: 12px; background: #fbf8f5; }
.wcz-help-wa > svg { flex-shrink: 0; color: var(--accent); }
.wcz-help-wa div { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.wcz-help-wa strong { font-size: 14px; color: var(--ink); }
.wcz-help-wa span { font-size: 12.5px; color: var(--muted); }
.wcz-help-wa__btn { flex-shrink: 0; display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; background: #25d366; color: #fff !important; font-size: 13px; font-weight: 600; text-decoration: none; transition: background .2s; }
.wcz-help-wa__btn:hover { background: #1ebe5a; }
@media (max-width: 600px) {
	.wcz-help-wa { flex-wrap: wrap; align-items: flex-start; }
	.wcz-help-wa > svg { margin-top: 2px; }
	.wcz-help-wa div { flex: 1 1 calc(100% - 40px); }
	.wcz-help-wa__btn { flex: 1 1 100%; justify-content: center; margin-left: 32px; }
}

/* ==========================================================================
   Focused checkout: logo-only header, form on the left, order summary on a
   tinted panel on the right, policies footer.
   ========================================================================== */
.focused-checkout { --co-max: 1120px; --co-panel: var(--soft); --co-border: #d9d4cf; background: var(--bg); overflow-x: clip; }
.checkout-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.checkout-header__inner { max-width: var(--co-max); margin: 0 auto; padding: 16px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.checkout-header .custom-logo { max-height: 46px; width: auto; }
.checkout-header__actions { display: flex; align-items: center; gap: 14px; }
.checkout-header__secure { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--muted); }
.checkout-header__cart { color: var(--accent); }

.focused-checkout .site-main { padding: 0; }
.focused-checkout .site-main > .container { max-width: var(--co-max); }
.focused-checkout .entry-content { margin: 0; padding: 36px 0 56px; }

/* Typography and fields */
.focused-checkout .wc-block-components-checkout-step__title,
.focused-checkout .wc-block-components-title { font-family: var(--font-head); font-size: 20px; font-weight: 600; color: var(--ink); }
.focused-checkout .wc-block-components-checkout-step { margin-bottom: 32px; }
.focused-checkout .wc-block-components-text-input input,
.focused-checkout .wc-blocks-components-select .wc-blocks-components-select__select,
.focused-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
.focused-checkout .wc-block-components-textarea { border: 1px solid var(--co-border) !important; border-radius: 6px !important; background: #fff; box-shadow: none !important; }
.focused-checkout .wc-block-components-text-input input:focus,
.focused-checkout .wc-blocks-components-select .wc-blocks-components-select__select:focus,
.focused-checkout .wc-block-components-combobox .wc-block-components-combobox-control input:focus,
.focused-checkout .wc-block-components-textarea:focus { border-color: var(--accent) !important; box-shadow: 0 0 0 1px var(--accent) !important; outline: 0; }
.focused-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:checked { background: var(--accent); border-color: var(--accent); }
.focused-checkout .wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: #fff; }
.focused-checkout .wc-block-components-radio-control__option,
.focused-checkout .wc-block-components-radio-control-accordion-option { border-color: var(--co-border) !important; }
.focused-checkout .wc-block-components-radio-control__input:checked { border-color: var(--accent); }
.focused-checkout .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option--checked-option-highlighted,
.focused-checkout .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted { box-shadow: inset 0 0 0 1.5px var(--accent); background: #fff; }
.focused-checkout .wc-block-components-radio-control__input:checked::before { background: var(--accent); }
.focused-checkout .wc-block-checkout__guest-checkout-notice { font-size: 13px; color: var(--muted); }

/* Place order */
.focused-checkout .wc-block-checkout__actions_row { flex-direction: column-reverse; align-items: stretch; gap: 14px; }
.focused-checkout .wc-block-components-checkout-place-order-button { width: 100%; min-height: 56px; border-radius: 8px !important; font-size: 17px; font-weight: 700; }
.focused-checkout .wc-block-components-checkout-return-to-cart-button { justify-content: center; color: var(--accent); font-size: 14px; }
.focused-checkout .wc-block-checkout__terms { font-size: 13px; color: var(--muted); }

/* Order summary */
.focused-checkout .wc-block-components-order-summary-item__image { width: 64px; }
.focused-checkout .wc-block-components-order-summary-item__image img { width: 64px; height: 64px; object-fit: cover; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.focused-checkout .wc-block-components-order-summary-item__quantity { min-width: 22px; height: 22px; border: 0; border-radius: 11px; background: #6b635c; color: #fff; font-size: 12px; font-weight: 600; box-shadow: none; }
.focused-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-name { font-size: 14px; font-weight: 500 !important; line-height: 1.35; }
.focused-checkout .wc-block-components-totals-wrapper { border-top-color: var(--line); }
.focused-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-size: 18px; font-weight: 600; }
.focused-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-family: var(--font-head); font-size: 24px; font-weight: 700; }
.focused-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__description { font-size: 12px; color: var(--muted); }

/* Google "Faster checkout" box sits in the form column */
.focused-checkout .checkout-google { max-width: none; margin: 0 0 32px; background: #fff; }

/* Footer */
.checkout-footer { border-top: 1px solid var(--line); }
.checkout-footer__inner { max-width: var(--co-max); margin: 0 auto; padding: 18px var(--gutter) 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; font-size: 13px; }
.checkout-footer__links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.checkout-footer__links a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.checkout-footer__help { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.checkout-footer__help svg { color: #25d366; }

/* Two columns with the tinted summary panel running to the right edge */
@media (min-width: 1000px) {
	.focused-checkout .entry-content { position: relative; isolation: isolate; min-height: calc(100vh - 79px); }
	.focused-checkout .entry-content::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 58%; right: calc(50% - 50vw); background: var(--co-panel); border-left: 1px solid var(--line); }
	.focused-checkout .checkout-google { margin-right: calc(42% + 56px); }
	.focused-checkout .wc-block-checkout.wc-block-components-sidebar-layout { flex-wrap: nowrap; align-items: flex-start; margin: 0; column-gap: 0; }
	.focused-checkout .wc-block-checkout__main.wc-block-components-main { flex: 0 0 58%; width: 58%; padding: 0 56px 0 0; }
	/* --co-lift = height of the Google box above the form, so the summary starts at the top of the panel */
	.focused-checkout .wc-block-checkout__sidebar.wc-block-components-sidebar { flex: 0 0 42%; width: 42%; padding: 0 0 0 48px; margin-top: calc(var(--co-lift, 0px) * -1); position: sticky; top: 24px; }
	.focused-checkout .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__title { display: none; }
	.focused-checkout .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block { border: 0; border-radius: 0; background: transparent; }
	.focused-checkout .wc-block-checkout__sidebar .wc-block-components-totals-wrapper,
	.focused-checkout .wc-block-checkout__sidebar .wc-block-components-order-summary { padding-left: 0; padding-right: 0; }
}

/* Phones and tablets: summary bar on top (WooCommerce's own collapsible), full-width form */
@media (max-width: 999px) {
	/* Summary bar first, then the Google box, then the form */
	.focused-checkout .entry-content { padding-top: 0; display: flex; flex-direction: column; }
	.focused-checkout .wp-block-woocommerce-checkout,
	.focused-checkout .wc-block-checkout.wc-block-components-sidebar-layout { display: contents; }
	.focused-checkout .entry-content > *, .focused-checkout .wp-block-woocommerce-checkout > *, .focused-checkout .wc-block-checkout > * { order: 3; }
	.focused-checkout .wc-block-checkout__sidebar { order: 1; }
	.focused-checkout .checkout-google { order: 2; }
	.focused-checkout .wc-block-checkout__main { width: 100%; padding: 0; flex: none; }
	.focused-checkout .wc-block-checkout__sidebar { flex: none; width: auto; margin: 0 calc(var(--gutter) * -1) 24px; padding: 0; background: var(--co-panel); border-bottom: 1px solid var(--line); }
	.focused-checkout .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block { border: 0; border-radius: 0; background: transparent; }
	.focused-checkout .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__title { padding: 16px var(--gutter); cursor: pointer; }
	.focused-checkout .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__content:not(.is-open) { display: none; }
	.focused-checkout .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__content.is-open { padding: 0 var(--gutter) 8px; }
	.focused-checkout .wc-block-components-checkout-order-summary__title-text { color: var(--accent); font-weight: 600; }
	.focused-checkout .wc-block-components-checkout-order-summary__title-price { font-weight: 700; }
	.focused-checkout .checkout-google { margin-top: 0; }
	.checkout-header__secure span, .checkout-header__secure { font-size: 12px; }
	.checkout-footer__inner { flex-direction: column; align-items: flex-start; }
}
