/**
 * Savoidakis Mega Menu - front-end styles.
 *
 * Everything is scoped under .smm-header. No global element selectors are used,
 * so the widget cannot leak styling into the theme and the theme's generic
 * header/nav rules are neutralised only inside this component.
 */

/* -----------------------------------------------------------------------
 * Design tokens
 * -------------------------------------------------------------------- */

.smm-header {
	/* Brand */
	--smm-accent: #d12f64;
	--smm-accent-size: 2px;
	--smm-accent-offset: 6px;
	--smm-ink: #1f1b18;
	--smm-line: rgba(31, 27, 24, .12);

	/* Header shell */
	--smm-header-min-height: 104px;
	--smm-content-max-width: 1380px;
	--smm-logo-width: 118px;
	--smm-logo-width-mobile: 96px;
	--smm-logo-gap: 48px;
	--smm-sticky-offset: 0px;
	--smm-z-index: 900;

	/* Navigation */
	--smm-nav-color: #1f1b18;
	--smm-nav-hover-color: #d12f64;
	--smm-nav-active-color: #d12f64;
	--smm-nav-gap: 30px;
	--smm-nav-item-padding: 6px 0;
	--smm-chevron-size: 6px;

	/* Actions */
	--smm-icon-color: #1f1b18;
	--smm-icon-size: 22px;
	--smm-b2b-color: #d12f64;
	--smm-b2b-border: #d12f64;
	--smm-b2b-hover-color: #fff;
	--smm-b2b-hover-bg: #d12f64;

	/* Mega panel */
	--smm-panel-bg: #fff;
	--smm-panel-padding: 40px 40px 44px;
	--smm-panel-col-gap: 36px;
	--smm-panel-max-width: 1380px;
	--smm-panel-offset: 0px;
	--smm-panel-radius: 0;
	--smm-panel-duration: 220ms;
	--smm-panel-heading-color: #1f1b18;
	--smm-panel-link-color: #4a423c;
	--smm-panel-link-hover-color: #d12f64;
	--smm-panel-viewall-color: #d12f64;
	--smm-panel-viewall-size: 11px;
	--smm-showcase-rail-width: 260px;
	--smm-showcase-promo-width: 300px;
	--smm-showcase-card-ratio: 3 / 2;
	--smm-showcase-card-media-share: 1.15fr;
	--smm-showcase-card-object: center center;
	--smm-promo-intro-width: 300px;
	--smm-service-columns: 2;
	--smm-service-media-share: .95fr;
	--smm-service-border: rgba(31, 27, 24, .10);
	--smm-service-radius: 10px;
	--smm-service-ratio: 11 / 12;
	--smm-service-gap: 32px;
	--smm-service-stacked-media: 300px;
	--smm-service-rule-width: 40px;
	--smm-promo-button-bg: #d12f64;
	--smm-promo-button-color: #fff;
	--smm-promo-button-hover-bg: #1f1b18;
	--smm-promo-button-hover-color: #fff;
	--smm-promo-button-radius: 999px;
	--smm-sublist-row-gap: 10px;
	--smm-subitem-bg: #fff;
	--smm-subitem-hover-bg: #faf8f7;
	--smm-subitem-thumb: 46px;
	--smm-ticker-height: 380px;
	--smm-ticker-duration: 26s;
	--smm-ticker-fade: 34px;
	--smm-showcase-card-max-height: 320px;
	--smm-showcase-promo-bg: #faf8f7;
	--smm-thumb-size: 48px;
	--smm-thumb-radius: 50%;
	--smm-feature-radius: 4px;
	--smm-feature-ratio: 4 / 3;
	--smm-menu-icon-size: 18px;
	--smm-menu-icon-color: #d12f64;
	--smm-backdrop-bg: rgba(20, 16, 14, .35);

	/* Drawer */
	--smm-drawer-bg: #fff;
	--smm-drawer-padding: 20px 22px 28px;
	--smm-drawer-width: 88vw;
	--smm-drawer-max-width: 420px;
	--smm-drawer-color: #1f1b18;
	--smm-drawer-active-color: #d12f64;
	--smm-drawer-line: rgba(31, 27, 24, .12);
	--smm-drawer-sub-color: #574f49;
	--smm-drawer-muted: #8c837c;
	--smm-drawer-field-bg: #faf8f7;
	--smm-drawer-field-radius: 2px;
	--smm-drawer-indent: 28px;
	--smm-drawer-thumb: 34px;
	--smm-drawer-row: 54px;
	--smm-drawer-z-index: 99999;
	--smm-overlay-bg: rgba(20, 16, 14, .52);
	--smm-burger-color: #1f1b18;
	--smm-burger-size: 44px;

	/*
	 * Runtime compaction multiplier.
	 *
	 * Elementor writes the tokens above into a higher-specificity rule
	 * (.elementor-element-xxx .smm-header), so is-compact/is-tight must not try
	 * to redefine them - they would always lose the cascade. Instead they change
	 * only this multiplier, which Elementor never sets, and the spacing rules
	 * below multiply the author's values by it.
	 */
	--smm-fit-scale: 1;
	/*
	 * Sticky shrink. Like --smm-fit-scale this is a multiplier the panel never
	 * writes, so `.smm-header.is-scrolled` (0,2,0) can change it without losing
	 * to Elementor's own `.elementor-element-N .smm-header` block, which is also
	 * (0,2,0) and would win on source order for any token it does set.
	 */
	--smm-shrink: 1;
	--smm-shrink-scrolled: .82;
	--smm-sticky-shadow: 0 6px 24px rgba(31, 27, 24, .07);

	position: relative;
	z-index: var(--smm-z-index);
	width: 100%;
	font-family: inherit;
	line-height: normal;
}

.smm-header,
.smm-header *,
.smm-header *::before,
.smm-header *::after {
	box-sizing: border-box;
}

.smm-header--sticky {
	position: sticky;
	top: var(--smm-sticky-offset);
}

/* Only a sticky header shrinks; a static one has nothing to shrink into. */
.smm-header--sticky.smm-header--shrink.is-scrolled {
	--smm-shrink: var(--smm-shrink-scrolled);
}

.smm-header--sticky.smm-header--shadow.is-scrolled .smm-header__shell {
	box-shadow: var(--smm-sticky-shadow);
}

@media (prefers-reduced-motion: reduce) {
	.smm-header__shell,
	.smm-header__desktop,
	.smm-header__mobile,
	.smm-brand__image {
		transition: none;
	}
}

/* -----------------------------------------------------------------------
 * Component reset - neutralises theme nav/button rules inside the widget only
 * -------------------------------------------------------------------- */

.smm-header ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.smm-header li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.smm-header li::marker {
	content: "";
}

.smm-header a {
	text-decoration: none;
	box-shadow: none;
}

/*
 * Elementor Site Settings -> Theme Style styles every anchor on the page with
 * `.elementor-kit-N a` (specificity 0,1,1) and `.elementor-kit-N a:hover`
 * (0,2,1). Those beat a single-class rule, so without this the header's links
 * inherit the global link colour, font, size, weight, transform and spacing.
 *
 * Two classes here outrank the kit while staying below both the component's own
 * rules further down this file (same 0,2,0, later in source order) and the
 * widget's Elementor controls (0,3,0, because their selectors are prefixed with
 * `{{WRAPPER}} .smm-header`). No !important is needed anywhere.
 */
.smm-header .smm-link,
.smm-header .smm-brand__link,
.smm-header .smm-action,
.smm-header .smm-mega__heading,
.smm-header .smm-mega__link,
.smm-header .smm-mega__viewall,
.smm-header .smm-mega__feature,
.smm-header .smm-drawer__link {
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	font-style: normal;
	text-transform: none;
	letter-spacing: normal;
	text-decoration: none;
}

