/**
 * DS Mega Menus — Frontend
 */

.dsmm-has-mega {
	position: relative;
}

/* Puente invisible entre ítem y panel (evita cierre accidental al bajar el cursor) */
.dsmm-trigger--hover.dsmm-has-mega::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	height: 14px;
	z-index: 10049;
}

.dsmm-panel {
	--dsmm-bg: #fff;
	--dsmm-text: #1a1a1a;
	--dsmm-muted: #6b7280;
	--dsmm-accent: #0f766e;
	--dsmm-border: #e5e7eb;
	--dsmm-hover-bg: #f8fafc;
	--dsmm-radius: 12px;
	--dsmm-shadow: 0 24px 48px rgba(15, 23, 42, .12);
	--dsmm-heading: #0f172a;
	--dsmm-link: #334155;
	--dsmm-link-hover: #0f766e;
	--dsmm-cols: 4;
	--dsmm-backdrop: none;
	--dsmm-viewport-gutter: clamp(16px, 3vw, 32px);
	--dsmm-shift-x: 0px;

	box-sizing: border-box;
	position: absolute;
	left: 0;
	top: 100%;
	z-index: 10050;
	min-width: 280px;
	max-width: min(1200px, calc(100vw - (2 * var(--dsmm-viewport-gutter))));
	padding: 0;
	color: var(--dsmm-text) !important;
	background: var(--dsmm-bg) !important;
	border: 1px solid var(--dsmm-border) !important;
	border-radius: var(--dsmm-radius) !important;
	box-shadow: var(--dsmm-shadow) !important;
	backdrop-filter: var(--dsmm-backdrop);
	-webkit-backdrop-filter: var(--dsmm-backdrop);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateX(var(--dsmm-shift-x)) translateY(8px);
	transition: opacity .22s ease, transform .22s ease, visibility .22s;
}

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

.dsmm-panel.is-open,
.dsmm-has-mega:hover > .dsmm-panel.dsmm-open--hover,
.dsmm-has-mega:focus-within > .dsmm-panel.dsmm-open--hover {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateX(var(--dsmm-shift-x)) translateY(0);
}

