/* =====================================================================
   Digital Center — the customer side (every page that is not the panel).
   One header, one footer, one set of components; colours and type from the shop's
   template (blue / red / green, Noto Sans Arabic and Noto Kufi Arabic).
   Loaded after app.css; every class here starts with "dc-" (the panel is not affected).
   Logical properties only: right-to-left and left-to-right both work.
   ===================================================================== */

@font-face {
  font-family: "Noto Sans Arabic";
  src: url("../fonts/noto-sans-arabic-arabic.woff2") format("woff2");
  font-weight: 100 900; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Noto Sans Arabic";
  src: url("../fonts/noto-sans-arabic-latin.woff2") format("woff2");
  font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Noto Kufi Arabic";
  src: url("../fonts/noto-kufi-arabic-arabic.woff2") format("woff2");
  font-weight: 100 900; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Noto Kufi Arabic";
  src: url("../fonts/noto-kufi-arabic-latin.woff2") format("woff2");
  font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body.dc {
  --blue: var(--brand, #0B5BA8);
  --blue-deep: var(--brand-dark, #083F78);
  --blue-soft: rgba(11, 91, 168, .08);
  --red: #C8142C;
  --green: #17A34A;
  --green-deep: #12853C;
  --bg: #F4F6FA;
  --card: #FFFFFF;
  --ink: #13203A;
  --muted: #5E6878;
  --line: #E3E8F0;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(19, 32, 58, .06), 0 2px 8px -2px rgba(19, 32, 58, .06);
  --shadow: 0 12px 32px -16px rgba(11, 91, 168, .35);
  --latin: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --kufi: "Noto Kufi Arabic", "Noto Sans Arabic", system-ui, sans-serif;
  margin: 0;
  /* svh: the screen with the browser bars showing, so a short page never scrolls (100vh is taller on phones) */
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans Arabic", system-ui, -apple-system, "Segoe UI", Roboto, Tahoma, sans-serif;
  line-height: 1.65;
}
.dc input, .dc button, .dc select, .dc textarea { font: inherit; }
/* :where() keeps plain links from beating the buttons' own colours */
:where(.dc) a { color: var(--blue); }
.dc h1, .dc h2, .dc h3 { font-family: var(--kufi); }
.dc-container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 16px; }
.dc-main { flex: 1; padding-block: 22px 64px; }
.dc-main.is-bleed { padding-top: 0; }
.dc-main > .dc-container > .dc-flash { margin-top: 0; }
.dc-section { margin-block: 34px; }
.dc-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.dc-section-head h2 { margin: 0; font-size: 1.3rem; font-weight: 800; }
.dc-section-head p { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }
.dc-link { font-weight: 700; text-decoration: none; white-space: nowrap; }
.dc-link:hover { text-decoration: underline; }

/* ---------- Header (identical on every page) ---------- */
.dc-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.6) blur(12px); backdrop-filter: saturate(1.6) blur(12px);
  border-block-end: 1px solid var(--line);
}
.dc-header-in { display: flex; align-items: center; gap: 14px; min-height: 68px; }
.dc-brand { flex: none; display: flex; align-items: center; }
.dc-brand img { height: 40px; width: auto; }
.dc-nav { display: none; align-items: center; gap: 4px; min-width: 0; }
.dc-nav a { padding: 8px 14px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .96rem; white-space: nowrap; }
.dc-nav a:hover { background: var(--blue-soft); color: var(--blue); }
.dc-nav a.is-on { background: var(--blue-soft); color: var(--blue); font-weight: 700; }
/* Parts drawn only by the glass design (site-glass.css): menu icons, stat icons, tile arrows. */
.dc-nav-ico, .dc-stat-ico, .dc-cat-go { display: none; }
.dc-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.dc-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 44px; min-width: 44px; padding: 0 12px;
  border: 1.5px solid var(--line); border-radius: 14px; background: var(--card);
  color: var(--ink); font-weight: 600; font-size: .92rem; text-decoration: none; cursor: pointer; list-style: none;
}
.dc-pill::-webkit-details-marker { display: none; }
.dc-pill:hover, .dc-dd[open] > .dc-pill { border-color: rgba(11, 91, 168, .4); color: var(--blue); }
.dc-pill svg { width: 20px; height: 20px; flex: none; }
.dc-pill .dc-chev { width: 14px; height: 14px; color: var(--muted); }
.dc-pill-flag { padding: 0 10px; }
.dc-pill-text { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-account .dc-pill-text, .dc-branch-dd { display: none; }
.dc-flag { display: block; flex: none; width: 28px; height: 19px; border-radius: 4px; overflow: hidden; box-shadow: 0 0 0 1px rgba(19, 32, 58, .14); }
.dc-flag svg { display: block; width: 100%; height: 100%; }
.dc-flag-code { display: grid; place-items: center; width: 28px; height: 19px; border-radius: 4px; background: var(--blue-soft); color: var(--blue); font: 700 .7rem var(--latin); text-transform: uppercase; }

.dc-dd { position: relative; }
.dc-dd-panel {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 60;
  min-width: 230px; max-height: min(70vh, 520px); overflow-y: auto; padding: 8px;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 18px 40px -14px rgba(19, 32, 58, .35);
}
.dc-dd-narrow { min-width: 180px; }
.dc-dd-title { margin: 6px 10px 6px; font-size: .8rem; font-weight: 700; color: var(--muted); }
.dc-dd-list { display: grid; gap: 2px; margin: 0; }
.dc-dd-item {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 10px 12px; border: 0; border-radius: 10px; background: none;
  color: var(--ink); font-weight: 600; font-size: .95rem; text-align: start; text-decoration: none; cursor: pointer;
}
.dc-dd-list .dc-dd-item { flex-direction: column; align-items: flex-start; gap: 0; }
.dc-dd-item small { color: var(--muted); font-weight: 500; font-size: .8rem; }
.dc-dd-item:hover, .dc-dd-item:focus-visible { background: #F1F5FB; outline: none; }
.dc-dd-item.is-on, .dc-dd-item[aria-current="true"] { background: var(--blue-soft); color: var(--blue); }
.dc-dd-menu .dc-dd-item { font-size: 1rem; }

@media (min-width: 900px) {
  .dc-nav { display: flex; }
  .dc-burger { display: none; }
  .dc-branch-dd { display: block; }
  .dc-account .dc-pill-text { display: inline; }
}

/* ---------- Footer (identical on every page) ---------- */
.dc-foot { background: var(--card); border-block-start: 1px solid var(--line); margin-top: auto; }
.dc-foot-in { display: grid; gap: 24px; padding-block: 32px 18px; }
.dc-foot-brand img { height: 46px; width: auto; }
.dc-foot-brand p { margin: 10px 0 0; color: var(--muted); font-size: .92rem; max-width: 34ch; }
.dc-foot-col { display: flex; flex-direction: column; gap: 6px; }
.dc-foot-col h2 { margin: 0 0 4px; font-size: .9rem; font-weight: 800; color: var(--ink); }
.dc-foot-col a { color: var(--muted); text-decoration: none; font-size: .92rem; width: fit-content; }
.dc-foot-col a:hover { color: var(--blue); }
.dc-foot-bottom { padding-block: 14px 22px; border-block-start: 1px solid var(--line); color: var(--muted); font: 500 .82rem var(--latin); text-align: center; }
@media (min-width: 760px) { .dc-foot-in { grid-template-columns: 1.4fr 1fr 1fr; } }

.dc-fab {
  position: fixed; inset-inline-end: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 40;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--green); color: #fff; box-shadow: 0 12px 28px -8px rgba(23, 163, 74, .7);
}
.dc-fab:hover { background: var(--green-deep); color: #fff; }
.dc-fab svg { width: 28px; height: 28px; }

/* ---------- Buttons ---------- */
.dc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; max-width: 100%; overflow-wrap: anywhere;
  min-height: 50px; padding: 0 22px; border-radius: 14px; border: 0;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background .15s, transform .15s, box-shadow .15s;
}
.dc-btn:active { transform: scale(.98); }
.dc-btn svg { width: 20px; height: 20px; flex: none; }
.dc-btn-primary { background: var(--blue); color: #fff; }
.dc-btn-primary:hover { background: var(--blue-deep); color: #fff; }
.dc-btn-white { background: #fff; color: var(--blue-deep); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .35); }
.dc-btn-white:hover { background: #F1F5FB; color: var(--blue-deep); }
.dc-btn-green { background: var(--green); color: #fff; }
.dc-btn-green:hover { background: var(--green-deep); color: #fff; }
.dc-btn-ghost { background: rgba(255, 255, 255, .14); color: #fff; border: 1.5px solid rgba(255, 255, 255, .45); }
.dc-btn-ghost:hover { background: rgba(255, 255, 255, .22); color: #fff; }
.dc-btn-outline { background: var(--card); color: var(--blue); border: 1.5px solid rgba(11, 91, 168, .35); }
.dc-btn-outline:hover { background: var(--blue-soft); color: var(--blue); }
.dc-btn-block { width: 100%; }

/* ---------- Search box and its results (template's search) ---------- */
.dc-search-wrap { position: relative; z-index: 30; }
.dc-backdrop { position: fixed; inset: 0; z-index: 0; -webkit-tap-highlight-color: transparent; }
.dc-backdrop[hidden] { display: none; }
.dc-search-box { position: relative; z-index: 3; flex: 1; min-width: 0; }
.dc-search-box > svg { position: absolute; top: 50%; inset-inline-start: 16px; width: 20px; height: 20px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.dc-search-box input {
  width: 100%; height: 54px; margin: 0;
  padding: 0 14px; padding-inline-start: 46px;
  border: 1.5px solid var(--line); border-radius: 16px; background: var(--card); color: var(--ink);
  font-size: 1rem; outline: none; -webkit-appearance: none; appearance: none;
  transition: border-color .15s, box-shadow .15s;
}
.dc-search-box input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11, 91, 168, .14); }
.dc-out {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 2;
  max-height: min(62vh, 460px); overflow-y: auto; overscroll-behavior: contain; padding: 10px;
  background: rgba(246, 249, 253, .82);
  -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, .8); border-radius: 18px;
  box-shadow: 0 24px 48px -20px rgba(19, 32, 58, .5);
  color: var(--ink); text-align: start;
}
.dc-out[hidden] { display: none; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .dc-out { background: rgba(246, 249, 253, .98); } }
.dc-status { margin: 2px 4px 8px; font-size: .88rem; color: var(--muted); }
.dc-status:empty { display: none; }
.dc-status.is-err { color: var(--red); }
.dc-results { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.dc-results:empty { display: none; }
.dc-results li {
  display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px;
  border: 1px solid rgba(227, 232, 240, .9); border-radius: 12px; background: rgba(255, 255, 255, .9);
  font-family: var(--latin); font-size: .9rem; font-weight: 600; line-height: 1.45; cursor: pointer;
  transition: background .15s, border-color .15s;
}
.dc-results li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--green); }
.dc-results li:hover, .dc-results li:focus-visible { background: #fff; border-color: var(--green); outline: none; }
.dc-results li > .dc-rn { flex: 1; direction: ltr; text-align: left; unicode-bidi: plaintext; }
.dc-results li > .dc-rp { flex: none; color: var(--blue-deep); font-weight: 700; white-space: nowrap; }
.dc-results mark, .dc-rname mark { background: none; color: var(--blue); }
.dc-out-all { display: block; margin: 8px 4px 2px; font-size: .9rem; font-weight: 700; color: var(--blue); text-decoration: none; }
.dc-out-all[hidden] { display: none; }

/* ---------- Home: hero ---------- */
.dc-hero {
  position: relative; color: #fff;
  background:
    radial-gradient(60% 80% at 85% 0%, rgba(255, 255, 255, .16), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(200, 20, 44, .35), transparent 65%),
    linear-gradient(135deg, var(--blue-deep), var(--blue) 60%, #1673C9);
}
.dc-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 5px; background: linear-gradient(90deg, var(--blue) 0 50%, var(--red) 50% 100%); }
.dc-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; align-items: center; padding-block: 34px 46px; }
.dc-hero-in > * { min-width: 0; }
.dc-hero-text { min-width: 0; }
.dc-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: .88rem; font-weight: 600; }
.dc-eyebrow svg { width: 16px; height: 16px; flex: none; }
.dc-hero h1 { margin: 0 0 10px; font-size: clamp(1.7rem, 5vw, 2.7rem); line-height: 1.3; font-weight: 800; color: #fff; }
.dc-hero-lead { margin: 0 0 22px; font-size: 1.06rem; color: rgba(255, 255, 255, .88); max-width: 46ch; }
.dc-hero .dc-search-box input { height: 58px; border-color: transparent; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .45); }
.dc-hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; position: relative; z-index: 1; }
/* Phones: the two hero buttons side by side (text may take two lines on very narrow screens). */
@media (max-width: 899px) {
  .dc-hero-ctas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .dc-hero-ctas .dc-btn { min-width: 0; padding: 6px 10px; gap: 6px; font-size: .92rem; line-height: 1.3; text-align: center; }
  .dc-hero-ctas .dc-btn svg { width: 18px; height: 18px; }
  .dc-hero-ctas .dc-btn:only-child { grid-column: 1 / -1; }
}
/* Narrow phones: the words matter more than the icons, so each label stays on one line. */
@media (max-width: 439px) {
  .dc-hero-ctas .dc-btn { font-size: .9rem; padding-inline: 8px; }
  .dc-hero-ctas .dc-btn svg { display: none; }
  .dc-hero-ctas .dc-btn:only-child svg { display: block; }
}
.dc-hero-card {
  position: relative; background: #fff; color: var(--ink); border-radius: 24px; padding: 22px 20px 18px;
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .55);
}
.dc-hero-logo { display: block; width: 100%; max-width: 300px; height: auto; margin: 0 auto; }
.dc-hero-tag { margin: 10px 0 0; text-align: center; font-family: var(--kufi); font-weight: 600; color: var(--blue-deep); }
.dc-hero-branch { margin-top: 18px; padding-top: 16px; border-block-start: 1px solid var(--line); }
.dc-hero-branch .dc-branch-head { margin-bottom: 4px; }
.dc-hero-branch h2 { margin: 0; font-size: 1.05rem; font-weight: 800; line-height: 1.4; }
.dc-hero-more { display: inline-block; margin-top: 12px; font-size: .92rem; }
@media (max-width: 899px) {
  /* On phones the header already shows the logo: the card is the chosen branch's quick contact. */
  .dc-hero-card.has-branch .dc-hero-logo, .dc-hero-card.has-branch .dc-hero-tag { display: none; }
  .dc-hero-card.has-branch .dc-hero-branch { margin-top: 0; padding-top: 0; border: 0; }
}
@media (min-width: 900px) {
  .dc-hero-in { grid-template-columns: 1.25fr 1fr; padding-block: 56px 70px; gap: 48px; }
}

/* ---------- Home: stats, categories, call to action ---------- */
.dc-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: -30px; position: relative; z-index: 2; }
.dc-stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-sm); }
.dc-stat strong { display: block; font: 800 1.5rem var(--latin); color: var(--blue-deep); line-height: 1.2; unicode-bidi: isolate; }
.dc-stat span { color: var(--muted); font-size: .88rem; font-weight: 600; }
@media (min-width: 760px) { .dc-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.dc-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dc-cat {
  display: flex; align-items: center; gap: 12px; padding: 14px; min-height: 74px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-decoration: none; box-shadow: var(--shadow-sm); transition: border-color .15s, transform .15s, box-shadow .15s;
}
.dc-cat:hover { border-color: rgba(11, 91, 168, .4); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.dc-cat-ico { flex: none; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.dc-cat-ico svg { width: 22px; height: 22px; }
.dc-cat > span:last-child { min-width: 0; }
.dc-cat b { display: block; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
@media (max-width: 359px) { .dc-cat { gap: 8px; padding: 12px 10px; } .dc-cat-ico { width: 36px; height: 36px; } }
.dc-cat small { color: var(--muted); font-weight: 600; }
.dc-cat.is-all { background: var(--blue); border-color: var(--blue); color: #fff; }
.dc-cat.is-all .dc-cat-ico { background: rgba(255, 255, 255, .16); color: #fff; }
.dc-cat.is-all small { color: rgba(255, 255, 255, .8); }
@media (min-width: 760px) { .dc-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.dc-cta {
  display: grid; gap: 18px; align-items: center; padding: 26px 22px; border-radius: 24px; color: #fff;
  background: radial-gradient(70% 120% at 100% 0%, rgba(255, 255, 255, .18), transparent 60%), linear-gradient(135deg, var(--green-deep), var(--green));
  box-shadow: 0 20px 40px -24px rgba(23, 163, 74, .8);
}
.dc-cta h2 { margin: 0 0 6px; font-size: 1.35rem; font-weight: 800; color: #fff; }
.dc-cta p { margin: 0; color: rgba(255, 255, 255, .9); }
.dc-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 760px) { .dc-cta { grid-template-columns: 1fr auto; padding: 30px 34px; } }

/* ---------- Branch cards (home and contact) ---------- */
.dc-branches-grid { display: grid; gap: 14px; align-items: start; }
@media (min-width: 760px) { .dc-branches-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .dc-branches-grid.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dc-branch { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.dc-branch-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.dc-pin { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(200, 20, 44, .09); color: var(--red); }
.dc-pin svg { width: 21px; height: 21px; }
.dc-branch h3 { margin: 0; font-size: 1.08rem; font-weight: 800; line-height: 1.4; }
.dc-addr { margin: 0; color: var(--muted); font-size: .93rem; }
.dc-phone { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px; padding-inline-start: 14px; margin-top: 8px; border: 1px solid var(--line); border-radius: 14px; background: #FAFBFD; }
.dc-num { font-family: var(--latin); font-size: 1.06rem; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .02em; unicode-bidi: isolate; white-space: nowrap; }
.dc-acts { display: flex; gap: 8px; flex: none; }
.dc-acts a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; color: #fff; text-decoration: none; transition: background .15s, transform .15s; }
.dc-acts a:active { transform: scale(.97); }
.dc-acts svg { width: 21px; height: 21px; flex: none; }
.dc-call { background: var(--blue); }
.dc-call:hover, .dc-call:focus-visible { background: var(--blue-deep); color: #fff; }
.dc-wa { background: var(--green); }
.dc-wa:hover, .dc-wa:focus-visible { background: var(--green-deep); color: #fff; }
.dc-navbtn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; margin-top: auto; padding-top: 0; border-radius: 14px; background: var(--blue); color: #fff; text-decoration: none; font-weight: 700; font-size: .96rem; transition: background .15s; }
.dc-branch .dc-navbtn { margin-top: 12px; }
.dc-navbtn:hover, .dc-navbtn:focus-visible { background: var(--blue-deep); color: #fff; }
.dc-navbtn svg { width: 19px; height: 19px; }
.dc-branch.is-soon { border-style: dashed; background: rgba(255, 255, 255, .65); box-shadow: none; }
.dc-branch.is-soon .dc-branch-head { margin-bottom: 0; }
.dc-branch.is-soon .dc-pin { background: var(--blue-soft); color: var(--blue); }
.dc-soon { margin-inline-start: auto; flex: none; background: var(--red); color: #fff; font-size: .8rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
/* Very small phones (320px): a number and its two buttons still fit inside a card. */
@media (max-width: 359px) {
  .dc-branch, .dc-hero-card { padding-inline: 14px; }
  .dc-phone { gap: 6px; padding-inline-start: 10px; }
  .dc-num { font-size: .98rem; letter-spacing: 0; }
  .dc-acts { gap: 6px; }
  .dc-acts a { width: 40px; height: 40px; }
}

/* ---------- Social buttons ---------- */
.dc-social { display: grid; gap: 10px; }
.dc-sbtn { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; min-height: 58px; padding: 10px 16px; border-radius: 16px; text-decoration: none; font-weight: 700; transition: transform .15s, background .15s; }
.dc-sbtn:active { transform: scale(.99); }
.dc-sbtn .dc-ico { width: 36px; height: 36px; flex: none; border-radius: 11px; display: grid; place-items: center; }
.dc-sbtn .dc-ico svg { width: 20px; height: 20px; }
.dc-sbtn .dc-sub { margin-inline-start: auto; min-width: 0; overflow-wrap: anywhere; font-family: var(--latin); font-size: .85rem; font-weight: 600; opacity: .8; unicode-bidi: isolate; }
.dc-sbtn.is-ig { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.dc-sbtn.is-ig .dc-ico { background: rgba(200, 20, 44, .09); color: var(--red); }
.dc-sbtn.is-ig:hover { border-color: var(--red); color: var(--ink); }
.dc-sbtn.is-group, .dc-sbtn.is-wa { background: var(--green); color: #fff; box-shadow: 0 8px 20px -12px rgba(23, 163, 74, .9); }
.dc-sbtn.is-group .dc-ico, .dc-sbtn.is-wa .dc-ico { background: rgba(255, 255, 255, .18); color: #fff; }
.dc-sbtn.is-group:hover, .dc-sbtn.is-wa:hover { background: var(--green-deep); color: #fff; }
.dc-sbtn .dc-chev-s { width: 18px; height: 18px; flex: none; opacity: .7; margin-inline-start: auto; }
html[dir="rtl"] .dc-sbtn .dc-chev-s { transform: scaleX(-1); }

/* ---------- Page title band (prices, contact, content pages) ---------- */
.dc-pagehead { margin-bottom: 18px; }
.dc-pagehead h1 { margin: 0; font-size: clamp(1.45rem, 4vw, 2rem); font-weight: 800; }
.dc-pagehead p { margin: 6px 0 0; color: var(--muted); }
/* minmax(0, 1fr): a long word (an Instagram handle) wraps instead of widening the column past the screen */
.dc-contact-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; }
.dc-contact-layout > * { min-width: 0; }
@media (min-width: 980px) { .dc-contact-layout { grid-template-columns: 2fr 1fr; } }
.dc-side { display: grid; gap: 12px; }
@media (min-width: 980px) { .dc-side { position: sticky; top: 86px; } }
.dc-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
.dc-card h2 { margin: 0 0 8px; font-size: 1.05rem; font-weight: 800; }
.dc-card p { color: var(--muted); }

/* ---------- Price list ---------- */
.dc-branches { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.dc-branches form { display: contents; }
.dc-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); font-weight: 600; font-size: .92rem; cursor: pointer; text-decoration: none; }
.dc-chip svg { width: 16px; height: 16px; flex: none; }
.dc-chip.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.dc-meta { margin: 0 0 14px; font-size: .88rem; color: var(--muted); }
/* the shadow fills the gap under the header, so rows never show between header and search box */
.dc-psearch { position: sticky; top: 78px; z-index: 5; margin-bottom: 10px; box-shadow: 0 -10px 0 var(--bg); }
.dc-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; margin-bottom: 4px; scrollbar-width: none; }
.dc-tabs::-webkit-scrollbar { display: none; }
.dc-tab { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); font-weight: 700; font-size: .92rem; text-decoration: none; white-space: nowrap; }
.dc-tab small { font-family: var(--latin); font-weight: 600; color: var(--muted); }
.dc-tab:hover { border-color: rgba(11, 91, 168, .4); color: var(--ink); }
.dc-tab.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.dc-tab.is-on small { color: rgba(255, 255, 255, .8); }
.dc-table { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
/* Fixed widths for quantity and price, so every row lines up under the header. */
.dc-thead, .dc-row { display: grid; grid-template-columns: minmax(0, 1fr) 4.6rem 6rem; align-items: center; gap: 8px; padding: 11px 12px; }
.dc-table.no-stock .dc-thead, .dc-table.no-stock .dc-row { grid-template-columns: minmax(0, 1fr) 6rem; }
.dc-table.no-price .dc-thead, .dc-table.no-price .dc-row { grid-template-columns: minmax(0, 1fr) 4.6rem; }
.dc-table.no-stock.no-price .dc-thead, .dc-table.no-stock.no-price .dc-row { grid-template-columns: minmax(0, 1fr); }
.dc-h-stock, .dc-rstock { justify-self: center; text-align: center; }
.dc-h-price, .dc-rprice { justify-self: end; text-align: end; }
.dc-thead { background: #F6F8FC; border-block-end: 1px solid var(--line); font-size: .8rem; font-weight: 700; color: var(--muted); }
.dc-rows { list-style: none; margin: 0; padding: 0; }
.dc-row { border-block-end: 1px solid var(--line); cursor: pointer; transition: background .12s; }
.dc-row:last-child { border-block-end: 0; }
.dc-row:hover, .dc-row:focus-visible { background: #F7FAFF; outline: none; }
.dc-row[hidden] { display: none; }
.dc-rmain { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dc-rname { font-family: var(--latin); font-weight: 600; font-size: .95rem; line-height: 1.45; overflow-wrap: anywhere; unicode-bidi: plaintext; }
html[dir="rtl"] .dc-rname { text-align: right; }
html[dir="ltr"] .dc-rname { text-align: left; }
.dc-rcat { font-size: .78rem; color: var(--muted); }
.dc-table.is-cat .dc-rcat { display: none; }
.dc-rstock { font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.dc-rstock.is-in { background: rgba(23, 163, 74, .12); color: var(--green-deep); }
.dc-rstock.is-out { background: rgba(200, 20, 44, .1); color: var(--red); }
.dc-rstock.is-num { background: var(--blue-soft); color: var(--blue-deep); font-family: var(--latin); }
.dc-rprice { font-family: var(--latin); font-weight: 800; color: var(--blue-deep); white-space: nowrap; unicode-bidi: isolate; }
.dc-rprice.is-ask { font-family: inherit; font-weight: 700; font-size: .85rem; color: var(--green-deep); }
.dc-empty { padding: 18px 14px; margin: 0; color: var(--muted); text-align: center; }
.dc-empty[hidden] { display: none; }
.dc-hint { margin: 10px 4px 0; font-size: .82rem; color: var(--muted); text-align: center; }
.dc-alert { margin: 0 0 12px; padding: 12px 14px; border-radius: 14px; background: var(--blue-soft); color: var(--blue-deep); font-size: .92rem; }
.dc-alert a { font-weight: 700; }
@media (min-width: 700px) {
  .dc-thead, .dc-row { padding-inline: 18px; grid-template-columns: minmax(0, 1fr) 7rem 9rem; }
  .dc-table.no-stock .dc-row, .dc-table.no-stock .dc-thead { grid-template-columns: minmax(0, 1fr) 9rem; }
  .dc-table.no-price .dc-row, .dc-table.no-price .dc-thead { grid-template-columns: minmax(0, 1fr) 7rem; }
}

/* ---------- Slider (page builder): one picture at a time, title / text / button over it ---------- */
.dc-slider { position: relative; overflow: hidden; border-radius: var(--radius); background: #0F1A22; box-shadow: var(--shadow-sm); }
.dc-slider-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.dc-slider-track::-webkit-scrollbar { display: none; }
.dc-slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 21 / 9; }
.dc-slider.h-sm .dc-slide { aspect-ratio: 3 / 1; }
.dc-slider.h-lg .dc-slide { aspect-ratio: 16 / 9; }
.dc-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dc-slide-link { display: block; height: 100%; }
.dc-slide-cap { position: absolute; inset: auto 0 0 0; padding: 60px 24px 40px; color: #fff; background: linear-gradient(to top, rgba(6, 12, 18, .85), rgba(6, 12, 18, .4) 60%, transparent); }
.dc-slide-cap h3 { margin: 0 0 4px; font-size: clamp(1.15rem, 3.2vw, 1.9rem); font-weight: 800; line-height: 1.3; color: #fff; }
.dc-slide-cap p { margin: 0 0 12px; max-width: 60ch; color: rgba(255, 255, 255, .9); font-size: .98rem; }
.dc-slide-cap p:last-child { margin-bottom: 0; }
.dc-slide-btn { min-height: 44px; padding: 0 18px; }
.dc-sl-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35); background: rgba(10, 18, 26, .45); color: #fff; cursor: pointer;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.dc-sl-arrow:hover { background: rgba(10, 18, 26, .7); }
.dc-sl-arrow svg { width: 20px; height: 20px; }
.dc-sl-prev { inset-inline-start: 12px; }
.dc-sl-next { inset-inline-end: 12px; }
.dc-sl-prev svg { transform: scaleX(-1); }
html[dir="rtl"] .dc-sl-prev svg { transform: none; }
html[dir="rtl"] .dc-sl-next svg { transform: scaleX(-1); }
.dc-sl-dots { position: absolute; inset-inline: 0; bottom: 6px; z-index: 2; display: flex; justify-content: center; gap: 2px; }
.dc-sl-dots button { position: relative; width: 26px; height: 26px; padding: 0; border: 0; background: none; cursor: pointer; }
.dc-sl-dots button::before { content: ""; position: absolute; top: 9px; inset-inline-start: 9px; width: 8px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .55); transition: width .2s, inset-inline-start .2s, background .2s; }
.dc-sl-dots button.is-on::before { width: 18px; inset-inline-start: 4px; background: #fff; }
@media (max-width: 699px) {
  .dc-slide { aspect-ratio: 4 / 3; }
  .dc-slider.h-sm .dc-slide { aspect-ratio: 2 / 1; }
  .dc-slider.h-lg .dc-slide { aspect-ratio: 4 / 5; }
  .dc-slide-cap { padding: 40px 16px 34px; }
  .dc-sl-arrow { display: none; }
}

/* ---------- Stories: circles at the top of the home page ---------- */
.dc-stories { padding-block: 14px 2px; }
.dc-stories-row { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: none; }
.dc-stories-row::-webkit-scrollbar { display: none; }
.dc-story { flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 78px; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; cursor: pointer; }
.dc-story-ring {
  display: block; flex: none; width: 74px; height: 74px; padding: 3px; border-radius: 50%;
  background: conic-gradient(from 210deg, var(--blue), #3FA0F5, var(--red), #F59E0B, var(--blue)); transition: transform .15s;
}
.dc-story:hover .dc-story-ring { transform: scale(1.04); }
.dc-story:focus-visible { outline: none; }
.dc-story:focus-visible .dc-story-ring { box-shadow: 0 0 0 3px rgba(11, 91, 168, .35); }
/* A fixed size: a percentage height would not hold the (often tall) picture to a circle. */
.dc-story-ring img { display: block; width: 68px; height: 68px; max-width: none; border-radius: 50%; object-fit: cover; border: 3px solid var(--bg); background: var(--card); }
.dc-story.is-seen .dc-story-ring { background: #C3CCD8; }
.dc-story-name { max-width: 78px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .78rem; font-weight: 600; }

/* The viewer: full screen on phones, a tall card on larger screens. */
html.dc-sv-open, html.dc-sv-open body { overflow: hidden; }
.dc-sv { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(4, 8, 12, .94); touch-action: none; -webkit-user-select: none; user-select: none; }
.dc-sv[hidden] { display: none; }
.dc-sv-frame { position: relative; width: 100%; height: 100%; max-width: 480px; overflow: hidden; background: #000; }
@media (min-width: 600px) { .dc-sv-frame { height: min(92vh, 860px); border-radius: 18px; } }
.dc-sv-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .15s; }
.dc-sv.is-loading .dc-sv-img { opacity: .3; }
.dc-sv-top { position: absolute; inset: 0 0 auto 0; z-index: 3; padding: calc(10px + env(safe-area-inset-top)) 12px 28px; background: linear-gradient(to bottom, rgba(0, 0, 0, .6), transparent); pointer-events: none; }
.dc-sv-bars { display: flex; gap: 4px; }
.dc-sv-bars span { flex: 1; height: 3px; overflow: hidden; border-radius: 3px; background: rgba(255, 255, 255, .35); }
.dc-sv-bars i { display: block; width: 100%; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left center; }
html[dir="rtl"] .dc-sv-bars i { transform-origin: right center; }
.dc-sv-bars span.is-done i { transform: scaleX(1); }
.dc-sv-bars span.is-run i { animation: dc-sv-fill 5s linear forwards; }
.dc-sv.is-paused .dc-sv-bars span.is-run i { animation-play-state: paused; }
@keyframes dc-sv-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.dc-sv-head { display: flex; align-items: center; gap: 10px; margin-top: 10px; color: #fff; }
.dc-sv-ava { width: 34px; height: 34px; flex: none; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, .85); }
.dc-sv-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .95rem; font-weight: 600; }
.dc-sv-close { display: grid; place-items: center; width: 44px; height: 44px; margin-inline-end: -6px; padding: 0; border: 0; border-radius: 50%; background: none; color: #fff; cursor: pointer; pointer-events: auto; }
.dc-sv-close svg { width: 24px; height: 24px; }
.dc-sv-nav { position: absolute; top: 80px; bottom: 90px; z-index: 2; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.dc-sv-prev { inset-inline-start: 0; width: 35%; }
.dc-sv-next { inset-inline-end: 0; width: 65%; }
.dc-sv-nav:focus-visible { outline: 2px solid rgba(255, 255, 255, .6); outline-offset: -6px; }
.dc-sv-link { position: absolute; z-index: 3; inset-inline: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); }
.dc-sv-link[hidden] { display: none; }

/* ---------- What the site does (home) ---------- */
.dc-features { display: grid; gap: 12px; }
.dc-feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.dc-feature-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); margin-bottom: 12px; }
.dc-feature-ico.is-green { background: rgba(23, 163, 74, .12); color: var(--green-deep); }
.dc-feature-ico svg { width: 22px; height: 22px; }
.dc-feature h3 { margin: 0 0 6px; font-size: 1.05rem; font-weight: 800; }
.dc-feature p { margin: 0; color: var(--muted); font-size: .94rem; }
@media (min-width: 760px) { .dc-features { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Page builder blocks (home and content pages) ---------- */
.dc-heading h2 { margin: 0; font-size: 1.4rem; font-weight: 800; }
.dc-heading.size-xl h2 { font-size: clamp(1.6rem, 4.5vw, 2.3rem); }
.dc-heading.size-md h2 { font-size: 1.15rem; }
.dc-heading p { margin: 6px 0 0; color: var(--muted); font-size: 1.02rem; }
.dc-heading.align-center, .dc-prose.align-center, .dc-cta-line.align-center { text-align: center; }
.dc-heading.align-end, .dc-prose.align-end, .dc-cta-line.align-end { text-align: end; }
.dc-prose { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.dc-prose p { margin: 0 0 .8em; }
.dc-prose p:last-child { margin-bottom: 0; }
.dc-figure { margin-inline: 0; }
.dc-figure img { width: 100%; height: auto; border-radius: var(--radius); }
.dc-figure figcaption { margin-top: 8px; color: var(--muted); font-size: .9rem; text-align: center; }
.dc-banner img { width: 100%; height: auto; }
.dc-banner .banner-slide img { border-radius: var(--radius); }
@media (max-width: 699px) { .dc-banner { margin-inline: -16px; } .dc-banner .banner-slide img { border-radius: 0; } }
.dc-pagehead + .dc-section, .dc-pagehead + .dc-section-first { margin-top: 0; }
.dc-card-soft { background: linear-gradient(160deg, #fff, #F1F6FD); }
.dc-card-soft .dc-btn { margin-top: 6px; }

/* ---------- Forms, cards and alerts from app.css, in the same look ---------- */
.dc .card { border-radius: var(--radius); border-color: var(--line); box-shadow: var(--shadow-sm); }
.dc .btn { border-radius: 14px; min-height: 48px; font-weight: 700; }
.dc .btn-primary { background: var(--blue); border-color: var(--blue); }
.dc .btn-primary:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.dc .alert { border-radius: 14px; }
.dc-flash { margin-bottom: 16px; }
.dc .field input, .dc .field select, .dc .field textarea { border-radius: 12px; min-height: 48px; }
.dc .auth { max-width: 460px; margin: 10px auto 0; padding: 26px 22px; border-radius: 22px; box-shadow: var(--shadow); }
.dc .auth h1 { font-size: 1.4rem; font-weight: 800; }
.dc .page-title { font-family: var(--kufi); font-weight: 800; }
.dc .error-page { max-width: 520px; margin: 20px auto; padding: 34px 22px; border-radius: 22px; }

/* =====================================================================
   Phones (below 900px): the standard mobile frame.
   - Nothing may be wider than the screen (the page never scrolls sideways).
   - A fixed tab bar at the bottom (home, prices, WhatsApp, contact, account), above the
     home indicator; the page leaves room for it, the footer stays in the page.
   - Menus open as sheets under the header, never off the screen.
   - The tab bar steps aside while typing, so it does not ride on the keyboard.
   ===================================================================== */
html { overflow-x: hidden; scroll-padding-top: 84px; }
@supports (overflow: clip) { html, body.dc { overflow-x: clip; } }
body.dc { -webkit-tap-highlight-color: transparent; }
.dc-tabbar { display: none; }
@media (max-width: 899px) {
  body.dc { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .dc-account, .dc-fab { display: none; }
  .dc-header-in { min-height: 62px; gap: 10px; }
  .dc-brand img { height: 36px; }
  .dc-dd { position: static; }
  .dc-dd-panel {
    position: fixed; top: calc(62px + 6px); inset-inline: 12px; min-width: 0;
    max-height: calc(100svh - 62px - 90px - env(safe-area-inset-bottom));
  }
  .dc-psearch { top: 70px; }
  .dc-tabbar {
    position: fixed; inset-inline: 0; bottom: 0; z-index: 45;
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); align-items: end;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97);
    -webkit-backdrop-filter: saturate(1.6) blur(12px); backdrop-filter: saturate(1.6) blur(12px);
    border-block-start: 1px solid var(--line);
    box-shadow: 0 -8px 24px -16px rgba(19, 32, 58, .35);
  }
  body.dc-typing .dc-tabbar { display: none; }
  body.dc-typing { padding-bottom: 0; }
  .dc-tb {
    display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px;
    min-height: 52px; padding: 4px 2px; border-radius: 12px;
    color: var(--muted); text-decoration: none; font-size: .72rem; font-weight: 700; line-height: 1.2;
  }
  .dc-tb span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .dc-tb > svg { width: 24px; height: 24px; flex: none; }
  .dc-tb:hover, .dc-tb:focus-visible { color: var(--blue); }
  .dc-tb.is-on { color: var(--blue); }
  .dc-tb.is-on > svg { stroke-width: 2.4; }
  .dc-tb-ico {
    display: grid; place-items: center; width: 50px; height: 50px; margin-top: -24px; border-radius: 50%;
    background: var(--green); color: #fff; border: 4px solid #fff; box-shadow: 0 8px 18px -8px rgba(23, 163, 74, .9);
  }
  .dc-tb-ico svg { width: 24px; height: 24px; }
  .dc-tb-wa { color: var(--green-deep); }
}

@media (prefers-reduced-motion: reduce) { .dc * { transition: none !important; } }
