/* ==========================================================================
   Doña Mopa — estilos del theme
   Fuente de verdad visual: dona-mopa.pen (Design System / Web) + DESIGN.md
   Mobile first · breakpoints: 640 (tablet), 1024 (desktop), 1280 (wide)
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
	--brand-700: #7c292e;
	--brand-600: #ac272f;
	--brand-500: #b94b50;
	--brand-200: #e6b9bb;
	--brand-100: #f3ddde;
	--canvas: #fbf8f5;
	--surface: #ffffff;
	--surface-muted: #f3eeea;
	--search-bg: #f7f3f0;
	--ink: #262120;
	--ink-muted: #6b6260;
	--line: #ded6d1;
	--success: #287a55;
	--success-bg: #e8f5ee;
	--warning: #a56516;
	--warning-bg: #fff3d6;
	--error: #b42318;
	--error-bg: #fee4e2;
	--info: #175cd3;
	--info-bg: #eaf2ff;
	--whatsapp: #147a3d;
	--whatsapp-hover: #0f6331;
	--focus: #2457c5;

	--tint-rose: #f3ddde;
	--tint-lilac: #e9e3f2;
	--tint-peach: #f5e7d2;
	--tint-mint: #e0ece8;
	--tint-sand: #e8e3dd;
	--tint-sky: #e1e7ef;

	--font-display: "Poppins", Arial, sans-serif;
	--font-body: "Inter", Arial, sans-serif;

	--radius-sm: 6px;
	--radius-md: 12px;
	--radius-lg: 16px;
	--radius-xl: 24px;
	--radius-full: 999px;

	--shadow-card: 0 8px 24px rgba(38, 33, 32, 0.08);
	--shadow-pop: 0 18px 48px rgba(38, 33, 32, 0.18);

	--container: 1200px;
	--gutter: 16px;
	--section-y: 48px;
	--header-h: 64px;

	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 640px) {
	:root {
		--gutter: 24px;
		--section-y: 64px;
	}
}

@media (min-width: 1024px) {
	:root {
		--gutter: 32px;
		--section-y: 80px;
		--header-h: 86px;
	}
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
	margin: 0;
	background: var(--canvas);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body.dm-locked {
	overflow: hidden;
}

img,
svg {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: var(--brand-700);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

h1,
h2,
h3,
h4 {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 800;
	line-height: 1.15;
	color: var(--ink);
}

p {
	margin: 0;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
}

:focus-visible {
	outline: 2px solid var(--focus);
	outline-offset: 2px;
}

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

.dm-skip-link {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 1000;
	padding: 12px 16px;
	background: var(--surface);
	border-radius: var(--radius-md);
	transform: translateY(-200%);
}

.dm-skip-link:focus {
	transform: none;
}

.dm-container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.dm-icon {
	flex-shrink: 0;
}

.dm-flip {
	transform: scaleX(-1);
}

/* ---------- Botones ---------- */
.dm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 20px;
	border: 1.5px solid transparent;
	border-radius: var(--radius-md);
	background: transparent;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease), transform 0.18s var(--ease);
}

.dm-btn:active:not(:disabled) {
	transform: translateY(1px);
}

.dm-btn:disabled,
.dm-btn[aria-disabled="true"] {
	cursor: not-allowed;
	opacity: 0.55;
}

.dm-btn--primary {
	background: var(--brand-600);
	color: #fff;
}

.dm-btn--primary:hover:not(:disabled) {
	background: var(--brand-700);
}

.dm-btn--secondary {
	border-color: var(--brand-600);
	color: var(--brand-700);
	background: var(--surface);
}

.dm-btn--secondary:hover {
	background: var(--brand-100);
}

.dm-btn--ghost {
	color: var(--brand-700);
}

.dm-btn--ghost:hover {
	background: var(--brand-100);
}

.dm-btn--text {
	min-height: 44px;
	padding-inline: 8px;
	color: var(--ink);
	font-weight: 500;
}

.dm-btn--text:hover {
	color: var(--brand-700);
	text-decoration: underline;
}

.dm-btn--light {
	background: var(--surface);
	color: var(--brand-700);
}

.dm-btn--light:hover {
	background: var(--brand-100);
}

.dm-btn--whatsapp {
	background: var(--whatsapp);
	color: #fff;
}

.dm-btn--whatsapp:hover:not(:disabled) {
	background: var(--whatsapp-hover);
}

.dm-btn--outline-wa {
	border-color: var(--whatsapp);
	color: var(--whatsapp);
	background: var(--surface);
}

.dm-btn--outline-wa:hover {
	background: var(--success-bg);
}

.dm-btn--sm {
	min-height: 44px;
	padding: 0 14px;
	font-size: 14px;
	border-radius: 10px;
}

.dm-btn--lg {
	min-height: 52px;
	padding: 0 24px;
	font-size: 16px;
}

.dm-btn--block {
	display: flex;
	width: 100%;
}

.dm-btn.is-loading {
	position: relative;
	color: transparent !important;
	pointer-events: none;
}

.dm-btn.is-loading::after {
	content: "";
	position: absolute;
	width: 20px;
	height: 20px;
	border: 2px solid rgba(255, 255, 255, 0.45);
	border-top-color: #fff;
	border-radius: 50%;
	animation: dm-spin 0.7s linear infinite;
}

.dm-btn--secondary.is-loading::after {
	border-color: var(--brand-200);
	border-top-color: var(--brand-600);
}

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

.dm-icon-btn {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: var(--radius-md);
	background: transparent;
	color: var(--ink);
	text-decoration: none;
	transition: background-color 0.18s var(--ease);
}

.dm-icon-btn:hover {
	background: var(--surface-muted);
}

.dm-icon-btn--brand {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: var(--brand-600);
	color: #fff;
}

.dm-icon-btn--brand:hover {
	background: var(--brand-700);
}

.dm-icon-btn--outline {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	border: 1.5px solid var(--line);
	color: var(--brand-700);
}

.dm-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--brand-700);
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
}

.dm-link-arrow:hover {
	text-decoration: underline;
}

.dm-link-arrow--sm {
	font-size: 14px;
	margin-top: 12px;
}

/* ---------- Pills, badges, chips ---------- */
.dm-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: var(--radius-full);
	background: var(--surface);
	color: var(--brand-700);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}

.dm-pill--light {
	padding: 7px 11px;
	font-size: 11px;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	font-weight: 800;
}

.dm-pill--brand {
	padding: 6px 10px;
	background: var(--brand-100);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.8px;
	text-transform: uppercase;
}

.dm-pill--muted {
	padding: 6px 12px;
	background: var(--surface-muted);
	color: var(--ink-muted);
	font-size: 12px;
	font-weight: 500;
}

.dm-badge {
	display: inline-flex;
	align-items: center;
	padding: 6px 11px;
	border-radius: var(--radius-full);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.1;
}

.dm-badge--promo {
	background: var(--brand-600);
	color: #fff;
}

.dm-badge--neutral {
	background: var(--ink);
	color: #fff;
}

.dm-chips {
	display: flex;
	gap: 8px;
	margin: 0 calc(var(--gutter) * -1) 24px;
	padding: 2px var(--gutter);
	overflow-x: auto;
	scrollbar-width: none;
}

.dm-chips::-webkit-scrollbar {
	display: none;
}

.dm-chip {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 16px;
	border: 1.5px solid var(--line);
	border-radius: var(--radius-full);
	background: var(--surface);
	color: var(--ink);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.dm-chip:hover {
	border-color: var(--brand-200);
}

.dm-chip.is-selected {
	border-color: var(--brand-600);
	background: var(--brand-100);
	color: var(--brand-700);
}

.dm-eyebrow {
	margin-bottom: 10px;
	color: var(--brand-600);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 1.4px;
	text-transform: uppercase;
}

.dm-icon-circle {
	display: inline-grid;
	place-items: center;
	flex-shrink: 0;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--brand-100);
	color: var(--brand-700);
}