.dsmm-panel.dsmm-open--click:not(.is-open) {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

/* Width modes */
.dsmm-width--full {
	left: 50%;
	right: auto;
	width: calc(100vw - (2 * var(--dsmm-viewport-gutter)));
	max-width: calc(100vw - (2 * var(--dsmm-viewport-gutter)));
	margin-left: calc(-50vw + var(--dsmm-viewport-gutter) + 50%);
	transform: translateX(var(--dsmm-shift-x)) translateY(8px);
	border-radius: var(--dsmm-radius);
	border-left: 1px solid var(--dsmm-border);
	border-right: 1px solid var(--dsmm-border);
}

.dsmm-width--full.is-open,
.dsmm-has-mega:hover > .dsmm-width--full.dsmm-open--hover,
.dsmm-has-mega:focus-within > .dsmm-width--full.dsmm-open--hover {
	transform: translateX(var(--dsmm-shift-x)) translateY(0);
}

.dsmm-width--container {
	width: min(1140px, calc(100vw - (2 * var(--dsmm-viewport-gutter))));
}

.dsmm-width--content {
	width: min(900px, calc(100vw - (2 * var(--dsmm-viewport-gutter))));
}

.dsmm-width--auto {
	width: max-content;
	max-width: min(960px, calc(100vw - (2 * var(--dsmm-viewport-gutter))));
}

/* Animations */
.dsmm-anim--fade {
	transform: none;
}
.dsmm-anim--fade-slide {
	transform: translateX(var(--dsmm-shift-x)) translateY(10px);
}
.dsmm-width--full.dsmm-anim--fade-slide {
	transform: translateX(var(--dsmm-shift-x)) translateY(10px);
}
.dsmm-anim--scale {
	transform: translateX(var(--dsmm-shift-x)) translateY(6px) scale(.98);
}
.dsmm-width--full.dsmm-anim--scale {
	transform: translateX(var(--dsmm-shift-x)) translateY(6px) scale(.98);
}
.dsmm-anim--slide-down {
	transform: translateX(var(--dsmm-shift-x)) translateY(-6px);
}
.dsmm-width--full.dsmm-anim--slide-down {
	transform: translateX(var(--dsmm-shift-x)) translateY(-6px);
}

.dsmm-anim--none {
	transition: none;
}

.dsmm-panel.is-open.dsmm-anim--fade-slide,
.dsmm-has-mega:hover > .dsmm-anim--fade-slide.dsmm-open--hover,
.dsmm-panel.is-open.dsmm-anim--scale,
.dsmm-has-mega:hover > .dsmm-anim--scale.dsmm-open--hover,
.dsmm-panel.is-open.dsmm-anim--slide-down,
.dsmm-has-mega:hover > .dsmm-anim--slide-down.dsmm-open--hover {
	transform: translateX(var(--dsmm-shift-x)) translateY(0);
}

.dsmm-anim--scale.dsmm-panel.is-open,
.dsmm-has-mega:hover > .dsmm-anim--scale.dsmm-open--hover {
	transform: translateX(var(--dsmm-shift-x)) translateY(0) scale(1);
}

/* Inner — scroll si hay muchas categorías */
.dsmm-inner {
	padding: clamp(14px, 2vw, 22px) clamp(16px, 3vw, 36px) clamp(20px, 3vw, 32px);
	max-height: min(72vh, 640px);
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
}

.dsmm-width--full .dsmm-inner {
	max-height: min(78vh, 720px);
	padding-bottom: clamp(24px, 3vw, 36px);
}

.dsmm-grid,
.dsmm-cat-columns {
	padding-bottom: 2px;
}

.dsmm-grid {
	display: grid !important;
	grid-template-columns: repeat(var(--dsmm-cols, 4), minmax(0, 1fr));
	gap: 8px 20px;
	align-items: start;
	width: 100%;
}

/* Bloque único de categorías = ancho completo */
.dsmm-block--full,
.dsmm-block--wc_categories:only-child,
.dsmm-block--wp_categories:only-child {
	grid-column: 1 / -1 !important;
	width: 100% !important;
	max-width: 100% !important;
}

.dsmm-span-1 { grid-column: span 1; }
.dsmm-span-2 { grid-column: span 2; }
.dsmm-span-3 { grid-column: span 3; }
.dsmm-span-4 { grid-column: span 4; }
.dsmm-span-5 { grid-column: span 5; }
.dsmm-span-6 { grid-column: span 6; }

/* ── Columnas reales de categorías (megamenú clásico) ── */
.dsmm-cat-columns {
	display: grid !important;
	grid-template-columns: repeat(var(--dsmm-cat-cols, 4), minmax(0, 1fr));
	gap: 4px 16px;
	width: 100%;
}

.dsmm-cat-column {
	min-width: 0;
}

.dsmm-cats--column {
	display: block !important;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none !important;
}

.dsmm-cats--column .dsmm-cat {
	display: block !important;
	width: 100% !important;
	float: none !important;
	margin: 0 0 2px !important;
	padding: 0 !important;
	list-style: none !important;
}

.dsmm-cats--column .dsmm-cat__link {
	display: block !important;
	width: 100% !important;
	padding: 6px 10px !important;
	border-radius: calc(var(--dsmm-radius) - 4px);
	text-decoration: none !important;
	transition: background .15s, color .15s, border-color .15s;
	border: 1px solid transparent;
}

.dsmm-cat-columns--grid .dsmm-cat__link,
.dsmm-cat-columns--cards .dsmm-cat__link {
	background: var(--dsmm-hover-bg);
	border-color: var(--dsmm-border);
}

.dsmm-cat-columns--grid .dsmm-cat__link:hover,
.dsmm-cat-columns--cards .dsmm-cat__link:hover {
	background: var(--dsmm-bg);
	border-color: var(--dsmm-accent);
	color: var(--dsmm-link-hover) !important;
}

.dsmm-cat-columns--list .dsmm-cat__link {
	padding: 8px 4px !important;
	border-bottom: 1px solid var(--dsmm-border);
	border-radius: 0;
}

.dsmm-cats--column .dsmm-cat__body,
.dsmm-cats--column .dsmm-cat__name {
	display: block;
	width: 100%;
	min-width: 0;
}

/* Reset agresivo contra temas (Themify, etc.) */
.dsmm-panel ul.dsmm-cats,
.dsmm-panel ul.dsmm-cats li,
.dsmm-panel .dsmm-cat-columns,
.dsmm-panel .dsmm-cat-column {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	background: transparent !important;
}

.dsmm-panel ul.dsmm-cats li::before,
.dsmm-panel ul.dsmm-cats li::after {
	display: none !important;
	content: none !important;
}

#header .dsmm-panel,
#main-nav .dsmm-panel,
.nav .dsmm-panel,
.themify-menu .dsmm-panel {
	position: absolute !important;
	z-index: 999999 !important;
}

#header .dsmm-panel a,
#main-nav .dsmm-panel a {
	text-decoration: none !important;
}