.smm-header .smm-link:hover,
.smm-header .smm-link:focus,
.smm-header .smm-brand__link:hover,
.smm-header .smm-brand__link:focus,
.smm-header .smm-action:hover,
.smm-header .smm-action:focus,
.smm-header .smm-mega__heading:hover,
.smm-header .smm-mega__heading:focus,
.smm-header .smm-mega__link:hover,
.smm-header .smm-mega__link:focus,
.smm-header .smm-mega__viewall:hover,
.smm-header .smm-mega__viewall:focus,
.smm-header .smm-mega__feature:hover,
.smm-header .smm-mega__feature:focus,
.smm-header .smm-drawer__link:hover,
.smm-header .smm-drawer__link:focus {
	text-decoration: none;
}

.smm-header button {
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: inherit;
	font: inherit;
	line-height: 1;
	text-transform: none;
	cursor: pointer;
}

/*
 * Hello Elementor's reset.css paints every button on hover and focus:
 * `[type=button]:hover,[type=submit]:hover,button:hover{background-color:#c36;color:#fff}`.
 * Without an answer here the chevrons, the search and cart icons, the burger
 * and the drawer toggles all filled with a pink block on hover.
 *
 * Mind the arithmetic: an attribute selector carries class weight, so
 * `[type=button]:hover` is (0,2,0) - not (0,1,1) like the bare `button:hover`
 * beside it. This rule therefore has to reach (0,2,1) to clear it, which also
 * puts it above the components' resting (0,2,0) colours. Every button that
 * needs to keep its own colour through hover restates it at (0,2,1) further
 * down the file, where the later source order breaks the tie in its favour.
 */
.smm-header button:hover,
.smm-header button:focus {
	background: transparent;
	color: inherit;
	text-decoration: none;
}

.smm-header button::before,
.smm-header button::after {
	content: none;
}

/*
 * Responsive-image floor. Note the specificity: this is (0,1,1), the same as
 * Elementor's own `.elementor img{height:auto}`, so any component that needs a
 * picture to fill its box must reach (0,2,0) by prefixing `.smm-header` - a
 * bare `.smm-x__image{height:100%}` would silently lose to both.
 */
.smm-header img {
	max-width: 100%;
	height: auto;
}

/* -----------------------------------------------------------------------
 * Header shell and rows
 * -------------------------------------------------------------------- */

.smm-header__shell {
	position: relative;
	z-index: 2;
	width: 100%;
	min-height: calc(var(--smm-header-min-height) * var(--smm-shrink));
	background: #fff;
	transition: min-height .3s cubic-bezier(.22, .61, .36, 1), box-shadow .3s ease;
}

.smm-header__desktop,
.smm-header__mobile {
	display: flex;
	align-items: center;
	width: 100%;
	max-width: var(--smm-content-max-width);
	min-height: calc((var(--smm-header-min-height) - 28px) * var(--smm-shrink));
	transition: min-height .3s cubic-bezier(.22, .61, .36, 1);
	margin-inline: auto;
}

.smm-header--centered .smm-header__desktop {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	column-gap: max(12px, calc(var(--smm-logo-gap) * var(--smm-fit-scale)));
}

.smm-header--left .smm-header__desktop {
	gap: max(12px, calc(var(--smm-logo-gap) * var(--smm-fit-scale)));
	justify-content: flex-start;
}

.smm-header--centered .smm-nav--left {
	grid-column: 1;
	justify-self: stretch;
}

.smm-header--centered .smm-brand--desktop {
	grid-column: 2;
	justify-self: center;
}

.smm-header--centered .smm-header__end {
	grid-column: 3;
	justify-self: stretch;
}

.smm-header__end {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-width: 0;
}

.smm-header--left .smm-nav--left {
	flex: 1 1 auto;
	min-width: 0;
}

.smm-header__mobile {
	display: none;
	justify-content: space-between;
}

.smm-header__mobile-end {
	display: flex;
	align-items: center;
	gap: 6px;
}

/* -----------------------------------------------------------------------
 * Brand
 * -------------------------------------------------------------------- */

.smm-brand {
	display: flex;
	align-items: center;
	line-height: 1;
}

.smm-header .smm-brand__link {
	display: inline-flex;
	align-items: center;
	padding: 0;
	border: 0;
	background: transparent;
	/* Not `inherit`: that would pick up the kit's global body text colour. */
	color: var(--smm-ink);
}

.smm-brand__image {
	display: block;
	width: max(56px, calc(var(--smm-logo-width) * var(--smm-fit-scale) * var(--smm-shrink)));
	height: auto;
	transition: width .3s cubic-bezier(.22, .61, .36, 1);
}

.smm-brand--mobile .smm-brand__image {
	width: var(--smm-logo-width-mobile);
}

.smm-brand--panel .smm-brand__image {
	width: min(var(--smm-logo-width-mobile), 140px);
}

.smm-brand__text {
	font-size: 20px;
	font-weight: 700;
	color: var(--smm-ink);
}

/* -----------------------------------------------------------------------
 * Desktop navigation
 * -------------------------------------------------------------------- */

.smm-nav {
	min-width: 0;
}

.smm-menu {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: max(10px, calc(var(--smm-nav-gap) * var(--smm-fit-scale)));
	min-width: 0;
}

.smm-menu--left {
	justify-content: flex-end;
}

.smm-menu--right {
	justify-content: flex-start;
}

.smm-header--left .smm-menu--left {
	justify-content: flex-start;
}

.smm-menu > li {
	position: relative;
	display: flex;
	align-items: center;
	flex: 0 0 auto;
}

/* Mega panels span the whole header, so their item must not be a containing block. */
.smm-menu > li.smm-item--mega {
	position: static;
}

.smm-header .smm-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: var(--smm-nav-item-padding);
	color: var(--smm-nav-color);
	background: transparent;
	transition: color .2s ease;
}

.smm-menu > li > .smm-link {
	letter-spacing: .14em;
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
}

.smm-menu > li > .smm-link::after {
	position: absolute;
	right: 0;
	bottom: calc(var(--smm-accent-offset) * -1);
	left: 0;
	height: var(--smm-accent-size);
	background: var(--smm-accent);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform .22s ease;
	content: "";
}

.smm-menu > li:hover > .smm-link,
.smm-menu > li:focus-within > .smm-link,
.smm-menu > li.is-open > .smm-link {
	color: var(--smm-nav-hover-color);
}

.smm-menu > li.smm-item--current > .smm-link,
.smm-menu > li.smm-item--ancestor > .smm-link {
	color: var(--smm-nav-active-color);
}

.smm-menu > li:hover > .smm-link::after,
.smm-menu > li:focus-within > .smm-link::after,
.smm-menu > li.smm-item--current > .smm-link::after,
.smm-menu > li.smm-item--ancestor > .smm-link::after,
.smm-menu > li.is-open > .smm-link::after {
	transform: scaleX(1);
}

.smm-icon {
	flex: 0 0 auto;
	font-size: var(--smm-menu-icon-size);
	color: var(--smm-menu-icon-color);
}

/* Submenu toggle button */

.smm-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 20px;
	width: 20px;
	height: 40px;
	outline-offset: 2px;
}

/*
 * The chevron must track its menu item's colour. The component's own
 * `.smm-header button { color: inherit }` reset is (0,1,1), so a single-class
 * rule here would lose to it and the chevron would fall back to the body
 * colour while the label beside it changed colour.
 */
.smm-header .smm-menu > li > .smm-toggle {
	color: var(--smm-nav-color);
}