.dm-icon-circle--sm {
	width: 42px;
	height: 42px;
	border-radius: 12px;
}

.dm-icon-circle--lg {
	width: 72px;
	height: 72px;
}

.dm-icon-circle--success {
	background: var(--success-bg);
	color: var(--success);
}

.dm-divider {
	height: 1px;
	margin: 20px 0;
	border: 0;
	background: var(--line);
}

/* ---------- Info bar + header ---------- */
.dm-infobar {
	background: var(--brand-700);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}

.dm-infobar .dm-container {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 36px;
	padding-block: 8px;
	text-align: center;
}

@media (min-width: 640px) {
	.dm-infobar {
		font-size: 13px;
	}
}

.dm-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--surface);
	border-bottom: 1px solid var(--line);
	transition: box-shadow 0.2s var(--ease);
}

.admin-bar .dm-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}

@media (max-width: 600px) {
	.admin-bar .dm-header {
		top: 0;
	}
}

.dm-header.is-scrolled {
	box-shadow: 0 4px 18px rgba(38, 33, 32, 0.07);
}

.dm-header__inner {
	display: grid;
	grid-template-columns: 44px 1fr auto;
	grid-template-areas:
		"menu logo cart"
		"search search search";
	align-items: center;
	column-gap: 8px;
	row-gap: 10px;
	padding-block: 10px 12px;
}

.dm-header__menu {
	grid-area: menu;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: var(--radius-md);
	background: transparent;
}

.dm-header__menu:hover {
	background: var(--surface-muted);
}

.dm-logo {
	display: inline-block;
}

.dm-logo img {
	width: auto;
	height: 48px;
}

.dm-header__logo {
	grid-area: logo;
	justify-self: center;
}

.dm-header__nav {
	display: none;
}

.dm-header .dm-search {
	grid-area: search;
}

.dm-header__cart {
	grid-area: cart;
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 44px;
	padding: 0 12px;
	border: 0;
	border-radius: var(--radius-full);
	background: var(--brand-600);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	transition: background-color 0.18s var(--ease);
}

.dm-header__cart:hover {
	background: var(--brand-700);
}

.dm-header__cart-label {
	display: none;
}

.dm-cart-count {
	display: inline-grid;
	place-items: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: var(--radius-full);
	background: #fff;
	color: var(--brand-700);
	font-size: 12px;
	font-weight: 800;
}

.dm-cart-count.is-bump {
	animation: dm-bump 0.4s var(--ease);
}

@keyframes dm-bump {
	40% {
		transform: scale(1.35);
	}
}

@media (min-width: 640px) {
	.dm-header__cart {
		padding: 0 15px;
	}

	.dm-header__cart-label {
		display: inline;
	}
}

@media (min-width: 1024px) {
	.dm-header__inner {
		grid-template-columns: auto auto 1fr auto;
		grid-template-areas: "logo nav search cart";
		column-gap: 20px;
		min-height: var(--header-h);
		padding-block: 12px;
	}

	.dm-header__menu {
		display: none;
	}

	.dm-header__logo {
		justify-self: start;
	}

	.dm-logo img {
		height: 58px;
	}

	.dm-header__nav {
		grid-area: nav;
		display: block;
	}

	.dm-header__nav ul {
		display: flex;
		gap: 4px;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.dm-header__nav a {
		display: inline-flex;
		align-items: center;
		height: 38px;
		padding: 0 10px;
		border-radius: 9px;
		color: var(--ink);
		font-size: 14px;
		font-weight: 500;
		text-decoration: none;
		transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
	}

	.dm-header__nav a:hover {
		background: var(--surface-muted);
	}

	.dm-header__nav a.is-active {
		background: var(--brand-100);
		color: var(--brand-700);
		font-weight: 700;
	}
}

/* ---------- Buscador ---------- */
.dm-search {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
}

.dm-search__icon {
	position: absolute;
	left: 15px;
	color: var(--brand-700);
	pointer-events: none;
}

.dm-search__input {
	width: 100%;
	height: 44px;
	padding: 0 16px 0 44px;
	border: 1px solid var(--line);
	border-radius: var(--radius-full);
	background: var(--search-bg);
	font-size: 16px;
	transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease);
	-webkit-appearance: none;
	appearance: none;
}

.dm-search__input::placeholder {
	color: var(--ink-muted);
}

.dm-search__input:focus {
	border-color: var(--brand-600);
	background: var(--surface);
	outline: none;
	box-shadow: 0 0 0 3px var(--brand-100);
}

@media (min-width: 1024px) {
	.dm-search__input {
		font-size: 14px;
	}
}

/* ---------- Drawers ---------- */
.dm-drawer {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: flex;
	background: rgba(38, 33, 32, 0.48);
	opacity: 0;
	transition: opacity 0.24s var(--ease);
}

.admin-bar .dm-drawer,
.admin-bar .dm-filters.is-open {
	top: var(--wp-admin--admin-bar--height, 32px);
}

.dm-drawer[hidden] {
	display: none;
}

.dm-drawer.is-open {
	opacity: 1;
}

.dm-drawer--right {
	justify-content: flex-end;
}

.dm-drawer__panel {
	display: flex;
	flex-direction: column;
	width: min(420px, 100%);
	height: 100%;
	background: var(--surface);
	box-shadow: var(--shadow-pop);
	transform: translateX(100%);
	transition: transform 0.24s var(--ease);
}

.dm-drawer--left .dm-drawer__panel {
	width: min(340px, 88%);
	transform: translateX(-100%);
}

.dm-drawer.is-open .dm-drawer__panel {
	transform: none;
}

.dm-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 12px 12px 20px;
	border-bottom: 1px solid var(--line);
}

.dm-drawer__title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 800;
}

.dm-drawer__logo img {
	height: 44px;
}

.dm-drawer-body {
	flex: 1;
	overflow-y: auto;
	padding: 8px 20px;
	overscroll-behavior: contain;
}

.dm-drawer-foot:not(:empty) {
	padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
	border-top: 1px solid var(--line);
	background: var(--canvas);
}

.dm-drawer__foot {
	padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
	border-top: 1px solid var(--line);
}

.dm-mobile-nav {
	flex: 1;
	overflow-y: auto;
	padding: 8px 12px;
}

.dm-mobile-nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.dm-mobile-nav a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 48px;
	padding: 0 8px;
	border-radius: 10px;
	color: var(--ink);
	font-weight: 600;
	text-decoration: none;
}

.dm-mobile-nav a:hover,
.dm-mobile-nav a[aria-current] {
	background: var(--brand-100);
	color: var(--brand-700);
}

.dm-mobile-nav__title {
	margin: 16px 8px 4px;
	color: var(--ink-muted);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 1.2px;
	text-transform: uppercase;
}

.dm-mobile-nav__cats a {
	min-height: 44px;
	font-weight: 500;
}

/* ---------- Cantidad ---------- */
.dm-qty {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	height: 48px;
	border: 1.5px solid var(--line);
	border-radius: var(--radius-md);
	background: var(--surface);
}

.dm-qty__btn {
	display: grid;
	place-items: center;
	width: 44px;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--ink);
	border-radius: var(--radius-md);
}

.dm-qty__btn:hover {
	color: var(--brand-600);
}

.dm-qty__input {
	width: 30px;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	font-size: 15px;
	font-weight: 700;
	text-align: center;
	-moz-appearance: textfield;
	appearance: textfield;
}

