/* ==========================================================================
   MarArtGifts — design system
   Light rose & beige take on the MarArtGifts reference:
   Fraunces display serif + Nunito, eyebrows, pill navigation and buttons,
   numbered steps, soft rounded cards, generous whitespace.
   ========================================================================== */

:root {
	--mac-ink: #2e2226;
	--mac-text: #3b2c31;
	--mac-ink-soft: #76646a;
	--mac-bg: #fcf8f5;
	--mac-white: #fffdfb;
	--mac-surface: #f6ede7;
	--mac-surface-2: #f8e7e9;
	--mac-rose: #f3cfd8;
	--mac-rose-soft: #f8e1e7;
	--mac-rose-deep: #b0516c;
	--mac-rose-press: #97455d;
	--mac-sage: #8fae8a;
	--mac-gold: #d8b48c;
	--mac-line: rgba(46, 34, 38, .12);
	--mac-line-strong: rgba(46, 34, 38, .22);
	--mac-shadow: 0 24px 50px -30px rgba(120, 60, 80, .45);
	--mac-shadow-sm: 0 12px 30px -22px rgba(120, 60, 80, .5);
	--mac-radius: 22px;
	--mac-radius-lg: 28px;
	--mac-serif: "MAC Serif", "Iowan Old Style", Georgia, serif;
	--mac-sans: "MAC Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
	--mac-pad: clamp(20px, 5vw, 48px);
	--mac-wrap: 1180px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.mac {
	background-color: var(--mac-bg) !important;
	color: var(--mac-text);
	font-family: var(--mac-sans);
	font-size: 1rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
body.mac button,
body.mac input,
body.mac select,
body.mac textarea,
body.mac .ast-button,
body.mac .ast-custom-button { font-family: var(--mac-sans); }

body.mac #page,
body.mac .site-content,
body.mac .site-content > .ast-container,
body.mac .ast-plain-container .site-content { background: transparent; }

body.mac a { color: var(--mac-rose-deep); }
body.mac a:hover { color: var(--mac-rose-press); }
body.mac ::selection { background: var(--mac-rose); color: var(--mac-ink); }
body.mac :focus-visible { outline: 3px solid var(--mac-rose-deep); outline-offset: 2px; }

body.mac h1, body.mac h2, body.mac h3, body.mac h4,
body.mac .entry-content h1, body.mac .entry-content h2, body.mac .entry-content h3, body.mac .entry-content h4,
body.mac .entry-title,
body.mac .page-title {
	font-family: var(--mac-serif);
	font-weight: 600;
	color: var(--mac-ink);
	letter-spacing: -.01em;
	text-wrap: balance;
}

body.mac .entry-header .entry-title,
body.mac .woocommerce-products-header__title.page-title {
	font-size: clamp(2.2rem, 2.4vw + 1.3rem, 3.1rem);
	line-height: 1.08;
	margin-bottom: .25em;
}

/* ---------- Layout helpers ---------- */
body.mac .mac-section {
	position: relative;
	padding-block: clamp(56px, 9vw, 112px);
	padding-inline: 0;
	margin-block: 0 !important;
}
body.mac .mac-section--surface { background: var(--mac-surface); }
body.mac .mac-section--blush { background: var(--mac-surface-2); }
body.mac .mac-wrap {
	box-sizing: border-box;
	width: 100%;
	max-width: calc(var(--mac-wrap) + 2 * var(--mac-pad));
	margin-inline: auto !important;
	padding-inline: var(--mac-pad);
}
body.mac .mac-section p,
body.mac .mac-section h1,
body.mac .mac-section h2,
body.mac .mac-section h3,
body.mac .mac-section ul,
body.mac .mac-section figure { margin-block: 0; }
body.mac .mac-section p + p { margin-top: 1.1em; }
body.mac .mac-section :is(h1, h2) + p { margin-top: .9em; }
body.mac .mac-section :is(h1, h2) + .mac-lede { margin-top: 1em; }
body.mac .mac-section h2 { font-size: clamp(1.9rem, 3vw + 1rem, 2.7rem); line-height: 1.12; }
body.mac .mac-section h3 { font-size: 1.2rem; line-height: 1.3; }
body.mac .mac-section a:not(.wp-block-button__link):not(.button) { text-decoration: none; }

/* ---------- Typography components ---------- */
body.mac .mac-eyebrow {
	display: flex;
	align-items: center;
	gap: .6em;
	font-family: var(--mac-sans);
	font-weight: 800;
	font-size: .78rem;
	line-height: 1.3;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--mac-rose-deep);
	margin: 0 0 .9em !important;
}
body.mac .mac-eyebrow::before {
	content: "";
	width: 1.6em;
	height: 2px;
	border-radius: 2px;
	background: var(--mac-gold);
	flex: none;
}
body.mac .mac-lede {
	color: var(--mac-ink-soft);
	font-size: 1.08rem;
	max-width: 60ch;
}
body.mac .mac-display {
	font-size: clamp(2.4rem, 3.6vw + 1rem, 4rem) !important;
	line-height: 1.04 !important;
	letter-spacing: -.015em;
	margin: 0 !important;
}
body.mac .mac-title {
	font-size: clamp(2.3rem, 3.2vw + 1.2rem, 3.5rem) !important;
	line-height: 1.06 !important;
	margin: 0 !important;
}
body.mac .mac-display em,
body.mac .mac-title em {
	font-style: italic;
	color: var(--mac-rose-deep);
}
body.mac .mac-note { color: var(--mac-ink-soft); font-size: .9rem; }

/* ---------- Buttons ---------- */
body.mac .wp-block-buttons { gap: 12px; }
body.mac .wp-block-button__link,
body.mac .wp-element-button {
	border-radius: 999px;
	font-family: var(--mac-sans);
	font-weight: 800;
	font-size: .98rem;
	line-height: 1.2;
	padding: .95em 1.6em;
	text-decoration: none;
	transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
body.mac .wp-block-button:not(.is-style-outline) .wp-block-button__link {
	background: var(--mac-rose-deep);
	border: 1.5px solid var(--mac-rose-deep);
	color: #fff;
	box-shadow: var(--mac-shadow);
}
body.mac .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
	background: var(--mac-rose-press);
	border-color: var(--mac-rose-press);
	color: #fff;
	transform: translateY(-2px);
}
body.mac .wp-block-buttons .wp-block-button.is-style-outline > .wp-block-button__link.wp-element-button {
	background: transparent;
	border: 1.5px solid var(--mac-line-strong);
	color: var(--mac-ink);
	font-weight: 800;
	font-size: .98rem;
	line-height: 1.2;
	padding: .95em 1.6em;
}
body.mac .wp-block-buttons .wp-block-button.is-style-outline > .wp-block-button__link.wp-element-button:hover,
body.mac .wp-block-buttons .wp-block-button.is-style-outline > .wp-block-button__link.wp-element-button:focus-visible {
	background: var(--mac-white);
	border-color: var(--mac-rose-deep);
	color: var(--mac-rose-deep);
}
body.mac .wp-block-button__link:active { transform: translateY(1px); }

/* WooCommerce buttons */
body.mac .woocommerce a.button,
body.mac .woocommerce button.button,
body.mac .woocommerce input.button,
body.mac .woocommerce #respond input#submit,
body.mac .woocommerce a.button.alt,
body.mac .woocommerce button.button.alt,
body.mac a.button,
body.mac button.button,
body.mac .wc-block-components-button:not(.is-link) {
	border-radius: 999px !important;
	font-family: var(--mac-sans);
	font-weight: 800;
	line-height: 1.2;
	background-color: var(--mac-rose-deep);
	border: 1.5px solid var(--mac-rose-deep);
	color: #fff;
	transition: transform .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}
body.mac .woocommerce a.button:hover,
body.mac .woocommerce button.button:hover,
body.mac .woocommerce input.button:hover,
body.mac .woocommerce a.button.alt:hover,
body.mac .woocommerce button.button.alt:hover,
body.mac a.button:hover,
body.mac button.button:hover,
body.mac .wc-block-components-button:not(.is-link):hover {
	background-color: var(--mac-rose-press);
	border-color: var(--mac-rose-press);
	color: #fff;
}

/* ---------- Header ---------- */
body.mac #masthead {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 99;
}
body.mac #masthead .ast-primary-header-bar,
body.mac #masthead .main-header-bar {
	background: rgba(252, 248, 245, .86);
	-webkit-backdrop-filter: saturate(1.3) blur(12px);
	backdrop-filter: saturate(1.3) blur(12px);
	border-bottom: 1px solid var(--mac-line);
}
body.mac #ast-desktop-header .site-primary-header-wrap {
	max-width: none;
	padding-inline: var(--mac-pad);
	min-height: 76px;
}
body.mac #ast-desktop-header .site-header-primary-section-right { gap: 12px; }

