/* Callia Couture — neat, minimal base + home. WooCommerce components live in woo.css. */

:root {
	--plum: #3b1154;
	--plum-2: #5b2b78;
	--ink: #26122f;
	--ivory: #faf6f1;
	--cream: #f3ece4;
	--blush: #ecd6d8;
	--blush-2: #f6ecec;
	--lavender: #e9dfe9;
	--gold: #b8996a;
	--line: rgba(59, 17, 84, .12);
	--f-display: 'HT Estabraq Sans', 'Zain', system-ui, sans-serif;
	--f-body: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--pad: clamp(20px, 5vw, 64px);
	--header-h: clamp(88px, 4vw + 50px, 108px); /* 88px phones → 108px wide screens; the logo follows */
	--ease: cubic-bezier(.2, .8, .2, 1);
	--radius: 16px;
}
:root:lang(ar) {
	--f-body: 'Zain', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
/* `hidden` must win over component display rules (e.g. .menu-panel { display: flex }) — otherwise a
   closed panel stays on the page as an invisible layer that swallows every tap on phones. */
[hidden] { display: none !important; }
body {
	margin: 0;
	background: var(--ivory);
	color: var(--ink);
	font: 400 16px/1.65 var(--f-body);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; font-synthesis: none; line-height: 1.2; margin: 0; color: var(--plum); }
p { margin: 0 0 1em; }
::selection { background: var(--plum); color: var(--ivory); }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; border-radius: 4px; }
:lang(ar) * { letter-spacing: 0 !important; } /* tracking breaks Arabic letter joining */

.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--pad); }
.muted { color: rgba(38, 18, 47, .62); }
.kicker { font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--plum-2); margin-bottom: 14px; }
:lang(ar) .kicker { font-size: 14px; text-transform: none; }
.h2 { font-size: clamp(24px, 2.4vw, 34px); }
.skip { position: fixed; inset-block-start: 10px; inset-inline-start: 10px; z-index: 200; padding: 10px 16px; background: var(--plum); color: var(--ivory); border-radius: 99px; transform: translateY(-200%); }
.skip:focus { transform: none; }
.icon { width: 20px; height: 20px; flex: none; }
[dir="rtl"] .icon--arrow { transform: scaleX(-1); }

/* --- Buttons & links ------------------------------------------------------------ */
.btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 14px 24px; border-radius: 999px;
	background: var(--plum); color: var(--ivory);
	font-size: 14px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
	transition: background .25s;
}
:lang(ar) .btn { font-size: 15px; text-transform: none; }
.btn .icon { width: 16px; height: 16px; transition: translate .3s var(--ease); }
.btn:hover { background: var(--plum-2); }
.btn:hover .icon { translate: calc(3px * var(--dir, 1)) 0; }
[dir="rtl"] { --dir: -1; }
.btn--ghost { background: transparent; color: var(--plum); box-shadow: inset 0 0 0 1px var(--plum); }
.btn--ghost:hover { background: var(--plum); color: var(--ivory); }
.btn--light { background: var(--ivory); color: var(--plum); }
.btn--big { padding: 18px 32px; font-size: 15px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--plum); font-weight: 500; font-size: 15px; border-bottom: 1px solid transparent; padding-bottom: 2px; transition: border-color .2s; }
.link-arrow:hover { border-color: currentColor; }
.link-arrow .icon { width: 16px; height: 16px; }

