/* Lamyae — المرآة.
   One device: the logo's capsule. Full mirrors in editorial places, an arch in
   the catalogue and gallery, a soft rectangle for thumbnails.
   Contents: 1 tokens, 2 base, 3 controls, 4 frames, 5 header and navigation,
   6 editorial sections, 7 catalogue, 8 product, 9 dialogs, 10 forms and notices,
   11 cart, checkout, account, 12 documents, 13 motion, 14 wider screens. */

/* 1. Tokens */
:root {
	--paper: #fcf6f2;
	--milk: #fffaf7;
	--wall: #f6dfd4;
	--peach: #f3ccbd;
	--rose: #cba8a2;
	--mauve: #8b6d6d;
	--deep: #5b3c45;
	--ink: #3f2a31;
	--soft: #664950;
	--line: #e8d3cb;
	--error: #9c1f2e;
	--success: #2f5d46;

	--ui: Zain, system-ui, sans-serif;
	--display: "Aref Ruqaa", serif;
	--text-s: 1rem;
	--text: 1.125rem;
	--text-l: 1.3125rem;
	--title: clamp(1.75rem, 6vw, 2.5rem);
	--editorial: clamp(2.25rem, 7vw, 3.375rem);
	--hero: clamp(2.625rem, 12vw, 3.75rem);

	--g: clamp(16px, 4.4vw, 64px);
	--space: clamp(48px, 8vw, 104px);
	--wide: 85rem;
	--read: 40rem;

	--pill: 999px;
	--radius-s: 14px;
	--radius-m: 24px;
	--radius-l: 38px;

	--ease: cubic-bezier(.25, .7, .2, 1);
	--tabs: 66px;
	--pin: 0px; /* where pinned elements stop: below the admin toolbar, if any */
}
/* The toolbar stays on screen above 600px; its height is WordPress's own value. */
@media (min-width: 601px) { .admin-bar { --pin: var(--wp-admin--admin-bar--height, 32px); } }

/* 2. Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; font-synthesis: none; scroll-padding-top: 90px; scroll-padding-bottom: 96px; scrollbar-color: var(--mauve) transparent; }
body { margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); font: 400 var(--text)/1.6 var(--ui); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { margin: 0; line-height: 1.35; text-wrap: balance; font-weight: 700; }
p { margin: 0 0 .75em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, fieldset { margin: 0; padding: 0; border: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; margin: 0; }
button { cursor: pointer; }
bdi { unicode-bidi: isolate; }
del { margin-inline-start: .5em; font-size: .86em; font-weight: 400; color: var(--soft); text-decoration-thickness: 1px; }
ins { text-decoration: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--deep); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--mauve); color: #fff; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 8px; top: -90px; z-index: 99; padding: 12px 18px; background: #fff; color: var(--ink); }
.skip-link:focus { top: calc(var(--wp-admin--admin-bar--height, 0px) + 8px); }
.site-main { display: block; min-height: 40vh; }
svg.i { display: block; flex: none; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* 3. Controls */
.btn, .button, .wp-block-button__link, .woocommerce-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 52px; padding: 6px 30px 2px;
	border: 1.5px solid var(--deep); border-radius: var(--pill);
	background: var(--deep); color: #fff;
	font: 700 1.1875rem/1.25 var(--ui); text-align: center; cursor: pointer;
	transition: background-color .2s, border-color .2s;
}
.btn:hover, .button:hover, .wp-block-button__link:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn:active, .button:active { translate: 0 1px; }
.btn-block { display: flex; width: 100%; }
.button:disabled, .button[aria-busy="true"] { background: var(--mauve); border-color: var(--mauve); cursor: default; }
.button-secondary, .woocommerce-mini-cart__buttons .button:not(.checkout), .actions .button, .checkout_coupon .button, .return-to-shop + .button { background: transparent; color: var(--deep); }
.button-secondary:hover, .woocommerce-mini-cart__buttons .button:not(.checkout):hover, .actions .button:not(:disabled):hover, .checkout_coupon .button:hover { background: var(--deep); color: #fff; }
.actions .button:disabled { background: transparent; border-color: var(--rose); color: var(--soft); }
.link, .entry a:not([class]), .woocommerce-privacy-policy-link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .28em; }
.text-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--soft); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; }
.n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 2px 5px 0; border-radius: var(--pill); background: var(--deep); color: #fff; font: 700 .75rem/1 var(--ui); }

/* 4. Frames. The photograph itself is never altered; product pages open it whole. */
.mirror, .arch, .thumb { display: block; position: relative; overflow: hidden; background: var(--wall); isolation: isolate; }
.mirror img, .arch img, .thumb img { width: 100%; height: 100%; object-fit: cover; }
.mirror { aspect-ratio: .525; border-radius: var(--pill); }
.mirror img { object-position: 50% 35%; transform: scale(1.04); }
.arch {
	aspect-ratio: var(--r, .64);
	border-radius: 50% 50% var(--radius-s) var(--radius-s) / calc(var(--r, .64) * 50%) calc(var(--r, .64) * 50%) var(--radius-s) var(--radius-s);
}
.arch img { object-position: 50% 30%; }
.thumb { aspect-ratio: 3 / 4; border-radius: var(--radius-s); }
.thumb img { object-position: 50% 25%; }
/* A close-up: its own shape, nothing cut. */
.whole { display: block; overflow: hidden; aspect-ratio: var(--r, .75); border-radius: var(--radius-s); background: var(--wall); }
.whole img { width: 100%; height: 100%; object-fit: contain; }
/* The official frame stands a little off the glass. */
.hang .mirror, .feature .mirror { outline: 1.5px solid var(--mauve); outline-offset: 6px; }

/* 5. Header and navigation */
.site-head { position: relative; z-index: 5; display: flex; justify-content: center; }
.head-nav, .head-actions { display: none; }
.label { display: block; padding: 10px 26px 14px; border-radius: 0 0 90px 90px; background: var(--mauve); }
.label img { width: 74px; }
.home .label { padding: 14px 30px 20px; }
.home .label img { width: 88px; }

.tabs { position: fixed; z-index: 20; inset-inline: 0; bottom: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--rose); background: var(--milk); transition: translate .25s var(--ease), visibility .25s; }
.tabs a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1px; min-height: var(--tabs); padding: 10px 0 5px; color: var(--soft); font-size: .875rem; line-height: 1.3; }
.tabs [aria-current] { color: var(--deep); font-weight: 700; }
.tabs .n { position: absolute; top: 4px; inset-inline-start: calc(50% + 6px); }
body:has(.tabs) { padding-bottom: calc(var(--tabs) + env(safe-area-inset-bottom)); }
/* While typing, nothing is pinned over the keyboard. */
.typing .tabs, .typing .buybar { display: none; }