.smm-header .smm-menu > li:hover > .smm-toggle,
.smm-header .smm-menu > li:focus-within > .smm-toggle,
.smm-header .smm-menu > li.is-open > .smm-toggle {
	color: var(--smm-nav-hover-color);
}

.smm-header .smm-menu > li.smm-item--current > .smm-toggle,
.smm-header .smm-menu > li.smm-item--ancestor > .smm-toggle {
	color: var(--smm-nav-active-color);
}

.smm-header .smm-submenu .smm-toggle {
	color: var(--smm-panel-link-color);
}

.smm-header .smm-submenu li:hover > .smm-toggle,
.smm-header .smm-submenu li:focus-within > .smm-toggle {
	color: var(--smm-panel-link-hover-color);
}

.smm-chevron {
	display: block;
	width: var(--smm-chevron-size);
	height: var(--smm-chevron-size);
	border-right: 1.6px solid currentColor;
	border-bottom: 1.6px solid currentColor;
	transform: rotate(45deg) translate(-1px, -1px);
	transition: transform .2s ease;
}

.smm-menu > li:hover > .smm-toggle .smm-chevron,
.smm-menu > li.is-open > .smm-toggle .smm-chevron {
	transform: rotate(225deg) translate(-1px, -1px);
}

/* -----------------------------------------------------------------------
 * Panels - shared open/closed behaviour
 * -------------------------------------------------------------------- */

.smm-submenu,
.smm-mega {
	position: absolute;
	z-index: 40;
	visibility: hidden;
	opacity: 0;
	border-radius: var(--smm-panel-radius);
	background: var(--smm-panel-bg);
	transition:
		opacity var(--smm-panel-duration) ease,
		transform var(--smm-panel-duration) ease,
		visibility var(--smm-panel-duration);
}

.smm-header--anim-slide .smm-submenu,
.smm-header--anim-slide .smm-mega {
	transform: translateY(8px);
}

.smm-header--anim-none .smm-submenu,
.smm-header--anim-none .smm-mega {
	transition: none;
}

.smm-menu > li.is-open > .smm-submenu,
.smm-menu > li.is-open > .smm-mega {
	visibility: visible;
	opacity: 1;
	transform: translateY(0);
}

/* Standard dropdown */

.smm-submenu {
	top: calc(100% + var(--smm-panel-offset));
	left: 0;
	min-width: 240px;
	padding: 10px 0;
	box-shadow: 0 16px 34px rgba(31, 27, 24, .12);
}

.smm-submenu li {
	position: relative;
	display: flex;
	align-items: center;
}

.smm-submenu .smm-link {
	flex: 1 1 auto;
	padding: 9px 22px;
	color: var(--smm-panel-link-color);
	font-size: 14px;
	white-space: nowrap;
}

.smm-submenu .smm-link:hover,
.smm-submenu .smm-link:focus-visible,
.smm-submenu .smm-item--current > .smm-link {
	color: var(--smm-panel-link-hover-color);
}

/* Nested dropdown */

.smm-submenu .smm-submenu {
	top: -10px;
	left: 100%;
}

.smm-submenu li:hover > .smm-submenu,
.smm-submenu li:focus-within > .smm-submenu {
	visibility: visible;
	opacity: 1;
	transform: translateY(0);
}

.smm-submenu .smm-toggle {
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
}

.smm-submenu .smm-chevron {
	transform: rotate(-45deg);
}

/* Mega panel */

.smm-mega {
	top: calc(100% + var(--smm-panel-offset));
	right: 0;
	left: 0;
	overflow: hidden auto;
	max-height: calc(100vh - var(--smm-header-min-height) - 20px);
	max-height: calc(100dvh - var(--smm-header-min-height) - 20px);
	border-top: 1px solid var(--smm-line);
	box-shadow: 0 20px 40px rgba(31, 27, 24, .13);
}

.smm-mega__inner {
	display: flex;
	align-items: flex-start;
	gap: var(--smm-panel-col-gap);
	width: 100%;
	margin-inline: auto;
	padding: var(--smm-panel-padding);
}

.smm-header--panel-content .smm-mega__inner {
	max-width: var(--smm-content-max-width);
}

.smm-header--panel-custom .smm-mega__inner {
	max-width: var(--smm-panel-max-width);
}

.smm-header--panel-full .smm-mega__inner {
	max-width: none;
}

/*
 * Multi-column rather than grid: a grid couples the height of every cell in a
 * row, so groups with few children leave large gaps under them. CSS columns
 * balance the flow instead, and column-rule draws clean full-height dividers.
 */
.smm-mega__grid {
	flex: 1 1 auto;
	min-width: 0;
	column-count: var(--smm-columns, 4);
	column-gap: var(--smm-panel-col-gap);
	column-rule: 1px solid var(--smm-line);
}

.smm-mega__col {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	min-width: 0;
	margin: 0 0 26px;
	padding-right: calc(var(--smm-panel-col-gap) / 2);
	break-inside: avoid;
	page-break-inside: avoid;
}

.smm-mega__col:last-child {
	margin-bottom: 0;
}

.smm-header .smm-mega__heading {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	color: var(--smm-panel-heading-color);
	letter-spacing: .08em;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	transition: color .2s ease;
}

.smm-header .smm-mega__heading:hover,
.smm-header .smm-mega__heading:focus-visible {
	color: var(--smm-panel-link-hover-color);
}

.smm-mega__heading-media {
	display: block;
	flex: 0 0 var(--smm-thumb-size);
	overflow: hidden;
	width: var(--smm-thumb-size);
	height: var(--smm-thumb-size);
	border-radius: var(--smm-thumb-radius);
	background: #f2eeea;
}

.smm-header .smm-category-image,
.smm-header .smm-category-image--placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.smm-category-image--placeholder {
	background: linear-gradient(135deg, #f2eeea 0%, #ded6ce 100%);
}

.smm-mega__links {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.smm-header .smm-mega__link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 5px 0;
	color: var(--smm-panel-link-color);
	font-size: 14px;
	line-height: 1.4;
	transition: color .18s ease;
}

.smm-header .smm-mega__link:hover,
.smm-header .smm-mega__link:focus-visible {
	color: var(--smm-panel-link-hover-color);
}

.smm-mega__link span {
	min-width: 0;
	overflow-wrap: anywhere;
}

/*
 * Per-category icon, set under Products -> Categories. The box is reserved at a
 * fixed width so a column where only some categories carry an icon still keeps
 * one clean text edge.
 */
.smm-mega__link-icon {
	display: block;
	flex: 0 0 var(--smm-menu-icon-size);
	width: var(--smm-menu-icon-size);
	height: var(--smm-menu-icon-size);
	color: var(--smm-menu-icon-color);
	transition: color .18s ease;
}

.smm-mega__link-icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.smm-header .smm-mega__link:hover .smm-mega__link-icon,
.smm-header .smm-mega__link:focus-visible .smm-mega__link-icon {
	color: var(--smm-panel-link-hover-color);
}

.smm-mega__link-arrow {
	flex: 0 0 auto;
	width: 6px;
	height: 6px;
	margin-left: auto;
	border-top: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
	opacity: 0;
	transform: rotate(45deg);
	transition: opacity .18s ease;
}

.smm-mega__link:hover .smm-mega__link-arrow,
.smm-mega__link:focus-visible .smm-mega__link-arrow {
	opacity: 1;
}

.smm-mega__links--split {
	flex: 0 0 clamp(220px, 32%, 360px);
}

/*
 * "View all" link.
 *
 * Its position is a widget control (beside / under / bottom). In every variant
 * the link shares the column's left edge with the heading media and the link
 * list, so the whole column keeps one clean alignment line.
 */
.smm-header .smm-mega__viewall {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--smm-panel-viewall-color);
	letter-spacing: .06em;
	font-size: var(--smm-panel-viewall-size);
	font-weight: 700;
	line-height: 1.2;
}