/* --- Header ------------------------------------------------------------------------ */
.site-header { position: sticky; top: 0; z-index: 90; height: var(--header-h); background: rgba(250, 246, 241, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.site-header__inner { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding-inline: var(--pad); max-width: 1440px; margin-inline: auto; }
.brand { color: var(--plum); justify-self: center; }
.brand__logo { height: calc(var(--header-h) - 28px); width: auto; max-width: 100%; } /* 60px → 80px */

/* Logged in, WordPress's admin bar is fixed at the top (32px; 46px up to 782px wide, where it
   scrolls away below 601px) — stick the header under it instead of behind it. */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
html:has(body.admin-bar) { scroll-padding-top: calc(var(--header-h) + 32px); }
/* min-width 0: a long menu can't push the logo off centre; main.js then switches to the menu
   button (html.nav-collapsed) whenever the links don't fit on one line. */
.nav { min-width: 0; }
.nav li { position: relative; }

/* Shop ▾ dropdown (categories). Opens on hover and on keyboard focus. */
.nav .icon--chevron { display: inline-block; width: 12px; height: 12px; margin-inline-start: 5px; vertical-align: -1px; transition: transform .25s var(--ease); }
.nav .has-sub:hover .icon--chevron, .nav .has-sub:focus-within .icon--chevron { transform: rotate(180deg); }
.nav__sub {
	position: absolute; inset-block-start: 100%; inset-inline-start: -18px; z-index: 5;
	display: none; min-width: 220px; margin: 0; padding: 10px 0; list-style: none;
	background: #fff; border-radius: 14px; box-shadow: 0 14px 34px rgba(59, 17, 84, .12), 0 0 0 1px var(--line);
}
.nav .has-sub:hover > .nav__sub, .nav .has-sub:focus-within > .nav__sub { display: block; animation: sub-in .2s var(--ease); }
@keyframes sub-in { from { opacity: 0; transform: translateY(-4px); } }
.nav__sub a { padding: 10px 18px; font-size: 12.5px; letter-spacing: .06em; }
.nav__sub a::after { display: none; }
.nav__sub a:hover, .nav__sub a[aria-current] { background: rgba(59, 17, 84, .05); }
.nav .is-ancestor > a::after { transform: scaleX(1); }
.nav > ul { display: flex; gap: clamp(12px, 1.4vw, 24px); list-style: none; margin: 0; padding: 0; }
.nav a { position: relative; display: block; white-space: nowrap; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--plum); padding-block: 6px; }
:lang(ar) .nav a { font-size: 15px; text-transform: none; }
.nav a::after { content: ''; position: absolute; inset: auto 0 0; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.tools { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.tool { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--plum); transition: background .2s; }
.tool:hover { background: rgba(59, 17, 84, .06); }
.lang { font-size: 14px; font-weight: 500; color: var(--plum); padding: 6px 12px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line); margin-inline-end: 6px; }
.lang:hover { box-shadow: inset 0 0 0 1px var(--plum); }
.callia-cart-count {
	position: absolute; inset-block-start: 3px; inset-inline-end: 1px;
	min-width: 17px; height: 17px; padding: 0 4px; border-radius: 99px;
	background: var(--plum); color: var(--ivory); font-size: 10.5px; line-height: 17px; text-align: center;
}
.callia-cart-count[data-count="0"] { display: none; }
.callia-cart-count.is-bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.4); } }
.menu-toggle { display: none; align-items: center; gap: 10px; color: var(--plum); }
.menu-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } /* keeps the button's accessible name */

.menu-panel {
	position: fixed; inset: var(--header-h) 0 0; z-index: 80; background: var(--ivory);
	display: flex; flex-direction: column; gap: 32px; padding: 32px var(--pad);
	opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease);
	border-top: 1px solid var(--line);
}
.menu-panel.is-open { opacity: 1; transform: none; }
.menu-panel:not(.is-open) { pointer-events: none; } /* never catch taps while closed or closing */
.menu-panel ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.menu-panel li a { display: block; padding: 10px 0; font: 600 26px/1.3 var(--f-display); color: var(--plum); border-bottom: 1px solid var(--line); }
.menu-panel { overflow-y: auto; }
.menu-panel .menu-panel__sub { list-style: none; margin: 0; padding: 4px 0 10px; padding-inline-start: 18px; display: grid; gap: 0; border-bottom: 1px solid var(--line); }
.menu-panel .menu-panel__sub a { padding: 8px 0; font: 500 17px/1.3 var(--f-body); border-bottom: 0; }
.menu-panel li:has(> .menu-panel__sub) > a { border-bottom: 0; }
.menu-panel__foot { display: flex; gap: 20px; align-items: center; font-size: 15px; color: var(--plum); }

