/* Suga Küchen site chrome: top bar, header (transparent over the photo hero, sticky white after it),
   mega-menu, dropdowns, mobile menu, footer and the WhatsApp button.
   Values follow the design system; fallbacks keep it right on pages without the DS runtime. */

:root {
	--suga-navy: var(--ds-color-navy, #0E283E);
	--suga-blue: var(--ds-color-blue, #00A0D5);
	--suga-yellow: var(--ds-color-yellow, #ECC755);
	--suga-stone: var(--ds-color-stone, #F5F3F0);
	--suga-dot: var(--ds-color-green-dot, #3DD1B4);
	--suga-header-h: 112px;
}

body {
	font-family: var(--ds-font-body, 'Helvetica Neue', Helvetica, Arial, sans-serif);
	color: var(--suga-navy);
	-webkit-font-smoothing: antialiased;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 300;
	padding: 12px 18px;
	background: var(--suga-navy);
	color: #fff;
}

.skip-link:focus {
	left: 12px;
	top: 12px;
}

.suga-wrap {
	width: 100%;
	max-width: 1376px;
	margin-inline: auto;
	padding-inline: 28px;
}

/* Box sizing for the chrome (the DS reset is scoped to designed sections). */
.suga-header,
.suga-header *,
.suga-header *::before,
.suga-header *::after,
.suga-mobile,
.suga-mobile *,
.suga-footer,
.suga-footer *,
.suga-whatsapp-float {
	box-sizing: border-box;
}

/* The DS reset only applies inside designed sections, so the chrome resets its own links and lists. */
.suga-header a,
.suga-mobile a,
.suga-footer a,
.suga-whatsapp-float {
	text-decoration: none;
}

.suga-header a.bb-link,
.suga-footer a.bb-link {
	text-decoration: none;
}

:where(.suga-header, .suga-footer) p {
	margin: 0;
}

.suga-accent {
	color: var(--suga-yellow) !important;
}

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

.suga-header {
	position: sticky;
	top: 0;
	z-index: 120;
	background: #fff;
	color: var(--suga-navy);
	box-shadow: 0 1px 0 rgba(14, 40, 62, 0.1), 0 8px 24px rgba(14, 40, 62, 0.06);
}

.admin-bar .suga-header {
	top: 32px;
}

.suga-topbar {
	background: var(--suga-navy);
	color: #fff;
	font-size: 13px;
	font-weight: 500;
}

.suga-topbar__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
	justify-content: space-between;
	align-items: center;
	padding-block: 7px;
}

.suga-topbar__links {
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
	align-items: center;
}

.suga-topbar a {
	color: #fff;
}

.suga-topbar a:hover {
	color: var(--suga-yellow);
}

.suga-topbar__note {
	display: flex;
	gap: 10px;
	align-items: center;
	color: rgba(255, 255, 255, 0.86);
	font-weight: 400;
}

.suga-dot {
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--suga-dot);
}

.suga-header__main {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 24px;
	padding-block: 12px;
}

.suga-header__actions {
	display: flex;
	gap: 10px;
	align-items: center;
}

.suga-header__actions .bb-btn {
	white-space: nowrap;
}

.suga-logo {
	display: block;
	justify-self: center;
}

.suga-logo img {
	height: 40px;
	width: auto;
}

.suga-logo__white {
	display: none;
}

.suga-nav__list {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.suga-nav__item > .suga-nav__link {
	display: inline-flex;
	align-items: center;
	padding: 10px;
	font-size: 15px;
	font-weight: 500;
	color: inherit;
	white-space: nowrap;
}

.suga-nav__item:last-child > .suga-nav__link {
	padding-right: 0;
}

.suga-nav__item.has-panel > .suga-nav__link::after {
	content: "\25BE";
	margin-left: 5px;
	font-size: 10px;
	opacity: 0.7;
}

.suga-nav__link:hover,
.suga-nav__item.is-current > .suga-nav__link {
	color: var(--suga-blue);
}

/* Panels open on hover or keyboard focus and close when the pointer leaves the header */
.suga-panel {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	z-index: 130;
	background: #fff;
	color: var(--suga-navy);
	box-shadow: 0 18px 40px rgba(14, 40, 62, 0.16);
	border-top: 1px solid rgba(14, 40, 62, 0.08);
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.15s ease, visibility 0.15s;
}

.suga-nav__item.has-panel:hover > .suga-panel,
.suga-nav__item.has-panel:focus-within > .suga-panel {
	visibility: visible;
	opacity: 1;
}

/* Simple dropdowns (Appliances, About): a compact list under their own item */
.suga-nav__item.has-dropdown {
	position: relative;
}

.suga-panel--simple {
	top: calc(100% + 10px);
	left: 0;
	right: auto;
	min-width: 220px;
	border-top: 2px solid var(--suga-blue);
}

/* Keeps the dropdown open while the pointer crosses the gap */
.suga-panel--simple::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 100%;
	height: 12px;
}

.suga-nav__item.has-dropdown:last-child > .suga-panel--simple {
	left: auto;
	right: 0;
}

.suga-panel__simple {
	display: flex;
	flex-direction: column;
	padding-block: 10px;
}

.suga-panel__link {
	display: block;
	padding: 9px 22px;
	font-size: 15px;
	font-weight: 500;
	color: var(--suga-navy);
	white-space: nowrap;
	text-decoration: none;
}

.suga-panel__link:hover,
.suga-panel__link:focus-visible {
	background: var(--suga-stone);
	color: var(--suga-blue);
}

.suga-panel__link[aria-current="page"] {
	color: var(--suga-blue);
}

.suga-mega__link:hover {
	color: var(--suga-blue);
}

.suga-mega {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.2fr);
	gap: 40px;
	padding-block: 36px 28px;
}

.suga-mega__col {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.suga-mega__heading {
	margin: 0 0 6px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: -0.02em;
	text-transform: lowercase;
}

.suga-mega__link {
	font-size: 15px;
	color: rgba(14, 40, 62, 0.8);
}

.suga-mega__card {
	position: relative;
	display: block;
	min-height: 180px;
	overflow: hidden;
	background: #EFEDEA;
	color: #fff;
}

.suga-mega__card img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.suga-mega__card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(14, 40, 62, 0) 40%, rgba(14, 40, 62, 0.8) 100%);
}

.suga-mega__card-label {
	position: absolute;
	left: 18px;
	bottom: 14px;
	z-index: 1;
	font-size: 15px;
	font-weight: 500;
}

.suga-mega__card-label::after {
	content: " \2192";
}

.suga-mega__strip {
	background: var(--suga-stone);
}

.suga-mega__strip-inner {
	display: flex;
	gap: 28px;
	padding-block: 14px;
}

.suga-mega__strip .bb-link {
	font-size: 14px;
}

.suga-burger,
.suga-header__book {
	display: none;
}

.suga-burger {
	-webkit-appearance: none;
	appearance: none;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: #0E283E;
	color: #fff;
	-webkit-tap-highlight-color: transparent;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	cursor: pointer;
}

.suga-burger span {
	display: block;
	width: 22px;
	height: 2px;
	background: #fff;
}

/* Keep the same colours when tapped (phones keep :hover/:active after a tap). */
.suga-burger:hover,
.suga-burger:active,
.suga-burger:focus {
	background: #0E283E;
	color: #fff;
}

.suga-burger:focus-visible,
.suga-mobile__close:focus-visible,
.suga-mobile__toggle:focus-visible {
	outline: 2px solid var(--suga-blue);
	outline-offset: 2px;
}

.suga-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Over the photo hero: transparent, white logo, white text */
.has-photo-hero .suga-header:not(.is-stuck) {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	background: transparent;
	box-shadow: none;
	color: #fff;
}

.has-photo-hero.admin-bar .suga-header:not(.is-stuck) {
	top: 32px;
}

.has-photo-hero .suga-header:not(.is-stuck) .suga-topbar {
	background: transparent;
	border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.has-photo-hero .suga-header:not(.is-stuck) .suga-topbar__inner {
	padding-block: 10px;
}

.has-photo-hero .suga-header:not(.is-stuck) .suga-header__main {
	padding-block: 18px;
}

.has-photo-hero .suga-header:not(.is-stuck) .suga-logo img {
	height: 46px;
}

.has-photo-hero .suga-header:not(.is-stuck) .suga-logo__colour {
	display: none;
}

.has-photo-hero .suga-header:not(.is-stuck) .suga-logo__white {
	display: block;
}

.has-photo-hero .suga-header:not(.is-stuck) .suga-nav__item > .suga-nav__link:hover {
	color: var(--suga-yellow);
}

.has-photo-hero .suga-header:not(.is-stuck) .bb-btn:not(.bb-btn-fill) {
	border-color: rgba(255, 255, 255, 0.55);
	color: #fff;
}

.has-photo-hero .suga-header:not(.is-stuck) .bb-btn:not(.bb-btn-fill):hover {
	background: rgba(255, 255, 255, 0.14);
}

.has-photo-hero .suga-header:not(.is-stuck) .suga-burger,
.has-photo-hero .suga-header:not(.is-stuck) .suga-burger:hover,
.has-photo-hero .suga-header:not(.is-stuck) .suga-burger:active,
.has-photo-hero .suga-header:not(.is-stuck) .suga-burger:focus {
	background: #fff;
	color: #0E283E;
}

.has-photo-hero .suga-header:not(.is-stuck) .suga-burger span {
	background: #0E283E;
}

/* Stuck: fixed white header slides in once the hero has gone */
.has-photo-hero .suga-header.is-stuck {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	animation: suga-slide 0.25s ease;
}

.has-photo-hero.admin-bar .suga-header.is-stuck {
	top: 32px;
}

@keyframes suga-slide {
	from {
		transform: translateY(-100%);
	}
	to {
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.has-photo-hero .suga-header.is-stuck {
		animation: none;
	}
}

/* Below 1200px: burger, logo, Book */
@media (max-width: 1199px) {
	.suga-header__actions,
	.suga-nav {
		display: none;
	}

	/* Logo left; Book and the menu button together on the right */
	.suga-header__main {
		grid-template-columns: 1fr auto auto;
		grid-template-areas: "logo book burger";
		gap: 10px;
	}

	.suga-logo {
		grid-area: logo;
		justify-self: start;
	}

	.suga-burger {
		display: flex;
		grid-area: burger;
	}

	.suga-header__book {
		display: inline-flex;
		grid-area: book;
		align-items: center;
		min-height: 46px;
	}

	.suga-topbar__note {
		display: none;
	}
}

@media (max-width: 600px) {
	.suga-logo img,
	.has-photo-hero .suga-header:not(.is-stuck) .suga-logo img {
		height: 32px;
	}

	.suga-header__main {
		gap: 8px;
	}
}

@media (max-width: 782px) {
	.admin-bar .suga-header,
	.has-photo-hero.admin-bar .suga-header.is-stuck {
		top: 46px;
	}
}

/* ---------- Mobile menu ---------- */

.suga-mobile {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	flex-direction: column;
	padding: 0 20px 40px;
	overflow-y: auto;
	background: var(--suga-navy);
	color: #fff;
}

.suga-mobile[hidden] {
	display: none;
}

/* Top row mirrors the header: logo left, close button where the menu button was */
.suga-mobile__top {
	position: sticky;
	top: 0;
	z-index: 1;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-inline: -20px;
	padding: 14px 20px;
	background: var(--suga-navy);
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.suga-mobile__logo img {
	display: block;
	height: 32px;
	width: auto;
}

.suga-mobile__close {
	position: relative;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 0;
	background: #fff;
	color: var(--suga-navy);
	cursor: pointer;
}

.suga-mobile__close span {
	position: absolute;
	left: 12px;
	top: 22px;
	width: 22px;
	height: 2px;
	background: currentColor;
	transform: rotate(45deg);
}

.suga-mobile__close span + span {
	transform: rotate(-45deg);
}

.suga-mobile__list,
.suga-mobile__sublist {
	margin: 0;
	padding: 0;
	list-style: none;
}

.suga-mobile__item {
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.suga-mobile__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.suga-mobile__link {
	flex: 1;
	display: block;
	padding: 16px 0;
	color: #fff;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.03em;
	text-transform: lowercase;
}

.suga-mobile__link[aria-current="page"] {
	color: var(--suga-yellow);
}

/* Plus / minus button that opens a section */
.suga-mobile__toggle {
	position: relative;
	flex: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.3);
	background: none;
	color: #fff;
	cursor: pointer;
}

.suga-mobile__toggle::before,
.suga-mobile__toggle::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 14px;
	height: 2px;
	margin: -1px 0 0 -7px;
	background: currentColor;
	transition: transform 0.2s ease;
}

.suga-mobile__toggle::after {
	transform: rotate(90deg);
}

.suga-mobile__toggle[aria-expanded="true"] {
	background: #fff;
	color: var(--suga-navy);
}

.suga-mobile__toggle[aria-expanded="true"]::after {
	transform: rotate(0deg);
}

.suga-mobile__sub {
	padding: 0 0 18px;
}

.suga-mobile__sub[hidden] {
	display: none;
}

.suga-mobile__group {
	margin: 14px 0 4px;
	color: var(--suga-yellow);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.suga-mobile__group:first-child {
	margin-top: 0;
}

.suga-mobile__sublink {
	display: block;
	padding: 9px 0;
	color: rgba(255, 255, 255, 0.85);
	font-size: 17px;
}

.suga-mobile__sublink:hover,
.suga-mobile__sublink[aria-current="page"] {
	color: #fff;
}

.suga-mobile__sublink[aria-current="page"] {
	text-decoration: underline;
	text-underline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
	.suga-mobile__toggle::before,
	.suga-mobile__toggle::after {
		transition: none;
	}
}

.suga-mobile__actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 24px;
}

.suga-mobile__actions .bb-btn {
	width: 100%;
}

.suga-mobile__plain {
	padding: 14px 20px;
	color: #fff;
	font-weight: 500;
	text-align: center;
}

.suga-mobile__phone {
	color: var(--suga-yellow);
	font-weight: 500;
	text-align: center;
}

body.suga-menu-open {
	overflow: hidden;
}

/* No WhatsApp number saved yet: hide WhatsApp buttons and sentences */
.suga-no-whatsapp a[href$="/whatsapp/"],
.suga-no-whatsapp .suga-wa-only {
	display: none !important;
}

/* ---------- Footer ---------- */

.suga-footer {
	background: var(--suga-navy);
	color: rgba(255, 255, 255, 0.75);
	font-size: 15px;
}

.suga-footer a {
	color: rgba(255, 255, 255, 0.85);
}

.suga-footer a:hover {
	color: var(--suga-yellow);
}

.suga-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr);
	gap: 56px;
	padding-block: 90px 70px;
}

.suga-footer__logo img {
	height: 46px;
	width: auto;
}

.suga-footer__intro {
	margin: 22px 0 18px;
	max-width: 34ch;
	line-height: 1.6;
}

.suga-footer__contact {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	line-height: 1.5;
}

.suga-footer__phone {
	font-size: 20px;
	font-weight: 500;
	margin-bottom: 6px;
}

.suga-footer__cols {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px;
}

.suga-footer__heading {
	margin: 0 0 14px;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: -0.02em;
	text-transform: lowercase;
}

.suga-footer ul {
	display: grid;
	gap: 9px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.suga-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 13px;
	color: rgba(255, 255, 255, 0.62);
}

.suga-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	padding-block: 22px 26px;
}

.suga-footer__bottom a {
	color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 1100px) {
	.suga-footer__top {
		grid-template-columns: minmax(0, 1fr);
	}

	.suga-footer__cols {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.suga-footer__cols {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---------- WhatsApp button ---------- */

.suga-whatsapp-float {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 150;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--ds-color-whatsapp, #25D366);
	box-shadow: 0 10px 26px rgba(14, 40, 62, 0.28);
	transition: background 0.2s ease;
}

.suga-whatsapp-float:hover {
	background: var(--ds-color-whatsapp-hover, #1EBE5B);
}
