/*
 * Front page (front-page.php, template-parts/home/*). Prototype new.html: dx-hero-css + home blocks,
 * rebuilt on dx tokens with logical properties (EN LTR / AR RTL, light + dark).
 */

/* ---------- HERO CAROUSEL ---------- */
.dm-hero { padding-block: 16px clamp(24px, 3vw, 40px); --dm-hero-shade: 90deg; } /* bottom space: the card must not sit on the trust strip's top line */
[dir="rtl"] .dm-hero { --dm-hero-shade: 270deg; }
.dx .dm-hero__h1 { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--dm-muted); margin-block-end: 12px; }
.dm-hero__h1::before { content: ""; width: 15px; height: 15px; flex: none; background: url(../img/dimitris-star.png) center / contain no-repeat; }
.dm-star { width: 15px; height: 15px; flex: none; }
.dm-hero__x { touch-action: pan-y; display: grid; position: relative; isolation: isolate; overflow: hidden; border-radius: 32px; background: #000; min-height: clamp(520px, 70vh, 660px); border: 1px solid var(--dm-band-edge); }
.dm-hs { grid-area: 1 / 1; position: relative; display: grid; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s linear .8s; }
.dm-hs.is-on { opacity: 1; visibility: visible; transition: opacity .8s ease; }
.dx .dm-hs__bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transform: scale(1.07); transition: transform 9s cubic-bezier(.2, .6, .2, 1); }
.dm-hs.is-on .dm-hs__bg { transform: scale(1); }
.dm-hs--story .dm-hs__bg { object-position: 72% 45%; }
[dir="rtl"] .dm-hs--story .dm-hs__bg { object-position: 28% 45%; }
.dm-hs__sh { position: absolute; inset: 0; background: linear-gradient(var(--dm-hero-shade), rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .74) 36%, rgba(0, 0, 0, .18) 70%, rgba(0, 0, 0, 0) 100%); }
.dm-hs__ct { position: relative; z-index: 2; align-self: center; max-width: 700px; padding: clamp(28px, 4vw, 60px) clamp(28px, 5vw, 76px); padding-block-end: clamp(100px, 8vw, 116px); color: #fff; }
.dm-hs__ct > * { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.dm-hs.is-on .dm-hs__ct > * { opacity: 1; transform: none; }
.dm-hs.is-on .dm-hs__ct > :nth-child(2) { transition-delay: .08s; }
.dm-hs.is-on .dm-hs__ct > :nth-child(3) { transition-delay: .16s; }
.dm-hs.is-on .dm-hs__ct > :nth-child(4) { transition-delay: .24s; }
.dm-hs.is-on .dm-hs__ct > :nth-child(5) { transition-delay: .32s; }
.dm-hs.is-on .dm-hs__ct > :nth-child(6) { transition-delay: .4s; }
.dx .dm-hs h2 { font-size: clamp(30px, 3.2vw, 50px); line-height: 1.13; margin: 12px 0 16px; }
.dx .dm-hs__d { font-size: clamp(16px, 1.3vw, 19px); color: #E1E2E3; max-width: 520px; margin-block-end: 28px; line-height: 1.7; }
.dm-hs__ey { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.dx .dm-hs__cal { width: clamp(130px, 11vw, 180px); height: auto; filter: invert(1); margin-block-end: 14px; }
.dm-hero__bt { display: flex; gap: 12px; flex-wrap: wrap; }
.dm-hero__b { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; border-radius: 999px; font-weight: 700; font-size: 16px; border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.dx .dm-hero__b.is-w { background: #fff; color: #000; }
.dx .dm-hero__b.is-o { border-color: rgba(255, 255, 255, .75); color: #fff; }
.dx .dm-hero__b.is-w:hover, .dx .dm-hero__b.is-k:hover { background: var(--dm-accent); color: var(--dm-on-accent); }
.dx .dm-hero__b.is-o:hover { background: #fff; color: #000; }
.dx .dm-hero__b.is-k { background: var(--dm-btn-bg); color: var(--dm-btn-text); }
.dx .dm-hero__b.is-ok { border-color: currentColor; color: var(--dm-text); }
.dx .dm-hero__b.is-ok:hover { background: var(--dm-text); color: var(--dm-bg); }
.dm-hero__b .woocommerce-Price-amount { font-weight: 700; }

/* Slide 2: light panel with the bag (follows the colour mode). */
.dm-hs.is-light { background: var(--dm-subtle); grid-template-columns: 1.05fr .95fr; align-items: center; }
.dm-hs.is-light .dm-hs__ct { color: var(--dm-text); }
.dx .dm-hs.is-light h2 { font-size: clamp(38px, 3.6vw, 56px); line-height: 1.08; margin: 8px 0 6px; }
.dm-hs__en { display: block; letter-spacing: .2em; font-size: 12px; font-weight: 700; color: var(--dm-muted); margin-block-end: 20px; }
.dm-hs__nt { display: flex; gap: 10px; flex-wrap: wrap; margin-block-end: 20px; }
.dm-hs__nt span { background: var(--dm-card); color: var(--dm-text); border-radius: 16px; padding: 12px 18px; font-weight: 700; font-size: 16px; }
.dm-hs__nt span:nth-child(2) { background: var(--dm-accent); color: var(--dm-on-accent); }
.dm-hs__sp { display: flex; gap: 26px; flex-wrap: wrap; font-size: 13px; color: var(--dm-muted); margin-block-end: 28px; }
.dm-hs__sp b { display: block; color: var(--dm-text); font-size: 18px; }
.dm-hs__pk { position: relative; height: 100%; display: grid; place-items: center; padding: 30px 30px 100px; }
.dm-hs__pw { position: relative; display: block; width: min(80%, clamp(420px, 26vw, 500px)); }
.dm-hs__disc { position: absolute; inset: 5%; border-radius: 50%; background: var(--dm-card); transform: scale(.85); transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.dm-hs.is-on .dm-hs__disc { transform: scale(1); }
.dx .dm-hs__pw img { position: relative; width: 100%; height: auto; opacity: 0; transform: translateY(30px); transition: opacity .8s ease .15s, transform .9s cubic-bezier(.2, .7, .2, 1) .15s; }
.dx .dm-hs.is-on .dm-hs__pw img { opacity: 1; transform: none; }
.dm-hs__nw { position: absolute; top: 28px; inset-inline-end: 28px; z-index: 3; background: var(--dm-btn-bg); color: var(--dm-btn-text); border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: 14px; display: inline-flex; gap: 8px; align-items: center; }
.dm-hs__nw .dm-star { width: 13px; height: 13px; }

/* Slide 3: subscription types. */
.dm-hs__tg { display: inline-block; background: #fff; color: #000; border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 700; margin-inline-start: 8px; }
.dm-hs__ty { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-block-end: 26px; max-width: 600px; }
.dx .dm-hs__ty a { display: block; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .3); border-radius: 18px; padding: 14px 16px; color: #fff; backdrop-filter: blur(8px); transition: background .2s, color .2s; }
.dx .dm-hs__ty a:hover { background: #fff; color: #000; }
.dm-hs__ty em { display: block; font-style: normal; font-size: 10.5px; letter-spacing: .14em; color: var(--dm-accent); font-weight: 700; margin-block-end: 4px; }
.dm-hs__ty b { display: block; font-size: 16px; }

/* Controls (shown once dm-home.js runs). */
.dm-hero__hc { position: absolute; bottom: 0; inset-inline: 0; z-index: 5; display: none; align-items: center; gap: 22px; padding: 0 clamp(28px, 5vw, 76px) 26px; }
.dm-hero.is-ready .dm-hero__hc { display: flex; }
.dm-hero__tabs { display: flex; gap: 18px; flex: 1; max-width: 620px; }
.dx .dm-hero__tabs button { all: unset; box-sizing: border-box; cursor: pointer; flex: 1; display: flex; flex-direction: column; gap: 9px; color: rgba(255, 255, 255, .62); font-size: 13px; font-weight: 700; padding-block-start: 6px; min-height: 44px; justify-content: flex-end; transition: color .2s; }
.dx .dm-hero__tabs button[aria-selected="true"], .dx .dm-hero__tabs button:hover { color: #fff; }
.dm-hero__tabs i { display: block; height: 3px; background: rgba(255, 255, 255, .28); border-radius: 3px; overflow: hidden; }
.dm-hero__tabs i b { display: block; height: 100%; background: var(--dm-accent); transform-origin: left center; transform: scaleX(0); }
[dir="rtl"] .dm-hero__tabs i b { transform-origin: right center; }
.dm-hero__ar { display: flex; gap: 8px; margin-inline-start: auto; }
.dx .dm-hero__ar button { all: unset; box-sizing: border-box; cursor: pointer; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .55); color: #fff; display: grid; place-items: center; transition: background .2s, color .2s; }
.dx .dm-hero__ar button:hover { background: #fff; color: #000; }
.dx .dm-hero__ar svg { width: 18px; height: 18px; }
[dir="rtl"] .dm-hero__pv svg, [dir="rtl"] .dm-hero__nx svg { scale: -1 1; }
.dx .dm-hero__pp .i2, .dx .dm-hero.is-paused .dm-hero__pp .i1 { display: none; }
.dx .dm-hero.is-paused .dm-hero__pp .i2 { display: block; }
.dx .dm-hero__x.is-lt .dm-hero__tabs button { color: var(--dm-muted); }
.dx .dm-hero__x.is-lt .dm-hero__tabs button[aria-selected="true"], .dx .dm-hero__x.is-lt .dm-hero__tabs button:hover { color: var(--dm-text); }
.dm-hero__x.is-lt .dm-hero__tabs i { background: var(--dm-border); }
.dx .dm-hero__x.is-lt .dm-hero__ar button { border-color: var(--dm-muted); color: var(--dm-text); }
.dx .dm-hero__x.is-lt .dm-hero__ar button:hover { background: var(--dm-text); color: var(--dm-bg); }
.dx .dm-hero :is(a, button):focus-visible { outline: 3px solid var(--dm-accent); outline-offset: 3px; }

@media (max-width: 820px) {
	.dm-hero__x { min-height: 0; border-radius: 24px; }
	.dm-hs, .dm-hs.is-light { grid-template-columns: 1fr; }
	.dm-hs__sh { background: linear-gradient(0deg, rgba(0, 0, 0, .94) 0%, rgba(0, 0, 0, .78) 48%, rgba(0, 0, 0, .15) 78%, rgba(0, 0, 0, 0) 100%); }
	.dm-hs--story .dm-hs__bg, [dir="rtl"] .dm-hs--story .dm-hs__bg { object-position: 30% 20%; }
	.dm-hs__ct { align-self: end; padding: 150px 22px 92px; }
	.dm-hs.is-light .dm-hs__ct { padding: 4px 22px 92px; }
	.dm-hs__pk { order: -1; padding: 28px 24px 0; height: auto; }
	.dm-hs__pw { width: min(70%, 300px); }
	.dx .dm-hs h2 { font-size: clamp(28px, 7.4vw, 38px); }
	.dx .dm-hs.is-light h2 { font-size: clamp(38px, 10vw, 52px); }
	.dm-hs__ty { gap: 6px; }
	.dx .dm-hs__ty a { padding: 10px; border-radius: 14px; }
	.dm-hs__ty em { font-size: 9px; letter-spacing: .08em; }
	.dm-hs__ty b { font-size: 13px; line-height: 1.3; }
	.dm-hero__b { min-height: 48px; padding: 0 22px; font-size: 15px; }
	.dm-hs__nw { top: 18px; inset-inline-end: auto; inset-inline-start: 18px; padding: 6px 14px; font-size: 13px; }
	.dm-hero__hc { top: 0; padding: 0; pointer-events: none; }
	.dm-hero__tabs { max-width: none; position: absolute; bottom: 22px; inset-inline: 22px; gap: 10px; pointer-events: auto; }
	.dx .dm-hero__tabs button { font-size: 11.5px; }
	.dx .dm-hero__ar .dm-hero__pv, .dx .dm-hero__ar .dm-hero__nx { display: none; }
	.dm-hero__ar { position: absolute; top: 16px; inset-inline-end: 16px; margin: 0; pointer-events: auto; }
	.dx .dm-hero__ar .dm-hero__pp { background: rgba(0, 0, 0, .35); border-color: rgba(255, 255, 255, .6); }
	.dx .dm-hero__x.is-lt .dm-hero__ar .dm-hero__pp { background: var(--dm-card); }
	.dm-hs__nt span { padding: 9px 14px; font-size: 14px; border-radius: 14px; }
	.dm-hs__nt { gap: 8px; margin-block-end: 16px; }
	.dm-hs__sp { gap: 18px; margin-block-end: 22px; }
	.dx .dm-hs__cal { width: 110px; margin-block-end: 10px; }
}
@media (prefers-reduced-motion: reduce) {
	.dm-hero * { transition: none !important; }
	.dx .dm-hs__bg { transform: none; }
}

/* ---------- CATEGORY TILES ---------- */
.dm-hcats__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 16px; }
.dm-hcat { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.dm-hcat__bx { position: relative; width: 100%; max-width: 168px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; transition: transform .25s; }
.dx .dm-hcat__bx img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }
.dm-hcat:hover .dm-hcat__bx { transform: translateY(-4px); }
.dm-hcat:hover b { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--dm-accent); }
.dm-hcat b { font-size: 15px; line-height: 1.35; }
.dm-hcat__sub { width: 100%; height: 100%; border-radius: 50%; background: var(--dm-inverse-bg); border: 1px solid var(--dm-band-edge); color: var(--dm-inverse-text); display: grid; place-content: center; justify-items: center; gap: 6px; }
.dx .dm-hcat__sub .dm-star { width: 38%; height: auto; }
.dm-hcat__sub small { font-size: 13px; font-weight: 700; color: var(--dm-accent-ink); }
.dm-hcat__pill { position: absolute; top: 4%; inset-inline-end: 4%; background: var(--dm-accent); color: var(--dm-on-accent); font-size: 11px; font-weight: 700; border-radius: 999px; padding: 2px 9px; }
@media (max-width: 1000px) {
	.dm-hcats__row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; scrollbar-width: none; margin-inline: calc(-1 * clamp(16px, 3vw, 32px)); padding: 0 clamp(16px, 3vw, 32px) 6px; }
	.dm-hcats__row::-webkit-scrollbar { display: none; }
	.dm-hcat { flex: 0 0 112px; scroll-snap-align: start; }
	.dm-hcat b { font-size: 14px; }
}

/* ---------- ORIGIN TILES ---------- */
.dm-origins { padding-block-start: 0; }
.dm-hog { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.dm-hog a { background: var(--dm-surface); border: 2px solid transparent; border-radius: 20px; padding: 18px; min-height: 122px; display: flex; flex-direction: column; justify-content: space-between; gap: 2px; transition: border-color .2s; }
.dm-hog a:hover { border-color: var(--dm-text); }
.dm-hog b { font-size: 19px; }
.dm-hog small { font-size: 13px; color: var(--dm-muted); }
.dm-hog__n { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .14em; font-weight: 700; color: var(--dm-accent); }
@media (max-width: 980px) {
	.dm-hog { grid-template-columns: repeat(5, minmax(150px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-block-end: 6px; scrollbar-width: none; }
	.dm-hog a { scroll-snap-align: start; min-height: 0; justify-content: flex-start; gap: 4px; }
}

/* ---------- TICKER ---------- */
.dm-mq { background: var(--dm-accent); overflow: hidden; padding: 18px 0; margin-block: clamp(8px, 2vw, 24px) 0; }
.dm-mq__t { display: flex; width: max-content; animation: dm-mq 60s linear infinite; }
.dm-mq__g { display: flex; align-items: center; gap: 30px; padding-inline-end: 30px; }
.dm-mq span { font-weight: 700; font-size: clamp(17px, 1.9vw, 24px); letter-spacing: .08em; color: var(--dm-on-accent); white-space: nowrap; unicode-bidi: plaintext; }
.dx .dm-mq .dm-star { width: 18px; height: 18px; filter: brightness(0); }
.dm-mq:hover .dm-mq__t { animation-play-state: paused; }
@keyframes dm-mq { to { transform: translateX(calc(var(--dm-x) * -50%)); } }
@media (prefers-reduced-motion: reduce) {
	.dm-mq__t { animation: none; }
}

/* ---------- LIMITED EDITION BAND ---------- */
.dm-le__ph { background: var(--dm-inverse-raised); border-radius: 24px; overflow: hidden; aspect-ratio: 1; max-width: 520px; }
.dx .dm-le__ph img { width: 100%; height: 100%; object-fit: contain; }
.dm-le .dx-h2 { margin-block-end: 14px; }
.dm-le .dx-lead { margin-block-end: 22px; }
.dm-le__buy { gap: 18px; }
.dm-le__pr { font-size: 28px; font-weight: 700; }
.dm-le__pr .woocommerce-Price-currencySymbol { margin-inline-start: 4px; font-size: 14px; font-weight: 400; color: var(--dm-inverse-muted); }

/* ---------- PRODUCT GRIDS (cards come from content-product.php) ---------- */
.dm-home ul.products { margin: 0; }

/* ---------- QUIZ CTA ---------- */
.dm-quiz .dx-box { border-radius: 28px; }
.dm-quiz .dx-h2 { margin-block-end: 10px; }
.dm-quiz .dx-lead { margin-block-end: 20px; }
.dm-quiz__q { background: var(--dm-surface); border-radius: 20px; padding: 22px; }
.dm-quiz__step { font-size: 12px; color: var(--dm-muted); }
.dx .dm-quiz__ask { font-weight: 700; font-size: 17px; margin: 4px 0 14px; }
.dm-quiz__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dm-quiz__opts a { background: var(--dm-card); border: 1.5px solid var(--dm-border); border-radius: 14px; min-height: 54px; display: grid; place-items: center; text-align: center; font-size: 14px; padding: 6px; transition: border-color .2s; }
.dm-quiz__opts a:hover { border-color: var(--dm-text); }

/* ---------- SUBSCRIPTION BAND ---------- */
.dm-sub__x { background: var(--dm-inverse-bg); color: var(--dm-inverse-text); border: 1px solid var(--dm-band-edge); border-radius: 30px; padding: clamp(26px, 4vw, 52px); }
.dm-sub__h { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-block-end: 24px; }
.dm-sub .dx-k { color: var(--dm-accent-ink); }
.dm-sub__h p { color: var(--dm-inverse-text-2); margin-block-start: 10px; max-width: 620px; }
.dm-sub__tg { display: inline-block; background: var(--dm-inverse-text); color: var(--dm-inverse-bg); border-radius: 999px; padding: 1px 10px; font-size: 11px; font-weight: 700; margin-inline-start: 6px; }
.dm-sub__g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.dm-sub__g a { display: flex; flex-direction: column; gap: 6px; background: var(--dm-card); color: var(--dm-text); border: 2px solid transparent; border-radius: 22px; padding: 22px; transition: border-color .2s, transform .2s; }
.dm-sub__g a:nth-child(2) { background: var(--dm-accent); color: var(--dm-on-accent); }
.dm-sub__g a:hover { border-color: var(--dm-accent); transform: translateY(-2px); }
.dm-sub__g a:nth-child(2):hover { border-color: var(--dm-inverse-text); }
.dm-sub__g em { font-style: normal; font-size: 12px; letter-spacing: .14em; font-weight: 700; }
.dm-sub__g b { font-size: 22px; }
.dm-sub__g p { font-size: 14px; }
.dm-sub__g span { margin-block-start: auto; font-weight: 700; font-size: 14px; padding-block-start: 8px; }
@media (max-width: 820px) {
	.dm-sub__g { grid-template-columns: 1fr; }
}

/* ---------- PROCESS ---------- */
.dm-proc .dx-h2 { margin-block-end: 26px; }
.dm-proc__g { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.dm-proc__g li { background: var(--dm-surface); border-radius: 22px; overflow: hidden; }
.dm-proc__ph { aspect-ratio: 3 / 2; background: var(--dm-subtle); }
.dx .dm-proc__ph img { width: 100%; height: 100%; object-fit: cover; }
.dm-proc__tx { padding: 18px; }
.dm-proc__tx b { display: block; font-size: 17px; margin-block-end: 4px; }
.dm-proc__tx > span:last-child { font-size: 14px; color: var(--dm-text-2); }
.dm-proc__g li:last-child .dx-num { background: var(--dm-accent); color: var(--dm-on-accent); }

/* ---------- STORY ---------- */
.dm-story__ph { aspect-ratio: 1; max-width: 560px; }
.dx .dm-story__cal { width: 240px; height: auto; margin-block-end: 18px; filter: var(--dm-img-filter); }
.dm-story .dx-h2 { margin-block-end: 14px; }
.dm-story .dx-lead { margin-block-end: 12px; }
.dm-story .dx-btn { margin-block-start: 12px; }

/* ---------- TOOLS ---------- */
.dm-tools__promo { margin-block-start: 18px; border-radius: 22px; padding: clamp(18px, 2.4vw, 28px); display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; border: 1px solid var(--dm-band-edge); }
.dm-tools__promo b { display: block; font-size: 18px; }
.dm-tools__promo span { color: var(--dm-inverse-text-2); }

/* ---------- BRANDS (tiles styled in shop.css .dm-sec__tiles; phones scroll sideways) ---------- */
@media (min-width: 601px) {
	.dm-brands .dm-sec__tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
	.dm-brands .dm-sec__tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* ---------- REVIEWS ---------- */
.dm-rev__sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.dm-rev__score { display: flex; align-items: center; gap: 10px; }
.dm-rev__score > b { font-size: 36px; line-height: 1; }
.dm-rev__score > span { font-size: 13px; color: var(--dm-muted); line-height: 1.5; }
.dm-rev__on { display: inline-flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.dm-rev__ico { width: 16px; height: 16px; flex: none; }
/* Two rows scrolling in opposite directions (like the live site); each track holds the set twice for a seamless loop. */
.dm-rev__rows { display: grid; gap: 16px; }
.dm-rev__row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.dm-rev__track { display: flex; width: max-content; animation: dm-rev-x 110s linear infinite; }
.dm-rev__row:nth-child(2) .dm-rev__track { animation-direction: reverse; }
[dir="rtl"] .dm-rev__track { animation-name: dm-rev-x-rtl; }
.dm-rev:hover .dm-rev__track, .dm-rev:focus-within .dm-rev__track, .dm-rev.is-paused .dm-rev__track { animation-play-state: paused; }
@keyframes dm-rev-x { to { transform: translateX(-50%); } }
@keyframes dm-rev-x-rtl { to { transform: translateX(50%); } }
.dm-rev__set { display: flex; gap: 16px; padding: 0; padding-inline-end: 16px; margin: 0; list-style: none; }
.dm-rev__card { width: 340px; flex: none; }
.dx .dm-rev__card figure { margin: 0; height: 100%; display: flex; flex-direction: column; background: var(--dm-card); border: 1px solid var(--dm-border); border-radius: 22px; padding: 22px 24px; }
.dm-rev__card blockquote { margin: 10px 0 16px; font-size: 15px; line-height: 1.6; flex: 1; }
.dm-rev__card figcaption { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--dm-muted); }
.dm-rev__card figcaption b { color: var(--dm-text); }
.dm-rev__src { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.dm-rev__ctl { display: flex; justify-content: flex-end; margin-block-start: 14px; }
.dx .dm-rev__pp { all: unset; box-sizing: border-box; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 600px) {
	.dm-rev__card { width: 280px; }
}
/* No motion: one row of cards you swipe/scroll through, no copies, no pause button. */
@media (prefers-reduced-motion: reduce) {
	.dm-rev__track { animation: none; width: auto; }
	.dm-rev__set[aria-hidden] { display: none; }
	.dm-rev__row { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-mask-image: none; mask-image: none; padding-inline: clamp(16px, 3vw, 32px); }
	.dm-rev__card { scroll-snap-align: start; }
	.dm-rev__ctl { display: none; }
}

/* ---------- BRANCHES ---------- */
.dm-br .dx-tile { min-height: 230px; background: var(--dm-inverse-raised); }

/* ---------- BUSINESS ---------- */
.dm-biz .dx-h2 { margin-block-end: 24px; }
.dm-biz .dx-box { display: flex; flex-direction: column; gap: 6px; transition: border-color .2s; }
.dm-biz .dx-box:hover { border-color: var(--dm-text); }
.dm-biz .dx-box b { font-size: 18px; }
.dm-biz .dx-box > span:not(.dx-more) { color: var(--dm-text-2); font-size: 14.5px; }
.dm-biz .dx-box.dx-bk { background: var(--dm-inverse-bg); color: var(--dm-inverse-text); border-color: var(--dm-band-edge); }
.dm-biz .dx-box.dx-bk > span:not(.dx-more) { color: var(--dm-inverse-text-2); }
.dm-biz .dx-more { align-self: flex-start; margin-block-start: 8px; }

/* ---------- SHARE ---------- */
.dm-share__x { display: grid; grid-template-columns: 1.15fr .85fr; background: var(--dm-inverse-bg); color: var(--dm-inverse-text); border: 1px solid var(--dm-band-edge); border-radius: 30px; overflow: hidden; }
.dm-share__tx { padding: clamp(28px, 5vw, 64px); align-self: center; }
.dm-share .dx-k { color: var(--dm-accent-ink); }
.dm-share .dx-h2 { margin: 8px 0 12px; }
.dm-share__tx p { color: var(--dm-inverse-text-2); font-size: clamp(16px, 1.3vw, 18px); margin-block-end: 22px; max-width: 480px; }
.dx .dm-share__hash { all: unset; box-sizing: border-box; cursor: pointer; display: flex; width: fit-content; align-items: center; gap: 12px; background: var(--dm-accent); color: var(--dm-on-accent); border-radius: 14px; padding: 12px 18px; margin-block-end: 26px; transition: transform .2s; }
.dm-share__hash:hover { transform: translateY(-2px); }
.dm-share__hash b { font-size: clamp(17px, 1.7vw, 22px); letter-spacing: .05em; direction: ltr; }
.dm-share__hash small { font-size: 13px; font-weight: 700; border-inline-start: 1.5px solid rgba(0, 0, 0, .35); padding-inline-start: 12px; }
.dx .dm-share__hash:focus-visible { outline: 3px solid var(--dm-inverse-text); outline-offset: 3px; }
.dx .dm-share__ig { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--dm-btn-white-bg); color: var(--dm-btn-white-text); font-weight: 700; transition: background .2s; }
.dx .dm-share__ig:hover { background: var(--dm-accent); color: var(--dm-on-accent); }
.dx .dm-share__more { display: inline-flex; align-items: center; min-height: 44px; margin-inline-start: 18px; color: var(--dm-inverse-text); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.dx .dm-share__more:hover { color: var(--dm-accent-ink); }
.dx .dm-share__more:focus-visible { outline: 3px solid var(--dm-inverse-text); outline-offset: 3px; }
.dm-share__art { background: var(--dm-btn-white-bg); margin: 14px; border-radius: 22px; display: grid; place-items: center; padding: clamp(28px, 4vw, 48px); } /* artwork is black + red: white in both modes */
.dx .dm-share__art img { width: min(62%, 250px); height: auto; }
@media (max-width: 820px) {
	.dm-share__x { grid-template-columns: 1fr; }
	.dm-share__art { order: -1; padding: 28px; }
	.dx .dm-share__art img { width: 150px; }
}

/* ---------- FAQ ---------- */
.dm-faq .dx-w { max-width: 900px; }
.dm-faq .dx-h2 { text-align: center; margin-block-end: 24px; }
.dx .dm-faq__all { text-align: center; margin-block-start: 18px; }

/* ---------- PHONES: denser grids so the page is not one long column ---------- */
@media (max-width: 600px) {
	.dm-home .dx-trust { grid-template-columns: 1fr 1fr; gap: 0 12px; }
	.dm-home .dx-trust > div { flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 0; }
	.dm-home .dx-trust b { line-height: 1.3; }
	.dm-home .dx-trust small { display: block; line-height: 1.45; }
	.dm-proc__g { grid-template-columns: 1fr 1fr; gap: 10px; }
	.dm-proc__tx { padding: 12px; }
	.dm-proc__tx .dx-num { width: 32px; height: 32px; margin-block-end: 8px; }
	.dm-proc__tx b { font-size: 15px; }
	.dm-proc__tx > span:last-child { font-size: 13px; line-height: 1.5; display: block; }
	.dm-story__ph { aspect-ratio: 4 / 3; }
	.dx .dm-story__cal { width: 170px; }
	.dm-br .dx-g4 { grid-template-columns: 1fr 1fr; gap: 10px; }
	.dx .dm-br .dx-tile { min-height: 170px; padding: 14px; font-size: 13px; line-height: 1.4; }
	.dm-br .dx-tile b { font-size: 17px; }
	.dm-share__x > * { min-width: 0; }
	.dx .dm-share__hash { max-width: 100%; padding: 12px 14px; gap: 10px; }
	.dm-share__hash b { font-size: clamp(14px, 4.4vw, 18px); letter-spacing: .02em; }
}
