/*
Theme Name: Hemna
Theme URI: https://hemnabody.com
Author: Hemna
Description: Thème sur mesure pour la boutique Hemna (WooCommerce).
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: hemna
*/

/* ---------- Tokens ---------- */
:root {
	--cream: #f7f1ea;
	--paper: #fbf8f4;
	--sand: #eee3d6;
	--camel: #c89f79;
	--camel-deep: #a57c58;
	--cocoa: #3b2f2a;
	--ink: #2b221e;
	--muted: #75665c;
	--line: rgba(59, 47, 42, .14);
	--serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
	--sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--wrap: 1280px;
	--gut: clamp(18px, 4vw, 48px);
	--ease: cubic-bezier(.22, .8, .24, 1);
	--leaf: 64px 10px 64px 10px;
	--arch: 999px 999px 18px 18px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0; background: var(--paper); color: var(--ink);
	font: 400 16px/1.65 var(--sans); overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--camel-deep); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; color: var(--cocoa); letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { width: 1em; height: 1em; }
:focus-visible { outline: 2px solid var(--camel-deep); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--cocoa); color: #fff; padding: 10px 16px; z-index: 1000; }
.skip-link:focus { left: 12px; top: 12px; }
.kicker { font: 600 .74rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--camel-deep); margin-bottom: 1rem; }
.lead { font-size: 1.075rem; color: var(--muted); max-width: 46ch; }

/* ---------- Buttons ---------- */
.btn, .button, button.button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.wp-element-button, .wc-block-components-button:not(.is-link) {
	position: relative; isolation: isolate; overflow: hidden;
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 48px; padding: 0 28px; border: 0; cursor: pointer;
	border-radius: 999px 999px 999px 6px;
	background: var(--cocoa); color: #fff !important; text-decoration: none;
	font: 600 .82rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
	transition: border-radius .45s var(--ease), transform .3s var(--ease);
}
.btn::before, .woocommerce a.button::before, .woocommerce button.button::before, .wp-element-button::before {
	content: ""; position: absolute; inset: 0; z-index: -1; background: var(--camel-deep);
	clip-path: circle(0% at 0% 100%); transition: clip-path .55s var(--ease);
}
.btn:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .wp-element-button:hover {
	border-radius: 6px 999px 999px 999px; color: #fff;
}
.btn:hover::before, .woocommerce a.button:hover::before, .woocommerce button.button:hover::before, .wp-element-button:hover::before { clip-path: circle(150% at 0% 100%); }
.woocommerce button.button:disabled, .woocommerce button.button.disabled { opacity: .45; cursor: not-allowed; }
.btn-line, .link-arrow {
	display: inline-flex; align-items: center; gap: .5em; text-decoration: none;
	font: 600 .82rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--cocoa);
	padding: 14px 2px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
	transition: background-size .45s var(--ease);
}
.btn-line:hover, .link-arrow:hover { background-size: 30% 1px; color: var(--camel-deep); }
.link-arrow::after { content: "→"; transition: transform .35s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }

/* ---------- Header ---------- */
.topbar { background: var(--cocoa); color: #efe5da; text-align: center; font-size: .78rem; letter-spacing: .03em; }
.topbar p { margin: 0; padding: 8px var(--gut); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 244, .94); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(59, 47, 42, .5); }
body.single-product .site-header { position: relative; }
.header-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; min-height: 76px; }
.brand img { width: 128px; height: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: clamp(14px, 2.2vw, 34px); }
.site-nav a { position: relative; display: inline-block; padding: 8px 0; text-decoration: none; font-size: .9rem; color: var(--cocoa); }
.site-nav a::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 6px; height: 6px; border-radius: 50%; background: var(--camel); transform: translateX(-50%) scale(0); transition: transform .35s var(--ease); }
.site-nav a:hover::after, .site-nav a[aria-current]::after { transform: translateX(-50%) scale(1); }
.header-actions { display: flex; gap: 6px; align-items: center; }
.icon-link { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--cocoa); transition: background .3s; }
.icon-link:hover { background: var(--sand); color: var(--cocoa); }
.icon-link svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px 9px 9px 2px; background: var(--camel-deep); color: #fff; font-size: .68rem; font-weight: 700; display: grid; place-items: center; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 11px; width: 22px; height: 1.5px; background: var(--cocoa); transition: transform .4s var(--ease), top .4s var(--ease); }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 26px; width: 15px; }
.nav-open .nav-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 21px; width: 22px; transform: rotate(-45deg); }
.nav-scrim { position: fixed; inset: 0; background: rgba(43, 34, 30, .32); z-index: 40; }

