/* =========================================================
   DEMAND · the shop's own look (2026-11-16). Loaded after styles.css on every customer page.
   The brand: black and red street style from the owner's posts, white dice, green Order Cards.
   Fonts: Anton (English headings), Lalezar (Arabic headings), Cairo (text in both languages).
   The home page (body.dm-landing) is built for the phone first; wider screens only get more room.
   ========================================================= */

:root {
  --dm-red: #D7191F;
  --dm-red-deep: #8E0A10;
  --dm-black: #0B0B0C;
  --dm-coal: #161618;
  --dm-paper: #F4F1EC;
  --dm-green: #1F9A47;
  --dm-yellow: #F2C230;
  --dm-blue: #2C6BD8;
  --oud: #D7191F;
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --ui: "Cairo", "Segoe UI", Tahoma, Arial, sans-serif;
  --dm-head-font: "Anton", "Impact", "Arial Narrow", sans-serif;
}
html[lang="ar"] { --ui: "Cairo", "Segoe UI", Tahoma, Arial, sans-serif; --display: "Lalezar", "Cairo", Tahoma, sans-serif; --dm-head-font: "Lalezar", "Cairo", Tahoma, sans-serif; }
h1, h2, h3 { letter-spacing: .01em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; font-weight: 400; }
.btn-accent, .btn:not(.btn-ghost):hover { background: var(--dm-red); border-color: var(--dm-red); }

/* ---------------- the home page ---------------- */
body.dm-landing { background: var(--dm-black); color: #fff; overflow-x: hidden; }
body.dm-landing > main { padding-bottom: 0; }
body.dm-landing .sheet, body.dm-landing .toast { color: var(--ink); }
.dm { overflow-x: clip; }
.dm-wrap { padding: 0 var(--gutter); max-width: 1120px; margin: 0 auto; }
.dm-sec { position: relative; padding: 72px 0; }
.dm img { max-width: 100%; height: auto; }

/* buttons */
.dm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 22px;
  border-radius: 999px; border: 2px solid transparent; font-family: var(--ui); font-weight: 700; font-size: 16px; letter-spacing: .02em;
  cursor: pointer; text-decoration: none; transition: transform .15s var(--ease), background .2s, box-shadow .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent; }
.dm-btn:active { transform: scale(.96); }
.dm-btn-red { background: var(--dm-red); color: #fff; box-shadow: 0 10px 30px rgba(215,25,31,.45), inset 0 -3px 0 rgba(0,0,0,.25); }
.dm-btn-red:hover { background: #E8262C; }
.dm-btn-red:disabled { background: #4a4a4d; box-shadow: none; cursor: not-allowed; }
.dm-btn-ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.dm-btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.14); }
.dm-btn-wide { min-width: min(100%, 300px); }
.dm-price { font-family: var(--ui); font-weight: 900; padding-inline-start: 12px; border-inline-start: 1px solid rgba(255,255,255,.45); }
.dm-price:empty { display: none; }
.dm :focus-visible { outline: 3px solid var(--dm-yellow); outline-offset: 3px; }

/* the hero: the owner's board photo, a slow push in, the name very big */
.dm-hero { position: relative; min-height: calc(100svh - var(--header-h) - 24px); display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 0 calc(34px + var(--bottomnav-h) + var(--safe-b)); isolation: isolate; overflow: hidden; }
.dm-hero-bg { position: absolute; inset: 0; z-index: -3; }
.dm-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 28% 12%; transform-origin: 30% 20%;
  animation: dmPush 18s ease-out both; }
@keyframes dmPush { from { transform: scale(1.18); } to { transform: scale(1.02); } }
.dm-shade { position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(180deg, rgba(11,11,12,.25) 0%, rgba(11,11,12,0) 22%, rgba(11,11,12,.55) 46%, rgba(11,11,12,.93) 64%, var(--dm-black) 100%),
              radial-gradient(120% 60% at 50% 0%, transparent 40%, rgba(142,10,16,.35) 100%); }
