/**
 * Deliteful Cafe – Menu Widgets for Elementor
 * Black & gold cafe styling for the Showcase (home) + Menu Page widgets.
 *
 * Everything is scoped under .dmw and driven by CSS custom properties, so
 * the Elementor Style tab (and your theme) can re-skin it without !important.
 */

/* =========================================================================
   1. Base + design tokens
   ========================================================================= */

.dmw {
	--dmw-gold: #D4A94E;
	--dmw-gold-soft: rgba(212, 169, 78, 0.55);
	--dmw-gold-faint: rgba(212, 169, 78, 0.22);
	--dmw-gold-ghost: rgba(212, 169, 78, 0.07);
	--dmw-text: #f4ecdb;
	--dmw-muted: #b3a78c;
	--dmw-price: var(--dmw-gold);
	--dmw-card: #16120c;
	--dmw-card-2: #1d1811;
	--dmw-border: rgba(212, 169, 78, 0.28);
	--dmw-line: rgba(212, 169, 78, 0.30);
	--dmw-ink: #0d0b08;
	--dmw-radius: 16px;
	--dmw-thumb-radius: 12px;
	--dmw-ratio: 1/1;
	--dmw-sticky-top: 0px;

	--dmw-font-head: "Playfair Display", Georgia, "Times New Roman", serif;
	--dmw-font-body: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;
	--dmw-font-script: "Great Vibes", "Brush Script MT", cursive;

	color: var(--dmw-text);
	font-family: var(--dmw-font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

@supports (color: color-mix(in srgb, red, blue)) {
	.dmw {
		--dmw-gold-soft: color-mix(in srgb, var(--dmw-gold) 55%, transparent);
		--dmw-gold-faint: color-mix(in srgb, var(--dmw-gold) 22%, transparent);
		--dmw-gold-ghost: color-mix(in srgb, var(--dmw-gold) 7%, transparent);
	}
}

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

.dmw img {
	display: block;
	max-width: 100%;
	height: auto;
	border: 0;
}

.dmw a {
	color: inherit;
	text-decoration: none;
	box-shadow: none;
}

.dmw h2,
.dmw h3,
.dmw h4,
.dmw p {
	margin: 0;
	padding: 0;
}

/* WooCommerce appends its own "View cart" link after AJAX buttons — we show
   an elegant toast instead. */
.dmw .added_to_cart {
	display: none !important;
}

/* =========================================================================
   2. Header (shared)
   ========================================================================= */

.dmw-head {
	text-align: center;
	margin: 0 0 34px;
}

.dmw-kicker {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.34em;
	text-transform: uppercase;
	color: var(--dmw-gold);
}

.dmw-kicker::before,
.dmw-kicker::after {
	content: "";
	width: 34px;
	height: 1px;
	background: var(--dmw-gold-soft);
}

.dmw-kicker--script {
	font-family: var(--dmw-font-script);
	font-size: 30px;
	font-weight: 400;
	letter-spacing: 0.02em;
	text-transform: none;
	line-height: 1.1;
}

.dmw-kicker--script::before,
.dmw-kicker--script::after {
	display: none;
}

.dmw-title {
	font-family: var(--dmw-font-head);
	font-size: clamp(30px, 4.5vw, 46px);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: 0.02em;
	color: var(--dmw-text);
	margin: 10px 0 0;
}

.dmw-sub {
	max-width: 560px;
	margin: 12px auto 0;
	color: var(--dmw-muted);
	font-size: 15.5px;
	font-weight: 300;
}

.dmw-tagline {
	font-style: italic;
	letter-spacing: 0.06em;
}

/* Ornament: line — diamond — line */
.dmw-orn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	margin: 16px auto 0;
	width: 150px;
}

.dmw-orn::before,
.dmw-orn::after {
	content: "";
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--dmw-gold-soft));
}

.dmw-orn::after {
	background: linear-gradient(90deg, var(--dmw-gold-soft), transparent);
}

.dmw-orn i {
	width: 7px;
	height: 7px;
	margin: 0 10px;
	background: var(--dmw-gold);
	transform: rotate(45deg);
	flex: none;
}

.dmw-orn--sm {
	width: 110px;
	margin-top: 12px;
}

.dmw-orn--sm i {
	width: 5px;
	height: 5px;
}

/* Alignment variants (prefix_class on the Elementor widget wrapper) */
.dmw-halign-left .dmw-head { text-align: left; }
.dmw-halign-left .dmw-sub { margin-left: 0; margin-right: auto; }
.dmw-halign-left .dmw-orn { margin-left: 0; }
.dmw-halign-left .dmw-filters,
.dmw-halign-left .dmw-tabs { justify-content: flex-start; }

.dmw-halign-right .dmw-head { text-align: right; }
.dmw-halign-right .dmw-sub { margin-right: 0; margin-left: auto; }
.dmw-halign-right .dmw-orn { margin-right: 0; }
.dmw-halign-right .dmw-filters,
.dmw-halign-right .dmw-tabs { justify-content: flex-end; }

/* =========================================================================
   3. Filter pills (Showcase) + tabs (Menu Page)
   ========================================================================= */

.dmw-filters,
.dmw-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 0 0 30px;
}

.dmw-filter {
	appearance: none;
	-webkit-appearance: none;
	background: transparent;
	border: 1px solid var(--dmw-gold-faint);
	border-radius: 999px;
	color: var(--dmw-muted);
	font-family: var(--dmw-font-body);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1;
	padding: 11px 20px;
	cursor: pointer;
	transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.2s ease;
}

.dmw-filter:hover {
	color: var(--dmw-gold);
	border-color: var(--dmw-gold-soft);
	transform: translateY(-1px);
}

.dmw-filter:focus-visible {
	outline: 2px solid var(--dmw-gold);
	outline-offset: 2px;
}

.dmw-filter.is-active {
	background: var(--dmw-gold);
	border-color: var(--dmw-gold);
	color: var(--dmw-ink);
}

/* Menu-page tabs: quieter underline style instead of pills */
.dmw-tabs {
	gap: 4px 26px;
	border-bottom: 1px solid var(--dmw-line);
	padding-bottom: 0;
	margin-bottom: 44px;
}

.dmw-tab,
.dmw-tab.is-active {
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 12px 2px 14px;
	position: relative;
	color: var(--dmw-muted);
}

.dmw-tab::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 2px;
	background: var(--dmw-gold);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.3s ease;
}

.dmw-tab:hover {
	color: var(--dmw-gold);
	transform: none;
}

.dmw-tab.is-active {
	color: var(--dmw-gold);
}

.dmw-tab.is-active::after {
	transform: scaleX(1);
}

/* Sticky tabs */
.dmw-sticky .dmw-tabs {
	position: sticky;
	top: var(--dmw-sticky-top);
	z-index: 20;
	background: rgba(13, 11, 8, 0.86);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	padding-top: 6px;
}

/* =========================================================================
   4. Showcase widget — compact product cards
   ========================================================================= */

.dmw-grid {
	--dmw-cols: 4;
	--dmw-gap: 24px;
	display: grid;
	grid-template-columns: repeat(var(--dmw-cols), minmax(0, 1fr));
	gap: var(--dmw-gap);
}

