/* ==========================================================================
   Darun Nashr: design system and site styles. "The Bookbinder".
   Palette (placeholder until the shop's logo arrives): warm paper #F3ECDF,
   bottle-green book cloth #1F3D33, gilt #B8893B (decoration) with a darker
   gilt #7A5A1E for small text on paper and a light gilt #E2C27A on cloth.
   Type: Newsreader (display and reading, italic second voice), Albert Sans
   (interface, spaced capitals for labels), Amiri for Arabic.
   Motif: gilt tooling. Double rules with the eight-point star, framed
   covers, and the shelf of cloth-bound spines on the homepage.
   ========================================================================== */

:root {
	--paper: #F3ECDF;       /* the page */
	--paper-2: #EAE0CC;     /* quiet bands */
	--sheet: #FBF7EF;       /* panels, fields, plates */
	--cloth: #1F3D33;       /* bottle-green book cloth: buttons, links, bands */
	--cloth-2: #2B5244;     /* hover */
	--cloth-ink: #142820;   /* deepest green: footer */
	--gilt: #B8893B;        /* gilt rules and fills (decoration, never small text on paper) */
	--gilt-ink: #7A5A1E;    /* gilt for small text on paper (5.5:1) */
	--gilt-l: #E2C27A;      /* gilt on cloth (6.7:1) */
	--ink: #22201B;         /* text */
	--muted: #5F5647;       /* quiet text on paper (5.9:1) */
	--line: #DCCFB6;
	--line-2: #C2B08C;
	--on-cloth: #F6F0E4;    /* text on cloth (9.9:1) */
	--muted-d: #C5D0C8;     /* quiet text on cloth (7:1) */
	--line-d: rgba(226, 194, 122, .26);
	--error: #9E2A20;
	--error-d: #F2B0A3;
	--ok: #2E6B3A;

	/* Names the shop styles were written with. */
	--rose: var(--cloth);
	--rose-2: var(--cloth-2);
	--rose-ink: var(--cloth-ink);
	--on-accent: var(--on-cloth);
	--saffron: var(--gilt);
	--saffron-d: var(--gilt-ink);
	--saffron-l: var(--gilt-l);
	--niche: var(--sheet);
	--text: var(--ink);
	--text-d: var(--on-cloth);

	--f-serif: 'Newsreader', 'Iowan Old Style', Georgia, serif;
	--f-sans: 'Albert Sans', 'Segoe UI', system-ui, sans-serif;
	--f-ar: 'Amiri', 'Traditional Arabic', serif;

	--fs-xs: .75rem;
	--fs-sm: .875rem;
	--fs-base: 1rem;
	--fs-md: 1.125rem;
	--fs-lead: clamp(1.15rem, 1rem + .55vw, 1.4rem);
	--fs-h4: clamp(1.1rem, 1rem + .35vw, 1.3rem);
	--fs-h3: clamp(1.35rem, 1.15rem + .8vw, 1.85rem);
	--fs-h2: clamp(1.8rem, 1.35rem + 1.8vw, 3rem);
	--fs-h1: clamp(2.2rem, 1.5rem + 2.9vw, 4.2rem);
	--fs-hero: clamp(2.4rem, 1.45rem + 3.6vw, 4.9rem);

	--gutter: clamp(16px, 4vw, 56px);
	--maxw: 1440px;
	--space: clamp(48px, 6vw, 96px);
	--radius: 4px;
	--pill: 3px;
	--ease: cubic-bezier(.22, .61, .36, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--bar: 34px;
	--row: 80px;
	--navh: 46px;
	--hdr: calc(var(--bar) + var(--row) + var(--navh));
	--top: 0px;
}
@media (max-width: 1099px) {
	:root { --navh: 0px; --row: 66px; --bar: 32px; }
}
.admin-bar { --top: 32px; }
@media (max-width: 782px) { .admin-bar { --top: 46px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--top) + var(--hdr) + 16px); }
html, body { overflow-x: clip; }
body {
	margin: 0; background: var(--paper); color: var(--ink);
	font: 400 var(--fs-base)/1.6 var(--f-sans);
	-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
	font-feature-settings: "kern", "liga"; text-rendering: optimizeLegibility;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 500; line-height: 1.1; }
p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
fieldset { border: 0; margin: 0; padding: 0; min-inline-size: 0; }
table { border-collapse: collapse; }
[lang="ar"] { font-family: var(--f-ar); }
::selection { background: var(--cloth); color: var(--on-cloth); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--cloth); outline-offset: 3px; }
.ftr :focus-visible, .giftband :focus-visible, .ask__head :focus-visible, .corner--ramadan:focus-visible, .times :focus-visible { outline-color: var(--gilt-l); }

.sr, .screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
	position: fixed; left: 16px; top: calc(var(--top) + 8px); z-index: 1000;
	background: var(--cloth); color: var(--on-cloth); padding: 12px 20px; transform: translateY(-180%);
	font: 600 var(--fs-sm)/1 var(--f-sans); transition: transform .2s var(--ease);
}
.skip:focus { transform: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Layout ---------- */
.wrap { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 2 * var(--gutter)); }
.section { padding-block: var(--space); }
.section--tight { padding-block: clamp(28px, 3.5vw, 52px); }
.section--top0 { padding-top: 0; }
.main { display: block; padding-top: calc(var(--top) + var(--hdr)); min-height: 60vh; }
.main:focus { outline: none; }

/* ---------- Type ---------- */
.h1, .h2, .h3 { font-family: var(--f-serif); font-weight: 500; letter-spacing: -.01em; font-optical-sizing: auto; }
.h1 { font-size: var(--fs-h1); line-height: 1.04; }
.h2 { font-size: var(--fs-h2); line-height: 1.08; }
.h3 { font-size: var(--fs-h3); line-height: 1.2; }
.h4 { font: 600 var(--fs-sm)/1.3 var(--f-sans); letter-spacing: .02em; }
.voice { font-style: italic; font-weight: 400; color: var(--gilt-ink); }
.lead { font: 400 var(--fs-lead)/1.55 var(--f-serif); color: var(--ink); }
.muted { color: var(--muted); }
.caps { font: 600 var(--fs-xs)/1.2 var(--f-sans); letter-spacing: .16em; text-transform: uppercase; }