.dm-qty__input::-webkit-inner-spin-button,
.dm-qty__input::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.dm-qty__input:focus-visible {
	outline: 2px solid var(--focus);
	outline-offset: -2px;
}

.dm-qty:focus-within {
	border-color: var(--brand-600);
}

.dm-qty--sm {
	height: 44px;
}

.dm-qty--sm .dm-qty__btn {
	width: 44px;
}

.dm-qty--lg {
	height: 56px;
}

.dm-qty--lg .dm-qty__btn {
	width: 46px;
}

.dm-qty--lg .dm-qty__input {
	width: 40px;
	font-size: 17px;
}

/* ---------- Secciones ---------- */
.dm-section {
	padding-block: var(--section-y);
}

.dm-section--canvas {
	background: var(--canvas);
}

.dm-section--surface {
	background: var(--surface);
}

.dm-section + .dm-section--canvas.dm-section--canvas {
	padding-top: calc(var(--section-y) * 0.5);
}

.dm-section--surface + .dm-section--canvas {
	padding-top: var(--section-y) !important;
}

.dm-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 24px;
	margin-bottom: 28px;
}

.dm-section__head--center {
	justify-content: center;
	text-align: center;
}

.dm-section__title {
	font-size: 28px;
	line-height: 1.12;
}

.dm-section__lead {
	margin-top: 8px;
	color: var(--ink-muted);
	font-size: 16px;
}

@media (min-width: 1024px) {
	.dm-section__title {
		font-size: 36px;
	}

	.dm-section__head {
		margin-bottom: 36px;
	}
}

/* ---------- Hero ---------- */
.dm-hero {
	background: var(--brand-100);
	padding-block: 32px 40px;
}

.dm-hero__inner {
	display: grid;
	gap: 28px;
	align-items: center;
}

.dm-hero__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
}

.dm-hero__title {
	font-size: 38px;
	line-height: 1.05;
	letter-spacing: -0.8px;
	max-width: 13ch;
}

.dm-hero__lead {
	max-width: 52ch;
	color: var(--ink-muted);
	font-size: 17px;
	line-height: 1.55;
}

.dm-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	margin-top: 6px;
}

.dm-hero__media {
	border: 8px solid var(--surface);
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-card);
	overflow: hidden;
	background: var(--surface);
}

.dm-hero__media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: calc(var(--radius-xl) - 8px);
}

@media (max-width: 639px) {
	.dm-hero { padding-block: 24px 28px; }
	.dm-hero__inner { gap: 20px; }
	.dm-hero__media img { height: 180px; aspect-ratio: auto; }
	.home .dm-section { padding-block: 40px; }
}

@media (min-width: 1024px) {
	.dm-hero {
		padding-block: 64px;
	}

	.dm-hero__inner {
		grid-template-columns: 1fr 1fr;
		gap: 56px;
	}

	.dm-hero__title {
		font-size: 56px;
		line-height: 58px;
		letter-spacing: -1.2px;
	}

	.dm-hero__lead {
		font-size: 18px;
	}

	.dm-hero__media img {
		aspect-ratio: auto;
		height: 500px;
	}
}

/* ---------- Tiles de categoría ---------- */
.dm-cat-tiles {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 150px;
	gap: 12px;
	margin: 0 calc(var(--gutter) * -1);
	padding: 2px var(--gutter) 8px;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.dm-cat-tiles::-webkit-scrollbar {
	display: none;
}

.dm-cat-tiles li {
	scroll-snap-align: start;
}

.dm-cat-tile {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 20px;
	height: 160px;
	padding: 18px;
	border-radius: 20px;
	color: var(--ink);
	text-decoration: none;
	transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.dm-cat-tile:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-card);
}

.dm-cat-tile__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--surface);
	color: var(--brand-700);
}

.dm-cat-tile__name {
	padding-right: 22px;
	font-family: var(--font-display);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
}

.dm-cat-tile__arrow {
	position: absolute;
	right: 16px;
	bottom: 20px;
	color: var(--brand-700);
}

@media (max-width: 639px) {
	.dm-cat-tile { height: 136px; padding: 16px; gap: 16px; }
}

.dm-tint--rose { background: var(--tint-rose); }
.dm-tint--lilac { background: var(--tint-lilac); }
.dm-tint--peach { background: var(--tint-peach); }
.dm-tint--mint { background: var(--tint-mint); }
.dm-tint--sand { background: var(--tint-sand); }
.dm-tint--sky { background: var(--tint-sky); }

@media (min-width: 1024px) {
	.dm-cat-tiles {
		grid-auto-flow: row;
		grid-template-columns: repeat(6, 1fr);
		margin: 0;
		padding: 0;
		overflow: visible;
	}

	.dm-cat-tile {
		height: 190px;
		padding: 20px;
	}

	.dm-cat-tile__name {
		font-size: 18px;
	}
}

/* ---------- Grilla de productos ---------- */
.dm-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px 12px;
}

@media (min-width: 640px) {
	.dm-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 36px 18px;
	}
}

@media (min-width: 1024px) {
	.dm-grid--4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* ---------- Tarjeta de producto ---------- */
.dm-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.dm-card__media {
	display: block;
	text-decoration: none;
	aspect-ratio: 1;
	border-radius: var(--radius-lg);
	background: var(--surface);
	overflow: hidden;
}

.dm-section--surface .dm-card__media,
.dm-mini__media {
	background: var(--canvas);
}

.dm-card__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform 0.25s var(--ease);
}

.dm-card:hover .dm-card__media img {
	transform: scale(1.03);
}

.dm-card__badge {
	position: absolute;
	top: 10px;
	left: 10px;
}

.dm-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 4px;
	padding-top: 16px;
}

.dm-card__cat {
	min-height: 14px;
	color: var(--brand-700);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.8px;
	line-height: 1.3;
	text-transform: uppercase;
}

.dm-card__title {
	display: -webkit-box;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.dm-card__title a {
	color: inherit;
	text-decoration: none;
}

.dm-card__title a:hover {
	color: var(--brand-700);
}

.dm-card__meta {
	min-height: 20px;
	color: var(--ink-muted);
	font-size: 13px;
	line-height: 1.4;
}

.dm-card__body .dm-price {
	margin-top: auto;
	padding-top: 8px;
}

.dm-card__actions {
	position: relative;
	z-index: 1;
	margin-top: 14px;
}

.dm-card__actions .dm-btn { white-space: normal; padding-block: 10px; }

.dm-card__form {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.dm-card__form .dm-btn {
	flex: 1;
	min-width: 0;
	padding-inline: 10px;
}

.dm-card__form .dm-qty {
	display: none;
}

@media (min-width: 640px) {
	.dm-card__form .dm-qty {
		display: inline-flex;
	}

	.dm-card__form .dm-btn span {
		display: inline;
	}
}

@media (max-width: 399px) {
	.dm-card__form .dm-btn .dm-icon {
		display: none;
	}
}

@media (min-width: 1024px) {
	.dm-card__title {
		font-size: 19px;
	}

	.dm-card__meta {
		font-size: 14px;
	}

	.dm-card__form .dm-qty .dm-qty__btn {
		width: 44px;
	}
}

@media (min-width: 1280px) {
	.dm-card__form { flex-direction: row; flex-wrap: wrap; }
	.dm-card__form .dm-btn { min-width: 128px; }
}

.dm-card.is-out-of-stock .dm-card__media img {
	opacity: 0.85;
}

/* ---------- Precio ---------- */
.dm-price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 8px;
	font-family: var(--font-display);
	font-weight: 800;
	line-height: 1.1;
}

.dm-price--sm .dm-price__now {
	font-size: 18px;
}

.dm-price--md .dm-price__now {
	font-size: 20px;
}

.dm-price--lg .dm-price__now {
	font-size: 34px;
}

.dm-price--sale .dm-price__now {
	color: var(--brand-600);
}

.dm-price__was {
	color: var(--ink-muted);
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 400;
}

.dm-price__from {
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 600;
	color: var(--ink-muted);
}

.dm-price--none {
	color: var(--ink-muted);
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 600;
}

.dm-price--lg.dm-price--none {
	font-size: 18px;
}

@media (min-width: 1024px) {
	.dm-price--md .dm-price__now {
		font-size: 23px;
	}
}

/* ---------- Promo + mayorista ---------- */
.dm-promo-row {
	display: grid;
	gap: 20px;
}

.dm-promo {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 32px 24px;
	border-radius: var(--radius-xl);
	background: var(--brand-600);
	color: #fff;
	overflow: hidden;
}

.dm-promo__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	max-width: 420px;
}