.dmw-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: linear-gradient(160deg, var(--dmw-card-2), var(--dmw-card));
	border: 1px solid var(--dmw-border);
	border-radius: var(--dmw-radius);
	overflow: hidden;
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

/* Gold hairline that draws itself along the bottom on hover */
.dmw-card::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--dmw-gold), transparent);
	transform: scaleX(0);
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
	pointer-events: none;
}

.dmw:not(.dmw-no-hover) .dmw-card:hover {
	transform: translateY(-7px);
	border-color: var(--dmw-gold-soft);
	box-shadow: 0 18px 44px -18px rgba(0, 0, 0, 0.85), 0 0 0 1px var(--dmw-gold-faint), 0 10px 34px -14px var(--dmw-gold-faint);
}

.dmw:not(.dmw-no-hover) .dmw-card:hover::after {
	transform: scaleX(1);
}

.dmw-media {
	position: relative;
	display: block;
	aspect-ratio: var(--dmw-ratio);
	overflow: hidden;
	background: var(--dmw-card);
}

.dmw-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.03);
	transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.dmw:not(.dmw-no-hover) .dmw-card:hover .dmw-media img {
	transform: scale(1.1);
}

/* Soft fade so the image melts into the card body */
.dmw-media::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 46%;
	background: linear-gradient(180deg, transparent, rgba(13, 11, 8, 0.55));
	pointer-events: none;
}

.dmw-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	background: var(--dmw-gold);
	color: var(--dmw-ink);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	line-height: 1;
	padding: 7px 11px;
	border-radius: 999px;
}

.dmw-card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 18px 18px 16px;
}

.dmw-cat {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--dmw-gold);
	margin-bottom: 7px;
}

.dmw-card .dmw-name {
	font-family: var(--dmw-font-head);
	font-size: 19px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.01em;
}

.dmw-card .dmw-name a {
	transition: color 0.25s ease;
}

.dmw-card .dmw-name a:hover {
	color: var(--dmw-gold);
}

.dmw-desc {
	color: var(--dmw-muted);
	font-size: 13.5px;
	font-weight: 300;
	line-height: 1.55;
	margin-top: 7px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.dmw-card-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px dashed var(--dmw-gold-faint);
}

.dmw-card-body > :nth-last-child(2) {
	margin-bottom: 12px;
}

.dmw-price {
	font-family: var(--dmw-font-head);
	font-size: 18px;
	font-weight: 600;
	color: var(--dmw-price);
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.dmw-price del {
	color: var(--dmw-muted);
	font-size: 0.78em;
	font-weight: 400;
	margin-right: 6px;
	opacity: 0.8;
}

.dmw-price ins {
	text-decoration: none;
}

/* =========================================================================
   5. Add-to-cart button (shared)
   ========================================================================= */

.dmw-add {
	--sz: 40px;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: var(--sz);
	height: var(--sz);
	border-radius: 50%;
	border: 1.5px solid var(--dmw-gold-soft);
	color: var(--dmw-gold);
	background: transparent;
	transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
}

.dmw-add .dmw-ic {
	display: inline-flex;
	position: absolute;
	inset: 0;
	align-items: center;
	justify-content: center;
	transition: opacity 0.25s ease, transform 0.35s ease;
}

.dmw-add svg {
	width: calc(var(--sz) * 0.45);
	height: calc(var(--sz) * 0.45);
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.dmw-add:hover {
	background: var(--dmw-gold);
	border-color: var(--dmw-gold);
	color: var(--dmw-ink);
	box-shadow: 0 6px 22px -8px var(--dmw-gold-soft);
}

.dmw-add:hover .dmw-ic-plus {
	transform: rotate(90deg);
}

.dmw-add:focus-visible {
	outline: 2px solid var(--dmw-gold);
	outline-offset: 3px;
}

/* Variable/grouped products: arrow that opens the product page */
.dmw-add-link svg {
	transition: transform 0.25s ease;
}

.dmw-add-link:hover svg {
	transform: translateX(2px);
}

.dmw-add:active {
	transform: scale(0.92);
}

/* Icon swap: plus → check */
.dmw-add .dmw-ic-check {
	opacity: 0;
	transform: scale(0.4);
}

.dmw-add.added {
	background: var(--dmw-gold);
	border-color: var(--dmw-gold);
	color: var(--dmw-ink);
}

.dmw-add.added .dmw-ic-plus {
	opacity: 0;
	transform: scale(0.4) rotate(90deg);
}

.dmw-add.added .dmw-ic-check {
	opacity: 1;
	transform: scale(1);
}

/* Loading spinner (overrides theme font-icon spinners on .add_to_cart_button) */
.dmw .dmw-add.loading .dmw-ic {
	opacity: 0;
}

.dmw .dmw-add.loading::after {
	content: "" !important;
	position: absolute;
	width: calc(var(--sz) * 0.42);
	height: calc(var(--sz) * 0.42);
	margin: 0;
	border: 2px solid var(--dmw-gold-faint);
	border-top-color: var(--dmw-gold);
	border-radius: 50%;
	background: none;
	font-size: 0;
	line-height: 0;
	animation: dmw-spin 0.7s linear infinite;
}

.dmw .dmw-add.loading:hover::after {
	border-color: rgba(13, 11, 8, 0.3);
	border-top-color: var(--dmw-ink);
}

.dmw .dmw-add.added::after,
.dmw .dmw-add::before {
	content: none !important;
}

@keyframes dmw-spin {
	to { transform: rotate(360deg); }
}

.dmw-soldout {
	flex: none;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--dmw-muted);
	border: 1px solid var(--dmw-line);
	border-radius: 999px;
	padding: 8px 13px;
	line-height: 1;
	opacity: 0.85;
}

/* =========================================================================
   6. CTA button (Showcase)
   ========================================================================= */

.dmw-cta {
	text-align: center;
	margin-top: 36px;
}

.dmw-halign-left .dmw-cta { text-align: left; }
.dmw-halign-right .dmw-cta { text-align: right; }

.dmw-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--dmw-font-body);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--dmw-gold);
	border: 1.5px solid var(--dmw-gold-soft);
	border-radius: 999px;
	padding: 15px 30px;
	line-height: 1;
	transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.25s ease;
}

.dmw-btn svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform 0.3s ease;
}

.dmw-btn:hover {
	background: var(--dmw-gold);
	border-color: var(--dmw-gold);
	color: var(--dmw-ink);
	box-shadow: 0 10px 30px -10px var(--dmw-gold-soft);
	transform: translateY(-2px);
}

.dmw-btn:hover svg {
	transform: translateX(4px);
}

/* =========================================================================
   7. Menu Page widget — chapters, dotted leaders
   ========================================================================= */

.dmw-menu .dmw-head {
	margin-bottom: 40px;
}

.dmw-sec {
	margin: 0 0 56px;
}

.dmw-sec:last-child {
	margin-bottom: 0;
}

.dmw-sec-head {
	text-align: center;
	margin-bottom: 30px;
}

.dmw-halign-left .dmw-sec-head { text-align: left; }
.dmw-halign-right .dmw-sec-head { text-align: right; }

.dmw-sec-kicker {
	display: block;
	font-family: var(--dmw-font-script);
	font-size: 27px;
	line-height: 1.1;
	color: var(--dmw-gold);
}

.dmw-sec-title {
	font-family: var(--dmw-font-head);
	font-size: clamp(23px, 3vw, 30px);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--dmw-text);
	margin-top: 6px;
}