.prose { font: 400 var(--fs-md)/1.7 var(--f-serif); color: var(--ink); }
.prose > * { margin-block: 0; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font: 500 var(--fs-h3)/1.2 var(--f-serif); margin-top: 1.8em; }
.prose h3 { font: 600 var(--fs-base)/1.35 var(--f-sans); margin-top: 1.6em; }
.prose a { color: var(--cloth); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose ul { padding: 0; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li + li { margin-top: .4em; }
.prose ul li::before { content: ""; position: absolute; left: 3px; top: .65em; width: 7px; height: 7px; background: var(--gilt); transform: rotate(45deg); }
.prose ol { list-style: decimal; padding-left: 1.4em; }
.prose strong { font-weight: 600; }
.prose .todo { background: #F0DDB2; padding: 0 4px; }

/* The tooled rule: gilt double line with the star at its centre. */
.rule { display: flex; align-items: center; gap: 14px; color: var(--gilt); margin-bottom: clamp(22px, 3vw, 40px); }
.rule__l { flex: 1; height: 5px; border-block: 1px solid currentColor; opacity: .85; }
.rule__star { width: 22px; height: 22px; flex: none; }
.star { color: inherit; }

/* ---------- Links and buttons ---------- */
.link {
	position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
	font: 600 var(--fs-sm)/1.3 var(--f-sans); color: var(--cloth); background: none; border: 0; cursor: pointer;
	text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: rgba(31, 61, 51, .35);
	transition: text-decoration-color .3s var(--ease), text-underline-offset .3s var(--ease);
}
.link:hover { text-decoration-color: currentColor; text-underline-offset: 4px; }
.link .ic { width: 16px; height: 16px; }
.link--light { color: var(--gilt-l); text-decoration-color: rgba(226, 194, 122, .45); }
a.inline { color: var(--cloth); text-decoration: underline; text-underline-offset: 3px; }

.btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 28px; border: 1.5px solid var(--cloth); border-radius: var(--radius);
	background: var(--cloth); color: var(--on-cloth);
	font: 600 var(--fs-xs)/1 var(--f-sans); letter-spacing: .14em; text-transform: uppercase;
	cursor: pointer; text-align: center; white-space: nowrap;
	transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover, .btn:focus-visible { background: var(--cloth-2); border-color: var(--cloth-2); }
.btn:active { transform: translateY(1px); }
.btn .ic { width: 18px; height: 18px; }
.btn[disabled], .btn.is-busy { opacity: .55; pointer-events: none; }
.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: 0 20px; }
.btn--ghost { background: transparent; color: var(--cloth); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--cloth); color: var(--on-cloth); }
.btn--gilt { background: var(--gilt-l); border-color: var(--gilt-l); color: var(--cloth-ink); }
.btn--gilt:hover, .btn--gilt:focus-visible { background: #EED7A0; border-color: #EED7A0; }
.btn--line { background: transparent; border-color: rgba(226, 194, 122, .6); color: var(--on-cloth); }
.btn--line:hover, .btn--line:focus-visible { border-color: var(--gilt-l); background: rgba(226, 194, 122, .1); }
.btn.is-busy::after { content: ""; display: inline-block; width: 12px; height: 12px; border: 1.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }

.ibtn {
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-width: 44px; min-height: 44px; border-radius: var(--radius); color: inherit;
	transition: color .25s var(--ease), background-color .25s var(--ease);
}
.ibtn .ic { width: 22px; height: 22px; }
.ibtn:hover { color: var(--cloth-2); background: rgba(31, 61, 51, .06); }
.ibtn--line { border: 1.5px solid var(--line-2); width: 46px; height: 46px; }
.ibtn--line:hover { border-color: var(--cloth); }
.count {
	display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
	background: var(--cloth); color: var(--on-cloth); font: 700 10px/1 var(--f-sans);
}
.ibtn .count { position: absolute; top: 3px; right: 0; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Logo: the emblem and the wordmark ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand .emblem { width: 30px; height: auto; flex: none; }
.wordmark { display: grid; justify-items: start; line-height: 1; }
.wordmark__en { font: 600 1.18rem/1 var(--f-serif); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.wordmark__ar { font: 700 1.05rem/1.2 var(--f-ar); color: var(--gilt-ink); margin-top: 2px; }
.custom-logo-link img { max-height: 54px; width: auto; }

/* ---------- Header ---------- */
.hdr {
	position: fixed; z-index: 90; left: 0; right: 0; top: var(--top);
	background: var(--paper); color: var(--ink);
	transition: transform .45s var(--ease), box-shadow .3s var(--ease);
}
.hdr::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 5px; border-block: 1px solid var(--gilt); background: var(--paper); pointer-events: none; }
.hdr.is-scrolled { box-shadow: 0 16px 30px -26px rgba(20, 40, 32, .55); }
.hdr.is-hidden { transform: translateY(calc(-100% - var(--top) - 6px)); }
.bar { height: var(--bar); overflow: hidden; background: var(--cloth); color: var(--on-cloth); }
.bar__track { position: relative; height: 100%; }
.bar__msg {
	position: absolute; inset: 0; display: grid; place-items: center; padding: 0 16px; text-align: center;
	font: 500 var(--fs-xs)/1 var(--f-sans); letter-spacing: .06em;
	opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease);
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bar__msg.is-on { opacity: 1; transform: none; }
.hdr__row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(12px, 3vw, 40px); height: var(--row); }
.hdr__brand { display: flex; }
.hdr__burger { display: none; margin-left: -10px; }
.hdr__search {
	display: flex; align-items: center; gap: 12px; width: min(540px, 100%); justify-self: center; height: 46px; padding: 0 18px;
	border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--sheet); color: var(--muted); text-align: left;
	transition: border-color .25s var(--ease);
}
.hdr__search:hover { border-color: var(--cloth); }
.hdr__search .ic { width: 20px; height: 20px; flex: none; color: var(--cloth); }
.hdr__search-t { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: italic 400 1.02rem/1 var(--f-serif); }
.hdr__search-t [data-cycle] { display: inline-block; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.hdr__search-t [data-cycle].is-out { opacity: 0; transform: translateY(6px); }
.hdr__icons { display: flex; align-items: center; gap: 2px; justify-content: flex-end; }
.hdr__search-sm { display: none; }
.hdr__nav { height: var(--navh); border-top: 1px solid var(--line); }
@media (max-width: 1099px) {
	.hdr__burger { display: inline-flex; }
	.hdr__nav { display: none; }
	.hdr__row { grid-template-columns: auto auto minmax(0, 1fr); }
	.hdr__search { display: none; }
	.hdr__search-sm { display: inline-flex; }
}
@media (max-width: 599px) {
	.hide-sm { display: none; }
	.wordmark__en { font-size: 1rem; letter-spacing: .12em; }
	.wordmark__ar { font-size: .92rem; }
	.brand .emblem { width: 24px; }
	.hdr__row { gap: 6px; }
}
@media (max-width: 379px) { .hide-xs { display: none; } .hdr .brand .emblem { display: none; } }

/* Main navigation: spaced capitals, a gilt underline. */
.nav__list { display: flex; justify-content: center; gap: clamp(14px, 2.2vw, 38px); height: var(--navh); }
.nav__item { position: static; display: flex; align-items: center; }
.nav__link { position: relative; display: inline-flex; align-items: center; height: 100%; font: 600 .78rem/1 var(--f-sans); letter-spacing: .15em; text-transform: uppercase; color: var(--ink); transition: color .25s var(--ease); }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 9px; height: 1px; background: var(--gilt); transform: scaleX(0); transition: transform .4s var(--ease-out); }
.nav__item:hover .nav__link, .nav__item.is-open .nav__link, .nav__link:focus-visible { color: var(--cloth); }
.nav__item:hover .nav__link::after, .nav__item.is-open .nav__link::after, .nav__item.is-current .nav__link::after { transform: scaleX(1); }
.nav__item--season .nav__link { color: var(--gilt-ink); }
.nav__item--season:first-of-type { margin-left: 10px; }
.nav__toggle { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 100%; color: var(--muted); }
.nav__toggle .ic { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.nav__item.is-open .nav__toggle .ic { transform: rotate(180deg); }
.panel {
	position: absolute; left: 0; right: 0; top: calc(100% + 5px); background: var(--sheet); border-top: 1px solid var(--line);
	box-shadow: 0 30px 40px -30px rgba(20, 40, 32, .45);
	visibility: hidden; opacity: 0; transform: translateY(-6px);
	transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s .4s;
}
.nav__item.is-open .panel { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.panel__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, .9fr); gap: clamp(24px, 3.5vw, 56px); padding-block: 34px 40px; }
.panel__inner--list { grid-template-columns: minmax(0, 1fr); }
.panel__col { display: grid; align-content: start; gap: 14px; }
.panel__title { font: 600 var(--fs-xs)/1 var(--f-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gilt-ink); }
.panel__big { display: grid; gap: 2px; }
.panel__big a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font: 500 1.3rem/1.2 var(--f-serif); }
.panel__big a:hover { color: var(--cloth-2); }
.panel__big li:last-child a { border-bottom: 0; font: italic 400 1.05rem/1.2 var(--f-serif); color: var(--cloth); }
.panel__n { font: 500 var(--fs-xs)/1 var(--f-sans); color: var(--muted); }
.panel__small { display: grid; gap: 2px; }
.panel__small a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; min-height: 38px; padding: 6px 0; font-size: var(--fs-base); }
.panel__small a:hover { color: var(--cloth-2); }
.panel__fams { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 14px; }
.panel__fams a { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: var(--fs-base); }
.panel__fams a > span:first-of-type { flex: 1; }
.panel__fams .fam-ic { width: 28px; height: 28px; color: var(--gilt-ink); flex: none; }
.panel__fams a:hover { color: var(--cloth-2); }
.panel__promo { position: relative; display: grid; align-content: end; gap: 10px; padding: 26px 26px 22px; background: var(--cloth); color: var(--on-cloth); outline: 1px solid var(--gilt); outline-offset: -8px; }
.panel__promo .link { color: var(--gilt-l); justify-self: start; text-decoration-color: rgba(226, 194, 122, .5); }
.panel__promo-t { font: 500 1.5rem/1.15 var(--f-serif); }
.panel__star { width: 30px; color: var(--gilt-l); margin-bottom: auto; }