/* Heading row: the wrapper exists so "beside" can sit next to the heading. */
.smm-mega__col-head {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.smm-mega__col-head .smm-mega__heading {
	flex: 1 1 auto;
	min-width: 0;
}

/* beside: pushed to the column's right edge, centred against the heading. */
.smm-mega--va-beside .smm-mega__col-head .smm-mega__viewall {
	flex: 0 0 auto;
	margin: 0;
	white-space: nowrap;
}

/* under: directly below the heading, flush with the column's left edge. */
.smm-mega--va-under .smm-mega__col > .smm-mega__viewall {
	margin: 2px 0 0;
}

.smm-mega--va-under .smm-mega__col > .smm-mega__links {
	margin-top: 4px;
}

/* bottom: after the links, separated from them. */
.smm-mega--va-bottom .smm-mega__col > .smm-mega__viewall {
	margin: 8px 0 0;
}

/* The arrow scales with the label so it never floats off the baseline. */
.smm-mega__viewall .smm-mega__viewall-arrow {
	width: .5em;
	height: .5em;
}

.smm-mega__viewall-arrow {
	width: 6px;
	height: 6px;
	border-top: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
	transform: rotate(45deg);
	transition: transform .18s ease;
}

.smm-mega__viewall:hover .smm-mega__viewall-arrow {
	transform: rotate(45deg) translate(2px, -2px);
}

/* -----------------------------------------------------------------------
 * Showcase panel: link rail + a card that swaps with the hovered link + promo
 * -------------------------------------------------------------------- */

.smm-mega--showcase .smm-mega__inner {
	display: grid;
	grid-template-columns: var(--smm-showcase-rail-width) minmax(0, 1fr) var(--smm-showcase-promo-width);
	align-items: start;
	gap: var(--smm-panel-col-gap);
}

.smm-mega--showcase-nopromo .smm-mega__inner {
	grid-template-columns: var(--smm-showcase-rail-width) minmax(0, 1fr);
}

.smm-mega--showcase-nostage .smm-mega__inner {
	grid-template-columns: minmax(0, 1fr) var(--smm-showcase-promo-width);
}

.smm-mega--showcase-nostage.smm-mega--showcase-nopromo .smm-mega__inner {
	grid-template-columns: minmax(0, 1fr);
}

/* Link rail */

.smm-showcase__rail {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.smm-showcase__rail > li + li {
	border-top: 1px solid var(--smm-line);
}

.smm-header .smm-showcase__tab {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 56px;
	padding: 10px 6px;
	color: var(--smm-panel-link-color);
	font-size: 15px;
	line-height: 1.35;
	transition: color .18s ease;
}

.smm-header .smm-showcase__tab:hover,
.smm-header .smm-showcase__tab:focus-visible,
.smm-header .smm-showcase__tab.is-active {
	color: var(--smm-panel-link-hover-color);
}

.smm-showcase__tab-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: var(--smm-menu-icon-size);
	height: var(--smm-menu-icon-size);
	color: var(--smm-menu-icon-color);
}

.smm-showcase__tab-icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.smm-showcase__tab:hover .smm-showcase__tab-icon,
.smm-showcase__tab.is-active .smm-showcase__tab-icon {
	color: var(--smm-panel-link-hover-color);
}

.smm-showcase__tab-label {
	min-width: 0;
	overflow-wrap: anywhere;
}

/* Swapping card */

.smm-showcase__stage {
	position: relative;
	min-width: 0;
}

.smm-header .smm-showcase__card {
	display: none;
	min-width: 0;
	color: var(--smm-panel-link-color);
}

.smm-header .smm-showcase__card.is-active {
	display: grid;
	animation: smm-fade-in .2s ease both;
}

/*
 * Stacked: image above, copy below.
 */
.smm-mega--card-stacked .smm-showcase__card {
	grid-template-columns: minmax(0, 1fr);
	align-content: start;
}

/*
 * Split: copy on one side, image on the other.
 *
 * The media keeps its own aspect ratio instead of being stretched to the text
 * column's height, so the photo is never squashed or cropped to an arbitrary
 * shape. The copy is centred against it.
 */
.smm-mega--card-text-left .smm-showcase__card,
.smm-mega--card-text-right .smm-showcase__card {
	grid-template-columns: minmax(0, 1fr) minmax(0, var(--smm-showcase-card-media-share));
	/* Copy starts level with the top of the picture, not floating in the middle. */
	align-items: start;
	gap: var(--smm-panel-col-gap);
}

/*
 * The markup order is media then body, so "text left" has to swap them; "image
 * left" keeps the natural order and only changes the column proportions.
 */
.smm-mega--card-text-left .smm-showcase__card-body {
	order: 1;
}

.smm-mega--card-text-left .smm-showcase__card-media {
	order: 2;
}

.smm-mega--card-text-right .smm-showcase__card {
	grid-template-columns: minmax(0, var(--smm-showcase-card-media-share)) minmax(0, 1fr);
}

.smm-showcase__card-media {
	display: block;
	overflow: hidden;
	width: 100%;
	aspect-ratio: var(--smm-showcase-card-ratio);
	border-radius: var(--smm-feature-radius);
	background: #f2eeea;
}

/* Only the stacked card needs a height cap; the split one is ratio-bound. */
.smm-mega--card-stacked .smm-showcase__card-media {
	max-height: var(--smm-showcase-card-max-height);
}

.smm-header .smm-showcase__card-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var(--smm-showcase-card-object);
	transition: transform .35s ease;
}

.smm-showcase__card:hover .smm-header .smm-showcase__card-image {
	transform: scale(1.03);
}

.smm-showcase__card-body {
	display: block;
	min-width: 0;
}

.smm-mega--card-stacked .smm-showcase__card-body {
	padding: 16px 2px 0;
}

/* Nested list card: rows on one side, a picture that follows the hovered row. */

.smm-header .smm-showcase__card--list {
	align-items: start;
}