.dsmm-block__title,
.dsmm-heading h3 {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--dsmm-heading) !important;
}

.dsmm-cat__link,
.dsmm-link-item a,
.dsmm-product {
	color: var(--dsmm-link) !important;
}

.dsmm-cat__link:hover,
.dsmm-link-item a:hover,
.dsmm-product:hover {
	color: var(--dsmm-link-hover) !important;
}

/* Grid de solo categorías padre (sin subcats) más legible */
.dsmm-cats--grid[data-show-subs="0"] {
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 16px;
}

.dsmm-cats--grid[data-show-subs="0"] .dsmm-cat__link {
	padding: 14px 16px;
	border: 1px solid var(--dsmm-border);
	border-radius: calc(var(--dsmm-radius) - 4px);
	background: var(--dsmm-hover-bg);
	font-weight: 600;
}

.dsmm-cats--grid[data-show-subs="0"] .dsmm-cat__link:hover {
	border-color: var(--dsmm-accent);
	background: var(--dsmm-bg);
}

.dsmm-heading p,
.dsmm-muted,
.dsmm-cat__desc,
.dsmm-link-item__desc {
	color: var(--dsmm-muted);
	font-size: 13px;
	line-height: 1.45;
}

.dsmm-empty {
	padding: 24px;
	color: var(--dsmm-muted);
	text-align: center;
}

/* Categories */
.dsmm-cats {
	list-style: none;
	margin: 0;
	padding: 0;
}

.dsmm-cat {
	margin: 0 0 2px;
}

.dsmm-cat > .dsmm-cat__link {
	padding: 3px 0 1px;
}

.dsmm-cat__link {
	display: flex;
	gap: 10px;
	align-items: center;
	padding: 4px 0;
	color: var(--dsmm-link);
	text-decoration: none;
	transition: color .15s, background .15s;
	min-width: 0;
}

.dsmm-cat__body {
	min-width: 0;
	flex: 1 1 auto;
}

.dsmm-cat__name {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.25;
	word-break: normal;
	overflow-wrap: break-word;
	hyphens: auto;
	white-space: normal;
	text-transform: none;
	letter-spacing: 0;
}

.dsmm-cat > .dsmm-cat__link .dsmm-cat__name {
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
}

.dsmm-count {
	color: var(--dsmm-muted);
	font-weight: 400;
	font-size: 12px;
}

.dsmm-subcats {
	list-style: none;
	margin: 0 0 4px 10px;
	padding: 0 0 1px 8px;
	border-left: 1px solid var(--dsmm-border);
}

.dsmm-subcats .dsmm-cat__link {
	padding: 1px 0 2px;
	font-size: 12px;
	line-height: 1.28;
}

.dsmm-cat:last-child > .dsmm-subcats {
	margin-bottom: 0;
	padding-bottom: 4px;
}

.dsmm-cats--grid,
.dsmm-cats--cards {
	display: grid !important;
	grid-template-columns: repeat(var(--dsmm-cat-cols, 4), minmax(0, 1fr));
	gap: 4px 14px;
	width: 100%;
}

.dsmm-cats--grid[data-show-subs="1"],
.dsmm-cats--list[data-show-subs="1"] {
	row-gap: 2px;
}