.dm-promo__title {
	color: #fff;
	font-size: 30px;
	line-height: 1.08;
}

.dm-promo__copy p:not(.dm-pill) {
	font-size: 16px;
	line-height: 1.45;
	opacity: 0.95;
}

.dm-promo__copy .dm-btn {
	margin-top: 4px;
}

.dm-promo__seal {
	position: relative;
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 216px;
	height: 216px;
	border-radius: 50%;
	background: var(--brand-700);
	color: #fff;
	text-align: center;
	box-shadow: 0 0 0 14px rgba(124, 41, 46, 0.55);
}

.dm-promo__seal::before {
	content: "";
	position: absolute;
	inset: 14px;
	border: 1.5px solid var(--brand-200);
	border-radius: 50%;
}

.dm-promo__seal--plain {
	gap: 10px;
	color: var(--brand-200);
}

.dm-promo__seal--plain .dm-promo__seal-bottom {
	max-width: 10ch;
	line-height: 1.5;
}

.dm-promo__seal-top,
.dm-promo__seal-bottom {
	color: var(--brand-200);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.dm-promo__seal-num {
	font-family: var(--font-display);
	font-size: 64px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -2px;
}

.dm-wholesale {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding: 28px 24px;
	border-radius: var(--radius-xl);
	background: var(--surface-muted);
}

.dm-wholesale__title {
	margin-top: 8px;
	font-size: 23px;
	line-height: 1.15;
}

.dm-wholesale p {
	color: var(--ink-muted);
	font-size: 15px;
}

.dm-wholesale .dm-link-arrow {
	margin-top: auto;
	padding-top: 12px;
}

@media (min-width: 640px) {
	.dm-promo__seal {
		display: flex;
		width: 170px;
		height: 170px;
	}

	.dm-promo__seal-num {
		font-size: 48px;
	}
}

@media (min-width: 1024px) {
	.dm-promo-row {
		grid-template-columns: 780fr 400fr;
	}

	.dm-promo {
		padding: 44px;
		min-height: 330px;
	}

	.dm-promo__title {
		font-size: 38px;
		line-height: 41px;
	}

	.dm-promo__seal {
		width: 216px;
		height: 216px;
		margin-right: 16px;
	}

	.dm-promo__seal-num {
		font-size: 64px;
	}

	.dm-wholesale {
		padding: 32px;
	}

	.dm-wholesale__title {
		font-size: 25px;
	}
}

/* ---------- Pasos ---------- */
.dm-steps {
	display: grid;
	gap: 28px;
	margin: 0;
	padding: 28px 20px;
	border: 1px solid var(--line);
	border-radius: var(--radius-xl);
	background: var(--surface);
	list-style: none;
	counter-reset: step;
}

.dm-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	text-align: center;
}

.dm-step__icon {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin-bottom: 8px;
	border-radius: 50%;
	background: var(--brand-100);
	color: var(--brand-700);
}

.dm-step--accent .dm-step__icon {
	background: var(--brand-600);
	color: #fff;
}

.dm-step__num {
	color: var(--brand-600);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 1.2px;
	text-transform: uppercase;
}

.dm-step__title {
	font-size: 20px;
	font-weight: 800;
}

.dm-step__text {
	max-width: 32ch;
	color: var(--ink-muted);
	font-size: 15px;
}

@media (min-width: 1024px) {
	.dm-steps {
		grid-template-columns: repeat(3, 1fr);
		gap: 16px;
		padding: 32px;
	}

	.dm-step {
		position: relative;
	}

	.dm-step:not(:last-child)::after {
		content: "";
		position: absolute;
		top: 36px;
		left: calc(50% + 70px);
		width: calc(100% - 140px);
		height: 2px;
		background: var(--brand-200);
	}

	.dm-step__icon {
		width: 72px;
		height: 72px;
	}
}

/* ---------- Modalidades ---------- */
.dm-delivery {
	display: grid;
	gap: 28px;
	align-items: center;
}

.dm-delivery__media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--radius-xl);
}

.dm-delivery__copy .dm-section__lead {
	margin-bottom: 24px;
}

.dm-options {
	display: grid;
	gap: 12px;
}

.dm-option {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--surface);
}

.dm-option__title {
	margin-bottom: 4px;
	font-size: 17px;
	font-weight: 700;
}

.dm-option__text {
	color: var(--ink-muted);
	font-size: 14px;
	line-height: 1.5;
}

@media (min-width: 1024px) {
	.dm-delivery {
		grid-template-columns: 520fr 616fr;
		gap: 64px;
	}

	.dm-delivery__media img {
		aspect-ratio: auto;
		height: 495px;
	}
}

/* ---------- Breadcrumb ---------- */
.dm-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 20px 0;
	list-style: none;
	font-size: 13px;
}

.dm-breadcrumb li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.dm-breadcrumb a {
	color: var(--ink-muted);
	text-decoration: none;
}

.dm-breadcrumb a:hover {
	color: var(--brand-700);
	text-decoration: underline;
}

.dm-breadcrumb .dm-icon {
	color: var(--ink-muted);
}

.dm-breadcrumb [aria-current] {
	color: var(--brand-700);
	font-weight: 700;
}

@media (min-width: 1024px) {
	.dm-breadcrumb ol {
		padding: 32px 0 28px;
		font-size: 14px;
	}
}

/* ---------- Listado ---------- */
.dm-archive {
	padding-bottom: var(--section-y);
}

.dm-archive__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
}

.dm-archive__title {
	font-size: 30px;
	line-height: 1.1;
}

.dm-archive__lead {
	margin-top: 8px;
	max-width: 68ch;
	color: var(--ink-muted);
	font-size: 15px;
}

.dm-sort {
	position: relative;
	display: flex;
	align-items: center;
	height: 46px;
	padding-left: 15px;
	border: 1.5px solid var(--line);
	border-radius: var(--radius-md);
	background: var(--surface);
	font-size: 14px;
	font-weight: 600;
}

.dm-sort:focus-within {
	border-color: var(--brand-600);
}

.dm-sort__label {
	white-space: nowrap;
}

.dm-sort select {
	height: 100%;
	padding: 0 40px 0 6px;
	border: 0;
	background: transparent;
	font-weight: 600;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.dm-sort select:focus {
	outline: none;
}

.dm-sort__chevron {
	position: absolute;
	right: 14px;
	pointer-events: none;
}

.dm-archive__layout {
	display: grid;
	gap: 24px;
}

.dm-archive__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 20px;
}

.dm-archive__count {
	font-size: 14px;
	font-weight: 700;
}

.dm-archive__pickup {
	display: none;
}

.dm-dot-count {
	display: inline-grid;
	place-items: center;
	min-width: 20px;
	height: 20px;
	border-radius: var(--radius-full);
	background: var(--brand-600);
	color: #fff;
	font-size: 11px;
}