.dmw-sec-note {
	color: var(--dmw-muted);
	font-size: 14px;
	font-weight: 300;
	font-style: italic;
	letter-spacing: 0.05em;
	margin-top: 6px;
}

.dmw-items {
	--dmw-mcols: 2;
	display: grid;
	grid-template-columns: repeat(var(--dmw-mcols), minmax(0, 1fr));
	gap: 6px 46px;
}

.dmw-item {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 16px 10px;
	border-bottom: 1px dashed var(--dmw-line);
	border-radius: 10px;
	transition: background 0.3s ease;
}

.dmw-item:hover {
	background: var(--dmw-gold-ghost);
}

.dmw-thumb {
	flex: none;
	width: 64px;
	height: 64px;
	border-radius: var(--dmw-thumb-radius);
	overflow: hidden;
	border: 1px solid var(--dmw-gold-faint);
	transition: border-color 0.3s ease, transform 0.3s ease;
}

.dmw-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.dmw-item:hover .dmw-thumb {
	border-color: var(--dmw-gold-soft);
}

.dmw-item:hover .dmw-thumb img {
	transform: scale(1.08);
}

.dmw-thumb-circle .dmw-thumb {
	border-radius: 50%;
}

.dmw-item-main {
	flex: 1;
	min-width: 0;
}

.dmw-line {
	display: flex;
	align-items: baseline;
	gap: 10px;
}

.dmw-item .dmw-name {
	font-family: var(--dmw-font-head);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: 0.01em;
	min-width: 0;
}

.dmw-item .dmw-name a {
	transition: color 0.25s ease;
}

.dmw-item .dmw-name a:hover {
	color: var(--dmw-gold);
}

/* The classic dotted leader between name and price */
.dmw-dots {
	flex: 1;
	min-width: 18px;
	border-bottom: 2px dotted var(--dmw-gold-soft);
	transform: translateY(-5px);
	opacity: 0.55;
}

.dmw-no-dots .dmw-dots {
	border-bottom: 0;
}

.dmw-item .dmw-price {
	font-size: 17px;
}

.dmw-item-desc {
	color: var(--dmw-muted);
	font-size: 13.5px;
	font-weight: 300;
	line-height: 1.55;
	margin-top: 4px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.dmw-item .dmw-add {
	--sz: 36px;
	margin-top: 3px;
}

/* =========================================================================
   8. Empty state
   ========================================================================= */

.dmw-empty {
	text-align: center;
	color: var(--dmw-muted);
	font-size: 14.5px;
	border: 1px dashed var(--dmw-line);
	border-radius: var(--dmw-radius);
	padding: 34px 22px;
	margin: 8px 0;
}

/* =========================================================================
   9. Reveal animation + JS filtering
   ========================================================================= */

.dmw-js [data-dmw-item] {
	opacity: 0;
	transform: translateY(14px);
}

.dmw-js [data-dmw-item].dmw-in {
	opacity: 1;
	transform: none;
	transition: opacity 0.55s ease var(--d, 0s), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s);
}

.dmw [data-dmw-item].is-hidden {
	display: none !important;
}

/* =========================================================================
   10. Added-to-cart toast
   ========================================================================= */

.dmw-toast {
	--tg: #D4A94E;
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 99999;
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: min(360px, calc(100vw - 44px));
	background: rgba(18, 14, 9, 0.96);
	border: 1px solid var(--tg);
	border-radius: 14px;
	padding: 14px 18px;
	color: #f4ecdb;
	font-family: "Jost", system-ui, sans-serif;
	font-size: 14px;
	line-height: 1.45;
	box-shadow: 0 18px 50px -12px rgba(0, 0, 0, 0.8);
	opacity: 0;
	transform: translateY(14px);
	pointer-events: none;
	transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.dmw-toast.is-on {
	opacity: 1;
	transform: none;
	pointer-events: auto;
}

.dmw-toast-ic {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--tg);
	color: #0d0b08;
}