.smm-showcase__card--list .smm-showcase__card-body {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.smm-mega--card-text-left .smm-showcase__card--list .smm-showcase__card-body {
	order: 1;
}

.smm-mega--card-text-left .smm-showcase__card--list .smm-showcase__substack {
	order: 2;
}

/*
 * Auto-scrolling list.
 *
 * The track holds the rows twice, so animating it by exactly -50% loops without
 * a seam. Hover or keyboard focus anywhere in the viewport pauses it, which is
 * what lets you stop on a row and look at its photograph. The mask softens the
 * top and bottom edges so rows fade rather than get sliced.
 */
.smm-showcase__ticker-viewport {
	position: relative;
	overflow: hidden;
	min-width: 0;
	/* A cap, not a fixed size: a short list keeps its natural height. */
	max-height: var(--smm-ticker-height);
}

.smm-showcase__ticker-viewport.is-ticking {
	height: var(--smm-ticker-height);
}

.smm-showcase__ticker-viewport.is-ticking {
	-webkit-mask-image: linear-gradient(
		to bottom,
		transparent 0,
		#000 var(--smm-ticker-fade),
		#000 calc(100% - var(--smm-ticker-fade)),
		transparent 100%
	);
	mask-image: linear-gradient(
		to bottom,
		transparent 0,
		#000 var(--smm-ticker-fade),
		#000 calc(100% - var(--smm-ticker-fade)),
		transparent 100%
	);
}

/* Short enough to fit: no animation, no duplicate, and nothing is clipped. */
.smm-showcase__ticker-viewport:not(.is-ticking) .smm-showcase__sublist--clone {
	display: none;
}

.smm-showcase__ticker-viewport.is-ticking .smm-showcase__ticker {
	animation: smm-ticker var(--smm-ticker-duration) linear infinite;
	will-change: transform;
}

/*
 * Each copy carries the gap that follows it, so the two copies are exactly the
 * same height and -50% lands precisely on the start of the second one. Putting
 * the gap on the track instead would leave the loop half a gap out of register.
 */
.smm-showcase__ticker-viewport.is-ticking .smm-showcase__sublist {
	padding-bottom: var(--smm-sublist-row-gap);
}

.smm-showcase__ticker-viewport.is-ticking:hover .smm-showcase__ticker,
.smm-showcase__ticker-viewport.is-ticking:focus-within .smm-showcase__ticker {
	animation-play-state: paused;
}

@keyframes smm-ticker {
	from { transform: translateY(0); }
	to   { transform: translateY(-50%); }
}

/*
 * Reduced motion: never animate. The list becomes a normal scrollable box so
 * every store is still reachable.
 */
@media (prefers-reduced-motion: reduce) {
	.smm-showcase__ticker-viewport.is-ticking {
		overflow-y: auto;
	}

	.smm-showcase__ticker-viewport.is-ticking .smm-showcase__ticker {
		animation: none;
	}

	.smm-showcase__ticker-viewport.is-ticking .smm-showcase__sublist--clone {
		display: none;
	}
}

.smm-showcase__sublist {
	display: grid;
	grid-template-columns: repeat(var(--smm-sublist-columns, 1), minmax(0, 1fr));
	align-content: start;
	gap: var(--smm-sublist-row-gap) var(--smm-panel-col-gap);
	min-width: 0;
}

/* Each row is a small card. */
.smm-header .smm-showcase__subitem {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	padding: 9px 14px 9px 10px;
	border: 1px solid var(--smm-line);
	border-radius: var(--smm-feature-radius);
	background: var(--smm-subitem-bg);
	color: var(--smm-panel-link-color);
	font-size: 14px;
	line-height: 1.3;
	transition: border-color .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.smm-header .smm-showcase__subitem:hover,
.smm-header .smm-showcase__subitem:focus-visible,
.smm-header .smm-showcase__subitem.is-active {
	border-color: var(--smm-accent);
	background: var(--smm-subitem-hover-bg);
	color: var(--smm-panel-link-hover-color);
	box-shadow: 0 4px 14px rgba(31, 27, 24, .07);
}

.smm-showcase__subitem-thumb {
	display: block;
	overflow: hidden;
	flex: 0 0 var(--smm-subitem-thumb);
	width: var(--smm-subitem-thumb);
	height: var(--smm-subitem-thumb);
	border-radius: calc(var(--smm-feature-radius) * .75);
	background: #f2eeea;
}

.smm-header .smm-showcase__subitem-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.smm-showcase__subitem-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.smm-showcase__subitem-label {
	min-width: 0;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.smm-showcase__subitem-meta {
	min-width: 0;
	opacity: .6;
	font-size: .82em;
	font-weight: 400;
}

.smm-showcase__subitem-icon {
	flex: 0 0 auto;
	width: 1em;
	height: 1em;
	color: var(--smm-menu-icon-color);
}

/* The picture stack keeps one frame; only the active picture is painted. */
.smm-showcase__substack {
	position: relative;
	min-width: 0;
	aspect-ratio: var(--smm-showcase-card-ratio);
}

.smm-showcase__substack .smm-showcase__card-media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	aspect-ratio: auto;
	opacity: 0;
	visibility: hidden;
	transition: opacity .22s ease, visibility .22s;
}

/*
 * `inherit`, never `visible`. visibility is an inherited property, so a
 * descendant that declares `visible` switches itself back on even inside a
 * `visibility: hidden` ancestor - and a closed mega panel is exactly that.
 * With `visible` here the active store picture stayed hit-testable after the
 * panel closed, leaving an invisible 560x380 patch on the right of the page
 * that re-opened Η ΕΤΑΙΡΙΑ whenever the pointer crossed it.
 */
.smm-showcase__substack .smm-showcase__card-media.is-active {
	opacity: 1;
	visibility: inherit;
}

.smm-showcase__card--list .smm-showcase__card-cta {
	margin-top: 16px;
}

.smm-showcase__card-cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 14px;
	color: var(--smm-panel-viewall-color);
	letter-spacing: .06em;
	font-size: var(--smm-panel-viewall-size);
	font-weight: 700;
	line-height: 1.2;
}

.smm-showcase__card-cta .smm-mega__viewall-arrow {
	width: .5em;
	height: .5em;
}

.smm-showcase__card:hover .smm-showcase__card-cta .smm-mega__viewall-arrow {
	transform: rotate(45deg) translate(2px, -2px);
}

.smm-showcase__card-title {
	display: block;
	color: var(--smm-panel-heading-color);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
}

.smm-showcase__card-text {
	display: block;
	margin-top: 6px;
	font-size: 14px;
	line-height: 1.55;
}

/* Promo card */

.smm-header .smm-showcase__promo {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	min-width: 0;
	padding: 22px;
	border-radius: var(--smm-feature-radius);
	background: var(--smm-showcase-promo-bg);
	color: var(--smm-panel-link-color);
}

.smm-showcase__promo-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	margin-bottom: 6px;
	color: var(--smm-menu-icon-color);
}

.smm-showcase__promo-icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.smm-showcase__promo-title {
	display: block;
	color: var(--smm-panel-heading-color);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}

.smm-showcase__promo-text {
	display: block;
	font-size: 14px;
	line-height: 1.5;
}

.smm-showcase__promo-media {
	display: block;
	overflow: hidden;
	width: 100%;
	margin-top: 14px;
	aspect-ratio: 16 / 11;
	border-radius: calc(var(--smm-feature-radius) / 1.5);
	background: #efeae6;
}

.smm-header .smm-showcase__promo-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.smm-showcase__promo-cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 14px;
	color: var(--smm-panel-viewall-color);
	letter-spacing: .06em;
	font-size: 12px;
	font-weight: 700;
}

a.smm-showcase__promo:hover .smm-showcase__promo-cta .smm-mega__viewall-arrow {
	transform: rotate(45deg) translate(2px, -2px);
}