/* ---------- Layers: menu, search, bag, filters ---------- */
.layer { position: fixed; inset: var(--top) 0 0 0; z-index: 200; }
.layer__scrim { position: absolute; inset: 0; background: rgba(20, 32, 26, .5); opacity: 0; transition: opacity .35s var(--ease); }
.layer.is-open .layer__scrim { opacity: 1; }
.layer__panel { position: absolute; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); }
.layer__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(18px, 3vw, 32px); border-bottom: 1px solid var(--line); min-height: 72px; }
.drawer__panel, .refine__panel { top: 0; right: 0; bottom: 0; width: min(460px, 100%); transform: translateX(100%); transition: transform .5s var(--ease-out); }
.layer.is-open .drawer__panel, .layer.is-open .refine__panel { transform: none; }
.drawer__title { font: 500 1.55rem/1 var(--f-serif); }
.menu__panel { top: 0; left: 0; bottom: 0; width: min(420px, 100%); transform: translateX(-100%); transition: transform .5s var(--ease-out); }
.menu.is-open .menu__panel { transform: none; }
.menu__body { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.mnav__panel { overflow-y: auto; overscroll-behavior: contain; padding: 8px clamp(18px, 3vw, 32px) 32px; background: var(--paper); }
.js .mnav__panel { position: absolute; inset: 0; transform: translateX(100%); visibility: hidden; transition: transform .4s var(--ease-out), visibility 0s .4s; }
.js .mnav__panel.is-current { transform: none; visibility: visible; transition: transform .4s var(--ease-out); }
.js .mnav__panel.is-behind { transform: translateX(-30%); visibility: visible; }
.mnav__item { border-bottom: 1px solid var(--line); }
.mnav__link { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 56px; font: 500 1.4rem/1.1 var(--f-serif); text-align: left; }
.mnav__link .ic { width: 18px; height: 18px; flex: none; color: var(--gilt-ink); transition: transform .3s var(--ease); }
.mnav__link:hover { color: var(--cloth-2); }
.mnav__link:hover .ic { transform: translateX(3px); }
.mnav__link--sub { font-size: 1.2rem; min-height: 50px; }
.mnav__back { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; margin-bottom: 4px; border-bottom: 1px solid var(--line-2); color: var(--cloth); font: 600 var(--fs-xs)/1 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; text-align: left; }
.mnav__back .ic { width: 20px; height: 20px; }
.mnav__label { margin: 22px 0 6px; font: 600 var(--fs-xs)/1 var(--f-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gilt-ink); }
.mnav__promo { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 16px; background: var(--cloth); color: var(--on-cloth); font: 500 1.1rem/1.2 var(--f-serif); }
.mnav__promo .star { width: 26px; color: var(--gilt-l); flex: none; }
@media (prefers-reduced-motion: reduce) { .js .mnav__panel, .js .mnav__panel.is-current, .js .mnav__panel.is-behind { transition: none; } }
.menu__extra { margin-top: 26px; display: grid; gap: 2px; }
.menu__extra a { display: flex; align-items: center; gap: 12px; min-height: 46px; font-size: var(--fs-md); }
.menu__extra a:hover { color: var(--cloth-2); }
.menu__extra .ic { width: 20px; height: 20px; color: var(--gilt-ink); }

/* Search overlay */
.search-layer__panel { left: 0; right: 0; top: 0; max-height: 100%; overflow-y: auto; transform: translateY(-100%); transition: transform .5s var(--ease-out); padding-bottom: 44px; border-bottom: 5px double var(--gilt); }
.search-layer.is-open .search-layer__panel { transform: none; }
.search-form { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 6px 8px 6px 20px; border: 1.5px solid var(--cloth); border-radius: var(--radius); background: var(--sheet); }
.search-form > .ic { width: 24px; height: 24px; color: var(--cloth); flex: none; }
.search-form input { flex: 1; min-width: 0; border: 0; background: transparent; font: 400 clamp(1.15rem, 1rem + 1vw, 1.7rem)/1.2 var(--f-serif); padding: 12px 0; }
.search-form input::placeholder { color: var(--muted); font-style: italic; }
.search-form input::-webkit-search-cancel-button { display: none; }
.search-results { padding-top: 26px; min-height: 120px; transition: opacity .2s var(--ease); }
.search-results.is-loading { opacity: .5; }
.sr-block + .sr-block { margin-top: 26px; }
.sr-block__title { font: 600 var(--fs-xs)/1 var(--f-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gilt-ink); margin-bottom: 12px; }
.sr-try { display: flex; flex-wrap: wrap; gap: 8px; }
.sr-try button { min-height: 42px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--sheet); font: italic 400 1.05rem/1 var(--f-serif); color: var(--cloth); }
.sr-try button:hover { border-color: var(--cloth); }
.sr-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; margin-top: 26px; }
.sr-cols .sr-block + .sr-block { margin-top: 0; }
.sr-links { display: flex; flex-wrap: wrap; gap: 2px 20px; }
.sr-links a { display: inline-flex; align-items: baseline; gap: 6px; min-height: 40px; font: 500 1.12rem/1.6 var(--f-serif); }
.sr-links a span { font: 500 var(--fs-xs)/1 var(--f-sans); color: var(--muted); }
.sr-links a:hover { color: var(--cloth-2); }
.sr-read { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 22px; }
.sr-read__k { font: 600 var(--fs-xs)/1 var(--f-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.sr-read ul { display: flex; flex-wrap: wrap; gap: 6px; }
.sr-read li { padding: 6px 12px; background: var(--cloth); color: var(--on-cloth); font-size: var(--fs-sm); }
.sr-read--page { margin: 6px 0 0; }
.sr-grid { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); }
.sr-p { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 22px; }
.sr-p a { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: center; padding: 8px; transition: background-color .2s var(--ease); }
.sr-p a:hover { background: var(--paper-2); }
.sr-p__img { display: grid; place-items: center; width: 64px; height: 64px; background: var(--paper); border: 1px solid var(--line); overflow: hidden; }
.sr-p__img img { width: 100%; height: 100%; object-fit: cover; }
.sr-p__img .star { width: 40%; color: var(--line-2); }
.sr-p__body { display: grid; gap: 2px; min-width: 0; }
.sr-p__house { font: 600 11px/1.2 var(--f-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gilt-ink); }
.sr-p__name { font: 500 1.1rem/1.2 var(--f-serif); }
.sr-p__why { font-size: var(--fs-xs); color: var(--muted); }
.sr-p__price { font-size: var(--fs-sm); font-weight: 600; }
.sr-p__out { color: var(--muted); font-weight: 400; }
.sr-all { margin-top: 18px; }
.sr-empty p:first-child { font: 500 1.35rem/1.4 var(--f-serif); margin-bottom: 6px; }
.sr-ask { display: grid; gap: 2px; padding: 16px 18px; background: var(--paper-2); }
@media (max-width: 799px) { .sr-grid, .sr-p, .sr-cols { grid-template-columns: minmax(0, 1fr); } }

/* Toast */
.toast {
	position: fixed; z-index: 300; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0;
	background: var(--cloth-ink); color: var(--on-cloth); padding: 14px 22px; border-radius: var(--radius); border-bottom: 2px solid var(--gilt);
	font: 500 var(--fs-sm)/1.3 var(--f-sans); transition: opacity .3s var(--ease), transform .4s var(--ease-out); max-width: calc(100% - 32px);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Empty states */
.empty { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 44px 12px; color: var(--muted); }
.empty .btn { margin-top: 12px; }
.empty--page { padding-block: clamp(32px, 5vw, 64px); }
.empty__mark { width: 44px; color: var(--gilt); margin-bottom: 6px; }
.empty__title { font: 500 var(--fs-h3)/1.2 var(--f-serif); color: var(--ink); }

/* ---------- Forms ---------- */
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 22px; }
.field { display: grid; gap: 8px; align-content: start; }
.field--wide, .field--textarea { grid-column: 1 / -1; }
@media (max-width: 599px) { .form__grid { grid-template-columns: minmax(0, 1fr); } }
.field label, .field__label, .woocommerce form .form-row label { font: 600 var(--fs-sm)/1.3 var(--f-sans); color: var(--ink); }
.field__opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field__input, .select select,
.woocommerce form .input-text, .woocommerce form select, .woocommerce-input-wrapper input, .woocommerce-input-wrapper textarea,
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form textarea {
	width: 100%; min-height: 52px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--radius);
	background: var(--sheet); color: var(--ink); font: 400 var(--fs-base)/1.4 var(--f-sans);
	transition: border-color .2s var(--ease), box-shadow .2s var(--ease); -webkit-appearance: none; appearance: none;
}
.field textarea, textarea.field__input { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field__input:focus, .select select:focus, .woocommerce form .input-text:focus, .woocommerce form select:focus {
	border-color: var(--cloth); box-shadow: 0 0 0 3px rgba(31, 61, 51, .14); outline: none;
}
.select { position: relative; display: block; }
.select select { padding-right: 44px; cursor: pointer; }
.select .ic { position: absolute; right: 14px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.select--sm select { min-height: 40px; padding: 8px 36px 8px 10px; font-size: var(--fs-sm); }
.select--sm .ic { right: 10px; }
.field.is-error input, .field.is-error textarea, .field.is-error select { border-color: var(--error); }
.field__error { font-size: var(--fs-sm); color: var(--error); }
.field .check, .check--form { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font: 400 var(--fs-sm)/1.5 var(--f-sans); min-height: 32px; }
.check__box { flex: none; position: relative; width: 22px; height: 22px; border: 1.5px solid var(--muted); border-radius: 2px; background: var(--sheet); transition: background .2s var(--ease), border-color .2s var(--ease); }
.check__box::after { content: ""; position: absolute; left: 6.5px; top: 2.5px; width: 5px; height: 10px; border: solid var(--on-cloth); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .2s var(--ease); }
.field .check input, .refine__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.field .check input:checked + .check__box { background: var(--cloth); border-color: var(--cloth); }
.field .check input:checked + .check__box::after { transform: rotate(45deg) scale(1); }
.field .check input:focus-visible + .check__box { outline: 2px solid var(--cloth); outline-offset: 3px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 24px; }
.form__status { font-size: var(--fs-sm); line-height: 1.5; }
.form__status[data-state="ok"] { color: var(--ok); }
.form__status[data-state="error"] { color: var(--error); }
.form.is-sent .form__grid, .form.is-sent .form__foot .btn { display: none; }
.form.is-sent .form__status { font: 400 var(--fs-lead)/1.4 var(--f-serif); color: var(--ink); }

/* ---------- Footer: the shop, then the links ---------- */
.ftr { position: relative; margin-top: 70px; background: var(--cloth-ink); color: var(--on-cloth); }
.ftr::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 7px; border-block: 1px solid var(--gilt); }
.visit { padding-block: clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line-d); }
.visit__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
.visit__copy { display: grid; gap: 18px; justify-items: start; }
.visit__title { font: 500 var(--fs-h2)/1.08 var(--f-serif); max-width: 16ch; }
.visit__title .voice, .ftr .voice { color: var(--gilt-l); }
.visit__addr { font: 400 var(--fs-lead)/1.5 var(--f-serif); color: var(--muted-d); }
.visit__acts { display: flex; flex-wrap: wrap; gap: 10px; }
.visit__acts .ic { width: 18px; height: 18px; }
.visit__hours { padding: clamp(18px, 2.5vw, 30px); outline: 1px solid var(--line-d); outline-offset: -6px; border: 1px solid var(--line-d); }
.visit__now { display: flex; align-items: center; gap: 10px; min-height: 28px; margin-bottom: 12px; font: 600 var(--fs-sm)/1.3 var(--f-sans); color: var(--gilt-l); }
.visit__now:empty { display: none; }
.visit__now::before, .hero__dot { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; flex: none; }
.is-open .visit__now { color: #9FD8A9; }
.is-closed .visit__now { color: var(--gilt-l); }
.hours { width: 100%; font-size: var(--fs-sm); }
.hours th, .hours td { padding: 10px 0; border-top: 1px solid var(--line-d); text-align: left; vertical-align: top; font-weight: 400; }
.hours th { color: var(--muted-d); padding-right: 16px; white-space: nowrap; }
.hours td { color: var(--on-cloth); }
.visit__note { margin-top: 10px; font: italic 400 1rem/1.4 var(--f-serif); color: var(--muted-d); }
@media (max-width: 899px) { .visit__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 479px) { .hours th { white-space: normal; } }
.ftr__main { padding-block: clamp(28px, 3.5vw, 48px) clamp(36px, 4vw, 56px); }
.ftr__rule { color: var(--gilt); }
.ftr__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr)); gap: 36px 28px; }
.ftr__brand { display: grid; align-content: start; justify-items: start; gap: 16px; }
.ftr .brand { color: var(--on-cloth); }
.ftr .brand .emblem { width: 36px; --cloth: #2B5244; }
.ftr .wordmark__ar { color: var(--gilt-l); }
.ftr__line { font: italic 400 1.15rem/1.35 var(--f-serif); color: var(--gilt-l); max-width: 26ch; }
.ftr__h { font: 600 var(--fs-xs)/1 var(--f-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gilt-l); margin-bottom: 14px; }
.ftr__col ul { display: grid; gap: 2px; }
.ftr__col a, .ftr__col li { display: flex; align-items: center; gap: 10px; min-height: 36px; font-size: var(--fs-sm); color: var(--muted-d); overflow-wrap: anywhere; }
.ftr__col a .ic { width: 18px; height: 18px; color: var(--gilt-l); flex: none; }
.ftr__col a:hover { color: var(--on-cloth); }
.socials { display: flex; gap: 4px; margin-left: -10px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; color: var(--muted-d); }
.socials a:hover { color: var(--gilt-l); }
.socials .ic { width: 20px; height: 20px; }
.ftr__legal { border-top: 1px solid var(--line-d); }
.ftr__legal-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px calc(20px + env(safe-area-inset-bottom)); font-size: var(--fs-xs); color: var(--muted-d); }
.ftr__credit a { color: var(--gilt-l); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1099px) { .ftr__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ftr__brand { grid-column: 1 / -1; } }
@media (max-width: 599px) { .ftr__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ftr__legal-row { padding-bottom: 88px; } }