/* ---------- Reveal motion ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal-clip { clip-path: inset(0 0 0 0 round 0 0 48% 48% / 0 0 14% 14%); }
@keyframes hemnaClip { from { clip-path: inset(0 0 100% 0 round 0 0 48% 48% / 0 0 14% 14%); } to { clip-path: inset(0 0 0 0 round 0 0 48% 48% / 0 0 14% 14%); } }
@keyframes hemnaZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes hemnaRise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
	.reveal-clip { animation: hemnaClip 1.3s var(--ease) both; }
	.reveal-clip img { animation: hemnaZoom 2.2s var(--ease) both; }
	.hero-copy > * { animation: hemnaRise .9s var(--ease) both; }
	.hero-copy > :nth-child(2) { animation-delay: .12s; }
	.hero-copy > :nth-child(3) { animation-delay: .24s; }
	.hero-copy > :nth-child(4) { animation-delay: .36s; }
}
@media (prefers-reduced-motion: reduce) {
	.js .reveal { opacity: 1; transform: none; transition: none; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Hero ---------- */
.hero { position: relative; margin-bottom: clamp(56px, 7vw, 96px); }
.hero-media { position: relative; height: clamp(520px, 78vh, 760px); background: var(--sand); overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(247, 241, 234, .94) 0%, rgba(247, 241, 234, .82) 28%, rgba(247, 241, 234, 0) 52%); pointer-events: none; }
.hero-copy { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-56%); max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); pointer-events: none; }
.hero-copy > * { max-width: 460px; pointer-events: auto; }
.hero-copy h1 em { font-style: italic; color: var(--camel-deep); }
.hero-copy .lead { color: #5e5048; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 26px; }
.hero-badge { position: absolute; right: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); bottom: -56px; width: clamp(120px, 13vw, 180px); aspect-ratio: 3 / 4; margin: 0; border-radius: var(--arch); overflow: hidden; border: 6px solid var(--paper); box-shadow: 0 18px 40px -22px rgba(59, 47, 42, .6); }
.hero-badge img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }

/* ---------- Section heads ---------- */
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: clamp(22px, 3vw, 36px); }
.sec-head h2 { margin: 0; }

/* ---------- Categories ---------- */
.cats { margin-bottom: clamp(64px, 8vw, 110px); }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 28px); }
.cat-card { text-decoration: none; display: block; }
.cat-shape { display: block; aspect-ratio: 3 / 4.1; overflow: hidden; border-radius: var(--arch); background: var(--sand); transition: border-radius .7s var(--ease); }
.cat-card:nth-child(even) .cat-shape { border-radius: 18px 18px 999px 999px; }
.cat-shape img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform 1s var(--ease); }
.cat-card:hover .cat-shape { border-radius: 40% 60% 18px 18px / 30% 30% 18px 18px; }
.cat-card:nth-child(even):hover .cat-shape { border-radius: 18px 18px 60% 40% / 18px 18px 30% 30%; }
.cat-card:hover img { transform: scale(1.05); }
.cat-name { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-family: var(--serif); font-size: 1.15rem; color: var(--cocoa); }
.cat-name svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; opacity: 0; transform: translateX(-8px); transition: opacity .35s, transform .45s var(--ease); }
.cat-card:hover .cat-name svg { opacity: 1; transform: none; }