/* Logo */
body.mac .ast-site-identity { padding: 0; }
body.mac .site-title,
body.mac .ast-site-identity .site-title {
	font-family: var(--mac-serif);
	font-weight: 600;
	font-size: 1.4rem;
	line-height: 1;
	letter-spacing: -.01em;
	margin: 0;
}
body.mac .site-title a {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	color: var(--mac-ink);
	text-decoration: none;
}
body.mac .site-title a::before {
	content: "";
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--mac-gold);
	flex: none;
}
/* Round logo mark (Customizer → custom logo) next to the site name: the dot is no longer needed */
body.mac.wp-custom-logo .site-title a::before { display: none; }
body.mac .ast-site-identity .site-logo-img { padding: 0 12px 0 0 !important; }
body.mac .ast-site-identity .custom-logo-link { display: block; line-height: 0; }
body.mac .ast-site-identity .custom-logo-link img {
	width: 46px !important;
	max-width: 46px !important;
	height: 46px !important;
	border-radius: 50%;
}
body.mac #ast-mobile-header .ast-site-identity .custom-logo-link img { width: 40px !important; max-width: 40px !important; height: 40px !important; }

/* Pill navigation */
body.mac #ast-desktop-header .main-header-menu {
	align-items: center;
	gap: 2px;
	padding: 5px;
	background: var(--mac-surface);
	border: 1px solid var(--mac-line);
	border-radius: 999px;
	box-shadow: var(--mac-shadow-sm);
}
body.mac #ast-desktop-header .main-header-menu > .menu-item {
	height: auto;
	line-height: 1;
}
body.mac #ast-desktop-header .main-header-menu > .menu-item > .menu-link {
	display: flex;
	align-items: center;
	gap: .35em;
	padding: .62em 1.15em;
	border-radius: 999px;
	font-weight: 700;
	font-size: .93rem;
	line-height: 1.2;
	color: var(--mac-ink-soft);
	background: transparent;
	transition: background-color .18s, color .18s;
}
body.mac #ast-desktop-header .main-header-menu > .menu-item:hover > .menu-link { color: var(--mac-ink); }
body.mac #ast-desktop-header .main-header-menu > .current-menu-item > .menu-link,
body.mac #ast-desktop-header .main-header-menu > .current-menu-ancestor > .menu-link,
body.mac #ast-desktop-header .main-header-menu > .current-menu-parent > .menu-link,
body.mac #ast-desktop-header .main-header-menu > .current_page_parent > .menu-link {
	background: var(--mac-rose);
	color: var(--mac-ink);
}
body.mac #ast-desktop-header .main-header-menu .dropdown-menu-toggle { padding: 0; margin: 0; }
body.mac #ast-desktop-header .main-header-menu .dropdown-menu-toggle .ast-icon svg { width: .62em; height: .62em; }

/* Dropdown */
body.mac #ast-desktop-header .main-header-menu > .menu-item-has-children { position: relative; }
body.mac #ast-desktop-header .main-header-menu > .menu-item-has-children::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	height: 14px;
}
body.mac #ast-desktop-header .main-header-menu .sub-menu {
	top: calc(100% + 10px);
	min-width: 250px;
	padding: 6px;
	background: var(--mac-white);
	border: 1px solid var(--mac-line) !important;
	border-radius: 16px;
	box-shadow: var(--mac-shadow);
}
body.mac #ast-desktop-header .main-header-menu .sub-menu .menu-item { border: 0; }
body.mac #ast-desktop-header .main-header-menu .sub-menu .menu-link {
	padding: .65em .9em;
	border: 0 !important;
	border-radius: 10px;
	font-weight: 700;
	font-size: .92rem;
	color: var(--mac-ink);
}
body.mac #ast-desktop-header .main-header-menu .sub-menu .menu-link:hover,
body.mac #ast-desktop-header .main-header-menu .sub-menu .current-menu-item > .menu-link {
	background: var(--mac-surface);
	color: var(--mac-ink);
}
body.mac #ast-desktop-header .main-header-menu .sub-menu .ast-icon.icon-arrow { display: none; }
body.mac #ast-desktop-header .main-header-menu .sub-menu { width: max-content; min-width: 230px; max-width: 320px; }