/* Filtros: drawer en mobile, sidebar en desktop. */
.dm-filters {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: none;
	justify-content: flex-start;
	background: rgba(38, 33, 32, 0.48);
}

.dm-filters.is-open {
	display: flex;
}

.dm-filters__panel {
	display: flex;
	flex-direction: column;
	gap: 24px;
	width: min(360px, 90%);
	height: 100%;
	padding: 0 20px;
	overflow-y: auto;
	background: var(--surface);
	box-shadow: var(--shadow-pop);
	animation: dm-slide-in 0.24s var(--ease);
}

@keyframes dm-slide-in {
	from {
		transform: translateX(-100%);
	}
}

.dm-filters__head {
	position: sticky;
	top: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 -20px;
	padding: 12px 12px 12px 20px;
	border-bottom: 1px solid var(--line);
	background: var(--surface);
}

.dm-filters__heading {
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 800;
}

.dm-filters__desktop-apply { display: none; }

@media (min-width: 1024px) {
	.dm-filters__desktop-apply { display: inline-flex; margin-top: 16px; }
}

.dm-filters__foot {
	position: sticky;
	bottom: 0;
	display: grid;
	gap: 8px;
	margin: auto -20px 0;
	padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
	border-top: 1px solid var(--line);
	background: var(--surface);
}

.dm-filter {
	padding-bottom: 20px;
	border-bottom: 1px solid var(--line);
}

.dm-filter__title {
	margin-bottom: 14px;
	font-size: 17px;
	font-weight: 700;
}

.dm-radio-list {
	display: grid;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dm-radio-link {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 36px;
	color: var(--ink);
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}

.dm-radio-link:hover {
	color: var(--brand-700);
}

.dm-radio-link__dot {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	border: 1.5px solid var(--line);
	border-radius: 50%;
	background: var(--surface);
	transition: border 0.18s var(--ease);
}

.dm-radio-link.is-selected {
	color: var(--brand-700);
	font-weight: 700;
}

.dm-radio-link.is-selected .dm-radio-link__dot {
	border: 5px solid var(--brand-600);
}

.dm-radio-link__count {
	margin-left: auto;
	color: var(--ink-muted);
	font-size: 12px;
	font-weight: 500;
}

.dm-check {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 36px;
	font-size: 14px;
	cursor: pointer;
}

.dm-check input {
	position: absolute;
	opacity: 0;
	width: 18px;
	height: 18px;
	margin: 0;
}

.dm-check__box {
	display: grid;
	place-items: center;
	width: 18px;
	height: 18px;
	border: 1.5px solid var(--line);
	border-radius: 4px;
	background: var(--surface);
	color: transparent;
	transition: background 0.18s var(--ease), border-color 0.18s var(--ease);
}

.dm-check input:checked + .dm-check__box {
	border-color: var(--brand-600);
	background: var(--brand-600);
	color: #fff;
}

.dm-check input:focus-visible + .dm-check__box {
	outline: 2px solid var(--focus);
	outline-offset: 2px;
}

.dm-help-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding: 20px;
	border-radius: var(--radius-lg);
	background: var(--brand-100);
}

.dm-help-card__icon {
	color: var(--brand-700);
}

.dm-help-card__title {
	font-family: var(--font-display);
	font-size: 16px;
	font-weight: 700;
}

.dm-help-card__text {
	color: var(--ink-muted);
	font-size: 13px;
	line-height: 1.5;
}

@media (min-width: 1024px) {
	.dm-archive__title {
		font-size: 38px;
	}

	.dm-archive__head {
		margin-bottom: 32px;
	}

	.dm-archive__layout {
		grid-template-columns: 242px 1fr;
		gap: 38px;
		align-items: start;
	}

	.dm-archive__filters-btn {
		display: none;
	}

	.dm-archive__pickup {
		display: inline-flex;
	}

	.dm-filters {
		position: sticky;
		top: calc(var(--header-h) + 16px);
		inset: auto;
		z-index: auto;
		display: block;
		background: none;
	}

	.dm-filters__panel {
		width: auto;
		height: auto;
		padding: 0;
		overflow: visible;
		background: none;
		box-shadow: none;
		animation: none;
	}

	.dm-filters__head,
	.dm-filters__foot {
		display: none;
	}
}

/* ---------- Paginación ---------- */
.dm-pagination ul {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin: 40px 0 0;
	padding: 0;
	list-style: none;
}

.dm-pagination a,
.dm-pagination span {
	display: grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	padding: 0 8px;
	border: 1.5px solid var(--line);
	border-radius: 10px;
	background: var(--surface);
	color: var(--ink);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.dm-pagination a:hover {
	border-color: var(--brand-600);
	color: var(--brand-700);
}

.dm-pagination .current {
	border-color: var(--brand-600);
	background: var(--brand-600);
	color: #fff;
}

.dm-pagination .dots {
	border: 0;
	background: none;
}

/* ---------- Vacío ---------- */
.dm-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 48px 20px;
	border: 1px dashed var(--line);
	border-radius: var(--radius-xl);
	background: var(--surface);
	text-align: center;
	color: var(--ink-muted);
}

.dm-empty__title {
	color: var(--ink);
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 700;
}

.dm-empty .dm-search {
	max-width: 420px;
}

/* ---------- Placeholder de imagen ---------- */
.dm-placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	padding: 16px;
	background: var(--surface-muted);
	color: var(--brand-500);
}

.dm-placeholder > .dm-icon {
	width: 48px;
	height: 48px;
	stroke-width: 1.5;
}

/* ---------- Ficha de producto ---------- */
.dm-product {
	padding-bottom: var(--section-y);
}

.dm-product__top {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
}

.dm-product__bottom > *,
.dm-order__layout > * {
	min-width: 0;
}

.dm-gallery {
	display: flex;
	flex-direction: column-reverse;
	gap: 12px;
}

.dm-gallery__thumbs {
	display: flex;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
}

.dm-gallery__thumb {
	display: block;
	width: 72px;
	height: 72px;
	padding: 4px;
	border: 1.5px solid var(--line);
	border-radius: var(--radius-md);
	background: var(--surface);
}

.dm-gallery__thumb.is-active {
	border: 2px solid var(--brand-600);
}

.dm-gallery__thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.dm-gallery__main {
	position: relative;
	aspect-ratio: 1;
	border-radius: var(--radius-lg);
	background: var(--surface);
	overflow: hidden;
}