/* --- Search (header 🔍 → panel under the header, results as you type) --------------------- */
.search-panel {
	position: fixed; inset-inline: 0; top: var(--header-h); z-index: 85;
	max-height: calc(100vh - var(--header-h)); overflow-y: auto;
	padding: 20px var(--pad) 26px; background: var(--ivory); border-top: 1px solid var(--line);
	box-shadow: 0 18px 40px rgba(59, 17, 84, .10);
	opacity: 0; transform: translateY(-6px); transition: opacity .2s, transform .2s var(--ease);
}
.search-panel.is-open { opacity: 1; transform: none; }
.search-panel:not(.is-open) { pointer-events: none; }
.search-panel__form, .search-panel__results { max-width: 760px; margin-inline: auto; }
.search-panel__form { display: flex; align-items: center; gap: 8px; padding-inline: 18px 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; transition: border-color .2s, box-shadow .2s; }
.search-panel__form:focus-within { border-color: var(--plum); box-shadow: 0 0 0 3px rgba(59, 17, 84, .12); }
.search-panel__form > .icon { flex: none; width: 20px; height: 20px; color: var(--plum); }
.search-panel__form input[type="search"] { flex: 1; min-width: 0; padding: 14px 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: 400 17px/1.4 var(--f-body); }
.search-panel__form input[type="search"]::-webkit-search-cancel-button { display: none; }
.search-panel__results:not(:empty) { margin-top: 10px; }
.search-group { margin: 16px 0 8px; font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #8a7f8f; }
:lang(ar) .search-group { font-size: 13px; letter-spacing: 0; }
.search-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.search-cats a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--plum); font-size: 14px; font-weight: 500; }
.search-cats a:hover, .search-cats a:focus-visible { box-shadow: inset 0 0 0 1px var(--plum); }
.search-cats small { color: #8a7f8f; font-size: 12px; font-weight: 400; }
.search-items { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.search-item { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 8px; border-radius: 14px; color: var(--ink); }
.search-item:hover, .search-item:focus-visible, .search-item.is-active { background: #fff; outline: none; }
.search-item__img { width: 52px; height: 65px; border-radius: 10px; object-fit: cover; background: var(--blush-2, #f3e9ec); }
.search-item__name { display: block; overflow: hidden; color: var(--plum); font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.search-item__meta { display: block; margin-top: 2px; color: #8a7f8f; font-size: 13px; }
.search-item__meta b { color: var(--plum); font-weight: 500; }
.search-item__price { color: var(--plum); font-size: 14px; font-weight: 500; white-space: nowrap; }
.search-item__price del { margin-inline-end: 6px; opacity: .55; }
.search-item__price ins { text-decoration: none; }
.search-item.is-out .search-item__price { opacity: .55; }
.search-all { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--plum); font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.search-empty { margin: 16px 4px 0; color: #8a7f8f; }
.search-panel__results[aria-busy="true"] { opacity: .55; transition: opacity .15s; }

@media (max-width: 999px) {
	.nav { display: none; }
	.menu-toggle { display: inline-flex; justify-self: start; }
	.tools .lang { display: none; }
}
/* Wide screens whose menu doesn't fit (many categories): same menu button + panel as phones. */
.nav-collapsed .nav { display: none; }
.nav-collapsed .menu-toggle { display: inline-flex; justify-self: start; }
@media (min-width: 1000px) { html:not(.nav-collapsed) .menu-panel { display: none !important; } }

/* --- Page heads (inner pages) ---------------------------------------------------- */
.site-main { min-height: 60vh; }
.page-head { padding-block: clamp(36px, 5vw, 64px) clamp(20px, 3vw, 36px); }
.page-head--compact { padding-block-end: 12px; }
.page-head__title { font-size: clamp(28px, 3.4vw, 48px); line-height: 1.2; }
.page-head--compact .page-head__title { font-size: clamp(26px, 3vw, 40px); }
.page-head__intro { max-width: 520px; margin-top: 12px; font-size: 16px; color: rgba(38, 18, 47, .68); }
.prose { max-width: 780px; padding-bottom: 96px; font-size: 17px; }
.prose h2, .prose h3 { margin: 1.6em 0 .6em; }
.prose a { color: var(--plum); text-decoration: underline; text-underline-offset: 3px; }

/* --- Hero ---------------------------------------------------------------------------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; padding-block: clamp(28px, 5vw, 64px) clamp(48px, 6vw, 80px); }
.hero__title { font-size: clamp(38px, 5vw, 72px); line-height: 1.08; margin-bottom: 18px; letter-spacing: -.01em; }
.hero__title span { display: block; color: var(--plum-2); }
:lang(ar) .hero__title { line-height: 1.35; }
.hero__sub { max-width: 440px; font-size: 17px; color: rgba(38, 18, 47, .72); }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 28px; }
.hero__copy > * { animation: fade-up .7s var(--ease) both; }
.hero__copy > :nth-child(2) { animation-delay: .06s; }
.hero__copy > :nth-child(3) { animation-delay: .12s; }
.hero__copy > :nth-child(4) { animation-delay: .18s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } }

.hero__media { position: relative; justify-self: end; width: min(100%, 500px); aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: var(--blush-2); }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s .9s; }
.hero__slide.is-on { opacity: 1; visibility: visible; transition: opacity .9s ease; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__caption { position: absolute; inset-inline: 14px; inset-block-end: 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 16px; border-radius: 12px; background: rgba(250, 246, 241, .94); color: var(--ink); font-size: 14px; }
.hero__caption b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero__caption span { flex: none; color: var(--plum); font-weight: 500; }
.hero__dots { position: absolute; inset-block-start: 14px; inset-inline-end: 14px; z-index: 2; display: flex; gap: 6px; }
.hero__dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(250, 246, 241, .7); box-shadow: 0 0 0 1px rgba(59, 17, 84, .2); transition: background .2s, transform .2s; }
.hero__dot[aria-current="true"] { background: var(--plum); transform: scale(1.15); }
.hero__empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--plum); }
.hero__mark { width: 50%; opacity: .3; }

@media (max-width: 899px) {
	.hero { grid-template-columns: 1fr; }
	.hero__media { order: -1; justify-self: stretch; width: 100%; aspect-ratio: 4 / 4.4; }
}

/* --- Sections ---------------------------------------------------------------------- */
.section { padding-block: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
.section__note { margin: 8px 0 0; max-width: 520px; }

/* --- Product card ------------------------------------------------------------------ */
.card { position: relative; }
.card__link { display: block; }
.card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--blush-2); }
.card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card__link:hover .card__img { transform: scale(1.03); }
.card__placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; color: var(--plum); background: var(--blush-2); }
.card__mark { width: 44%; opacity: .28; }
.card__placeholder span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .55; }
.card__badge { position: absolute; inset-block-start: 12px; inset-inline-start: 12px; padding: 4px 10px; border-radius: 99px; background: var(--ivory); color: var(--plum); font-size: 12px; font-weight: 500; }
.card__body { padding-top: 12px; }
.card__title { font: 500 15px/1.45 var(--f-body); color: var(--ink); margin-bottom: 4px; }
.card__link:hover .card__title { color: var(--plum); }
.card__price { margin: 0; font-size: 15px; font-weight: 500; color: var(--plum); }
.card__price del { opacity: .5; margin-inline-end: 6px; }
.card__sizes { margin: 2px 0 0; font-size: 13px; color: rgba(38, 18, 47, .58); }

.home-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 20px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 899px) { .home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; } }

/* --- Shop by age -------------------------------------------------------------------- */
.ages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.age { position: relative; display: grid; gap: 4px; height: 100%; padding: 26px 28px; border-radius: var(--radius); background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s; }
a.age:hover { box-shadow: inset 0 0 0 1px var(--plum); }
.age b { font: 600 22px/1.3 var(--f-display); color: var(--plum); }
.age span { color: rgba(38, 18, 47, .7); }
.age small { margin-top: 10px; font-size: 13px; color: var(--plum-2); }
.age .icon { position: absolute; inset-block-start: 28px; inset-inline-end: 26px; color: var(--plum); }
.age.is-soon { background: transparent; }
.age.is-soon small { color: rgba(38, 18, 47, .5); }
@media (max-width: 799px) { .ages { grid-template-columns: 1fr; } }

/* --- Size guide ---------------------------------------------------------------------- */
.size-guide { display: grid; gap: 18px; margin: 0; }
.size-guide > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; align-items: start; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.size-guide > div:last-child { border-bottom: 0; padding-bottom: 0; }
.size-guide dt { padding-top: 7px; font-weight: 500; color: var(--plum); }
.size-guide dd { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips li { padding: 6px 14px; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; }
@media (max-width: 599px) { .size-guide > div { grid-template-columns: 1fr; gap: 8px; } }

/* --- Services ------------------------------------------------------------------------ */
.services { padding-block: 8px 72px; }
.services ul { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; border-block: 1px solid var(--line); }
.services li { display: flex; align-items: center; gap: 12px; padding: 22px 18px; color: var(--plum); font-size: 15px; }
.services li + li { border-inline-start: 1px solid var(--line); }
.services .icon { width: 24px; height: 24px; }
@media (max-width: 899px) {
	.services ul { grid-template-columns: 1fr 1fr; }
	.services li:nth-child(3) { border-inline-start: 0; }
	.services li:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

/* --- Footer -------------------------------------------------------------------------- */
.site-footer { background: var(--plum); color: var(--ivory); }
.site-footer__top { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; padding-block: 64px 36px; }
.site-footer__line { font: 600 clamp(22px, 2.2vw, 30px)/1.35 var(--f-display); max-width: 16ch; margin: 0; }
.site-footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.site-footer h2 { font: 500 12px var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--blush); margin-bottom: 16px; }
:lang(ar) .site-footer h2 { font-size: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { opacity: .8; transition: opacity .2s; }
.site-footer a:hover { opacity: 1; }
.site-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__contact .icon { width: 17px; height: 17px; margin-top: 3px; opacity: .7; }
.site-footer .muted { color: rgba(250, 246, 241, .6); }
.site-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 22px; border-top: 1px solid rgba(250, 246, 241, .14); font-size: 13px; }
.site-footer__bottom .lang { color: var(--ivory); box-shadow: inset 0 0 0 1px rgba(250, 246, 241, .3); }
@media (max-width: 899px) {
	.site-footer__top { grid-template-columns: 1fr; }
	.site-footer__cols { grid-template-columns: 1fr 1fr; }
}

/* --- Contact page ---------------------------------------------------------------------- */
.prose:has(.contact) { max-width: none; }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact__intro { max-width: 460px; font-size: 17px; color: rgba(38, 18, 47, .72); }
.contact__list { display: grid; margin: 24px 0; border-top: 1px solid var(--line); }
.contact__list > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact__list dt { display: flex; align-items: center; gap: 8px; color: var(--plum); font-weight: 500; }
.contact__list dt .icon { width: 18px; height: 18px; }
.contact__list dd { margin: 0; }
.prose .contact__list a { text-decoration: none; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
/* Buttons inside .prose must beat its plum, underlined link style (plum text on a plum button). */
.prose .contact__actions .btn { color: var(--ivory); text-decoration: none; }
.prose .contact__actions .btn--ghost { color: var(--plum); }
.prose .contact__actions .btn--ghost:hover { color: var(--ivory); }
.contact__map { aspect-ratio: 4 / 3.3; border-radius: var(--radius); overflow: hidden; background: var(--blush-2); box-shadow: inset 0 0 0 1px var(--line); }
.contact__map iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 899px) {
	.contact { grid-template-columns: 1fr; }
	.contact__list > div { grid-template-columns: 1fr; gap: 4px; }
}

/* --- Mini cart drawer -------------------------------------------------------------------- */
html.drawer-open { overflow: hidden; }
.drawer { position: fixed; inset: 0; z-index: 100; background: rgba(38, 18, 47, .32); opacity: 0; transition: opacity .3s; }
.drawer.is-open { opacity: 1; }
.drawer__panel { position: absolute; inset-block: 0; inset-inline-end: 0; display: flex; flex-direction: column; width: min(420px, 100%); background: var(--ivory); box-shadow: 0 0 60px -24px rgba(38, 18, 47, .55); transform: translateX(100%); transition: transform .35s var(--ease); }
[dir="rtl"] .drawer__panel { transform: translateX(-100%); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 22px; }
.drawer__close { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--plum); font-size: 26px; line-height: 1; }
.drawer__close:hover { background: rgba(59, 17, 84, .06); }
.drawer .widget_shopping_cart_content { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.woocommerce-mini-cart { flex: 1; overflow-y: auto; list-style: none; margin: 0; padding: 4px 24px; }
.woocommerce-mini-cart-item { position: relative; min-height: 104px; padding: 14px 0; padding-inline: 78px 34px; border-bottom: 1px solid var(--line); font-size: 14px; }
.woocommerce-mini-cart-item img { position: absolute; inset-block-start: 14px; inset-inline-start: 0; width: 64px; height: 80px; object-fit: cover; border-radius: 10px; background: var(--blush-2); }
.woocommerce-mini-cart-item > a:not(.remove) { display: block; font-weight: 500; line-height: 1.4; color: var(--ink); }
.woocommerce-mini-cart-item .remove { position: absolute; inset-block-start: 12px; inset-inline-end: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: rgba(38, 18, 47, .5); font-size: 20px; }
.woocommerce-mini-cart-item .remove:hover { background: #fbeceb; color: #b3261e; }
.woocommerce-mini-cart-item .variation { display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0 0; font-size: 13px; color: rgba(38, 18, 47, .6); }
.woocommerce-mini-cart-item .variation :is(dt, dd, p) { margin: 0; }
.woocommerce-mini-cart-item .quantity { display: block; margin-top: 4px; color: var(--plum); }
.woocommerce-mini-cart__total { display: flex; justify-content: space-between; margin: 0; padding: 18px 24px; border-top: 1px solid var(--line); font-size: 16px; }
.woocommerce-mini-cart__total strong { font-weight: 500; }
.woocommerce-mini-cart__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 0 24px 24px; }
.woocommerce-mini-cart__buttons .button { display: flex; justify-content: center; align-items: center; padding: 14px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--plum); color: var(--plum); font-size: 14px; font-weight: 500; text-align: center; }
.woocommerce-mini-cart__buttons .checkout { background: var(--plum); color: var(--ivory); }
.woocommerce-mini-cart__empty-message { margin: 0; padding: 48px 24px; text-align: center; color: rgba(38, 18, 47, .6); }
.single_add_to_cart_button.loading { opacity: .6; pointer-events: none; }

/* --- 404 ------------------------------------------------------------------------------ */
.not-found { min-height: 70vh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 18px; padding-block: 60px 90px; }
.not-found__mark { width: 150px; color: var(--plum); opacity: .25; }
.not-found__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* --- Reduced motion -------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}