/* Second-level flyout (e.g. Küünlad › Parafiinist kompositsioonid) */
body.mac #ast-desktop-header .main-header-menu .sub-menu .sub-menu {
	top: -7px; /* first item lines up with its parent item */
	margin-left: 12px;
}
body.mac #ast-desktop-header .main-header-menu .sub-menu .menu-item-has-children { position: relative; }
body.mac #ast-desktop-header .main-header-menu .sub-menu .menu-item-has-children::after {
	/* hover bridge across the gap to the flyout */
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 100%;
	width: 20px;
}
body.mac #ast-desktop-header .main-header-menu .sub-menu .menu-item-has-children > .menu-link {
	display: flex;
	align-items: center;
	gap: 14px;
}
body.mac #ast-desktop-header .main-header-menu .sub-menu .menu-item-has-children > .menu-link .dropdown-menu-toggle { display: none; }
body.mac #ast-desktop-header .main-header-menu .sub-menu .menu-item-has-children > .menu-link::after {
	content: "";
	flex: none;
	width: 7px;
	height: 7px;
	margin-left: auto;
	margin-right: 2px;
	border-top: 1.6px solid currentColor;
	border-right: 1.6px solid currentColor;
	transform: rotate(45deg);
	opacity: .55;
}
body.mac #ast-desktop-header .main-header-menu .sub-menu .menu-item-has-children:hover > .menu-link,
body.mac #ast-desktop-header .main-header-menu .sub-menu .menu-item-has-children.focus > .menu-link { background: var(--mac-surface); }

/* Language switch */
body.mac .ast-header-html .ast-builder-html-element > p:empty { display: none; }
body.mac .mac-lang {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	padding: 3px;
	background: var(--mac-surface);
	border: 1px solid var(--mac-line);
	border-radius: 999px;
}
body.mac .mac-lang a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.35em;
	padding: .45em .6em;
	border-radius: 999px;
	font-family: var(--mac-sans);
	font-weight: 800;
	font-size: .74rem;
	line-height: 1;
	letter-spacing: .04em;
	color: var(--mac-ink-soft);
	text-decoration: none;
	transition: background-color .15s, color .15s;
}
body.mac .mac-lang a:hover { color: var(--mac-ink); }
body.mac .mac-lang a[aria-current="true"] { background: var(--mac-rose-deep); color: #fff; }

/* Header cart ([mac_cart]) */
body.mac .mac-cart {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--mac-surface);
	border: 1px solid var(--mac-line);
	color: var(--mac-ink);
	text-decoration: none;
	transition: background-color .18s, border-color .18s, color .18s;
}
body.mac .mac-cart:hover { background: var(--mac-rose-soft); border-color: var(--mac-rose); color: var(--mac-ink); }
body.mac .mac-cart svg { width: 21px; height: 21px; }
body.mac .mac-cart__count {
	position: absolute;
	top: -3px;
	right: -3px;
	min-width: 19px;
	height: 19px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--mac-rose-deep);
	color: #fff;
	font-size: .66rem;
	font-weight: 800;
	line-height: 19px;
	text-align: center;
	box-shadow: 0 0 0 2px var(--mac-bg);
}
body.mac .mac-cart__count[data-count="0"] { display: none; }
/* Astra's own cart element (not used in the header any more) */
body.mac .ast-site-header-cart .cart-container {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--mac-surface);
	border: 1px solid var(--mac-line);
	color: var(--mac-ink);
	transition: background-color .18s, border-color .18s;
}
body.mac .ast-site-header-cart .cart-container:hover { background: var(--mac-rose-soft); border-color: var(--mac-rose); }
body.mac .ast-site-header-cart .ast-addon-cart-wrap { padding: 0; border: 0 !important; background: none !important; }
body.mac .ast-site-header-cart .ast-icon-shopping-bag svg,
body.mac .ast-site-header-cart .ast-icon svg { width: 20px; height: 20px; fill: currentColor; color: var(--mac-ink); }
body.mac .ast-site-header-cart i.astra-icon::after {
	background: var(--mac-rose-deep);
	color: #fff;
	font-family: var(--mac-sans);
	font-weight: 800;
}
body.mac .ast-site-header-cart .widget_shopping_cart {
	border: 1px solid var(--mac-line);
	border-radius: 18px;
	box-shadow: var(--mac-shadow);
	background: var(--mac-white);
}

/* Astra's header grid sets overflow-wrap:anywhere, which lets the logo and the
   language switch break between letters when space gets tight. */
body.mac #ast-desktop-header .ast-builder-grid-row { overflow-wrap: normal; }
body.mac .site-title a,
body.mac .mac-lang a,
body.mac #ast-desktop-header .main-header-menu > .menu-item > .menu-link { white-space: nowrap; }
@media (min-width: 922px) and (max-width: 1199px) {
	/* five menu items + language switch + cart stay on one line on small laptops */
	body.mac #ast-desktop-header .site-primary-header-wrap { padding-inline: 28px; }
	body.mac #ast-desktop-header .main-header-menu > .menu-item > .menu-link { padding-inline: .8em; }
}
@media (min-width: 922px) and (max-width: 1023px) {
	body.mac #ast-desktop-header .site-primary-header-wrap { padding-inline: 20px; }
	body.mac #ast-desktop-header .site-header-primary-section-right { gap: 8px; }
	body.mac #ast-desktop-header .main-header-menu > .menu-item > .menu-link { padding-inline: .6em; font-size: .9rem; }
}

/* Mobile header */
body.mac #ast-mobile-header .site-primary-header-wrap { min-height: 64px; padding-inline: 20px; }
body.mac #ast-mobile-header .site-title { font-size: 1.22rem; }