.dm-grain { position: absolute; inset: -50%; z-index: -1; pointer-events: none; opacity: .16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: dmGrain 1.2s steps(4) infinite; }
@keyframes dmGrain { 0% { transform: translate(0,0); } 25% { transform: translate(-3%,2%); } 50% { transform: translate(2%,-3%); } 75% { transform: translate(-2%,-1%); } 100% { transform: translate(0,0); } }
.dm-hero-copy { padding: 0 var(--gutter); max-width: 1120px; width: 100%; margin: 0 auto; }
.dm-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 30px; padding: 6px 14px 6px 10px; border-radius: 999px;
  background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.18); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
html[lang="ar"] .dm-kicker { letter-spacing: 0; padding: 6px 10px 6px 14px; }
.dm-chips { display: inline-flex; gap: 3px; }
.dm-chips i { width: 9px; height: 9px; border-radius: 50%; background: var(--dm-red); box-shadow: inset 0 0 0 2px rgba(255,255,255,.65); }
.dm-chips i:nth-child(2) { background: var(--dm-yellow); } .dm-chips i:nth-child(3) { background: var(--dm-green); } .dm-chips i:nth-child(4) { background: var(--dm-blue); }
.dm-title { position: relative; margin: 0; font-family: "Anton", Impact, sans-serif; font-weight: 400; line-height: .86;
  font-size: clamp(84px, 25vw, 230px); letter-spacing: .01em; transform: skewY(-4deg); transform-origin: left bottom; direction: ltr; text-align: left; }
html[dir="rtl"] .dm-title { text-align: right; transform-origin: right bottom; }
.dm-title-main { position: relative; display: block; color: var(--dm-red); text-shadow: 4px 5px 0 #000, 0 18px 40px rgba(0,0,0,.7); }
.dm-title-echo { position: absolute; inset: 0; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.85); transform: translate(6px, -6px); }
.dm-tag { margin: 16px 0 20px; font-family: var(--dm-head-font); font-size: clamp(24px, 7.4vw, 40px); line-height: 1.05; text-transform: uppercase; letter-spacing: .02em; }
html[lang="ar"] .dm-tag { text-transform: none; line-height: 1.35; }
.dm-cta { display: grid; gap: 10px; }
.dm-cta .dm-btn-ghost { min-height: 46px; }
.dm-scroll { position: absolute; left: 50%; bottom: calc(10px + var(--bottomnav-h) + var(--safe-b)); width: 26px; height: 40px; margin-left: -13px;
  border: 2px solid rgba(255,255,255,.6); border-radius: 14px; display: none; }