@keyframes smm-fade-in {
	from { opacity: 0; transform: translateY(6px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* Stack the showcase on narrower desktop widths. */

@media (max-width: 1320px) {
	.smm-mega--card-text-left .smm-showcase__card,
	.smm-mega--card-text-right .smm-showcase__card {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	/* Stacked on narrow desktops: put the photo first again. */
	.smm-mega--card-text-left .smm-showcase__card-body {
		order: 2;
	}

	.smm-mega--card-text-left .smm-showcase__card-media,
	.smm-mega--card-text-left .smm-showcase__card--list .smm-showcase__substack {
		order: 1;
	}

	.smm-showcase__sublist {
		grid-template-columns: repeat(min(var(--smm-sublist-columns, 2), 2), minmax(0, 1fr));
	}
}

@media (max-width: 1200px) {
	.smm-mega--showcase .smm-mega__inner,
	.smm-mega--showcase-nopromo .smm-mega__inner,
	.smm-mega--showcase-nostage .smm-mega__inner {
		grid-template-columns: minmax(220px, 1fr) minmax(0, 1.4fr);
	}

	.smm-mega--showcase .smm-showcase__promo {
		grid-column: 1 / -1;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		gap: 14px;
	}

	.smm-mega--showcase .smm-showcase__promo-media {
		flex: 0 0 160px;
		width: 160px;
		margin-top: 0;
	}
}

/* -----------------------------------------------------------------------
 * Service cards: picture beside copy, one card per child
 * -------------------------------------------------------------------- */

.smm-services__grid {
	display: grid;
	/*
	 * No column gap here: each card pads its own inner sides by half a gap and
	 * the divider rides on the card border, so the rule lands exactly halfway
	 * between two cards - the same construction as the shop column-rule.
	 */
	grid-template-columns: repeat(var(--smm-service-columns, 2), minmax(0, 1fr));
	align-items: stretch;
	width: 100%;
	min-width: 0;
}

.smm-service {
	display: grid;
	grid-template-columns: minmax(0, var(--smm-service-media-share)) minmax(0, 1fr);
	align-items: stretch;
	gap: var(--smm-service-gap);
	min-width: 0;
	padding-inline: calc(var(--smm-panel-col-gap) / 2);
	border-left: 1px solid var(--smm-line);
}

/* The renderer marks the first and last card of every row, so the rule stays
   correct when the cards wrap onto a second row. */
.smm-service--row-start {
	padding-inline-start: 0;
	border-left: 0;
}

.smm-service--row-end {
	padding-inline-end: 0;
}

.smm-service__media {
	position: relative;
	display: block;
	overflow: hidden;
	min-width: 0;
	/* Stretches to the card height; the ratio is the minimum it will take. */
	aspect-ratio: var(--smm-service-ratio);
	border-radius: var(--smm-service-radius);
	background: #f2eeea;
}

/*
 * Absolute rather than height:100% - a percentage height does not resolve
 * against a box whose own height came from aspect-ratio, so the picture would
 * fall back to its intrinsic ratio and leave a strip of the placeholder
 * showing underneath.
 */
.smm-header .smm-service__image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}

.smm-service:hover .smm-header .smm-service__image {
	transform: scale(1.03);
}

.smm-service__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
	/* No top padding: the title cap aligns with the top of the picture. */
	padding: 0 4px 28px 0;
}

.smm-header .smm-service__title {
	display: block;
	color: var(--smm-panel-heading-color);
	letter-spacing: .01em;
	font-size: 21px;
	font-weight: 700;
	line-height: 1.25;
	transition: color .18s ease;
}

.smm-header .smm-service__title:hover,
.smm-header .smm-service__title:focus-visible {
	color: var(--smm-panel-link-hover-color);
}

/* Short accent rule under the heading. */
.smm-service__rule {
	display: block;
	width: var(--smm-service-rule-width);
	height: 2px;
	margin: 14px 0 18px;
	background: var(--smm-accent);
}

.smm-service__text {
	display: block;
	color: var(--smm-panel-link-color);
	font-size: 15px;
	line-height: 1.6;
}

/* Tag chips, one per grandchild. */
.smm-service__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: 18px;
	min-width: 0;
}

.smm-header .smm-service__chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border: 1px solid var(--smm-service-border);
	border-radius: 8px;
	color: var(--smm-panel-link-color);
	font-size: 13px;
	line-height: 1.2;
	white-space: nowrap;
	transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}

.smm-header .smm-service__chip:hover,
.smm-header .smm-service__chip:focus-visible {
	border-color: var(--smm-accent);
	background: var(--smm-subitem-hover-bg);
	color: var(--smm-panel-link-hover-color);
}

.smm-service__chip-icon {
	flex: 0 0 auto;
	width: 15px;
	height: 15px;
	color: var(--smm-menu-icon-color);
}

.smm-service__chip-icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

/* Bottom link with a long arrow, pinned to the foot of the card. */
.smm-header .smm-service__link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-top: auto;
	padding-top: 22px;
	color: var(--smm-panel-viewall-color);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
}

.smm-service__arrow {
	position: relative;
	display: block;
	width: 18px;
	height: 1.5px;
	background: currentColor;
	transition: transform .2s ease;
}

.smm-service__arrow::after {
	position: absolute;
	top: 50%;
	right: 0;
	width: 6px;
	height: 6px;
	border-top: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
	transform: translateY(-50%) rotate(45deg);
	content: "";
}

.smm-header .smm-service__link:hover .smm-service__arrow {
	transform: translateX(4px);
}

/*
 * Stacked: the vertical rule becomes a horizontal one between the cards, and
 * the picture column gets a hard cap - a share of the full panel width would
 * blow the photograph up to half the viewport and make the panel taller than
 * the screen.
 */
@media (max-width: 1320px) {
	.smm-services__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.smm-service {
		grid-template-columns: minmax(0, var(--smm-service-stacked-media)) minmax(0, 1fr);
		padding-inline: 0;
		border-left: 0;
	}

	.smm-service + .smm-service {
		margin-top: var(--smm-panel-col-gap);
		padding-top: var(--smm-panel-col-gap);
		border-top: 1px solid var(--smm-line);
	}

	.smm-service__body {
		padding-bottom: 0;
	}
}

/* Narrower still: the picture goes above the copy, kept to a letterbox. */
@media (max-width: 760px) {
	.smm-service {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
	}

	.smm-service__media {
		aspect-ratio: 16 / 9;
	}
}
/* -----------------------------------------------------------------------
 * Intro + product cards panel
 * -------------------------------------------------------------------- */

.smm-mega--promo-grid .smm-mega__inner {
	display: grid;
	grid-template-columns: var(--smm-promo-intro-width) minmax(0, 1fr);
	align-items: start;
	/*
	 * Half a gap here, a full gap of padding on the intro. That puts the intro's
	 * divider the same distance from its text as the column-rules are from
	 * theirs, and the same distance from the next column - mirroring the
	 * category rhythm instead of reversing it.
	 */
	column-gap: calc(var(--smm-panel-col-gap) / 2);
	row-gap: 0;
}

/* Intro column */

/*
 * The divider on the right of the intro matches the column-rule that separates
 * the categories: same colour, same thickness, and the same half-gap of space
 * on each side, so the whole row reads as one set of columns.
 */
.smm-promo__intro {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
	padding-right: var(--smm-panel-col-gap);
	border-right: 1px solid var(--smm-line);
}

.smm-promo__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	margin-bottom: 10px;
	color: var(--smm-menu-icon-color);
}

.smm-promo__icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.smm-promo__title {
	display: block;
	color: var(--smm-panel-heading-color);
	font-size: 19px;
	font-weight: 700;
	line-height: 1.25;
}

.smm-promo__text {
	display: block;
	margin-top: 10px;
	color: var(--smm-panel-link-color);
	font-size: 14px;
	line-height: 1.6;
}

/* The call-to-action button. */
.smm-header .smm-promo__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 20px;
	padding: 13px 26px;
	border: 1px solid var(--smm-promo-button-bg);
	border-radius: var(--smm-promo-button-radius);
	background: var(--smm-promo-button-bg);
	color: var(--smm-promo-button-color);
	letter-spacing: .04em;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.smm-header .smm-promo__button:hover,
.smm-header .smm-promo__button:focus-visible {
	border-color: var(--smm-promo-button-hover-bg);
	background: var(--smm-promo-button-hover-bg);
	color: var(--smm-promo-button-hover-color);
	transform: translateY(-1px);
}

/* Footer strip: hairline across the panel, button centred beneath it. */
.smm-promo__footer {
	grid-column: 1 / -1;
	margin-top: 30px;
	padding-top: 26px;
	border-top: 1px solid var(--smm-line);
	text-align: center;
}

.smm-header .smm-promo__all {
	margin-top: 0;
}

@media (max-width: 1320px) {
	.smm-mega--promo-grid .smm-mega__inner {
		grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
	}
}