/* ---------- Hero ---------- */
body.mac .mac-hero { padding-top: clamp(32px, 5vw, 72px); overflow: hidden; }
body.mac .mac-hero > .mac-wrap { display: grid; gap: 44px; align-items: center; }
@media (min-width: 940px) {
	body.mac .mac-hero > .mac-wrap { grid-template-columns: 1.05fr .95fr; gap: 56px; }
}
body.mac .mac-hero .mac-lede { margin-top: 1.15em; font-size: 1.12rem; }
body.mac .mac-hero .wp-block-buttons { margin-top: 2em; }
body.mac .mac-art {
	position: relative;
	width: min(100%, 440px);
	margin: 0 auto !important;
}
body.mac .mac-art::before {
	content: "";
	position: absolute;
	inset: -10% -16%;
	background: radial-gradient(closest-side, var(--mac-rose-soft), rgba(248, 225, 231, 0) 72%);
	z-index: 0;
	pointer-events: none;
}
body.mac .mac-art img {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 999px 999px var(--mac-radius-lg) var(--mac-radius-lg);
	box-shadow: var(--mac-shadow);
}

/* Trust strip */
body.mac .mac-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	margin: 2.4em 0 0 !important;
	padding: 0;
	list-style: none;
}
body.mac .mac-trust li {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	margin: 0;
	font-weight: 700;
	font-size: .9rem;
	color: var(--mac-ink-soft);
}
body.mac .mac-trust li::before {
	content: "";
	width: 16px;
	height: 16px;
	flex: none;
	background: var(--mac-sage);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Section head ---------- */
body.mac .mac-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 40px;
	margin: 0 0 clamp(28px, 4vw, 48px) !important;
}
body.mac .mac-head > * { margin: 0 !important; }
body.mac .mac-head .mac-lede { margin-top: .8em !important; }
body.mac .mac-more a {
	display: inline-flex;
	align-items: center;
	gap: .4em;
	padding-bottom: 2px;
	border-bottom: 1.5px solid var(--mac-rose);
	font-weight: 800;
	color: var(--mac-ink);
	transition: color .18s, border-color .18s;
}
body.mac .mac-more a:hover { color: var(--mac-rose-deep); border-color: var(--mac-rose-deep); }

/* ---------- Category tiles ---------- */
body.mac .mac-tiles {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px !important;
	margin: 0 !important;
}
body.mac .mac-tiles > .wp-block-column { flex-basis: auto !important; width: auto !important; margin: 0 !important; }
body.mac .mac-tile { display: flex; flex-direction: column; }
body.mac .mac-tile .wp-block-image a { display: block; }
body.mac .mac-tile > * { margin: 0 !important; }
body.mac .mac-tile .wp-block-image {
	margin-bottom: 1em !important;
	border-radius: var(--mac-radius);
	overflow: hidden;
	background: var(--mac-surface);
}
body.mac .mac-tile .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
body.mac .mac-tile:hover .wp-block-image img { transform: scale(1.04); }
body.mac .mac-tile h3 { font-size: 1.38rem; margin-bottom: .25em !important; }
body.mac .mac-tile h3 a { color: var(--mac-ink); }
body.mac .mac-tile h3 a:hover { color: var(--mac-rose-deep); }
body.mac .mac-tile p { color: var(--mac-ink-soft); }
body.mac .mac-tile--cta {
	justify-content: center;
	padding: clamp(28px, 3vw, 40px);
	border-radius: var(--mac-radius);
	background: var(--mac-surface-2);
}
body.mac .mac-tile--cta h3 { font-size: 1.6rem; line-height: 1.15; margin-bottom: .5em !important; }
body.mac .mac-tile--cta .wp-block-buttons { margin-top: 1.5em !important; }

/* ---------- Product grid (WooCommerce) ---------- */
body.mac .woocommerce ul.products,
body.mac ul.products {
	column-gap: 24px !important;
	row-gap: 44px !important;
}
body.mac .woocommerce ul.products li.product,
body.mac ul.products li.product {
	text-align: left;
	margin-bottom: 0;
}
body.mac ul.products li.product .astra-shop-thumbnail-wrap {
	position: relative;
	margin-bottom: 14px;
	border-radius: 20px;
	overflow: hidden;
	background: var(--mac-surface);
}
body.mac ul.products li.product .astra-shop-thumbnail-wrap img {
	display: block;
	margin: 0 !important;
	border-radius: 0;
	transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
body.mac ul.products li.product:hover .astra-shop-thumbnail-wrap img { transform: scale(1.04); }
body.mac ul.products li.product .ast-woo-product-category {
	display: block;
	margin-bottom: .4em;
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--mac-ink-soft);
}
body.mac .woocommerce ul.products li.product .woocommerce-loop-product__title,
body.mac ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--mac-sans);
	font-size: 1.02rem !important;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0;
	color: var(--mac-ink);
	margin: 0 0 .3em;
	padding: 0;
}
body.mac .woocommerce ul.products li.product .price,
body.mac ul.products li.product .price {
	font-family: var(--mac-sans);
	font-weight: 800;
	font-size: .98rem;
	color: var(--mac-ink);
	margin-bottom: .9em;
}
body.mac .woocommerce ul.products li.product .button,
body.mac ul.products li.product .button {
	background: transparent;
	color: var(--mac-ink);
	border: 1.5px solid var(--mac-line-strong);
	padding: .62em 1.15em;
	font-size: .86rem;
	box-shadow: none;
	margin-top: 0;
}
body.mac .woocommerce ul.products li.product .button:hover,
body.mac ul.products li.product .button:hover {
	background: var(--mac-rose);
	border-color: var(--mac-rose);
	color: var(--mac-ink);
}
body.mac ul.products li.product .added_to_cart {
	display: inline-block;
	margin-left: .8em;
	font-size: .86rem;
	font-weight: 800;
	color: var(--mac-rose-deep);
	text-decoration: none;
}
body.mac .woocommerce span.onsale,
body.mac span.onsale,
body.mac .ast-onsale-card {
	background: var(--mac-rose-deep);
	color: #fff;
	border-radius: 999px;
	min-height: 0;
	min-width: 0;
	padding: .38em .85em;
	line-height: 1.2;
	font-family: var(--mac-sans);
	font-size: .76rem;
	font-weight: 800;
	letter-spacing: .02em;
	box-shadow: none;
}

/* ---------- Split (about) ---------- */
body.mac .mac-split { display: grid; gap: 44px; align-items: center; }
@media (min-width: 940px) {
	body.mac .mac-split { grid-template-columns: .9fr 1.1fr; gap: 72px; }
}
body.mac .mac-figure {
	margin: 0 !important;
	border-radius: var(--mac-radius-lg);
	overflow: hidden;
	background: var(--mac-surface-2);
}
body.mac .mac-figure img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
body.mac .mac-split .wp-block-buttons { margin-top: 2em !important; }