.dm-gallery__main > img,
.dm-gallery__main > [data-dm-image-placeholder],
.dm-gallery__main > .dm-placeholder {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.dm-gallery__main [hidden] {
	display: none;
}

[data-dm-image-placeholder] > .dm-placeholder {
	width: 100%;
	height: 100%;
}

.dm-gallery__main .dm-placeholder .dm-icon {
	width: 64px;
	height: 64px;
}

.dm-gallery__badge {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 1;
	font-size: 11px;
	letter-spacing: 0.8px;
	text-transform: uppercase;
}

.dm-buybox {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 24px 20px;
	border: 1px solid var(--line);
	border-radius: var(--radius-xl);
	background: var(--surface);
	box-shadow: var(--shadow-card);
}

.dm-buybox > * {
	width: 100%;
}

.dm-buybox > .dm-pill {
	width: auto;
	margin-bottom: 14px;
}

.dm-buybox__title {
	font-size: 28px;
	line-height: 1.12;
}

.dm-buybox__lead {
	margin-top: 12px;
	color: var(--ink-muted);
	font-size: 16px;
	line-height: 1.55;
}

.dm-buybox__hint {
	margin-top: 10px;
	color: var(--ink-muted);
	font-size: 13px;
}

.dm-buybox .dm-divider {
	margin: 20px 0 18px;
}

.dm-buy {
	display: grid;
	gap: 18px;
	margin-top: 20px;
}

.dm-buy__row {
	display: flex;
	gap: 12px;
}

.dm-buy__submit {
	flex: 1;
	min-width: 0;
	min-height: 56px;
	padding-inline: 14px;
	white-space: normal;
}

@media (max-width: 399px) {
	.dm-buy__row .dm-qty--lg .dm-qty__btn {
		width: 44px;
	}

	.dm-buy__row .dm-qty--lg .dm-qty__input {
		width: 30px;
	}
}

.dm-buy__notice {
	color: var(--ink-muted);
	font-size: 13px;
}

.dm-buy__notice.is-error {
	color: var(--error);
	font-weight: 600;
}

.dm-variant,
.dm-segmented {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.dm-variant__legend {
	margin-bottom: 10px;
	padding: 0;
	font-size: 14px;
	font-weight: 700;
}

.dm-variant__legend span {
	font-weight: 500;
	color: var(--ink-muted);
}

.dm-variant__legend span.is-chosen {
	color: var(--ink);
}

.dm-variant__options {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.dm-variant__option {
	position: relative;
}

.dm-variant__option input {
	position: absolute;
	inset: 0;
	opacity: 0;
	margin: 0;
	cursor: pointer;
}

.dm-variant__option span {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 16px;
	border: 1.5px solid var(--line);
	border-radius: var(--radius-md);
	background: var(--surface);
	font-size: 14px;
	font-weight: 700;
	transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
}

.dm-variant__option:hover span {
	border-color: var(--brand-200);
}

.dm-variant__option input:checked + span {
	border: 2px solid var(--brand-600);
	background: var(--brand-100);
	color: var(--brand-700);
}

.dm-variant__option input:focus-visible + span {
	outline: 2px solid var(--focus);
	outline-offset: 2px;
}

.dm-variant__option input:disabled + span {
	border-style: dashed;
	color: var(--ink-muted);
	text-decoration: line-through;
	cursor: not-allowed;
}

.dm-stock {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
	font-size: 13px;
	font-weight: 600;
}

.dm-stock--ok {
	color: var(--success);
}

.dm-stock--out {
	color: var(--ink-muted);
}

.dm-stock__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
}

.dm-benefits {
	display: grid;
	gap: 16px;
	margin: 28px 0 0;
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: var(--surface);
	list-style: none;
}

.dm-benefits li {
	display: flex;
	align-items: center;
	gap: 12px;
}

.dm-benefits li > span:last-child {
	display: flex;
	flex-direction: column;
	color: var(--ink-muted);
	font-size: 12px;
}

.dm-benefits strong {
	color: var(--ink);
	font-size: 14px;
	font-weight: 800;
}

.dm-product__bottom {
	display: grid;
	gap: 40px;
	margin-top: 40px;
}

.dm-tabs {
	display: flex;
	gap: 28px;
	margin-bottom: 20px;
	border-bottom: 1.5px solid var(--line);
}

.dm-tabs__tab {
	margin-bottom: -1.5px;
	padding-bottom: 10px;
	border-bottom: 2px solid transparent;
	color: var(--ink-muted);
	font-size: 14px;
	font-weight: 600;
}

.dm-tabs__tab.is-active {
	border-color: var(--brand-600);
	color: var(--brand-700);
	font-weight: 800;
}

.dm-product__subtitle {
	margin: 32px 0 16px;
	font-size: 20px;
}

.dm-related__title {
	margin-bottom: 20px;
	font-size: 22px;
}

.dm-related__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dm-mini {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}

.dm-mini__media {
	display: block;
	aspect-ratio: 1;
	border-radius: var(--radius-md);
	overflow: hidden;
}

.dm-mini__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.dm-mini__name {
	display: -webkit-box;
	font-family: var(--font-display);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.dm-mini__name a {
	color: var(--ink);
	text-decoration: none;
}

.dm-mini__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: auto;
}

.dm-mini__row .dm-price--none {
	font-size: 13px;
}

@media (max-width: 1023px) {
	/* CTA sticky en mobile (DESIGN.md §10). */
	.single-product .dm-buy__row {
		position: static;
		z-index: 20;
		margin-inline: -20px;
		padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
		border-top: 1px solid var(--line);
		background: var(--surface);
		border-radius: 0 0 var(--radius-xl) var(--radius-xl);
	}

	.single-product .dm-sticky-cart {
		display: block;
	}
	.single-product:has(.dm-product-bar:not([hidden])) .dm-sticky-cart { display: none; }
}

@media (min-width: 640px) {
	.dm-benefits {
		grid-template-columns: repeat(3, 1fr);
		align-items: center;
		justify-items: center;
	}

	.dm-related__list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.dm-product__top {
		grid-template-columns: 7fr 5fr;
		gap: 56px;
		align-items: start;
	}

	.dm-gallery {
		flex-direction: row;
		gap: 16px;
	}

	.dm-gallery__thumbs {
		flex-direction: column;
		width: 82px;
		flex-shrink: 0;
	}

	.dm-gallery__thumb {
		width: 82px;
		height: 82px;
	}

	.dm-gallery__main {
		flex: 1;
	}

	.dm-buybox {
		position: sticky;
		top: calc(var(--header-h) + 20px);
		padding: 28px 24px 32px;
	}

	.dm-buybox__title {
		font-size: 36px;
		line-height: 40px;
	}

	.dm-benefits {
		height: 94px;
		padding: 0 20px;
	}

	.dm-product__bottom {
		grid-template-columns: 590fr 554fr;
		gap: 56px;
		margin-top: 40px;
	}

	.dm-related__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 16px;
	}

	.dm-mini__media {
		max-width: 150px;
		margin-inline: auto;
	}
}

/* ---------- Prosa ---------- */
.dm-prose {
	max-width: 68ch;
	color: var(--ink-muted);
	font-size: 16px;
	line-height: 1.6;
}

.dm-prose > * + * {
	margin-top: 1em;
}

.dm-prose h2,
.dm-prose h3 {
	margin-top: 1.6em;
	color: var(--ink);
}

.dm-prose h2 {
	font-size: 24px;
}

.dm-prose h3 {
	font-size: 19px;
}

.dm-prose strong {
	color: var(--ink);
}

.dm-prose ul,
.dm-prose ol {
	padding-left: 1.25em;
}

.dm-prose li + li {
	margin-top: 0.4em;
}

.dm-prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.dm-prose th,
.dm-prose td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.dm-prose th {
	color: var(--ink);
}

.dm-prose details {
	padding: 14px 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	background: var(--surface);
}

.dm-prose summary {
	color: var(--ink);
	font-weight: 700;
	cursor: pointer;
}

/* ---------- Páginas ---------- */
.dm-page {
	padding-block: 40px var(--section-y);
}

.dm-page__head {
	margin-bottom: 28px;
}

.dm-page__title {
	font-size: 32px;
	line-height: 1.1;
}

.dm-page__lead {
	margin-top: 12px;
	max-width: 60ch;
	color: var(--ink-muted);
	font-size: 18px;
}

@media (min-width: 1024px) {
	.dm-page {
		padding-top: 64px;
	}

	.dm-page__title {
		font-size: 48px;
	}
}

/* ---------- Pedido (carrito, datos, confirmación) ---------- */
.dm-order {
	padding-block: 28px var(--section-y);
}

.dm-progress {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
	font-size: 13px;
	font-weight: 700;
}

.dm-progress__step {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--ink-muted);
}

.dm-progress__step:not(:last-child)::after {
	content: "";
	width: 24px;
	height: 2px;
	margin-left: 4px;
	background: var(--line);
}

