/* ==========================================================================
   Dimedsion · estilos del tema hijo
   Tokens: CLAUDE.md §4 (sacados de los listings de Amazon).
   ========================================================================== */

@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/manrope-latin-wght.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/manrope-latin-ext-wght.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--ink: #161718;
	--ink-2: #24272a;
	--teal: #0b7f82;
	--teal-dark: #075c5e;
	--aqua: #00c2c7;
	--aqua-soft: #ddf5f5;
	--aqua-mid: #c4ecec;
	--surface: #f2f4f6;
	--line: #e4e7eb;
	--muted: #4a4e54;
	--muted-dark: #a9aeb4;
	--star: #e39a1c;
	--white: #fff;

	--font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--wrap: 1320px;
	--gutter: clamp(16px, 4vw, 48px);
	--r-card: 22px;
	--r-big: 28px;
	--r-pill: 999px;
	--sec: clamp(48px, 6vw, 88px);
	--shadow: 0 18px 40px rgba(22, 23, 24, .10);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.dmd {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
.dmd h1, .dmd h2, .dmd h3, .dmd h4 { font-family: var(--font); color: inherit; font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; margin: 0 0 .5em; }
.dmd h1 { font-size: clamp(34px, 4.6vw, 60px); letter-spacing: -0.035em; }
.dmd h2 { font-size: clamp(26px, 3.2vw, 42px); }
.dmd h3 { font-size: 20px; letter-spacing: -0.01em; }
.dmd p { margin: 0 0 1em; }
.dmd a { color: var(--teal); }
.dmd a:hover { color: var(--teal-dark); }
.dmd img { max-width: 100%; height: auto; display: block; }
.dmd :focus-visible { outline: 3px solid var(--aqua); outline-offset: 2px; border-radius: 6px; }
.dmd .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dmd .skip-link:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 100; padding: 12px 16px; background: var(--ink); color: #fff; border-radius: 10px; }

/* Neutraliza contenedores de GeneratePress */
.dmd .site, .dmd .site-content { display: block; max-width: none; padding: 0; margin: 0; background: transparent; }
.dmd .site-content .content-area { max-width: var(--wrap); margin: 0 auto; padding: var(--sec) var(--gutter); width: 100%; float: none; }
.dmd .inside-article { padding: 0; background: transparent; }

.dmd-wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.dmd-main { display: block; }
.dmd-muted { color: var(--muted); font-weight: 700; font-size: 14px; }
.dmd-lead { font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 560px; }
.dmd-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.dmd-link { font-weight: 800; text-decoration: none; padding: 12px 0; }
.dmd-stars { color: var(--star); letter-spacing: 2px; }

/* ---------- Botones ---------- */
.dmd-btn, .dmd .button, .dmd button.single_add_to_cart_button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 24px; border-radius: var(--r-pill); border: 0;
	font: inherit; font-size: 15px; font-weight: 800; line-height: 1.1; text-decoration: none; cursor: pointer;
	transition: background-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.dmd-btn:hover { transform: translateY(-1px); }
.dmd-btn--lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.dmd-btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.dmd-btn--block { display: flex; width: 100%; }
.dmd .dmd-btn--primary, .dmd .button.alt, .dmd.woocommerce button.button.alt, .dmd.woocommerce-page button.button.alt, .dmd button.single_add_to_cart_button { background: var(--teal); color: #fff; }
.dmd .dmd-btn--primary:hover, .dmd .button.alt:hover, .dmd.woocommerce button.button.alt:hover, .dmd.woocommerce-page button.button.alt:hover, .dmd button.single_add_to_cart_button:hover { background: var(--teal-dark); color: #fff; }
.dmd.woocommerce button.button.alt.disabled, .dmd.woocommerce button.button.alt:disabled { background: var(--teal); color: #fff; opacity: .5; }
.dmd .dmd-btn--ink, .dmd .button { background: var(--ink); color: #fff; }
.dmd .dmd-btn--ink:hover, .dmd .button:hover { background: #000; color: #fff; }
.dmd .dmd-btn--aqua { background: var(--aqua); color: var(--ink); }
.dmd .dmd-btn--aqua:hover { background: #3dd6da; color: var(--ink); }
.dmd .dmd-btn--outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); min-height: 50px; }
.dmd .dmd-btn--outline:hover { background: var(--ink); color: #fff; }
.dmd-btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.dmd .added_to_cart { display: none; }
.dmd-btn.loading { opacity: .7; }
.dmd-btn.added::after { content: "✓"; }

.dmd-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Badges / chips ---------- */
.dmd-badge { display: inline-flex; padding: 6px 12px; border-radius: var(--r-pill); background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; }
.dmd-badge--sale { background: var(--aqua); color: var(--ink); }
.dmd-pill { padding: 4px 10px; border-radius: var(--r-pill); background: var(--aqua-soft); color: var(--teal-dark); font-size: 13px; font-weight: 800; }
.dmd-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.dmd-chips li { padding: 8px 14px; border-radius: var(--r-pill); background: #fff; font-size: 13px; font-weight: 700; }
.dmd-chips a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.dmd-chips--dark li { background: var(--ink-2); color: #fff; font-size: 14px; }

/* ---------- Barra superior ---------- */
.dmd-topbar { background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; overflow-x: auto; scrollbar-width: none; }
.dmd-topbar::-webkit-scrollbar { display: none; }
.dmd-topbar__track { display: flex; gap: 22px; justify-content: center; width: max-content; min-width: 100%; padding: 10px var(--gutter); white-space: nowrap; }
.dmd-topbar__dot { color: var(--aqua); }

/* ---------- Cabecera ---------- */
.dmd-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.admin-bar .dmd-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .dmd-header { top: 0; } }
.dmd-header__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px 28px; min-height: 68px; }
.dmd-logo { font-size: 19px; font-weight: 800; letter-spacing: .2em; color: var(--ink) !important; text-decoration: none; padding: 10px 0; }
.dmd-logo--light { color: #fff !important; font-size: 17px; }
.dmd-nav__list { display: flex; flex-wrap: wrap; gap: 0 26px; list-style: none; margin: 0; padding: 0; }
.dmd-nav__list a { display: block; padding: 12px 0; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 700; transition: color .2s ease; }
.dmd-nav__list a:hover, .dmd-nav__list .current-menu-item > a, .dmd-nav__list .current-page-ancestor > a { color: var(--teal); }
.dmd-header__tools { display: flex; align-items: center; gap: 4px; }
.dmd-lang { display: inline-flex; align-items: center; min-height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; font-weight: 800; }
.dmd .dmd-iconbtn { position: relative; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--ink) !important; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; }
.dmd .dmd-iconbtn:hover { background: var(--surface); }
.dmd-iconbtn svg { flex: none; }
.dmd-cart-count { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: var(--r-pill); background: var(--aqua); color: var(--ink); font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.dmd-cart-count[data-count="0"] { display: none; }
.dmd-search { border-top: 1px solid var(--line); background: #fff; }
.dmd-search__form { display: flex; gap: 10px; padding-top: 12px; padding-bottom: 12px; }
.dmd-search__form input[type="search"] { flex: 1; min-height: 48px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: var(--r-pill); font: inherit; }

@media (max-width: 860px) {
	.dmd-header__inner { grid-template-columns: 1fr auto; min-height: 60px; }
	.dmd-nav { grid-column: 1 / -1; grid-row: 2; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); border-top: 1px solid var(--line); }
	.dmd-nav::-webkit-scrollbar { display: none; }
	.dmd-nav__list { flex-wrap: nowrap; gap: 0 22px; }
	.dmd-nav__list a { padding: 10px 0; white-space: nowrap; font-size: 14px; }
	.dmd-lang { display: none; }
}

/* ---------- Secciones ---------- */
.dmd-section { padding-top: var(--sec); }
.dmd-section--tight { padding-top: 24px; }
.dmd-section--last { padding-bottom: var(--sec); }
.dmd-section--surface { background: var(--surface); margin-top: var(--sec); padding-bottom: var(--sec); }
.dmd-section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.dmd-section__head h2 { margin: 0; }

/* Hero */
.dmd-hero { background: var(--surface); }
.dmd-hero__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(28px, 4vw, 64px); align-items: center; padding-top: clamp(36px, 5vw, 72px); padding-bottom: clamp(36px, 5vw, 72px); }
.dmd-hero__copy { display: flex; flex-direction: column; gap: 22px; }
.dmd-hero__copy h1 { margin: 0; font-size: clamp(36px, 5vw, 66px); line-height: 1.03; }
.dmd-hero__copy .dmd-lead { margin: 0; }
.dmd-rating-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font-size: 14px; font-weight: 700; color: var(--ink) !important; text-decoration: none; }
.dmd-ticks { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; font-size: 13px; font-weight: 700; color: var(--muted); }
.dmd-ticks li::before { content: "✓ "; color: var(--teal); }
.dmd-hero__media { position: relative; aspect-ratio: 5 / 4; border-radius: var(--r-big); background: #fff; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.dmd-hero__blob { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: var(--aqua-soft); }
.dmd-hero__img { position: relative; width: 82%; height: 82%; object-fit: contain; }
.dmd-hero__slot { position: absolute; inset: 10%; }
.dmd-hero__badge { position: absolute; top: 20px; right: 20px; }

/* Huecos de foto pendientes */
.dmd-slot { display: flex; align-items: flex-end; justify-content: center; padding: 16px; border: 1.5px dashed #9fb3b4; border-radius: 20px; background: rgba(255, 255, 255, .4); min-height: 160px; }
.dmd-slot span { font-size: 12px; font-weight: 700; color: var(--muted); background: #fff; padding: 6px 12px; border-radius: var(--r-pill); text-align: center; }
.dmd-slot--dark { background: var(--ink-2); border-color: #3a3f44; height: 100%; aspect-ratio: 4 / 3; }
.dmd-slot--aqua { background: var(--aqua-soft); border-color: #9fc9ca; }
.dmd-slot--square { aspect-ratio: 1; }
.dmd-empty { padding: 28px; border: 1.5px dashed #c9cdd2; border-radius: 20px; background: var(--surface); color: var(--muted); font-weight: 700; text-align: center; }

/* Garantías */
.dmd-trust { border-bottom: 1px solid var(--line); }
.dmd-trust__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.dmd-trust__item { display: flex; gap: 12px; align-items: center; color: var(--teal); }
.dmd-trust__item div { display: flex; flex-direction: column; color: var(--ink); }
.dmd-trust__item strong { font-size: 15px; font-weight: 800; }
.dmd-trust__item span { font-size: 13px; color: var(--muted); }

/* Bloque destacado oscuro */
.dmd-feature { border-radius: var(--r-big); background: var(--ink); color: #fff; padding: clamp(28px, 5vw, 60px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 36px; align-items: center; }
.dmd-feature__copy { display: flex; flex-direction: column; gap: 18px; }
.dmd-feature__copy h2 { margin: 0; }
.dmd-feature__copy p { margin: 0; color: #c9cdd2; font-size: 17px; }
.dmd-eyebrow + h2 { margin-top: -4px; }
.dmd-feature .dmd-eyebrow { color: var(--aqua); }
.dmd-feature__note { font-size: 13px; color: var(--muted-dark); }
.dmd-feature__media img { border-radius: 20px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.dmd-feature .amount, .dmd-feature bdi { color: inherit; }

/* Tarjetas de producto */
.dmd-rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; }
.dmd-rail > .dmd-card { flex: 0 0 min(290px, 78%); scroll-snap-align: start; }
.dmd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.dmd-grid__item { list-style: none; margin: 0; padding: 0; }
.dmd-card { display: flex; flex-direction: column; gap: 10px; height: 100%; border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px; background: #fff; }
.dmd-card__media { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: 16px; background: var(--aqua-soft); overflow: hidden; text-decoration: none; }
.dmd-card__media img { width: 100%; height: 100%; object-fit: cover; }
.dmd-card__media .dmd-badge { position: absolute; top: 10px; left: 10px; z-index: 1; }
.dmd-card__media .dmd-badge--sale { left: auto; right: 10px; }
.dmd-card__ph { font-size: 12px; font-weight: 700; color: var(--teal-dark); }
.dmd-card__rating { display: flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 700; color: var(--muted); }
.dmd-card__name { color: var(--ink) !important; text-decoration: none; font-size: 17px; font-weight: 800; line-height: 1.3; }
.dmd-card__meta { font-size: 13px; color: var(--muted); font-weight: 600; }
.dmd-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.dmd-card__price { font-size: 19px; font-weight: 800; }
.dmd-card__price del { color: var(--muted); font-size: 14px; font-weight: 600; margin-right: 6px; }
.dmd-card__price ins { text-decoration: none; }

/* Movimiento */
.dmd-lift { transition: transform .35s ease, box-shadow .35s ease; }
.dmd-lift:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
@keyframes dmd-rise { from { transform: translateY(24px); } to { transform: none; } }
@keyframes dmd-drift { from { transform: translateY(-24px); } to { transform: translateY(24px); } }
@supports (animation-timeline: view()) {
	.dmd-reveal { animation: dmd-rise linear both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
	.dmd-parallax { animation: dmd-drift linear both; animation-timeline: view(); }
}
@media (prefers-reduced-motion: reduce) {
	.dmd-reveal, .dmd-parallax { animation: none !important; }
	.dmd-lift:hover, .dmd-btn:hover { transform: none; }
	html { scroll-behavior: auto; }
}

/* Reseñas */
.dmd-cards3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 18px; }
.dmd-review { margin: 0; display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 20px; background: var(--surface); }
.dmd-review blockquote { margin: 0; font-size: 15px; line-height: 1.55; border: 0; padding: 0; font-style: normal; }
.dmd-review figcaption { font-size: 13px; font-weight: 700; color: var(--muted); }

/* Guías */
.dmd-guide, .dmd-post { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink) !important; border: 1px solid var(--line); border-radius: 20px; padding: 20px; background: #fff; }
.dmd-guide__title, .dmd-post__title { font-size: 18px; font-weight: 800; line-height: 1.3; }
.dmd-post__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; }
.dmd-post__img--ph { display: flex; align-items: flex-end; padding: 12px; background: var(--aqua-soft); font-size: 12px; font-weight: 700; color: var(--teal-dark); }
.dmd-post__time { font-size: 13px; }

/* FAQ */
.dmd-faq, .dmd-prose .wp-block-details { border-top: 1px solid var(--line); }
.dmd-faq details, .dmd-prose details { border-bottom: 1px solid var(--line); }
.dmd-faq summary, .dmd-prose details summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 17px; font-weight: 700; cursor: pointer; list-style: none; }
.dmd-faq summary::-webkit-details-marker, .dmd-prose details summary::-webkit-details-marker { display: none; }
.dmd-prose details summary::after { content: "+"; font-size: 24px; color: var(--teal); transition: transform .25s ease; }
.dmd-faq__chev { font-size: 24px; color: var(--teal); transition: transform .25s ease; }
.dmd-faq details[open] .dmd-faq__chev, .dmd-prose details[open] summary::after { transform: rotate(45deg); }
.dmd-faq__a, .dmd-prose details > :not(summary) { margin: 0 0 20px; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* Newsletter y CTA */
.dmd-newsletter, .dmd-cta { border-radius: var(--r-big); padding: clamp(28px, 5vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.dmd-newsletter { background: var(--teal); color: #fff; }
.dmd-cta { background: var(--ink); color: #fff; }
.dmd-newsletter__copy, .dmd-cta__copy { flex: 1 1 320px; display: flex; flex-direction: column; gap: 8px; }
.dmd-newsletter h2, .dmd-cta h2 { margin: 0; font-size: clamp(24px, 3vw, 38px); }
.dmd-newsletter p { margin: 0; color: #fff; }
.dmd-cta p { margin: 0; color: #c9cdd2; }
.dmd-newsletter__form { display: flex; flex-wrap: wrap; gap: 10px; flex: 1 1 380px; }
.dmd-newsletter__form input { flex: 1 1 220px; min-height: 54px; padding: 0 20px; border-radius: var(--r-pill); border: 0; font: inherit; font-size: 16px; }

/* Banda de colección y cabeceras de página */
.dmd-band { background: var(--aqua-soft); }
.dmd-band__inner { display: flex; flex-direction: column; gap: 16px; padding-top: 20px; padding-bottom: clamp(32px, 4vw, 48px); }
.dmd-band__inner h1 { margin: 0; }
.dmd-band__intro { max-width: 760px; font-size: 17px; line-height: 1.6; color: #2e4a4b; }
.dmd-band__intro p { margin: 0; }
.dmd-pagehead { background: var(--surface); }
.dmd-pagehead__inner { padding-top: clamp(36px, 5vw, 72px); padding-bottom: clamp(36px, 5vw, 64px); }
.dmd-pagehead__inner h1 { margin: 0 0 12px; }
.dmd-pagehead__inner .dmd-lead { margin: 0; }
.dmd-pagehead__inner--narrow { max-width: 920px; }
.dmd-count { margin: 0 0 16px; }
.dmd-edu { margin: 24px 0 0; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); font-size: 13px; line-height: 1.5; color: var(--muted); }
.dmd-edu strong { color: var(--ink); }

/* Migas */
.dmd-crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 18px 0 0; font-size: 14px; color: var(--muted); }
.dmd-band .dmd-crumbs ol { padding-top: 0; color: #2e4a4b; }
.dmd-crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--muted); }
.dmd-crumbs a { color: inherit; }
.dmd-crumbs [aria-current] { color: var(--ink); font-weight: 700; }

/* Texto largo (guías, colecciones, páginas, descripción de producto) */
.dmd-prose { max-width: 920px; }
.dmd-prose--wide { max-width: var(--wrap); }
.dmd-prose > * + * { margin-top: 1em; }
.dmd-prose h2 { margin-top: 1.6em; font-size: clamp(26px, 3vw, 38px); }
.dmd-prose h2:first-child { margin-top: 0; }
.dmd-prose h3 { margin-top: 1.4em; }
.dmd-prose p, .dmd-prose li { font-size: 16px; line-height: 1.7; color: var(--muted); }
.dmd-prose strong { color: var(--ink); }
.dmd-prose ul, .dmd-prose ol { padding-left: 1.2em; margin-left: 0; }

/* Bloques reutilizables dentro de descripciones (clases para la Fase 3) */
.dmd-prose .dmd-includes, .dmd-includes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 16px; padding: 0; margin: 0; list-style: none; }
.dmd-includes > li { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 20px; background: #fff; color: var(--muted); }
.dmd-includes > li strong { font-size: 17px; }
.dmd-includes img { border-radius: 14px; aspect-ratio: 4 / 3; object-fit: cover; }
.dmd-prose .dmd-stitches, .dmd-stitches { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0 !important; margin: 0; }
.dmd-stitches li { padding: 10px 16px; border-radius: var(--r-pill); background: var(--aqua-soft); color: var(--ink); font-weight: 700; font-size: 14px; }

/* ---------- Ficha de producto ---------- */
.dmd-pdp { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: clamp(28px, 4vw, 56px); align-items: start; padding-top: 20px; padding-bottom: clamp(40px, 5vw, 64px); }
.dmd-gallery { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 960px) { .dmd-gallery { position: sticky; top: 96px; } }
.dmd-gallery__main { position: relative; border-radius: 24px; background: var(--aqua-soft); overflow: hidden; aspect-ratio: 1; }
.dmd-gallery__main .dmd-badge { position: absolute; top: 16px; left: 16px; z-index: 2; }
.dmd-gallery__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease; }
.dmd-gallery__img.is-active { opacity: 1; position: relative; }
.dmd-gallery__main .dmd-slot { height: 100%; border-radius: 24px; }
.dmd-gallery__thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.dmd-gallery__thumbs::-webkit-scrollbar { display: none; }
.dmd .dmd-gallery__thumb { flex: 0 0 64px; width: 64px; aspect-ratio: 1; padding: 0; border-radius: 12px; border: 2px solid transparent; background: var(--surface); overflow: hidden; cursor: pointer; }
.dmd-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.dmd .dmd-gallery__thumb.is-active { border-color: var(--teal); }
.dmd-gallery__todo { margin: 0; font-size: 12px; }

.dmd-summary { display: flex; flex-direction: column; gap: 16px; }
.dmd-summary__title { margin: 0; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.06; }
.dmd-summary__short p { margin: 0; font-size: 16px; color: var(--muted); }
.dmd-summary__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.dmd-price { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.dmd-price del { font-size: 20px; color: var(--muted); font-weight: 600; margin-right: 8px; }
.dmd-price ins { text-decoration: none; }
.dmd-summary__tax { margin: -8px 0 0; font-size: 13px; color: var(--muted); }
.dmd-summary__buy form.cart { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.dmd-summary__buy form.cart:not(.variations_form), .dmd-summary__buy .woocommerce-variation-add-to-cart { display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px; }
.dmd-summary__buy .quantity input.qty { width: 84px; min-height: 56px; border: 1.5px solid var(--line); border-radius: var(--r-pill); text-align: center; font: inherit; font-weight: 800; }
.dmd-summary__buy .single_add_to_cart_button { flex: 1 1 220px; min-height: 56px !important; font-size: 17px !important; }
.dmd-summary__buy table.variations { width: 100%; border: 0; margin: 0; }
.dmd-summary__buy table.variations th, .dmd-summary__buy table.variations td { display: block; padding: 0; border: 0; text-align: left; }
.dmd-summary__buy table.variations label { font-size: 14px; font-weight: 800; }
.dmd-opts { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.dmd-opt { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 60px; padding: 0 18px; border-radius: 14px; border: 2px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 15px; font-weight: 800; text-align: left; cursor: pointer; }
.dmd-opt[aria-pressed="true"] { border-color: var(--teal); background: #f0fafa; }
.dmd-opt[disabled] { opacity: .45; cursor: not-allowed; }
.dmd-opts + select { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.dmd-summary__buy .reset_variations { font-size: 13px; }
.dmd-summary__buy .stock { font-size: 14px; font-weight: 700; color: var(--teal-dark); margin: 0; }
.dmd-summary__buy .stock.out-of-stock { color: #b42318; }
.dmd-infobox { display: flex; flex-direction: column; gap: 10px; list-style: none; margin: 0; padding: 16px; border-radius: 16px; background: var(--surface); font-size: 14px; }
.dmd-infobox li { display: flex; gap: 10px; align-items: center; }
.dmd-infobox svg { flex: none; color: var(--teal); }
.dmd-infobox a { font-weight: 700; color: var(--teal-dark); }
.dmd-summary .dmd-edu { margin: 0; }

.dmd-stickybuy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transform: translateY(100%); transition: transform .3s ease; }
.dmd-stickybuy.is-visible { transform: none; }
.dmd-stickybuy__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.dmd-stickybuy__info { display: flex; flex-direction: column; min-width: 0; }
.dmd-stickybuy__name { font-size: 14px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dmd-stickybuy__price { font-size: 14px; font-weight: 800; color: var(--teal); }
.dmd-stickybuy__price del { color: var(--muted); font-weight: 600; }

/* Reseñas de WooCommerce (formulario) */
.dmd #reviews .woocommerce-Reviews-title, .dmd #reviews .woocommerce-noreviews { font-size: 15px; color: var(--muted); }
.dmd #review_form_wrapper { margin-top: 12px; padding: 24px; border-radius: 20px; background: var(--surface); }
.dmd #reviews .comment-reply-title { font-size: 20px; font-weight: 800; display: block; margin-bottom: 12px; }

/* ---------- Formularios ---------- */
.dmd input[type="text"], .dmd input[type="email"], .dmd input[type="number"], .dmd input[type="tel"], .dmd input[type="password"], .dmd select, .dmd textarea {
	width: 100%; min-height: 48px; padding: 10px 16px; border: 1.5px solid #c9cdd2; border-radius: 12px; background: #fff; font: inherit; font-size: 16px; color: var(--ink);
}
.dmd textarea { min-height: 140px; }
.dmd input:focus, .dmd select:focus, .dmd textarea:focus { outline: 2px solid var(--teal); outline-offset: 2px; border-color: var(--teal); }
.dmd-form { display: flex; flex-direction: column; gap: 6px; padding: clamp(20px, 3vw, 32px); border-radius: 24px; background: var(--surface); }
.dmd-form label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 800; color: var(--ink); }
.dmd-form p { margin: 0 0 10px; }
.dmd-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 0 16px; }
.dmd-form__hp { position: absolute; left: -9999px; }
.dmd-form__legal { font-size: 13px !important; color: var(--muted); }
.dmd-form .dmd-btn { align-self: flex-start; }
.dmd-alert { padding: 14px 18px; border-radius: 14px; font-weight: 700; }
.dmd-alert--ok { background: var(--aqua-soft); color: var(--teal-dark); }
.dmd-alert--err { background: #fde8e8; color: #8a1c1c; }

/* ---------- Carrito / finalizar compra (bloques de WooCommerce) ---------- */
.dmd-shopflow { padding-bottom: var(--sec); }
.dmd-shopflow__title { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 24px !important; }
.dmd .wc-block-components-button:not(.is-link), .dmd .wc-block-cart__submit-button, .dmd .wc-block-components-checkout-place-order-button {
	min-height: 54px; border-radius: var(--r-pill) !important; background: var(--teal) !important; color: #fff !important; font-weight: 800 !important; border: 0 !important;
}
.dmd .wc-block-components-button:not(.is-link):hover { background: var(--teal-dark) !important; }
.dmd .wc-block-components-text-input input, .dmd .wc-block-components-combobox .components-combobox-control__input, .dmd .wc-blocks-components-select__select { border-radius: 12px !important; }
.dmd .wc-block-components-totals-item__value, .dmd .wc-block-components-product-price { font-weight: 800; }
.dmd .woocommerce-message, .dmd .woocommerce-info, .dmd .woocommerce-error, .dmd .wc-block-components-notice-banner { border-radius: 14px; }
.dmd .woocommerce-message, .dmd .woocommerce-info { border-top-color: var(--teal); }

/* ---------- Pie ---------- */
.dmd-footer { background: var(--ink); color: #fff; }
.dmd-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 32px; padding-top: 56px; padding-bottom: 28px; }
.dmd-footer__col { display: flex; flex-direction: column; gap: 8px; }
.dmd-footer__title { font-weight: 800; margin-bottom: 6px; }
.dmd-footer__muted { font-size: 14px; color: var(--muted-dark); }
.dmd-footer__mail { color: #c9cdd2 !important; font-size: 14px; }
.dmd-footer__list { list-style: none; margin: 0; padding: 0; }
.dmd-footer__list a { display: inline-block; padding: 5px 0; color: #c9cdd2 !important; text-decoration: none; font-size: 15px; }
.dmd-footer__list a:hover { color: #fff !important; }
.dmd-footer__legal { padding-top: 20px; padding-bottom: 32px; border-top: 1px solid #2e3236; font-size: 13px; color: var(--muted-dark); line-height: 1.5; }
.dmd-footer__legal p { margin: 0 0 6px; }

/* Enlaces sobre superficies grises/aqua: tono oscuro para contraste AA. */
.dmd-section--surface a:not(.dmd-btn), .dmd-band a:not(.dmd-btn), .dmd-pagehead a:not(.dmd-btn), .dmd-form a, .dmd-review a { color: var(--teal-dark); }

/* Precio de la variación elegida */
.dmd div.product .woocommerce-variation-price span.price, .dmd div.product p.price, .dmd div.product span.price { color: var(--ink); font-size: 22px; font-weight: 800; }
.dmd .woocommerce-variation-price .price del { color: var(--muted); font-size: 16px; }

/* Modo catálogo: botón de Amazon y compra en la web aún no disponible. */
.dmd-btn.dmd-btn--amazon { background: #FF9900; color: #161718; border-color: #FF9900; }
.dmd-btn.dmd-btn--amazon:hover, .dmd-btn.dmd-btn--amazon:focus-visible { background: #E68A00; border-color: #E68A00; color: #161718; }
.dmd-btn.dmd-btn--soon, .dmd-btn.dmd-btn--soon:hover { background: var(--surface, #F2F4F6); color: var(--muted, #4A4E54); border: 1px dashed var(--muted, #4A4E54); cursor: not-allowed; transform: none; box-shadow: none; }
.dmd-summary__buy .dmd-btn + .dmd-btn { margin-top: 10px; }
.dmd-card > .dmd-card__price { display: block; margin-top: auto; margin-bottom: 10px; }

/* Banner de cookies: aceptar y rechazar con el mismo peso. */
.dmd-cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000; max-width: 560px; margin-inline: auto; padding: 16px 18px; background: #fff; color: var(--ink, #161718); border: 1px solid var(--line, #E4E7EB); border-radius: 14px; box-shadow: 0 8px 30px rgba(22,23,24,.18); }
.dmd-cookies[hidden] { display: none; }
.dmd-cookies p { margin: 0 0 12px; font-size: 14px; line-height: 1.45; }
.dmd-cookies a { color: var(--teal-dark, #075C5E); text-decoration: underline; }
.dmd-cookies__actions { display: flex; gap: 10px; }
.dmd-cookies__actions .dmd-btn { flex: 1; min-height: 44px; }
.dmd-footer__legal a { color: inherit; text-decoration: underline; }