/* Occasion chips */
body.mac .mac-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin: 1.6em 0 0 !important;
	padding: 0;
	list-style: none;
}
body.mac .mac-chips li { margin: 0; }
body.mac .mac-chips a {
	display: inline-block;
	padding: .5em 1.05em;
	border-radius: 999px;
	background: var(--mac-bg);
	border: 1px solid var(--mac-line);
	font-weight: 700;
	font-size: .86rem;
	color: var(--mac-rose-deep);
	transition: border-color .15s, background-color .15s;
}
body.mac .mac-chips a:hover { border-color: var(--mac-rose-deep); background: var(--mac-white); }

/* ---------- Ordering steps ---------- */
body.mac .mac-order { display: grid; gap: 40px; }
@media (min-width: 940px) {
	body.mac .mac-order { grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }
	body.mac .mac-order__intro { position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) + 110px); }
}
body.mac .mac-steps { margin: 0 !important; }
body.mac .mac-step {
	display: grid;
	grid-template-columns: 56px 1fr;
	gap: 18px;
	padding-block: 24px;
	margin: 0 !important;
	border-top: 1px solid var(--mac-line);
}
body.mac .mac-step:last-child { border-bottom: 1px solid var(--mac-line); }
body.mac .mac-step > * { margin: 0 !important; }
body.mac .mac-step__num {
	font-family: var(--mac-serif);
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.2;
	color: var(--mac-rose-deep);
}
body.mac .mac-step__body > * { margin: 0 !important; }
body.mac .mac-step__body h3 { margin-bottom: .3em !important; }
body.mac .mac-step__body p { color: var(--mac-ink-soft); }

/* Delivery badges */
body.mac .mac-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 2em 0 0 !important;
	padding: 0;
	list-style: none;
}
body.mac .mac-badges li {
	display: inline-flex;
	align-items: center;
	gap: .55em;
	margin: 0;
	padding: .6em 1.05em;
	border-radius: 14px;
	border: 1px solid var(--mac-line);
	background: var(--mac-white);
	font-weight: 800;
	font-size: .88rem;
	color: var(--mac-ink);
}
body.mac .mac-badges li::before {
	content: "";
	width: 9px;
	height: 9px;
	border-radius: 3px;
	background: var(--mac-rose-deep);
	flex: none;
}
body.mac .mac-order__intro .mac-note { margin-top: 1em !important; }

/* ---------- Call to action band ---------- */
body.mac .mac-cta { max-width: 720px; margin-inline: auto !important; text-align: center; }
body.mac .mac-cta .mac-eyebrow { justify-content: center; }
body.mac .mac-cta .mac-lede { margin: 1em auto 0 !important; }
body.mac .mac-cta .wp-block-buttons { justify-content: center; margin-top: 2em !important; }

/* ---------- Contact cards ---------- */
body.mac .mac-cards {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 16px;
	margin-top: 2.6em !important;
}
body.mac .mac-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0 !important;
	padding: 24px 22px;
	border-radius: 20px;
	border: 1px solid var(--mac-line);
	background: var(--mac-white);
	transition: transform .2s ease, box-shadow .2s ease;
}
body.mac .mac-card:hover { transform: translateY(-3px); box-shadow: var(--mac-shadow); }
body.mac .mac-card > * { margin: 0 !important; }
body.mac .mac-card::before {
	content: "";
	width: 26px;
	height: 26px;
	margin-bottom: 6px;
	background: var(--mac-rose-deep);
	-webkit-mask: var(--mac-icon) center / contain no-repeat;
	mask: var(--mac-icon) center / contain no-repeat;
}
body.mac .mac-card--mail { --mac-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='14' rx='2.5'/%3E%3Cpath d='M4.5 6.5l7.5 6.5 7.5-6.5'/%3E%3C/svg%3E"); }
body.mac .mac-card--pin { --mac-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.1-7-11.5A7 7 0 0 1 19 9.5C19 14.9 12 21 12 21Z'/%3E%3Ccircle cx='12' cy='9.5' r='2.6'/%3E%3C/svg%3E"); }
body.mac .mac-card--box { --mac-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 7.5 12 3.5l8.5 4v9L12 20.5l-8.5-4Z'/%3E%3Cpath d='M3.5 7.5 12 11.5l8.5-4M12 11.5v9'/%3E%3C/svg%3E"); }
body.mac .mac-card__k {
	font-size: .74rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--mac-ink-soft);
}
body.mac .mac-card__v { font-weight: 800; font-size: 1.02rem; color: var(--mac-ink); overflow-wrap: anywhere; }
body.mac .mac-card__v a { color: var(--mac-ink); }
body.mac .mac-card__v a:hover { color: var(--mac-rose-deep); }
body.mac .mac-card__n { font-size: .9rem; color: var(--mac-ink-soft); }

/* ---------- Footer ---------- */
body.mac .site-footer { background: var(--mac-bg); }
body.mac .site-footer .site-below-footer-wrap,
body.mac .site-footer .site-primary-footer-wrap {
	background: transparent !important;
	border-top: 1px solid var(--mac-line) !important;
}
body.mac .site-below-footer-wrap .ast-builder-grid-row { min-height: 0; padding-block: 40px 48px; }
body.mac .ast-footer-copyright { color: var(--mac-ink-soft); }
body.mac .ast-footer-copyright p { margin: 0; }
body.mac .mac-footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .85em;
	text-align: center;
}
body.mac .mac-footer__logo {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	font-family: var(--mac-serif);
	font-weight: 600;
	font-size: 1.2rem;
	color: var(--mac-ink) !important;
	text-decoration: none;
}
body.mac .mac-footer__logo img {
	display: block;
	width: 128px;
	height: 128px;
	border-radius: 50%;
	box-shadow: var(--mac-shadow-sm);
	transition: transform .2s ease;
}
body.mac .mac-footer__logo:hover img { transform: scale(1.03); }
body.mac .mac-footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4em 1.6em; }
body.mac .mac-footer__links a { font-weight: 700; font-size: .92rem; color: var(--mac-ink-soft); text-decoration: none; }
body.mac .mac-footer__links a:hover { color: var(--mac-rose-deep); }
body.mac .mac-footer__line { font-size: .85rem; color: var(--mac-ink-soft); }
body.mac .mac-footer__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: .3em 1.4em; }
body.mac .mac-footer__legal a {
	font-size: .84rem;
	color: var(--mac-ink-soft);
	text-decoration: underline;
	text-decoration-color: var(--mac-line-strong);
	text-underline-offset: 3px;
}
body.mac .mac-footer__legal a:hover { color: var(--mac-rose-deep); text-decoration-color: currentColor; }
body.mac .mac-footer__seller { max-width: 62ch; font-size: .8rem; line-height: 1.65; color: var(--mac-ink-soft); }
body.mac .mac-footer__seller a { color: inherit; text-decoration: none; }
body.mac .mac-footer__seller a:hover { color: var(--mac-rose-deep); }
body.mac .mac-nw { white-space: nowrap; }