.dm-progress__num {
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border: 1.5px solid var(--line);
	border-radius: 50%;
	background: var(--surface);
	font-size: 12px;
}

.dm-progress__step.is-current {
	color: var(--brand-700);
}

.dm-progress__step.is-current .dm-progress__num {
	border-color: var(--brand-600);
	background: var(--brand-600);
	color: #fff;
}

.dm-progress__step.is-done .dm-progress__num {
	border-color: var(--success);
	background: var(--success-bg);
	color: var(--success);
}

@media (max-width: 399px) {
	.dm-progress { gap: 6px; font-size: 12px; }
	.dm-progress__step { gap: 4px; }
	.dm-progress__step:not(:last-child)::after { width: 10px; margin-left: 0; }
	.dm-progress__num { width: 24px; height: 24px; flex-shrink: 0; }
}

.dm-order__head {
	margin-bottom: 24px;
}

.dm-order__title {
	font-size: 30px;
	line-height: 1.1;
}

.dm-order__lead {
	margin-top: 8px;
	color: var(--ink-muted);
}

.dm-order__layout {
	display: grid;
	gap: 20px;
	align-items: start;
}

.dm-card-box {
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: var(--radius-xl);
	background: var(--surface);
}

.dm-order__aside-title {
	margin-bottom: 8px;
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 800;
}

@media (min-width: 1024px) {
	.dm-order {
		padding-top: 40px;
	}

	.dm-order__title {
		font-size: 40px;
	}

	.dm-order__layout {
		grid-template-columns: 7fr 5fr;
		gap: 32px;
	}

	.dm-order__aside {
		position: sticky;
		top: calc(var(--header-h) + 20px);
	}

	.dm-card-box {
		padding: 28px;
	}
}

/* Ítems del pedido */
.dm-cart-items {
	margin: 0;
	padding: 0;
	list-style: none;
}

.dm-cart-item {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 14px;
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
}

.dm-cart-item:last-child {
	border-bottom: 0;
}

.dm-cart-item__media {
	display: block;
	width: 72px;
	height: 72px;
	border-radius: var(--radius-md);
	background: var(--canvas);
	overflow: hidden;
}

.dm-cart-item__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.dm-cart-item__media .dm-placeholder {
	padding: 6px;
}

.dm-cart-item__media .dm-placeholder > .dm-icon {
	width: 24px;
	height: 24px;
}

.dm-cart-item__body {
	min-width: 0;
}

.dm-cart-item__name {
	font-family: var(--font-display);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
}

.dm-cart-item__name a {
	color: var(--ink);
	text-decoration: none;
}

.dm-cart-item__meta,
.dm-cart-item__unit,
.dm-cart-item__qty {
	margin-top: 2px;
	color: var(--ink-muted);
	font-size: 13px;
}

.dm-cart-item__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
}

.dm-cart-item__remove {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--ink-muted);
}

.dm-cart-item__remove:hover {
	background: var(--error-bg);
	color: var(--error);
}

.dm-cart-item__total {
	grid-column: 2;
	font-family: var(--font-display);
	font-size: 16px;
	font-weight: 800;
	white-space: nowrap;
}

.dm-cart-items--summary .dm-cart-item {
	grid-template-columns: 52px minmax(0, 1fr);
	padding: 12px 0;
}

.dm-cart-items--summary .dm-cart-item__media {
	width: 52px;
	height: 52px;
}

.dm-cart-items.is-busy {
	opacity: 0.55;
	pointer-events: none;
}

.dm-cart-totals {
	display: grid;
	gap: 12px;
}

.dm-cart-totals__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--line);
	font-weight: 600;
}

.dm-cart-totals__row strong {
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 800;
}

.dm-cart-totals__note {
	display: flex;
	gap: 8px;
	padding: 12px;
	border-radius: var(--radius-md);
	background: var(--warning-bg);
	color: #6b4410;
	font-size: 13px;
	line-height: 1.45;
}

.dm-cart-totals__note .dm-icon {
	margin-top: 2px;
}

.dm-cart-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding: 48px 12px;
	text-align: center;
}

.dm-cart-empty__icon {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: var(--brand-100);
	color: var(--brand-700);
}

.dm-cart-empty__title {
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 700;
}

/* Barra mobile «Ver pedido · total» */
.dm-sticky-cart {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 40;
	padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
	background: linear-gradient(to top, var(--canvas) 70%, rgba(251, 248, 245, 0));
}

.dm-sticky-cart[hidden] {
	display: none;
}

.woocommerce-cart .dm-sticky-cart,
.woocommerce-checkout .dm-sticky-cart { display: none; }

.woocommerce-cart .dm-order__aside:has(.dm-cartpage-totals:empty) { display: none; }
.woocommerce-cart .dm-order__layout:has(.dm-cartpage-totals:empty) { grid-template-columns: minmax(0, 1fr); }

.dm-product-bar { display: none; }

@media (max-width: 1023px) {
	.dm-product-bar:not([hidden]) {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 45;
		display: grid;
		grid-template-columns: minmax(60px, 1fr) minmax(0, 2fr) 44px;
		align-items: center;
		gap: 8px;
		padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
		border-top: 1px solid var(--line);
		background: var(--surface);
		box-shadow: var(--shadow-card);
	}
	.dm-product-bar .dm-price,
	.dm-product-bar .dm-price__now { font-size: 18px; }
	.dm-product-bar__price { min-width: 0; }
	.dm-product-bar .dm-price__was { font-size: 12px; }
	.dm-product-bar .dm-btn { padding: 8px; font-size: 14px; white-space: normal; }
	.dm-product-bar__cart { position: relative; }
	.dm-product-bar__cart .dm-cart-count { position: absolute; right: -4px; top: -6px; background: var(--brand-100); }
	.single-product .dm-footer { padding-bottom: 110px; }
}

@media (min-width: 1024px) {
	.dm-sticky-cart {
		display: none;
	}
}

/* Formulario de datos */
.dm-form {
	display: grid;
	gap: 18px;
}

.dm-form .form-row {
	display: grid;
	gap: 6px;
	margin: 0;
}

.dm-form label,
.dm-field__label {
	color: var(--ink);
	font-size: 14px;
	font-weight: 700;
}

.dm-form abbr.required,
.dm-field__label abbr {
	color: var(--brand-600);
	text-decoration: none;
}

.dm-form .optional {
	display: none;
}

.dm-form input.input-text,
.dm-form select,
.dm-form textarea {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border: 1.5px solid var(--line);
	border-radius: var(--radius-md);
	background: var(--surface);
	font-size: 16px;
	transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.dm-form select {
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23262120' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-position: right 14px center;
	background-repeat: no-repeat;
	-webkit-appearance: none;
	appearance: none;
}

.dm-form textarea {
	min-height: 96px;
	resize: vertical;
}

.dm-form input.input-text:focus,
.dm-form select:focus,
.dm-form textarea:focus {
	border-color: var(--brand-600);
	outline: none;
	box-shadow: 0 0 0 3px var(--brand-100);
}

.dm-form .woocommerce-invalid input.input-text,
.dm-form .woocommerce-invalid select {
	border-color: var(--error);
}

.dm-form .woocommerce-invalid .dm-segmented__option span {
	border-color: var(--error);
}

.dm-form .checkout-inline-error-message {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--error);
	font-size: 13px;
	font-weight: 600;
}

.dm-form .checkout-inline-error-message::before {
	content: "!";
	display: inline-grid;
	place-items: center;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--error);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
}

.dm-segmented {
	margin: 0;
	padding: 0;
	border: 0;
}

.dm-segmented legend {
	margin-bottom: 8px;
	padding: 0;
}

.dm-segmented__options {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	padding: 4px;
	border-radius: 14px;
	background: var(--surface-muted);
}