/* ---------- Motion: reveals ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform 1.1s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal-lines .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.reveal-lines .w > span { display: inline-block; }
.js .reveal-lines .w > span { transform: translateY(108%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i) * 55ms + 120ms); }
.js .reveal-lines.is-in .w > span { transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
	.js .reveal, .js .reveal-lines .w > span { transform: none !important; transition: opacity .5s ease !important; }
}

/* ==========================================================================
   Homepage
   ========================================================================== */
.shead { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 24px; margin-bottom: clamp(20px, 2.6vw, 34px); }
.shead .h2 { max-width: 26ch; }

/* Rails: a row of cards that scrolls sideways. */
.rail { padding-block: var(--space) 0; }
.rail__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; }
.rail__head .shead { flex: 1 1 auto; }
.rail__nav { display: flex; gap: 8px; margin-bottom: clamp(20px, 2.6vw, 34px); }
.rail__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 20px) / 5); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.rail__track::-webkit-scrollbar { display: none; }
.rail__track > li { scroll-snap-align: start; min-width: 0; }
@media (max-width: 1199px) { .rail__track { grid-auto-columns: calc((100% - 3 * 18px) / 3.4); gap: 18px; } }
@media (max-width: 699px) { .rail__track { grid-auto-columns: 62%; gap: 14px; } .rail__nav { display: none; } }
.hero + .rail { padding-top: clamp(20px, 3vw, 40px); }
.giftband + .rail, .finders + .rail { padding-top: 0; }