/* Seller detail not filled in yet (Settings → Seller details) */
body.mac .mac-todo {
	display: inline-block;
	padding: 0 .45em;
	border: 1px dashed var(--mac-rose-deep);
	border-radius: 6px;
	background: var(--mac-rose-soft);
	color: var(--mac-rose-deep);
	font-weight: 700;
	line-height: 1.5;
}

/* ---------- Legal pages ---------- */
body.mac .mac-section .mac-legal { max-width: 780px; }
body.mac .mac-section .mac-legal .mac-title { font-size: clamp(2.1rem, 2.4vw + 1.3rem, 3.1rem) !important; }
body.mac .mac-section .mac-legal .mac-lede { margin-top: 1em; }
body.mac .mac-section .mac-legal__updated { margin-top: .8em; font-size: .9rem; color: var(--mac-ink-soft); }
body.mac .mac-section .mac-legal h2 {
	margin-top: 2.1em;
	font-size: clamp(1.3rem, .8vw + 1.05rem, 1.6rem);
	line-height: 1.25;
	scroll-margin-top: 110px;
}
body.mac .mac-section .mac-legal :is(p, li) { line-height: 1.7; }
body.mac .mac-section .mac-legal h2 + :is(p, ul, .mac-table-wrap, .mac-seller, .mac-formbox) { margin-top: .75em; }
body.mac .mac-section .mac-legal :is(p, ul, .mac-table-wrap, .mac-seller, .mac-formbox) + :is(p, ul, .mac-table-wrap, .mac-seller, .mac-formbox) { margin-top: 1em; }
body.mac .mac-section .mac-legal ul:not(.mac-toc) { padding-left: 1.25em; list-style: disc; }
body.mac .mac-section .mac-legal ul:not(.mac-toc) li + li { margin-top: .4em; }
body.mac .mac-section .mac-legal ul:not(.mac-toc) li::marker { color: var(--mac-rose-deep); }
body.mac .mac-section .mac-legal a:not(.wp-block-button__link) { color: var(--mac-rose-deep); }
body.mac .mac-section .mac-toc {
	margin-top: 1.8em;
	padding: 18px 24px;
	border-radius: 18px;
	background: var(--mac-surface);
	list-style: none;
	columns: 2 240px;
	column-gap: 32px;
}
body.mac .mac-section .mac-toc li { margin: 0; padding: .22em 0; break-inside: avoid; line-height: 1.45; }
body.mac .mac-section .mac-toc a { color: var(--mac-ink) !important; font-weight: 700; font-size: .95rem; }
body.mac .mac-section .mac-toc a:hover { color: var(--mac-rose-deep) !important; }
body.mac .mac-seller {
	display: grid;
	gap: .5em;
	margin: 0;
	padding: 18px 24px;
	border: 1px solid var(--mac-line);
	border-radius: 18px;
	background: var(--mac-white);
}
body.mac .mac-seller__row { display: grid; grid-template-columns: minmax(140px, 32%) 1fr; gap: 1em; }
body.mac .mac-seller dt { font-weight: 700; color: var(--mac-ink-soft); }
body.mac .mac-seller dd { margin: 0; }
body.mac .mac-table-wrap { overflow-x: auto; }
body.mac .mac-table { width: 100%; margin: 0; border: 0; border-collapse: collapse; font-size: .95rem; }
body.mac .mac-table :is(th, td) { padding: .7em .9em; border: 0; border-bottom: 1px solid var(--mac-line); text-align: left; vertical-align: top; background: none; }
body.mac .mac-table th { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--mac-ink-soft); }
body.mac .mac-table td:first-child { font-weight: 700; }
body.mac .mac-table code { font-size: .85em; background: var(--mac-surface); padding: .1em .35em; border-radius: 5px; overflow-wrap: anywhere; }
body.mac .mac-table__price { white-space: nowrap; }
body.mac .mac-formbox { padding: 22px 26px; border-radius: 18px; background: var(--mac-surface); }
body.mac .mac-section .mac-formbox p { margin: 0; line-height: 1.6; }
body.mac .mac-section .mac-formbox p + p { margin-top: .65em; }
@media (max-width: 544px) {
	body.mac .mac-seller__row { grid-template-columns: 1fr; gap: 0; }
	body.mac .mac-seller__row + .mac-seller__row { margin-top: .35em; }
	body.mac .mac-table { font-size: .88rem; }
	body.mac .mac-table :is(th, td) { padding: .6em .55em; }
	/* cookie list: one card-like row per cookie */
	body.mac .mac-table--cookies thead { display: none; }
	body.mac .mac-table--cookies tr {
		display: grid;
		grid-template-columns: 1fr auto;
		gap: .3em 1em;
		padding: .8em 0;
		border-bottom: 1px solid var(--mac-line);
	}
	body.mac .mac-table--cookies td { padding: 0; border: 0; }
	body.mac .mac-table--cookies td:first-child { grid-column: 1 / -1; }
	body.mac .mac-table--cookies td:last-child { max-width: 11em; text-align: right; color: var(--mac-ink-soft); }
}

/* ---------- Product page: manufacturer & safety (GPSR) ---------- */
body.mac .mac-safety {
	clear: both;
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid var(--mac-line);
	font-size: .88rem;
	line-height: 1.6;
	color: var(--mac-ink-soft);
}
body.mac .mac-safety p { margin: 0; }
body.mac .mac-safety .mac-safety__title {
	margin-bottom: .45em;
	font-size: .74rem;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--mac-ink);
}
body.mac .mac-safety strong { color: var(--mac-ink); }
body.mac .mac-safety a { color: inherit; }
body.mac .mac-safety ul { margin: .55em 0 0; padding-left: 1.15em; list-style: disc; }
body.mac .mac-safety li { margin: .2em 0; }

