/* Design 5, Counter. Every selector is scoped to html[data-design="5"]. */
html[data-design="5"] {
  --ps-radius: 22px;
  --ps-radius-sm: 14px;
  --ps-font-display: "Readex Pro", system-ui, sans-serif;
  --ps-font-body: "Readex Pro", system-ui, sans-serif;
  --ps-header-h: 64px;
  --d5-max: 1240px;
  --d5-bar-h: 120px;
}
html[data-design="5"][data-theme="light"] {
  --ps-bg: color-mix(in oklab, var(--brand-deep) 3%, #efefec);
  --ps-surface: #ffffff;
  --ps-surface-2: color-mix(in oklab, var(--brand-deep) 4%, #e6e6e2);
  --ps-ink: color-mix(in oklab, var(--brand-deep) 20%, #19191b);
  --ps-muted: color-mix(in oklab, var(--brand-deep) 12%, #57575c);
  --ps-line: color-mix(in srgb, var(--ps-ink) 13%, transparent);
  --ps-accent: var(--brand);
  --ps-on-accent: var(--brand-ink);
  --ps-focus: color-mix(in oklab, var(--brand) 55%, var(--brand-deep));
  --ps-shadow: 0 24px 60px -28px color-mix(in srgb, var(--brand-deep) 55%, rgba(0, 0, 0, .5));
  --d5-ink-accent: color-mix(in oklab, var(--brand) 52%, var(--brand-deep));
  --d5-tint: color-mix(in oklab, var(--brand) 13%, #ffffff);
  --d5-inv: color-mix(in oklab, var(--brand-deep) 55%, #1b1b1d);
  --d5-on-inv: #f4f2ee;
  --d5-paper: #fffefb;
  --d5-lift: 0 10px 24px -14px rgba(20, 16, 12, .45);
}
html[data-design="5"][data-theme="dark"] {
  --ps-bg: color-mix(in oklab, var(--brand-deep) 22%, #151617);
  --ps-surface: color-mix(in oklab, var(--brand-deep) 22%, #202123);
  --ps-surface-2: color-mix(in oklab, var(--brand-deep) 24%, #2b2c2f);
  --ps-ink: #f2f0eb;
  --ps-muted: #bdb9b2;
  --ps-line: rgba(242, 240, 235, .14);
  --ps-accent: var(--brand);
  --ps-on-accent: var(--brand-ink);
  --ps-focus: color-mix(in oklab, var(--brand) 65%, #ffffff);
  --ps-shadow: 0 28px 70px -24px rgba(0, 0, 0, .75);
  --d5-ink-accent: color-mix(in oklab, var(--brand) 62%, #ffffff);
  --d5-tint: color-mix(in oklab, var(--brand) 22%, var(--ps-surface));
  --d5-inv: color-mix(in oklab, var(--brand) 16%, var(--ps-surface-2));
  --d5-on-inv: #f4f2ee;
  --d5-paper: color-mix(in oklab, var(--brand-deep) 10%, #2f3033);
  --d5-lift: 0 12px 28px -12px rgba(0, 0, 0, .7);
}

html[data-design="5"] body { font-weight: 400; }
html[data-design="5"] .d5-wrap { max-width: var(--d5-max); margin-inline: auto; padding-inline: var(--ps-gutter); }
html[data-design="5"] .d5-sec { padding-block: clamp(48px, 7vw, 88px); }
html[data-design="5"] .d5-h2 { font: 600 clamp(1.7rem, 3.2vw, 2.4rem)/1.15 var(--ps-font-display); }
html[data-design="5"][lang="en"] .d5-h2 { letter-spacing: -.02em; }
html[data-design="5"][lang="ar"] .d5-h2 { line-height: 1.4; }
html[data-design="5"] .d5-lead { color: var(--ps-muted); margin-top: 6px; max-width: 56ch; text-wrap: pretty; }
html[data-design="5"] .d5-sec-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
html[data-design="5"] .ps-ico { stroke-width: 2; }

/* ---------- buttons ---------- */
html[data-design="5"] .d5-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px;
  border: 0; border-radius: 14px;
  background: var(--ps-accent); color: var(--ps-on-accent);
  font: 600 1rem/1.2 var(--ps-font-body); text-decoration: none;
  transition: transform .15s ease, filter .15s ease, background-color .15s ease;
}
html[data-design="5"] .d5-btn:hover { filter: brightness(1.07); }
html[data-design="5"] .d5-btn:active { transform: scale(.97); }
html[data-design="5"] .d5-btn-soft { background: var(--ps-surface-2); color: var(--ps-ink); min-height: 44px; padding: 0 16px; font-size: .94rem; }
html[data-design="5"] .d5-btn-soft:hover { filter: none; background: color-mix(in srgb, var(--ps-ink) 12%, var(--ps-surface-2)); }
html[data-design="5"] .d5-btn-block { width: 100%; }

/* ---------- header ---------- */
html[data-design="5"] .d5-head {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--ps-bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px);
  transition: box-shadow .2s ease;
}
html[data-design="5"] .d5-head.is-raised,
html[data-design="5"] .d5-head.is-open { box-shadow: 0 1px 0 var(--ps-line); }
html[data-design="5"] .d5-head-in {
  max-width: var(--d5-max); margin-inline: auto; padding-inline: var(--ps-gutter);
  height: var(--ps-header-h);
  display: flex; align-items: center; gap: 16px;
}
html[data-design="5"] .d5-brand { display: flex; align-items: center; min-height: 44px; color: var(--d5-ink-accent); }
html[data-design="5"] .d5-logo { height: 38px; }
html[data-design="5"] .d5-nav {
  display: flex; gap: 2px; padding: 4px; margin-inline: auto;
  background: var(--ps-surface-2); border-radius: 999px;
}
html[data-design="5"] .d5-nav a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px;
  border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .95rem;
  transition: background-color .15s ease;
}
html[data-design="5"] .d5-nav a:hover { background: var(--ps-surface); }
html[data-design="5"] .d5-ctl { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
html[data-design="5"] .d5-nav + .d5-ctl { margin-inline-start: 0; }
html[data-design="5"] .d5-ctl .ps-ctl { border-radius: 14px; }
html[data-design="5"] .d5-ctl .ps-ctl:hover { background: var(--ps-surface-2); }
html[data-design="5"] .d5-ctl .ps-ctl-cart { background: var(--ps-ink); color: var(--ps-bg); margin-inline-start: 6px; }
html[data-design="5"] .d5-ctl .ps-ctl-cart:hover { background: var(--ps-ink); filter: brightness(1.2); }
html[data-design="5"] .d5-ctl .ps-ctl-cart .ps-count { top: -4px; inset-inline-end: -4px; box-shadow: 0 0 0 2px var(--ps-bg); }
html[data-design="5"] .d5-burger { display: none; }
html[data-design="5"] .d5-sheet { padding: 8px var(--ps-gutter) 20px; border-top: 1px solid var(--ps-line); }
html[data-design="5"] .d5-sheet nav { display: grid; gap: 6px; }
html[data-design="5"] .d5-sheet a {
  display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 16px;
  border-radius: 14px; background: var(--ps-surface);
  font-size: 1.1rem; font-weight: 500; text-decoration: none;
}
html[data-design="5"] .d5-sheet a:last-child { background: var(--ps-accent); color: var(--ps-on-accent); }
@media (max-width: 820px) {
  html[data-design="5"] .d5-nav { display: none; }
  html[data-design="5"] .d5-ctl { margin-inline-start: auto; }
  html[data-design="5"] .d5-nav + .d5-ctl { margin-inline-start: auto; }
  html[data-design="5"] .d5-burger { display: inline-grid; }
  html[data-design="5"] .d5-logo { height: 34px; }
}
@media (min-width: 821px) {
  html[data-design="5"] .d5-sheet { display: none !important; }
}
@media (max-width: 380px) {
  html[data-design="5"] .d5-head-in { gap: 6px; }
  html[data-design="5"] .d5-ctl .ps-ctl { min-width: 44px; padding: 0 6px; }
  html[data-design="5"] .d5-ctl .ps-ctl-cart { margin-inline-start: 2px; }
}

/* ---------- hero: the bento ---------- */
html[data-design="5"] .d5-hero { padding-block: 12px 8px; }
html[data-design="5"] .d5-bento {
  display: grid; gap: 12px;
  grid-template-columns: 1.3fr 1fr .95fr;
  grid-template-areas:
    "intro photo best"
    "facts call best";
}
html[data-design="5"] .d5-tile { border-radius: 28px; overflow: hidden; position: relative; }
html[data-design="5"] .d5-t-intro {
  grid-area: intro;
  background: var(--ps-surface);
  padding: clamp(24px, 3.4vw, 44px);
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
}
html[data-design="5"] .d5-hello {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; color: var(--d5-ink-accent);
}
html[data-design="5"] .d5-hello::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--ps-accent); }
html[data-design="5"] .d5-title { font: 600 clamp(2rem, 4.2vw, 3.3rem)/1.06 var(--ps-font-display); text-wrap: balance; }
html[data-design="5"][lang="en"] .d5-title { letter-spacing: -.03em; }
html[data-design="5"][lang="ar"] .d5-title { line-height: 1.32; font-size: clamp(1.9rem, 3.8vw, 3rem); }
html[data-design="5"] .d5-intro { color: var(--ps-muted); max-width: 46ch; }
html[data-design="5"] .d5-t-intro .d5-btn { margin-top: auto; }
html[data-design="5"] .d5-t-photo { grid-area: photo; min-height: 260px; background: var(--ps-surface-2); }
html[data-design="5"] .d5-t-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

html[data-design="5"] .d5-t-best {
  grid-area: best; display: flex; flex-direction: column;
  background: var(--d5-tint);
}
html[data-design="5"] .d5-best-media { flex: 1; min-height: 200px; position: relative; margin: 10px 10px 0; border-radius: 20px; overflow: hidden; background: var(--ps-surface-2); }
html[data-design="5"] .d5-best-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
html[data-design="5"] .d5-best-body { padding: 16px 20px 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
html[data-design="5"] .d5-best-body h2 { font: 600 1.35rem/1.25 var(--ps-font-display); }
html[data-design="5"] .d5-best-body .d5-step,
html[data-design="5"] .d5-best-body .d5-buy { margin-top: 6px; }
html[data-design="5"] .d5-best-body .ps-buy.d5-buy { width: 100%; }

html[data-design="5"] .d5-t-call {
  grid-area: call;
  display: grid; grid-template-columns: auto 1fr; align-content: center; column-gap: 14px; row-gap: 2px;
  padding: 22px 24px; min-height: 150px;
  background: var(--ps-accent); color: var(--ps-on-accent); text-decoration: none;
  transition: filter .15s ease;
}
html[data-design="5"] .d5-t-call:hover { filter: brightness(1.06); }
html[data-design="5"] .d5-call-ico {
  grid-row: span 3; align-self: start;
  width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--ps-on-accent) 16%, transparent);
}
html[data-design="5"] .d5-call-t { font-weight: 500; }
html[data-design="5"] .d5-call-n { font: 600 clamp(1.4rem, 2.4vw, 1.75rem)/1.2 var(--ps-font-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
html[data-design="5"] .d5-call-h { font-size: .9rem; }

html[data-design="5"] .d5-t-facts {
  grid-area: facts; margin: 0; padding: 18px 22px; list-style: none;
  background: var(--d5-inv); color: var(--d5-on-inv);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 4px 18px; align-content: center;
}
html[data-design="5"] .d5-t-facts li { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: .95rem; }
html[data-design="5"] .d5-t-facts .ps-ico { width: 20px; height: 20px; opacity: .85; }

@media (prefers-reduced-motion: no-preference) {
  html[data-design="5"] .d5-bento > .d5-tile { animation: d5-in .6s var(--ps-ease) both; }
  html[data-design="5"] .d5-bento > :nth-child(2) { animation-delay: .06s; }
  html[data-design="5"] .d5-bento > :nth-child(3) { animation-delay: .12s; }
  html[data-design="5"] .d5-bento > :nth-child(4) { animation-delay: .18s; }
  html[data-design="5"] .d5-bento > :nth-child(5) { animation-delay: .24s; }
}
@keyframes d5-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }

@media (max-width: 1023px) {
  html[data-design="5"] .d5-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "intro intro" "photo best" "call facts";
  }
}
@media (max-width: 679px) {
  html[data-design="5"] .d5-bento { grid-template-areas: "intro intro" "photo best" "call call" "facts facts"; gap: 10px; }
  html[data-design="5"] .d5-tile { border-radius: 22px; }
  html[data-design="5"] .d5-t-photo { min-height: 0; }
  html[data-design="5"] .d5-best-media { min-height: 120px; aspect-ratio: 1; flex: none; margin: 8px 8px 0; border-radius: 16px; }
  html[data-design="5"] .d5-best-body { padding: 12px 14px 14px; }
  html[data-design="5"] .d5-best-body h2 { font-size: 1.08rem; }
  html[data-design="5"] .d5-t-call { min-height: 0; padding: 18px; }
  html[data-design="5"] .d5-t-facts { grid-template-columns: 1fr; padding: 12px 18px; }
}

/* ---------- shared bits: price, tags, photo-less art ---------- */
html[data-design="5"] .d5-price { font-weight: 600; font-variant-numeric: tabular-nums; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
html[data-design="5"] .d5-price small { font-weight: 400; color: var(--ps-muted); font-size: .85em; }
html[data-design="5"] .d5-desc { color: var(--ps-muted); font-size: .9rem; line-height: 1.5; }
html[data-design="5"] .d5-tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 9px; border-radius: 999px;
  background: var(--ps-surface-2); color: var(--ps-ink);
  font: 500 .78rem/1.5 var(--ps-font-body); white-space: nowrap;
}
html[data-design="5"] .d5-tag .ps-ico { width: 13px; height: 13px; fill: currentColor; }
html[data-design="5"] .d5-tag-best { background: var(--d5-inv); color: var(--d5-on-inv); }
html[data-design="5"] .d5-t-best .d5-tag-best { background: var(--ps-surface); color: var(--d5-ink-accent); }
html[data-design="5"] .d5-tag-new { background: var(--ps-accent); color: var(--ps-on-accent); }

/* Photo-less art: a tray of diamond-cut pieces with the initial on top */
html[data-design="5"] .d5-art {
  position: relative; display: grid; place-items: center; overflow: hidden;
  background:
    linear-gradient(45deg, transparent 47%, color-mix(in srgb, var(--ps-accent) 32%, transparent) 47% 53%, transparent 53%) 0 0 / 34px 34px,
    linear-gradient(-45deg, transparent 47%, color-mix(in srgb, var(--ps-accent) 32%, transparent) 47% 53%, transparent 53%) 0 0 / 34px 34px,
    var(--d5-tint);
}
html[data-design="5"] .d5-art span {
  display: grid; place-items: center;
  width: 2.1em; height: 2.1em; border-radius: 30%;
  background: var(--ps-surface); color: var(--d5-ink-accent);
  font: 600 clamp(1.6rem, 4vw, 2.4rem)/1 var(--ps-font-display);
  box-shadow: var(--d5-lift);
}

/* ---------- add controls ---------- */
html[data-design="5"] .d5-step .ps-step-add,
html[data-design="5"] .d5-buy .ps-add {
  width: 44px; height: 44px; padding: 0; flex: none;
  border: 0; border-radius: 14px;
  background: var(--ps-accent); color: var(--ps-on-accent);
  transition: transform .15s ease, filter .15s ease;
}
html[data-design="5"] .d5-step .ps-step-add:hover,
html[data-design="5"] .d5-buy .ps-add:hover { filter: brightness(1.08); }
html[data-design="5"] .d5-step .ps-step-add:active,
html[data-design="5"] .d5-buy .ps-add:active { transform: scale(.92); }
html[data-design="5"] .d5-step .ps-ico,
html[data-design="5"] .d5-buy .ps-add .ps-ico { width: 22px; height: 22px; }
html[data-design="5"] .d5-step .ps-step-ctl {
  gap: 0; height: 44px; border-radius: 14px;
  background: var(--ps-accent); color: var(--ps-on-accent);
}
html[data-design="5"] .d5-step .ps-step-btn { width: 44px; height: 44px; border: 0; background: transparent; color: inherit; border-radius: 14px; }
html[data-design="5"] .d5-step .ps-step-btn:hover { background: color-mix(in srgb, var(--ps-on-accent) 14%, transparent); }
html[data-design="5"] .d5-step .ps-step-q { min-width: 2.2ch; font-size: 1.02rem; }
html[data-design="5"] .d5-step .ps-step-ctl { animation: d5-pop .25s var(--ps-ease); }
@keyframes d5-pop { from { transform: scale(.85); opacity: .4; } }

html[data-design="5"] .d5-buy .ps-opt {
  appearance: none; -webkit-appearance: none;
  height: 44px; padding: 0 38px 0 14px;
  border: 1px solid var(--ps-line); border-radius: 14px;
  background: var(--ps-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888888' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center / 18px;
  color: var(--ps-ink); font: 500 .94rem var(--ps-font-body);
  font-variant-numeric: tabular-nums; text-overflow: ellipsis;
}
html[data-design="5"][dir="rtl"] .d5-buy .ps-opt { padding: 0 14px 0 38px; background-position: left 12px center; }
html[data-design="5"] .d5-buy .ps-opt:hover { border-color: color-mix(in srgb, var(--ps-ink) 35%, transparent); }
html[data-design="5"] .d5-buy .ps-opt option { background: var(--ps-surface); color: var(--ps-ink); }
html[data-design="5"] .ps-chips.d5-buy { gap: 6px; }
html[data-design="5"] .d5-buy .ps-chip {
  flex-direction: row; gap: 8px; padding: 0 14px;
  border: 1px solid var(--ps-line); border-radius: 14px;
  background: var(--ps-surface); color: var(--ps-ink);
  transition: background-color .15s ease, border-color .15s ease;
}
html[data-design="5"] .d5-buy .ps-chip::before {
  content: "+"; font-weight: 600; color: var(--d5-ink-accent); font-size: 1.1rem; line-height: 1;
}
html[data-design="5"] .d5-buy .ps-chip-l { font-size: .88rem; color: var(--ps-muted); }
html[data-design="5"] .d5-buy .ps-chip-p { font-weight: 600; font-size: .92rem; font-variant-numeric: tabular-nums; }
html[data-design="5"] .d5-buy .ps-chip:hover,
html[data-design="5"] .d5-buy .ps-chip.is-added { border-color: var(--ps-accent); background: var(--d5-tint); }

/* ---------- signature carousel ---------- */
html[data-design="5"] .d5-arrows { display: flex; gap: 8px; flex: none; }
html[data-design="5"] .d5-round {
  width: 46px; height: 46px; border: 0; border-radius: 14px;
  background: var(--ps-surface); color: var(--ps-ink); display: grid; place-items: center;
  transition: background-color .15s ease;
}
html[data-design="5"] .d5-round:hover { background: var(--ps-surface-2); }
html[data-design="5"] .d5-back { transform: scaleX(-1); }
html[data-design="5"][dir="rtl"] .d5-back { transform: none; }
html[data-design="5"] .d5-track {
  gap: 14px;
  padding: 2px max(var(--ps-gutter), calc((100vw - var(--d5-max)) / 2 + var(--ps-gutter))) 18px;
  scroll-padding-inline: max(var(--ps-gutter), calc((100vw - var(--d5-max)) / 2 + var(--ps-gutter)));
}
html[data-design="5"] .d5-sig-card {
  width: clamp(230px, 64vw, 272px);
  display: flex; flex-direction: column;
  background: var(--ps-surface); border-radius: 22px; padding: 8px;
}
html[data-design="5"] .d5-sig-media { aspect-ratio: 5 / 4; border-radius: 16px; overflow: hidden; background: var(--ps-surface-2); }
html[data-design="5"] .d5-sig-media img, html[data-design="5"] .d5-sig-media .d5-art { width: 100%; height: 100%; object-fit: cover; }
html[data-design="5"] .d5-sig-body {
  flex: 1; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; align-items: end; gap: 2px 10px;
  padding: 12px 8px 6px;
}
html[data-design="5"] .d5-sig-body h3 { grid-column: 1 / -1; font: 600 1.08rem/1.35 var(--ps-font-display); align-self: start; }
html[data-design="5"] .d5-sig-body .d5-price { align-self: center; }
html[data-design="5"] .d5-sig-body .ps-buy { grid-column: 1 / -1; margin-top: 8px; }

/* ---------- menu ---------- */
html[data-design="5"] .d5-sig { padding-bottom: 8px; }
html[data-design="5"] .d5-menu { padding-block: clamp(28px, 4vw, 48px) 24px; }
html[data-design="5"] .d5-menu-head { margin-bottom: 18px; }
html[data-design="5"] .d5-bar {
  position: sticky; z-index: 30; top: var(--ps-header-h);
  background: color-mix(in srgb, var(--ps-bg) 92%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid var(--ps-line);
}
html[data-design="5"] .d5-bar-in { display: flex; align-items: center; gap: 14px; padding-block: 10px; }
html[data-design="5"] .d5-search {
  position: relative; flex: 0 0 min(340px, 34%);
  display: flex; align-items: center;
}
html[data-design="5"] .d5-search-ico { position: absolute; inset-inline-start: 14px; width: 20px; height: 20px; color: var(--ps-muted); pointer-events: none; }
html[data-design="5"] .d5-search input {
  width: 100%; height: 48px; padding: 0 46px 0 44px;
  border: 1.5px solid transparent; border-radius: 16px;
  background: var(--ps-surface); color: var(--ps-ink);
  font: 400 1rem var(--ps-font-body);
  transition: border-color .15s ease, box-shadow .15s ease;
  -webkit-appearance: none; appearance: none;
}
html[data-design="5"][dir="rtl"] .d5-search input { padding: 0 44px 0 46px; }
html[data-design="5"] .d5-search input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
html[data-design="5"] .d5-search input::placeholder { color: var(--ps-muted); opacity: 1; }
html[data-design="5"] .d5-search input:focus { outline: none; border-color: var(--ps-focus); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ps-accent) 22%, transparent); }
html[data-design="5"] .d5-q-clear {
  position: absolute; inset-inline-end: 2px;
  width: 44px; height: 44px; border: 0; border-radius: 14px; background: transparent; color: var(--ps-muted);
  display: grid; place-items: center;
}
html[data-design="5"] .d5-q-clear:hover { color: var(--ps-ink); }
html[data-design="5"] .d5-chips {
  flex: 1; min-width: 0;
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  padding-block: 2px;
  -webkit-mask: linear-gradient(to right, transparent, #000 14px, #000 calc(100% - 14px), transparent);
  mask: linear-gradient(to right, transparent, #000 14px, #000 calc(100% - 14px), transparent);
  padding-inline: 12px;
}
html[data-design="5"] .d5-chips::-webkit-scrollbar { display: none; }
html[data-design="5"] .d5-chip {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 8px 0 14px; border-radius: 999px;
  background: var(--ps-surface); color: var(--ps-ink); text-decoration: none;
  font-size: .94rem; font-weight: 500; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, opacity .15s ease;
}
html[data-design="5"][dir="rtl"] .d5-chip { padding: 0 14px 0 8px; }
html[data-design="5"] .d5-chip b {
  min-width: 28px; height: 28px; padding: 0 6px; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--ps-surface-2); font-size: .8rem; font-weight: 600; font-variant-numeric: tabular-nums;
}
html[data-design="5"] .d5-chip:hover { background: var(--ps-surface-2); }
html[data-design="5"] .d5-chip.is-on { background: var(--ps-ink); color: var(--ps-bg); }
html[data-design="5"] .d5-chip.is-on b { background: color-mix(in srgb, var(--ps-bg) 20%, transparent); }
html[data-design="5"] .is-searching .d5-chip b { background: var(--ps-accent); color: var(--ps-on-accent); }
html[data-design="5"] .d5-chip.is-empty { opacity: .45; cursor: default; }
html[data-design="5"] .is-searching .d5-chip.is-empty b { background: var(--ps-surface-2); color: var(--ps-ink); }
@media (max-width: 760px) {
  html[data-design="5"] .d5-bar-in { flex-direction: column; align-items: stretch; gap: 8px; padding-block: 8px; }
  html[data-design="5"] .d5-search { flex: none; }
  html[data-design="5"] .d5-chips { margin-inline: calc(var(--ps-gutter) * -1); padding-inline: var(--ps-gutter); -webkit-mask: none; mask: none; }
}

html[data-design="5"] .d5-menu-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; padding-top: 8px; }
html[data-design="5"] .d5-side { display: none; }
@media (min-width: 1100px) {
  html[data-design="5"] .d5-menu-grid { grid-template-columns: minmax(0, 1fr) 320px; }
  html[data-design="5"] .d5-side { display: block; position: sticky; top: calc(var(--ps-header-h) + var(--d5-bar-h) + 20px); }
}
html[data-design="5"] .d5-status { color: var(--ps-muted); font-weight: 500; padding-block: 14px 0; }
html[data-design="5"] .d5-none {
  display: grid; justify-items: center; gap: 12px; text-align: center;
  margin-top: 20px; padding: 48px 20px; border-radius: 22px;
  border: 2px dashed var(--ps-line);
}
html[data-design="5"] .d5-none > .ps-ico { width: 40px; height: 40px; color: var(--ps-muted); }
html[data-design="5"] .d5-none p { max-width: 40ch; font-size: 1.05rem; }

html[data-design="5"] .d5-cat { padding-top: 32px; scroll-margin-top: calc(var(--ps-header-h) + var(--d5-bar-h) + 8px); }
html[data-design="5"] .d5-cat-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
html[data-design="5"] .d5-cat-art { flex: none; width: 76px; height: 76px; border-radius: 22px; overflow: hidden; }
html[data-design="5"] .d5-cat-art:not(.d5-art) { background: var(--ps-surface-2); }
html[data-design="5"] .d5-cat-art img { width: 100%; height: 100%; object-fit: cover; }
html[data-design="5"] .d5-cat-art.d5-art span { width: 44px; height: 44px; font-size: 1.4rem; border-radius: 14px; box-shadow: none; }
html[data-design="5"] .d5-cat-copy { min-width: 0; }
html[data-design="5"] .d5-cat-head h3 { font: 600 1.5rem/1.25 var(--ps-font-display); }
html[data-design="5"][lang="ar"] .d5-cat-head h3 { line-height: 1.45; }
html[data-design="5"] .d5-cat-head p { color: var(--ps-muted); font-size: .94rem; line-height: 1.45; }
html[data-design="5"] .d5-count { display: inline-block; margin-top: 2px; font-size: .82rem; font-weight: 500; color: var(--d5-ink-accent); }

/* Photo cards: the items with their own picture */
html[data-design="5"] .d5-cards {
  list-style: none; margin: 0 0 12px; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 12px;
}
/* A lone photo card lies on its side so it doesn't swallow the row */
html[data-design="5"] .d5-cards > .d5-card:only-child { flex-direction: row; }
html[data-design="5"] .d5-cards > .d5-card:only-child .d5-card-media { flex: 0 0 min(46%, 340px); aspect-ratio: 4 / 3; }
html[data-design="5"] .d5-cards > .d5-card:only-child .d5-card-body { padding: 12px 18px; justify-content: center; }
html[data-design="5"] .d5-cards > .d5-card:only-child .d5-card-body .d5-price { margin-top: 4px; }
html[data-design="5"] .d5-card { display: flex; flex-direction: column; background: var(--ps-surface); border-radius: 22px; padding: 8px; }
html[data-design="5"] .d5-card-media { position: relative; aspect-ratio: 3 / 2; border-radius: 16px; overflow: hidden; background: var(--ps-surface-2); }
html[data-design="5"] .d5-card-media img { width: 100%; height: 100%; object-fit: cover; }
html[data-design="5"] .d5-card-act { position: absolute; bottom: 8px; inset-inline-end: 8px; }
html[data-design="5"] .d5-card-act .ps-step-add,
html[data-design="5"] .d5-card-act .ps-step-ctl { box-shadow: var(--d5-lift); }
html[data-design="5"] .d5-card-act .ps-step-add { background: var(--ps-surface); color: var(--ps-ink); width: 48px; height: 48px; border-radius: 16px; }
html[data-design="5"] .d5-card-body { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 8px 8px; flex: 1; }
html[data-design="5"] .d5-card-body h4 { font: 600 1.06rem/1.35 var(--ps-font-display); }
html[data-design="5"] .d5-card-body .d5-price { margin-top: auto; padding-top: 4px; }
html[data-design="5"] .d5-card-body .d5-buy { margin-top: 8px; width: 100%; }
html[data-design="5"] .d5-card-body .ps-buy .ps-opt { flex: 1; }

@media (max-width: 559px) {
  html[data-design="5"] .d5-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  html[data-design="5"] .d5-card { border-radius: 18px; padding: 6px; }
  html[data-design="5"] .d5-card-media { aspect-ratio: 1; border-radius: 14px; }
  html[data-design="5"] .d5-card-body { padding: 10px 6px 6px; }
  html[data-design="5"] .d5-card-body h4 { font-size: .98rem; }
  html[data-design="5"] .d5-cards > .d5-card.is-sized,
  html[data-design="5"] .d5-cards > .d5-card.is-wide,
  html[data-design="5"] .d5-cards > .d5-card:only-child { grid-column: 1 / -1; }
  html[data-design="5"] .d5-cards > .d5-card.is-sized .d5-card-media { aspect-ratio: 2 / 1; }
  html[data-design="5"] .d5-cards > .d5-card.is-wide { flex-direction: row; }
  html[data-design="5"] .d5-cards > .d5-card.is-wide .d5-card-body { padding: 8px 14px; justify-content: center; }
  html[data-design="5"] .d5-cards > .d5-card.is-wide .d5-card-body .d5-price { margin-top: 4px; }
  html[data-design="5"] .d5-cards > .d5-card.is-wide .d5-card-media,
  html[data-design="5"] .d5-cards > .d5-card:only-child .d5-card-media { flex: 0 0 44%; aspect-ratio: 1; }
  html[data-design="5"] .d5-cards > .d5-card.is-sized:only-child { flex-direction: column; }
  html[data-design="5"] .d5-cards > .d5-card.is-sized:only-child .d5-card-media { flex-basis: auto; aspect-ratio: 2 / 1; }
  html[data-design="5"] .d5-cards > .d5-card.is-sized:only-child .d5-card-body { padding: 10px 6px 6px; }
}

/* Everything else: an inset grouped list */
html[data-design="5"] .d5-list {
  list-style: none; margin: 0; padding: 0 18px;
  display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 36px;
  background: var(--ps-surface); border-radius: 18px;
}
html[data-design="5"] .d5-row {
  display: flex; align-items: center; gap: 14px;
  padding-block: 12px; min-height: 72px;
  border-bottom: 1px solid var(--ps-line);
}
html[data-design="5"] .d5-row-main { flex: 1; min-width: 0; display: grid; gap: 1px; }
html[data-design="5"] .d5-row h4 { font: 500 1.02rem/1.4 var(--ps-font-display); }
html[data-design="5"] .d5-row .d5-price { font-size: .95rem; }
html[data-design="5"] .d5-row .d5-price small { font-size: .82rem; }
html[data-design="5"] .d5-row-act { flex: none; }
html[data-design="5"] .d5-row.is-sized { flex-wrap: wrap; }
html[data-design="5"] .d5-row.is-sized .d5-row-act { flex: 1 1 100%; }
html[data-design="5"] .d5-row.is-many .d5-row-act { flex: 1 1 100%; }
html[data-design="5"] .d5-row.is-many .ps-buy { max-width: 420px; }
html[data-design="5"] .d5-row.is-many .ps-opt { flex: 1; }
@media (min-width: 760px) {
  html[data-design="5"] .d5-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Drop the last divider in each column */
html[data-design="5"] .d5-list > .d5-row:last-child { border-bottom: 0; }
@media (min-width: 760px) {
  html[data-design="5"] .d5-list:not(:has(> [hidden])) > .d5-row:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
}

/* ---------- the order ticket ---------- */
html[data-design="5"] .d5-ticket {
  --zig: 14px;
  position: relative;
  padding: 26px 22px 30px;
  background: var(--d5-paper); color: var(--ps-ink);
  -webkit-mask:
    conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / var(--zig) 51% repeat-x,
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / var(--zig) 51% repeat-x;
  mask:
    conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / var(--zig) 51% repeat-x,
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / var(--zig) 51% repeat-x;
}
html[data-design="5"] .d5-side { filter: drop-shadow(0 14px 22px color-mix(in srgb, var(--brand-deep) 22%, rgba(0, 0, 0, .18))); }
html[data-design="5"][data-theme="dark"] .d5-side { filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .5)); }
html[data-design="5"] .d5-tk-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding-bottom: 12px; margin-bottom: 4px;
  border-bottom: 2px dashed var(--ps-line);
}
html[data-design="5"] .d5-tk-head h3 { font: 600 1.3rem/1.3 var(--ps-font-display); }
html[data-design="5"] .d5-tk-head span { color: var(--ps-muted); font-size: .88rem; }
html[data-design="5"] .d5-tk-empty { color: var(--ps-muted); padding-block: 18px 6px; font-size: .95rem; }
html[data-design="5"] .d5-tk-lines { list-style: none; margin: 0; padding: 6px 0; }
html[data-design="5"] .d5-tk-line {
  display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: baseline;
  padding-block: 7px; font-size: .94rem; transform-origin: top;
}
html[data-design="5"] .d5-tk-line.is-new { animation: d5-print .45s var(--ps-ease) both; }
@keyframes d5-print {
  from { clip-path: inset(0 0 100% 0); transform: translateY(-6px); background: var(--d5-tint); }
  60% { clip-path: inset(0); transform: none; background: var(--d5-tint); }
}
html[data-design="5"] .d5-tk-q { font-weight: 600; color: var(--d5-ink-accent); font-variant-numeric: tabular-nums; }
html[data-design="5"] .d5-tk-name { min-width: 0; display: grid; line-height: 1.35; }
html[data-design="5"] .d5-tk-name small { color: var(--ps-muted); font-size: .82rem; }
html[data-design="5"] .d5-tk-sum { font-variant-numeric: tabular-nums; white-space: nowrap; }
html[data-design="5"] .d5-tk-more { color: var(--ps-muted); font-size: .85rem; padding-bottom: 4px; }
html[data-design="5"] .d5-tk-total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 12px 0 16px; margin-top: 4px; border-top: 2px dashed var(--ps-line);
}
html[data-design="5"] .d5-tk-total b { font: 600 1.4rem var(--ps-font-display); font-variant-numeric: tabular-nums; }
html[data-design="5"] .d5-tk-note { margin-top: 12px; color: var(--ps-muted); font-size: .82rem; line-height: 1.5; }
/* The ticket replaces the floating cart bar while it's on screen */
html[data-design="5"].d5-ticket-on .ps-cartbar { display: none; }

/* ---------- story ---------- */
html[data-design="5"] .d5-story-grid {
  display: grid; max-width: none; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 48px); align-items: stretch;
  background: var(--ps-surface); border-radius: 32px; padding: clamp(10px, 1.4vw, 14px);
}
html[data-design="5"] .d5-story-fig { position: relative; min-height: 320px; border-radius: 24px; overflow: hidden; background: var(--ps-surface-2); }
html[data-design="5"] .d5-story-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
html[data-design="5"] .d5-story-copy { display: flex; flex-direction: column; gap: 14px; padding: clamp(14px, 3vw, 36px) clamp(10px, 2vw, 28px); max-width: 62ch; }
html[data-design="5"] .d5-story-copy p { color: var(--ps-muted); }
html[data-design="5"] .d5-story-copy p:first-of-type { color: var(--ps-ink); font-size: 1.12rem; }
html[data-design="5"] .d5-facts { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 8px; }
html[data-design="5"] .d5-facts li {
  display: flex; flex-direction: column; gap: 0;
  padding: 10px 16px; border-radius: 16px; background: var(--ps-surface-2);
  flex: 1 1 120px;
}
html[data-design="5"] .d5-facts b { font: 600 1.45rem/1.2 var(--ps-font-display); font-variant-numeric: tabular-nums; }
html[data-design="5"] .d5-facts span { color: var(--ps-muted); font-size: .84rem; line-height: 1.35; }
@media (max-width: 820px) {
  html[data-design="5"] .d5-story-grid { grid-template-columns: minmax(0, 1fr); border-radius: 26px; }
  html[data-design="5"] .d5-story-fig { min-height: 0; aspect-ratio: 4 / 3; }
  html[data-design="5"] .d5-story-copy { padding: 8px 10px 14px; }
}

/* ---------- visit ---------- */
html[data-design="5"] .d5-visit { padding-top: 0; }
html[data-design="5"] .d5-branches { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
html[data-design="5"] .d5-branches[data-n="1"] { grid-template-columns: minmax(0, 1fr); }
html[data-design="5"] .d5-branch {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: start;
  padding: 18px; border-radius: 22px; background: var(--ps-surface);
}
html[data-design="5"] .d5-branch-pin {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: var(--d5-tint); color: var(--d5-ink-accent);
}
html[data-design="5"] .d5-branch h3 { font: 600 1.2rem/1.4 var(--ps-font-display); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
html[data-design="5"] .d5-branch p { color: var(--ps-muted); font-size: .94rem; margin-top: 2px; }
html[data-design="5"] .d5-branch-act { grid-column: 2; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
html[data-design="5"] .d5-branches[data-n="1"] .d5-branch { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; }
html[data-design="5"] .d5-branches[data-n="1"] .d5-branch-act { grid-column: 3; margin-top: 0; }
html[data-design="5"] .d5-reach {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 12px; padding: 14px 14px 14px 22px; border-radius: 22px; background: var(--d5-inv); color: var(--d5-on-inv);
}
html[data-design="5"][dir="rtl"] .d5-reach { padding: 14px 22px 14px 14px; }
html[data-design="5"] .d5-phone {
  display: inline-flex; align-items: center; gap: 12px; min-height: 48px;
  font: 600 clamp(1.3rem, 2.6vw, 1.7rem) var(--ps-font-display); font-variant-numeric: tabular-nums;
  text-decoration: none; white-space: nowrap;
}
html[data-design="5"] .d5-socials { display: flex; align-items: center; gap: 6px; }
html[data-design="5"] .d5-socials > span { font-size: .9rem; margin-inline-end: 6px; }
html[data-design="5"] .d5-social {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: color-mix(in srgb, currentColor 12%, transparent); color: inherit;
  transition: background-color .15s ease;
}
html[data-design="5"] .d5-social:hover { background: color-mix(in srgb, currentColor 22%, transparent); }
@media (max-width: 860px) {
  html[data-design="5"] .d5-branches { grid-template-columns: minmax(0, 1fr); }
  html[data-design="5"] .d5-branches[data-n="1"] .d5-branch { grid-template-columns: auto minmax(0, 1fr); }
  html[data-design="5"] .d5-branches[data-n="1"] .d5-branch-act { grid-column: 2; margin-top: 10px; }
}
@media (max-width: 420px) {
  html[data-design="5"] .d5-branch { grid-template-columns: minmax(0, 1fr); }
  html[data-design="5"] .d5-branches[data-n="1"] .d5-branch { grid-template-columns: minmax(0, 1fr); }
  html[data-design="5"] .d5-branch-pin { display: none; }
  html[data-design="5"] .d5-branch-act,
  html[data-design="5"] .d5-branches[data-n="1"] .d5-branch-act { grid-column: 1; }
  html[data-design="5"] .d5-socials > span { display: none; }
}

/* ---------- footer ---------- */
html[data-design="5"] .d5-foot { padding-block: 40px 32px; border-top: 1px solid var(--ps-line); }
html[data-design="5"] .d5-foot-in { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 16px 28px; }
html[data-design="5"] .d5-foot-brand { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
html[data-design="5"] .d5-foot-logo { height: 44px; color: var(--d5-ink-accent); }
html[data-design="5"] .d5-foot-brand p { color: var(--ps-muted); }
html[data-design="5"] .d5-foot-nav { display: flex; flex-wrap: wrap; gap: 4px; }
html[data-design="5"] .d5-foot-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 12px;
  text-decoration: none; font-weight: 500;
}
html[data-design="5"] .d5-foot-nav a:hover { background: var(--ps-surface-2); }
html[data-design="5"] .d5-foot .d5-social { background: var(--ps-surface); }
html[data-design="5"] .d5-rights { grid-column: 1 / -1; color: var(--ps-muted); font-size: .85rem; }
@media (max-width: 860px) {
  html[data-design="5"] .d5-foot-in { grid-template-columns: minmax(0, 1fr); justify-items: start; }
}

/* ---------- engine chrome in this design's voice ---------- */
html[data-design="5"] .ps-cartbar { border-radius: 18px; min-height: 56px; }
html[data-design="5"] .ps-cartbar-ico { border-radius: 12px; }
html[data-design="5"] .ps-drawer { border-start-start-radius: 24px; border-end-start-radius: 24px; }
html[data-design="5"] .ps-btn { border-radius: 14px; }
html[data-design="5"] .ps-line-qty { border-radius: 12px; }
html[data-design="5"] .ps-toast { border-radius: 16px; }
@media (max-width: 480px) {
  html[data-design="5"] .ps-drawer { border-radius: 0; }
}