.dsmm-cats--cards .dsmm-cat__link,
.dsmm-layout--grid-cards .dsmm-cat__link,
.dsmm-layout--icon-grid .dsmm-cat__link {
	flex-direction: column;
	align-items: stretch;
	padding: 0;
	border-radius: calc(var(--dsmm-radius) - 4px);
	overflow: hidden;
	background: var(--dsmm-hover-bg);
	border: 1px solid var(--dsmm-border);
}

.dsmm-cats--cards .dsmm-cat__link:hover,
.dsmm-layout--grid-cards .dsmm-cat__link:hover,
.dsmm-layout--icon-grid .dsmm-cat__link:hover {
	border-color: var(--dsmm-accent);
}

.dsmm-cat__media {
	display: block;
	aspect-ratio: 4/3;
	overflow: hidden;
	background: var(--dsmm-border);
}

.dsmm-cat__media img,
.dsmm-image,
.dsmm-slide img,
.dsmm-product__img img,
.dsmm-link-item__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dsmm-cats--cards .dsmm-cat__body,
.dsmm-layout--grid-cards .dsmm-cat__body {
	padding: 12px;
}

.dsmm-layout--icon-grid .dsmm-cat__media {
	aspect-ratio: 1;
	border-radius: 50%;
	width: 72px;
	margin: 18px auto 0;
}

.dsmm-layout--icon-grid .dsmm-cat__link {
	text-align: center;
	padding-bottom: 16px;
	background: transparent;
	border: 0;
}

.dsmm-layout--icon-grid .dsmm-cat__body {
	padding: 10px 8px 0;
}

/* Links */
.dsmm-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.dsmm-link-item a {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 8px 0;
	color: var(--dsmm-link);
	text-decoration: none;
}

.dsmm-link-item a:hover {
	color: var(--dsmm-link-hover);
}

.dsmm-link-item__img {
	width: 40px;
	height: 40px;
	border-radius: 8px;
	flex-shrink: 0;
}

.dsmm-link-item__label {
	display: block;
	font-weight: 600;
	font-size: 14px;
}

.dsmm-badge {
	display: inline-block;
	margin-left: 6px;
	padding: 1px 7px;
	border-radius: 999px;
	background: var(--dsmm-accent);
	color: #fff;
	font-size: 10px;
	font-style: normal;
	font-weight: 700;
	letter-spacing: .03em;
	vertical-align: middle;
}

.dsmm-badge--sale {
	position: absolute;
	top: 8px;
	left: 8px;
	margin: 0;
}

/* Image / figure */
.dsmm-figure {
	margin: 0;
	border-radius: calc(var(--dsmm-radius) - 2px);
	overflow: hidden;
}

.dsmm-figure img {
	width: 100%;
	height: auto;
	display: block;
}

.dsmm-figure figcaption {
	padding: 10px 2px 0;
	font-size: 13px;
	color: var(--dsmm-muted);
}

/* Featured */
.dsmm-featured {
	min-height: 220px;
	border-radius: calc(var(--dsmm-radius) - 2px);
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	position: relative;
}

.dsmm-featured.has-overlay::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,.65), rgba(0,0,0,.1));
}

.dsmm-featured__content {
	position: relative;
	z-index: 1;
	padding: 22px;
	color: #fff;
}

.dsmm-featured:not(.has-overlay) .dsmm-featured__content {
	color: var(--dsmm-heading);
}

.dsmm-featured__subtitle {
	display: block;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .08em;
	opacity: .85;
	margin-bottom: 6px;
}

.dsmm-featured__title {
	margin: 0 0 8px;
	font-size: 22px;
	line-height: 1.2;
}

.dsmm-btn {
	display: inline-flex;
	align-items: center;
	margin-top: 10px;
	padding: 10px 16px;
	border-radius: 999px;
	background: var(--dsmm-accent);
	color: #fff !important;
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
}

.dsmm-btn:hover {
	filter: brightness(1.08);
}

/* Slider */
.dsmm-slider {
	position: relative;
	border-radius: calc(var(--dsmm-radius) - 2px);
	overflow: hidden;
	background: var(--dsmm-hover-bg);
	aspect-ratio: 4/3;
}

.dsmm-slider__track {
	position: relative;
	width: 100%;
	height: 100%;
}

.dsmm-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity .4s ease;
}

.dsmm-slide.is-active {
	opacity: 1;
	z-index: 1;
}