/* ---------- WooCommerce pages ---------- */
body.mac .woocommerce-breadcrumb { font-size: .85rem; color: var(--mac-ink-soft); }
body.mac .woocommerce-breadcrumb a { color: var(--mac-ink-soft); text-decoration: none; }
body.mac .woocommerce-breadcrumb a:hover { color: var(--mac-rose-deep); }
body.mac .woocommerce-result-count { color: var(--mac-ink-soft); font-size: .9rem; }
body.mac .woocommerce-ordering select {
	border-radius: 999px;
	padding: .6em 2.6em .6em 1.15em;
	font-weight: 700;
}
body.mac .term-description { color: var(--mac-ink-soft); max-width: 60ch; }

/* Forms */
body.mac input[type="text"],
body.mac input[type="email"],
body.mac input[type="tel"],
body.mac input[type="number"],
body.mac input[type="password"],
body.mac input[type="search"],
body.mac input[type="url"],
body.mac textarea,
body.mac select {
	border-radius: 12px;
	border: 1.5px solid var(--mac-line-strong);
	background-color: var(--mac-white);
	color: var(--mac-ink);
}
body.mac input:focus,
body.mac textarea:focus,
body.mac select:focus {
	border-color: var(--mac-rose-deep);
	box-shadow: 0 0 0 3px var(--mac-rose-soft);
	outline: 0;
}

/* Single product */
body.mac.single-product div.product .woocommerce-product-gallery {
	border-radius: 24px;
	overflow: hidden;
	background: var(--mac-surface);
}
body.mac.single-product div.product .woocommerce-product-gallery__trigger {
	background: var(--mac-white);
	border-radius: 50%;
	box-shadow: var(--mac-shadow-sm);
}
body.mac div.product .single-product-category a,
body.mac div.product .ast-woo-product-category {
	font-size: .76rem;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--mac-rose-deep);
	text-decoration: none;
}
body.mac div.product .product_title {
	font-size: clamp(2rem, 1.6vw + 1.4rem, 2.6rem) !important;
	line-height: 1.1;
	margin: .15em 0 .35em;
}
body.mac div.product .summary > p.price,
body.mac div.product .summary > span.price {
	font-family: var(--mac-serif) !important;
	font-weight: 600;
	font-size: 1.9rem !important;
	color: var(--mac-rose-deep) !important;
}
body.mac div.product .woocommerce-product-details__short-description { color: var(--mac-ink-soft); font-size: 1.08rem; }
body.mac div.product form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
body.mac div.product form.cart .quantity { margin: 0 !important; }
body.mac div.product form.cart .quantity .qty {
	width: 84px;
	height: 52px;
	border-radius: 999px;
	text-align: center;
	font-weight: 800;
}
body.mac div.product form.cart .single_add_to_cart_button {
	height: 52px;
	padding: 0 2.1em !important;
	box-shadow: var(--mac-shadow);
	margin: 0 !important;
}
body.mac div.product .product_meta {
	margin-top: 1.6em;
	padding-top: 1.1em;
	border-top: 1px solid var(--mac-line);
	font-size: .88rem;
	color: var(--mac-ink-soft);
}
body.mac div.product .product_meta > span { display: block; margin-bottom: .3em; }
body.mac div.product .woocommerce-tabs ul.tabs { border-bottom: 1px solid var(--mac-line) !important; }
body.mac div.product .woocommerce-tabs ul.tabs li a { font-weight: 800; color: var(--mac-ink-soft); }
body.mac div.product .woocommerce-tabs ul.tabs li.active a { color: var(--mac-ink); }
body.mac div.product .woocommerce-tabs ul.tabs li.active::before { background: var(--mac-rose-deep); }
body.mac .related.products > h2,
body.mac .up-sells > h2 { font-size: clamp(1.7rem, 2vw + 1rem, 2.2rem); margin-bottom: 1em; }

/* Notices */
body.mac .woocommerce-message,
body.mac .woocommerce-info,
body.mac .woocommerce-error {
	border: 1px solid var(--mac-line);
	border-radius: 14px;
	background: var(--mac-surface);
	color: var(--mac-ink);
}
body.mac .woocommerce-message::before,
body.mac .woocommerce-info::before { color: var(--mac-rose-deep); }

/* Cart & checkout blocks */
body.mac .wc-block-components-text-input input,
body.mac .wc-block-components-text-input textarea,
body.mac .wc-blocks-components-select .wc-blocks-components-select__select,
body.mac .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
body.mac .wc-block-components-textarea {
	border-radius: 12px !important;
	border: 1.5px solid var(--mac-line-strong) !important;
	background-color: var(--mac-white) !important;
}
body.mac .wc-block-components-text-input.is-active input:focus,
body.mac .wc-block-components-text-input input:focus { border-color: var(--mac-rose-deep) !important; box-shadow: 0 0 0 3px var(--mac-rose-soft) !important; }
body.mac .wc-block-components-checkout-step__title,
body.mac .wc-block-components-title.wc-block-components-title {
	font-family: var(--mac-serif);
	font-size: 1.35rem;
	font-weight: 600;
	color: var(--mac-ink);
}
body.mac .wc-block-components-radio-control--highlight-checked,
body.mac .wc-block-components-radio-control-accordion-option { border-radius: 14px; }
body.mac .wc-block-components-radio-control--highlight-checked::after { border-radius: 14px; border-color: var(--mac-line-strong) !important; }
body.mac .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
body.mac .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted {
	border-radius: 14px;
	box-shadow: inset 0 0 0 1.5px var(--mac-rose-deep);
	background: var(--mac-white);
}
body.mac .wc-block-components-radio-control__input:checked { border-color: var(--mac-rose-deep) !important; }
body.mac .wc-block-components-radio-control__input:checked::before { background: var(--mac-rose-deep) !important; }
body.mac .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked { background: var(--mac-rose-deep); border-color: var(--mac-rose-deep); }
body.mac .wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: #fff; }
body.mac .wp-block-woocommerce-checkout-order-summary-block,
body.mac .wc-block-components-sidebar .wc-block-components-panel,
body.mac .wp-block-woocommerce-cart-order-summary-block {
	border-radius: 20px;
	border-color: var(--mac-line) !important;
	background: var(--mac-white);
}
body.mac .wc-block-components-checkout-place-order-button,
body.mac .wc-block-cart__submit-button { min-height: 56px; font-size: 1rem; box-shadow: var(--mac-shadow); }
body.mac .wc-block-components-product-name { color: var(--mac-ink); font-weight: 700; text-decoration: none; }
body.mac .wc-block-cart-item__image img,
body.mac .wc-block-components-order-summary-item__image img { border-radius: 12px; }