.dmw-toast-ic svg {
	width: 15px;
	height: 15px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.4;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.dmw-toast-body {
	min-width: 0;
}

.dmw-toast-name {
	display: block;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.dmw-toast-note {
	display: block;
	color: #b3a78c;
	font-size: 12.5px;
}

.dmw-toast-cart {
	flex: none;
	color: var(--tg);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	border-bottom: 1px solid var(--tg);
	padding-bottom: 2px;
	transition: opacity 0.25s ease;
}

.dmw-toast-cart:hover {
	opacity: 0.75;
	color: var(--tg);
}

/* =========================================================================
   11. Responsive
   ========================================================================= */

@media (max-width: 1024px) {
	.dmw-items {
		gap: 4px 30px;
	}
}

@media (max-width: 767px) {

	.dmw {
		font-size: 15px;
	}

	.dmw-head {
		margin-bottom: 26px;
	}

	/* Tabs become a swipeable row (filter pills wrap instead — section 21) */
	.dmw-tabs {
		flex-wrap: nowrap;
		justify-content: flex-start;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding-bottom: 4px;
		margin-left: -6px;
		margin-right: -6px;
		padding-left: 6px;
		padding-right: 24px;
		-webkit-mask-image: linear-gradient(90deg, #000 92%, transparent);
		mask-image: linear-gradient(90deg, #000 92%, transparent);
	}

	.dmw-tabs::-webkit-scrollbar {
		display: none;
	}

	.dmw-filter {
		flex: none;
		padding: 10px 16px;
	}

	.dmw-tabs {
		gap: 2px 20px;
		margin-bottom: 32px;
	}

	.dmw-grid {
		--dmw-gap: 14px;
	}

	.dmw-card-body {
		padding: 14px 14px 13px;
	}

	.dmw-card .dmw-name {
		font-size: 17px;
	}

	.dmw-price {
		font-size: 16.5px;
	}

	.dmw-add {
		--sz: 38px;
	}

	.dmw-sec {
		margin-bottom: 42px;
	}

	.dmw-items {
		gap: 2px 0;
	}

	.dmw-item {
		gap: 13px;
		padding: 14px 6px;
	}

	.dmw-thumb {
		width: 56px;
		height: 56px;
	}

	.dmw-item .dmw-name {
		font-size: 16.5px;
	}

	.dmw-item .dmw-price {
		font-size: 15.5px;
	}

	.dmw-item .dmw-add {
		--sz: 34px;
	}

	.dmw-toast {
		right: 14px;
		left: 14px;
		bottom: 14px;
		max-width: none;
	}
}

/* =========================================================================
   12. Reduced motion
   ========================================================================= */

@media (prefers-reduced-motion: reduce) {

	.dmw *,
	.dmw *::before,
	.dmw *::after,
	.dmw-toast {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}

	.dmw-js [data-dmw-item] {
		opacity: 1;
		transform: none;
	}

	.dmw:not(.dmw-no-hover) .dmw-card:hover {
		transform: none;
	}
}

/* =========================================================================
   13. Size / flavour selection popup (Cafe Options)
   ========================================================================= */

.dmw-modal-overlay {
	--mg: #D4A94E;
	position: fixed;
	inset: 0;
	z-index: 99998;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 18px;
	background: rgba(8, 6, 3, 0.72);
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.dmw-modal-overlay.is-on {
	opacity: 1;
	pointer-events: auto;
}

.dmw-modal {
	width: min(430px, 100%);
	max-height: calc(100vh - 36px);
	overflow: auto;
	background: #14100a;
	border: 1px solid var(--mg);
	border-radius: 20px;
	color: #f4ecdb;
	font-family: "Jost", system-ui, sans-serif;
	transform: translateY(18px) scale(0.98);
	transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
	scrollbar-width: thin;
}

.dmw-modal-overlay.is-on .dmw-modal {
	transform: none;
}

.dmw-modal-media {
	position: relative;
	height: 168px;
	background: #1d1811;
}

.dmw-modal-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.dmw-modal-media::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 55%;
	background: linear-gradient(180deg, transparent, rgba(20, 16, 10, 0.92));
	pointer-events: none;
}

.dmw-modal-close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid rgba(244, 236, 219, 0.35);
	background: rgba(13, 11, 8, 0.65);
	color: #f4ecdb;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: 0.25s;
}

.dmw-modal-close:hover {
	border-color: var(--mg);
	color: var(--mg);
}

.dmw-modal-body {
	padding: 16px 22px 22px;
}

.dmw-modal-name {
	font-family: "Playfair Display", Georgia, serif;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.25;
	color: #f4ecdb;
	margin: 0;
}

.dmw-modal-desc {
	color: #b3a78c;
	font-size: 13px;
	font-weight: 300;
	line-height: 1.55;
	margin: 6px 0 0;
}

.dmw-modal-label {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 18px 0 4px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--mg);
}

.dmw-modal-label::after {
	content: "";
	flex: 1;
	height: 1px;
	background: rgba(212, 169, 78, 0.25);
}

.dmw-opts {
	margin: 0 0 4px;
}

.dmw-opt {
	display: flex;
	align-items: center;
	gap: 13px;
	width: 100%;
	padding: 13px 4px;
	background: transparent;
	border: 0;
	border-bottom: 1px dashed rgba(212, 169, 78, 0.28);
	color: #f4ecdb;
	font-family: inherit;
	font-size: 15px;
	text-align: left;
	cursor: pointer;
	transition: background 0.2s ease;
	border-radius: 8px;
}

.dmw-opt:hover {
	background: rgba(212, 169, 78, 0.06);
}

.dmw-opt-radio {
	flex: none;
	width: 19px;
	height: 19px;
	border-radius: 50%;
	border: 1.5px solid rgba(212, 169, 78, 0.55);
	position: relative;
	transition: border-color 0.2s ease;
}

.dmw-opt.is-sel .dmw-opt-radio {
	border-color: var(--mg);
}

.dmw-opt.is-sel .dmw-opt-radio::after {
	content: "";
	position: absolute;
	inset: 3.5px;
	border-radius: 50%;
	background: var(--mg);
}

.dmw-opt-name {
	flex: 1;
	min-width: 0;
	color: #d8cdb4;
}

.dmw-opt.is-sel .dmw-opt-name {
	color: #f4ecdb;
	font-weight: 500;
}

.dmw-opt-price {
	flex: none;
	font-family: "Playfair Display", Georgia, serif;
	font-size: 15px;
	font-weight: 600;
	color: var(--mg);
}

.dmw-modal-qtyrow {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 16px 0 18px;
}

.dmw-modal-qtyrow > span {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #b3a78c;
}

.dmw-qty {
	display: flex;
	align-items: center;
	gap: 14px;
}

.dmw-qty button {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1.5px solid rgba(212, 169, 78, 0.55);
	background: transparent;
	color: var(--mg);
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: 0.2s;
}

.dmw-qty button:hover {
	background: var(--mg);
	color: #0d0b08;
	border-color: var(--mg);
}

.dmw-qty output {
	min-width: 22px;
	text-align: center;
	font-family: "Playfair Display", Georgia, serif;
	font-size: 18px;
	font-weight: 600;
	color: #f4ecdb;
}

.dmw-modal-add {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	border: 0;
	border-radius: 999px;
	background: var(--mg);
	color: #0d0b08;
	font-family: "Jost", system-ui, sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	padding: 16px 20px;
	cursor: pointer;
	transition: filter 0.25s ease, transform 0.2s ease;
}

.dmw-modal-add:hover {
	filter: brightness(1.08);
}

.dmw-modal-add:active {
	transform: scale(0.98);
}

.dmw-modal-add.loading {
	color: transparent;
}

.dmw-modal-add.loading::after {
	content: "";
	position: absolute;
	width: 18px;
	height: 18px;
	border: 2px solid rgba(13, 11, 8, 0.3);
	border-top-color: #0d0b08;
	border-radius: 50%;
	animation: dmw-spin 0.7s linear infinite;
}

.dmw-modal-err {
	display: none;
	margin: 12px 0 0;
	font-size: 13px;
	color: #e0a0a0;
	text-align: center;
}

.dmw-modal-err.is-on {
	display: block;
}

@media (max-width: 560px) {

	.dmw-modal-overlay {
		align-items: flex-end;
		padding: 0;
	}

	.dmw-modal {
		width: 100%;
		max-height: 88vh;
		border-radius: 22px 22px 0 0;
		border-bottom: 0;
	}

	.dmw-modal-media {
		height: 150px;
	}
}

@media (prefers-reduced-motion: reduce) {

	.dmw-modal-overlay,
	.dmw-modal,
	.dmw-modal *::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

/* =========================================================================
   14. Popup add-ons (multi-select)
   ========================================================================= */

.dmw-modal-choicewrap,
.dmw-modal-addonwrap {
	margin-bottom: 2px;
}

.dmw-addons {
	max-height: 218px;
	overflow: auto;
	scrollbar-width: thin;
	padding-right: 2px;
}

.dmw-addon-box {
	flex: none;
	width: 18px;
	height: 18px;
	border-radius: 5px;
	border: 1.5px solid rgba(212, 169, 78, 0.55);
	position: relative;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.dmw-addon.is-sel .dmw-addon-box {
	background: var(--mg);
	border-color: var(--mg);
}

.dmw-addon.is-sel .dmw-addon-box::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 1.5px;
	width: 5px;
	height: 9px;
	border: solid #0d0b08;
	border-width: 0 2px 2px 0;
	transform: rotate(43deg);
}

/* =========================================================================
   15. Theme / Elementor Global Kit protection
   -------------------------------------------------------------------------
   Elementor's Global Style Kit targets bare tags (h2, h3, a, button…) from
   the body class, which can out-rank single-class selectors. Everything
   below uses two-class selectors so the widget keeps its own black & gold
   design no matter what the kit or theme sets.
   ========================================================================= */

.dmw .dmw-title,
.dmw h2.dmw-title {
	font-family: var(--dmw-font-head);
	font-size: clamp(30px, 4.5vw, 46px);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: 0.02em;
	text-transform: none;
	color: var(--dmw-text);
	margin: 10px 0 0;
	padding: 0;
}

.dmw .dmw-sec-title,
.dmw h3.dmw-sec-title {
	font-family: var(--dmw-font-head);
	font-size: clamp(23px, 3vw, 30px);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--dmw-text);
	margin: 6px 0 0;
	padding: 0;
}

.dmw .dmw-card .dmw-name,
.dmw h4.dmw-name,
.dmw .dmw-item .dmw-name {
	font-family: var(--dmw-font-head);
	font-weight: 600;
	text-transform: none;
	color: var(--dmw-text);
	margin: 0;
	padding: 0;
}

.dmw .dmw-card .dmw-name { font-size: 19px; line-height: 1.3; }
.dmw .dmw-item .dmw-name { font-size: 18px; line-height: 1.35; }

.dmw .dmw-sub,
.dmw .dmw-desc,
.dmw .dmw-item-desc,
.dmw .dmw-sec-note,
.dmw p.dmw-sub,
.dmw p.dmw-desc,
.dmw p.dmw-item-desc,
.dmw p.dmw-sec-note {
	color: var(--dmw-muted);
	margin-bottom: 0;
}

.dmw .dmw-kicker,
.dmw .dmw-sec-kicker,
.dmw .dmw-cat,
.dmw .dmw-price {
	color: var(--dmw-gold);
}

.dmw .dmw-price { color: var(--dmw-price); }

.dmw .dmw-sec-kicker {
	font-family: var(--dmw-font-script);
	text-transform: none;
	letter-spacing: 0.02em;
}

.dmw .dmw-kicker--script {
	font-family: var(--dmw-font-script);
	text-transform: none;
	letter-spacing: 0.02em;
	font-weight: 400;
}

/* Links: kill theme underlines, colors and box-shadow "underlines". */
.dmw .dmw-name a,
.dmw .dmw-name a:hover,
.dmw .dmw-name a:focus,
.dmw a.dmw-media,
.dmw a.dmw-thumb,
.dmw a.dmw-add,
.dmw a.dmw-btn {
	text-decoration: none;
	box-shadow: none;
	border-bottom: 0;
	outline-offset: 3px;
}

.dmw .dmw-name a { color: inherit; }
.dmw .dmw-name a:hover { color: var(--dmw-gold); }

/* Buttons: reset theme/kit button skins on ours. */
.dmw button.dmw-filter,
.dmw .dmw-filter {
	appearance: none;
	-webkit-appearance: none;
	background: transparent;
	border: 1px solid var(--dmw-gold-faint);
	color: var(--dmw-muted);
	font-family: var(--dmw-font-body);
	text-shadow: none;
	box-shadow: none;
}

.dmw button.dmw-filter:hover,
.dmw .dmw-filter:hover {
	background: transparent;
	color: var(--dmw-gold);
	border-color: var(--dmw-gold-soft);
}

.dmw button.dmw-filter.is-active,
.dmw .dmw-filter.is-active {
	background: var(--dmw-gold);
	border-color: var(--dmw-gold);
	color: var(--dmw-ink);
}

.dmw button.dmw-tab,
.dmw .dmw-tab,
.dmw button.dmw-tab.is-active,
.dmw .dmw-tab.is-active {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.dmw .dmw-tab:hover { background: transparent; }

.dmw a.dmw-add,
.dmw .dmw-add {
	background: transparent;
	border: 1.5px solid var(--dmw-gold-soft);
	color: var(--dmw-gold);
	text-decoration: none;
	box-shadow: none;
}

.dmw a.dmw-add:hover,
.dmw .dmw-add:hover,
.dmw a.dmw-add.added,
.dmw .dmw-add.added {
	background: var(--dmw-gold);
	border-color: var(--dmw-gold);
	color: var(--dmw-ink);
}

.dmw a.dmw-btn,
.dmw .dmw-btn {
	background: transparent;
	border: 1.5px solid var(--dmw-gold-soft);
	color: var(--dmw-gold);
	font-family: var(--dmw-font-body);
	text-decoration: none;
	text-shadow: none;
}

.dmw a.dmw-btn:hover,
.dmw .dmw-btn:hover {
	background: var(--dmw-gold);
	border-color: var(--dmw-gold);
	color: var(--dmw-ink);
}

.dmw .dmw-media img,
.dmw .dmw-thumb img {
	border: 0;
	border-radius: 0;
	box-shadow: none;
	max-width: 100%;
}

/* Popup + toast live outside .dmw — protect them the same way. */
.dmw-modal-overlay .dmw-modal-name,
.dmw-modal-overlay h3.dmw-modal-name {
	font-family: "Playfair Display", Georgia, serif;
	font-size: 22px;
	font-weight: 600;
	text-transform: none;
	color: #f4ecdb;
	margin: 0;
	padding: 0;
}

.dmw-modal-overlay p.dmw-modal-desc,
.dmw-modal-overlay .dmw-modal-desc {
	color: #b3a78c;
	margin: 6px 0 0;
}

.dmw-modal-overlay button.dmw-opt,
.dmw-modal-overlay .dmw-opt {
	background: transparent;
	border: 0;
	border-bottom: 1px dashed rgba(212, 169, 78, 0.28);
	border-radius: 8px;
	color: #d8cdb4;
	box-shadow: none;
	text-shadow: none;
	text-transform: none;
	letter-spacing: normal;
}

.dmw-modal-overlay button.dmw-opt:hover,
.dmw-modal-overlay .dmw-opt:hover {
	background: rgba(212, 169, 78, 0.06);
	color: #d8cdb4;
}

.dmw-modal-overlay button.dmw-modal-add,
.dmw-modal-overlay .dmw-modal-add {
	background: var(--mg);
	border: 0;
	color: #0d0b08;
	font-family: "Jost", system-ui, sans-serif;
	box-shadow: none;
	text-shadow: none;
}

.dmw-modal-overlay button.dmw-modal-close,
.dmw-modal-overlay .dmw-modal-close {
	background: rgba(13, 11, 8, 0.65);
	border: 1px solid rgba(244, 236, 219, 0.35);
	color: #f4ecdb;
	box-shadow: none;
}

.dmw-modal-overlay button.dmw-modal-close:hover {
	background: rgba(13, 11, 8, 0.65);
	border-color: var(--mg);
	color: var(--mg);
}

.dmw-toast .dmw-toast-cart,
a.dmw-toast-cart {
	text-decoration: none;
	box-shadow: none;
}

/* =========================================================================
   16. Built-in menu board + no-photo tiles + popup polish
   ========================================================================= */

/* The widget carries its own black & gold board by default, so it sits
   beautifully on light, teal or any theme section — like a physical menu. */
.dmw {
	background: var(--dmw-bg, radial-gradient(130% 100% at 50% 0%, #171209 0%, #100d08 52%, #0b0906 100%));
	border: 1px solid var(--dmw-gold-faint);
	border-radius: 26px;
	padding: clamp(28px, 5vw, 58px) clamp(18px, 4.2vw, 52px);
	box-shadow: 0 30px 70px -38px rgba(0, 0, 0, 0.55);
}

/* Thin gold accent along the top edge of the board */
.dmw {
	position: relative;
}

.dmw::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 8%;
	right: 8%;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--dmw-gold-soft), transparent);
	pointer-events: none;
}

/* Blend into the section instead (old behaviour) */
.dmw.dmw-flat {
	background: var(--dmw-bg, transparent);
	border: 0;
	border-radius: 0;
	padding: 0;
	box-shadow: none;
}

.dmw.dmw-flat::before {
	display: none;
}

.dmw-sticky .dmw-tabs {
	top: calc(var(--dmw-sticky-top) + 0px);
}

/* ---- Elegant tile when a product has no photo yet ---- */
.dmw-noimg {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background:
		radial-gradient(90% 90% at 50% 20%, rgba(212, 169, 78, 0.10), transparent 62%),
		#1a150d;
}

.dmw-noimg::before {
	content: "";
	width: 44px;
	height: 44px;
	opacity: 0.9;
	background-color: var(--dmw-gold);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 8h1a4 4 0 1 1 0 8h-1'/%3E%3Cpath d='M3 8h14v6a5 5 0 0 1-5 5H8a5 5 0 0 1-5-5V8z'/%3E%3Cpath d='M7 2.5c0 1-1 1-1 2s1 1 1 2M11 2.5c0 1-1 1-1 2s1 1 1 2'/%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='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 8h1a4 4 0 1 1 0 8h-1'/%3E%3Cpath d='M3 8h14v6a5 5 0 0 1-5 5H8a5 5 0 0 1-5-5V8z'/%3E%3Cpath d='M7 2.5c0 1-1 1-1 2s1 1 1 2M11 2.5c0 1-1 1-1 2s1 1 1 2'/%3E%3C/svg%3E") center / contain no-repeat;
}

.dmw .dmw-media.dmw-noimg,
.dmw a.dmw-media .dmw-noimg {
	aspect-ratio: var(--dmw-ratio);
}

/* Popup: gold cup header when no photo yet */
.dmw-modal-media.no-img {
	height: 104px;
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		radial-gradient(90% 120% at 50% 0%, rgba(212, 169, 78, 0.12), transparent 65%),
		#1a150d;
}

.dmw-modal-media.no-img::before {
	content: "";
	width: 40px;
	height: 40px;
	background-color: var(--mg);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 8h1a4 4 0 1 1 0 8h-1'/%3E%3Cpath d='M3 8h14v6a5 5 0 0 1-5 5H8a5 5 0 0 1-5-5V8z'/%3E%3Cpath d='M7 2.5c0 1-1 1-1 2s1 1 1 2M11 2.5c0 1-1 1-1 2s1 1 1 2'/%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='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 8h1a4 4 0 1 1 0 8h-1'/%3E%3Cpath d='M3 8h14v6a5 5 0 0 1-5 5H8a5 5 0 0 1-5-5V8z'/%3E%3Cpath d='M7 2.5c0 1-1 1-1 2s1 1 1 2M11 2.5c0 1-1 1-1 2s1 1 1 2'/%3E%3C/svg%3E") center / contain no-repeat;
}

.dmw-modal-media.no-img::after {
	display: none;
}

/* Popup polish */
.dmw-modal {
	overflow-x: hidden;
}

.dmw-modal-media {
	height: 152px;
}

.dmw-modal-body {
	padding: 15px 22px 22px;
}

.dmw-modal-label {
	margin-top: 15px;
}

.dmw-opts .dmw-opt:last-child,
.dmw-addons .dmw-addon:last-child {
	border-bottom: 0;
}

@media (max-width: 767px) {
	.dmw {
		border-radius: 20px;
	}
}

/* =========================================================================
   17. LIGHT SKIN — white, deep green-black text, gold (the printed
       drinks-menu look). Applied via .dmw-light; now the default.
   ========================================================================= */

.dmw-light {
	--dmw-gold: #B8862B;
	--dmw-gold-soft: rgba(184, 134, 43, 0.55);
	--dmw-gold-faint: rgba(184, 134, 43, 0.26);
	--dmw-gold-ghost: rgba(184, 134, 43, 0.07);
	--dmw-text: #1B1815;
	--dmw-muted: #6F6B5E;
	--dmw-price: #B8862B;
	--dmw-card: #FFFFFF;
	--dmw-card-2: #FFFDF7;
	--dmw-border: rgba(184, 134, 43, 0.32);
	--dmw-line: rgba(184, 134, 43, 0.4);
	--dmw-ink: #221A0B;

	background: var(--dmw-bg, #FFFFFF);
	border-color: var(--dmw-gold-faint);
	box-shadow: 0 22px 55px -35px rgba(30, 42, 36, 0.28);
}

@supports (color: color-mix(in srgb, red, blue)) {
	.dmw-light {
		--dmw-gold-soft: color-mix(in srgb, var(--dmw-gold) 55%, transparent);
		--dmw-gold-faint: color-mix(in srgb, var(--dmw-gold) 26%, transparent);
		--dmw-gold-ghost: color-mix(in srgb, var(--dmw-gold) 7%, transparent);
	}
}

.dmw-light.dmw-flat {
	background: var(--dmw-bg, transparent);
	box-shadow: none;
}

/* Photos should sit clean on white — no dark fade */
.dmw-light .dmw-media::after {
	display: none;
}

.dmw-light .dmw-card {
	background: var(--dmw-card);
	box-shadow: 0 6px 18px -12px rgba(30, 42, 36, 0.22);
}

.dmw-light:not(.dmw-no-hover) .dmw-card:hover {
	box-shadow: 0 20px 42px -20px rgba(30, 42, 36, 0.35), 0 0 0 1px var(--dmw-gold-faint);
}

/* No-photo tiles: warm paper instead of dark */
.dmw-light .dmw-noimg {
	background:
		radial-gradient(90% 90% at 50% 20%, rgba(184, 134, 43, 0.12), transparent 62%),
		#F8F2E4;
}

/* Sticky tabs blur to white */
.dmw-light.dmw-sticky .dmw-tabs {
	background: rgba(255, 255, 255, 0.92);
}

/* Board hairline slightly stronger on white */
.dmw-light::before {
	background: linear-gradient(90deg, transparent, var(--dmw-gold), transparent);
	opacity: 0.7;
}

/* =========================================================================
   18. LIGHT POPUP + Add-button readability (both skins)
   ========================================================================= */

/* Bigger, bolder Add to Cart text everywhere */
.dmw-modal-overlay .dmw-modal-add,
.dmw-modal-overlay button.dmw-modal-add {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.14em;
	padding: 16px 20px;
}

.dmw-modal-light {
	--mg: #B8862B;
}

.dmw-modal-light .dmw-modal {
	background: #FFFFFF;
	border-color: var(--mg);
	color: #1B1815;
	box-shadow: 0 30px 80px -30px rgba(20, 26, 22, 0.45);
}

.dmw-modal-light .dmw-modal-name,
.dmw-modal-light h3.dmw-modal-name {
	color: #1B1815;
}

.dmw-modal-light .dmw-modal-desc,
.dmw-modal-light p.dmw-modal-desc {
	color: #6F6B5E;
}

.dmw-modal-light .dmw-modal-label {
	color: var(--mg);
}

.dmw-modal-light .dmw-modal-label::after {
	background: rgba(184, 134, 43, 0.3);
}

.dmw-modal-light .dmw-opt,
.dmw-modal-light button.dmw-opt {
	color: #3F3B31;
	border-bottom-color: rgba(184, 134, 43, 0.3);
}

.dmw-modal-light .dmw-opt:hover,
.dmw-modal-light button.dmw-opt:hover {
	background: rgba(184, 134, 43, 0.06);
	color: #3F3B31;
}

.dmw-modal-light .dmw-opt.is-sel .dmw-opt-name {
	color: #1B1815;
}

.dmw-modal-light .dmw-opt-radio,
.dmw-modal-light .dmw-addon-box {
	border-color: rgba(184, 134, 43, 0.6);
}

.dmw-modal-light .dmw-addon.is-sel .dmw-addon-box::after {
	border-color: #FFFFFF;
}

.dmw-modal-light .dmw-modal-qtyrow > span {
	color: #6F6B5E;
}

.dmw-modal-light .dmw-qty output {
	color: #1B1815;
}

.dmw-modal-light .dmw-qty button {
	border-color: rgba(184, 134, 43, 0.6);
	color: var(--mg);
}

.dmw-modal-light .dmw-qty button:hover {
	background: var(--mg);
	color: #FFFFFF;
	border-color: var(--mg);
}

.dmw-modal-light .dmw-modal-add,
.dmw-modal-light button.dmw-modal-add {
	background: var(--mg);
	color: #FFFFFF;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
}

.dmw-modal-light .dmw-modal-add:hover {
	filter: brightness(0.95);
}

.dmw-modal-light .dmw-modal-add.loading::after {
	border-color: rgba(255, 255, 255, 0.35);
	border-top-color: #FFFFFF;
}

.dmw-modal-light .dmw-modal-close,
.dmw-modal-light button.dmw-modal-close {
	background: rgba(255, 255, 255, 0.88);
	border-color: rgba(30, 42, 36, 0.25);
	color: #3C463F;
}

.dmw-modal-light .dmw-modal-close:hover {
	border-color: var(--mg);
	color: var(--mg);
	background: rgba(255, 255, 255, 0.88);
}

.dmw-modal-light .dmw-modal-media {
	background: #F6F0E1;
}

.dmw-modal-light .dmw-modal-media::after {
	display: none;
}

.dmw-modal-light .dmw-modal-media.no-img {
	background:
		radial-gradient(90% 120% at 50% 0%, rgba(184, 134, 43, 0.14), transparent 65%),
		#F8F2E4;
}

.dmw-modal-light .dmw-modal-err {
	color: #B3452F;
}

/* Light overlay tint */
.dmw-modal-light.dmw-modal-overlay {
	background: rgba(28, 24, 14, 0.5);
}

/* Mobile: keep the board tight and premium */
@media (max-width: 767px) {

	.dmw {
		padding: 24px 16px 22px;
	}

	.dmw-light {
		box-shadow: 0 14px 34px -24px rgba(30, 42, 36, 0.3);
	}

	.dmw-menu .dmw-items {
		gap: 0;
	}
}

/* =========================================================================
   19. Fit & finish (2.3.1)
   ========================================================================= */

/* Breathing room below the menu board so the theme footer's badge
   never overlaps the last items. */
.dmw-menu {
	margin-bottom: clamp(48px, 7vw, 96px);
}

.dmw-menu .dmw-sec:last-of-type {
	margin-bottom: 6px;
}

/* Popup option lists: clearer text, tidy gold scrollbar */
.dmw-modal-overlay .dmw-opt-name {
	font-size: 14.5px;
}

.dmw-addons {
	max-height: 246px;
}

.dmw-addons::-webkit-scrollbar,
.dmw-modal::-webkit-scrollbar {
	width: 6px;
}

.dmw-addons::-webkit-scrollbar-thumb,
.dmw-modal::-webkit-scrollbar-thumb {
	background: rgba(184, 134, 43, 0.4);
	border-radius: 6px;
}

.dmw-addons::-webkit-scrollbar-track,
.dmw-modal::-webkit-scrollbar-track {
	background: transparent;
}

/* =========================================================================
   20. Homepage menu-list mode
   ========================================================================= */

.dmw-home-items {
	margin-top: 6px;
}

/* Slightly larger thumbs on the homepage so the photos shine */
.dmw-listmode .dmw-thumb {
	width: 68px;
	height: 68px;
}

.dmw-listmode .dmw-item .dmw-name {
	font-size: 17.5px;
}

.dmw-listmode .dmw-cta {
	margin-top: 28px;
}

@media (max-width: 767px) {

	.dmw-listmode .dmw-thumb {
		width: 56px;
		height: 56px;
	}

	.dmw-listmode .dmw-item .dmw-name {
		font-size: 16px;
	}
}

/* =========================================================================
   21. Phones: wrapped filter pills + swipeable photo-card carousel
   ========================================================================= */

.dmw-only-on-phone {
	display: none;
}

@media (max-width: 767px) {

	/* Category buttons wrap into tidy rows — nothing hides off-screen */
	.dmw-filters {
		flex-wrap: wrap;
		justify-content: center;
		gap: 7px;
		overflow: visible;
		margin-left: 0;
		margin-right: 0;
		padding: 0 0 2px;
		-webkit-mask-image: none;
		mask-image: none;
	}

	.dmw-filter {
		padding: 9px 13px;
		font-size: 10px;
		letter-spacing: 0.1em;
	}

	/* Swap list ↔ carousel */
	.dmw-hide-on-phone {
		display: none !important;
	}

	.dmw-only-on-phone {
		display: flex;
	}

	/* The swipe row */
	.dmw-mcarousel {
		gap: 12px;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		padding: 6px 2px 16px;
		margin: 0 -4px;
		-webkit-mask-image: linear-gradient(90deg, #000 94%, transparent);
		mask-image: linear-gradient(90deg, #000 94%, transparent);
	}

	.dmw-mcarousel::-webkit-scrollbar {
		display: none;
	}

	.dmw-mcarousel .dmw-card {
		flex: 0 0 70%;
		max-width: 250px;
		scroll-snap-align: center;
	}

	.dmw-mcarousel .dmw-card .dmw-name {
		font-size: 16px;
	}

	/* Carousel cards reveal instantly (no vertical scroll trigger sideways) */
	.dmw-js .dmw-mcarousel [data-dmw-item] {
		opacity: 1;
		transform: none;
	}
}

/* =========================================================================
   22. Homepage list on mobile — clean single column, balanced pills
   ========================================================================= */

@media (max-width: 767px) {

	/* Homepage menu list: force one clean column, comfortable rows */
	.dmw-showcase .dmw-home-items {
		grid-template-columns: 1fr !important;
		gap: 0;
	}

	.dmw-showcase .dmw-home-items .dmw-item {
		padding: 15px 4px;
	}

	/* Balanced filter buttons: equal width, wrap neatly, never a lone
	   full-width odd one out. */
	.dmw-showcase .dmw-filters {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 8px;
	}

	.dmw-showcase .dmw-filters .dmw-filter {
		width: 100%;
		text-align: center;
		padding: 12px 8px;
		font-size: 11px;
		letter-spacing: 0.12em;
	}

	/* "All" (first) spans both columns as a clean header row when there's
	   an odd number of buttons after it. */
	.dmw-showcase .dmw-filters .dmw-filter:first-child {
		grid-column: 1 / -1;
	}
}

/* =========================================================================
   23. TILES layout (reference: square photo · name/desc · price + bag)
   ========================================================================= */

.dmw-tiles {
	--dmw-mcols: 2;
	display: grid;
	grid-template-columns: repeat(var(--dmw-mcols), minmax(0, 1fr));
	gap: 10px 42px;
	margin-top: 6px;
}

.dmw-tile {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 14px 6px;
}

.dmw-tile-media {
	flex: none;
	width: 92px;
	height: 92px;
	border-radius: 16px;
	overflow: hidden;
	background: var(--dmw-card-2);
	box-shadow: 0 8px 20px -12px rgba(30, 42, 36, 0.4);
}

.dmw-tile-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.dmw-tile:hover .dmw-tile-media img {
	transform: scale(1.06);
}

.dmw-tile-media .dmw-noimg {
	width: 100%;
	height: 100%;
}

.dmw-tile-info {
	flex: 1;
	min-width: 0;
}

.dmw-tiles .dmw-name {
	font-family: var(--dmw-font-head);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.01em;
	color: var(--dmw-text);
}

.dmw-tiles .dmw-name a {
	transition: color 0.25s ease;
}

.dmw-tiles .dmw-name a:hover {
	color: var(--dmw-gold);
}

.dmw-tiles .dmw-desc {
	color: var(--dmw-muted);
	font-size: 13.5px;
	font-weight: 300;
	line-height: 1.5;
	margin-top: 5px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.dmw-tile-buy {
	flex: none;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
	text-align: right;
}

.dmw-tiles .dmw-price {
	font-family: var(--dmw-font-head);
	font-size: 17px;
	font-weight: 600;
	color: var(--dmw-price);
	white-space: nowrap;
}

/* Solid gold bag button (reference style) */
.dmw-bag .dmw-add {
	background: var(--dmw-gold);
	border-color: var(--dmw-gold);
	color: var(--dmw-ink);
	--sz: 42px;
}

.dmw-bag .dmw-add:hover {
	filter: brightness(1.06);
	box-shadow: 0 8px 20px -8px var(--dmw-gold-soft);
}

/* Swap the + glyph for a shopping-bag icon in bag mode */
.dmw-bag .dmw-add .dmw-ic-plus svg {
	display: none;
}

.dmw-bag .dmw-add .dmw-ic-plus::after {
	content: "";
	width: calc(var(--sz) * 0.45);
	height: calc(var(--sz) * 0.45);
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7h12l-1 13H7L6 7z'/%3E%3Cpath d='M9 7a3 3 0 0 1 6 0'/%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='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7h12l-1 13H7L6 7z'/%3E%3Cpath d='M9 7a3 3 0 0 1 6 0'/%3E%3C/svg%3E") center / contain no-repeat;
}

.dmw-bag .dmw-add:hover .dmw-ic-plus {
	transform: none;
}

/* Menu-page thumbnails: gentle square-rounded to echo the tiles */
.dmw-menu .dmw-thumb {
	border-radius: 12px;
}

@media (max-width: 767px) {

	.dmw-tiles {
		grid-template-columns: 1fr !important;
		gap: 0;
	}

	.dmw-tile {
		gap: 14px;
		padding: 13px 2px;
		border-bottom: 1px solid var(--dmw-line);
	}

	.dmw-tile:last-child {
		border-bottom: 0;
	}

	.dmw-tile-media {
		width: 76px;
		height: 76px;
		border-radius: 13px;
	}

	.dmw-tiles .dmw-name {
		font-size: 17px;
	}

	.dmw-tiles .dmw-desc {
		font-size: 12.5px;
	}

	.dmw-bag .dmw-add {
		--sz: 38px;
	}
}

/* =========================================================================
   24. Desktop hover-zoom preview
   ========================================================================= */

.dmw-zoom {
	position: fixed;
	z-index: 99999;
	width: 300px;
	max-width: 42vw;
	padding: 8px;
	background: #14100a;
	border: 1px solid var(--dmw-gold, #B8862B);
	border-radius: 16px;
	box-shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.6);
	opacity: 0;
	transform: scale(0.94);
	transform-origin: top left;
	transition: opacity 0.18s ease, transform 0.18s ease;
	pointer-events: none;
}

.dmw-zoom.is-on {
	opacity: 1;
	transform: scale(1);
}

.dmw-zoom img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 11px;
	display: block;
}

.dmw-zoom-cap {
	display: block;
	text-align: center;
	font-family: var(--dmw-font-head, "Playfair Display", serif);
	font-size: 15px;
	font-weight: 600;
	color: #f4ecdb;
	padding: 10px 6px 4px;
}

/* The light skin gets a matching light preview */
.dmw-zoom.is-light {
	background: #fff;
	border-color: var(--dmw-gold, #B8862B);
}

.dmw-zoom.is-light .dmw-zoom-cap {
	color: #1B1815;
}

/* Only meaningful on hover-capable devices */
@media (hover: none), (max-width: 900px) {
	.dmw-zoom {
		display: none !important;
	}
}

/* Subtle cue that images are interactive on desktop */
@media (hover: hover) and (pointer: fine) and (min-width: 901px) {

	.dmw-thumb[data-dmw-zoom],
	.dmw-tile-media[data-dmw-zoom] {
		cursor: zoom-in;
	}
}

/* =========================================================================
   25. Menu-page tabs on mobile — wrap into neat centered pills
   ========================================================================= */

@media (max-width: 767px) {

	.dmw-menu .dmw-tabs {
		flex-wrap: wrap;
		justify-content: center;
		gap: 8px;
		overflow: visible;
		padding: 0;
		margin-left: 0;
		margin-right: 0;
		-webkit-mask-image: none;
		mask-image: none;
		border-bottom: 0;
	}

	/* Turn the underline tabs into bordered pills so they read as buttons */
	.dmw-menu .dmw-tab {
		border: 1px solid var(--dmw-gold-faint);
		border-radius: 999px;
		padding: 10px 15px;
		font-size: 11px;
		letter-spacing: 0.1em;
		white-space: nowrap;
	}

	.dmw-menu .dmw-tab::after {
		display: none; /* remove the sliding underline on mobile */
	}

	.dmw-menu .dmw-tab.is-active {
		background: var(--dmw-gold);
		border-color: var(--dmw-gold);
		color: var(--dmw-ink);
	}

	/* "All" spans the full first row for a tidy, balanced grid */
	.dmw-menu .dmw-tabs .dmw-tab:first-child {
		flex: 0 0 100%;
		text-align: center;
	}
}

/* =========================================================================
   26. Display-only menu — bigger, more prominent product images
   (no buy button now, so photos become the star)
   ========================================================================= */

/* Homepage tiles: larger square photo */
.dmw-tilesmode .dmw-tile-media {
	width: 120px;
	height: 120px;
	border-radius: 18px;
}

/* Menu-page thumbnails: larger, rounded */
.dmw-menu .dmw-thumb,
.dmw-listmode .dmw-thumb {
	width: 96px;
	height: 96px;
}

/* The non-clickable media should not look clickable (default cursor),
   but the desktop zoom cue stays via the zoom rule in section 24. */
.dmw-tile-media,
.dmw-thumb,
.dmw-media {
	cursor: default;
}

/* Tiles: give the text a touch more room and remove the empty buy column gap */
.dmw-tilesmode .dmw-tile {
	gap: 20px;
}

/* Cards layout: taller image for a gallery feel */
.dmw-grid .dmw-media {
	aspect-ratio: 4 / 3;
}

@media (max-width: 767px) {

	.dmw-tilesmode .dmw-tile-media {
		width: 96px;
		height: 96px;
	}

	.dmw-menu .dmw-thumb,
	.dmw-listmode .dmw-thumb {
		width: 82px;
		height: 82px;
	}
}