/* Hero: the headline beside the shelf. */
.hero { position: relative; padding-block: clamp(30px, 4.5vw, 72px) clamp(36px, 5vw, 80px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.hero__copy { display: grid; gap: 22px; justify-items: start; }
.hero__title { font: 500 var(--fs-hero)/1 var(--f-serif); letter-spacing: -.02em; max-width: 14ch; }
.hero__title .voice { display: block; margin-top: .12em; font-size: .62em; line-height: 1.15; letter-spacing: -.005em; }
.hero__text { max-width: 48ch; font: 400 var(--fs-md)/1.6 var(--f-serif); color: var(--muted); }
.hero__search { display: flex; align-items: center; gap: 10px; width: min(580px, 100%); padding: 6px 6px 6px 18px; border: 1.5px solid var(--cloth); border-radius: var(--radius); background: var(--sheet); }
.hero__search > .ic { width: 22px; height: 22px; color: var(--cloth); flex: none; }
.hero__search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 12px 0; font: 400 1.1rem/1.2 var(--f-serif); }
.hero__search input:focus { outline: none; }
.hero__search:focus-within { box-shadow: 0 0 0 3px rgba(31, 61, 51, .14); }
.hero__search input::placeholder { color: var(--muted); font-style: italic; }
.hero__search .btn { min-height: 48px; }
.hero__open { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: var(--fs-sm); color: var(--muted); }
.hero__open [data-hours-now] { font-weight: 600; color: var(--ink); }
.hero__dot { color: var(--gilt); }
.hero__open.is-open .hero__dot { color: #2E8B46; }
.hero__addr::before { content: "·"; margin-right: 12px; color: var(--line-2); }
@media (max-width: 999px) { .hero__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 599px) { .hero__search { flex-wrap: wrap; padding: 6px; } .hero__search > .ic { display: none; } .hero__search input { flex-basis: 100%; padding: 12px; } .hero__search .btn { width: 100%; } }

/* The shelf: departments as cloth-bound books that slide out and turn to show their cover. */
.shelf { position: relative; padding: clamp(26px, 3vw, 40px) clamp(18px, 2.4vw, 34px) 0; background: var(--paper-2); box-shadow: inset 0 18px 30px -18px rgba(20, 40, 32, .35), inset 0 0 0 1px var(--line); }
.shelf::before { content: ""; position: absolute; inset: 10px 10px 0; border: 1px solid rgba(184, 137, 59, .45); border-bottom: 0; pointer-events: none; }
.shelf__row { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: center; gap: 4px; min-height: 380px; perspective: 1600px; perspective-origin: 50% 40%; }
.shelf__plank { position: relative; z-index: 2; height: 22px; margin-inline: calc(-1 * clamp(18px, 2.4vw, 34px)); background: var(--cloth-ink); border-top: 2px solid var(--gilt); box-shadow: 0 12px 22px -10px rgba(20, 40, 32, .55); }
.book { position: relative; flex: none; width: var(--w, 72px); height: var(--h, 320px); }
.book:nth-child(1) { --w: 86px; --h: 360px; }
.book:nth-child(2) { --w: 66px; --h: 300px; }
.book:nth-child(3) { --w: 78px; --h: 338px; }
.book:nth-child(4) { --w: 70px; --h: 284px; }
.book:nth-child(5) { --w: 62px; --h: 322px; }
.book:nth-child(6) { --w: 80px; --h: 304px; }
.book--deco { pointer-events: none; }
.book--deco .book__a { transform: none !important; }
.book--deco .book__spine { padding: 16px 3px; }
.book__a { position: absolute; inset: 0; display: block; transform-style: preserve-3d; transform-origin: 100% 50%; transition: transform .7s var(--ease-out); }
.book__spine, .book__cover { position: absolute; top: 0; height: 100%; backface-visibility: hidden; background-color: var(--cloth); }
.book__spine {
	left: 0; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 20px 6px 18px; color: var(--gilt-l);
	background-image:
		linear-gradient(90deg, rgba(0, 0, 0, .34), rgba(255, 255, 255, .06) 22%, rgba(255, 255, 255, .02) 60%, rgba(0, 0, 0, .3)),
		repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px);
	border-radius: 2px;
}
.book__band { width: 100%; height: 7px; border-block: 1px solid var(--gilt-l); opacity: .9; flex: none; }
.book__band--foot { margin-top: auto; }
.book__ar { font: 700 1.35rem/1 var(--f-ar); }
.book__star { width: 22px; color: var(--gilt-l); }
.book__t { writing-mode: vertical-rl; font: 600 .98rem/1 var(--f-serif); letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
.book__cover {
	left: 100%; width: 210px; transform-origin: 0 50%; transform: rotateY(90deg); padding: 12px;
	background-image: linear-gradient(90deg, rgba(0, 0, 0, .25), transparent 8%), repeating-linear-gradient(45deg, rgba(255, 255, 255, .02) 0 2px, transparent 2px 5px);
	box-shadow: inset -3px 0 0 rgba(0, 0, 0, .18);
}
.book__frame { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; height: 100%; padding: 18px; border: 1.5px solid var(--gilt-l); outline: 1px solid rgba(226, 194, 122, .55); outline-offset: -6px; text-align: center; color: var(--on-cloth); }
.book__mark { width: 34px; color: var(--gilt-l); }
.book__name { font: 500 1.55rem/1.1 var(--f-serif); color: var(--gilt-l); }
.book__line { font: italic 400 .95rem/1.4 var(--f-serif); color: var(--muted-d); }
.book__n { font: 600 11px/1 var(--f-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gilt-l); }
/* Books on the right half turn the other way so their cover stays on the shelf. */
.book:nth-child(n+4) .book__a { transform-origin: 0 50%; }
.book:nth-child(n+4) .book__cover { left: auto; right: 100%; transform-origin: 100% 50%; transform: rotateY(-90deg); background-image: linear-gradient(270deg, rgba(0, 0, 0, .25), transparent 8%), repeating-linear-gradient(45deg, rgba(255, 255, 255, .02) 0 2px, transparent 2px 5px); }
@media (hover: hover) and (pointer: fine) {
	.book:hover, .book:focus-within { z-index: 5; }
	.book:hover .book__a, .book__a:focus-visible { transform: translateZ(90px) rotateY(-78deg); }
	.book:nth-child(n+4):hover .book__a, .book:nth-child(n+4) .book__a:focus-visible { transform: translateZ(90px) rotateY(78deg); }
}
.book__a:focus-visible { outline: 2px solid var(--cloth); outline-offset: 4px; }
.book:nth-child(4) .book__a { rotate: 0 0 1 -3.5deg; transform-origin: 0 100%; }
.js .book { opacity: 0; transform: translateY(26px); }
.js .shelf.is-in .book, .js .hero .book { animation: bookin .9s var(--ease-out) forwards; animation-delay: calc(var(--i) * 90ms + 250ms); }
@keyframes bookin { to { opacity: 1; transform: none; } }
@media (max-width: 1199px) { .book__cover { width: 180px; } }
@media (max-width: 599px) {
	.shelf__row { justify-content: flex-start; min-height: 270px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 0; gap: 3px; perspective: none; }
	.shelf__row::-webkit-scrollbar { display: none; }
	.book { scroll-snap-align: start; }
	.book:nth-child(1) { --w: 64px; --h: 262px; }
	.book:nth-child(2) { --w: 52px; --h: 220px; }
	.book:nth-child(3) { --w: 60px; --h: 248px; }
	.book:nth-child(4) { --w: 56px; --h: 208px; }
	.book:nth-child(5) { --w: 50px; --h: 236px; }
	.book:nth-child(6) { --w: 60px; --h: 224px; }
	.book__t { font-size: .84rem; letter-spacing: .14em; }
	.book__ar { font-size: 1.1rem; }
	.book__cover { display: none; }
	.book--deco { display: none; }
}

/* The finders, as kitaab covers. */
.finders__title { max-width: 26ch; margin-bottom: clamp(24px, 3vw, 40px); }
.finders__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 40px); }
.cover { position: relative; display: block; perspective: 1400px; }
.cover::after { content: ""; position: absolute; top: 6px; bottom: 6px; right: -9px; width: 12px; background: repeating-linear-gradient(0deg, #F8F2E6 0 2px, #E3D7C0 2px 3px); border-radius: 0 3px 3px 0; z-index: -1; transition: transform .7s var(--ease-out); }
.cover__frame {
	position: relative; display: grid; align-content: center; justify-items: center; gap: 14px; min-height: clamp(320px, 34vw, 440px); padding: clamp(28px, 4vw, 56px);
	background-color: var(--cloth); color: var(--on-cloth); text-align: center; border-radius: 2px 4px 4px 2px;
	background-image: linear-gradient(90deg, rgba(0, 0, 0, .28), transparent 6%), repeating-linear-gradient(45deg, rgba(255, 255, 255, .02) 0 2px, transparent 2px 5px);
	box-shadow: 0 30px 40px -28px rgba(20, 40, 32, .7);
	transform-origin: 0 50%; transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out);
}
.cover__frame::before { content: ""; position: absolute; inset: 14px; border: 1.5px solid var(--gilt-l); outline: 1px solid rgba(226, 194, 122, .5); outline-offset: -7px; pointer-events: none; }
.cover:hover .cover__frame, .cover:focus-visible .cover__frame { transform: rotateY(-9deg); box-shadow: 18px 34px 44px -26px rgba(20, 40, 32, .7); }
.cover:hover::after { transform: translateX(-2px); }
.cover__star { width: 42px; color: var(--gilt-l); }
.cover__t { font: 500 clamp(1.7rem, 1.2rem + 1.4vw, 2.5rem)/1.05 var(--f-serif); color: var(--gilt-l); }
.cover__p { max-width: 34ch; font: 400 1.05rem/1.5 var(--f-serif); color: var(--muted-d); }
.cover__eg { display: grid; gap: 4px; font: italic 400 1rem/1.4 var(--f-serif); color: var(--on-cloth); }
.cover__eg span::before { content: "\201C"; }
.cover__eg span::after { content: "\201D"; }
.cover__go { margin-top: 6px; padding: 12px 22px; border: 1px solid var(--gilt-l); font: 600 var(--fs-xs)/1 var(--f-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gilt-l); }
.cover:focus-visible { outline: none; }
.cover:focus-visible .cover__frame { outline: 2px solid var(--cloth); outline-offset: 4px; }
@media (max-width: 799px) { .finders__grid { grid-template-columns: minmax(0, 1fr); } }

/* Gift box band and the crate (also on the gift box page). */
.giftband { position: relative; margin-block: var(--space); padding-block: clamp(40px, 5vw, 80px); background: var(--cloth); color: var(--on-cloth); }
.giftband::before, .giftband::after { content: ""; position: absolute; left: 0; right: 0; height: 7px; border-block: 1px solid var(--gilt); }
.giftband::before { top: 8px; }
.giftband::after { bottom: 8px; }
.giftband__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 88px); align-items: center; }
.giftband__copy { display: grid; gap: 18px; justify-items: start; }
.giftband__copy .h2 { max-width: 20ch; }
.giftband .voice { color: var(--gilt-l); }
.giftband__copy p { max-width: 50ch; font: 400 var(--fs-md)/1.6 var(--f-serif); color: var(--muted-d); }
.giftband__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
@media (max-width: 799px) { .giftband__grid { grid-template-columns: minmax(0, 1fr); } .giftband__art { order: 2; } }