/* ---------- Category chips (shop, categories, Sale) ---------- */
body.mac .mac-catnav { margin: 1.4em 0 2.2em; }
body.mac .mac-catnav__row {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 2px 2px 8px;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
body.mac .mac-catnav__row::-webkit-scrollbar { display: none; }
body.mac .mac-catnav__row li { margin: 0; flex: none; }
body.mac .mac-catnav__row a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: .5em 1.1em;
	border-radius: 999px;
	border: 1px solid var(--mac-line);
	background: var(--mac-white);
	color: var(--mac-ink);
	font-weight: 700;
	font-size: .9rem;
	line-height: 1.2;
	white-space: nowrap;
	text-decoration: none;
	transition: background-color .15s, border-color .15s, color .15s;
}
body.mac .mac-catnav__row a:hover { border-color: var(--mac-rose-deep); color: var(--mac-rose-deep); }
body.mac .mac-catnav__row a[aria-current] { background: var(--mac-rose-deep); border-color: var(--mac-rose-deep); color: #fff; }
body.mac .mac-catnav__row--sub { margin-top: 4px; }
body.mac .mac-catnav__row--sub a { min-height: 34px; padding: .4em .95em; font-size: .84rem; background: transparent; }
body.mac .mac-catnav__row--sub a[aria-current] { background: var(--mac-rose); border-color: var(--mac-rose); color: var(--mac-ink); }
body.mac .mac-section .mac-catnav { margin: 1.6em 0 2.4em !important; }
@media (max-width: 922px) {
	/* Let the scrolling chip rows run to the screen edge on phones and tablets. */
	body.mac .mac-catnav__row { margin-inline: calc(-1 * var(--mac-bleed, 20px)); padding-inline: var(--mac-bleed, 20px); }
	body.mac .mac-wrap .mac-catnav__row { --mac-bleed: var(--mac-pad); }
}

/* ---------- Empty state ---------- */
body.mac .mac-empty {
	margin: .5em 0 3em;
	padding: clamp(32px, 5vw, 56px) clamp(20px, 4vw, 48px);
	border-radius: var(--mac-radius);
	background: var(--mac-surface-2);
	text-align: center;
}
body.mac .mac-empty__title {
	margin: 0 0 .45em !important;
	font-family: var(--mac-serif);
	font-size: 1.55rem;
	font-weight: 600;
	line-height: 1.2;
	color: var(--mac-ink);
}
body.mac .mac-empty__text { max-width: 52ch; margin: 0 auto !important; color: var(--mac-ink-soft); }
body.mac .mac-empty__cta { margin: 1.5em 0 0 !important; }
body.mac .mac-empty__btn {
	display: inline-flex;
	align-items: center;
	padding: .9em 1.6em;
	border-radius: 999px;
	background: var(--mac-rose-deep);
	color: #fff !important;
	font-weight: 800;
	text-decoration: none !important;
	box-shadow: var(--mac-shadow);
	transition: background-color .18s, transform .18s;
}
body.mac .mac-empty__btn:hover { background: var(--mac-rose-press); transform: translateY(-2px); }

/* ---------- Reveal on scroll ---------- */
.mac-js body.mac .mac-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .7s ease, transform .7s ease;
}
.mac-js body.mac .mac-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.mac-js body.mac .mac-reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Mobile tab bar ----------
   Shown exactly when Astra switches to its mobile header (body.ast-header-break-point,
   set by Astra's early script), so there is never a width without navigation. */
.mac-tabbar { display: none; }
body.mac.ast-header-break-point { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
body.mac.ast-header-break-point .mac-tabbar { display: flex; }
@media (max-width: 922px) {
	body.mac.single-product .site-main { padding-top: 20px; }
	.mac-tabbar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 999;
		justify-content: space-around;
		align-items: center;
		padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
		background: rgba(252, 248, 245, .94);
		-webkit-backdrop-filter: saturate(1.3) blur(12px);
		backdrop-filter: saturate(1.3) blur(12px);
		border-top: 1px solid var(--mac-line);
		box-shadow: 0 -14px 30px -22px rgba(120, 60, 80, .35);
	}
	.mac-tabbar__item {
		position: relative;
		display: flex;
		flex: 1 1 0;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 3px;
		min-width: 0;
		min-height: 48px;
		padding: 6px 2px;
		border-radius: 14px;
		font-family: var(--mac-sans);
		font-size: .66rem;
		font-weight: 800;
		line-height: 1.1;
		color: var(--mac-ink-soft) !important;
		text-decoration: none;
		transition: color .15s, background-color .15s;
	}
	.mac-tabbar__item svg { width: 22px; height: 22px; }
	.mac-tabbar__label { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.mac-tabbar__item[aria-current="page"] { color: var(--mac-rose-deep) !important; background: var(--mac-surface-2); }
	.mac-tabbar__count {
		position: absolute;
		top: 1px;
		left: calc(50% + 3px);
		min-width: 17px;
		height: 17px;
		padding: 0 4px;
		border-radius: 999px;
		background: var(--mac-rose-deep);
		color: #fff;
		font-size: .62rem;
		font-weight: 800;
		line-height: 17px;
		text-align: center;
	}
	.mac-tabbar__count[data-count="0"] { display: none; }

	body.mac .mac-hero > .mac-wrap { gap: 36px; }
	body.mac .mac-art { width: min(100%, 360px); }
}
@media (max-width: 781px) {
	body.mac .mac-tiles { grid-template-columns: 1fr; gap: 32px !important; }
	body.mac .mac-tile .wp-block-image img { aspect-ratio: 4 / 3; }
	body.mac .mac-art { width: min(100%, 320px); }
	body.mac .mac-head { align-items: flex-start; }
}