.dm-scroll i { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: dmWheel 1.6s ease-in-out infinite; }
@keyframes dmWheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* the dice: real 3D cubes (js/demand.js draws the pips) */
.die { --s: 54px; position: relative; width: var(--s); height: var(--s); transform-style: preserve-3d; }
.die .face { position: absolute; inset: 0; display: grid; grid-template: repeat(3, 1fr) / repeat(3, 1fr); padding: 13%;
  background: radial-gradient(120% 120% at 30% 25%, #ffffff 0%, #ECEBE6 70%, #D6D4CE 100%); border-radius: 18%;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08), inset 0 -4px 10px rgba(0,0,0,.12); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.die .face i { width: 72%; height: 72%; place-self: center; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #3a3a3a, #050505 70%); }
.dm-hero-dice { position: absolute; top: 22px; inset-inline-end: 20px; display: flex; gap: 16px; perspective: 700px; z-index: 1; filter: drop-shadow(0 18px 16px rgba(0,0,0,.55)); }
html[dir="rtl"] .dm-hero-dice { inset-inline-end: auto; right: auto; left: 20px; }
/* no filter on a die itself: a filter flattens its 3D faces into one picture; the shadow sits on the box around it */
.dm-hero-dice .die { animation: dmTumble 9s linear infinite; }
.dm-hero-dice .die-b { --s: 42px; margin-top: 44px; animation-duration: 12s; animation-direction: reverse; }
@keyframes dmTumble { from { transform: rotateX(-20deg) rotateY(0deg) rotateZ(10deg); } to { transform: rotateX(340deg) rotateY(360deg) rotateZ(370deg); } }

/* the band of words */
.dm-marquee { position: relative; z-index: 2; margin: -18px -10px 0; padding: 14px 0; background: var(--dm-red); transform: rotate(-3deg);
  box-shadow: 0 14px 40px rgba(0,0,0,.5); overflow: hidden; direction: ltr; }
.dm-track { display: flex; width: max-content; align-items: center; gap: 18px; animation: dmMarq 26s linear infinite; white-space: nowrap; }
.dm-track span { font-family: "Anton", Impact, sans-serif; font-size: 26px; line-height: 1; color: #fff; letter-spacing: .03em; }
.dm-track span[lang="ar"] { font-family: "Lalezar", Cairo, sans-serif; font-size: 27px; }
.dm-track b { color: var(--dm-black); font-size: 18px; }
@keyframes dmMarq { to { transform: translateX(-50%); } }

/* headings and words */
.dm-eyebrow { margin: 0 0 14px; }
.dm-eyebrow span { display: inline-block; padding: 4px 12px; border: 1.5px solid var(--dm-red); border-radius: 999px; color: var(--dm-red);
  font-weight: 900; font-size: 13px; letter-spacing: .12em; }
.dm-eyebrow-sm span { padding: 2px 10px; font-size: 12px; text-transform: uppercase; }
html[lang="ar"] .dm-eyebrow span { letter-spacing: 0; }
.dm-h2 { font-family: var(--dm-head-font); font-weight: 400; font-size: clamp(42px, 13vw, 92px); line-height: .95; text-transform: uppercase; margin: 0 0 18px; color: #fff; }
html[lang="ar"] .dm-h2 { text-transform: none; line-height: 1.25; font-size: clamp(38px, 11.5vw, 84px); }
.dm-lead { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.82); max-width: 46ch; margin: 0 0 26px; }
html[lang="ar"] .dm-lead { font-size: 19px; line-height: 1.8; }

/* 01 what */
.dm-what { padding-top: 96px; background:
  radial-gradient(80% 50% at 100% 0%, rgba(215,25,31,.22), transparent 70%), var(--dm-black); }
.dm-photo { position: relative; margin: 8px 0 0; border-radius: 22px; overflow: visible; }
.dm-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; box-shadow: 0 30px 60px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08); }
.dm-tilt { transform: rotate(-2deg); }
.dm-sticker { position: absolute; right: 12px; bottom: 26px; padding: 10px 16px; background: #fff; color: var(--dm-black); transform: rotate(5deg);
  font-family: "Anton", Impact, sans-serif; font-size: 30px; line-height: 1; letter-spacing: .02em; box-shadow: 6px 6px 0 var(--dm-red); direction: ltr; }

/* the dice game */
.dm-roll { text-align: center; background:
  radial-gradient(70% 45% at 50% 55%, rgba(215,25,31,.35), transparent 70%), linear-gradient(180deg, var(--dm-black), #120708 50%, var(--dm-black)); }
.dm-roll-q { font-size: clamp(34px, 10.4vw, 76px); line-height: 1.04; max-width: 15ch; margin: 0 auto 10px; }
html[lang="ar"] .dm-roll-q { font-size: clamp(32px, 9.6vw, 70px); }
.dm-dice-stage { position: relative; display: flex; justify-content: center; align-items: center; gap: 34px; height: 220px; perspective: 900px; filter: drop-shadow(0 24px 20px rgba(0,0,0,.6)); }
.dm-dice-stage::after { content: ""; position: absolute; left: 50%; bottom: 18px; width: 250px; height: 26px; margin-left: -125px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.65), transparent); z-index: -1; }
.die-big { --s: 92px; transition: transform 1.25s cubic-bezier(.17,.84,.26,1.05); }
.die-big .face { border-radius: 20%; }
.dm-dice-stage.rolling .die-big { animation: dmHop 1.25s cubic-bezier(.3,.6,.3,1); }
@keyframes dmHop { 0% { translate: 0 0; } 30% { translate: 0 -70px; } 60% { translate: 0 0; } 75% { translate: 0 -16px; } 100% { translate: 0 0; } }
.dm-roll-out { min-height: 64px; margin: 4px 0 18px; font-family: var(--dm-head-font); font-size: 40px; line-height: 1.3; color: #fff; }
.dm-roll-out .hot { color: var(--dm-red); }

/* 02 in the game: cards that stack as you scroll (phone) */
.dm-parts { background: var(--dm-black); }
.dm-cards { display: grid; gap: 22px; }
.dm-card { position: sticky; top: calc(var(--header-h) + 14px + var(--i) * 12px); background: var(--dm-coal); border-radius: 24px; overflow: hidden;
  box-shadow: 0 -10px 40px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.08); transform-origin: 50% 0; }
.dm-card img { display: block; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.dm-card-txt { position: relative; padding: 18px 20px 22px; background: linear-gradient(180deg, #1c1c1f, #121214); }
.dm-card-txt::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--dm-red); }
.dm-card-green .dm-card-txt::before { background: var(--dm-green); }
.dm-num { display: block; font-family: "Anton", Impact, sans-serif; font-size: 15px; color: var(--dm-red); letter-spacing: .1em; margin-bottom: 4px; }
.dm-card-green .dm-num { color: #3BD16F; }
.dm-card h3 { font-family: var(--dm-head-font); font-weight: 400; font-size: 34px; line-height: 1; text-transform: uppercase; margin: 0 0 8px; }
html[lang="ar"] .dm-card h3 { text-transform: none; line-height: 1.3; font-size: 32px; margin-bottom: 4px; }
.dm-card p { margin: 0; color: rgba(255,255,255,.78); font-size: 17px; }

/* the film */
.dm-film { background: linear-gradient(180deg, var(--dm-black), #1a0607 60%, var(--dm-black)); text-align: center; }
.dm-film-frame { position: relative; width: min(100%, 520px); margin: 0 auto 30px; border-radius: 26px; overflow: hidden; transform: rotate(2deg);
  box-shadow: 0 0 0 6px #fff, 14px 14px 0 6px var(--dm-red), 0 40px 80px rgba(0,0,0,.7); background: #111; }
.dm-film-frame video { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.dm-film-line { font-size: clamp(30px, 9vw, 64px); max-width: 18ch; margin: 0 auto; }
html[lang="ar"] .dm-film-line { font-size: clamp(30px, 8.6vw, 60px); }

/* 03 why */
.dm-why { background: var(--dm-paper); color: var(--dm-black); }
.dm-why .dm-h2 { color: var(--dm-black); }
.dm-why .dm-lead { color: #3b3b3e; }
.dm-lines { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 12px; }
.dm-lines li { display: block; }
.dm-lines span { display: inline; padding: 2px 10px; font-family: var(--dm-head-font); font-size: clamp(30px, 9vw, 60px); line-height: 1.32; text-transform: uppercase;
  background: var(--dm-black); color: #fff; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.dm-lines li:nth-child(even) span { background: var(--dm-red); }
html[lang="ar"] .dm-lines span { text-transform: none; line-height: 1.75; font-size: clamp(28px, 8.2vw, 56px); }

/* the posts */
.dm-gallery { background: var(--dm-black); padding-bottom: 56px; }
.dm-strip { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px var(--gutter) 18px; scrollbar-width: none; overscroll-behavior-x: contain; }
.dm-strip::-webkit-scrollbar { display: none; }
.dm-strip img { flex: none; height: 380px; width: auto; border-radius: 18px; scroll-snap-align: center; box-shadow: 0 20px 40px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08); }
.dm-tt { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; color: #fff; font-weight: 700; border-bottom: 2px solid var(--dm-red); padding-bottom: 2px; }
.dm-tt::after { content: "@demand.game"; color: var(--dm-red); direction: ltr; unicode-bidi: isolate; }

/* the buy card */
.dm-buy { background: radial-gradient(90% 60% at 50% 30%, rgba(215,25,31,.28), transparent 70%), var(--dm-black); }
.dm-buy-card { background: #fff; color: var(--dm-black); border-radius: 28px; overflow: hidden; box-shadow: 0 40px 90px rgba(0,0,0,.7); max-width: 560px; margin: 0 auto; }
.dm-buy-img { position: relative; background: #111; }
.dm-buy-img img { display: block; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.dm-badge { position: absolute; top: 16px; inset-inline-start: 16px; padding: 5px 14px; border-radius: 999px; background: var(--dm-red); color: #fff; font-weight: 900; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.dm-buy-body { padding: 22px 20px 24px; }
.dm-buy-name { font-family: "Anton", Impact, sans-serif; font-weight: 400; font-size: 40px; line-height: 1; margin: 0 0 8px; text-transform: uppercase; color: var(--dm-black); direction: ltr; }
html[dir="rtl"] .dm-buy-name { text-align: right; }
.dm-buy-price { font-size: 26px; font-weight: 900; color: var(--dm-red); margin: 0 0 18px; }
.dm-buy-row { display: flex; gap: 10px; align-items: stretch; }
.dm-grow { flex: 1; }
.dm-qty { display: inline-flex; align-items: center; border: 2px solid #e2e0dc; border-radius: 999px; overflow: hidden; direction: ltr; }
.dm-qty button { width: 44px; height: 50px; border: 0; background: none; font-size: 22px; font-weight: 700; color: var(--dm-black); }
.dm-qty output { min-width: 26px; text-align: center; font-weight: 900; font-size: 18px; }
.dm-soldout { margin: 12px 0 0; color: var(--dm-red); font-weight: 700; }
.dm-soldout[hidden] { display: none; }
.dm-perks { list-style: none; margin: 20px 0 16px; padding: 0; display: grid; gap: 10px; }
/* the bullets are the game's own player chips (the user, 2026-11-16): red, yellow, green and blue */
.dm-perks li { position: relative; padding-inline-start: 38px; min-height: 26px; font-size: 15px; color: #333; }
.dm-perks li::before { content: ""; position: absolute; inset-inline-start: 0; top: -1px; width: 26px; height: 26px; border-radius: 50%;
  --c: var(--dm-red);
  background: radial-gradient(circle, #141414 0 33%, #000 34% 38%, var(--c) 39% 72%, #0b0b0b 73% 100%);
  outline: 2px dotted #fff; outline-offset: -7px;
  box-shadow: 0 2px 0 #000, 0 3px 6px rgba(0,0,0,.35), inset 0 1px 1px rgba(255,255,255,.35); }
.dm-perks li:nth-child(2)::before { --c: var(--dm-yellow); }
.dm-perks li:nth-child(3)::before { --c: #2FB45A; }
.dm-perks li:nth-child(4)::before { --c: var(--dm-blue); }
.dm-more { font-weight: 700; color: var(--dm-black); border-bottom: 2px solid var(--dm-red); }

/* questions */
.dm-faq { background: var(--dm-black); padding-top: 40px; }
.dm-faq-list { display: grid; gap: 10px; }
.dm-faq details { background: var(--dm-coal); border-radius: 18px; border: 1px solid rgba(255,255,255,.08); }
.dm-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 18px;
  font-weight: 700; font-size: 17px; }
.dm-faq summary::-webkit-details-marker { display: none; }
.dm-faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--dm-red); color: #fff; font-size: 20px; transition: transform .25s; }
.dm-faq details[open] summary::after { transform: rotate(45deg); }
.dm-faq details p { margin: 0; padding: 0 18px 18px; color: rgba(255,255,255,.78); line-height: 1.7; }

/* the end */
.dm-end { position: relative; text-align: center; padding: 70px var(--gutter) 64px; background: linear-gradient(180deg, var(--dm-black), var(--dm-red-deep)); overflow: hidden; }
.dm-end-q { position: relative; z-index: 1; font-family: var(--dm-head-font); font-size: clamp(30px, 9vw, 60px); line-height: 1.15; margin: 0 0 6px; text-transform: uppercase; }
html[lang="ar"] .dm-end-q { text-transform: none; line-height: 1.5; }
.dm-giant { font-family: "Anton", Impact, sans-serif; font-size: 33vw; line-height: .9; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.55);
  letter-spacing: -.01em; margin: 0 -4vw 26px; direction: ltr; user-select: none; }
.dm-end .dm-btn { position: relative; z-index: 1; }

/* the motion (js/demand.js adds .dm-anim only when it runs): words and photos rise into place */
.dm-anim [data-rise] { opacity: 0; transform: translateY(34px); }
.dm-anim .dm-tilt[data-rise] { transform: translateY(34px) rotate(-2deg); }
.dm-anim .dm-film-frame[data-rise] { transform: translateY(34px) rotate(2deg); }

/* wider screens: more room, the same page */
@media (min-width: 760px) {
  .dm-sec { padding: 110px 0; }
  .dm-hero { padding-bottom: 80px; }
  .dm-scroll { display: block; bottom: 22px; }
  .dm-cta { display: flex; flex-wrap: wrap; }
  .dm-hero-dice { top: 40px; inset-inline-end: 6vw; }
  .dm-hero-dice .die { --s: 84px; } .dm-hero-dice .die-b { --s: 64px; margin-top: 80px; }
  .dm-what .dm-wrap { display: grid; grid-template-columns: 1.1fr .9fr; column-gap: 60px; align-items: center; }
  .dm-what .dm-eyebrow, .dm-what .dm-h2, .dm-what .dm-lead { grid-column: 1; }
  .dm-what .dm-photo { grid-column: 2; grid-row: 1 / span 3; }
  .dm-cards { grid-template-columns: repeat(2, 1fr); }
  .dm-card { position: relative; top: auto; }
  .dm-strip img { height: 460px; }
  .dm-buy-card { display: grid; grid-template-columns: 1.1fr 1fr; max-width: 980px; }
  .dm-buy-img img { height: 100%; aspect-ratio: auto; }
  .dm-buy-body { padding: 36px 34px; }
  .dm-giant { font-size: 26vw; }
}
@media (min-width: 1100px) { .dm-cards { grid-template-columns: repeat(3, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  .dm-hero-bg img, .dm-grain, .dm-hero-dice .die, .dm-track, .dm-scroll i { animation: none !important; }
  .die-big { transition: none; }
}

/* the shop's buttons are the brand red on every customer page (the bag, checkout, the product page) */
.btn:not(.btn-ghost) { background: var(--dm-red); border-color: var(--dm-red); color: #fff; }
.btn:not(.btn-ghost):hover { background: #B8141A; border-color: #B8141A; }
.btn:not(.btn-ghost):disabled { background: #8a8a8d; border-color: #8a8a8d; }

/* ---------------- the Buy page (shop.html): one big card for the one game ---------------- */
.dm-one { padding-top: 14px; padding-bottom: 56px; background:
  radial-gradient(90% 40% at 50% 0%, rgba(215,25,31,.32), transparent 70%), var(--dm-black); }
.dm-one .dm-kicker { margin-bottom: 14px; }
.dm-one-title { margin: 0 0 18px; font-family: "Anton", Impact, sans-serif; font-weight: 400; line-height: .9; direction: ltr; text-align: left;
  transform: skewY(-4deg); transform-origin: left bottom; }
html[dir="rtl"] .dm-one-title { text-align: right; transform-origin: right bottom; }
.dm-one-title span { display: block; font-size: clamp(76px, 24vw, 180px); color: var(--dm-red); text-shadow: 4px 5px 0 #000; }
.dm-one-title small { display: block; margin-top: 4px; font-size: clamp(20px, 6vw, 40px); letter-spacing: .32em; color: #fff; }
.dm-one-card { background: var(--dm-coal); border-radius: 28px; overflow: hidden; box-shadow: 0 40px 90px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08); }
.dm-gal { position: relative; background: #111; }
.dm-gal-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.dm-gal-track::-webkit-scrollbar { display: none; }
/* phone: the photo is at most about half the screen, so the price and Add to bag show without scrolling (the user, 2026-11-16) */
.dm-gal-slide { flex: 0 0 100%; scroll-snap-align: start; height: min(calc((100vw - 2 * var(--gutter)) * 1.25), 50svh); }
.dm-gal-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dm-gal .dm-badge { z-index: 1; }
.dm-gal-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 7px; direction: ltr; pointer-events: none; }
.dm-gal-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.5); transition: width .25s, background .25s; }
.dm-gal-dots i.on { width: 24px; border-radius: 4px; background: var(--dm-red); }
.dm-one-body { padding: 16px 18px 22px; }
.dm-one-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.dm-one-price { margin: 0; font-family: "Anton", Impact, sans-serif; font-size: 44px; line-height: 1; color: #fff; }
html[lang="ar"] .dm-one-price { font-family: "Cairo", sans-serif; font-weight: 900; font-size: 38px; }
.dm-one-stock { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: rgba(31,154,71,.16); color: #4ADE80; font-weight: 700; font-size: 13px; }
.dm-one-stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(74,222,128,.18); }
.dm-one-stock.is-out { background: rgba(215,25,31,.16); color: #FF6B70; }
.dm-one-short { color: rgba(255,255,255,.8); font-size: 17px; line-height: 1.65; margin: 18px 0 4px; }
.dm-one .dm-qty { border-color: rgba(255,255,255,.22); }
.dm-one .dm-qty button, .dm-one .dm-qty output { color: #fff; }
.dm-perks-dark li { color: rgba(255,255,255,.82); }
.dm-one-parts { margin-top: 34px; }
.dm-one-sub { font-family: var(--dm-head-font); font-weight: 400; font-size: 34px; line-height: 1.1; text-transform: uppercase; margin: 0 0 14px; color: #fff; }
html[lang="ar"] .dm-one-sub { text-transform: none; line-height: 1.4; }
.dm-one-row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scrollbar-width: none; }
.dm-one-row::-webkit-scrollbar { display: none; }
.dm-one-row a { flex: 0 0 42%; scroll-snap-align: start; position: relative; border-radius: 18px; overflow: hidden; background: #111; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.dm-one-row img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.dm-one-row span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; font-weight: 700; font-size: 14px; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.85)); }
.dm-one-more { display: inline-block; margin-top: 22px; color: #fff; font-weight: 700; border-bottom: 2px solid var(--dm-red); }
@media (min-width: 760px) {
  .dm-one-card { display: grid; grid-template-columns: 1fr 1fr; max-width: 1000px; }
  .dm-one-body { padding: 36px 34px; align-self: center; }
  .dm-gal-slide { height: auto; aspect-ratio: 4 / 5; }
  .dm-one-row a { flex-basis: 19%; }
}

/* a bigger logo in the header (the user, 2026-11-16: "make this bigger the logo") */
:root { --header-h: 70px; }
.site-header .logo img { height: 52px; }
@media (min-width: 760px) { .site-header .logo img { height: 56px; } }