/* An open box seen from the front: items stand up out of it, the low front panel and ribbon in front of them. */
.crate { --slots: 3; position: relative; width: min(440px, 100%); margin-inline: auto; padding-top: 34%; }
.crate__lid { display: none; position: absolute; left: 4%; right: 4%; top: 12%; height: 14%; background: #DCCCA9; border: 1px solid #C2AD82; transform: perspective(500px) rotateX(-62deg); transform-origin: 50% 100%; }
.crate__box { position: relative; aspect-ratio: 16 / 7; background: #D9C8A4; border: 1px solid #C2AD82; box-shadow: 0 30px 40px -26px rgba(0, 0, 0, .55); }
.crate__box::after { content: ""; position: absolute; z-index: 1; left: -1px; right: -1px; bottom: -1px; height: 62%; background: linear-gradient(180deg, #EDE2CA, #E5D7B9); border: 1px solid #C2AD82; box-shadow: 0 -10px 18px -12px rgba(0, 0, 0, .35); }
.crate__slots { position: absolute; left: 7%; right: 7%; bottom: 46%; display: grid; grid-template-columns: repeat(var(--slots), minmax(0, 1fr)); gap: 3%; align-items: end; }
.crate__slot { position: relative; aspect-ratio: 1; border: 1px solid rgba(122, 90, 30, .28); border-bottom: 0; background: rgba(255, 255, 255, .18); transition: border-color .3s var(--ease); }
.crate__slot.is-on { border-color: transparent; background: none; }
.crate__slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; box-shadow: 0 -4px 14px -6px rgba(0, 0, 0, .35); animation: dropin .6s var(--ease-out); }
@keyframes dropin { from { transform: translateY(-30%); opacity: 0; } }
.crate__ribbon { position: absolute; z-index: 2; left: 50%; bottom: 0; width: 8%; height: 62%; margin-left: -4%; background: var(--cloth-2); pointer-events: none; }
.crate__ribbon::before { content: ""; position: absolute; left: 50%; top: -16px; width: 44px; height: 20px; margin-left: -22px; border: 5px solid var(--cloth-2); border-radius: 50% 50% 4px 4px; border-bottom: 0; }
.giftband .crate__ribbon, .giftband .crate__ribbon::before { background-color: var(--gilt); border-color: var(--gilt); }
.giftband .crate__ribbon::before { background: none; }

/* Seasonal corners. */
.corners__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 32px); margin-top: clamp(24px, 3vw, 40px); }
.corner { position: relative; display: grid; align-content: end; gap: 12px; min-height: clamp(280px, 30vw, 380px); padding: clamp(24px, 3vw, 40px); overflow: hidden; border: 1px solid var(--line); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.corner:hover { transform: translateY(-4px); box-shadow: 0 30px 40px -30px rgba(20, 40, 32, .55); }
.corner--ramadan { background: var(--cloth); color: var(--on-cloth); border-color: var(--cloth); }
.corner--hajj { background: var(--sheet); }
.corner__ar { position: absolute; top: -.12em; right: .1em; font: 700 clamp(6rem, 4rem + 8vw, 12rem)/1 var(--f-ar); color: var(--gilt); opacity: .22; pointer-events: none; }
.corner--ramadan .corner__ar { color: var(--gilt-l); opacity: .3; }
.corner__t { font: 500 var(--fs-h2)/1 var(--f-serif); }
.corner--ramadan .corner__t { color: var(--gilt-l); }
.corner__p { max-width: 42ch; font: 400 1.05rem/1.55 var(--f-serif); color: var(--muted); }
.corner--ramadan .corner__p { color: var(--muted-d); }
.corner .link { justify-self: start; pointer-events: none; }
.corner--ramadan .link { color: var(--gilt-l); text-decoration-color: rgba(226, 194, 122, .5); }
@media (max-width: 799px) { .corners__grid { grid-template-columns: minmax(0, 1fr); } }

/* Hello. */
.hello__grid { display: grid; grid-template-columns: minmax(0, .55fr) minmax(0, 1.45fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.hello__mark { display: grid; justify-items: center; gap: 14px; }
.hello__emblem { width: min(150px, 100%); filter: drop-shadow(0 24px 24px rgba(20, 40, 32, .3)); }
.hello__ar { font: 700 clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem)/1.2 var(--f-ar); color: var(--gilt-ink); }
.hello__copy { display: grid; gap: 20px; justify-items: start; }
.hello__copy .lead { max-width: 56ch; color: var(--muted); }
@media (max-width: 799px) { .hello__grid { grid-template-columns: minmax(0, 1fr); } .hello__mark { justify-items: start; grid-auto-flow: column; align-items: center; justify-content: start; } .hello__emblem { width: 70px; } }

/* ==========================================================================
   Pages
   ========================================================================== */
.page-head { position: relative; padding-block: clamp(28px, 4vw, 60px) clamp(20px, 3vw, 40px); overflow: hidden; }
.page-head .wrap { position: relative; display: grid; gap: 16px; justify-items: start; }
.page-head .h1 { max-width: 20ch; }
.page-head__lead { max-width: 58ch; color: var(--muted); }
.page-head__ar { position: absolute; right: -.05em; top: -.05em; font: 700 clamp(5rem, 3rem + 9vw, 12rem)/1 var(--f-ar); color: var(--gilt); opacity: .14; pointer-events: none; }
.page-head--plain .h1 { font-size: var(--fs-h2); }
.page-hero { padding-top: clamp(28px, 4vw, 56px); }
.page-hero .wrap { display: grid; gap: 16px; justify-items: start; }
.page-hero__mark { width: 32px; color: var(--gilt); }
.page-hero__title { font: 500 var(--fs-h1)/1.04 var(--f-serif); }
.page-hero__lead { max-width: 52ch; font: 400 var(--fs-lead)/1.45 var(--f-serif); color: var(--muted); }

/* Accordion */
.acc { border-top: 1px solid var(--line); }
.acc:last-child { border-bottom: 1px solid var(--line); }
.acc summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 64px; padding: 14px 0; cursor: pointer; list-style: none; font: 500 1.28rem/1.25 var(--f-serif); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: var(--cloth-2); }
.acc summary .ic { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); color: var(--gilt-ink); }
.acc[open] summary .ic { transform: rotate(45deg); }
.acc__body { padding: 0 0 24px; color: var(--muted); }
.faq { margin-bottom: 28px; }
.help__more { display: flex; flex-wrap: wrap; gap: 4px 24px; }

/* About */
.about__grid { display: grid !important; grid-template-columns: minmax(0, 1.5fr) minmax(0, .5fr); gap: 32px; align-items: center; }
.about__grid > div { display: grid; gap: 20px; }
.about__emblem { width: min(170px, 100%); justify-self: center; filter: drop-shadow(0 24px 24px rgba(20, 40, 32, .3)); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-block: 36px; border-block: 1px solid var(--line); }
.facts li { display: grid; gap: 4px; padding: 22px 12px; text-align: center; }
.facts li + li { border-left: 1px solid var(--line); }
.facts strong { font: 500 2.6rem/1 var(--f-serif); color: var(--cloth); }
.facts span { font-size: var(--fs-sm); color: var(--muted); }
.about__acts { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 699px) { .about__grid { grid-template-columns: minmax(0, 1fr); } .about__emblem { width: 80px; justify-self: start; order: -1; } }

/* Contact */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.contact__ways { display: grid; gap: 10px; }
.way { display: flex; align-items: flex-start; gap: 16px; padding: 18px 20px; background: var(--sheet); border: 1px solid var(--line); transition: border-color .2s var(--ease); }
a.way:hover { border-color: var(--cloth); }
.way .ic { width: 26px; height: 26px; color: var(--gilt-ink); flex: none; margin-top: 2px; }
.way > span { display: grid; gap: 2px; min-width: 0; }
.way strong { display: block; font: 500 1.2rem/1.25 var(--f-serif); overflow-wrap: anywhere; }
.way span span { font-size: var(--fs-sm); color: var(--muted); }
.way__go { margin-top: 4px; font-weight: 600; color: var(--cloth) !important; text-decoration: underline; text-underline-offset: 3px; }
.way--hours.is-open strong { color: var(--ok); }
.contact__form { display: grid; gap: 18px; padding: clamp(20px, 3vw, 36px); background: var(--sheet); border: 1px solid var(--line); }
@media (max-width: 899px) { .contact__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- The finders ---------- */
.finder { padding-block: clamp(24px, 3vw, 48px) var(--space); }
.finder__wrap { max-width: 1100px; }
.finder__head { display: grid; gap: 16px; justify-items: start; margin-bottom: 28px; }
.finder__star { width: 36px; color: var(--gilt); }
.finder__head .h1 { font-size: var(--fs-h2); max-width: 22ch; }
.finder__progress { width: 100%; height: 5px; border-block: 1px solid var(--line-2); overflow: hidden; }
.finder__progress span { display: block; height: 100%; background: var(--gilt); transform-origin: left; transform: scaleX(.25); transition: transform .5s var(--ease-out); }
.finder__count { font: 600 var(--fs-xs)/1 var(--f-sans); letter-spacing: .16em; color: var(--muted); }
.finder__step { display: grid; gap: 22px; }
.js .finder__step.is-on { animation: stepin .5s var(--ease-out); }
@keyframes stepin { from { opacity: 0; transform: translateX(16px); } }
.finder__q { padding: 0; font: 500 var(--fs-h3)/1.2 var(--f-serif); }
.finder__hint { display: block; margin-top: 6px; font: 400 var(--fs-sm)/1.4 var(--f-sans); color: var(--muted); }
.finder__opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 12px; }
.finder__opts--family { grid-template-columns: repeat(auto-fill, minmax(min(160px, 100%), 1fr)); }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice__box { display: grid; align-content: center; gap: 6px; height: 100%; min-height: 84px; padding: 18px 20px; background: var(--sheet); border: 1px solid var(--line-2); transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease); }
.finder__opts--family .choice__box { justify-items: center; text-align: center; padding-top: 22px; }
.choice__box .fam-ic { width: 42px; height: 42px; color: var(--gilt-ink); }
.choice__t { font: 500 1.18rem/1.25 var(--f-serif); }
.choice__h { font-size: var(--fs-sm); color: var(--muted); }
.choice:hover .choice__box { border-color: var(--cloth); }
.choice input:checked + .choice__box { border-color: var(--cloth); background: var(--cloth); color: var(--on-cloth); box-shadow: inset 0 0 0 5px var(--cloth), inset 0 0 0 6px var(--gilt-l); }
.choice input:checked + .choice__box .choice__h { color: var(--muted-d); }
.choice input:checked + .choice__box .fam-ic { color: var(--gilt-l); }
.choice input:focus-visible + .choice__box { outline: 2px solid var(--cloth); outline-offset: 3px; }
.finder__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 6px; }
.finder__results { display: grid; gap: 18px; }
.finder__results:focus { outline: none; }
.finder__portrait { font: italic 400 var(--fs-lead)/1.4 var(--f-serif); color: var(--gilt-ink); }
.finder__portrait:empty { display: none; }
.matches { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 24px 20px; }
.match { display: grid; gap: 12px; align-content: start; }
.match a { display: grid; gap: 4px; }
.match__plate { position: relative; display: block; aspect-ratio: 1; background: var(--paper); border: 1px solid var(--line); overflow: hidden; margin-bottom: 8px; }
.match__plate img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.match a:hover .match__plate img { transform: scale(1.03); }
.match__pct { justify-self: start; padding: 4px 10px; background: var(--cloth); color: var(--on-cloth); font: 600 var(--fs-xs)/1.2 var(--f-sans); letter-spacing: .06em; }
.match__pct span { font-weight: 400; }
.match__shelf { font: 600 11px/1.2 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gilt-ink); }
.match__name { font: 500 1.25rem/1.2 var(--f-serif); }
.match__meta { font-size: var(--fs-sm); color: var(--muted); }
.match__why { font: italic 400 var(--fs-sm)/1.35 var(--f-serif); color: var(--cloth); }
.match__price { font-weight: 600; }
.finder__after { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 12px; }