/* Feature block */

.smm-header .smm-mega__feature {
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex: 0 0 clamp(240px, 30%, 420px);
	min-width: 0;
	color: var(--smm-panel-link-color);
}

.smm-mega__feature-media {
	display: block;
	overflow: hidden;
	width: 100%;
	aspect-ratio: var(--smm-feature-ratio);
	border-radius: var(--smm-feature-radius);
	background: #f2eeea;
}

.smm-header .smm-mega__feature-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.smm-mega__feature-title {
	display: block;
	color: var(--smm-panel-heading-color);
	letter-spacing: .08em;
	font-size: 13px;
	font-weight: 700;
}

.smm-mega__feature-text {
	display: block;
	margin-top: 4px;
	font-size: 14px;
	line-height: 1.5;
}

a.smm-mega__feature:hover .smm-mega__feature-title {
	color: var(--smm-panel-link-hover-color);
}

/* -----------------------------------------------------------------------
 * Header actions
 * -------------------------------------------------------------------- */

.smm-actions {
	display: flex;
	align-items: center;
	gap: 14px;
	flex: 0 0 auto;
}

.smm-header .smm-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--smm-icon-color);
	transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.smm-header .smm-action--b2b {
	min-height: 38px;
	padding: 8px 22px;
	border: 1px solid var(--smm-b2b-border);
	color: var(--smm-b2b-color);
	letter-spacing: .14em;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}

.smm-header .smm-action--b2b:hover,
.smm-header .smm-action--b2b:focus-visible {
	border-color: var(--smm-b2b-hover-bg);
	background: var(--smm-b2b-hover-bg);
	color: var(--smm-b2b-hover-color);
}

.smm-action--icon {
	position: relative;
	width: calc(var(--smm-icon-size) + 16px);
	height: calc(var(--smm-icon-size) + 16px);
}

.smm-header .smm-action--icon:hover,
.smm-header .smm-action--icon:focus-visible {
	color: var(--smm-accent);
}

.smm-action__icon {
	display: block;
	width: var(--smm-icon-size);
	height: var(--smm-icon-size);
}

.smm-action__count {
	position: absolute;
	top: 2px;
	right: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	border-radius: 9px;
	background: var(--smm-accent);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
}

.smm-action__count.is-empty {
	display: none;
}

.smm-action--block {
	justify-content: center;
	width: 100%;
	margin-top: 10px;
}

/* Search field */

.smm-search {
	max-width: var(--smm-content-max-width);
	margin-inline: auto;
	padding-bottom: 16px;
}

.smm-search[hidden] {
	display: none;
}

.smm-search__form {
	display: flex;
	align-items: stretch;
	gap: 8px;
	width: 100%;
}

.smm-search__input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 10px 14px;
	border: 1px solid var(--smm-line);
	border-radius: 0;
	background: #fff;
	color: var(--smm-ink);
	font-size: 15px;
}

.smm-search__input:focus {
	border-color: var(--smm-accent);
	outline: none;
}

/* Scoped to out-specify the `.smm-header button` reset, which is (0,1,1). */
.smm-header .smm-search__submit {
	padding: 10px 20px;
	background: var(--smm-accent);
	color: #fff;
	letter-spacing: .1em;
	font-size: 12px;
	font-weight: 700;
}

.smm-header .smm-search__submit:hover,
.smm-header .smm-search__submit:focus {
	background: var(--smm-accent);
	color: #fff;
}

/*
 * Drawer search: the form is the field, the input and the button sit inside it
 * with no chrome of their own. One rectangle instead of a box plus a slab of
 * pink - the drawer only has room for one loud element and that is the B2B pill.
 */
.smm-drawer__search {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	width: 100%;
	border: 1px solid var(--smm-drawer-line);
	border-radius: var(--smm-drawer-field-radius);
	background: var(--smm-drawer-field-bg);
	transition: border-color .18s ease, background-color .18s ease;
}

.smm-drawer__search:focus-within {
	border-color: var(--smm-accent);
	background: #fff;
}

.smm-header .smm-drawer__search input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	height: 44px;
	padding: 0 4px 0 15px;
	border: 0;
	background: none;
	color: var(--smm-drawer-color);
	font-size: 15px;
}

.smm-header .smm-drawer__search input[type="search"]:focus {
	outline: none;
}

.smm-header .smm-drawer__search input[type="search"]::placeholder {
	color: var(--smm-drawer-muted);
	opacity: 1;
}

.smm-header .smm-drawer__search button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	padding: 0;
	background: none;
	color: var(--smm-drawer-muted);
	transition: color .18s ease;
}

.smm-header .smm-drawer__search button:hover,
.smm-header .smm-drawer__search button:focus {
	background: none;
	color: var(--smm-accent);
}

.smm-drawer__search-icon {
	display: block;
	width: 18px;
	height: 18px;
}

.smm-drawer__search-icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

/* -----------------------------------------------------------------------
 * Backdrop behind an open mega panel
 * -------------------------------------------------------------------- */

.smm-backdrop {
	position: fixed;
	inset: 0;
	z-index: 1;
	visibility: hidden;
	opacity: 0;
	transition: opacity .24s ease, visibility .24s;
	background: var(--smm-backdrop-bg);
	pointer-events: none;
}

.smm-header--has-backdrop.is-panel-open .smm-backdrop {
	visibility: visible;
	opacity: 1;
}

/* -----------------------------------------------------------------------
 * Burger and off-canvas drawer
 * -------------------------------------------------------------------- */

.smm-header .smm-burger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 var(--smm-burger-size);
	width: var(--smm-burger-size);
	height: var(--smm-burger-size);
	color: var(--smm-burger-color);
}

/* Out of the button neutraliser's way - see the note beside it. */
.smm-header .smm-burger:hover,
.smm-header .smm-burger:focus {
	color: var(--smm-burger-color);
}

.smm-burger__icon,
.smm-close__icon {
	display: block;
	width: 60%;
	height: 60%;
}

.smm-burger__icon svg,
.smm-close__icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.smm-overlay {
	position: fixed;
	inset: 0;
	z-index: calc(var(--smm-drawer-z-index) - 1);
	visibility: hidden;
	opacity: 0;
	transition: opacity .28s ease, visibility 0s linear .28s;
	background: var(--smm-overlay-bg);
}

.smm-drawer {
	position: fixed;
	top: 0;
	bottom: 0;
	z-index: var(--smm-drawer-z-index);
	display: flex;
	flex-direction: column;
	overflow: hidden auto;
	width: min(var(--smm-drawer-width), var(--smm-drawer-max-width));
	max-width: 100%;
	height: 100vh;
	height: 100dvh;
	padding: var(--smm-drawer-padding);
	visibility: hidden;
	overscroll-behavior: contain;
	background: var(--smm-drawer-bg);
	transition: transform .3s cubic-bezier(.22, .61, .36, 1), visibility 0s linear .3s;
}

.smm-drawer--right {
	right: 0;
	transform: translateX(102%);
}

.smm-drawer--left {
	left: 0;
	transform: translateX(-102%);
}

/*
 * `visibility 0s linear .3s` above delays the flip to hidden until the slide
 * out has finished; here the delay is removed so opening is instant. A plain
 * `visibility .3s` would leave the drawer hidden for the whole opening
 * transition, and a hidden subtree refuses focus - the close button never
 * received it and the focus trap had nothing to trap.
 */
.smm-header.is-drawer-open .smm-overlay,
.smm-header.is-drawer-open .smm-drawer {
	visibility: visible;
	transition-delay: 0s;
}

.smm-header.is-drawer-open .smm-overlay {
	opacity: 1;
}