.dm-segmented__option {
	position: relative;
}

.dm-segmented__option input {
	position: absolute;
	inset: 0;
	opacity: 0;
	margin: 0;
	cursor: pointer;
}

.dm-segmented__option span {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 8px;
	border: 1.5px solid transparent;
	border-radius: 10px;
	color: var(--ink-muted);
	font-size: 14px;
	font-weight: 700;
	text-align: center;
	transition: background 0.18s var(--ease), color 0.18s var(--ease);
}

.dm-segmented__option input:checked + span {
	border-color: var(--brand-600);
	background: var(--surface);
	color: var(--brand-700);
	box-shadow: 0 2px 8px rgba(38, 33, 32, 0.08);
}

.dm-segmented__option input:focus-visible + span {
	outline: 2px solid var(--focus);
	outline-offset: 2px;
}

.dm-modalidad-help {
	display: flex;
	gap: 10px;
	padding: 12px 14px;
	border-radius: var(--radius-md);
	background: var(--info-bg);
	color: #1d3f7a;
	font-size: 13px;
	line-height: 1.5;
}

.dm-modalidad-help .dm-icon {
	margin-top: 2px;
}

/* Campos condicionales: se muestran según la modalidad. */
.dm-form[data-modalidad="retiro"] .dm-field--entrega,
.dm-form[data-modalidad="entrega"] .dm-field--retiro {
	display: none !important;
}

.dm-submit {
	display: grid;
	gap: 12px;
	margin-top: 20px;
}

.dm-submit .place-order {
	display: grid;
	gap: 12px;
}

.dm-submit__consent {
	color: var(--ink-muted);
	font-size: 13px;
	line-height: 1.45;
}

#order_review .blockUI.blockOverlay {
	border-radius: var(--radius-xl);
}

/* Avisos de WooCommerce */
.woocommerce-notices-wrapper:empty {
	display: none;
}

.woocommerce-error,
.woocommerce-message,
.woocommerce-info,
.dm-alert {
	display: grid;
	gap: 4px;
	margin: 0 0 20px;
	padding: 14px 16px;
	border-radius: var(--radius-md);
	list-style: none;
	font-size: 14px;
	font-weight: 600;
}

.woocommerce-error,
.dm-alert--error {
	border-left: 4px solid var(--error);
	background: var(--error-bg);
	color: #7a1a12;
}

.woocommerce-message {
	border-left: 4px solid var(--success);
	background: var(--success-bg);
	color: #1b5a3e;
}

.woocommerce-info {
	border-left: 4px solid var(--info);
	background: var(--info-bg);
	color: #1d3f7a;
}

.woocommerce-error li,
.woocommerce-message li {
	margin: 0;
}

.woocommerce-NoticeGroup,
.dm-flow > .woocommerce > .woocommerce-notices-wrapper {
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin: 20px auto 0;
	padding-inline: var(--gutter);
}

.woocommerce-NoticeGroup-checkout {
	grid-column: 1 / -1;
	max-width: none;
	margin: 0;
	padding: 0;
}

.woocommerce-error a.button,
.woocommerce-message a.button {
	color: inherit;
	font-weight: 700;
}

/* Confirmación */
.dm-thanks__box {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	max-width: 620px;
	margin-inline: auto;
	text-align: center;
}

.dm-thanks .dm-progress {
	justify-content: center;
}

.dm-thanks__text {
	max-width: 46ch;
	color: var(--ink-muted);
	font-size: 17px;
}

.dm-thanks__text strong {
	color: var(--ink);
}

.dm-thanks__summary {
	display: grid;
	gap: 0;
	width: 100%;
	margin: 0;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	text-align: left;
}

.dm-thanks__summary div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 16px;
	border-bottom: 1px solid var(--line);
	font-size: 14px;
}

.dm-thanks__summary div:last-child {
	border-bottom: 0;
}

.dm-thanks__summary dt {
	color: var(--ink-muted);
}

.dm-thanks__summary dd {
	margin: 0;
	font-weight: 700;
	text-align: right;
}

.dm-thanks__fallback {
	width: 100%;
	text-align: left;
}

.dm-thanks__fallback summary {
	color: var(--brand-700);
	font-weight: 700;
	cursor: pointer;
}

.dm-thanks__fallback[open] {
	display: grid;
	gap: 12px;
}

.dm-thanks__fallback p {
	margin-top: 12px;
	color: var(--ink-muted);
	font-size: 14px;
}

.dm-thanks__message {
	width: 100%;
	padding: 12px;
	border: 1.5px solid var(--line);
	border-radius: var(--radius-md);
	background: var(--canvas);
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 13px;
	line-height: 1.5;
	resize: vertical;
}

/* ---------- Toasts ---------- */
.dm-toasts {
	position: fixed;
	top: 16px;
	left: 50%;
	z-index: 200;
	display: grid;
	gap: 8px;
	width: min(420px, calc(100% - 32px));
	transform: translateX(-50%);
	pointer-events: none;
}

.dm-toast {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 12px 12px 16px;
	border-radius: var(--radius-md);
	background: var(--ink);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	box-shadow: var(--shadow-pop);
	pointer-events: auto;
	animation: dm-toast-in 0.22s var(--ease);
}

.dm-toast--error {
	background: var(--error);
}

.dm-toast .dm-icon {
	color: #7ee2a8;
}

.dm-toast--error .dm-icon {
	color: #fff;
}

.dm-toast__text {
	flex: 1;
}

.dm-toast__action {
	flex-shrink: 0;
	min-height: 36px;
	padding: 0 12px;
	border: 0;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}

.dm-toast__action:hover {
	background: rgba(255, 255, 255, 0.24);
}

.dm-toast__close {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: #fff;
}

@keyframes dm-toast-in {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
}

@media (min-width: 1024px) {
	.dm-toasts {
		top: auto;
		right: 24px;
		bottom: 24px;
		left: auto;
		transform: none;
	}
}

/* ---------- Footer ---------- */
.dm-footer {
	padding-block: 48px 28px;
	background: var(--brand-700);
	color: #fff;
}

body:has(.dm-sticky-cart:not([hidden])) .dm-footer {
	padding-bottom: 96px;
}

.dm-footer__grid {
	display: grid;
	gap: 36px;
}

.dm-footer__brand p {
	max-width: 30ch;
	margin-top: 16px;
	color: var(--brand-100);
	font-size: 14px;
	line-height: 1.5;
}

.dm-footer__logo img {
	height: 120px;
}

.dm-footer__title {
	margin-bottom: 14px;
	color: var(--brand-200);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 1.2px;
	text-transform: uppercase;
}

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

.dm-footer a {
	color: #fff;
	text-decoration: none;
}

.dm-footer ul a {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	font-size: 14px;
	font-weight: 500;
}

.dm-footer a:hover {
	text-decoration: underline;
}

.dm-footer__contact {
	margin-top: 20px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
}

.dm-footer__branch {
	margin-top: 20px;
	color: var(--brand-100);
	font-size: 14px;
	line-height: 1.55;
}

.dm-footer__branch-name {
	margin-bottom: 4px;
	color: #fff;
	font-weight: 700;
}

.dm-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid rgba(243, 221, 222, 0.25);
	color: var(--brand-200);
	font-size: 13px;
}

.dm-footer__social {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 700;
}

@media (min-width: 640px) {
	.dm-footer__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.dm-footer {
		padding-block: 64px 32px;
	}

	.dm-footer__grid {
		grid-template-columns: 362fr 290fr 290fr 258fr;
		gap: 0;
	}

	.dm-footer__logo img {
		height: 150px;
	}

	.dm-footer__bottom {
		margin-top: 56px;
	}
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