/* ---------- Gift box builder ---------- */
.gbox { padding-block: clamp(20px, 3vw, 40px) var(--space); }
.gbox__head { display: grid; gap: 14px; justify-items: start; margin-bottom: clamp(24px, 3vw, 40px); }
.gbox__head .h1 { font-size: var(--fs-h2); max-width: 22ch; }
.gbox__head .lead { max-width: 60ch; color: var(--muted); }
.gbox__grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.gbox__build { display: grid; gap: clamp(26px, 3vw, 40px); min-width: 0; }
.gbox__step { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 14px; font: 500 var(--fs-h4)/1.2 var(--f-serif); }
.gbox__step span { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--gilt); font: 600 var(--fs-sm)/1 var(--f-sans); color: var(--gilt-ink); }
.gbox__sizes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gbox__sizes legend { grid-column: 1 / -1; }
.tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line-2); margin-bottom: 14px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs__tab { position: relative; flex: none; min-height: 46px; padding: 0 16px; font: 600 var(--fs-xs)/1 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tabs__tab::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--cloth); transform: scaleX(0); transition: transform .3s var(--ease); }
.tabs__tab[aria-selected="true"] { color: var(--cloth); }
.tabs__tab[aria-selected="true"]::after { transform: none; }
.gpick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gpick__item { display: grid; grid-template-columns: 64px minmax(0, 1fr) 44px; gap: 12px; align-items: center; padding: 10px; background: var(--sheet); border: 1px solid var(--line); transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.gpick__item.is-in { border-color: var(--cloth); box-shadow: inset 3px 0 0 var(--gilt); }
.gpick__img { display: grid; place-items: center; width: 64px; height: 64px; background: var(--paper); overflow: hidden; }
.gpick__img img { width: 100%; height: 100%; object-fit: cover; }
.gpick__img .star { width: 40%; color: var(--line-2); }
.gpick__body { display: grid; gap: 3px; min-width: 0; }
.gpick__name { font: 500 1.02rem/1.2 var(--f-serif); }
.gpick__line { font-size: var(--fs-xs); color: var(--muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.gpick__price { font-size: var(--fs-sm); font-weight: 600; }
.gpick__add { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--cloth); color: var(--cloth); transition: background-color .2s var(--ease), color .2s var(--ease); }
.gpick__add .ic { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.gpick__add:hover { background: rgba(31, 61, 51, .08); }
.gpick__add[aria-pressed="true"] { background: var(--cloth); color: var(--on-cloth); }
.gpick__add[aria-pressed="true"] .ic { transform: rotate(45deg); }
.gbox__note { display: grid; gap: 14px; }
.gbox__side { min-width: 0; }
.gbox__stick { position: sticky; top: calc(var(--top) + var(--hdr) + 20px); display: grid; gap: 14px; padding: clamp(18px, 2.5vw, 28px); background: var(--sheet); border: 1px solid var(--line); }
.gbox__count { font: 600 var(--fs-xs)/1 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gilt-ink); text-align: center; }
.gbox__list { display: grid; }
.gbox__list li { display: grid; grid-template-columns: minmax(0, 1fr) auto 32px; align-items: center; gap: 10px; min-height: 44px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.gbox__list li.muted { grid-template-columns: minmax(0, 1fr) auto 32px; }
.gbox__list .link { min-height: 32px; font-size: 1.2rem; justify-content: center; text-decoration: none; }
.gbox__total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; }
.gbox__total strong { font: 500 1.5rem/1 var(--f-serif); }
.gbox__msg { padding: 10px 14px; background: #F4DDD5; color: var(--error); font-size: var(--fs-sm); }
@media (max-width: 999px) { .gbox__grid { grid-template-columns: minmax(0, 1fr); } .gbox__side { order: -1; } .gbox__stick { position: static; } .gbox__stick .crate { width: min(300px, 100%); } }
@media (max-width: 599px) { .gpick { grid-template-columns: minmax(0, 1fr); } .gbox__sizes { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Seasonal corners ---------- */
.season { position: relative; padding-block: clamp(24px, 3.5vw, 56px) clamp(32px, 4vw, 64px); overflow: hidden; }
.season__ar { position: absolute; right: -.08em; top: .1em; font: 700 clamp(5rem, 3rem + 11vw, 15rem)/1 var(--f-ar); color: var(--gilt); opacity: .13; pointer-events: none; white-space: nowrap; }
.season__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.season__copy { display: grid; gap: 18px; justify-items: start; }
.season__copy .h1 { max-width: 16ch; }
.season__copy .lead { max-width: 56ch; color: var(--muted); }
@media (max-width: 899px) { .season__grid { grid-template-columns: minmax(0, 1fr); } }
.times { position: relative; padding: clamp(22px, 3vw, 36px); background: var(--cloth); color: var(--on-cloth); }
.times::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(226, 194, 122, .55); pointer-events: none; }
.times__k { font: 600 var(--fs-xs)/1.4 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gilt-l); }
.times__k span { display: block; margin-top: 4px; font: italic 400 1rem/1.2 var(--f-serif); letter-spacing: 0; text-transform: none; color: var(--muted-d); }
.times__big { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-block: 18px 16px; }
.times__big > div { display: grid; gap: 4px; }
.times__l { font: 500 var(--fs-sm)/1.2 var(--f-sans); color: var(--muted-d); }
.times__big strong { font: 500 clamp(2.4rem, 1.8rem + 2vw, 3.6rem)/1 var(--f-serif); font-variant-numeric: lining-nums tabular-nums; color: var(--gilt-l); }
.times__all { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-d); }
.times__all > div { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--line-d); }
.times__all dt { font-size: var(--fs-xs); color: var(--muted-d); }
.times__all dd { font: 500 1.1rem/1.2 var(--f-serif); font-variant-numeric: tabular-nums; }
.times__fine { margin-top: 14px; font-size: var(--fs-xs); line-height: 1.5; color: var(--muted-d); }
.checklist__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 24px; margin-bottom: 20px; }
.checklist__head .h2 { max-width: 24ch; }
.checklist__n { font: 600 var(--fs-xs)/1 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gilt-ink); }
.checklist__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(20px, 4vw, 56px); }
.checklist .check { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.checklist .check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.checklist .check label { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 2px 14px; cursor: pointer; min-height: 44px; align-content: center; }
.checklist .check .check__box { grid-row: span 2; margin-top: 2px; display: grid; place-items: center; }
.checklist .check .check__box::after { content: none; }
.checklist .check .check__box .ic { width: 14px; height: 14px; color: var(--on-cloth); opacity: 0; transform: scale(.4); transition: opacity .2s var(--ease), transform .3s var(--ease-out); }
.checklist .check input:checked + label .check__box { background: var(--cloth); border-color: var(--cloth); }
.checklist .check input:checked + label .check__box .ic { opacity: 1; transform: none; }
.checklist .check input:focus-visible + label .check__box { outline: 2px solid var(--cloth); outline-offset: 3px; }
.check__t { font: 500 1.15rem/1.3 var(--f-serif); }
.checklist .check.is-done .check__t { text-decoration: line-through; text-decoration-color: var(--gilt); color: var(--muted); }
.check__note { font-size: var(--fs-sm); color: var(--muted); }
.check__shop { display: flex; align-items: center; gap: 10px; max-width: 250px; padding: 6px 10px 6px 6px; border: 1px solid var(--line); background: var(--sheet); font: 500 var(--fs-sm)/1.25 var(--f-serif); transition: border-color .2s var(--ease); }
.check__shop:hover { border-color: var(--cloth); }
.check__shop img { width: 46px; height: 46px; object-fit: cover; flex: none; }
.check__shop > span { display: grid; gap: 1px; min-width: 0; }
.check__in { font: 600 10px/1.2 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gilt-ink); }
@media (max-width: 899px) { .checklist__list { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 599px) { .check { grid-template-columns: minmax(0, 1fr); } .check__shop { margin-left: 40px; max-width: none; } }

/* ---------- Ask Darun Nashr ---------- */
.ask-fab {
	position: fixed; z-index: 95; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 10px;
	height: 54px; padding: 0 20px 0 12px; border-radius: var(--radius); background: var(--cloth); color: var(--on-cloth);
	font: 600 var(--fs-xs)/1 var(--f-sans); letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 16px 34px -14px rgba(20, 40, 32, .8), inset 0 -2px 0 var(--gilt);
	transition: transform .4s var(--ease-out), background-color .25s var(--ease), bottom .3s var(--ease), opacity .3s var(--ease);
}
.ask-fab:hover { background: var(--cloth-2); transform: translateY(-2px); }
.ask-fab .emblem { width: 22px; --cloth: #2B5244; }
.ask-fab .ic { width: 20px; height: 20px; }
.has-buybar .ask-fab { bottom: calc(86px + env(safe-area-inset-bottom)); }
.has-ask .ask-fab { opacity: 0; pointer-events: none; }
@media (max-width: 599px) {
	.ask-fab { width: 52px; height: 52px; padding: 0; justify-content: center; right: 14px; }
	.ask-fab .emblem { width: 24px; }
	.ask-fab__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.bar__msg { font-size: 11px; letter-spacing: .02em; }
}
.ask {
	position: fixed; z-index: 150; right: 20px; bottom: 20px; width: min(400px, calc(100% - 24px)); height: min(640px, calc(100% - var(--top) - 40px));
	display: flex; flex-direction: column; overflow: hidden; background: var(--paper);
	box-shadow: 0 40px 80px -24px rgba(20, 40, 32, .6), 0 0 0 1px var(--line);
	opacity: 0; transform: translateY(16px) scale(.98); transform-origin: bottom right; transition: opacity .3s var(--ease), transform .4s var(--ease-out);
}
.ask.is-open { opacity: 1; transform: none; }
@media (max-width: 599px) { .ask { right: 0; bottom: 0; width: 100%; height: calc(100% - var(--top)); } }
.ask__head { display: flex; align-items: center; gap: 10px; padding: 10px 8px 10px 16px; background: var(--cloth); color: var(--on-cloth); border-bottom: 2px solid var(--gilt); }
.ask__head > div { flex: 1; min-width: 0; }
.ask__mark { width: 24px; flex: none; --cloth: #2B5244; }
.ask__title { font: 500 1.3rem/1.1 var(--f-serif); color: var(--gilt-l); }
.ask__sub { font-size: var(--fs-xs); color: var(--muted-d); }
.ask__head .ibtn:hover { color: var(--gilt-l); background: rgba(255, 255, 255, .06); }
.ask__log { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 92%; font-size: var(--fs-sm); line-height: 1.55; }
.msg--me { align-self: flex-end; padding: 10px 14px; background: var(--cloth); color: var(--on-cloth); }
.msg--bot { align-self: flex-start; display: grid; gap: 10px; width: 100%; }
.msg__text { padding: 12px 14px; background: var(--sheet); border: 1px solid var(--line); border-left: 2px solid var(--gilt); }
.msg__text p + p { margin-top: 8px; }
.msg__text a { color: var(--cloth); text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.msg__more { min-height: 36px; justify-self: start; }
.msg__wa { justify-self: start; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; background: #DCEBDD; color: #1C4527; font-weight: 600; font-size: var(--fs-xs); }
.msg--typing { flex-direction: row; display: flex; gap: 5px; width: auto; padding: 14px; background: var(--sheet); border: 1px solid var(--line); }
.msg--typing > span:not(.sr) { width: 7px; height: 7px; background: var(--gilt); transform: rotate(45deg); animation: blink 1.2s infinite; }
.msg--typing > span:nth-child(2) { animation-delay: .2s; }
.msg--typing > span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: .25; } }
.ask-cards { display: grid; gap: 8px; }
.ask-card { position: relative; }
.ask-card__a { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px 56px 8px 8px; background: var(--sheet); border: 1px solid var(--line); transition: border-color .2s var(--ease); }
.ask-card__a:hover { border-color: var(--cloth); }
.ask-card__img { display: block; width: 58px; height: 58px; background: var(--paper); overflow: hidden; }
.ask-card__img img { width: 100%; height: 100%; object-fit: cover; }
.ask-card__body { display: grid; gap: 1px; min-width: 0; }
.ask-card__shelf { font: 600 11px/1.2 var(--f-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gilt-ink); }
.ask-card__name { font: 500 1.02rem/1.2 var(--f-serif); }
.ask-card__meta { font-size: var(--fs-xs); color: var(--muted); }
.ask-card__price { font-size: var(--fs-xs); font-weight: 600; }
.ask-card__why { font: italic 400 var(--fs-xs)/1.3 var(--f-serif); color: var(--cloth); }
.ask-card__add { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; background: var(--cloth); color: var(--on-cloth); font-size: 22px; line-height: 1; }
.ask-card__add:hover { background: var(--cloth-2); }
.ask-card__add.is-busy { opacity: .5; }
.ask__chips { display: flex; gap: 6px; padding: 4px 16px 10px; overflow-x: auto; scrollbar-width: none; }
.ask__chips:empty { display: none; }
.ask__chips button { flex: none; min-height: 40px; padding: 0 14px; border: 1px solid var(--cloth); color: var(--cloth); font-size: var(--fs-sm); background: var(--sheet); white-space: nowrap; }
.ask__chips button:hover { background: var(--cloth); color: var(--on-cloth); }
.ask__form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--sheet); }
.ask__form input { flex: 1; min-width: 0; min-height: 46px; padding: 0 14px; border: 1px solid var(--line-2); background: var(--paper); }
.ask__form input:focus { border-color: var(--cloth); outline: none; }
.ask__send { display: grid; place-items: center; width: 46px; height: 46px; background: var(--cloth); color: var(--on-cloth); flex: none; }
.ask__send .ic { width: 20px; height: 20px; }
.ask__wa { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 12px env(safe-area-inset-bottom); font-size: var(--fs-xs); font-weight: 600; color: var(--cloth); background: var(--sheet); }
.ask__wa .ic { width: 16px; height: 16px; }

/* ---------- Dialog (shared) ---------- */
.modal { width: min(560px, calc(100% - 32px)); max-height: calc(100% - 48px); padding: 0; border: 0; background: var(--paper); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(20, 40, 32, .6); }
.modal::backdrop { background: rgba(20, 32, 26, .55); }
@media (max-width: 599px) { .modal { width: 100%; max-width: none; height: 100%; max-height: none; } }

/* ---------- 404 ---------- */
.lost { display: grid; place-items: center; min-height: 70vh; text-align: center; }
.lost__inner { display: grid; justify-items: center; gap: 18px; padding-block: 48px; }
.lost__mark { width: 70px; color: var(--gilt); }
.lost__code { font: 600 var(--fs-sm)/1 var(--f-sans); letter-spacing: .3em; color: var(--gilt-ink); }
.lost__title { max-width: 18ch; font: 500 var(--fs-h2)/1.1 var(--f-serif); }
.lost__title .voice { display: block; }
.lost__search { display: flex; width: min(520px, 100%); padding: 4px 4px 4px 18px; border: 1px solid var(--line-2); background: var(--sheet); }
.lost__search input { flex: 1; min-width: 0; border: 0; background: transparent; min-height: 46px; }
.lost__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Journal */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.post-card__link { display: grid; gap: 10px; }
.post-card__img { display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__img .star { width: 20%; color: var(--line-2); }
.post-card__meta { font-size: var(--fs-xs); color: var(--muted); }
.post-card__title { font: 500 1.45rem/1.2 var(--f-serif); }
.post-card__excerpt { color: var(--muted); font-size: var(--fs-sm); }
@media (max-width: 899px) { .posts { grid-template-columns: minmax(0, 1fr); } }
.story__head { padding-top: clamp(28px, 4vw, 56px); }
.story__head .wrap { display: grid; gap: 14px; }
.story__meta { font-size: var(--fs-sm); color: var(--muted); }
.story__title { font: 500 var(--fs-h1)/1.05 var(--f-serif); }
.story__img { margin-top: 32px; }
.story__img img { width: 100%; }
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 40px; }
.pager .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.pager .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border: 1px solid transparent; font-weight: 500; }
.pager .page-numbers.current { background: var(--cloth); color: var(--on-cloth); }
.pager a.page-numbers:hover { border-color: var(--line-2); }
.pager .ic { width: 18px; height: 18px; }

/* Decorative Arabic words are printed from data-ar so they stay purely ornamental. */
.corner__ar::before, .shop-head__ar::before, .season__ar::before, .page-head__ar::before { content: attr(data-ar); }