.dsmm-slide a {
	display: block;
	width: 100%;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.dsmm-slide__overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 16px;
	background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
	color: #fff;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.dsmm-slide__cta {
	font-style: normal;
	font-weight: 700;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .06em;
	margin-top: 4px;
	opacity: .9;
}

.dsmm-slider__prev,
.dsmm-slider__next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 50%;
	background: rgba(255,255,255,.9);
	color: #111;
	cursor: pointer;
	font-size: 20px;
	line-height: 1;
	box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

.dsmm-slider__prev { left: 10px; }
.dsmm-slider__next { right: 10px; }

.dsmm-slider__dots {
	position: absolute;
	bottom: 10px;
	left: 0;
	right: 0;
	z-index: 2;
	display: flex;
	justify-content: center;
	gap: 6px;
}

.dsmm-slider__dots button {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	border: 0;
	padding: 0;
	background: rgba(255,255,255,.5);
	cursor: pointer;
}

.dsmm-slider__dots button.is-active {
	background: #fff;
}

/* Products */
.dsmm-products {
	display: grid;
	gap: 14px;
}

.dsmm-products--cols-1 { grid-template-columns: 1fr; }
.dsmm-products--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dsmm-products--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dsmm-products--cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.dsmm-product {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	text-decoration: none;
	color: var(--dsmm-link);
	border-radius: calc(var(--dsmm-radius) - 4px);
	overflow: hidden;
	background: var(--dsmm-hover-bg);
	border: 1px solid var(--dsmm-border);
	padding-bottom: 12px;
	transition: border-color .15s, transform .15s;
}

.dsmm-product:hover {
	border-color: var(--dsmm-accent);
	transform: translateY(-2px);
	color: var(--dsmm-link-hover);
}

.dsmm-product__img {
	display: block;
	aspect-ratio: 1;
	background: var(--dsmm-border);
}

.dsmm-product__name,
.dsmm-product__price {
	padding: 0 12px;
	font-size: 13px;
}

.dsmm-product__name {
	font-weight: 600;
}

/* Layout specifics */
.dsmm-layout--sidebar-nav .dsmm-sidebar-layout {
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 0;
	min-height: 320px;
}

.dsmm-layout--sidebar-nav .dsmm-inner {
	padding: 0;
}

.dsmm-layout--sidebar-nav .dsmm-sidebar-layout__nav {
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 0;
}

.dsmm-layout--sidebar-nav .dsmm-block:first-child {
	background: var(--dsmm-hover-bg);
	border-right: 1px solid var(--dsmm-border);
	padding: 22px 18px;
	min-height: 100%;
}

.dsmm-layout--sidebar-nav .dsmm-block:not(:first-child) {
	padding: 22px 24px;
}

.dsmm-layout--magazine .dsmm-magazine {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr;
	gap: 24px;
}

.dsmm-layout--magazine .dsmm-block:first-child {
	grid-row: span 2;
}

.dsmm-layout--magazine .dsmm-block__title {
	font-size: 22px;
	text-transform: none;
	letter-spacing: 0;
	font-weight: 700;
}

.dsmm-layout--minimal .dsmm-cat__link,
.dsmm-layout--minimal .dsmm-link-item a {
	padding: 10px 0;
	border-bottom: 1px solid var(--dsmm-border);
}

.dsmm-layout--minimal .dsmm-block__title {
	font-size: 28px;
	text-transform: none;
	letter-spacing: -0.02em;
	font-weight: 600;
}

.dsmm-layout--split-hero .dsmm-inner {
	padding: 0;
}

.dsmm-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 360px;
}

.dsmm-split__menu {
	padding: 32px;
	display: grid;
	gap: 20px;
	align-content: start;
}

.dsmm-split__media {
	min-height: 100%;
	background: var(--dsmm-hover-bg);
}

.dsmm-split__media .dsmm-block,
.dsmm-split__media .dsmm-featured,
.dsmm-split__media .dsmm-slider,
.dsmm-split__media .dsmm-figure {
	height: 100%;
	border-radius: 0;
	min-height: 360px;
}

.dsmm-split__media .dsmm-slider {
	aspect-ratio: auto;
	height: 100%;
}