.smm-header.is-drawer-open .smm-drawer {
	transform: translateX(0);
}

.smm-drawer__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex: 0 0 auto;
	gap: 16px;
	padding-bottom: 18px;
}

.smm-drawer__spacer {
	flex: 1 1 auto;
}

.smm-header .smm-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 var(--smm-burger-size);
	width: var(--smm-burger-size);
	height: var(--smm-burger-size);
	margin-right: -8px;
	color: var(--smm-burger-color);
}

.smm-header .smm-close:hover,
.smm-header .smm-close:focus {
	color: var(--smm-burger-color);
}

.smm-drawer__nav {
	flex: 1 1 auto;
	margin-top: 22px;
}

.smm-drawer__menu > .smm-drawer__item + .smm-drawer__item {
	border-top: 1px solid var(--smm-drawer-line);
}

.smm-drawer__row {
	display: flex;
	align-items: center;
	gap: 4px;
}

.smm-header .smm-drawer__link {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1 1 auto;
	min-width: 0;
	min-height: var(--smm-drawer-row);
	padding: 9px 0;
	color: var(--smm-drawer-color);
	letter-spacing: .09em;
	font-size: 14px;
	font-weight: 600;
	transition: color .18s ease;
}

.smm-header .smm-drawer__link:hover,
.smm-header .smm-drawer__link:focus-visible,
.smm-drawer__item.smm-item--current > .smm-drawer__row > .smm-drawer__link,
.smm-drawer__item.smm-item--ancestor > .smm-drawer__row > .smm-drawer__link {
	color: var(--smm-drawer-active-color);
}

/* An open branch reads as active even before you reach its children. */
.smm-drawer__item.is-expanded > .smm-drawer__row > .smm-drawer__link {
	color: var(--smm-drawer-active-color);
}

/* Label above, optional description below - the store list's second line. */
.smm-drawer__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.smm-drawer__label {
	display: block;
	min-width: 0;
}

.smm-drawer__meta {
	display: block;
	color: var(--smm-drawer-muted);
	letter-spacing: .01em;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.3;
}

.smm-drawer__icon {
	display: block;
	flex: 0 0 17px;
	width: 17px;
	height: 17px;
	color: var(--smm-drawer-muted);
	transition: color .18s ease;
}

.smm-drawer__icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.smm-header .smm-drawer__link:hover .smm-drawer__icon,
.smm-drawer__item.smm-item--current > .smm-drawer__row > .smm-drawer__link .smm-drawer__icon {
	color: var(--smm-drawer-active-color);
}

.smm-drawer__media {
	display: block;
	flex: 0 0 var(--smm-drawer-thumb);
	overflow: hidden;
	width: var(--smm-drawer-thumb);
	height: var(--smm-drawer-thumb);
	border-radius: var(--smm-thumb-radius);
	background: #f2eeea;
}

.smm-header .smm-drawer__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.smm-header .smm-drawer__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	margin-right: -10px;
	color: var(--smm-drawer-muted);
}

.smm-header .smm-drawer__toggle:hover,
.smm-header .smm-drawer__toggle:focus {
	color: var(--smm-drawer-muted);
}

.smm-header .smm-drawer__toggle[aria-expanded="true"] {
	color: var(--smm-drawer-active-color);
}

.smm-drawer__toggle[aria-expanded="true"] .smm-chevron {
	transform: rotate(225deg) translate(-1px, -1px);
}

/*
 * Sublevels: a hairline rail instead of borders on every row. The rail marks
 * the branch, the indent marks the depth, and nothing else competes with the
 * top-level rhythm.
 */
/* Scoped: the `.smm-header ul` reset is (0,1,1) and zeroes margin and padding. */
.smm-header .smm-drawer__submenu {
	margin: 0 0 12px calc(var(--smm-drawer-indent) / 2);
	padding-left: calc(var(--smm-drawer-indent) / 2);
	border-left: 1px solid var(--smm-drawer-line);
}

.smm-drawer__submenu[hidden] {
	display: none;
}

/* Animated by setAccordionPanel(), which sets an explicit height. */
.smm-drawer__submenu {
	overflow: hidden;
	transition: height .26s cubic-bezier(.22, .61, .36, 1);
}

@media (prefers-reduced-motion: reduce) {
	.smm-drawer__submenu {
		transition: none;
	}
}

.smm-header .smm-drawer__submenu .smm-drawer__link {
	min-height: 40px;
	padding: 7px 0;
	color: var(--smm-drawer-sub-color);
	text-transform: none;
	letter-spacing: .01em;
	font-size: 14px;
	font-weight: 400;
}

.smm-header .smm-drawer__submenu .smm-drawer__link:hover,
.smm-header .smm-drawer__submenu .smm-drawer__link:focus-visible,
.smm-drawer__submenu .smm-drawer__item.smm-item--current > .smm-drawer__row > .smm-drawer__link {
	color: var(--smm-drawer-active-color);
}

/* A third level is a detail list, not a menu; take it down another step. */
.smm-header .smm-drawer__submenu .smm-drawer__submenu .smm-drawer__link {
	min-height: 34px;
	padding: 5px 0;
	font-size: 13px;
}

.smm-header .smm-drawer__submenu .smm-drawer__submenu {
	margin-bottom: 8px;
}

.smm-drawer__footer {
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 0 0 auto;
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid var(--smm-drawer-line);
}
.smm-drawer__empty {
	margin: 20px 0;
	color: #7a716a;
	font-size: 14px;
}

/* -----------------------------------------------------------------------
 * Responsive switching
 *
 * The static query is the no-JS fallback at the default breakpoint. The
 * is-mobile/is-desktop classes written by the script honour the configured
 * breakpoint and win on specificity.
 * -------------------------------------------------------------------- */

@media (max-width: 1024px) {
	.smm-header__desktop {
		display: none;
	}

	.smm-header__mobile {
		display: flex;
	}
}

.smm-header.is-mobile .smm-header__desktop {
	display: none;
}

.smm-header.is-mobile .smm-header__mobile {
	display: flex;
}

.smm-header.is-desktop.smm-header--centered .smm-header__desktop {
	display: grid;
}

.smm-header.is-desktop.smm-header--left .smm-header__desktop {
	display: flex;
}

.smm-header.is-desktop .smm-header__mobile {
	display: none;
}

/*
 * Progressive compaction before falling back to the burger.
 *
 * Only the multiplier changes, so the author's Elementor values stay
 * authoritative and typography/padding are never overridden.
 */

.smm-header.is-compact {
	--smm-fit-scale: .72;
}

.smm-header.is-tight {
	--smm-fit-scale: .5;
}

.smm-header.is-tight .smm-actions {
	gap: 8px;
}

.smm-header.is-tight .smm-action--b2b {
	padding: 8px 14px;
}

/* Fewer panel columns on narrow desktop widths. */

@media (max-width: 1200px) {
	.smm-mega__grid {
		column-count: min(var(--smm-columns, 4), 3);
	}
}

/* -----------------------------------------------------------------------
 * Utilities
 * -------------------------------------------------------------------- */

body.smm-scroll-locked {
	overflow: hidden;
}

.smm-header a:focus-visible,
.smm-header button:focus-visible {
	outline: 2px solid var(--smm-accent);
	outline-offset: 3px;
}

.smm-header .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
	white-space: nowrap;
}

.smm-editor-notice {
	padding: 22px;
	border: 1px dashed #c9c2bb;
	background: #faf8f6;
	color: #4a423c;
	text-align: center;
	font-size: 14px;
}

@media (prefers-reduced-motion: reduce) {
	.smm-header *,
	.smm-header *::before,
	.smm-header *::after {
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
	}
}
