/* ==========================================================================
   Majesty Beauty – main stylesheet (RTL)
   Clean store layout (pharmacy-style) in the Majesty brand colours:
   black + gold from the logo, nude/cream backgrounds, deep rose for deals.
   ========================================================================== */

:root {
	/* Brand colours from the Majesty Beauty logo (black + gold) and its nude/cream story covers */
	--brand: #141110;      /* logo black - header, headings, primary buttons */
	--brand-d: #000;
	--gold: #c6a06a;       /* logo gold - crown, badges, accents */
	--gold-l: #f3e3c3;     /* champagne */
	--gold-d: #8a6738;     /* dark gold - gold text on white (readable) */
	--brand-50: #fbf3ea;   /* light nude - tiles, hovers */
	--brand-100: #f1dfcc;  /* nude */
	--red: #a8323e;        /* deep rose - sale prices, discount badges */
	--red-d: #8c2533;
	--text: #2a2522;
	--muted: #7a6f68;
	--line: #ece3da;
	--soft: #fbf7f2;       /* cream section background */
	--white: #fff;
	--star: #c6a06a;

	--f-body: "Open Sans", "Heebo", Arial, sans-serif;
	--f-head: var(--f-body);
	--f-latin: "Cormorant Garamond", Georgia, serif; /* logo wordmark only */

	--radius: 10px;
	--radius-sm: 6px;
	--shadow: 0 6px 20px rgba(20, 15, 12, .09);
	--shadow-lg: 0 20px 50px rgba(20, 15, 12, .18);
	--ease: cubic-bezier(.22, .8, .24, 1);
	--container: 1280px;
	--gutter: clamp(16px, 3vw, 32px);
	--fs: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; font-size: var(--fs); -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	direction: rtl;
	font-family: var(--f-body);
	font-weight: 400;
	line-height: 1.6;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 700; line-height: 1.25; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }

.mb-container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.mb-icon { width: 22px; height: 22px; flex: none; }