.dsmm-layout--fullscreen {
	border-radius: 0;
}

.dsmm-layout--fullscreen .dsmm-inner--fullscreen {
	padding: 40px clamp(20px, 5vw, 64px);
	min-height: 50vh;
}

.dsmm-layout--tabs .dsmm-inner {
	padding: 0;
}

.dsmm-tabs-layout__nav {
	display: flex;
	gap: 0;
	border-bottom: 1px solid var(--dsmm-border);
	padding: 0 18px;
	overflow-x: auto;
}

.dsmm-tabs-layout__tab {
	appearance: none;
	border: 0;
	background: transparent;
	padding: 16px 18px;
	cursor: pointer;
	font-weight: 600;
	font-size: 13px;
	color: var(--dsmm-muted);
	border-bottom: 2px solid transparent;
	white-space: nowrap;
}

.dsmm-tabs-layout__tab.is-active {
	color: var(--dsmm-accent);
	border-bottom-color: var(--dsmm-accent);
}

.dsmm-tabs-layout__panel {
	padding: 24px 28px;
}

.dsmm-tabs-layout__panel:not(.is-active) {
	display: none;
}

.dsmm-layered {
	display: grid;
	grid-template-columns: 260px 1fr;
	min-height: 340px;
}

.dsmm-layout--layered .dsmm-inner {
	padding: 0;
}

.dsmm-layered__rail {
	background: var(--dsmm-hover-bg);
	border-right: 1px solid var(--dsmm-border);
	padding: 12px 0;
}

.dsmm-layered__item {
	width: 100%;
	appearance: none;
	border: 0;
	background: transparent;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 18px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	color: var(--dsmm-link);
	text-align: left;
}

.dsmm-layered__item:hover,
.dsmm-layered__item.is-active {
	background: var(--dsmm-bg);
	color: var(--dsmm-accent);
}

.dsmm-layered__panels {
	padding: 24px 28px;
}

.dsmm-layered__panel:not(.is-active) {
	display: none;
}

.dsmm-layout--product-showcase .dsmm-grid--showcase {
	grid-template-columns: 1fr 1.4fr;
}

.dsmm-layout--featured-banner .dsmm-block--image,
.dsmm-layout--featured-banner .dsmm-block--slider,
.dsmm-layout--featured-banner .dsmm-block--featured {
	grid-column: span 2;
}

/* Standalone shortcode */
.dsmm-panel--standalone {
	position: relative;
	left: auto;
	top: auto;
	transform: none !important;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	width: 100%;
	max-width: 100%;
	margin: 0 0 24px;
}

/* Mobile */
@media (max-width: 992px) {
	.dsmm-has-mega {
		position: static;
	}

	.dsmm-panel.dsmm-panel--nav {
		position: static;
		left: auto;
		top: auto;
		width: 100% !important;
		max-width: 100%;
		transform: none !important;
		border-radius: 0;
		border: 0;
		border-top: 1px solid var(--dsmm-border);
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		display: none;
		margin: 0;
	}

	.dsmm-panel.dsmm-panel--nav.is-open {
		display: block;
	}

	.dsmm-mobile--disable.dsmm-panel--nav {
		display: none !important;
	}

	.dsmm-grid,
	.dsmm-layout--magazine .dsmm-magazine,
	.dsmm-split,
	.dsmm-layered,
	.dsmm-layout--sidebar-nav .dsmm-sidebar-layout,
	.dsmm-layout--sidebar-nav .dsmm-sidebar-layout__nav,
	.dsmm-layout--product-showcase .dsmm-grid--showcase {
		grid-template-columns: 1fr;
	}

	.dsmm-span-1,
	.dsmm-span-2,
	.dsmm-span-3,
	.dsmm-span-4,
	.dsmm-span-5,
	.dsmm-span-6 {
		grid-column: span 1;
	}

	.dsmm-inner {
		padding: 16px 16px 24px;
		max-height: none;
		overflow: visible;
	}

	.dsmm-cat-columns {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 8px 12px;
	}

	.dsmm-products--cols-3,
	.dsmm-products--cols-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 480px) {
	.dsmm-cat-columns {
		grid-template-columns: 1fr !important;
	}
}