.site-foot { padding: 52px var(--g) 28px; background: var(--mauve); color: #fff; text-align: center; }
.foot-logo { width: 104px; margin: 0 auto 24px; }
.site-foot .menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 22px; margin-bottom: 12px; }
.site-foot .menu a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; }
.site-foot a:focus-visible { outline-color: #fff; }
.foot-note p { margin-bottom: .35em; }
.foot-credit { margin-top: 28px; padding-top: 16px; border-top: 1px solid rgb(255 255 255 / .4); font-size: var(--text-s); }
.foot-credit a { text-decoration: underline; text-underline-offset: .28em; }

/* 6. Editorial sections */
.lm-section { margin: 0; }
.lm-section h1, .lm-section h2 { font-family: var(--display); }
.wp-block-image.lm-section, .lm-section figure { margin: 0; }

.hero { overflow: clip; background: var(--wall); text-align: center; }
.home .hero:first-child { margin-top: -1px; }
.home .site-head { background: var(--wall); }
.hero-text { padding: 8px var(--g) 0; }
.hero h1 { font-size: var(--hero); line-height: 1.16; }
.hero-text p { display: none; }
.hero-text .btn { margin-top: 12px; min-height: 48px; }
.wall { --h: clamp(260px, 43svh, 500px); display: flex; gap: 30px; overflow-x: auto; padding: 24px calc(50% - var(--h) * .2625) 22px; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.wall::-webkit-scrollbar, .chips::-webkit-scrollbar, .strip::-webkit-scrollbar, .mirrors-reel::-webkit-scrollbar, .track::-webkit-scrollbar, .light-track::-webkit-scrollbar { display: none; }
.hang { flex: none; width: calc(var(--h) * .525); scroll-snap-align: center; }
.hang-caption { display: flex; flex-direction: column; align-items: center; margin-top: 14px; line-height: 1.35; text-align: center; }
.hang-caption b { font-size: var(--text-l); }

/* The newest creation: a dim room, so the studio backdrops recede and the
   garment keeps its own colour. Frames take each photograph's shape, so the arch
   only rounds the top corners; no crop, zoom or filter. */
.arrival { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; padding: var(--space) 0; background: var(--ink); color: #fff; text-align: center; --soft: var(--peach); }
.arrival-intro { padding-inline: var(--g); }
.arrival h2 { color: var(--peach); font-size: clamp(2.5rem, 10vw, 3.5rem); line-height: 1.3; }
.arrival-text { max-width: 30em; margin: 12px auto 0; font-size: var(--text-l); }
.arrival-product { margin-top: 18px; }
.arrival-product h3 { font-size: var(--title); }
.arrival-product .price { margin: 4px 0 0; font-size: var(--text-l); font-weight: 700; }
.arrival .btn { border-color: var(--peach); background: var(--peach); color: var(--ink); }
.arrival .btn:hover { border-color: #fff; background: #fff; color: var(--ink); }
.arrival-all { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; margin-top: 28px; padding: 4px 22px 0; border: 1.5px solid var(--rose); border-radius: var(--pill); background: none; color: #fff; }
.arrival-all:hover { background: var(--deep); }
html:not(.js) .arrival-all { display: none; }
.arrival-looks, .arrival-details { display: flex; align-items: flex-start; gap: 22px; overflow-x: auto; padding: 10px var(--g); scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.arrival-looks { --h: clamp(300px, 66svh, 600px); }
.arrival-details { --h: min(480px, 56svh, 104vw); gap: 14px; }
.arrival-looks::-webkit-scrollbar, .arrival-details::-webkit-scrollbar { display: none; }
.arrival li { flex: none; width: min(calc(var(--h) * var(--r)), 80vw); scroll-snap-align: center; }
.arrival li:first-child { margin-inline-start: auto; }
.arrival li:last-child { margin-inline-end: auto; }
.arrival .shot { display: block; cursor: zoom-in; }
.arrival .arch, .arrival .whole { background: var(--deep); }
.arrival .arch { outline: 1.5px solid var(--rose); outline-offset: 6px; }
.arrival .shot:focus-visible { outline: 2px solid #fff; outline-offset: 10px; border-radius: var(--radius-s); }
.arrival :focus-visible { outline-color: #fff; }
.arrival figcaption { margin-top: 14px; color: var(--peach); line-height: 1.5; text-wrap: balance; }

.size-shop { padding: var(--space) var(--g); text-align: center; }
.size-shop h2, .showcase h2, .lm-reel h2, .past h2, .related-pieces h2, .lm-collection h2 { font-family: var(--display); font-size: var(--editorial); }
.size-shop p { color: var(--soft); }
.size-shop ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 780px; margin: 22px auto 0; }
.size-shop li { flex: 0 0 calc((100% - 20px) / 3); }
.size-shop li a { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 70px; padding-top: 4px; border: 1.5px solid var(--mauve); border-radius: var(--pill); background: var(--milk); font-size: var(--text-l); font-weight: 700; line-height: 1.15; transition: background-color .2s, color .2s; }
.size-shop small { color: var(--soft); font-size: .9375rem; font-weight: 400; }
.size-shop a:hover { border-color: var(--deep); background: var(--deep); color: #fff; }
.size-shop a:hover small { color: inherit; }

.showcase { padding: var(--space) var(--g); background: var(--rose); text-align: center; --soft: #3f2a31; }
.showcase > p { color: var(--soft); }
.showcase ul { display: grid; gap: 64px; max-width: var(--wide); margin: 34px auto 0; }
.feature { display: grid; justify-items: center; gap: 26px; }
.feature-image { width: min(62vw, 270px); }
.showcase .mirror { outline-color: var(--deep); }
.feature-text { width: 100%; max-width: 430px; }
.feature h3 { font-size: var(--title); }
.feature .price { margin: 6px 0 0; font-size: var(--text-l); font-weight: 700; }
.feature-avail { margin-bottom: 18px; color: var(--soft); }

.duos { display: grid; gap: 72px; padding: var(--space) var(--g); background: var(--rose); text-align: center; --soft: #3f2a31; }
.duo { display: grid; justify-items: center; gap: 28px; }
.duo-media { width: min(62vw, 270px); }
.duo-media .mirror { outline: 1.5px solid var(--deep); outline-offset: 6px; }
.duo-media .duo-panel { display: block; }
.duo-media .is-on .mirror { animation: turn .55s var(--ease); }
.duo-text { width: 100%; max-width: 430px; }
.duo-text h2 { font-size: var(--title); }
.duo-swatches { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 16px 0; }
.duo-swatches .colour[aria-pressed="true"] { background: var(--wall); }
.duo-name { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; margin: 0; font-size: var(--text-l); }
html:not(.js) .duo-swatches { display: none; }
.js .duo-panel:not(.is-on) { display: none !important; }

.lm-letter { display: grid; background: var(--milk); }
.lm-letter .lm-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.lm-letter-text { width: 100%; max-width: var(--read); padding: 36px var(--g) var(--space); }
.lm-letter-text :is(h1, h2) { margin-bottom: 22px; font-size: clamp(2.25rem, 9.6vw, 4rem); line-height: 1.28; }
.lm-letter-text p { font-size: 1.25rem; }
.lm-letter-text .lm-lead { margin-bottom: 18px; font-size: 1.5rem; line-height: 1.55; }
.lm-sign { margin-top: 30px !important; }
.lm-sign img { width: 92px; aspect-ratio: 210 / 441; }

.lm-fan { display: grid; gap: 40px; padding: var(--space) var(--g); background: var(--wall); text-align: center; }
.lm-fan-logo img { width: 190px; margin: 0 auto 8px; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 65%; } /* trims the empty margin of the فن logo */
.lm-fan-text :is(h1, h2) { font-size: var(--title); }
.lm-fan-text p { max-width: 34em; margin: 8px auto 22px; }
.lm-fan .wp-block-buttons { display: flex; justify-content: center; }
.mirrors-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: end; width: 100%; max-width: 640px; margin: 0 auto; }
.mirrors-trio li:nth-child(2) { padding-bottom: 34px; }

.lm-care { padding: 40px var(--g); background: var(--deep); color: #fff; }
.lm-care ul { display: grid; gap: 12px; max-width: 1100px; margin: auto; padding: 0; list-style: none; }
.lm-care li { display: block; align-content: center; margin: 0; padding: 18px 34px 14px; border: 1.5px solid var(--rose); border-radius: var(--pill); line-height: 1.45; text-align: center; }
.lm-care strong { font-size: var(--text-l); }

.lm-reel { padding: var(--space) 0; text-align: center; }
.lm-reel > p { padding-inline: var(--g); }
.lm-reel > p a { text-decoration: underline; text-underline-offset: .28em; }
.mirrors-reel { display: flex; justify-content: safe center; gap: 14px; overflow-x: auto; padding: 26px var(--g) 4px; scroll-snap-type: x proximity; scrollbar-width: none; }
.mirrors-reel li { flex: none; width: clamp(136px, 36vw, 200px); scroll-snap-align: center; }

.lm-collection { padding: var(--space) 0 calc(var(--space) + 14px); text-align: center; }
.lm-collection h2 { margin-bottom: 28px; }

/* 7. Catalogue */
.woocommerce-breadcrumb { max-width: var(--wide); margin: 0 auto; padding: 10px var(--g); color: var(--soft); font-size: var(--text-s); }
.woocommerce-breadcrumb span { padding-inline: 6px; }
.woocommerce-breadcrumb a { display: inline-block; padding-block: 6px; }
.woocommerce-shop .site-head, .tax-product_cat .site-head, .tax-product_tag .site-head, .search .site-head { background: var(--wall); }
.tax-product_cat .woocommerce-breadcrumb, .tax-product_tag .woocommerce-breadcrumb { max-width: none; background: var(--wall); text-align: center; }
.shop-head { padding: 14px var(--g) 16px; background: var(--wall); text-align: center; }
.shop-head h1 { font-family: var(--display); font-size: var(--editorial); line-height: 1.25; }
.shop-head > p, .shop-head .term-description { color: var(--soft); }
.shop-head .search-form { max-width: 30rem; margin: 14px auto 0; }
.filters { position: sticky; top: var(--pin); z-index: 10; padding: 8px 0; border-bottom: 1px solid var(--line); background: var(--paper); }
.chips { display: flex; gap: 6px; overflow-x: auto; padding: 3px var(--g); scrollbar-width: none; }
.chips li { flex: none; }
.chip { display: grid; place-items: center; min-width: 46px; min-height: 44px; padding: 4px 16px 0; border: 1.5px solid transparent; border-radius: var(--pill); white-space: nowrap; line-height: 1.2; }
.chips-size .chip { border-color: var(--rose); }
.chip[aria-current] { border-color: var(--deep); background: var(--deep); color: #fff; font-weight: 700; }

.woocommerce-ordering { display: flex; justify-content: center; margin: 0; padding: 8px var(--g) 18px; }
.woocommerce-ordering select { min-height: 44px; padding: 4px 8px 0; border: 0; border-bottom: 1.5px solid var(--mauve); border-radius: 0; background: transparent; font-weight: 700; }

ul.products { --cols: 2; --gx: 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 28px var(--gx); max-width: var(--wide); margin: 0 auto; padding: 6px var(--g) 20px; list-style: none; }
ul.products > li.product { width: calc((100% - (var(--cols) - 1) * var(--gx)) / var(--cols)); margin: 0; }
ul.products > li.card:nth-child(even) { translate: 0 14px; }
.card { position: relative; text-align: center; }
.card-link { display: block; }
.card .card-name { margin: 8px 0 0; font: 700 var(--text)/1.3 var(--ui); overflow-wrap: anywhere; } /* functional type, also inside editorial sections */
.card-price { display: block; line-height: 1.4; }
.card-avail { display: block; color: var(--soft); font-size: var(--text-s); line-height: 1.4; }
.card.outofstock .card-avail { font-weight: 700; }
/* The heart sits in the corner the arch leaves free, off the garment. */
.heart { display: grid; place-items: center; width: 44px; height: 44px; flex: none; padding: 0; border: 1px solid var(--rose); border-radius: 50%; background: var(--milk); color: var(--deep); }
.heart[aria-pressed="true"] svg.i { fill: currentColor; }
.card .heart { position: absolute; top: 0; inset-inline-end: 0; z-index: 2; }
.quick { margin: 8px 0 0; }
.quick button { min-height: 44px; padding: 5px 20px 1px; border: 0; border-radius: var(--pill); background: var(--deep); color: #fff; font-weight: 700; }

.woocommerce-pagination { padding: 26px var(--g) 40px; text-align: center; }
.woocommerce-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.woocommerce-pagination .page-numbers li .page-numbers, .nav-links .page-numbers { display: grid; place-items: center; min-width: 46px; min-height: 46px; padding: 4px 10px 0; border: 1.5px solid var(--rose); border-radius: var(--pill); }
.woocommerce-pagination .current, .nav-links .current { border-color: var(--deep) !important; background: var(--deep); color: #fff; }

.past { margin-top: var(--space); padding: 48px 0 56px; background: var(--milk); text-align: center; }
.past p { color: var(--soft); }
.strip { display: flex; justify-content: safe center; gap: 18px; overflow-x: auto; padding: 22px var(--g) 4px; scrollbar-width: none; }
.strip li { flex: none; width: 122px; line-height: 1.35; }
.strip span:not(.mirror) { display: block; margin-top: 8px; }
.strip small { color: var(--soft); font-size: var(--text-s); }

.blank { max-width: var(--read); margin: 0 auto; padding: 40px var(--g) 48px; text-align: center; }
.blank-title { margin-bottom: .35em; font-size: var(--title); font-weight: 700; line-height: 1.35; }
.blank p:not(.blank-title) { color: var(--soft); }
.blank .btn { margin-top: 10px; }
.blank .search-form { margin-block: 16px 6px; }

/* 8. Product */
.product-columns { display: grid; grid-template-columns: minmax(0, 1fr); }
.gallery { min-width: 0; padding: 6px 0 2px; background: var(--wall); }
.single-product .site-head { background: var(--wall); }
/* Compact on phones, so sizes show on the first screen. */
.single-product .woocommerce-breadcrumb { max-width: none; padding-block: 2px 0; background: var(--wall); text-align: center; }
.single-product .woocommerce-breadcrumb a { padding-block: 2px; }
.track { --h: clamp(280px, 45svh, 520px); display: flex; gap: 14px; overflow-x: auto; margin: 0; padding: 4px var(--g); scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.slide { flex: none; width: min(calc(var(--h) * var(--r, .64)), 82vw); scroll-snap-align: center; }
.slide:first-child { margin-inline-start: auto; }
.slide:last-child { margin-inline-end: auto; }
.shot { display: block; }
.gallery-bar { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 20px; color: var(--soft); }
.gallery-nav { display: flex; align-items: center; gap: 4px; line-height: 1; }
.gallery-nav button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; }
.gallery-open { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--soft); }
html:not(.js) .gallery-nav, html:not(.js) .gallery-open { display: none; }

.summary { min-width: 0; width: 100%; max-width: 38.75rem; margin: 0 auto; padding: 12px var(--g) 40px; }
.product-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.product-head h1 { font-size: var(--title); line-height: 1.3; overflow-wrap: anywhere; }
.summary > .price { margin: 4px 0 0; font-size: 1.5rem; font-weight: 700; }
.summary .woocommerce-product-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.variations_form { margin-top: 4px; }
table.variations, table.variations tbody, table.variations tr, table.variations th, table.variations td { display: block; width: 100%; padding: 0; border: 0; text-align: start; }
table.variations th.label { font-weight: 700; }
.js table.variations th.label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
table.variations select { width: 100%; }
.js table.variations select, .js .reset_variations, .reset_variations_alert { position: absolute !important; width: 1px !important; height: 1px; min-height: 0; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
html:not(.js) .pills { display: none; }
.pills { margin-top: 4px; }
.pills legend { margin-bottom: 10px; padding: 0; font-weight: 700; }
.pill-row { display: flex; flex-wrap: wrap; gap: 7px; }
.pill { position: relative; flex: 1 0 46px; max-width: 66px; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill > span { display: grid; place-items: center; min-height: 52px; padding: 4px 6px 0; border: 1.5px solid var(--mauve); border-radius: var(--pill); background: var(--milk); font-weight: 700; cursor: pointer; transition: background-color .15s, border-color .15s; }
.pill input:checked + span { border-color: var(--deep); background: var(--deep); color: #fff; }
.pill input:focus-visible + span { outline: 2px solid var(--deep); outline-offset: 3px; }
.pill input:disabled + span { border-color: var(--rose); background: none; color: var(--soft); font-weight: 400; text-decoration: line-through; cursor: not-allowed; }
.pills.is-missing .pill input:not(:disabled) + span { border-color: var(--error); }
.pill-note { margin: 8px 0 0; color: var(--soft); font-size: var(--text-s); }
.pill-error { margin: 8px 0 0; color: var(--error); font-weight: 700; }
.woocommerce-variation-description, .woocommerce-variation-price { margin-top: 10px; font-weight: 700; }
.woocommerce-variation-availability p { margin: 8px 0 0; color: var(--soft); font-size: var(--text-s); }
.summary form.cart { margin-bottom: 0; }
.summary form.cart:not(.variations_form), .woocommerce-variation-add-to-cart { display: flex; align-items: stretch; gap: 10px; margin-top: 14px; }
.summary .quantity input { width: 72px; height: 100%; min-height: 56px; }
.single_add_to_cart_button { flex: 1; min-height: 56px; font-size: 1.25rem; }
.single_add_to_cart_button.disabled { cursor: pointer; }
.stock { margin-top: 10px; }
.sold-out { margin: 18px 0 10px; font-size: var(--text-l); font-weight: 700; }
.product-summary { margin-top: 18px; }
.facts { display: grid; gap: 4px; margin-block: 22px; padding-block: 16px; border-block: 1px solid var(--rose); }
.fold { border-bottom: 1px solid var(--rose); }
.fold summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; font-weight: 700; list-style: none; cursor: pointer; }
.fold summary::-webkit-details-marker { display: none; }
.fold summary::after { content: ""; flex: none; width: 18px; height: 18px; background: linear-gradient(currentColor 0 0) center / 100% 1.5px no-repeat, linear-gradient(currentColor 0 0) center / 1.5px 100% no-repeat; transition: rotate .25s; }
.fold[open] summary::after { rotate: 45deg; }
.fold-body { padding-bottom: 16px; }
.fold-body a { display: inline-block; padding-block: 6px; }
.placeholder { padding: 14px 18px; border: 1px dashed var(--mauve); border-radius: var(--radius-s); color: var(--soft); }
.related-pieces { padding: 36px 0 30px; text-align: center; }
.related-pieces h2 { margin-bottom: 22px; }

.buybar { position: fixed; z-index: 25; inset-inline: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px var(--g) calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--rose); background: var(--milk); translate: 0 110%; visibility: hidden; transition: translate .3s var(--ease), visibility .3s; }
.buybar.on { translate: none; visibility: visible; }
.buybar > div { min-width: 0; line-height: 1.3; }
.buybar b { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.buybar .btn { flex: 0 0 auto; width: min(52%, 380px); padding-inline: 12px; }
/* One bar at a time: the order bar takes the navigation's place. */
.bar-on .tabs { translate: 0 110%; visibility: hidden; }

/* Colours of one design */
.colours { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 10px; }
.colours ul { display: flex; flex-wrap: wrap; gap: 8px; }
.colour { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 3px 18px 0 18px; padding-inline: 8px 18px; border: 1.5px solid transparent; border-radius: var(--pill); background: none; cursor: pointer; }
.colour i { flex: none; width: 30px; height: 30px; margin-top: -3px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(63 42 49 / .25); }
.colour[aria-current], .colour[aria-pressed="true"] { border-color: var(--deep); background: var(--milk); }
.colour.is-out span { color: var(--soft); }

/* Phones: a shorter gallery and colour row keep the sizes on the first screen. */
@media (max-width: 999px) {
	.single-product div.product:has(.colours) .track { --h: clamp(260px, 41svh, 520px); }
	.summary .colours { margin-top: 2px; }
	.summary .colour { min-height: 44px; }
	.summary .colour i { width: 26px; height: 26px; }
}

/* Reviews */
.star-rating { position: relative; display: inline-block; width: 5.2em; height: 1.4em; overflow: hidden; line-height: 1.4; direction: ltr; font-family: system-ui, sans-serif; letter-spacing: .04em; }
.star-rating::before { content: "★★★★★"; position: absolute; inset: 0; color: var(--rose); }
.star-rating span { position: absolute; top: 0; bottom: 0; left: 0; overflow: hidden; text-indent: -999em; }
.star-rating span::before { content: "★★★★★"; position: absolute; top: 0; left: 0; color: var(--deep); text-indent: 0; }
p.stars span { display: flex; gap: 6px; }
p.stars a { display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid var(--rose); border-radius: 50%; }
p.stars a.active, p.stars a[aria-checked="true"] { border-color: var(--deep); background: var(--deep); color: #fff; }
.commentlist li { padding-block: 12px; border-top: 1px solid var(--line); }
.commentlist .avatar { display: none; }
.comment-form label { display: block; font-weight: 700; }
.comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea { width: 100%; }
.comment-form-cookies-consent { display: flex; gap: 8px; }

/* 9. Dialogs: sheets rise from the bottom, where the thumb already is. */
html:has(dialog[open]) { overflow: hidden; }
dialog { color: inherit; overscroll-behavior: contain; }
dialog::backdrop { background: rgb(40 24 30 / .5); }
.sheet { position: fixed; inset: auto 0 0; width: 100%; max-width: 640px; max-height: 88dvh; margin: 0 auto; padding: 0 var(--g) calc(22px + env(safe-area-inset-bottom)); overflow: auto; border: 0; border-radius: var(--radius-l) var(--radius-l) 0 0; background: var(--milk); color: var(--ink); }
.sheet[open] { animation: sheet-up .32s var(--ease); }
.sheet.out { animation: sheet-down .2s ease-in forwards; }
.sheet-head { position: sticky; top: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0 8px; background: var(--milk); }
.sheet-head h2 { font-size: 1.625rem; }
.sheet-x { display: grid; place-items: center; flex: none; width: 48px; height: 48px; margin-inline-end: -10px; padding: 0; border: 0; border-radius: 50%; background: none; color: inherit; }

.menu-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(68px, 1fr)); gap: 12px; max-width: 460px; margin: 0 auto; padding: 6px 0 18px; text-align: center; }
.menu-cats span:last-child { display: block; margin-top: 8px; font-size: var(--text-s); font-weight: 700; line-height: 1.3; }
.sheet .menu li { border-top: 1px solid var(--peach); }
.sheet .menu a { display: flex; align-items: center; min-height: 54px; font-size: 1.25rem; }
.sheet .menu [aria-current] { font-weight: 700; }
.menu-social { padding-top: 14px; border-top: 1px solid var(--peach); }
.menu-social a { display: inline-block; padding-block: 8px; }

.search-form { position: relative; }
.sheet .search-form { padding-top: 5px; } /* room for the focus ring under the sticky title */
.sheet .search-form svg.i { top: 20px; }
.search-form svg.i { position: absolute; inset-inline-start: 18px; top: 15px; color: var(--soft); }
.search-form input[type="search"] { width: 100%; padding-inline-start: 54px; }
.search-form input[type="search"]::-webkit-search-cancel-button { appearance: none; }
.search-status { padding: 14px 0 4px; color: var(--soft); }
.lm-results a { display: flex; align-items: center; gap: 16px; padding: 8px 0; }
.lm-results .thumb { flex: none; width: 64px; }
.lm-results a > span:last-child { display: grid; line-height: 1.45; }
.lm-results .is-out .thumb { opacity: .6; }
.lm-results .price { color: var(--soft); }
.search-all { padding-top: 10px; text-align: center; }

.woocommerce-mini-cart li { position: relative; min-height: 128px; padding: 14px 0; padding-inline: 92px 48px; border-top: 1px solid var(--peach); line-height: 1.4; }
.woocommerce-mini-cart li > a:not(.remove) { display: block; font-weight: 700; }
.woocommerce-mini-cart li .thumb { position: absolute; inset-inline-start: 0; top: 14px; width: 74px; }
.remove { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--soft); font: 400 1.75rem/1 system-ui, sans-serif; }
.woocommerce-mini-cart li > .remove { position: absolute; inset-inline-end: -10px; top: 8px; }
.remove:hover { background: var(--wall); color: var(--ink); }
dl.variation { display: flex; flex-wrap: wrap; gap: 0 6px; margin: 2px 0; color: var(--soft); }
dl.variation dd { margin: 0; }
dl.variation dd p { margin: 0; }
.woocommerce-mini-cart li .quantity { display: block; }
.woocommerce-mini-cart__total { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding-block: 14px; border-top: 1px solid var(--rose); font-size: var(--text-l); }
.mini-note { color: var(--soft); text-align: center; }
.woocommerce-mini-cart__buttons { display: grid; gap: 10px; margin-top: 12px; }
.woocommerce-mini-cart__buttons .checkout { order: -1; }
.woocommerce-mini-cart__empty-message { padding-block: 30px 6px; font-size: var(--title); font-weight: 700; text-align: center; }
.mini-empty { padding-bottom: 14px; text-align: center; }

.light { position: fixed; inset: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: #1f1317; color: #fff; }
.light[open] { display: flex; flex-direction: column; }
.light-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: calc(8px + env(safe-area-inset-top)) 18px 8px; }
.light-bar .sheet-x { margin: 0; background: var(--milk); color: var(--ink); }
.light-zoom { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 4px 18px 0; border: 1.5px solid var(--rose); border-radius: var(--pill); background: none; color: #fff; }
.light-zoom[aria-pressed="true"] { background: var(--milk); color: var(--ink); }
.light-track { flex: 1; display: flex; min-height: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.light-track.is-zoomed { overflow-x: hidden; }
.light-track li { display: flex; flex: 0 0 100%; min-width: 0; height: 100%; overflow: hidden; scroll-snap-align: center; }
.light-track img { width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; }
.light-track li.zoomed { overflow: auto; overscroll-behavior: contain; }
.light-track li.zoomed img { flex: none; width: 240%; max-width: none; height: auto; margin: auto 0; object-fit: initial; cursor: zoom-out; }
.light-nav { display: flex; justify-content: center; gap: 24px; padding: 6px 0 calc(8px + env(safe-area-inset-bottom)); }
.light-nav button { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; background: none; color: #fff; }
.light :focus-visible { outline-color: #fff; }
.guide-body { padding-bottom: 12px; }

/* Checkout inside the cart drawer */
.cart-back { margin-inline-start: auto; font-size: var(--text-s); }
.sheet-cart[open]:not([data-step="bag"]) { display: flex; flex-direction: column; height: 96dvh; max-height: 96dvh; overflow: hidden; padding-inline: 0; padding-bottom: 0; }
.sheet-cart:not([data-step="bag"]) .sheet-head { padding-inline: var(--g); border-bottom: 1px solid var(--line); }
.sheet-cart:not([data-step="bag"]) .widget_shopping_cart_content { display: none; }
.sheet-cart[data-step="done"] .sheet-x { margin-inline-start: auto; }
.cart-checkout { position: relative; flex: 1; min-height: 0; overflow: auto; -webkit-overflow-scrolling: touch; }
.cart-checkout iframe { display: block; width: 100%; height: 100%; border: 0; background: var(--milk); }
.cart-checkout.is-loading::after { content: ""; position: absolute; top: 40%; left: 50%; width: 34px; height: 34px; margin: -17px; border: 3px solid var(--rose); border-top-color: var(--deep); border-radius: 50%; animation: spin .8s linear infinite; }

/* The same checkout page, as the frame shows it. */
.lm-embed { background: var(--milk); }
.lm-embed .site-main { min-height: 0; }
.lm-embed .doc { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
.lm-embed .doc-head { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.lm-embed .doc-store .entry { padding-top: 14px; }

.toast { position: fixed; z-index: 60; inset-inline: 0; bottom: calc(var(--tabs) + 22px + env(safe-area-inset-bottom)); width: fit-content; max-width: 88vw; margin: 0 auto; padding: 10px 24px 8px; border-radius: var(--pill); background: var(--ink); color: #fff; opacity: 0; translate: 0 8px; pointer-events: none; visibility: hidden; transition: .25s; }
.toast.on { opacity: 1; translate: none; visibility: visible; }

/* 10. Forms and notices
   Scoped to the theme's own areas so that nothing reaches WordPress's admin
   toolbar. :where() adds no specificity. */
:where(.site-main, dialog) input[type="text"], :where(.site-main, dialog) input[type="tel"], :where(.site-main, dialog) input[type="email"], :where(.site-main, dialog) input[type="password"], :where(.site-main, dialog) input[type="number"], :where(.site-main, dialog) input[type="search"], :where(.site-main, dialog) input[type="url"], :where(.site-main, dialog) select, :where(.site-main, dialog) textarea {
	min-height: 52px; max-width: 100%; padding: 4px 20px 0; border: 1.5px solid var(--mauve); border-radius: var(--pill); background: #fff; font-size: var(--text); line-height: 1.4;
}
input::placeholder, textarea::placeholder { color: #7a5f66; opacity: 1; }
:where(.site-main, dialog) textarea { min-height: 96px; padding-top: 12px; border-radius: var(--radius-m); }
:where(.site-main, dialog) input[type="number"] { padding-inline: 12px; text-align: center; }
:where(.site-main, dialog) input[type="checkbox"], :where(.site-main, dialog) input[type="radio"] { width: 20px; height: 20px; accent-color: var(--deep); }
:where(.site-main, dialog) input[dir="ltr"] { text-align: right; }
:where(.site-main, dialog) label { font-weight: 700; }
.form-row { margin: 0 0 14px; }
.form-row > label { display: block; margin-bottom: 4px; }
.form-row .woocommerce-input-wrapper { display: block; }
.form-row :is(input.input-text, select, textarea) { width: 100%; }
.optional { font-weight: 400; color: var(--soft); }
.required { color: var(--error); text-decoration: none; }
.woocommerce-invalid input.input-text, input[aria-invalid="true"], .woocommerce-invalid select { border-color: var(--error); }
.checkout-inline-error-message, .woocommerce-form-row .woocommerce-error { margin: 6px 0 0; color: var(--error); font-weight: 700; font-size: var(--text-s); }
.woocommerce-form__label-for-checkbox, .woocommerce-form__label { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 400; }
.password-input { display: block; position: relative; }
.password-input input { width: 100%; }
.show-password-input { position: absolute; inset-inline-end: 6px; top: 4px; width: 44px; height: 44px; border: 0; background: none; }
.show-password-input::after { content: "إظهار"; font-size: .8125rem; }
.show-password-input.display-password::after { content: "إخفاء"; }

.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice:not(.woocommerce-thankyou-order-received) {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px;
	margin: 0 0 18px; padding: 14px 20px; border: 1.5px solid var(--rose); border-radius: var(--radius-s); background: var(--milk); list-style: none; text-align: start;
}
.woocommerce-error { display: grid; border-color: var(--error); }
.woocommerce-error li { color: var(--error); }
.woocommerce-error li a { text-decoration: underline; }
.woocommerce-message { border-color: var(--success); }
/* A notice's own button stays quiet beside the page's main action. */
.woocommerce-message .button, .woocommerce-info .button { min-height: 44px; padding-inline: 18px; background: transparent; color: var(--deep); font-size: var(--text-s); }
.woocommerce-message .button:hover, .woocommerce-info .button:hover { background: var(--deep); color: #fff; }
.woocommerce-info a:not(.button) { text-decoration: underline; text-underline-offset: .28em; }
.woocommerce-notices-wrapper:not(:empty) { grid-column: 1 / -1; max-width: var(--wide); margin: 0 auto; width: 100%; }
.single-product .woocommerce-notices-wrapper, .woocommerce-shop .woocommerce-notices-wrapper, .tax-product_cat .woocommerce-notices-wrapper { padding-inline: var(--g); }
.blockUI.blockOverlay { position: relative; }
.blockUI.blockOverlay::after { content: ""; position: absolute; top: 50%; left: 50%; width: 34px; height: 34px; margin: -17px; border: 3px solid var(--rose); border-top-color: var(--deep); border-radius: 50%; animation: spin .8s linear infinite; }

/* 11. Cart, checkout, confirmation, account */
.doc { padding-bottom: var(--space); }
.doc-head { padding: 18px var(--g) 18px; text-align: center; }
.doc-head h1 { font-size: var(--title); }
.doc-store .entry { max-width: 72rem; margin: 0 auto; padding-inline: var(--g); }
.doc-store .woocommerce::after { content: ""; display: table; clear: both; }
.shop_table { width: 100%; border-collapse: collapse; }
.shop_table :is(th, td) { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.shop_table tfoot tr:last-child :is(th, td), .order-total :is(th, td) { font-size: var(--text-l); font-weight: 700; }
.shop_table td:last-child:not(:first-child), .shop_table th:last-child:not(:first-child) { text-align: end; }

.woocommerce-cart-form .shop_table, .woocommerce-cart-form tbody { display: block; }
.woocommerce-cart-form thead { display: none; }
.woocommerce-cart-form .cart_item { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; grid-template-areas: "thumb name remove" "thumb price price" "thumb qty total"; column-gap: 14px; align-content: start; padding-block: 14px; border-top: 1px solid var(--peach); }
.woocommerce-cart-form .cart_item td { display: block; padding: 0; border: 0; text-align: start; }
.cart_item .product-thumbnail { grid-area: thumb; }
.cart_item .product-name { grid-area: name; font-weight: 700; }
.cart_item .product-name dl { font-weight: 400; }
.cart_item .product-price { grid-area: price; color: var(--soft); }
.cart_item .product-quantity { grid-area: qty; padding-top: 6px; }
.woocommerce-cart-form .cart_item td.product-subtotal { grid-area: total; align-self: center; text-align: end; font-weight: 700; }
.cart_item .product-remove { grid-area: remove; margin-inline-end: -10px; }
.product-quantity .quantity input { width: 76px; min-height: 46px; }
.woocommerce-cart-form tr:has(> .actions) { display: block; }
.woocommerce-cart-form td.actions { display: grid; gap: 14px; padding-block: 16px; border-top: 1px solid var(--rose); border-bottom: 0; text-align: start; }
.coupon { display: flex; gap: 8px; }
.coupon input { flex: 1; min-width: 0; width: 100%; }
.coupon .button { flex: none; padding-inline: 18px; }
.cart-collaterals { margin-top: 10px; }
.cart_totals { padding: 22px; border-radius: var(--radius-m); background: var(--milk); border: 1px solid var(--line); }
.cart_totals h2 { margin-bottom: 8px; font-size: var(--text-l); }
.woocommerce-shipping-methods label { font-weight: 400; }
.woocommerce-shipping-destination, .woocommerce-shipping-calculator { font-size: var(--text-s); color: var(--soft); }
.wc-proceed-to-checkout { margin-top: 16px; }
.wc-proceed-to-checkout .button { width: 100%; }
.cross-sells { clear: both; }
.cross-sells h2 { text-align: center; }
.cart-empty { padding-bottom: 4px; }
.return-to-shop { text-align: center; }

.checkout-note { margin-bottom: 18px; padding: 14px 20px; border-radius: var(--radius-m); background: var(--wall); text-align: center; font-weight: 700; }
.checkout_coupon, .woocommerce-form-login { margin-bottom: 20px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--milk); }
.checkout_coupon .form-row { margin: 0; }
.checkout_coupon { display: flex; flex-wrap: wrap; gap: 10px; }
.checkout_coupon .form-row-first { flex: 1; min-width: 200px; }
.checkout_coupon .clear { display: none; }
.woocommerce-billing-fields h3, .woocommerce-additional-fields h3, #order_review_heading { margin-bottom: 14px; font-size: var(--text-l); }
.woocommerce-billing-fields__field-wrapper, .woocommerce-address-fields__field-wrapper { display: flex; flex-wrap: wrap; column-gap: 10px; }
.woocommerce-billing-fields__field-wrapper > .form-row, .woocommerce-address-fields__field-wrapper > .form-row { width: 100%; }
.woocommerce-billing-fields__field-wrapper > :is(.form-row-first, .form-row-last), .woocommerce-address-fields__field-wrapper > :is(.form-row-first, .form-row-last) { flex: 1 1 calc(50% - 5px); width: auto; }
/* One country only: nothing to choose. */
.woocommerce-checkout #billing_country_field { display: none !important; } /* WooCommerce shows it with an inline style. */
#order_review_heading { margin-top: 18px; }
#order_review { padding: 6px 20px 20px; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--milk); }
.woocommerce-checkout-review-order-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.woocommerce-checkout-review-order-table dl.variation { display: flex; }
.woocommerce-checkout-review-order-table ul { list-style: none; }
.payment_methods { margin: 16px 0; }
.payment_methods > li { padding: 4px 0; }
.payment_methods input { margin-inline-end: 8px; vertical-align: middle; }
.payment_methods > li:only-child input { position: absolute; opacity: 0; }
.payment_box { margin-top: 8px; padding: 12px 16px; border-radius: var(--radius-s); background: var(--wall); }
.woocommerce-privacy-policy-text { margin-bottom: 14px; color: var(--soft); font-size: var(--text-s); }
.place-order { margin: 0; }
#place_order { width: 100%; min-height: 58px; font-size: 1.3125rem; }
.place-order noscript .button { margin-bottom: 10px; }

.woocommerce-order { max-width: 46rem; margin: 0 auto; }
.woocommerce-thankyou-order-received { margin-bottom: 22px; padding: 22px 24px; border-radius: var(--radius-m); background: var(--wall); font-size: var(--text-l); font-weight: 700; text-align: center; }
.woocommerce-order-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 20px; }
.woocommerce-order-overview li { padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--milk); font-size: var(--text-s); color: var(--soft); }
.woocommerce-order-overview strong { display: block; color: var(--ink); font-size: var(--text); overflow-wrap: anywhere; }
.woocommerce-order h2, .woocommerce-MyAccount-content h2 { margin: 24px 0 8px; font-size: var(--text-l); }
.woocommerce-customer-details address { padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius-s); font-style: normal; }
.woocommerce-customer-details address p { margin: 4px 0 0; }

.woocommerce-account .woocommerce > form { max-width: 30rem; margin: 0 auto; }
.woocommerce-account h2 { font-size: var(--text-l); }
.woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 22px; }
.entry .woocommerce-MyAccount-navigation a { text-decoration: none; }
.woocommerce-MyAccount-navigation a { display: block; min-height: 44px; padding: 8px 16px 4px; border: 1.5px solid var(--rose); border-radius: var(--pill); }
.woocommerce-MyAccount-navigation .is-active a { border-color: var(--deep); background: var(--deep); color: #fff; }

/* 12. Documents, wishlist, not found */
.doc:not(.doc-store) .entry { max-width: calc(var(--read) + 2 * var(--g)); margin: 0 auto; padding-inline: var(--g); }
.entry h2 { margin: 1.4em 0 .4em; font-size: var(--text-l); }
.entry h3 { margin: 1.2em 0 .3em; font-size: var(--text); }
.doc:not(.doc-store) .entry :is(ul, ol):not([class]) { margin: 0 0 1em; padding-inline-start: 1.4em; list-style: disc; }
.doc:not(.doc-store) .entry ol:not([class]) { list-style: decimal; }
.entry table:not([class]) { width: 100%; border-collapse: collapse; }
.entry table:not([class]) :is(td, th) { padding: 8px; border: 1px solid var(--line); }
.post-list { max-width: var(--read); margin: 0 auto; padding-inline: var(--g); }
.post-list li { padding-block: 16px; border-top: 1px solid var(--line); }
.wishlist-page { padding-bottom: var(--space); text-align: center; }
.not-found .blank { padding-top: 0; }
.aligncenter { margin-inline: auto; }

/* 13. Motion: CSS only, and still when asked to be. */
@view-transition { navigation: auto; }
::view-transition-group(*) { animation-duration: .38s; animation-timing-function: cubic-bezier(.3, .7, .2, 1); }
.single-product .slide:first-child img { view-transition-name: garment; }
@keyframes sheet-up { from { opacity: 0; transform: translateY(60px); } }
@keyframes sheet-down { to { opacity: 0; transform: translateY(60px); } }
@keyframes pop { 40% { transform: scale(1.3); } }
@keyframes turn { from { transform: scaleX(.86); filter: brightness(1.12); } }
@keyframes spin { to { rotate: 1turn; } }
.heart.pop svg { animation: pop .4s var(--ease); }
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		/* The reflection shifts inside each mirror as it passes. */
		.wall .mirror img, .mirrors-reel .mirror img { animation: reflect linear both; animation-timeline: view(inline); }
		@keyframes reflect { from { transform: scale(1.14) translateX(-5%); } to { transform: scale(1.14) translateX(5%); } }
	}
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* 14. Wider screens */
@media (min-width: 700px) {
	.size-shop li { flex-basis: 108px; }
	.lm-care ul { grid-template-columns: repeat(3, 1fr); }
	ul.products { --cols: 3; --gx: 24px; }
	.lm-letter { grid-template-columns: 1fr 1fr; align-items: center; }
	.woocommerce-mini-cart__buttons { grid-template-columns: 1fr; }
}

@media (min-width: 1000px) {
	:root { --tabs: 0px; }
	body { font-size: 1.1875rem; }
	body:has(.tabs) { padding-bottom: 0; }
	.tabs { display: none; }
	.toast { bottom: 34px; }

	.site-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; padding-inline: var(--g); }
	.head-nav, .head-actions { display: flex; align-items: center; gap: 26px; padding-top: 22px; }
	.head-actions { justify-content: flex-end; }
	.head-nav .menu { display: flex; gap: 26px; }
	.head-nav a, .head-actions a { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; }
	.head-nav a:hover, .head-nav [aria-current], .head-actions a:hover span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .4em; }
	.label { padding: 14px 32px 20px; }
	.label img { width: 98px; }
	.home .site-head { position: absolute; inset: var(--wp-admin--admin-bar--height, 0px) 0 auto; background: none; }
	.home .label { padding: 20px 38px 30px; }
	.home .label img { width: 116px; }

	.foot-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 60px; max-width: var(--wide); margin: 0 auto; text-align: start; }
	.foot-logo { grid-column: 1; width: 116px; margin: 0; }
	.site-foot .menu { gap: 0 30px; margin: 0; }
	.foot-note { text-align: end; }

	.hero { display: grid; grid-template-columns: minmax(380px, 31%) minmax(0, 1fr); align-items: center; gap: clamp(20px, 3vw, 56px); min-height: min(860px, 100svh); padding-inline-start: var(--g); }
	.hero-text { padding: 110px 0 0; text-align: start; }
	.hero h1 { position: relative; z-index: 2; margin-inline-end: -40px; font-size: clamp(3.875rem, 6.1vw, 6.125rem); pointer-events: none; }
	.hero-text p { display: block; max-width: 20em; margin: 18px 0 16px; color: var(--soft); font-size: 1.3125rem; }
	.wall { --h: min(34vw, 60svh); align-items: flex-start; gap: clamp(22px, 1.9vw, 34px); padding: 128px 40px 24px 8px; scroll-snap-type: none; --mx: 0; --my: 0; }
	.hang { width: calc(var(--h) * .525 * var(--k, .84)); scroll-snap-align: none; margin-top: 70px; }
	.hang:nth-child(6n+1) { --k: .84; margin-top: 66px; }
	.hang:nth-child(6n+2) { --k: 1; margin-top: 8px; }
	.hang:nth-child(6n+3) { --k: .8; margin-top: 118px; }
	.hang:nth-child(6n+4) { --k: .92; margin-top: 0; }
	.wall .mirror img { animation: none; transform: scale(1.1) translate(calc(var(--mx) * -16px), calc(var(--my) * -10px)); transition: transform .5s var(--ease); }

	.arrival { grid-template-columns: minmax(260px, 1fr) minmax(0, auto); align-items: center; gap: 64px clamp(28px, 4vw, 80px); padding-inline: max(var(--g), calc((100% - var(--wide)) / 2)); }
	.arrival-intro { padding: 0; text-align: start; }
	.arrival h2 { font-size: clamp(3.25rem, 5.4vw, 5.5rem); line-height: 1.28; }
	.arrival-text { margin-inline: 0; }
	.arrival-looks { --h: min(640px, 76svh, 38vw); align-items: flex-end; gap: 30px; padding: 10px; scroll-snap-type: none; }
	.arrival-looks li { width: calc(var(--h) * var(--r)); }
	/* Further looks hang a step smaller beside the main one. */
	.arrival-looks li:nth-child(n+2) { width: calc(var(--h) * var(--r) * .8); }
	/* Widths follow each photograph's shape, so a row of details shares one height. */
	.arrival-details { grid-column: 1 / -1; flex-wrap: wrap; justify-content: center; gap: 32px 22px; overflow: visible; padding: 0; }
	.arrival-details li { flex: calc(var(--r) * 100) 1 calc(var(--r) * 260px); width: auto; max-width: calc(var(--r) * 640px); margin: 0; }

	.showcase ul { grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 40px; margin-top: 52px; }
	.feature { grid-template-columns: auto minmax(0, 1fr); align-items: center; justify-content: center; justify-items: start; gap: 44px; }
	.feature-image { width: clamp(220px, 19vw, 290px); }
	.feature-text { text-align: start; }

	.duos { grid-template-columns: repeat(auto-fit, minmax(440px, 1fr)); gap: 40px; }
	.duo { grid-template-columns: auto minmax(0, 1fr); align-items: center; justify-content: center; justify-items: start; gap: 44px; }
	.duo-media { width: clamp(220px, 19vw, 290px); }
	.duo-text { text-align: start; }
	.duo-swatches, .duo-name { justify-content: flex-start; }

	.lm-letter { grid-template-columns: 44% minmax(0, 1fr); }
	.lm-letter .lm-portrait { align-self: stretch; }
	.lm-letter .lm-portrait img { height: 100%; aspect-ratio: auto; min-height: 560px; max-height: 760px; }
	.lm-letter-text { max-width: 48rem; padding: 60px 8vw 60px 4vw; }
	.lm-letter-text .lm-lead { font-size: 1.8125rem; }
	.lm-sign img { width: 112px; }

	.lm-fan { grid-template-columns: 1fr 1.15fr; align-items: center; padding-inline: max(var(--g), calc((100% - 1400px) / 2)); text-align: start; }
	.lm-fan-text { padding-inline-start: 6vw; }
	.lm-fan-logo img { width: 230px; margin: 0 0 10px; }
	.lm-fan-text p { margin-inline: 0; }
	.lm-fan .wp-block-buttons { justify-content: flex-start; }
	.mirrors-trio { gap: 28px; max-width: 640px; }
	.mirrors-trio li:nth-child(2) { padding-bottom: 90px; }
	.mirrors-reel { gap: 26px; padding-bottom: 48px; }
	.mirrors-reel li { width: clamp(130px, 13vw, 200px); }
	.mirrors-reel li:nth-child(even) { margin-top: 44px; }

	.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 34px; padding-inline: var(--g); }
	.chips { padding-inline: 0; flex-wrap: wrap; }
	ul.products { --cols: 4; --gx: clamp(24px, 3vw, 52px); row-gap: 48px; padding-bottom: 40px; }
	ul.products > li.card:nth-child(even) { translate: 0 34px; }
	.card .card-name { margin-top: 12px; font-size: var(--text-l); }

	.single-product div.product { max-width: 90rem; margin: 0 auto; padding-inline: var(--g); }
	.product-columns { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; column-gap: clamp(30px, 5vw, 90px); }
	/* The shorter column stays in view while the taller one scrolls. */
	.product-columns > .gallery, .product-columns > .summary { position: sticky; top: calc(var(--pin) + 16px); }
	.single-product .site-head, .single-product .woocommerce-breadcrumb { background: none; }
	.single-product .woocommerce-breadcrumb { max-width: 90rem; text-align: start; }
	.gallery { padding: 26px 0 8px; border-radius: var(--radius-l); }
	.track { --h: min(660px, 72svh); gap: 22px; padding: 4px 26px; scroll-padding-inline: 26px; }
	.slide { width: min(calc(var(--h) * var(--r, .64)), 100%); scroll-snap-align: start; }
	.summary { margin: 0; padding: 22px 0 40px; }
	.buybar .btn { width: min(38%, 380px); }

	.sheet { inset: 0 auto 0 0; width: 460px; height: 100dvh; max-height: none; margin: 0; padding-inline: 34px; border-radius: 0 46px 46px 0; }
	.sheet[open] { animation-name: sheet-side; }
	.sheet.out { animation-name: sheet-side-out; }
	.sheet-cart[open]:not([data-step="bag"]) { height: 100dvh; max-height: none; padding-inline: 0; }
	.sheet-cart:not([data-step="bag"]) .sheet-head { padding-inline: 34px; }
	@keyframes sheet-side { from { opacity: 0; transform: translateX(-50px); } }
	@keyframes sheet-side-out { to { opacity: 0; transform: translateX(-50px); } }

	.woocommerce-cart .doc-store .woocommerce:has(> .woocommerce-cart-form) { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 0 48px; align-items: start; }
	.woocommerce-cart .doc-store .woocommerce > * { grid-column: 1 / -1; }
	.woocommerce-cart .doc-store .woocommerce > .woocommerce-cart-form { grid-column: 1; }
	.woocommerce-cart .doc-store .woocommerce > .cart-collaterals { grid-column: 2; position: sticky; top: calc(var(--pin) + 16px); margin: 0; }
	form.checkout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-areas: "notices notices" "details heading" "details review"; grid-template-rows: auto auto 1fr; column-gap: 48px; align-items: start; }
	form.checkout > .woocommerce-NoticeGroup { grid-area: notices; }
	form.checkout > #customer_details { grid-area: details; }
	form.checkout > #order_review_heading { grid-area: heading; margin-top: 0; }
	form.checkout > #order_review { grid-area: review; position: sticky; top: calc(var(--pin) + 16px); }
}

@media print {
	.tabs, .buybar, .toast, .site-foot, .head-nav, .head-actions { display: none; }
}