.mb-skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 999; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 6px; }
.mb-skip:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.mb-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 0 26px;
	border-radius: var(--radius-sm); border: 1px solid transparent;
	font-weight: 700; font-size: .95rem;
	transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
	white-space: nowrap;
}
.mb-btn:active { transform: scale(.98); }
.mb-btn .mb-icon { width: 20px; height: 20px; }
.mb-btn--dark { background: var(--brand); color: #fff; }
.mb-btn--dark:hover { background: var(--brand-d); color: #fff; }
.mb-btn--light { background: #fff; color: var(--brand); }
.mb-btn--light:hover { background: var(--brand-50); color: var(--brand-d); }
.mb-btn--outline { border-color: var(--text); color: var(--text); background: #fff; }
.mb-btn--outline:hover { border-color: var(--brand); background: var(--brand); color: #fff; }
.mb-btn--outline-light { border-color: rgba(255,255,255,.6); color: #fff; }
.mb-btn--outline-light:hover { background: #fff; color: var(--brand); }
.mb-btn--block { width: 100%; }

.mb-iconbtn {
	position: relative; display: inline-grid; place-items: center;
	width: 44px; height: 44px; border-radius: 50%;
	color: var(--brand); transition: background .2s;
}
.mb-iconbtn:hover { background: var(--brand-50); color: var(--brand); }

.mb-kicker { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--red); margin-bottom: 6px; }

.mb-link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .95rem; color: var(--brand); white-space: nowrap; }
.mb-link-arrow .mb-icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.mb-link-arrow:hover { color: var(--brand-d); text-decoration: underline; text-underline-offset: 4px; }
.mb-link-arrow:hover .mb-icon { transform: translateX(-4px); }

/* ---------- Announcement ---------- */
.mb-announce { background: var(--brand); color: var(--gold-l); font-size: .85rem; font-weight: 600; text-align: center; padding: 7px 0; }

/* ---------- Header ---------- */
.mb-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--line), 0 4px 14px rgba(20, 15, 12, .06); }
.admin-bar .mb-header { top: 32px; }
.mb-header__bar {
	display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "logo search end";
	align-items: center; gap: clamp(16px, 3vw, 40px); min-height: 84px;
}
.mb-header__burger { display: none; grid-area: burger; }
.mb-header__logo { grid-area: logo; }
.mb-header__end { grid-area: end; display: flex; align-items: center; gap: 4px; }

/* Search bar */
.mb-hsearch { grid-area: search; position: relative; display: flex; align-items: center; max-width: 720px; width: 100%; justify-self: center; }
.mb-hsearch input[type=search] {
	width: 100%; height: 46px; padding: 0 18px; padding-inline-end: 56px;
	border: 1px solid var(--brand); border-radius: var(--radius-sm); background: #fff;
	font-size: 1rem; color: var(--text); -webkit-appearance: none; appearance: none;
	transition: box-shadow .2s;
}
.mb-hsearch input::placeholder { color: #8a90a0; }
.mb-hsearch input:focus { outline: none; box-shadow: 0 0 0 3px rgba(198, 160, 106, .35); }
.mb-hsearch input::-webkit-search-cancel-button { -webkit-appearance: none; }
.mb-hsearch button { position: absolute; inset-inline-end: 4px; top: 4px; bottom: 4px; width: 46px; border-radius: 4px; background: var(--brand); color: var(--gold); display: grid; place-items: center; transition: background .2s; }
.mb-hsearch button:hover { background: var(--brand-d); }
.mb-hsearch button .mb-icon { width: 20px; height: 20px; }

/* Account */
.mb-account { display: inline-flex; align-items: center; gap: 8px; padding: 4px 8px 4px 4px; border-radius: 999px; color: var(--brand); font-weight: 700; font-size: .9rem; white-space: nowrap; transition: background .2s; }
.mb-account:hover { background: var(--brand-50); color: var(--brand); }
.mb-account__icon { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--brand); display: grid; place-items: center; }
.mb-account__icon .mb-icon { width: 20px; height: 20px; }

.mb-cart-count, .mb-wish-count {
	position: absolute; top: 3px; inset-inline-end: 0;
	min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
	background: var(--gold); color: var(--brand); font-size: .7rem; font-weight: 800; line-height: 19px; text-align: center;
	box-shadow: 0 0 0 2px #fff;
}

/* Logo */
.mb-logo { display: grid; justify-items: center; line-height: 1; color: var(--brand); }
.mb-logo:hover { color: var(--brand); }
.mb-logo__crown svg { width: 32px; height: 14px; color: var(--gold); margin-bottom: 4px; }
.mb-logo__main { font-family: var(--f-latin); font-weight: 600; font-size: 1.75rem; letter-spacing: .28em; margin-inline-end: -.28em; }
.mb-logo__sub { font-size: .58rem; font-weight: 700; letter-spacing: .32em; color: var(--gold-d); margin-top: 5px; margin-inline-end: -.32em; }
.custom-logo { max-height: 60px; width: auto; }

/* Category / main nav row */
.mb-nav { border-top: 1px solid var(--line); background: #fff; }
.mb-nav__row { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); }
.mb-catbtn { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 2px; font-size: 1rem; font-weight: 700; color: var(--brand); flex: none; }
.mb-catbtn .mb-icon { width: 20px; height: 20px; }
.mb-catbtn:hover { color: var(--brand-d); }
.mb-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(14px, 2.4vw, 32px); }
.mb-menu > li { position: relative; }
.mb-menu a { display: block; padding: 12px 0; font-size: .97rem; font-weight: 700; color: var(--brand); position: relative; }
.mb-nav .mb-menu > li > a::after { content: ""; position: absolute; inset-inline: 0; bottom: 6px; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transition: transform .25s var(--ease); }
.mb-nav .mb-menu > li > a:hover::after, .mb-nav .current-menu-item > a::after { transform: scaleX(1); }
.mb-nav__row .mb-menu { border-inline-start: 1px solid var(--line); padding-inline-start: clamp(14px, 2.4vw, 32px); }
.mb-menu .sub-menu { list-style: none; position: absolute; top: 100%; inset-inline-start: -16px; min-width: 220px; background: #fff; border-radius: 0 0 var(--radius-sm) var(--radius-sm); padding: 8px 0; box-shadow: 0 13px 20px rgba(0, 0, 0, .15); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s var(--ease); z-index: 5; }
.mb-menu li:hover > .sub-menu, .mb-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.mb-menu .sub-menu a { padding: 8px 18px; font-weight: 600; color: var(--text); }
.mb-menu .sub-menu a:hover { background: var(--brand-50); color: var(--brand); }

/* ---------- Drawer / overlays ---------- */
.mb-overlay { position: fixed; inset: 0; background: rgba(15, 12, 10, .45); z-index: 80; opacity: 0; transition: opacity .3s; }
.mb-overlay.is-visible { opacity: 1; }

.mb-drawer, .mb-wishlist {
	position: fixed; top: 0; bottom: 0; z-index: 90;
	width: min(380px, 90vw); background: #fff;
	display: flex; flex-direction: column; overflow-y: auto;
	transition: transform .35s var(--ease); box-shadow: var(--shadow-lg);
}
.mb-drawer { inset-inline-start: 0; transform: translateX(100%); }
.mb-wishlist { inset-inline-end: 0; transform: translateX(-100%); }
.mb-drawer.is-open, .mb-wishlist.is-open { transform: none; }
.mb-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: var(--brand); color: #fff; }
.mb-drawer__head .mb-iconbtn { color: #fff; }
.mb-drawer__head .mb-iconbtn:hover { background: rgba(255,255,255,.15); }
.mb-drawer__head .mb-logo { justify-items: start; color: var(--gold); }
.mb-drawer__head .mb-logo__main { font-size: 1.35rem; }
.mb-drawer__head .mb-logo__sub { color: var(--gold-l); }
.mb-drawer__head .mb-logo__crown svg { color: var(--gold); }
.mb-drawer__mobile-nav { display: none; padding: 4px 18px; border-bottom: 1px solid var(--line); }
.mb-drawer__mobile-nav .mb-menu { flex-direction: column; gap: 0; }
.mb-drawer__mobile-nav .mb-menu a { padding: 13px 0; font-size: 1rem; border-bottom: 1px solid var(--line); }
.mb-drawer__mobile-nav .mb-menu li:last-child a { border-bottom: 0; }
.mb-drawer__label { margin: 18px 18px 6px; font-size: .95rem; color: var(--brand); font-weight: 700; }
.mb-drawer__list { list-style: none; margin: 0; padding: 0 10px; }
.mb-drawer__list a { display: flex; align-items: center; gap: 14px; padding: 8px; border-radius: var(--radius-sm); font-weight: 600; transition: background .2s; }
.mb-drawer__list a:hover { background: var(--brand-50); color: var(--brand); }
.mb-drawer__list img { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; background: var(--brand-50); }
.mb-drawer__list span { flex: 1; }
.mb-drawer__list small { color: var(--muted); font-size: .8rem; font-weight: 400; }
.mb-drawer__list--plain a { padding: 12px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
.mb-drawer__foot { margin-top: auto; padding: 18px; display: grid; gap: 14px; border-top: 1px solid var(--line); background: var(--soft); }
.mb-drawer__wa { display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: #128c4b; font-weight: 700; }
.mb-drawer__account { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; color: var(--brand); }
.mb-drawer__account .mb-icon { width: 18px; height: 18px; }

.mb-wishlist .mb-drawer__head strong { font-size: 1.05rem; }
.mb-wishlist__list { list-style: none; margin: 0; padding: 8px 18px; }
.mb-wishlist__list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mb-wishlist__list img { width: 56px; height: 56px; object-fit: contain; border-radius: 6px; border: 1px solid var(--line); background: #fff; }
.mb-wishlist__list a { flex: 1; font-weight: 600; font-size: .92rem; }
.mb-wishlist__list button { color: var(--muted); font-size: .8rem; text-decoration: underline; }
.mb-wishlist__empty { padding: 20px 18px; color: var(--muted); }
.mb-wishlist.has-items .mb-wishlist__empty { display: none; }

/* ---------- Hero: wide promo slider ---------- */
.mb-hero {
	position: relative; overflow: hidden; background: var(--brand-d); color: #fff;
	width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--container) - 2 * var(--gutter));
	margin: 22px auto 0; border-radius: var(--radius);
	height: clamp(320px, 33vw, 440px);
}
.mb-hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility .8s; display: flex; align-items: center; }
.mb-hero__slide.is-active { opacity: 1; visibility: visible; }
.mb-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 6s linear; }
.mb-hero__slide.is-active .mb-hero__img { transform: scale(1); }
.mb-hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(15, 12, 10, .86) 0%, rgba(15, 12, 10, .55) 38%, rgba(15, 12, 10, 0) 70%); }
.mb-hero__content { position: relative; z-index: 2; padding-inline: clamp(76px, 7vw, 100px); }
.mb-hero__content > * { max-width: 500px; opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.mb-hero__slide.is-active .mb-hero__content > * { opacity: 1; transform: none; }
.mb-hero__slide.is-active .mb-hero__content > :nth-child(2) { transition-delay: .1s; }
.mb-hero__slide.is-active .mb-hero__content > :nth-child(3) { transition-delay: .2s; }
.mb-hero__slide.is-active .mb-hero__content > :nth-child(4) { transition-delay: .3s; }
.mb-hero__kicker { display: inline-block; background: var(--gold); color: var(--brand); font-size: .85rem; font-weight: 700; padding: 4px 12px; border-radius: 4px; margin-bottom: 14px; }
.mb-hero__title { font-size: clamp(2rem, 3.8vw, 3.2rem); font-weight: 800; margin-bottom: 12px; line-height: 1.15; }
.mb-hero__text { font-size: clamp(1rem, 1.4vw, 1.15rem); color: #efe6dc; margin-bottom: 24px; }
.mb-hero .mb-btn { min-width: 150px; }
.mb-hero__controls { position: absolute; z-index: 3; inset: 0; pointer-events: none; }
.mb-hero__arrow {
	pointer-events: auto; position: absolute; top: 50%; transform: translateY(-50%);
	width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
	background: #fff; color: var(--brand); box-shadow: 0 4px 14px rgba(0,0,0,.18); transition: background .2s, transform .2s;
}
.mb-hero__arrow:hover { background: var(--brand-50); }
.mb-hero__arrow[data-hero="prev"] { inset-inline-start: 16px; }
.mb-hero__arrow[data-hero="next"] { inset-inline-end: 16px; }
.mb-hero__dots { pointer-events: auto; position: absolute; bottom: 16px; inset-inline: 0; display: flex; justify-content: center; gap: 8px; }
.mb-hero__dots button { width: 10px; height: 10px; background: rgba(255,255,255,.55); border-radius: 999px; transition: background .3s, width .3s var(--ease); }
.mb-hero__dots button[aria-selected="true"] { background: #fff; width: 28px; }

/* ---------- Sections ---------- */
.mb-section { padding-block: clamp(36px, 5vw, 64px); }
.mb-section--tight { padding-block: clamp(12px, 2vw, 24px); }
.mb-section--tint { background: var(--soft); }
.mb-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(18px, 2.6vw, 28px); }
.mb-section__head .mb-kicker { display: none; }
.mb-section__head--center { justify-content: center; text-align: center; }
.mb-section__title { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 700; color: var(--brand); margin: 0; }
.mb-section__lead { color: var(--muted); max-width: 560px; margin: 8px auto 0; }

/* Categories: tiles on soft-blue rounded backgrounds */
.mb-cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(12px, 2vw, 24px); }
.mb-cat { display: grid; justify-items: center; gap: 2px; text-align: center; }
.mb-cat__img { display: block; width: 100%; aspect-ratio: 1; padding: 9%; border-radius: 28px; background: var(--brand-50); margin-bottom: 8px; transition: background .3s, transform .3s var(--ease); }
.mb-cat__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.mb-cat:hover .mb-cat__img { background: var(--brand-100); transform: translateY(-3px); }
.mb-cat__name { font-size: 1rem; font-weight: 700; color: var(--text); }
.mb-cat:hover .mb-cat__name { color: var(--brand); }
.mb-cat__count { font-size: .8rem; color: var(--muted); }

/* Product grid + cards (store style) */
.mb-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.6vw, 20px); }
.mb-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, border-color .25s; }
.mb-card:hover { box-shadow: var(--shadow); border-color: var(--brand-100); }
.mb-card__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--soft); margin-bottom: 10px; }
.mb-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.mb-card:hover .mb-card__media img { transform: scale(1.04); }
.mb-card__badge { position: absolute; top: 12px; right: 12px; background: var(--red); color: #fff; font-size: .8rem; font-weight: 800; padding: 3px 9px; border-radius: 4px; direction: ltr; }
.mb-card__wish { position: absolute; top: 8px; inset-inline-end: 8px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: 0 1px 4px rgba(0,0,0,.12); color: #5d6372; display: grid; place-items: center; transition: color .2s, transform .2s var(--ease); z-index: 2; }
.mb-card__wish .mb-icon { width: 20px; height: 20px; }
.mb-card__wish:hover { color: var(--red); transform: scale(1.1); }
.mb-card__wish[aria-pressed="true"] { color: var(--red); }
.mb-card__wish[aria-pressed="true"] svg { fill: currentColor; }
.mb-card__body { padding: 4px 14px 4px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.mb-card__price { order: -1; display: flex; align-items: baseline; gap: 8px; font-size: 1.35rem; font-weight: 700; color: var(--text); line-height: 1.2; margin-bottom: 6px; }
.mb-card__price del { order: 2; color: var(--muted); font-weight: 400; font-size: .85rem; }
.mb-card__price ins { text-decoration: none; color: var(--red); }
.mb-card__cat { font-size: .78rem; font-weight: 800; color: var(--text); text-transform: uppercase; letter-spacing: .02em; }
.mb-card__title { font-family: var(--f-body); font-size: .92rem; font-weight: 400; margin: 0; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
.mb-card__cart, .mb-card .add_to_cart_button {
	display: flex !important; align-items: center; justify-content: center;
	margin: 12px 14px 14px; min-height: 40px; border-radius: var(--radius-sm) !important;
	border: 1px solid var(--text) !important; background: #fff !important; color: var(--text) !important;
	font-size: .9rem !important; font-weight: 700 !important; padding: 0 12px !important;
	transition: background .2s, color .2s, border-color .2s;
}
.mb-card__cart:hover, .mb-card .add_to_cart_button:hover { background: var(--brand) !important; border-color: var(--brand) !important; color: #fff !important; }
.mb-card .added_to_cart { display: block; text-align: center; font-size: .82rem; margin: -8px 0 12px; text-decoration: underline; color: var(--brand); }

/* Banners – wide photo banners */
.mb-banners { display: grid; gap: clamp(12px, 2vw, 20px); }
.mb-banners--2 { grid-template-columns: repeat(2, 1fr); }
.mb-banners--3 { grid-template-columns: repeat(3, 1fr); }
.mb-banner { position: relative; display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 16 / 7; color: #fff; isolation: isolate; }
.mb-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.mb-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(270deg, rgba(15, 12, 10, .82) 0%, rgba(15, 12, 10, .35) 55%, rgba(15, 12, 10, 0) 85%); }
.mb-banner:hover { color: #fff; }
.mb-banner:hover img { transform: scale(1.04); }
.mb-banner__content { position: absolute; inset-block: 0; inset-inline-start: 0; width: min(60%, 360px); padding: clamp(18px, 3vw, 32px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 4px; }
.mb-banner__kicker { font-size: .78rem; font-weight: 700; background: var(--gold); color: var(--brand); padding: 2px 10px; border-radius: 4px; }
.mb-banner__title { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 800; line-height: 1.15; }
.mb-banner__text { color: #efe6dc; font-size: .95rem; }
.mb-banner__btn { margin-top: 10px; display: inline-flex; align-items: center; min-height: 38px; padding: 0 20px; border-radius: 999px; background: var(--gold); color: var(--brand); font-size: .88rem; font-weight: 700; }

/* Deals – promo cards (title, picture, pill button) */
.mb-banner--tall { display: flex; flex-direction: column; align-items: center; text-align: center; aspect-ratio: auto; padding: 22px 20px 20px; background: var(--soft); border: 1px solid var(--line); color: var(--text); transition: box-shadow .25s, border-color .25s; }
.mb-banner--tall::after { display: none; }
.mb-banner--tall:hover { color: var(--text); box-shadow: var(--shadow); border-color: var(--brand-100); }
.mb-banner--tall .mb-banner__content { display: contents; }
.mb-banner--tall .mb-banner__kicker { order: 1; color: var(--brand); }
.mb-banner--tall .mb-banner__title { order: 2; margin-top: 8px; color: var(--brand); font-size: clamp(1.25rem, 2vw, 1.55rem); }
.mb-banner--tall .mb-banner__text { order: 3; color: var(--muted); }
.mb-banner--tall img { order: 4; position: static; z-index: auto; width: 100%; aspect-ratio: 4 / 3; height: auto; margin: 16px 0; border-radius: 8px; }
.mb-banner--tall:hover img { transform: none; }
.mb-banner--tall .mb-banner__btn { order: 5; margin-top: 0; background: #fff; border: 1px solid var(--text); color: var(--text); min-width: 120px; justify-content: center; transition: background .2s, color .2s, border-color .2s; }
.mb-banner--tall:hover .mb-banner__btn { background: var(--brand); border-color: var(--brand); color: #fff; }


/* Top brands */
.mb-brands .mb-section__title { color: var(--brand); }
.mb-brands__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.mb-brand { display: grid; place-items: center; height: 92px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; text-align: center; transition: border-color .2s, box-shadow .2s; }
.mb-brand span { font-size: 1.05rem; font-weight: 800; color: var(--gold-d); text-transform: uppercase; letter-spacing: .04em; line-height: 1.15; }
.mb-brand:hover { border-color: var(--gold); box-shadow: var(--shadow); }

/* Testimonials */
.mb-quotes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 22px); }
.mb-quote { margin: 0; background: #fff; border-radius: var(--radius); padding: clamp(20px, 2.6vw, 28px); border: 1px solid var(--line); }
.mb-quote__stars { display: flex; gap: 2px; color: var(--star); margin-bottom: 12px; }
.mb-quote__stars .mb-icon { width: 17px; height: 17px; fill: currentColor; }
.mb-quote blockquote { margin: 0 0 14px; font-size: 1.02rem; line-height: 1.65; }
.mb-quote figcaption { color: var(--brand); font-weight: 700; }

/* Instagram */
.mb-insta .mb-section__title a { font-family: var(--f-body); font-weight: 700; }
.mb-insta__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.mb-insta__item { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 8px; }
.mb-insta__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mb-insta__item span { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(15, 12, 10, .5); color: #fff; opacity: 0; transition: opacity .3s; }
.mb-insta__item span .mb-icon { width: 32px; height: 32px; }
.mb-insta__item:hover img { transform: scale(1.06); }
.mb-insta__item:hover span { opacity: 1; }

/* Trust */
.mb-trust { background: var(--soft); border-top: 1px solid var(--line); }
.mb-trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-block: 28px; }
.mb-trust__item { display: flex; align-items: center; gap: 14px; }
.mb-trust__item > .mb-icon { width: 50px; height: 50px; padding: 12px; border-radius: 50%; background: #fff; color: var(--gold-d); box-shadow: 0 0 0 1px var(--line); }
.mb-trust__item strong { display: block; font-weight: 700; font-size: .98rem; color: var(--brand); }
.mb-trust__item span { font-size: .85rem; color: var(--muted); }

/* Footer: white columns + blue bottom band */
.mb-footer { background: #fff; color: var(--text); border-top: 1px solid var(--line); }
.mb-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block: clamp(40px, 5vw, 64px); }
.mb-footer .mb-logo { justify-items: start; margin-bottom: 16px; }
.mb-footer__brand p { max-width: 330px; font-size: .93rem; color: var(--muted); }
.mb-footer__title { font-size: 1rem; font-weight: 700; color: var(--brand); margin-bottom: 14px; }
.mb-footer__list, .mb-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .93rem; }
.mb-footer a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.mb-footer__contact li { display: flex; align-items: center; gap: 10px; }
.mb-footer__contact .mb-icon { width: 18px; height: 18px; color: var(--gold-d); }
.mb-footer__contact + .mb-btn { margin-top: 16px; }
.mb-social { display: flex; gap: 8px; margin-top: 16px; }
.mb-social a { width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: var(--gold); display: grid; place-items: center; transition: background .2s; }
.mb-social a:hover { background: var(--gold); color: var(--brand); text-decoration: none; }
.mb-social .mb-icon { width: 18px; height: 18px; }
.mb-footer__bottom { background: var(--brand); color: var(--gold-l); font-size: .85rem; padding-block: 16px; }
.mb-footer__bottom .mb-container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.mb-footer__bottom a:hover { color: #fff; }
.mb-pay { letter-spacing: .04em; color: rgba(243, 227, 195, .75); direction: ltr; }

/* Floating WhatsApp */
.mb-wa-float { position: fixed; z-index: 60; bottom: 22px; inset-inline-end: 22px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37, 211, 102, .4); transition: transform .25s var(--ease); }
.mb-wa-float:hover { color: #fff; transform: scale(1.07); }
.mb-wa-float .mb-icon { width: 30px; height: 30px; }
.mb-wa-float__tip { position: absolute; inset-inline-end: 68px; white-space: nowrap; background: #fff; color: var(--text); font-size: .85rem; font-weight: 600; padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow); opacity: 0; transform: translateX(-8px); transition: .3s var(--ease); pointer-events: none; }
.mb-wa-float:hover .mb-wa-float__tip, .mb-wa-float.show-tip .mb-wa-float__tip { opacity: 1; transform: none; }

/* Accessibility widget */
.mb-a11y { position: fixed; z-index: 60; bottom: 22px; inset-inline-start: 22px; }
.mb-a11y__toggle { width: 50px; height: 50px; border-radius: 50%; background: #111; color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); }
.mb-a11y__toggle .mb-icon { width: 28px; height: 28px; }
.mb-a11y__panel { position: absolute; bottom: 62px; inset-inline-start: 0; width: 280px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 16px; border: 1px solid var(--line); }
.mb-a11y__title { font-weight: 700; margin-bottom: 10px; color: var(--brand); }
.mb-a11y__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mb-a11y__grid button { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 6px; font-size: .85rem; background: var(--soft); transition: background .2s, border-color .2s; }
.mb-a11y__grid button:hover { border-color: var(--brand); }
.mb-a11y__grid button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.mb-a11y__link { display: block; margin-top: 12px; font-size: .85rem; text-decoration: underline; }

body.a11y-contrast { --soft: #fff; --brand-50: #fff; --brand-100: #000; --muted: #000; --text: #000; --line: #000; --brand: #000; background: #fff; color: #000; }
body.a11y-contrast .mb-hero__slide::after, body.a11y-contrast .mb-banner::after { background: rgba(0,0,0,.75); }
html.a11y-grayscale { filter: grayscale(1); }
body.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; outline: 1px dashed currentColor; outline-offset: 2px; }
body.a11y-readable, body.a11y-readable * { font-family: Arial, Helvetica, sans-serif !important; letter-spacing: .01em !important; }
body.a11y-motion *, body.a11y-motion *::before, body.a11y-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }



/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Inner pages ---------- */
.mb-pagehead { background: var(--soft); border-bottom: 1px solid var(--line); padding-block: clamp(26px, 4vw, 44px); }
.mb-pagehead__title { font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--brand); margin: 0; }
.mb-pagehead .woocommerce-breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 6px; }
.mb-content { max-width: 820px; margin-inline: auto; font-size: 1.02rem; }
.mb-content h2 { font-size: 1.5rem; color: var(--brand); margin-top: 1.4em; }
.mb-content a { color: var(--brand); text-decoration: underline; }
.mb-content__hero { margin: 0 0 28px; border-radius: var(--radius); overflow: hidden; }
.mb-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mb-post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.mb-post-card__img { display: block; aspect-ratio: 4 / 3; background: var(--brand-50); overflow: hidden; }
.mb-post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.mb-post-card__body { padding: 20px; }
.mb-post-card h2 { font-size: 1.25rem; }
.mb-pagination { margin-top: 36px; text-align: center; }
.mb-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 40px; height: 40px; border-radius: var(--radius-sm); margin: 0 2px; border: 1px solid var(--line); }
.mb-pagination .current { background: var(--brand); border-color: var(--brand); color: #fff; }
.mb-empty, .mb-404 { text-align: center; }
.mb-404 .mb-btn { margin: 6px; }

/* ---------- WooCommerce ---------- */
.mb-woo .woocommerce-result-count { color: var(--muted); font-size: .9rem; }
.mb-woo .woocommerce-ordering select { border: 1px solid #c9cfdb; border-radius: var(--radius-sm); padding: 9px 14px; background: #fff; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 24px 0 0; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; padding: 14px 0 14px; text-align: start; transition: box-shadow .25s, border-color .25s; position: relative; display: flex; flex-direction: column; }
.woocommerce ul.products li.product:hover { box-shadow: var(--shadow); border-color: var(--brand-100); }
.woocommerce ul.products li.product a img { margin: 0 0 10px !important; aspect-ratio: 1; object-fit: contain; padding: 0 14px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--f-body); font-size: .92rem !important; font-weight: 400; padding: 0 14px !important; color: var(--text); }
.woocommerce ul.products li.product .price { color: var(--text) !important; font-weight: 700; font-size: 1.25rem !important; padding: 0 14px; }
.woocommerce ul.products li.product .price del { color: var(--muted); font-weight: 400; font-size: .85rem; }
.woocommerce ul.products li.product .price ins { color: var(--red); text-decoration: none; }
.woocommerce ul.products li.product .button { margin: auto 14px 0 !important; text-align: center; background: #fff !important; color: var(--text) !important; border: 1px solid var(--text) !important; padding: 10px 12px !important; }
.woocommerce ul.products li.product .button:hover { background: var(--brand) !important; border-color: var(--brand) !important; color: #fff !important; }
.woocommerce span.onsale { background: var(--red) !important; border-radius: 4px !important; min-height: auto !important; min-width: auto !important; line-height: 1 !important; padding: 6px 9px !important; font-size: .8rem !important; font-weight: 800 !important; top: 12px !important; right: 12px !important; left: auto !important; margin: 0 !important; direction: ltr; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt {
	background: var(--brand) !important; color: #fff !important; border-radius: var(--radius-sm) !important;
	padding: 13px 24px !important; font-weight: 700 !important; font-family: var(--f-body) !important; transition: background .2s;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce button.button.alt:hover { background: var(--brand-d) !important; }
.woocommerce div.product .product_title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--text); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--text) !important; font-size: 1.7rem !important; font-weight: 800; }
.woocommerce div.product p.price ins { color: var(--red); text-decoration: none; }
.woocommerce div.product div.images img { border-radius: var(--radius); border: 1px solid var(--line); }
.woocommerce div.product form.cart .qty { height: 48px; border: 1px solid #c9cfdb; border-radius: var(--radius-sm); width: 80px; text-align: center; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: transparent !important; border: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: var(--muted) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { border-bottom: 3px solid var(--brand) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--brand) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border-color: var(--line) !important; }
.mb-single-trust { list-style: none; padding: 16px 0; margin: 10px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: .92rem; }
.mb-single-trust li { display: flex; align-items: center; gap: 10px; }
.mb-single-trust .mb-icon { color: var(--gold-d); width: 20px; height: 20px; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--brand) !important; background: var(--soft) !important; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--brand) !important; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce-page form .form-row select { border: 1px solid #c9cfdb; border-radius: var(--radius-sm); padding: 11px 14px; background: #fff; }
.woocommerce table.shop_table { border-radius: var(--radius); background: #fff; border-color: var(--line) !important; }

/* ---------- Language switcher ---------- */
.mb-lang { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border: 1px solid var(--brand-100); border-radius: 999px; color: var(--brand); font-size: .85rem; font-weight: 700; white-space: nowrap; transition: background .2s, border-color .2s; }
.mb-lang:hover { background: var(--brand-50); border-color: var(--brand); color: var(--brand); }
.mb-lang .mb-icon { width: 16px; height: 16px; }
.mb-lang[lang="ar"] span { font-family: "Tajawal", "Segoe UI", Tahoma, sans-serif; font-size: .95rem; }
.mb-lang[lang="he"] span { font-family: "Open Sans", "Heebo", Arial, sans-serif; }
.mb-lang__short { display: none; }
.mb-lang--drawer { justify-self: center; background: #fff; }
.mb-lang--footer { border-color: rgba(243, 227, 195, .5); color: var(--gold-l); height: 32px; }
.mb-lang--footer:hover { background: #fff; color: var(--brand); border-color: #fff; }

/* ---------- Arabic ---------- */
body.lang-ar {
	--f-body: "Tajawal", "Segoe UI", Tahoma, sans-serif;
	--f-head: "Tajawal", "Segoe UI", Tahoma, sans-serif;
	line-height: 1.75;
}
/* Letter-spacing breaks Arabic letter joining – keep it at 0 (Latin logo excluded). */
body.lang-ar h1, body.lang-ar h2, body.lang-ar h3, body.lang-ar h4,
body.lang-ar .mb-kicker, body.lang-ar .mb-hero__kicker, body.lang-ar .mb-banner__kicker,
body.lang-ar .mb-footer__title, body.lang-ar .mb-drawer__label, body.lang-ar .mb-btn,
body.lang-ar .mb-announce, body.lang-ar .mb-card__cat, body.lang-ar .mb-brand span { letter-spacing: 0; text-transform: none; }
body.lang-ar .mb-hero__title, body.lang-ar .mb-section__title, body.lang-ar .mb-banner__title { line-height: 1.35; }
body.lang-ar .mb-card__title { font-size: 1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.mb-products, .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
	.mb-footer__grid { grid-template-columns: 1fr 1fr; }
	.mb-trust__grid { grid-template-columns: repeat(2, 1fr); }
	.mb-insta__grid { grid-template-columns: repeat(3, 1fr); }
	.mb-brands__grid { grid-template-columns: repeat(4, 1fr); }
	.mb-account__label { display: none; }
	.mb-account { padding: 4px; }
}

@media (max-width: 900px) {
	.mb-catbtn { display: none; }
	.mb-drawer__mobile-nav { display: block; }
	.mb-cats { grid-template-columns: repeat(3, 1fr); }
	.mb-quotes__grid, .mb-posts { grid-template-columns: repeat(2, 1fr); }
	.mb-banners--3 { grid-template-columns: repeat(3, minmax(230px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
	.mb-banners--3::-webkit-scrollbar { display: none; }
	.mb-banners--3 > * { scroll-snap-align: start; }
	.admin-bar .mb-header { top: 46px; }
}

@media (max-width: 640px) {
	.mb-hide-sm { display: none; }
	.mb-section__head { align-items: center; }
	.mb-scroller { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 46%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 8px; scrollbar-width: none; }
	.mb-scroller::-webkit-scrollbar { display: none; }
	.mb-scroller > * { scroll-snap-align: start; }
	.mb-products:not(.mb-scroller), .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.mb-banners--2 { grid-template-columns: 1fr; }
	.mb-banners--3 { grid-template-columns: repeat(3, 72%); }
	.mb-quotes__grid, .mb-posts { grid-template-columns: 1fr; }
	.mb-trust__grid { grid-template-columns: 1fr 1fr; gap: 18px 12px; padding-block: 24px; }
	.mb-trust__item { flex-direction: column; text-align: center; gap: 8px; }
	.mb-footer__grid { grid-template-columns: 1fr; gap: 28px; }
	.mb-footer__bottom .mb-container { flex-direction: column; text-align: center; }
	.mb-wa-float { width: 52px; height: 52px; bottom: 16px; inset-inline-end: 16px; }
	.mb-a11y { bottom: 16px; inset-inline-start: 16px; }
	.mb-a11y__toggle { width: 44px; height: 44px; }
	.mb-wa-float__tip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Mobile layout: blue app-style header + search row + menu chips,
   compact rounded slider, bottom tab bar
   ========================================================================== */
.mb-tabbar { display: none; }

@media (max-width: 900px) {
	body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }

	/* Header: blue bar (burger · logo · icons), search below, menu as chips */
	.mb-header { position: relative; box-shadow: 0 1px 0 var(--line); }
	.mb-header__main { background: var(--brand); color: #fff; }
	.mb-header__bar {
		grid-template-columns: auto minmax(0, 1fr) auto;
		grid-template-areas: "burger logo end" "search search search";
		gap: 0 6px; min-height: 0; padding-top: 6px;
	}
	.mb-header__burger { display: inline-grid; }
	.mb-header__logo { justify-self: center; }
	.mb-header .mb-iconbtn { color: #fff; }
	.mb-header .mb-iconbtn:hover { background: rgba(255,255,255,.14); }
	.mb-header .mb-logo { color: var(--gold); }
	.mb-header .mb-logo__crown svg { color: var(--gold); }
	.mb-header .mb-logo__sub { color: var(--gold-l); }
	.mb-logo__main { font-size: 1.4rem; }
	.mb-logo__sub { font-size: .52rem; }
	.mb-hsearch { max-width: none; margin: 8px 0 12px; }
	.mb-hsearch input[type=search] { height: 44px; border-color: var(--gold); border-radius: 8px; font-size: .95rem; }
	.mb-hsearch input:focus { box-shadow: 0 0 0 3px rgba(198, 160, 106, .45); }
	.mb-cart-count, .mb-wish-count { box-shadow: 0 0 0 2px var(--brand); }
	.mb-header .mb-account { color: #fff; }
	.mb-header .mb-account:hover { background: rgba(255,255,255,.14); }
	.mb-header .mb-account__icon { border-color: var(--gold); width: 34px; height: 34px; }
	.mb-lang--header { height: 30px; padding: 0 10px; border-color: rgba(198, 160, 106, .7); color: var(--gold-l); font-size: .78rem; }
	.mb-lang--header:hover { background: rgba(255,255,255,.14); border-color: #fff; color: #fff; }
	.mb-lang--header .mb-icon, .mb-lang--header .mb-lang__full { display: none; }
	.mb-lang--header .mb-lang__short { display: inline; }

	.mb-nav { border-top: 0; border-bottom: 1px solid var(--line); }
	.mb-nav__row { padding-inline: 0; }
	.mb-nav__row .mb-menu {
		border: 0; padding: 10px var(--gutter); gap: 8px;
		overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap; width: 100%;
	}
	.mb-nav__row .mb-menu::-webkit-scrollbar { display: none; }
	.mb-nav .mb-menu > li { flex: none; }
	.mb-nav .mb-menu > li > a { padding: 6px 14px; border: 1px solid var(--brand-100); border-radius: 999px; background: var(--brand-50); font-size: .85rem; white-space: nowrap; }
	.mb-nav .mb-menu > li > a::after { display: none; }
	.mb-nav .mb-menu .sub-menu { display: none; }

	/* Bottom tab bar */
	.mb-tabbar {
		display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
		position: fixed; inset-inline: 0; bottom: 0; z-index: 70;
		background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 14px rgba(20, 15, 12, .06);
		padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
	}
	.mb-tabbar > a, .mb-tabbar > button { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .68rem; font-weight: 600; color: var(--muted); padding: 2px 0; }
	.mb-tabbar > a:hover, .mb-tabbar > button:hover { color: var(--brand); }
	.mb-tabbar .mb-icon { width: 22px; height: 22px; }
	.mb-tabbar__main { color: var(--brand) !important; font-weight: 700 !important; }
	.mb-tabbar__bubble { width: 50px; height: 50px; margin-top: -26px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--gold); border: 4px solid #fff; box-shadow: 0 6px 16px rgba(20, 17, 16, .3); }
	.mb-tabbar__bubble .mb-icon { width: 22px; height: 22px; }
	.mb-wa-float, .mb-a11y { bottom: calc(80px + env(safe-area-inset-bottom)); }

	/* Compact rounded slider */
	.mb-hero { height: auto; aspect-ratio: 16 / 9; margin-top: 14px; }
	.mb-hero__slide { align-items: flex-end; padding-bottom: 34px; }
	.mb-hero__slide::after { background: linear-gradient(0deg, rgba(15, 12, 10, .85) 0%, rgba(15, 12, 10, .35) 60%, rgba(15, 12, 10, .05) 100%); }
	.mb-hero__content { padding-inline: 20px; }
	.mb-hero__kicker { font-size: .72rem; padding: 2px 9px; margin-bottom: 8px; }
	.mb-hero__title { font-size: clamp(1.35rem, 5.4vw, 2rem); margin-bottom: 6px; }
	.mb-hero__text { font-size: .9rem; margin-bottom: 12px; }
	.mb-hero .mb-btn { min-height: 36px; min-width: 0; padding: 0 18px; font-size: .84rem; }
	.mb-hero__arrow { display: none; }
	.mb-hero__dots { bottom: 12px; }
	.mb-hero__dots button { width: 7px; height: 7px; }
	.mb-hero__dots button[aria-selected="true"] { width: 20px; }
}

@media (max-width: 640px) {
	.mb-announce { font-size: .74rem; padding: 6px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.mb-hero { aspect-ratio: 4 / 3; }
	.mb-hero__text { display: none; }

	.mb-section { padding-block: 28px; }
	.mb-section--tight { padding-block: 10px; }
	.mb-section__head, .mb-section__head:not(.mb-section__head--center) { flex-direction: row; align-items: center; margin-bottom: 14px; gap: 10px; }
	.mb-section__title { font-size: 1.3rem; }
	.mb-section__lead { font-size: .9rem; }
	.mb-section__head .mb-link-arrow { font-size: .82rem; }
	.mb-section__head .mb-link-arrow .mb-icon { width: 14px; height: 14px; }

	/* Categories: 3 tiles per row */
	.mb-cats { grid-template-columns: repeat(3, 1fr); gap: 14px 10px; }
	.mb-cat__img { border-radius: 22px; padding: 8%; margin-bottom: 6px; }
	.mb-cat__img img { border-radius: 16px; }
	.mb-cat__name { font-size: .86rem; line-height: 1.3; }
	.mb-cat__count { font-size: .7rem; }

	/* Product cards */
	.mb-card__wish { width: 32px; height: 32px; top: 4px; inset-inline-end: 4px; }
	.mb-card__wish .mb-icon { width: 18px; height: 18px; }
	.mb-card__badge { top: 8px; right: 8px; font-size: .72rem; padding: 2px 7px; }
	.mb-card__body { padding: 2px 10px; }
	.mb-card__price { font-size: 1.12rem; gap: 6px; margin-bottom: 4px; }
	.mb-card__price del { font-size: .76rem; }
	.mb-card__cat { font-size: .68rem; }
	.mb-card__title { font-size: .82rem; }
	.mb-card__cart, .mb-card .add_to_cart_button { margin: 8px 10px 10px; min-height: 36px; font-size: .8rem !important; }

	/* Banners */
	/* Wide photo banners */
	.mb-banner:not(.mb-banner--tall) { aspect-ratio: 16 / 8; }
	.mb-banner:not(.mb-banner--tall) .mb-banner__content { width: 75%; padding: 16px; }
	.mb-banner__title { font-size: 1.3rem; }
	.mb-banner__text { font-size: .82rem; }
	.mb-banner__btn { min-height: 32px; padding: 0 14px; font-size: .8rem; margin-top: 6px; }

	/* Deal cards: full card (label, title, text, photo, button), swipe sideways */
	.mb-banners--3 { grid-template-columns: repeat(3, 74%); gap: 12px; align-items: stretch; }
	.mb-banner--tall { aspect-ratio: auto; height: auto; padding: 16px 14px 16px; }
	.mb-banner--tall .mb-banner__kicker { font-size: .72rem; }
	.mb-banner--tall .mb-banner__title { font-size: 1.2rem; margin-top: 6px; }
	.mb-banner--tall .mb-banner__text { font-size: .82rem; line-height: 1.4; }
	.mb-banner--tall img { aspect-ratio: 4 / 3; margin: 12px 0 14px; }
	.mb-banner--tall .mb-banner__btn { margin-top: auto; min-height: 34px; min-width: 110px; }

	/* Reviews: swipe sideways */
	.mb-quotes__grid {
		display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 80%;
		overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px;
		margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; scrollbar-width: none;
	}
	.mb-quotes__grid::-webkit-scrollbar { display: none; }
	.mb-quote { scroll-snap-align: start; }
	.mb-quote { padding: 18px; }
	.mb-quote blockquote { font-size: .95rem; }

	/* Brands: 3 per row */
	.mb-brands__grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
	.mb-brand { height: 64px; padding: 6px; }
	.mb-brand span { font-size: .78rem; }

	.mb-insta__grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
	.mb-footer__grid { padding-block: 34px; }
}

/* ==========================================================================
   Beige skin (from the Majesty mockup): darker beige header + announcement,
   light beige page, round shortcuts and categories, gold buttons,
   centered titles with a crown
   ========================================================================== */
:root {
	--page: #f8eee5;       /* light beige - page background */
	--page-2: #f2e4d6;     /* section tint */
	--head-1: #e4cfb7;     /* darker beige - header (top) */
	--head-2: #eedfce;     /* darker beige - header (bottom) */
	--tan: #b8946d;        /* announcement bar / footer band */
	--brand: #241c18;      /* dark text, black cart bubble */
	--brand-d: #120d0b;
	--text: #241c18;
	--muted: #7b6c62;
	--gold: #c9a258;
	--gold-l: #f1dcae;
	--gold-d: #8a6738;
	--gold-grad: linear-gradient(135deg, #efd595 0%, #d4ac5f 55%, #c39443 100%);
	--brand-50: #fbf5ef;
	--brand-100: #eddccb;
	--soft: #f2e4d6;
	--line: #e7d6c5;
	--card: #fffaf6;
	--crown: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 40 22%22%3E%3Cpath d=%22M3 19h34M5 16 3 5l9 6 8-9 8 9 9-6-2 11H5Z%22 fill=%22none%22 stroke=%22%23c39443%22 stroke-width=%221.8%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E");
}

body { background: var(--page); }

/* Announcement: tan bar, white text, truck icon */
.mb-announce { background: linear-gradient(90deg, #b18c64, #c6a47e 50%, #b18c64); color: #fff; font-weight: 700; padding: 8px 0; }
.mb-announce .mb-container { display: flex; align-items: center; justify-content: center; gap: 8px; }
.mb-announce .mb-icon { width: 22px; height: 22px; flex: none; }

/* Header: darker beige, dark logo (no black bar) */
.mb-header { background: linear-gradient(180deg, var(--head-1), var(--head-2)); box-shadow: 0 1px 0 rgba(160, 125, 88, .22); }
.mb-header__main, .mb-nav { background: transparent; }
.mb-nav { border-top-color: rgba(160, 125, 88, .22); }
.mb-logo, .mb-logo:hover { color: var(--text); }
.mb-logo__crown svg { color: var(--text); }
.mb-logo__sub { color: var(--text); }
.mb-iconbtn, .mb-account, .mb-catbtn, .mb-menu > li > a { color: var(--text); }
.mb-iconbtn:hover, .mb-account:hover { background: rgba(255, 255, 255, .45); color: var(--text); }
.mb-account__icon { border-color: var(--text); }
.mb-nav .mb-menu > li > a::after { background: var(--gold); }
.mb-hsearch input[type=search] { border-color: var(--tan); background: #fffaf5; }
.mb-hsearch input:focus { box-shadow: 0 0 0 3px rgba(201, 162, 88, .35); }
.mb-hsearch button { background: var(--gold-grad); color: var(--text); }
.mb-lang { border-color: rgba(36, 28, 24, .3); color: var(--text); background: rgba(255, 255, 255, .35); }
.mb-lang:hover { background: rgba(255, 255, 255, .7); border-color: var(--text); color: var(--text); }
.mb-cart-count, .mb-wish-count { background: var(--gold-grad); color: var(--text); box-shadow: 0 0 0 2px var(--head-2); }

/* Drawer */
.mb-drawer__head { background: linear-gradient(180deg, var(--head-1), var(--head-2)); color: var(--text); }
.mb-drawer__head .mb-iconbtn { color: var(--text); }
.mb-drawer__head .mb-logo, .mb-drawer__head .mb-logo__crown svg, .mb-drawer__head .mb-logo__sub { color: var(--text); }
.mb-drawer, .mb-wishlist { background: var(--page); }
.mb-drawer__foot { background: var(--page-2); }

/* Buttons: gold */
.mb-btn--dark { background: var(--gold-grad); color: var(--text); box-shadow: 0 4px 12px rgba(160, 120, 60, .25); }
.mb-btn--dark:hover { background: var(--gold-grad); color: var(--text); filter: brightness(1.05); }
.mb-card__cart:hover, .mb-card .add_to_cart_button:hover,
.mb-banner--tall:hover .mb-banner__btn { background: var(--gold-grad) !important; border-color: var(--gold) !important; color: var(--text) !important; }

/* Shortcut circles (shown on phones / tablets) */
.mb-quick { display: none; }

/* Hero: light overlay, dark text, gold pill + gold button */
.mb-hero { background: var(--page-2); }
.mb-hero__slide::after { background: linear-gradient(270deg, rgba(248, 238, 229, .96) 0%, rgba(248, 238, 229, .8) 36%, rgba(248, 238, 229, 0) 70%); }
.mb-hero__title { color: var(--text); }
.mb-hero__text { color: #5c4b40; }
.mb-hero__kicker { background: var(--gold-grad); color: var(--text); border-radius: 999px; padding: 5px 16px; }
.mb-hero .mb-btn { background: var(--gold-grad); color: var(--text); border-radius: 999px; border: 0; box-shadow: 0 6px 16px rgba(160, 120, 60, .3); }
.mb-hero .mb-btn::after { content: "\2039"; font-size: 1.3em; line-height: 1; margin-inline-start: 2px; }
.mb-hero__dots button { background: rgba(36, 28, 24, .25); }
.mb-hero__dots button[aria-selected="true"] { background: var(--text); }

/* Section titles: centered, crown above, gold lines on both sides */
.mb-section__head, .mb-section__head:not(.mb-section__head--center) { flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; }
.mb-section__head > div { display: flex; flex-direction: column; align-items: center; }
.mb-section__head > div::before { content: ""; width: 38px; height: 21px; margin-bottom: 4px; background: var(--crown) center / contain no-repeat; }
.mb-section__title, .mb-brands .mb-section__title { display: flex; align-items: center; justify-content: center; gap: 16px; color: var(--text); font-weight: 800; }
.mb-section__title::before, .mb-section__title::after { content: ""; flex: none; width: clamp(34px, 9vw, 120px); height: 1.5px; background: linear-gradient(90deg, rgba(195, 148, 67, 0), var(--gold)); }
.mb-section__title::after { background: linear-gradient(270deg, rgba(195, 148, 67, 0), var(--gold)); }
.mb-section__head .mb-link-arrow { color: var(--gold-d); font-size: .88rem; }
.mb-section--tint, .mb-treatments, .mb-trust { background: var(--page-2); }

/* Categories: big circles */
.mb-cats { gap: clamp(16px, 2.4vw, 28px); }
.mb-cat__img { padding: 0; border-radius: 50%; overflow: hidden; background: var(--card); box-shadow: 0 8px 22px rgba(120, 90, 60, .16), 0 0 0 1px rgba(201, 162, 88, .15); }
.mb-cat__img img { border-radius: 50%; }
.mb-cat:hover .mb-cat__img { background: var(--card); transform: translateY(-4px); }
.mb-cat__name { font-size: 1.08rem; font-weight: 800; color: var(--text); }

/* Cards, deal cards, brands on beige */
.mb-card, .mb-quote, .mb-brand, .mb-banner--tall { background: var(--card); }
.mb-card__media { background: var(--brand-50); }
.mb-brand span { color: var(--gold-d); }

/* Footer */
.mb-footer { background: var(--page-2); border-top-color: var(--line); }
.mb-footer__bottom { background: var(--tan); color: #fff; }
.mb-pay { color: rgba(255, 255, 255, .85); }
.mb-lang--footer { border-color: rgba(255, 255, 255, .6); color: #fff; background: transparent; }
.mb-social a { background: var(--gold-grad); color: var(--text); }
.mb-social a:hover { background: var(--text); color: var(--gold-l); }

@media (max-width: 900px) {
	/* Header: burger, logo, language + cart, all on beige; search opens from the tab bar */
	.mb-header { padding-bottom: 22px; }
	.mb-header__main { background: transparent; color: var(--text); }
	.mb-header__bar { padding-top: 10px; align-items: center; }
	.mb-header .mb-iconbtn { color: var(--text); }
	.mb-header .mb-iconbtn:hover { background: rgba(255, 255, 255, .45); }
	.mb-header .mb-logo, .mb-header .mb-logo__crown svg, .mb-header .mb-logo__sub { color: var(--text); }
	.mb-logo__crown svg { width: 44px; height: 20px; }
	.mb-logo__main { font-size: 1.75rem; }
	.mb-logo__sub { font-size: .58rem; font-weight: 700; }
	.mb-header .mb-account { color: var(--text); }
	.mb-header .mb-account__icon { border-color: var(--text); }
	.mb-lang--header { border-color: rgba(36, 28, 24, .35); color: var(--text); background: rgba(255, 255, 255, .35); }
	.mb-lang--header:hover { background: rgba(255, 255, 255, .7); border-color: var(--text); color: var(--text); }
	.mb-cart-count, .mb-wish-count { box-shadow: 0 0 0 2px var(--head-2); }
	.mb-hsearch { display: none; }
	.mb-header.is-search-open .mb-hsearch { display: flex; }
	.mb-hsearch input[type=search] { border-color: var(--tan); }
	.mb-nav { display: none; }

	/* Shortcut circles on a rounded sheet that overlaps the header */
	.mb-quick { display: block; position: relative; z-index: 55; margin-top: -22px; padding: 18px 0 6px; background: var(--page); border-radius: 28px 28px 0 0; }
	.mb-quick__row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
	.mb-quick__item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; aspect-ratio: 1; border-radius: 50%; background: var(--card); box-shadow: 0 5px 14px rgba(120, 90, 60, .13), 0 0 0 1px rgba(201, 162, 88, .16); color: var(--text); text-align: center; padding: 6px; transition: transform .2s var(--ease); }
	.mb-quick__item:hover { color: var(--text); transform: translateY(-2px); }
	.mb-quick__icon .mb-icon { width: 26px; height: 26px; color: var(--gold-d); stroke-width: 1.5; }
	.mb-quick__label { font-size: .72rem; font-weight: 800; line-height: 1.15; }
	.mb-quick__item { min-width: 0; overflow: hidden; }

	/* Hero */
	.mb-hero { margin-top: 10px; aspect-ratio: 16 / 10; }
	.mb-hero__slide { align-items: center; padding-bottom: 18px; }
	.mb-hero__slide::after { background: linear-gradient(270deg, rgba(248, 238, 229, .96) 0%, rgba(248, 238, 229, .82) 40%, rgba(248, 238, 229, 0) 74%); }
	.mb-hero__content > * { max-width: 62%; }
	.mb-hero__dots button { background: rgba(36, 28, 24, .25); }
	.mb-hero__dots button[aria-selected="true"] { background: var(--text); }

	/* Tab bar: light, black cart bubble with a gold ring */
	.mb-tabbar { background: #fbf4ee; border-top-color: var(--line); box-shadow: 0 -6px 18px rgba(120, 90, 60, .1); }
	.mb-tabbar > a, .mb-tabbar > button { color: var(--text); font-weight: 700; }
	.mb-tabbar > a:hover, .mb-tabbar > button:hover { color: var(--gold-d); }
	.mb-tabbar__bubble { width: 58px; height: 58px; margin-top: -30px; color: var(--gold-l); border: 3px solid transparent; background: linear-gradient(#1d1714, #1d1714) padding-box, var(--gold-grad) border-box; box-shadow: 0 0 0 4px #fbf4ee, 0 8px 18px rgba(120, 90, 60, .35); }
	.mb-tabbar__bubble .mb-icon { width: 24px; height: 24px; }
	.mb-tabbar__main { color: var(--text) !important; }
}

@media (max-width: 640px) {
	.mb-announce { font-size: .8rem; padding: 7px 0; }
	.mb-announce .mb-icon { width: 20px; height: 20px; }
	.mb-hero { aspect-ratio: 16 / 11; }
	.mb-hero__kicker { font-size: .74rem; padding: 3px 12px; }
	.mb-hero__title { font-size: clamp(1.25rem, 5.4vw, 1.7rem); }
	.mb-hero .mb-btn { min-height: 36px; padding: 0 20px; }

	.mb-section__head, .mb-section__head:not(.mb-section__head--center) { flex-direction: column; align-items: center; gap: 6px; margin-bottom: 16px; }
	.mb-section__title { font-size: 1.35rem; gap: 12px; }
	.mb-section__title::before, .mb-section__title::after { width: 44px; }
	.mb-section__head > div::before { width: 34px; height: 19px; }

	/* Categories: 3 big circles per row */
	.mb-cats { grid-template-columns: repeat(3, 1fr); gap: 18px 12px; }
	.mb-cat__img { padding: 0; border-radius: 50%; margin-bottom: 8px; }
	.mb-cat__img img { border-radius: 50%; }
	.mb-cat__name { font-size: .95rem; }
	.mb-cat__count { font-size: .75rem; }

	/* Shortcut circles: fit five on a phone */
	.mb-quick__row { gap: 6px; padding-inline: 2px; }
	.mb-quick__item { padding: 4px; gap: 3px; }
	.mb-quick__icon .mb-icon { width: 22px; height: 22px; }
	.mb-quick__label { font-size: .64rem; }
}

/* Brand logos */
.mb-brand img { display: block; max-width: 78%; max-height: 54px; width: auto; height: auto; object-fit: contain; transition: transform .25s var(--ease); }
.mb-brand:hover img { transform: scale(1.05); }
@media (max-width: 640px) {
	.mb-brand img { max-width: 82%; max-height: 34px; }
}

/* ==========================================================================
   Motion: cinematic hero slider + glide-in cards
   (switched off by prefers-reduced-motion and the accessibility "stop motion" button)
   ========================================================================== */

/* Hero: the new slide wipes in over the old one (direction follows next / prev) */
.mb-hero__slide { transition: opacity .9s var(--ease) .25s, visibility 0s linear 1.15s; z-index: 1; }
.mb-hero__slide.is-active { z-index: 2; transition: opacity .01s, visibility 0s; }
.mb-hero.has-moved .mb-hero__slide.is-active { animation: mbWipeNext 1.1s cubic-bezier(.77, 0, .18, 1) both; }
.mb-hero.has-moved[data-dir="prev"] .mb-hero__slide.is-active { animation-name: mbWipePrev; }
@keyframes mbWipeNext { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes mbWipePrev { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* Photos: slow zoom + pan ("Ken Burns"), alternating direction */
.mb-hero__img { transform: scale(1.12); transition: none; will-change: transform; }
.mb-hero__slide.is-active .mb-hero__img { transform: scale(1.12); animation: mbKenBurnsA 8s ease-out both; }
.mb-hero__slide:nth-child(even).is-active .mb-hero__img { animation-name: mbKenBurnsB; }
@keyframes mbKenBurnsA { from { transform: scale(1.16) translate3d(2.5%, 1%, 0); } to { transform: scale(1.03) translate3d(-1%, -1%, 0); } }
@keyframes mbKenBurnsB { from { transform: scale(1.03) translate3d(-2%, -1%, 0); } to { transform: scale(1.15) translate3d(2%, 1%, 0); } }

/* Text: label slides in, title rises out of a soft blur, button pops */
.mb-hero__content > * { opacity: 1; transform: none; transition: none; }
.mb-hero__slide:not(.is-active) .mb-hero__content > * { opacity: 0; }
.mb-hero__slide.is-active .mb-hero__kicker { animation: mbInSide .7s .45s var(--ease) both; }
.mb-hero__slide.is-active .mb-hero__title { animation: mbInBlur .9s .6s var(--ease) both; }
.mb-hero__slide.is-active .mb-hero__text { animation: mbInUp .8s .8s var(--ease) both; }
.mb-hero__slide.is-active .mb-btn { animation: mbPop .75s .95s cubic-bezier(.34, 1.56, .64, 1) both; }
@keyframes mbInSide { from { opacity: 0; transform: translateX(-36px); } to { opacity: 1; transform: none; } }
@keyframes mbInBlur { from { opacity: 0; transform: translateY(22px); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes mbInUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes mbPop { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }

/* Gold button: a light shimmer passes over it every few seconds */
.mb-hero .mb-btn { position: relative; overflow: hidden; isolation: isolate; }
.mb-hero .mb-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .65) 50%, transparent 70%); transform: translateX(-120%); animation: mbShimmer 3.6s 2s ease-in-out infinite; }
@keyframes mbShimmer { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }

/* Progress bar inside the active dot (matches the 6 s autoplay) */
.mb-hero__dots button { position: relative; overflow: hidden; }
.mb-hero.is-ticking .mb-hero__dots button[aria-selected="true"] { background: rgba(36, 28, 24, .22); }
.mb-hero.is-ticking .mb-hero__dots button[aria-selected="true"]::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--text); transform-origin: right center; animation: mbDotFill 6s linear both; }
@keyframes mbDotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Glide-in for cards, circles and carousel items */
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.mb-quick__item.reveal, .mb-cat.reveal { transform: scale(.7); }
.mb-quick__item.reveal.is-in, .mb-cat.reveal.is-in { transform: none; }
.mb-brands__grid > .reveal { transform: translateY(14px) scale(.96); }
.mb-brands__grid > .reveal.is-in { transform: none; }

/* Hover lift on product photos */
.mb-card:hover .mb-card__media img { transform: scale(1.06); }

@media (prefers-reduced-motion: reduce) {
	.mb-hero__slide.is-active, .mb-hero__slide.is-active .mb-hero__img, .mb-hero__slide.is-active .mb-hero__content > *, .mb-hero .mb-btn::before { animation: none !important; }
	.mb-hero__img { transform: none; }
}
body.a11y-motion .mb-hero__img { transform: none !important; }

/* ==========================================================================
   Shades: swatches on the product page, dots on product cards
   ========================================================================== */
.mb-swatch-select { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mb-swatches { display: grid; gap: 10px; margin: 2px 0 6px; }
.mb-swatches__current { margin: 0; font-size: .95rem; color: var(--muted); }
.mb-swatches__current strong { color: var(--text); font-weight: 800; }
.mb-swatches__list { display: flex; flex-wrap: wrap; gap: 10px; }
.mb-swatch { position: relative; display: inline-grid; place-items: center; flex: none; padding: 3px; border-radius: 8px; background: var(--card, #fff); border: 1.5px solid var(--line); cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.mb-swatch__fill { display: block; width: 40px; height: 40px; border-radius: 5px; background-size: cover; background-position: center; }
.mb-swatch.has-color .mb-swatch__fill { border-radius: 50%; }
.mb-swatch.has-color { border-radius: 50%; }
.mb-swatch.is-text { padding: 7px 14px; border-radius: 999px; }
.mb-swatch__text { font-size: .85rem; font-weight: 700; color: var(--text); white-space: nowrap; }
button.mb-swatch:hover { border-color: var(--gold); transform: translateY(-2px); }
button.mb-swatch[aria-checked="true"] { border-color: var(--text); box-shadow: 0 0 0 2px var(--gold); }
button.mb-swatch[aria-checked="true"]::after { content: ""; position: absolute; top: -6px; inset-inline-end: -6px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold-grad, var(--gold)) ; box-shadow: 0 0 0 2px #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 16%22%3E%3Cpath d=%22M4 8.2 6.8 11 12 5.5%22 fill=%22none%22 stroke=%22%23241c18%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E"), var(--gold-grad, linear-gradient(#d4ac5f, #d4ac5f)); }
button.mb-swatch.is-disabled { opacity: .35; cursor: not-allowed; }
button.mb-swatch.is-disabled::before { content: ""; position: absolute; inset: 50% 4px auto; height: 1.5px; background: var(--muted); transform: rotate(-35deg); }
.woocommerce div.product form.cart .variations { border: 0; margin-bottom: 8px; }
.woocommerce div.product form.cart .variations tr:has(.mb-swatches) th.label { display: none; }
.woocommerce div.product form.cart .variations th.label { display: block; padding: 6px 0 4px; text-align: start; font-weight: 700; color: var(--muted); }
.woocommerce div.product form.cart .variations td { display: block; padding: 0; }
.woocommerce div.product form.cart .reset_variations { display: inline-block; margin-top: 4px; font-size: .85rem; color: var(--gold-d); }

/* Card dots */
.mb-card__shades { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.mb-swatch--dot { padding: 1.5px; border-radius: 50%; border-width: 1px; cursor: default; }
.mb-swatch--dot .mb-swatch__fill { width: 18px; height: 18px; border-radius: 50%; }
.mb-swatch--dot.is-text { display: none; }
.mb-card__shades-more { font-size: .75rem; font-weight: 800; color: var(--gold-d); }
.mb-card__shades-label { font-size: .75rem; color: var(--muted); margin-inline-start: 2px; }
.woocommerce ul.products li.product .mb-card__shades { padding: 0 14px; margin-bottom: 8px; }
@media (max-width: 640px) {
	.mb-swatch__fill { width: 36px; height: 36px; }
	.mb-swatch--dot .mb-swatch__fill { width: 15px; height: 15px; }
	.mb-card__shades-label { display: none; }
}

/* ==========================================================================
   Sub-categories: round links on category pages, chips in the drawer
   ========================================================================== */
.mb-subcats { display: flex; gap: clamp(14px, 2vw, 26px); overflow-x: auto; scrollbar-width: none; padding: 4px 4px 14px; margin-bottom: clamp(14px, 2vw, 22px); }
.mb-subcats::-webkit-scrollbar { display: none; }
.mb-subcat { flex: none; display: grid; justify-items: center; align-content: start; gap: 4px; width: clamp(86px, 9vw, 112px); text-align: center; color: var(--text); }
.mb-subcat:hover { color: var(--text); }
.mb-subcat__img { display: grid; place-items: center; width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--card, #fff); box-shadow: 0 6px 16px rgba(120, 90, 60, .14), 0 0 0 1px rgba(201, 162, 88, .18); transition: transform .25s var(--ease), box-shadow .25s; }
.mb-subcat__img img { width: 100%; height: 100%; object-fit: cover; }
.mb-subcat__img--all .mb-icon { width: 34%; height: 34%; color: var(--gold-d); stroke-width: 1.4; }
.mb-subcat__name { font-size: .88rem; font-weight: 800; line-height: 1.25; }
.mb-subcat__count { font-size: .72rem; color: var(--muted); }
.mb-subcat:hover .mb-subcat__img { transform: translateY(-3px); }
.mb-subcat.is-current .mb-subcat__img { box-shadow: 0 0 0 3px var(--page, #fff), 0 0 0 5px var(--gold); }
.mb-subcat.is-current .mb-subcat__name { color: var(--gold-d); }

.mb-drawer__sub { list-style: none; margin: -2px 0 8px; padding: 0 68px 0 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.mb-drawer__sub a { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--card, #fff); border: 1px solid var(--line); font-size: .8rem; font-weight: 700; color: var(--text); }
.mb-drawer__sub a:hover { border-color: var(--gold); color: var(--gold-d); background: var(--card, #fff); }
@media (max-width: 640px) {
	.mb-subcat { width: 78px; }
	.mb-subcat__name { font-size: .78rem; }
}

/* ==========================================================================
   Brand marquee: logos in small circles scrolling under the slider
   ========================================================================== */
.mb-brandbar { --bb-gap: 18px; position: relative; overflow: hidden; direction: ltr; /* RTL page: start the row at the left edge so it always fills the screen */ padding: 16px 0 6px; }
/* Copies of the logo row side by side; the track slides by exactly half its width, so the loop never shows a gap or a jump. */
.mb-brandbar__track { display: flex; width: max-content; direction: ltr; padding: 6px 0; animation: mbMarquee 38s linear infinite; will-change: transform; }
@keyframes mbMarquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
.mb-brandbar__item { flex: none; display: grid; place-items: center; width: 78px; height: 78px; margin-inline-end: var(--bb-gap); border-radius: 50%; background: var(--card, #fff); box-shadow: 0 5px 14px rgba(120, 90, 60, .13), 0 0 0 1px rgba(201, 162, 88, .22); transition: transform .3s var(--ease), box-shadow .3s; }
.mb-brandbar__item img { max-width: 64%; max-height: 42%; width: auto; height: auto; object-fit: contain; }
.mb-brandbar__item span { max-width: 80%; font-size: .62rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--gold-d); text-align: center; line-height: 1.1; }
.mb-brandbar__item:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 8px 18px rgba(120, 90, 60, .2), 0 0 0 2px var(--gold); }
@media (max-width: 640px) {
	.mb-brandbar { --bb-gap: 12px; padding: 12px 0 2px; }
	.mb-brandbar__track { animation-duration: 30s; }
	.mb-brandbar__item { width: 62px; height: 62px; }
}
/* Accessibility: visitors who turned motion off (device setting or the accessibility menu) can still scroll the row by hand. */
@media (prefers-reduced-motion: reduce) {
	.mb-brandbar { overflow-x: auto; }
	.mb-brandbar__track { animation: none; }
}
body.a11y-motion .mb-brandbar { overflow-x: auto; }
body.a11y-motion .mb-brandbar__track { animation: none; }

/* ==========================================================================
   WooCommerce cart / checkout blocks in the brand style
   ========================================================================== */
.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button, .wc-block-components-button:not(.is-link) {
	background: var(--gold-grad) !important; color: var(--text) !important; border: 0 !important; border-radius: 999px !important;
	font-weight: 800 !important; min-height: 50px; box-shadow: 0 6px 16px rgba(160, 120, 60, .28);
}
.wc-block-cart__submit-button:hover, .wc-block-components-checkout-place-order-button:hover { filter: brightness(1.05); }
.wc-block-components-button:not(.is-link) .wc-block-components-button__text { color: var(--text) !important; }
.wc-block-components-product-metadata__description { display: none; }
.wc-block-components-product-name { color: var(--text) !important; font-weight: 700; }
.wc-block-cart .wc-block-cart-items, .wc-block-checkout .wc-block-components-sidebar { background: var(--card, #fff); border-radius: var(--radius); }
.wc-block-components-text-input input, .wc-block-components-textarea, .wc-blocks-components-select__select { border-radius: 8px !important; border-color: var(--line) !important; background: #fff !important; }
.wc-block-components-text-input.is-active input:focus, .wc-block-components-text-input input:focus { box-shadow: 0 0 0 2px rgba(201, 162, 88, .45) !important; border-color: var(--gold) !important; }

/* Without JavaScript the normal dropdown stays usable */
html.no-js .mb-swatches { display: none; }
html.no-js .mb-swatch-select { position: static !important; width: auto; height: auto; overflow: visible; clip: auto; }

/* Closed side panels are not reachable with the keyboard */
.mb-drawer:not(.is-open), .mb-wishlist:not(.is-open) { visibility: hidden; transition: transform .35s var(--ease), visibility 0s linear .35s; }
.mb-drawer.is-open, .mb-wishlist.is-open { visibility: visible; transition: transform .35s var(--ease), visibility 0s; }

/* Category circles: real product photo on a white background, no item count */
.mb-cat__img { background: #fff; }
.mb-cat:hover .mb-cat__img { background: #fff; }
.mb-cat__img img { object-fit: contain; padding: 13%; border-radius: 50%; background: #fff; filter: brightness(1.03); } /* whole product visible; near-white photo backgrounds read as white */

/* Brand logo image (LOGO.pdf) */
.mb-logo--img { display: inline-flex; align-items: center; line-height: 0; }
.mb-logo--img img { display: block; height: 100px; width: auto; max-width: none; filter: drop-shadow(0 1px 0 rgba(60, 30, 0, .55)) drop-shadow(0 2px 4px rgba(70, 40, 10, .3)); transition: transform .3s var(--ease); }
.mb-logo--img:hover img { transform: scale(1.03); }
.mb-drawer__head .mb-logo--img img { height: 54px; }
.mb-footer .mb-logo--img img { height: 96px; }
@media (max-width: 640px) {
	.mb-logo--img img { height: 68px; }
	.mb-footer .mb-logo--img img { height: 80px; }
}

/* Brand strip: arrows + JavaScript-driven motion (pauses on hover/touch, swipe on mobile) */
.mb-brandbar__nav { display: none; }
.mb-brandbar.is-js { overflow: hidden; touch-action: pan-y; }
.mb-brandbar.is-js .mb-brandbar__track { animation: none; will-change: transform; }
.mb-brandbar.is-js .mb-brandbar__nav { display: grid; place-items: center; position: absolute; top: 50%; z-index: 2; width: 40px; height: 40px; margin-top: -16px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--text); box-shadow: 0 4px 14px rgba(120, 90, 60, .22), 0 0 0 1px rgba(201, 162, 88, .3); cursor: pointer; transition: transform .2s var(--ease), background .2s; }
.mb-brandbar.is-js .mb-brandbar__nav:hover { background: #fff; transform: scale(1.08); }
.mb-brandbar.is-js .mb-brandbar__nav:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.mb-brandbar__nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mb-brandbar__nav--right { right: 10px; }
.mb-brandbar__nav--left { left: 10px; }
.mb-brandbar.is-js .mb-brandbar__item { -webkit-user-drag: none; user-select: none; }
@media (max-width: 640px) {
	.mb-brandbar.is-js .mb-brandbar__nav { width: 32px; height: 32px; margin-top: -12px; }
	.mb-brandbar__nav svg { width: 16px; height: 16px; }
	.mb-brandbar__nav--right { right: 6px; }
	.mb-brandbar__nav--left { left: 6px; }
}

/* Logo in the middle of the header (desktop): search on one side, icons on the other */
@media (min-width: 901px) {
	.mb-header__bar { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-areas: "search logo end"; }
	.mb-header__logo { justify-self: center; }
	.mb-hsearch { justify-self: start; max-width: 420px; }
	.mb-header__end { justify-self: end; }
}

/* Sparkling logo: a light sweep over the gold (masked to the logo shape) + twinkling stars */
.mb-logo--img { position: relative; isolation: isolate; }
.mb-logo--img::after {
	content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
	background: linear-gradient(115deg, transparent 38%, rgba(255, 250, 225, .95) 48%, #fff 50%, rgba(255, 250, 225, .95) 52%, transparent 62%);
	background-size: 300% 100%; background-repeat: no-repeat; background-position: 130% 0;
	-webkit-mask: url(../img/logo-420.webp?v=180) center / 100% 100% no-repeat; mask: url(../img/logo-420.webp?v=180) center / 100% 100% no-repeat;
	mix-blend-mode: screen; animation: mbLogoShine 4.8s ease-in-out infinite;
}
@keyframes mbLogoShine { 0% { background-position: 130% 0; } 40%, 100% { background-position: -30% 0; } }
.mb-logo__spark {
	position: absolute; z-index: 2; width: 11px; height: 11px; pointer-events: none; opacity: 0;
	background: radial-gradient(circle, #fff 0 22%, #fff3c4 40%, rgba(232, 196, 110, 0) 72%);
	clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
	animation: mbSpark 2.8s ease-in-out infinite;
}
.mb-logo__spark--1 { top: 0; left: 50%; margin-left: -5px; }
.mb-logo__spark--2 { top: 17%; left: 4%; animation-delay: .7s; width: 9px; height: 9px; }
.mb-logo__spark--3 { top: 17%; right: 4%; animation-delay: 1.4s; width: 9px; height: 9px; }
.mb-logo__spark--4 { top: 40%; left: 60%; animation-delay: 2.1s; width: 8px; height: 8px; }
@keyframes mbSpark { 0%, 100% { opacity: 0; transform: scale(.2) rotate(0deg); } 18% { opacity: 1; transform: scale(1.25) rotate(45deg); } 36% { opacity: 0; transform: scale(.2) rotate(90deg); } }
@media (prefers-reduced-motion: reduce) { .mb-logo--img::after, .mb-logo__spark { animation: none; opacity: 0; } }
body.a11y-motion .mb-logo--img::after, body.a11y-motion .mb-logo__spark { animation: none; opacity: 0; }

/* Room around the bigger logo so it never touches the bar edges */
@media (min-width: 901px) {
	.mb-header__bar { padding-top: 14px; padding-bottom: 14px; min-height: 128px; }
}
@media (max-width: 900px) {
	.mb-header__bar { padding-top: 14px; padding-bottom: 6px; }
}