/* ---------- Products (home + loop) ---------- */
.collection { background: var(--cream); padding-block: clamp(56px, 7vw, 96px); border-radius: 56px 56px 0 0 / 40px 40px 0 0; }
.p-grid, ul.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(26px, 3vw, 40px) clamp(12px, 2vw, 26px); }
.p-card a { display: block; text-decoration: none; }
.p-media, .loop-media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #fff; border-radius: var(--leaf); transition: border-radius .6s var(--ease); }
.p-card:nth-child(even) .p-media, ul.products li.product:nth-child(even) .loop-media { border-radius: 10px 64px 10px 64px; }
.p-media img, .loop-media img { width: 100%; height: 100%; object-fit: cover; }
.p-alt, .loop-media .swap-img { position: absolute; inset: 0; clip-path: circle(0% at var(--x, 50%) var(--y, 50%)); transition: clip-path .75s var(--ease); }
.p-card:hover .p-alt, li.product:hover .loop-media .swap-img { clip-path: circle(150% at var(--x, 50%) var(--y, 50%)); }
.p-card:hover .p-media, li.product:hover .loop-media { border-radius: 24px; }
.p-info { display: block; padding: 14px 4px 0; }
.p-title { display: block; font-family: var(--serif); font-size: 1.04rem; line-height: 1.3; color: var(--cocoa); }
.p-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; }
.loop-colour { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; color: var(--muted); }
.loop-colour i { width: 12px; height: 12px; border-radius: 50% 50% 50% 2px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.p-price, .price { font-weight: 600; color: var(--cocoa); white-space: nowrap; }
.price small, .woocommerce-price-suffix { font-weight: 400; font-size: .75em; color: var(--muted); margin-left: 3px; }

/* ---------- Detail ---------- */
.detail { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(32px, 6vw, 90px); padding-block: clamp(64px, 8vw, 110px); }
.detail-visual { position: relative; aspect-ratio: 1 / .92; }
.blob { position: absolute; margin: 0; overflow: hidden; box-shadow: 0 24px 50px -30px rgba(59, 47, 42, .55); }
.blob img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.blob:hover img { transform: scale(1.06); }
.b1 { left: 0; top: 4%; width: 54%; aspect-ratio: 1; border-radius: 58% 42% 52% 48% / 46% 54% 46% 54%; }
.b2 { right: 2%; top: 0; width: 40%; aspect-ratio: 4 / 5; border-radius: var(--arch); }
.b3 { right: 14%; bottom: 0; width: 44%; aspect-ratio: 1; border-radius: 50%; border: 6px solid var(--paper); }
.facts { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.facts span { color: var(--cocoa); font-weight: 600; }

/* ---------- Services ---------- */
.services { background: var(--cocoa); color: #eadfd3; padding-block: clamp(44px, 5vw, 64px); clip-path: ellipse(120% 100% at 50% 100%); }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.svc svg { width: 30px; height: 30px; fill: none; stroke: var(--camel); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 12px; }
.svc h3 { color: #fff; font-size: 1.08rem; margin-bottom: .35em; }
.svc p { margin: 0; font-size: .9rem; color: #d7c9bb; }

/* ---------- Visit ---------- */
.visit { display: grid; grid-template-columns: .8fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; padding-block: clamp(64px, 8vw, 104px); }
.visit-arch { margin: 0; aspect-ratio: 4 / 5; max-height: 520px; border-radius: var(--arch); overflow: hidden; background: var(--sand); justify-self: center; width: min(100%, 420px); }
.visit-arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.visit-hours { display: inline-block; padding: 10px 18px; border-radius: 999px 999px 999px 4px; background: var(--sand); color: var(--cocoa); font-weight: 600; font-size: .92rem; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--cocoa); color: #d9cbbd; margin-top: 60px; padding-top: 40px; }
.footer-wave { position: absolute; left: 0; top: -59px; width: 100%; height: 61px; fill: var(--cocoa); display: block; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.2fr; gap: 32px 40px; padding-bottom: 36px; }
.f-logo { width: 140px; margin-bottom: 16px; }
.f-brand p, .f-brand address { font-size: .9rem; margin-bottom: .8em; line-height: 1.6; }
.f-brand strong { color: #fff; font-weight: 600; }
.f-hours { color: var(--camel); }
.f-col h2 { font: 600 .76rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #fff; margin: 8px 0 18px; }
.f-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: #d9cbbd; text-decoration: none; font-size: .9rem; background: linear-gradient(var(--camel), var(--camel)) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease), color .3s; }
.site-footer a:hover { color: #fff; background-size: 100% 1px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 18px; font-size: .8rem; }
.footer-bottom p { margin: 0; }
.pay { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pay-label { color: #bfae9e; }
.pay-marks { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.pay-marks li { height: 26px; min-width: 42px; padding: 0 7px; border-radius: 4px; background: #fff; display: grid; place-items: center; font: 800 .62rem/1 var(--sans); letter-spacing: .02em; }
.pm-visa { color: #1a1f71; font-style: italic; font-size: .72rem !important; }
.pm-mc { position: relative; grid-auto-flow: column; }
.pm-mc i { width: 15px; height: 15px; border-radius: 50%; background: #eb001b; display: block; }
.pm-mc i + i { background: #f79e1b; margin-left: -6px; mix-blend-mode: multiply; }
.pm-amex { background: #2e77bc !important; color: #fff; }
.pm-disc { color: #231f20; font-size: .52rem !important; }

/* ---------- Pages ---------- */
.page-hero { position: relative; background: var(--cream); padding: clamp(44px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); }
.page-hero h1 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); }
.page-hero .lead { margin-top: 12px; }
.page-hero-curve { position: absolute; left: 0; bottom: -39px; width: 100%; height: 40px; fill: var(--cream); }
.page-body { padding-block: clamp(56px, 6vw, 84px) 20px; }
.entry { max-width: 820px; margin-inline: auto; }
.entry h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin-top: 1.8em; }
.entry h3 { margin-top: 1.4em; }
.entry ul, .entry ol { padding-left: 1.2em; }
.entry li { margin-bottom: .4em; }
.entry table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: .95rem; }
.entry th, .entry td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.entry th { background: var(--cream); color: var(--cocoa); font-weight: 600; }
.entry .table-scroll { overflow-x: auto; }
.updated { margin-top: 3em; font-size: .85rem; color: var(--muted); }
.callout { background: var(--cream); padding: 20px 24px; border-radius: 28px 6px 28px 6px; margin: 1.4em 0; }
.callout p:last-child { margin: 0; }

/* Store card + contact */
.store-card { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 0 2em; }
.store-card > div { background: var(--cream); padding: 22px 22px 8px; border-radius: 40px 8px 40px 8px; }
.store-card > div:nth-child(2) { border-radius: 8px 40px 8px 40px; }
.store-card h3 { font-size: 1.05rem; margin-top: 0; }
.contact-form { display: grid; gap: 14px; background: #fff; border: 1px solid var(--line); padding: clamp(20px, 3vw, 32px); border-radius: 36px 10px 36px 10px; }
.contact-form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--cocoa); }
.contact-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form input, .contact-form textarea { width: 100%; font-weight: 400; }
.contact-form .hp { position: absolute; left: -9999px; }
.contact-form .btn { justify-self: start; }
.form-note { padding: 14px 18px; border-radius: 14px; }
.form-note.ok { background: #e7efe4; }
.form-note.err { background: #f6e3df; }

/* Forms (global) */
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=search], textarea, select,
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea {
	min-height: 48px; padding: 11px 14px; border: 1px solid rgba(59, 47, 42, .28); border-radius: 12px; background: #fff; font-size: 16px; transition: border-color .25s, box-shadow .25s;
}
textarea { min-height: 120px; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--camel-deep); box-shadow: 0 0 0 3px rgba(200, 159, 121, .25); }

/* FAQ */
.faq { display: grid; gap: 10px; margin: 1em 0 2em; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 22px 6px 22px 6px; overflow: hidden; transition: border-radius .4s var(--ease), background .3s; }
.faq details.is-open, .faq details[open] { background: var(--cream); border-radius: 6px 22px 6px 22px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-family: var(--serif); font-size: 1.08rem; color: var(--cocoa); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: 0 0 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat; transition: transform .4s var(--ease); }
.faq details.is-open summary::after, .faq details[open] summary::after { transform: rotate(135deg); }
.faq-a { padding: 0 22px; overflow: hidden; transition: height .32s var(--ease); }
.faq-a > :last-child { margin-bottom: 18px; }

/* About */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; margin: 1em 0 2em; }
.about-split figure { margin: 0; border-radius: var(--arch); overflow: hidden; aspect-ratio: 4 / 5; }
.about-split img { width: 100%; height: 100%; object-fit: cover; }
.entry.wide { max-width: 1040px; }

/* ---------- WooCommerce ---------- */
.wc-main { padding-block: 26px 40px; }
.woocommerce-breadcrumb { font-size: .82rem; color: var(--muted); margin: 0 0 26px; }
.woocommerce-breadcrumb a { color: var(--muted); text-decoration: none; }
.woocommerce-breadcrumb .sep { margin: 0 8px; opacity: .6; }
.woocommerce-products-header { text-align: center; margin-bottom: 10px; }
.woocommerce-products-header h1 { margin-bottom: .2em; }
.cat-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 10px 0 26px; }
.cat-pills a { text-decoration: none; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px 999px 999px 4px; font-size: .86rem; color: var(--cocoa); transition: background .3s, color .3s, border-radius .45s var(--ease); }
.cat-pills a:hover { border-radius: 4px 999px 999px 999px; background: var(--sand); }
.cat-pills a.is-active { background: var(--cocoa); color: #fff; border-color: var(--cocoa); }
.woocommerce-result-count { font-size: .85rem; color: var(--muted); margin: 0; }
.woocommerce-ordering { margin: 0 0 22px; }
.woocommerce-ordering select { min-height: 42px; }
.shop-toolbar, .woocommerce .woocommerce-result-count + .woocommerce-ordering { display: flex; }
.woocommerce-result-count { float: left; padding-top: 10px; }
.woocommerce-ordering { float: right; }
ul.products { clear: both; }
ul.products::before, ul.products::after { display: none !important; }
ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; text-align: left; }
ul.products li.product a.woocommerce-LoopProduct-link { display: block; text-decoration: none; }
ul.products li.product .woocommerce-loop-product__title { font-family: var(--serif); font-size: 1.04rem; font-weight: 400; line-height: 1.3; color: var(--cocoa); padding: 14px 4px 0 !important; margin: 0; }
ul.products li.product .loop-colour { padding: 6px 4px 0; }
ul.products li.product .price { display: block; padding: 6px 4px 0; margin: 0 !important; color: var(--cocoa) !important; font-size: 1rem !important; }
ul.products li.product .button { display: none; }
.woocommerce-pagination ul { display: flex; justify-content: center; gap: 6px; list-style: none; padding: 0; margin: 40px 0 0; }
.woocommerce-pagination a, .woocommerce-pagination span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; text-decoration: none; border: 1px solid var(--line); }
.woocommerce-pagination .current { background: var(--cocoa); color: #fff; }

/* Single product */
.is-pdp div.product { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.is-pdp div.product > .woocommerce-product-gallery { width: 100% !important; float: none !important; margin: 0 !important; position: relative !important; top: auto !important; }
.is-pdp div.product > .summary { width: 100% !important; float: none !important; margin: 0 !important; position: static !important; }
.is-pdp div.product > .woocommerce-tabs, .is-pdp div.product > .related, .is-pdp div.product > .up-sells { grid-column: 1 / -1; }
.woocommerce-product-gallery { position: relative; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery .flex-viewport { border-radius: 72px 12px 72px 12px; overflow: hidden; background: #fff; }
.woocommerce-product-gallery__image img { width: 100%; }
.woocommerce-product-gallery .flex-control-thumbs { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.woocommerce-product-gallery .flex-control-thumbs li { margin: 0; }
.woocommerce-product-gallery .flex-control-thumbs img { cursor: pointer; border-radius: 16px 4px 16px 4px; opacity: .55; transition: opacity .3s, border-radius .4s var(--ease); }
.woocommerce-product-gallery .flex-control-thumbs img.flex-active, .woocommerce-product-gallery .flex-control-thumbs img:hover { opacity: 1; border-radius: 50%; }
.woocommerce-product-gallery__trigger { position: absolute; top: 16px; right: 16px; z-index: 5; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; text-indent: -9999px; overflow: hidden; }
.woocommerce-product-gallery__trigger::before { content: ""; width: 14px; height: 14px; border: 1.5px solid var(--cocoa); border-radius: 50%; position: absolute; top: 12px; left: 12px; }
.woocommerce-product-gallery__trigger::after { content: ""; width: 7px; height: 1.5px; background: var(--cocoa); position: absolute; top: 28px; left: 24px; transform: rotate(45deg); }
.summary .product_title { font-size: clamp(1.7rem, 2.8vw, 2.4rem); margin-bottom: .3em; }
.summary .price { font-size: 1.4rem !important; color: var(--cocoa) !important; margin: 0 0 18px; }
.woocommerce-product-details__short-description { color: var(--muted); margin-bottom: 20px; }
.variations { width: 100%; border: 0; margin-bottom: 8px; }
.variations th, .variations td { display: block; padding: 0; text-align: left; border: 0; }
.variations th label { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; }
.variations td { padding: 8px 0 6px; }
.variations select { width: 100%; max-width: 340px; }
.reset_variations { font-size: .8rem; margin-left: 10px; }
.single_variation_wrap .woocommerce-variation-price { margin-bottom: 10px; }
.woocommerce-variation-availability p, .stock { font-size: .85rem; color: #5a7a52; }
form.cart { margin-bottom: 22px; }
.woocommerce-variation-add-to-cart, form.cart:not(.variations_form) { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.quantity input.qty { width: 76px; text-align: center; min-height: 48px; }
.single_add_to_cart_button { flex: 1 1 200px; }
.pdp-facts { list-style: none; margin: 0 0 20px; padding: 18px 20px; background: var(--cream); border-radius: 32px 8px 32px 8px; display: grid; gap: 12px; }
.pdp-facts li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; font-size: .88rem; color: var(--muted); line-height: 1.5; }
.pdp-facts svg { width: 22px; height: 22px; fill: none; stroke: var(--camel-deep); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.pdp-facts strong { display: block; color: var(--cocoa); }
.pdp-gpsr { font-size: .78rem; color: var(--muted); line-height: 1.55; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.pdp-gpsr a { color: var(--muted); }
.product_meta { font-size: .82rem; color: var(--muted); display: grid; gap: 4px; }
.product_meta a { color: var(--muted); }
.woocommerce-tabs { margin-top: clamp(30px, 5vw, 60px); }
.woocommerce-tabs ul.tabs { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 22px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.woocommerce-tabs ul.tabs::before, .woocommerce-tabs ul.tabs li::before, .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce-tabs ul.tabs li { margin: 0; padding: 0; border: 0; background: none; }
.woocommerce-tabs ul.tabs li a { display: block; padding: 12px 18px; text-decoration: none; color: var(--muted); border-radius: 18px 18px 0 0; white-space: nowrap; }
.woocommerce-tabs ul.tabs li.active a { background: var(--cream); color: var(--cocoa); }
.woocommerce-Tabs-panel { max-width: 860px; }
.woocommerce-Tabs-panel > h2:first-child { display: none; }
.woocommerce-Tabs-panel h3 { font-size: 1.2rem; margin-top: 1.4em; }
.woocommerce-Tabs-panel ul { padding-left: 1.1em; }
.woocommerce-Tabs-panel li { margin-bottom: .35em; }
.woocommerce-product-attributes { border-collapse: collapse; width: 100%; }
.woocommerce-product-attributes th, .woocommerce-product-attributes td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); }
.woocommerce-product-attributes td p { margin: 0; }
.related { margin-top: clamp(40px, 6vw, 80px); }
.related > h2 { text-align: center; }

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner { list-style: none; padding: 14px 18px !important; margin: 0 0 20px !important; border-radius: 16px; background: var(--cream); border: 0 !important; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }
.woocommerce-error { background: #f6e3df; }
.woocommerce-message .button, .woocommerce-info .button { min-height: 40px; padding: 0 18px; order: 2; }

/* Cart / checkout / account / tracking (classic + blocks) */
.woocommerce-cart .entry, .woocommerce-checkout .entry, .woocommerce-account .entry { max-width: 1120px; }
.wc-block-components-sidebar-layout { gap: 24px; }
.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button { width: 100%; }
.woocommerce table.shop_table { border-collapse: collapse; width: 100%; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; }
.woocommerce form.track_order { background: #fff; border: 1px solid var(--line); padding: clamp(20px, 3vw, 32px); border-radius: 36px 10px 36px 10px; display: grid; gap: 6px; }
.woocommerce form.track_order .form-row { width: 100% !important; float: none !important; display: grid; gap: 6px; margin: 0 0 10px; }
.woocommerce form.track_order .clear { display: none; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .88rem; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--cocoa); color: #fff; }
.woocommerce form .form-row { margin-bottom: 14px; }
.woocommerce form .form-row label { font-size: .88rem; font-weight: 600; }
.woocommerce-account .u-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.woocommerce form.login, .woocommerce form.register { border: 1px solid var(--line); border-radius: 28px 8px 28px 8px; padding: 24px; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.site-nav a { font-size: .84rem; }
}
@media (max-width: 1024px) {
	.header-inner { grid-template-columns: 44px 1fr auto; min-height: 64px; gap: 8px; }
	.brand { justify-self: center; }
	.brand img { width: 108px; }
	.nav-toggle { display: block; }
	.site-nav {
		position: fixed; z-index: 60; top: 0; left: 0; bottom: 0; width: min(84vw, 360px);
		background: var(--paper); padding: 150px 32px 32px; overflow-y: auto;
		clip-path: circle(0px at 30px 40px); visibility: hidden;
		transition: clip-path .6s var(--ease), visibility 0s linear .6s;
	}
	.nav-open .site-nav { clip-path: circle(150% at 30px 40px); visibility: visible; transition: clip-path .6s var(--ease), visibility 0s; }
	.nav-open .nav-toggle { position: relative; z-index: 70; }
	.site-nav ul { flex-direction: column; gap: 4px; }
	.site-nav li { opacity: 0; transform: translateX(-14px); transition: opacity .4s, transform .5s var(--ease); }
	.nav-open .site-nav li { opacity: 1; transform: none; transition-delay: calc(var(--i) * 50ms + 120ms); }
	.site-nav a { font-family: var(--serif); font-size: 1.5rem; padding: 10px 0; }
	.site-nav a::after { left: -14px; top: 50%; bottom: auto; transform: translateY(-50%) scale(0); }
	.site-nav a:hover::after, .site-nav a[aria-current]::after { transform: translateY(-50%) scale(1); }
	.site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
	.cat-grid, .p-grid, ul.products, .svc-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.is-pdp div.product { grid-template-columns: 1fr; }
	.woocommerce-product-gallery .flex-control-thumbs { grid-template-columns: repeat(8, minmax(44px, 1fr)); overflow-x: auto; }
}
@media (max-width: 760px) {
	body { font-size: 15.5px; }
	.topbar { font-size: .72rem; }
	.hero { margin-bottom: 64px; }
	.hero-media { height: auto; aspect-ratio: 4 / 3.4; }
	.hero-media img { object-position: 72% 30%; }
	.hero-media::after { display: none; }
	.hero-copy { position: static; transform: none; padding-top: 28px; }
	.hero-copy > * { max-width: none; }
	.hero-badge { width: 78px; bottom: auto; top: calc(100vw * .85 - 132px); right: var(--gut); border-width: 3px; }
	.sec-head h2 { font-size: 1.6rem; }
	.sec-head .link-arrow { white-space: nowrap; font-size: .74rem; }
	.detail { padding-block: 56px; gap: 28px; }
	.detail-visual { width: min(100%, 340px); margin-inline: auto; }
	.visit { padding-block: 48px 56px; }
	.visit-arch { display: none; }
	.cats { margin-bottom: 56px; }
	.collection { padding-block: 48px; }
	.detail, .visit { grid-template-columns: 1fr; }
	.visit-arch { width: min(100%, 320px); }
	.facts li { grid-template-columns: 110px 1fr; }
	.store-card, .contact-form .row2, .about-split, .woocommerce-account .u-columns { grid-template-columns: 1fr; }
	.collection { border-radius: 32px 32px 0 0 / 24px 24px 0 0; }
	.p-media, .loop-media { border-radius: 36px 8px 36px 8px; }
	.p-card:nth-child(even) .p-media, ul.products li.product:nth-child(even) .loop-media { border-radius: 8px 36px 8px 36px; }
	.p-meta { flex-direction: column; align-items: flex-start; gap: 4px; }
	.p-title, ul.products li.product .woocommerce-loop-product__title { font-size: .95rem; }
	.svc-grid { gap: 26px 18px; }
	.services { clip-path: ellipse(160% 100% at 50% 100%); }
	.footer-bottom { flex-direction: column; align-items: flex-start; }
	.woocommerce-result-count, .woocommerce-ordering { float: none; }
	.woocommerce-product-gallery .flex-viewport { border-radius: 44px 10px 44px 10px; }
	.entry table { font-size: .88rem; }
	.entry th, .entry td { padding: 10px; }
}
@media (max-width: 420px) {
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
	.f-brand, .footer-grid .f-col:last-child { grid-column: 1 / -1; }
	.footer-grid .f-col:last-child ul { grid-template-columns: 1fr 1fr; column-gap: 18px; }
	.cat-name { font-size: 1rem; }
}

/* ---------- WooCommerce specificity overrides ---------- */
.woocommerce div.product div.images .flex-control-thumbs { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; margin-top: 12px; overflow: visible; }
.woocommerce div.product div.images .flex-control-thumbs li { width: auto !important; float: none !important; margin: 0 !important; padding: 0; }
.woocommerce div.product div.images .flex-control-thumbs li img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #fff; }
.woocommerce div.product div.images img { background: #fff; }
.woocommerce .button.alt, .woocommerce button.button.alt, .woocommerce a.button.alt,
.woocommerce .button.alt.disabled, .woocommerce button.button.alt.disabled, .woocommerce button.button.alt:disabled[disabled] {
	background: var(--cocoa) !important; color: #fff !important;
}
.woocommerce button.button.alt.disabled, .woocommerce button.button.alt:disabled[disabled] { opacity: .45; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0 !important; margin: 0 0 24px !important; border-bottom: 1px solid var(--line); overflow-x: auto; display: flex; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border: 0 !important; background: none !important; border-radius: 0 !important; margin: 0 !important; padding: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 12px 20px !important; color: var(--muted); font-weight: 600; font-size: .92rem; border-radius: 20px 20px 0 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { background: var(--cream); color: var(--cocoa); }
.woocommerce div.product .woocommerce-tabs .panel { margin: 0 0 2em; padding: 0; }
.woocommerce div.product .product_meta .tagged_as { display: none; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--cocoa); }
.woocommerce div.product form.cart .variations select { min-width: 0; margin: 0; }
.woocommerce div.product form.cart div.quantity { float: none; margin: 0; }
.woocommerce div.product form.cart .button { float: none; }
.woocommerce .quantity .qty { width: 76px; }
.woocommerce ul.products li.product a img { margin: 0; }
.woocommerce span.onsale { display: none; }

/* ---------- Trustpilot footer link ---------- */
.site-footer a.tp-card { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; gap: 8px; margin-top: 2px; padding: 5px 12px 5px 5px; border-radius: 999px 999px 999px 6px; background: rgba(0, 182, 122, .1); border: 1px solid rgba(0, 182, 122, .5); color: #e9fff6; font-size: .8rem; text-decoration: none; transition: border-radius .45s var(--ease), border-color .3s, background-color .3s; }
.site-footer a.tp-card::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .18), transparent); transform: skewX(-18deg); transition: left .7s var(--ease); }
.site-footer a.tp-card:hover { border-radius: 6px 999px 999px 999px; border-color: #00b67a; background-color: rgba(0, 182, 122, .18); color: #fff; background-size: auto; }
.site-footer a.tp-card:hover::after { left: 120%; }
.tp-star { flex: 0 0 auto; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #00b67a; transition: transform .45s var(--ease); }
.tp-star svg { width: 13px; height: 13px; fill: #fff; }
.tp-card:hover .tp-star { transform: scale(1.12); }
.tp-text strong { font-weight: 700; color: #fff; }
.tp-arrow { width: 13px; height: 13px; fill: none; stroke: #00b67a; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.tp-card:hover .tp-arrow { transform: translate(2px, -2px); }
@media (prefers-reduced-motion: reduce) { .site-footer a.tp-card::after { display: none; } }
