/* El-Abda3 store (order form elabda3_cart). Linked after design.css and the dark files by
   includes/hooks/el-abda3-store.php, only while this order form is in use. Colours come from the
   theme's tokens (design.css section 2; css/dark.css gives their dark values), so both themes
   work; the logo colour of a card is --tone, its soft background is mixed from it.
   Direction-neutral (logical properties), RTL first.
   1. Section page head   2. Product cards (shared)   3. Layout a: cards   4. Layout b: index rows
   5. Layout c: coupons   6. Layout preview switch   7. Order page   8. Phones */

/* ---------- 1. Section page head ---------- */
#main-body #order-standard_cart .ed-shop__head { margin: 0 0 22px; padding: 0 15px; }
#main-body #order-standard_cart .ed-shop__title { margin: 0; font-size: clamp(28px, 3.2vw, 40px); font-weight: 700; line-height: 1.2; color: var(--ed-text); text-wrap: balance; }
#main-body #order-standard_cart .ed-shop__lead { margin: 10px 0 0; max-width: 62ch; font-size: 17px; line-height: 1.7; color: var(--ed-muted); }

/* ---------- 2. Product cards: parts shared by the three layouts ---------- */
#order-standard_cart .ed-shop { --soft: color-mix(in srgb, var(--tone, #1e9fe0) 12%, var(--ed-surface)); padding: 0 15px; }
#order-standard_cart .ed-pk { --soft: color-mix(in srgb, var(--tone) 13%, var(--ed-surface)); position: relative; color: var(--ed-text); }
#order-standard_cart .ed-pk__icon {
  display: inline-flex; flex: none; align-items: center; justify-content: center; width: 52px; height: 52px;
  border-radius: 16px; background: var(--soft); color: var(--tone); font-size: 24px;
}
#order-standard_cart .ed-pk__name { margin: 0; font-size: 21px; font-weight: 700; line-height: 1.35; color: inherit; }
#order-standard_cart .ed-pk__tag { margin: 4px 0 0; font-size: 15.5px; font-weight: 500; line-height: 1.6; color: var(--ed-text-2); }
#order-standard_cart .ed-pk__desc { margin: 0; font-size: 14.5px; line-height: 1.8; color: var(--ed-muted); }
#order-standard_cart .ed-pk__specs { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; font-size: 14.5px; }
#order-standard_cart .ed-pk__specs li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--ed-line); }
#order-standard_cart .ed-pk__specs li:last-child { border-bottom: 0; }
#order-standard_cart .ed-pk__specs span { color: var(--ed-muted); }
#order-standard_cart .ed-pk__specs b { font-weight: 700; color: var(--ed-text); }
#order-standard_cart .ed-pk__facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
#order-standard_cart .ed-pk__facts li {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px;
  background: var(--ed-tint-f2f2ec); color: var(--ed-text); font-size: 13px; font-weight: 500; line-height: 1.5;
}
#order-standard_cart .ed-pk__facts li i { font-size: 12px; color: var(--tone); }
#order-standard_cart .ed-pk__facts .is-star { background: var(--ed-lime); color: var(--ed-ink); }
#order-standard_cart .ed-pk__facts .is-star i { color: var(--ed-ink); }
#order-standard_cart .ed-pk__ready { padding: 12px 14px; border-radius: 16px; background: var(--soft); font-size: 13.5px; line-height: 1.6; }
#order-standard_cart .ed-pk__ready b { display: block; margin-bottom: 4px; font-size: 13px; color: var(--ed-text); }
#order-standard_cart .ed-pk__ready ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
#order-standard_cart .ed-pk__ready li { display: flex; align-items: baseline; gap: 8px; color: var(--ed-text-2); }
#order-standard_cart .ed-pk__ready li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 2px; background: var(--tone); transform: translateY(-1px); }

#order-standard_cart .ed-pk__terms { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--ed-tint-f2f2ec); }
#order-standard_cart .ed-pk__terms button {
  min-height: 32px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: var(--ed-muted);
  font: inherit; font-size: 13px; font-weight: 700; line-height: 1; cursor: pointer;
}
#order-standard_cart .ed-pk__terms button:hover { color: var(--ed-text); }
#order-standard_cart .ed-pk__terms button[aria-checked="true"] { background: var(--ed-surface); color: var(--ed-text); box-shadow: 0 1px 3px rgba(var(--ed-shade-rgb), .14); }
#order-standard_cart .ed-pk__terms button:focus-visible { outline: 2px solid var(--ed-edge); outline-offset: 2px; }
#order-standard_cart .ed-pk__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; margin: 0; color: var(--ed-text); }
#order-standard_cart .ed-pk__price b { font-size: 34px; font-weight: 700; line-height: 1; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
#order-standard_cart .ed-pk__cur { font-size: 15px; font-weight: 700; }
#order-standard_cart .ed-pk__price small { flex-basis: 100%; font-size: 13.5px; color: var(--ed-muted); }
#order-standard_cart .ed-pk__kick { display: none; } /* the order column's label, shown by design b only */
#order-standard_cart .ed-pk__go {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px;
  border: 0; border-radius: 999px; background: var(--ed-ink); color: #fff !important; font-size: 16px; font-weight: 700;
  text-decoration: none !important; white-space: nowrap; transition: transform .15s ease, box-shadow .15s ease;
}
#order-standard_cart .ed-pk__go svg { color: var(--ed-lime); }
html[dir="ltr"] #order-standard_cart .ed-pk__go svg { transform: scaleX(-1); }
#order-standard_cart .ed-pk__go:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -14px rgba(var(--ed-shade-rgb), .7); }
#order-standard_cart .ed-pk__go:focus-visible { outline: 0; box-shadow: 0 0 0 3px var(--ed-surface), 0 0 0 5px var(--ed-edge); }
:root[data-theme="dark"] #order-standard_cart .ed-pk__go { background: #f2f2ec; color: #151515 !important; }
:root[data-theme="dark"] #order-standard_cart .ed-pk__go svg { color: #151515; }

/* ---------- 2b. States, shared by every design ----------
   The whole card is the way in: hover lifts it (the arrow on its button moves), pressing settles
   it, keyboard focus anywhere inside rings it; the button itself has hover, press and focus; a
   sold-out product is dimmed with a disabled button. Card clicks open the order (products.tpl). */
#order-standard_cart .ed-pk { cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease; }
#order-standard_cart :is(.ed-shop--a, .ed-shop--c, .ed-shop--e) .ed-pk:hover { transform: translateY(-4px); box-shadow: 0 26px 46px -28px rgba(var(--ed-shade-rgb), .5), 0 0 0 1px var(--ed-rule-e3e3dc); }
#order-standard_cart .ed-shop--a .ed-pk:hover { box-shadow: 0 26px 46px -24px rgba(var(--ed-shade-rgb), .6); }
#order-standard_cart .ed-shop--d .ed-pk:hover { transform: translateY(-3px); box-shadow: 0 0 0 1.5px var(--ed-edge), 0 22px 40px -28px rgba(var(--ed-shade-rgb), .45); }
#order-standard_cart .ed-pk.is-pressed { transform: translateY(-1px) scale(.995); transition-duration: .08s; }
#order-standard_cart .ed-pk:has(:focus-visible) { outline: 2px solid var(--ed-edge); outline-offset: 4px; }
#order-standard_cart .ed-pk__go svg { transition: translate .2s ease; }
#order-standard_cart .ed-pk:hover .ed-pk__go svg, #order-standard_cart .ed-pk__go:hover svg { translate: -4px 0; }
html[dir="ltr"] #order-standard_cart .ed-pk:hover .ed-pk__go svg, html[dir="ltr"] #order-standard_cart .ed-pk__go:hover svg { translate: 4px 0; }
#order-standard_cart .ed-pk__go:active { transform: translateY(0) scale(.97); box-shadow: none; }
#order-standard_cart .ed-pk__terms button { transition: background-color .15s ease, color .15s ease, box-shadow .15s ease; }
#order-standard_cart .ed-pk__terms button:active { transform: scale(.96); }
#order-standard_cart .ed-pk.is-soldout { cursor: default; opacity: .62; filter: saturate(.4); }
#order-standard_cart .ed-pk.is-soldout:hover { transform: none; }
#order-standard_cart .ed-pk__go.is-off { background: var(--ed-tint-e6e6e0) !important; color: var(--ed-muted) !important; cursor: not-allowed; box-shadow: none; transform: none; }
@media (prefers-reduced-motion: reduce) {
  #order-standard_cart .ed-pk, #order-standard_cart .ed-pk__go svg { transition: none; }
  #order-standard_cart .ed-pk:hover, #order-standard_cart .ed-pk.is-pressed { transform: none; }
}

/* ---------- 3. Layout a: colour tiles (the home page mosaic, chosen by George for the portal) ----------
   Each product is a solid tile in its logo colour with white type; with an odd number of products
   the first tile runs the full width, so no tile is left alone in a row. Featured: ink with lime. */
#order-standard_cart .ed-shop--a { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
#order-standard_cart .ed-shop--a .ed-pk {
  --fill: color-mix(in srgb, var(--tone) 80%, #000);
  display: flex; flex-direction: column; justify-content: space-between; gap: 26px; padding: 30px; min-height: 340px;
  border-radius: 28px; background: var(--fill); color: #fff; overflow: hidden; isolation: isolate;
}
#order-standard_cart .ed-shop--a .ed-pk::after {
  content: ""; position: absolute; z-index: -1; inset-block-start: -60px; inset-inline-end: -60px; width: 220px; height: 220px;
  border-radius: 50%; background: rgba(255, 255, 255, .08);
}
#order-standard_cart .ed-shop--a .ed-pk:first-child:nth-last-child(2n+1) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; min-height: 0; }
#order-standard_cart .ed-shop--a .ed-pk__main { display: grid; gap: 14px; align-content: start; }
#order-standard_cart .ed-shop--a .ed-pk__icon { width: 58px; height: 58px; border-radius: 18px; background: rgba(255, 255, 255, .16); color: #fff; font-size: 27px; }
#order-standard_cart .ed-shop--a .ed-pk__name { font-size: 26px; line-height: 1.25; color: #fff; }
#order-standard_cart .ed-shop--a .ed-pk__tag { color: rgba(255, 255, 255, .92); font-size: 16px; }
#order-standard_cart .ed-shop--a .ed-pk__desc { color: rgba(255, 255, 255, .9); }
#order-standard_cart .ed-shop--a .ed-pk__specs li { border-color: rgba(255, 255, 255, .18); }
#order-standard_cart .ed-shop--a .ed-pk__specs span { color: rgba(255, 255, 255, .78); }
#order-standard_cart .ed-shop--a .ed-pk__specs b { color: #fff; }
#order-standard_cart .ed-shop--a .ed-pk__facts li { background: rgba(255, 255, 255, .16); color: #fff; }
#order-standard_cart .ed-shop--a .ed-pk__facts li i { color: #fff; }
#order-standard_cart .ed-shop--a .ed-pk__facts .is-star { background: var(--ed-lime); color: var(--ed-ink); }
#order-standard_cart .ed-shop--a .ed-pk__facts .is-star i { color: var(--ed-ink); }
#order-standard_cart .ed-shop--a .ed-pk__ready { background: rgba(0, 0, 0, .16); }
#order-standard_cart .ed-shop--a .ed-pk__ready b, #order-standard_cart .ed-shop--a .ed-pk__ready li { color: #fff; }
#order-standard_cart .ed-shop--a .ed-pk__ready li::before { background: var(--ed-lime); }
#order-standard_cart .ed-shop--a .ed-pk__buy { display: grid; gap: 14px; }
#order-standard_cart .ed-shop--a .ed-pk__price, #order-standard_cart .ed-shop--a .ed-pk__price b { color: #fff; }
#order-standard_cart .ed-shop--a .ed-pk__price b { font-size: 46px; }
#order-standard_cart .ed-shop--a .ed-pk__price small { color: rgba(255, 255, 255, .88); }
#order-standard_cart .ed-shop--a .ed-pk__terms { width: fit-content; background: rgba(0, 0, 0, .18); }
#order-standard_cart .ed-shop--a .ed-pk__terms button { color: rgba(255, 255, 255, .85); }
#order-standard_cart .ed-shop--a .ed-pk__terms button[aria-checked="true"] { background: #fff; color: var(--ed-ink); }
#order-standard_cart .ed-shop--a .ed-pk__go { justify-self: start; background: #fff; color: var(--ed-ink) !important; }
#order-standard_cart .ed-shop--a .ed-pk__go svg { color: var(--fill); }
#order-standard_cart .ed-shop--a .ed-pk__go:hover { box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .55); }
#order-standard_cart .ed-shop--a .ed-pk.is-featured { --fill: var(--ed-ink); }
#order-standard_cart .ed-shop--a .ed-pk.is-featured .ed-pk__icon { color: var(--ed-lime); background: rgba(255, 255, 255, .1); }
#order-standard_cart .ed-shop--a .ed-pk.is-featured .ed-pk__go { background: var(--ed-lime); }
#order-standard_cart .ed-shop--a .ed-pk.is-featured .ed-pk__go svg { color: var(--ed-ink); }
:root[data-theme="dark"] #order-standard_cart .ed-shop--a .ed-pk.is-featured { --fill: #24241e; box-shadow: inset 0 0 0 1px rgba(171, 250, 8, .35); }
:root[data-theme="dark"] #order-standard_cart .ed-shop--a .ed-pk__go { background: #fff; color: #151515 !important; }

/* ---------- 4. Layout b: index rows (one wide row per product; the row fills with ink on hover) ---------- */
#order-standard_cart .ed-shop--b { display: grid; gap: 0; border-radius: 24px; background: var(--ed-surface); box-shadow: 0 1px 2px rgba(var(--ed-shade-rgb), .05); overflow: hidden; padding: 0; margin-inline: 15px; }
#order-standard_cart .ed-shop--b .ed-pk {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 24px 26px;
  border-top: 1px solid var(--ed-line); transition: background-color .18s ease, color .18s ease;
}
#order-standard_cart .ed-shop--b .ed-pk:first-child { border-top: 0; }
#order-standard_cart .ed-shop--b .ed-pk__main { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 18px; align-items: start; }
#order-standard_cart .ed-shop--b .ed-pk__main > :not(.ed-pk__icon) { grid-column: 2; }
#order-standard_cart .ed-shop--b .ed-pk__icon { grid-row: span 4; }
#order-standard_cart .ed-shop--b .ed-pk__name { font-size: 23px; }
#order-standard_cart .ed-shop--b .ed-pk__desc { max-width: 62ch; }
#order-standard_cart .ed-shop--b .ed-pk__ready { padding: 0; background: transparent; }
#order-standard_cart .ed-shop--b .ed-pk__ready b { display: inline; margin: 0; margin-inline-end: 6px; color: var(--ed-muted); font-weight: 500; }
#order-standard_cart .ed-shop--b .ed-pk__ready ul { display: inline-flex; flex-wrap: wrap; gap: 4px 14px; }
#order-standard_cart .ed-shop--b .ed-pk__buy { display: grid; justify-items: end; gap: 12px; min-width: 210px; text-align: end; }
#order-standard_cart .ed-shop--b .ed-pk__price { justify-content: flex-end; }
#order-standard_cart .ed-shop--b .ed-pk__price small { text-align: end; }
#order-standard_cart .ed-shop--b .ed-pk.is-featured { box-shadow: inset 4px 0 0 var(--ed-lime); }
html[dir="rtl"] #order-standard_cart .ed-shop--b .ed-pk.is-featured { box-shadow: inset -4px 0 0 var(--ed-lime); }
#order-standard_cart .ed-shop--b .ed-pk:hover { background: var(--ed-ink); color: #fff; }
#order-standard_cart .ed-shop--b .ed-pk:hover .ed-pk__name, #order-standard_cart .ed-shop--b .ed-pk:hover .ed-pk__tag,
#order-standard_cart .ed-shop--b .ed-pk:hover .ed-pk__price, #order-standard_cart .ed-shop--b .ed-pk:hover .ed-pk__ready li { color: #fff; }
#order-standard_cart .ed-shop--b .ed-pk:hover .ed-pk__desc, #order-standard_cart .ed-shop--b .ed-pk:hover .ed-pk__price small,
#order-standard_cart .ed-shop--b .ed-pk:hover .ed-pk__ready b { color: #c9c9c1; }
#order-standard_cart .ed-shop--b .ed-pk:hover .ed-pk__icon { background: rgba(255, 255, 255, .1); color: var(--ed-lime); }
#order-standard_cart .ed-shop--b .ed-pk:hover .ed-pk__facts li:not(.is-star) { background: rgba(255, 255, 255, .1); color: #fff; }
#order-standard_cart .ed-shop--b .ed-pk:hover .ed-pk__go { background: var(--ed-lime); color: var(--ed-ink) !important; }
#order-standard_cart .ed-shop--b .ed-pk:hover .ed-pk__go svg { color: var(--ed-ink); }
#order-standard_cart .ed-shop--b .ed-pk:hover .ed-pk__terms { background: rgba(255, 255, 255, .1); }
#order-standard_cart .ed-shop--b .ed-pk:hover .ed-pk__terms button { color: #c9c9c1; }
#order-standard_cart .ed-shop--b .ed-pk:hover .ed-pk__terms button[aria-checked="true"] { background: #fff; color: var(--ed-ink); }
#order-standard_cart .ed-shop--b .ed-pk:hover .ed-pk__specs li { border-color: rgba(255, 255, 255, .14); }
#order-standard_cart .ed-shop--b .ed-pk:hover .ed-pk__specs b { color: #fff; }

/* ---------- 5. Design c: vouchers (redesigned 2026-11-29) ----------
   Two vouchers a row: the product on a white sheet, a perforated line with a notch cut from each
   side, and the price and button below it, like a tear-off voucher. Colour only on the icon; the
   featured product's stub is ink with the lime button. */
#order-standard_cart .ed-shop--c { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; align-items: stretch; }
#order-standard_cart .ed-shop--c .ed-pk { display: flex; flex-direction: column; border-radius: 26px; background: var(--ed-surface); box-shadow: 0 1px 2px rgba(var(--ed-shade-rgb), .06), 0 0 0 1px var(--ed-rule-ecece6); }
#order-standard_cart .ed-shop--c .ed-pk__main { display: grid; gap: 16px; align-content: start; flex: 1; padding: 30px 30px 26px; }
#order-standard_cart .ed-shop--c .ed-pk__top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; }
#order-standard_cart .ed-shop--c .ed-pk__icon { background: var(--ed-tint-f2f2ec); }
#order-standard_cart .ed-shop--c .ed-pk__name { font-size: 22px; }
#order-standard_cart .ed-shop--c .ed-pk__facts .is-stock { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ed-edge); font-weight: 700; }
#order-standard_cart .ed-shop--c .ed-pk__ready { background: var(--ed-tint-f5f5f0); }
#order-standard_cart .ed-shop--c .ed-pk__ready li::before { background: var(--ed-text); }
#order-standard_cart .ed-shop--c .ed-pk__buy {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 16px;
  padding: 24px 30px 28px; border-top: 2px dashed var(--ed-rule-d4d4ce); border-radius: 0 0 26px 26px;
}
#order-standard_cart .ed-shop--c .ed-pk__buy::before, #order-standard_cart .ed-shop--c .ed-pk__buy::after {
  content: ""; position: absolute; top: -15px; width: 28px; height: 28px; border-radius: 50%; background: var(--ed-bg); box-shadow: inset 0 0 0 1px var(--ed-rule-ecece6);
}
#order-standard_cart .ed-shop--c .ed-pk__buy::before { inset-inline-start: -15px; }
#order-standard_cart .ed-shop--c .ed-pk__buy::after { inset-inline-end: -15px; }
#order-standard_cart .ed-shop--c .ed-pk__terms { grid-column: 1 / -1; width: fit-content; }
#order-standard_cart .ed-shop--c .ed-pk__price b { font-size: 40px; }
#order-standard_cart .ed-shop--c .ed-pk.is-featured .ed-pk__buy { background: var(--ed-ink); border-top-color: transparent; }
#order-standard_cart .ed-shop--c .ed-pk.is-featured .ed-pk__price, #order-standard_cart .ed-shop--c .ed-pk.is-featured .ed-pk__price b { color: #fff; }
#order-standard_cart .ed-shop--c .ed-pk.is-featured .ed-pk__price small { color: #c9c9c1; }
#order-standard_cart .ed-shop--c .ed-pk.is-featured .ed-pk__terms { background: rgba(255, 255, 255, .12); }
#order-standard_cart .ed-shop--c .ed-pk.is-featured .ed-pk__terms button { color: #d9d9d1; }
#order-standard_cart .ed-shop--c .ed-pk.is-featured .ed-pk__terms button[aria-checked="true"] { background: #fff; color: var(--ed-ink); }
#order-standard_cart .ed-shop--c .ed-pk.is-featured .ed-pk__go { background: var(--ed-lime); color: var(--ed-ink) !important; }
#order-standard_cart .ed-shop--c .ed-pk.is-featured .ed-pk__go svg { color: var(--ed-ink); }
:root[data-theme="dark"] #order-standard_cart .ed-shop--c .ed-pk.is-featured .ed-pk__buy { background: #0d0d0c; }

/* The head wrapper (icon + name) only shapes the poster and comparison designs; elsewhere its
   children sit in the card's own grid as before. */
#order-standard_cart .ed-pk__top { display: contents; }

/* ---------- 5b. Design d: comparison table (servers, hosting, email) ----------
   One column per product, rows lined up across columns with subgrid; a wide list scrolls sideways
   inside its own box. Featured column: ink head with a lime edge. */
#order-standard_cart .ed-shop--d {
  display: grid; grid-template-columns: repeat(var(--n, 3), minmax(230px, 1fr)); grid-template-rows: repeat(8, auto);
  gap: 0 12px; overflow-x: auto; padding: 4px 15px 14px; scroll-snap-type: x proximity;
}
#order-standard_cart .ed-shop--d .ed-pk {
  display: grid; grid-row: 1 / span 8; grid-template-rows: subgrid; gap: 0; align-content: start;
  border-radius: 24px; background: var(--ed-surface); box-shadow: 0 1px 2px rgba(var(--ed-shade-rgb), .05); overflow: hidden; scroll-snap-align: start;
}
#order-standard_cart .ed-shop--d .ed-pk__main, #order-standard_cart .ed-shop--d .ed-pk__buy { display: contents; }
#order-standard_cart .ed-shop--d .ed-pk__top { grid-row: 1; display: grid; gap: 10px; align-content: start; padding: 22px 20px 18px; border-bottom: 1px solid var(--ed-line); }
#order-standard_cart .ed-shop--d .ed-pk__icon { background: var(--ed-tint-f2f2ec); }
#order-standard_cart .ed-shop--d .ed-pk__icon { width: 44px; height: 44px; border-radius: 14px; font-size: 20px; }
#order-standard_cart .ed-shop--d .ed-pk__name { font-size: 19px; }
#order-standard_cart .ed-shop--d .ed-pk__tag { font-size: 14px; }
#order-standard_cart .ed-shop--d .ed-pk__desc { grid-row: 2; padding: 14px 20px 0; }
#order-standard_cart .ed-shop--d .ed-pk__specs { grid-row: 3; padding: 10px 20px 14px; }
#order-standard_cart .ed-shop--d .ed-pk__specs li { padding: 8px 0; }
#order-standard_cart .ed-shop--d .ed-pk__facts { grid-row: 4; padding: 0 20px 12px; align-content: start; }
#order-standard_cart .ed-shop--d .ed-pk__ready { grid-row: 5; margin: 0 20px 14px; align-self: start; }
#order-standard_cart .ed-shop--d .ed-pk__terms { grid-row: 6; margin: 6px 20px 0; align-self: end; width: fit-content; }
#order-standard_cart .ed-shop--d .ed-pk__price { grid-row: 7; padding: 14px 20px 0; align-self: end; border-top: 1px solid var(--ed-line); margin-top: 14px; }
#order-standard_cart .ed-shop--d .ed-pk__go { grid-row: 8; margin: 14px 20px 20px; }
#order-standard_cart .ed-shop--d .ed-pk.is-featured { box-shadow: inset 0 0 0 1.5px var(--ed-edge); }
#order-standard_cart .ed-shop--d .ed-pk.is-featured .ed-pk__top { background: var(--ed-ink); }
#order-standard_cart .ed-shop--d .ed-pk.is-featured .ed-pk__name { color: #fff; }
#order-standard_cart .ed-shop--d .ed-pk.is-featured .ed-pk__tag { color: #c9c9c1; }
#order-standard_cart .ed-shop--d .ed-pk.is-featured .ed-pk__icon { background: rgba(255, 255, 255, .1); color: var(--ed-lime); }
#order-standard_cart .ed-shop--d .ed-pk.is-featured .ed-pk__go { background: var(--ed-lime); color: var(--ed-ink) !important; }
#order-standard_cart .ed-shop--d .ed-pk.is-featured .ed-pk__go svg { color: var(--ed-ink); }

/* ---------- 5c. Design e: spotlight + list (layout first, colour only on the icons) ----------
   The section's first product is one large white panel; the others run beside it as short rows
   (name, line, price, a round button). One product alone takes the full width. */
#order-standard_cart .ed-shop--e { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-auto-rows: auto; gap: 12px 16px; align-items: start; }
#order-standard_cart .ed-shop--e .ed-pk { border-radius: 24px; background: var(--ed-surface); box-shadow: 0 1px 2px rgba(var(--ed-shade-rgb), .05); }
#order-standard_cart .ed-shop--e .ed-pk__icon { background: var(--ed-tint-f2f2ec); }
/* the spotlight */
#order-standard_cart .ed-shop--e .ed-pk:first-child { grid-column: 1; grid-row: 1 / span 30; display: flex; flex-direction: column; justify-content: space-between; gap: 26px; padding: 32px; position: sticky; top: 24px; }
#order-standard_cart .ed-shop--e .ed-pk:first-child:last-child { grid-column: 1 / -1; position: static; }
#order-standard_cart .ed-shop--e .ed-pk:first-child .ed-pk__main { display: grid; gap: 16px; align-content: start; }
#order-standard_cart .ed-shop--e .ed-pk:first-child .ed-pk__top { display: grid; gap: 18px; }
#order-standard_cart .ed-shop--e .ed-pk:first-child .ed-pk__icon { width: 64px; height: 64px; border-radius: 20px; font-size: 30px; }
#order-standard_cart .ed-shop--e .ed-pk:first-child .ed-pk__name { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; }
#order-standard_cart .ed-shop--e .ed-pk:first-child .ed-pk__tag { font-size: 17px; }
#order-standard_cart .ed-shop--e .ed-pk:first-child .ed-pk__buy { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; padding-top: 22px; border-top: 1px solid var(--ed-line); }
#order-standard_cart .ed-shop--e .ed-pk:first-child .ed-pk__terms { flex-basis: 100%; width: fit-content; flex-grow: 0; }
#order-standard_cart .ed-shop--e .ed-pk:first-child .ed-pk__price b { font-size: 48px; }
/* the list beside it */
#order-standard_cart .ed-shop--e .ed-pk:not(:first-child) { grid-column: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 16px 18px; }
#order-standard_cart .ed-shop--e .ed-pk:not(:first-child) .ed-pk__main { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; align-items: center; }
#order-standard_cart .ed-shop--e .ed-pk:not(:first-child) .ed-pk__top { display: contents; }
#order-standard_cart .ed-shop--e .ed-pk:not(:first-child) .ed-pk__icon { width: 42px; height: 42px; border-radius: 13px; font-size: 19px; }
#order-standard_cart .ed-shop--e .ed-pk:not(:first-child) .ed-pk__name { font-size: 16.5px; }
#order-standard_cart .ed-shop--e .ed-pk:not(:first-child) .ed-pk__tag { margin: 0; font-size: 13.5px; color: var(--ed-muted); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
#order-standard_cart .ed-shop--e .ed-pk:not(:first-child) .ed-pk__desc,
#order-standard_cart .ed-shop--e .ed-pk:not(:first-child) .ed-pk__specs,
#order-standard_cart .ed-shop--e .ed-pk:not(:first-child) .ed-pk__facts,
#order-standard_cart .ed-shop--e .ed-pk:not(:first-child) .ed-pk__ready,
#order-standard_cart .ed-shop--e .ed-pk:not(:first-child) .ed-pk__terms { display: none; }
#order-standard_cart .ed-shop--e .ed-pk:not(:first-child) .ed-pk__buy { display: flex; align-items: center; gap: 12px; }
#order-standard_cart .ed-shop--e .ed-pk:not(:first-child) .ed-pk__price { flex-wrap: nowrap; }
#order-standard_cart .ed-shop--e .ed-pk:not(:first-child) .ed-pk__price b { font-size: 21px; }
#order-standard_cart .ed-shop--e .ed-pk:not(:first-child) .ed-pk__price small { display: none; }
#order-standard_cart .ed-shop--e .ed-pk:not(:first-child) .ed-pk__go { width: 42px; height: 42px; min-height: 0; padding: 0; border-radius: 50%; }
#order-standard_cart .ed-shop--e .ed-pk:not(:first-child) .ed-pk__go span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#order-standard_cart .ed-shop--e .ed-pk:not(:first-child):hover { box-shadow: inset 0 0 0 1.5px var(--ed-edge); }
#order-standard_cart .ed-shop--e .ed-pk.is-featured:not(:first-child) { box-shadow: inset 0 0 0 1.5px var(--ed-edge); }

/* ---------- 5e. Design f: bento grid (layout first, colour only on the icons) ----------
   Four columns, tiles of three sizes: the first product a large 2x2 tile with everything, the second
   a wide tile, the rest small tiles with the name, price and a round button. Dense flow fills gaps. */
#order-standard_cart .ed-shop--f { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(170px, auto); grid-auto-flow: dense; gap: 16px; }
#order-standard_cart .ed-shop--f .ed-pk { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 22px; border-radius: 24px; background: var(--ed-surface); box-shadow: 0 1px 2px rgba(var(--ed-shade-rgb), .05), 0 0 0 1px var(--ed-rule-ecece6); min-width: 0; }
#order-standard_cart .ed-shop--f .ed-pk__main { display: grid; gap: 12px; align-content: start; }
#order-standard_cart .ed-shop--f .ed-pk__top { display: grid; gap: 12px; justify-items: start; }
#order-standard_cart .ed-shop--f .ed-pk__icon { width: 44px; height: 44px; border-radius: 14px; font-size: 20px; background: var(--ed-tint-f2f2ec); }
#order-standard_cart .ed-shop--f .ed-pk__name { font-size: 17px; }
#order-standard_cart .ed-shop--f .ed-pk__buy { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px; }
#order-standard_cart .ed-shop--f .ed-pk__price b { font-size: 26px; }
#order-standard_cart .ed-shop--f .ed-pk__go { width: 46px; height: 46px; min-height: 0; padding: 0; border-radius: 50%; }
#order-standard_cart .ed-shop--f .ed-pk__go span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* small tiles: name and price only */
#order-standard_cart .ed-shop--f .ed-pk:nth-child(n+3) :is(.ed-pk__tag, .ed-pk__desc, .ed-pk__specs, .ed-pk__facts, .ed-pk__ready, .ed-pk__terms, .ed-pk__list) { display: none; }
#order-standard_cart .ed-shop--f .ed-pk:nth-child(n+3) .ed-pk__price small { display: none; }
/* the wide tile */
#order-standard_cart .ed-shop--f .ed-pk:nth-child(2) { grid-column: span 2; }
#order-standard_cart .ed-shop--f .ed-pk:nth-child(2) :is(.ed-pk__desc, .ed-pk__specs, .ed-pk__ready, .ed-pk__list) { display: none; }
#order-standard_cart .ed-shop--f .ed-pk:nth-child(2) .ed-pk__top { grid-template-columns: auto minmax(0, 1fr); align-items: center; }
#order-standard_cart .ed-shop--f .ed-pk:nth-child(2) .ed-pk__terms { grid-column: 1 / -1; width: fit-content; }
/* the large tile */
#order-standard_cart .ed-shop--f .ed-pk:first-child { grid-column: span 2; grid-row: span 2; padding: 30px; gap: 24px; }
#order-standard_cart .ed-shop--f .ed-pk:first-child .ed-pk__icon { width: 58px; height: 58px; border-radius: 18px; font-size: 26px; }
#order-standard_cart .ed-shop--f .ed-pk:first-child .ed-pk__name { font-size: 26px; line-height: 1.25; }
#order-standard_cart .ed-shop--f .ed-pk:first-child .ed-pk__terms { grid-column: 1 / -1; width: fit-content; }
#order-standard_cart .ed-shop--f .ed-pk:first-child .ed-pk__price b { font-size: 42px; }
#order-standard_cart .ed-shop--f .ed-pk:first-child .ed-pk__go { width: auto; height: auto; min-height: 50px; padding: 0 24px; border-radius: 999px; }
#order-standard_cart .ed-shop--f .ed-pk:first-child .ed-pk__go span { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
#order-standard_cart .ed-shop--f .ed-pk:first-child .ed-pk__buy { padding-top: 20px; border-top: 1px solid var(--ed-line); }
#order-standard_cart .ed-shop--f .ed-pk:hover { transform: translateY(-3px); box-shadow: 0 0 0 1.5px var(--ed-edge), 0 22px 40px -28px rgba(var(--ed-shade-rgb), .45); }
#order-standard_cart .ed-shop--f .ed-pk.is-featured { box-shadow: 0 0 0 1.5px var(--ed-edge); }
#order-standard_cart .ed-shop--f .ed-pk.is-featured .ed-pk__go { background: var(--ed-lime); color: var(--ed-ink) !important; }
#order-standard_cart .ed-shop--f .ed-pk.is-featured .ed-pk__go svg { color: var(--ed-ink); }
#order-standard_cart .ed-shop--f .ed-pk__logo { padding: 0 10px; }

/* ---------- 5f. Design g: accordion (a calm list that opens in place) ----------
   One white panel; each row shows the icon, name, line and price with a chevron. A click opens the
   row: the text, "have this ready", the term and the order button appear under it. The first row
   starts open. Rows are buttons for the keyboard (products.tpl). */
#order-standard_cart .ed-shop--g { display: grid; padding: 0; margin-inline: 15px; border-radius: 24px; background: var(--ed-surface); box-shadow: 0 1px 2px rgba(var(--ed-shade-rgb), .05), 0 0 0 1px var(--ed-rule-ecece6); overflow: hidden; }
#order-standard_cart .ed-shop--g .ed-pk {
  display: grid; grid-template-columns: minmax(0, 1fr) auto 28px; align-items: center; gap: 0 18px; padding: 20px 26px;
  border-top: 1px solid var(--ed-line); background: var(--ed-surface);
}
#order-standard_cart .ed-shop--g .ed-pk:first-child { border-top: 0; }
#order-standard_cart .ed-shop--g .ed-pk__main, #order-standard_cart .ed-shop--g .ed-pk__buy { display: contents; }
#order-standard_cart .ed-shop--g .ed-pk__top { grid-column: 1; grid-row: 1; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 14px; align-items: center; border-radius: 12px; }
#order-standard_cart .ed-shop--g .ed-pk__top:focus-visible { outline: 2px solid var(--ed-edge); outline-offset: 6px; }
#order-standard_cart .ed-shop--g .ed-pk__icon { width: 44px; height: 44px; border-radius: 14px; font-size: 20px; background: var(--ed-tint-f2f2ec); }
#order-standard_cart .ed-shop--g .ed-pk__name { font-size: 18px; }
#order-standard_cart .ed-shop--g .ed-pk__tag { margin: 0; font-size: 14px; color: var(--ed-muted); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
#order-standard_cart .ed-shop--g .ed-pk__price { grid-column: 2; grid-row: 1; flex-wrap: nowrap; }
#order-standard_cart .ed-shop--g .ed-pk__price b { font-size: 24px; }
#order-standard_cart .ed-shop--g .ed-pk__price small { display: none; }
#order-standard_cart .ed-shop--g .ed-pk::after {
  content: ""; grid-column: 3; grid-row: 1; justify-self: end; width: 10px; height: 10px; margin-top: -4px;
  border-bottom: 2px solid var(--ed-text); border-inline-end: 2px solid var(--ed-text); transform: rotate(45deg); transition: transform .2s ease;
}
/* the opened part */
#order-standard_cart .ed-shop--g .ed-pk :is(.ed-pk__desc, .ed-pk__specs, .ed-pk__list, .ed-pk__facts, .ed-pk__ready, .ed-pk__terms, .ed-pk__go) { display: none; grid-column: 1 / -1; }
#order-standard_cart .ed-shop--g .ed-pk.is-open :is(.ed-pk__desc, .ed-pk__specs, .ed-pk__list, .ed-pk__ready) { display: block; margin-top: 16px; max-width: 70ch; }
#order-standard_cart .ed-shop--g .ed-pk.is-open .ed-pk__specs, #order-standard_cart .ed-shop--g .ed-pk.is-open .ed-pk__list { display: grid; }
#order-standard_cart .ed-shop--g .ed-pk.is-open .ed-pk__facts { display: flex; margin-top: 14px; }
#order-standard_cart .ed-shop--g .ed-pk.is-open .ed-pk__ready { background: var(--ed-tint-f5f5f0); }
#order-standard_cart .ed-shop--g .ed-pk.is-open .ed-pk__terms { display: inline-flex; margin-top: 18px; width: fit-content; }
#order-standard_cart .ed-shop--g .ed-pk.is-open .ed-pk__go { display: inline-flex; justify-self: start; margin-top: 18px; }
#order-standard_cart .ed-shop--g .ed-pk.is-open { padding-block: 24px 26px; box-shadow: inset -3px 0 0 var(--ed-ink); }
html[dir="ltr"] #order-standard_cart .ed-shop--g .ed-pk.is-open { box-shadow: inset 3px 0 0 var(--ed-ink); }
#order-standard_cart .ed-shop--g .ed-pk.is-open::after { transform: rotate(-135deg); margin-top: 6px; }
#order-standard_cart .ed-shop--g .ed-pk:not(.is-open):hover { background: var(--ed-tint-f9f9f6); }
#order-standard_cart .ed-shop--g .ed-pk:hover { transform: none; }
#order-standard_cart .ed-shop--g .ed-pk.is-featured .ed-pk__name::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-inline-start: 8px; border-radius: 50%; background: var(--ed-lime); box-shadow: 0 0 0 2px var(--ed-ink); vertical-align: middle; }
#order-standard_cart .ed-shop--g .ed-pk__logo { padding: 0 10px; }
:root[data-theme="dark"] #order-standard_cart .ed-shop--g .ed-pk.is-open { box-shadow: inset -3px 0 0 var(--ed-lime); }

/* ---------- 6. Layout preview switch (temporary, until George picks one) ---------- */
#order-standard_cart .ed-shop__variants {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px; width: fit-content; max-width: calc(100% - 30px); margin: 0 15px 20px; padding: 6px;
  border-radius: 999px; background: var(--ed-surface); box-shadow: 0 1px 2px rgba(var(--ed-shade-rgb), .06); font-size: 14.5px;
}
#order-standard_cart .ed-shop__variants span { padding-inline: 12px 6px; color: var(--ed-muted); font-weight: 700; }
#order-standard_cart .ed-shop__variants a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; color: var(--ed-text); font-weight: 700; text-decoration: none; }
#order-standard_cart .ed-shop__variants a b { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ed-tint-f2f2ec); font-size: 12.5px; }
#order-standard_cart .ed-shop__variants a:hover { background: var(--ed-tint-f2f2ec); }
#order-standard_cart .ed-shop__variants a[aria-current] { background: var(--ed-ink); color: #fff; }
#order-standard_cart .ed-shop__variants a[aria-current] b { background: var(--ed-lime); color: var(--ed-ink); }
#order-standard_cart .ed-shop__variants a:focus-visible { outline: 2px solid var(--ed-edge); outline-offset: 2px; }
#order-standard_cart .ed-shop__mine { width: 7px; height: 7px; border-radius: 50%; background: var(--ed-lime); box-shadow: 0 0 0 2px var(--ed-ink); }
#order-standard_cart .ed-shop__variants a.ed-shop__auto { border: 1.5px dashed var(--ed-rule-c4c4bb); color: var(--ed-muted); }

/* ---------- 7. Order page ("إعداد الطلب"): the stock form, restyled ---------- */
#main-body .ed-cfg #order-standard_cart .header-lined { margin: 0 0 18px; padding: 0; border: 0; }
#main-body .ed-cfg #order-standard_cart .header-lined h1 { margin: 0; font-size: clamp(28px, 3.2vw, 40px); font-weight: 700; color: var(--ed-text); }
#main-body .ed-cfg #order-standard_cart .secondary-cart-body > p:first-child { display: none; }

/* Steps of this order */
.ed-cfg .ed-steps { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; counter-reset: edstep; }
.ed-cfg .ed-steps li {
  counter-increment: edstep; display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 6px; padding-inline: 6px 14px;
  border-radius: 999px; background: var(--ed-surface); color: var(--ed-muted); font-size: 14px; font-weight: 700; line-height: 1.5;
}
.ed-cfg .ed-steps li::before {
  content: counter(edstep); display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px;
  border-radius: 50%; background: var(--ed-tint-f2f2ec); color: var(--ed-muted); font-size: 12.5px;
}
.ed-cfg .ed-steps li.is-done::before { content: "✓"; background: var(--ed-lime); color: var(--ed-ink); }
.ed-cfg .ed-steps li.is-now { background: var(--ed-ink); color: #fff; }
.ed-cfg .ed-steps li.is-now::before { background: var(--ed-lime); color: var(--ed-ink); }

/* Product head (replaces the stock title + long description) */
#main-body .ed-cfg #order-standard_cart .product-info { margin: 0 0 18px; padding: 0; border: 0; background: transparent; }
#main-body .ed-cfg #order-standard_cart .product-info:not(.is-ours) > p:not(.product-title) { display: none; }
.ed-cfg .ed-cfg__head { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border-radius: 24px; background: var(--ed-surface); box-shadow: 0 1px 2px rgba(var(--ed-shade-rgb), .05); }
.ed-cfg .ed-cfg__head .ed-pk__icon {
  display: inline-flex; flex: none; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 18px;
  background: var(--ed-ink); color: var(--ed-lime); font-size: 26px;
}
.ed-cfg .ed-cfg__group { margin: 0; font-size: 13.5px; font-weight: 700; color: var(--ed-muted-2); }
.ed-cfg .ed-cfg__name { margin: 2px 0 0; font-size: 26px; font-weight: 700; line-height: 1.3; color: var(--ed-text); }
.ed-cfg .ed-cfg__tag { margin: 6px 0 0; font-size: 16px; font-weight: 500; line-height: 1.6; color: var(--ed-text-2); }
.ed-cfg .ed-cfg__desc { margin: 6px 0 0; font-size: 14.5px; line-height: 1.8; color: var(--ed-muted); }

/* Sections of the form: white cards with a plain title */
#main-body .ed-cfg #order-standard_cart .field-container,
#main-body .ed-cfg #order-standard_cart .product-configurable-options,
#main-body .ed-cfg #order-standard_cart #productAddonsContainer {
  margin: 0 0 16px; padding: 22px 24px; border: 0; border-radius: 24px; background: var(--ed-surface); box-shadow: 0 1px 2px rgba(var(--ed-shade-rgb), .05);
}
#main-body .ed-cfg #order-standard_cart .sub-heading { height: auto; margin: 26px 0 10px; border: 0; text-align: start; }
#main-body .ed-cfg #order-standard_cart .sub-heading span {
  position: static; display: block; padding: 0; background: transparent !important; color: var(--ed-text); font-size: 19px; font-weight: 700; line-height: 1.5;
}
#main-body .ed-cfg #order-standard_cart .sub-heading span br + i,
#main-body .ed-cfg #order-standard_cart .sub-heading span i { display: block; font-style: normal; font-weight: 400; font-size: 13.5px; color: var(--ed-muted); }

/* Billing term as buttons (the stock select stays for the scripts, hidden) */
#main-body .ed-cfg #order-standard_cart .ed-cycles__select { position: absolute !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
#main-body .ed-cfg #order-standard_cart label[for="inputBillingcycle"] { display: block; margin-bottom: 10px; font-size: 15px; font-weight: 700; color: var(--ed-text); }
#main-body .ed-cfg #order-standard_cart label[for="inputBillingcycle"] + br { display: none; }
.ed-cfg .ed-cycles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.ed-cfg .ed-cycles button {
  display: grid; gap: 2px; justify-items: start; padding: 14px 16px; border: 1.5px solid var(--ed-line); border-radius: 18px;
  background: var(--ed-surface); color: var(--ed-text); font: inherit; text-align: start; cursor: pointer; transition: border-color .15s ease;
}
.ed-cfg .ed-cycles button b { font-size: 16px; font-weight: 700; }
.ed-cfg .ed-cycles button small { font-size: 14px; color: var(--ed-muted); font-variant-numeric: tabular-nums; }
.ed-cfg .ed-cycles button:hover { border-color: var(--ed-rule-b4b4ad); }
.ed-cfg .ed-cycles button[aria-checked="true"] { border-color: var(--ed-edge); box-shadow: inset 0 0 0 1px var(--ed-edge); }
.ed-cfg .ed-cycles button[aria-checked="true"] b::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-inline-start: 8px; border-radius: 50%; background: var(--ed-lime); box-shadow: 0 0 0 2px var(--ed-ink); vertical-align: middle; }
.ed-cfg .ed-cycles button:focus-visible { outline: 2px solid var(--ed-edge); outline-offset: 2px; }
.ed-cfg .ed-cycles.is-single button { cursor: default; max-width: 260px; }

/* Questions: a box per field, label above, hint below */
#main-body .ed-cfg #order-standard_cart .form-group { margin-bottom: 18px; }
#main-body .ed-cfg #order-standard_cart .form-group:last-child { margin-bottom: 0; }
#main-body .ed-cfg #order-standard_cart .field-container label,
#main-body .ed-cfg #order-standard_cart .product-configurable-options label { display: block; margin-bottom: 7px; font-size: 15px; font-weight: 700; color: var(--ed-text); }
#main-body .ed-cfg #order-standard_cart .form-group.is-required > label::after { content: " *"; color: #e2364f; }
#main-body .ed-cfg #order-standard_cart .form-control,
#main-body .ed-cfg #order-standard_cart .custom-select {
  height: auto; min-height: 52px; padding: 12px 16px; border: 1.5px solid var(--ed-line); border-radius: 16px;
  background-color: var(--ed-surface); color: var(--ed-text); font-size: 16px; line-height: 1.6; box-shadow: none;
}
#main-body .ed-cfg #order-standard_cart textarea.form-control { min-height: 120px; resize: vertical; }
#main-body .ed-cfg #order-standard_cart .form-control:focus { border-color: var(--ed-edge); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ed-lime) 55%, transparent); outline: 0; }
#main-body .ed-cfg #order-standard_cart .field-help-text { display: block; margin-top: 7px; font-size: 13.5px; line-height: 1.6; color: var(--ed-muted); }

/* Add-ons ("خدمات اضافية"; George 2026-11-30: enhance the cards). The stock markup and script stay
   (a click on a card ticks its hidden checkbox and toggles .panel-addon-selected); the look is ours:
   a two-column grid of cards, name and text aligned to the start, then the price and a full-width pill
   button, lime with a tick badge when chosen. */
#main-body .ed-cfg #order-standard_cart .addon-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 !important; }
#main-body .ed-cfg #order-standard_cart .addon-products > [class*="col-"] { flex: none; width: auto; max-width: none; padding: 0; }
#main-body .ed-cfg #order-standard_cart .panel-addon {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto auto; height: 100%; margin: 0;
  border: 1.5px solid var(--ed-rule-e3e3dc); border-radius: 18px; background: var(--ed-surface); text-align: start; overflow: hidden; cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .2s ease, box-shadow .2s ease;
}
#main-body .ed-cfg #order-standard_cart .panel-addon:hover { border-color: var(--ed-edge); transform: translateY(-2px); box-shadow: 0 16px 30px -24px rgba(17, 17, 17, .5); }
#main-body .ed-cfg #order-standard_cart .panel-addon .panel-body { grid-column: 1 / -1; padding: 18px 18px 8px; padding-inline-end: 52px; font-size: 13.5px; line-height: 1.75; color: var(--ed-muted); text-align: start; }
#main-body .ed-cfg #order-standard_cart .panel-addon .panel-body label { display: block; margin: 0 0 4px; font-size: 16px; font-weight: 800; line-height: 1.4; color: var(--ed-text); cursor: pointer; }
#main-body .ed-cfg #order-standard_cart .panel-addon .panel-body br { display: none; }
#main-body .ed-cfg #order-standard_cart .panel-addon [class*="icheckbox"], #main-body .ed-cfg #order-standard_cart .panel-addon input[type="checkbox"] { position: absolute !important; opacity: 0 !important; width: 1px !important; height: 1px !important; margin: 0 !important; }
#main-body .ed-cfg #order-standard_cart .panel-addon .panel-price { grid-column: 1; align-self: center; padding: 4px 18px 10px; white-space: nowrap; background: transparent !important; border: 0 !important; color: var(--ed-text) !important; font-size: 18px; font-weight: 800; text-align: start; }
#main-body .ed-cfg #order-standard_cart .panel-addon .panel-add {
  grid-column: 1; margin: 0 16px 16px; padding: 10px 16px; border: 0 !important; border-radius: 999px;
  background: var(--ed-lime) !important; color: var(--ed-ink) !important; font-size: 14px; font-weight: 700; white-space: nowrap; text-align: center;
}
#main-body .ed-cfg #order-standard_cart .panel-addon::after {
  content: "+"; position: absolute; top: 14px; inset-inline-end: 14px; display: grid; place-items: center; width: 28px; height: 28px;
  border-radius: 50%; background: var(--ed-tint-f2f2ec); color: var(--ed-text); font-size: 18px; font-weight: 700; line-height: 1;
}
#main-body .ed-cfg #order-standard_cart .panel-addon-selected { border-color: var(--ed-lime); background: var(--ed-tint-f3ffd6); }
#main-body .ed-cfg #order-standard_cart .panel-addon-selected::after { content: "✓"; background: var(--ed-ink); color: var(--ed-lime); font-size: 15px; }
#main-body .ed-cfg #order-standard_cart .panel-addon-selected .panel-add { background: var(--ed-ink) !important; color: #fff !important; }
@media (max-width: 767.98px) {
  #main-body .ed-cfg #order-standard_cart .addon-products { grid-template-columns: minmax(0, 1fr); }
}

/* Errors and the "questions?" note */
#main-body .ed-cfg #order-standard_cart #containerProductValidationErrors { border: 0; border-radius: 18px; background: var(--ed-tint-fdecef); color: #9b1c2e; }
#main-body .ed-cfg #order-standard_cart .alert-warning.info-text-sm { margin-top: 6px; border: 0; border-radius: 16px; background: transparent; color: var(--ed-muted); padding-inline: 4px; }
#main-body .ed-cfg #order-standard_cart .alert-warning.info-text-sm a { color: var(--ed-text); font-weight: 700; }

/* Order summary: a white card that stays in view, the continue button under it */
#main-body .ed-cfg #order-standard_cart .order-summary {
  margin: 0; padding: 22px; border: 0; border-radius: 24px; background: var(--ed-surface); color: var(--ed-text);
  box-shadow: 0 1px 2px rgba(var(--ed-shade-rgb), .05);
}
#main-body .ed-cfg #order-standard_cart .order-summary h2 { margin: 0 0 14px; padding: 0; border: 0; background: transparent; color: var(--ed-text); font-size: 19px !important; font-weight: 700; text-align: start; }
#main-body .ed-cfg #order-standard_cart .order-summary .loader { background: color-mix(in srgb, var(--ed-surface) 70%, transparent); color: var(--ed-text); border-radius: 24px; }
#main-body .ed-cfg #order-standard_cart .summary-container { padding: 0; background: transparent; color: var(--ed-text); font-size: 14.5px; line-height: 1.7; }
#main-body .ed-cfg #order-standard_cart .summary-container .product-name { display: block; font-size: 16px; font-weight: 700; color: var(--ed-text); }
#main-body .ed-cfg #order-standard_cart .summary-container .product-group { display: block; margin-bottom: 10px; font-size: 13px; color: var(--ed-muted); }
#main-body .ed-cfg #order-standard_cart .summary-container .clearfix { padding: 4px 0; }
#main-body .ed-cfg #order-standard_cart .summary-totals { margin: 10px 0; padding: 10px 0; border-block: 1px solid var(--ed-line); }
#main-body .ed-cfg #order-standard_cart .total-due-today { margin-top: 6px; padding: 0; background: transparent; text-align: start; }
#main-body .ed-cfg #order-standard_cart .total-due-today .amt { display: block; font-size: 32px; font-weight: 700; line-height: 1.1; color: var(--ed-text); font-variant-numeric: tabular-nums; }
#main-body .ed-cfg #order-standard_cart .total-due-today span:not(.amt) { font-size: 13.5px; color: var(--ed-muted); }
#main-body .ed-cfg #order-standard_cart #btnCompleteProductConfig {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 54px; margin-top: 12px;
  border: 0; border-radius: 999px; background: var(--ed-ink); color: #fff; font-size: 17px; font-weight: 700;
}
#main-body .ed-cfg #order-standard_cart #btnCompleteProductConfig i { color: var(--ed-lime); }
#main-body .ed-cfg #order-standard_cart #btnCompleteProductConfig:hover { box-shadow: 0 12px 24px -14px rgba(var(--ed-shade-rgb), .7); }
:root[data-theme="dark"] #main-body .ed-cfg #order-standard_cart #btnCompleteProductConfig { background: #f2f2ec; color: #151515; }
:root[data-theme="dark"] #main-body .ed-cfg #order-standard_cart #btnCompleteProductConfig i { color: #151515; }
@media (min-width: 992px) {
  #main-body .ed-cfg #order-standard_cart #scrollingPanelContainer #orderSummary { position: sticky; top: 24px; }
}

/* ---------- 8. Phones and narrow columns ---------- */
@media (max-width: 1199px) {
}
@media (max-width: 991px) {
  #order-standard_cart .ed-shop--a, #order-standard_cart .ed-shop--c { grid-template-columns: minmax(0, 1fr); }
  #order-standard_cart .ed-shop--a .ed-pk:first-child:nth-last-child(2n+1) { display: flex; }
  #order-standard_cart .ed-shop--a .ed-pk { min-height: 0; }
  #order-standard_cart .ed-shop--b .ed-pk { grid-template-columns: minmax(0, 1fr); }
  #order-standard_cart .ed-shop--b .ed-pk__buy { justify-items: start; text-align: start; min-width: 0; }
  #order-standard_cart .ed-shop--b .ed-pk__price { justify-content: flex-start; }
  #order-standard_cart .ed-shop--b .ed-pk__price small { text-align: start; }
}
@media (max-width: 767px) {
  #order-standard_cart .ed-shop--b .ed-pk__main { grid-template-columns: minmax(0, 1fr); }
  #order-standard_cart .ed-shop--b .ed-pk__main > :not(.ed-pk__icon) { grid-column: 1; }
  #order-standard_cart .ed-shop--b .ed-pk__icon { grid-row: auto; }
  #order-standard_cart .ed-shop--c .ed-pk__buy { padding: 20px 22px 24px; }
  #order-standard_cart .ed-shop--a .ed-pk, #order-standard_cart .ed-shop--b .ed-pk, #order-standard_cart .ed-shop--c .ed-pk__main { padding: 22px; }
  #order-standard_cart .ed-pk__price b { font-size: 30px; }
  .ed-cfg .ed-cfg__head { padding: 18px; gap: 14px; }
  .ed-cfg .ed-cfg__name { font-size: 22px; }
  #main-body .ed-cfg #order-standard_cart .field-container,
  #main-body .ed-cfg #order-standard_cart .product-configurable-options { padding: 18px; }
}
@media (max-width: 991px) {
  #order-standard_cart .ed-shop--e { grid-template-columns: minmax(0, 1fr); }
  #order-standard_cart .ed-shop--e .ed-pk:first-child { grid-row: auto; position: static; }
  #order-standard_cart .ed-shop--e .ed-pk:not(:first-child) { grid-column: 1; }
}
@media (max-width: 767px) {
  #order-standard_cart .ed-shop--d { grid-template-columns: repeat(var(--n, 3), minmax(240px, 82%)); }
  #order-standard_cart .ed-shop--f { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #order-standard_cart .ed-shop--g .ed-pk { padding: 18px 18px; gap: 0 12px; }
  #order-standard_cart .ed-shop--g .ed-pk__price b { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  #order-standard_cart .ed-pk__go, #order-standard_cart .ed-shop--b .ed-pk { transition: none; }
}

/* Order page, sent through the cart API: our total replaces the stock one (which fails there). */
#main-body .ed-cfg.is-api #order-standard_cart #producttotal,
#main-body .ed-cfg.is-api #order-standard_cart #orderSummaryLoader { display: none !important; }
.ed-cfg .ed-sum__name { margin: 0 0 10px; font-size: 16px; font-weight: 700; color: var(--ed-text); }
.ed-cfg .ed-sum dl { display: grid; gap: 0; margin: 0; }
.ed-cfg .ed-sum dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--ed-line); font-size: 14.5px; }
.ed-cfg .ed-sum dt { font-weight: 400; color: var(--ed-muted); }
.ed-cfg .ed-sum dd { margin: 0; font-weight: 700; color: var(--ed-text); font-variant-numeric: tabular-nums; }
.ed-cfg .ed-sum__total { display: grid; gap: 2px; margin: 14px 0 0; }
.ed-cfg .ed-sum__total span { font-size: 13.5px; color: var(--ed-muted); }
.ed-cfg .ed-sum__total b { font-size: 32px; font-weight: 700; line-height: 1.1; color: var(--ed-text); font-variant-numeric: tabular-nums; }

/* The order page's product icon: an ink tile (beats the card rule in section 2). */
#main-body .ed-cfg .ed-cfg__head .ed-pk__icon { width: 56px; height: 56px; border-radius: 18px; background: var(--ed-ink); color: var(--ed-lime); font-size: 26px; }
:root[data-theme="dark"] #main-body .ed-cfg .ed-cfg__head .ed-pk__icon { background: #2a2a24; }

/* Our total only while sending through the API; otherwise the stock total (it works then). */
.ed-cfg:not(.is-api) .ed-sum { display: none; }

/* The cart is WHMCS's own app inside a shadow root: inherited properties still reach it, so it keeps our typeface. */
#nexus-root { font-family: "Thmanyah Sans", "Segoe UI", Tahoma, sans-serif; }

/* ---------- 9. Order panel on the section page (order-sheet.tpl) ----------
   Slides in from the page's end side on desktop, rises as a bottom sheet on phones. Ink head like
   the registration page's head, term tiles, the domain check, question boxes, a sticky total. */
html.ed-sheet-open { overflow: hidden; }
.ed-sheet { position: fixed; inset: 0; z-index: 1060; }
.ed-sheet[hidden] { display: none; }
.ed-sheet__scrim { position: absolute; inset: 0; background: rgba(17, 17, 17, .5); opacity: 0; transition: opacity .2s ease; }
.ed-sheet__panel {
  --x: 36px; position: absolute; inset-block: 12px; inset-inline-end: 12px; width: min(500px, calc(100% - 24px));
  display: flex; flex-direction: column; overflow: hidden; border-radius: 28px; background: var(--ed-surface); color: var(--ed-text);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .45); opacity: 0; transform: translateX(var(--x)); transition: transform .24s cubic-bezier(.2, .8, .2, 1), opacity .2s ease;
}
html[dir="rtl"] .ed-sheet__panel { --x: -36px; }
.ed-sheet.is-open .ed-sheet__scrim { opacity: 1; }
.ed-sheet.is-open .ed-sheet__panel { opacity: 1; transform: none; }

/* Logo (or icon) and close on one row, the titles under them at full width: beside a wide logo the title
   wrapped after one word (George, 2026-12-01). */
.ed-sheet__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px 14px; padding: 20px 22px 22px; background: var(--ed-ink); color: #fff; }
.ed-sheet__head > .ed-sheet__icon { justify-self: start; }
.ed-sheet__head > .ed-sheet__titles { grid-column: 1 / -1; grid-row: 2; }
.ed-sheet__icon { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(255, 255, 255, .1); color: var(--ed-lime); font-size: 24px; }
.ed-sheet__titles { flex: 1; min-width: 0; }
.ed-sheet__group { margin: 0; font-size: 13px; font-weight: 700; color: #a9a9a1; }
.ed-sheet__title { margin: 2px 0 0; font-size: 23px; font-weight: 700; line-height: 1.3; color: #fff; text-wrap: balance; }
.ed-sheet__tag { margin: 6px 0 0; font-size: 14.5px; line-height: 1.6; color: #d4d4cc; }
.ed-sheet__x { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 18px; cursor: pointer; }
.ed-sheet__x:hover { background: var(--ed-lime); color: var(--ed-ink); }
.ed-sheet__x:focus-visible { outline: 2px solid var(--ed-lime); outline-offset: 2px; }

.ed-sheet__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 22px; }
/* One column that never grows past the panel: an auto track took the widest field's natural width (391px on a 390px phone,
   so the panel scrolled sideways and clipped «تحقق»). */
.ed-sheet__step { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.ed-sheet__part { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; min-width: 0; }
.ed-sheet__part[hidden] { display: none; }
.ed-sheet__part h3, .ed-sheet__cart-title { margin: 0; font-size: 15.5px; font-weight: 700; color: var(--ed-text); }

.ed-sheet__terms { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.ed-sheet__terms button {
  display: grid; gap: 2px; justify-items: start; padding: 12px 14px; border: 1.5px solid var(--ed-line); border-radius: 16px;
  background: var(--ed-surface); color: var(--ed-text); font: inherit; text-align: start; cursor: pointer;
}
.ed-sheet__terms button b { font-size: 15.5px; }
.ed-sheet__terms button span { font-size: 13.5px; color: var(--ed-muted); font-variant-numeric: tabular-nums; }
.ed-sheet__terms button:hover { border-color: var(--ed-rule-b4b4ad); }
.ed-sheet__terms button[aria-checked="true"] { border-color: var(--ed-edge); box-shadow: inset 0 0 0 1px var(--ed-edge); }
.ed-sheet__terms button[aria-checked="true"] b::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-inline-start: 8px; border-radius: 50%; background: var(--ed-lime); box-shadow: 0 0 0 2px var(--ed-ink); vertical-align: middle; }

.ed-sheet__tabs { display: inline-flex; gap: 4px; width: fit-content; padding: 4px; border-radius: 999px; background: var(--ed-tint-f2f2ec); }
.ed-sheet__tabs button { min-height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--ed-muted); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.ed-sheet__tabs button[aria-selected="true"] { background: var(--ed-surface); color: var(--ed-text); box-shadow: 0 1px 3px rgba(var(--ed-shade-rgb), .14); }
.ed-sheet__domain { display: flex; gap: 8px; }
.ed-sheet__domain input { flex: 1; min-width: 0; min-height: 50px; padding: 0 16px; border: 1.5px solid var(--ed-line); border-radius: 999px; background: var(--ed-surface); color: var(--ed-text); font-size: 16px; text-align: left; }
.ed-sheet__domain input.is-missing { border-color: #e2364f; }
.ed-sheet__domain input:focus { border-color: var(--ed-edge); outline: 0; box-shadow: 0 0 0 3px color-mix(in srgb, var(--ed-lime) 55%, transparent); }
.ed-sheet__check { flex: none; min-height: 50px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--ed-ink); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.ed-sheet__dres { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ed-muted); }
.ed-sheet__dres:empty { display: none; }
.ed-sheet__dres.is-ok { color: #3d7f1e; font-weight: 700; }
.ed-sheet__dres.is-bad { color: #c22a40; font-weight: 700; }

.ed-sheet__qs { display: grid; gap: 14px; }
.ed-sheet__q { display: grid; gap: 6px; }
.ed-sheet__q label { margin: 0; font-size: 14.5px; font-weight: 700; color: var(--ed-text); }
.ed-sheet__q.is-required label::after { content: " *"; color: #e2364f; }
.ed-sheet__opt { font-weight: 400; color: var(--ed-muted); }
.ed-sheet__q input:not([type="checkbox"]), .ed-sheet__q select, .ed-sheet__q textarea {
  width: 100%; min-height: 50px; padding: 11px 15px; border: 1.5px solid var(--ed-line); border-radius: 14px;
  background: var(--ed-surface); color: var(--ed-text); font: inherit; font-size: 16px; line-height: 1.5;
}
.ed-sheet__q textarea { min-height: 96px; resize: vertical; }
.ed-sheet__q input:focus, .ed-sheet__q select:focus, .ed-sheet__q textarea:focus { border-color: var(--ed-edge); outline: 0; box-shadow: 0 0 0 3px color-mix(in srgb, var(--ed-lime) 55%, transparent); }
.ed-sheet__q .is-missing { border-color: #e2364f !important; }
.ed-sheet__hint { margin: 0; font-size: 13px; line-height: 1.6; color: var(--ed-muted); }
.ed-sheet__err { padding: 12px 16px; border-radius: 16px; background: var(--ed-tint-fdecef); color: #9b1c2e; font-size: 14px; }
.ed-sheet__err ul { margin: 0; padding-inline-start: 18px; }

.ed-sheet__done { display: grid; justify-items: center; gap: 10px; padding: 8px 0 4px; text-align: center; }
.ed-sheet__tick { display: inline-flex; align-items: center; justify-content: center; width: 68px; height: 68px; border-radius: 50%; background: var(--ed-lime); color: var(--ed-ink); font-size: 28px; }
.ed-sheet__done-title { margin: 0; font-size: 22px; font-weight: 700; color: var(--ed-text); }
.ed-sheet__cart { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.ed-sheet__cart li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--ed-line); font-size: 14.5px; }
.ed-sheet__cart li b { flex: none; font-variant-numeric: tabular-nums; }

.ed-sheet__foot { display: grid; gap: 12px; padding: 16px 22px 20px; border-top: 1px solid var(--ed-line); background: var(--ed-surface); }
.ed-sheet__total { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 12px; }
.ed-sheet__total span { font-size: 13.5px; color: var(--ed-muted); }
.ed-sheet__total b { grid-row: span 2; font-size: 30px; font-weight: 700; line-height: 1.1; color: var(--ed-text); font-variant-numeric: tabular-nums; }
.ed-sheet__total small { font-size: 13px; color: var(--ed-muted); }
.ed-sheet__actions { display: grid; gap: 8px; }
.ed-sheet__actions[hidden] { display: none; }
.ed-sheet__add, .ed-sheet__go {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; border: 0; border-radius: 999px;
  background: var(--ed-ink); color: #fff; font: inherit; font-size: 17px; font-weight: 700; cursor: pointer;
}
.ed-sheet__add i { color: var(--ed-lime); }
.ed-sheet__go { background: var(--ed-lime); color: var(--ed-ink); }
.ed-sheet__add:focus-visible, .ed-sheet__go:focus-visible, .ed-sheet__check:focus-visible, .ed-sheet__more:focus-visible { outline: 0; box-shadow: 0 0 0 3px var(--ed-surface), 0 0 0 5px var(--ed-edge); }
.ed-sheet__add.is-busy, .ed-sheet__go.is-busy { opacity: .6; cursor: progress; }
.ed-sheet__more { min-height: 44px; border: 0; background: transparent; color: var(--ed-text); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
:root[data-theme="dark"] .ed-sheet__add, :root[data-theme="dark"] .ed-sheet__check { background: #f2f2ec; color: #151515; }
:root[data-theme="dark"] .ed-sheet__add i { color: #151515; }
:root[data-theme="dark"] .ed-sheet__head { background: #0d0d0c; box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .08); }

@media (max-width: 600px) {
  .ed-sheet__panel { --x: 0; inset: auto 0 0 0; width: 100%; max-height: 92vh; border-radius: 28px 28px 0 0; transform: translateY(40px); }
  html[dir="rtl"] .ed-sheet__panel { --x: 0; }
  .ed-sheet.is-open .ed-sheet__panel { transform: none; }
  .ed-sheet__foot { padding-bottom: max(20px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  .ed-sheet__panel, .ed-sheet__scrim { transition: none; }
}

/* ---------- 10. Spacing pass (George, 2026-11-29: "some spaces") ----------
   One rhythm for every design: 24px between cards, 32px inside them, 18px between the parts of a
   card; the head, the design switch and the cards separated by 28px; the switch on one line. */
#main-body #order-standard_cart .ed-shop__head { margin-bottom: 26px; }
#main-body #order-standard_cart .ed-shop__lead { margin-top: 12px; }
#order-standard_cart .ed-shop__variants { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-bottom: 28px; padding: 6px; }
#order-standard_cart .ed-shop__variants::-webkit-scrollbar { display: none; }
#order-standard_cart .ed-shop__variants a, #order-standard_cart .ed-shop__variants span { flex: none; white-space: nowrap; }
#order-standard_cart .ed-pk__facts { gap: 8px; }
#order-standard_cart .ed-pk__facts li { padding: 5px 12px; }
#order-standard_cart .ed-pk__ready { padding: 14px 18px; }
#order-standard_cart .ed-pk__ready b { margin-bottom: 6px; }
#order-standard_cart .ed-pk__ready ul { gap: 4px; }
#order-standard_cart .ed-pk__desc { line-height: 1.85; }
#order-standard_cart .ed-pk__tag { margin-top: 6px; line-height: 1.65; }
/* a: colour tiles */
#order-standard_cart .ed-shop--a { gap: 24px; }
#order-standard_cart .ed-shop--a .ed-pk { padding: 32px; gap: 30px; }
#order-standard_cart .ed-shop--a .ed-pk__main { gap: 18px; }
/* b: rows */
#order-standard_cart .ed-shop--b .ed-pk { padding: 30px 32px; gap: 32px; }
#order-standard_cart .ed-shop--b .ed-pk__main { gap: 12px 22px; }
/* Its order column is a panel (option 1 of three, George's pick 2026-12-01: "make it an elegant place"): framed, the
   row's full height, the terms as a price list (term, its price from data-amount / data-cur, a lime dot on the chosen
   one) and the button at the foot. With no terms (one term, bundles) the price shows large and the group is centred. */
#order-standard_cart .ed-shop--b .ed-pk { align-items: stretch; }
#order-standard_cart .ed-shop--b .ed-pk__buy {
  display: flex; flex-direction: column; gap: 12px; width: 300px; min-width: 0; padding: 18px; border-radius: 22px;
  background: var(--ed-bg); box-shadow: inset 0 0 0 1px var(--ed-line); text-align: start;
}
#order-standard_cart .ed-shop--b .ed-pk__kick { display: block; margin: 0 4px; font-size: 13px; font-weight: 700; color: var(--ed-muted); }
#order-standard_cart .ed-shop--b .ed-pk__terms { display: grid; gap: 4px; padding: 0; border-radius: 0; background: transparent; }
#order-standard_cart .ed-shop--b .ed-pk__terms button {
  display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 14px; border-radius: 14px; color: var(--ed-text); font-size: 15px; text-align: start;
}
#order-standard_cart .ed-shop--b .ed-pk__terms button::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ed-rule-d4d4ce); transition: box-shadow .15s ease, background-color .15s ease; }
#order-standard_cart .ed-shop--b .ed-pk__terms button::after { content: attr(data-amount) " " attr(data-cur); margin-inline-start: auto; font-weight: 700; font-variant-numeric: tabular-nums; }
#order-standard_cart .ed-shop--b .ed-pk__terms button:hover { background: var(--ed-surface); }
#order-standard_cart .ed-shop--b .ed-pk__terms button[aria-checked="true"] { background: var(--ed-surface); box-shadow: 0 0 0 1.5px var(--ed-edge); }
#order-standard_cart .ed-shop--b .ed-pk__terms button[aria-checked="true"]::before { background: var(--ed-lime); box-shadow: inset 0 0 0 4.5px var(--ed-ink); }
#order-standard_cart .ed-shop--b .ed-pk__price { justify-content: flex-start; padding: 0 4px; }
#order-standard_cart .ed-shop--b .ed-pk__price small { text-align: start; }
#order-standard_cart .ed-shop--b .ed-pk__buy:not(:has(.ed-pk__terms)) { justify-content: center; }
#order-standard_cart .ed-shop--b .ed-pk__buy:not(:has(.ed-pk__terms)) .ed-pk__price > :is(b, .ed-pk__cur) { display: inline; }
#order-standard_cart .ed-shop--b .ed-pk__buy:not(:has(.ed-pk__terms)) .ed-pk__go-price { display: none; }
#order-standard_cart .ed-shop--b .ed-pk__go { width: 100%; margin-top: auto; }
#order-standard_cart .ed-shop--b .ed-pk__buy:not(:has(.ed-pk__terms)) .ed-pk__go { margin-top: 8px; }
#order-standard_cart .ed-shop--b .ed-pk:hover .ed-pk__buy { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
#order-standard_cart .ed-shop--b .ed-pk:hover .ed-pk__kick { color: #c9c9c1; }
#order-standard_cart .ed-shop--b .ed-pk:hover .ed-pk__terms { background: transparent; }
#order-standard_cart .ed-shop--b .ed-pk:hover .ed-pk__terms button:not([aria-checked="true"]) { color: #e4e4dc; }
#order-standard_cart .ed-shop--b .ed-pk:hover .ed-pk__terms button:not([aria-checked="true"]):hover { background: rgba(255, 255, 255, .08); }
#order-standard_cart .ed-shop--b .ed-pk:hover .ed-pk__terms button::before { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
#order-standard_cart .ed-shop--b .ed-pk:hover .ed-pk__terms button[aria-checked="true"] { background: #fff; color: var(--ed-ink); box-shadow: none; }
#order-standard_cart .ed-shop--b .ed-pk:hover .ed-pk__terms button[aria-checked="true"]::before { background: var(--ed-lime); box-shadow: inset 0 0 0 4.5px var(--ed-ink); }
/* Below 1200px the 272px sidebar left a row's text about 86px wide beside the panel: it goes under the text there. */
@media (max-width: 1199px) {
  #order-standard_cart .ed-shop--b .ed-pk { grid-template-columns: minmax(0, 1fr); }
  #order-standard_cart .ed-shop--b .ed-pk__buy { width: 100%; max-width: 440px; }
}
@media (max-width: 420px) {
  #order-standard_cart .ed-shop--b .ed-pk__buy { padding: 14px; }
  #order-standard_cart .ed-shop--b .ed-pk__go { gap: 8px; padding-inline: 16px; }
}
/* c: vouchers */
#order-standard_cart .ed-shop--c { gap: 28px 24px; }
#order-standard_cart .ed-shop--c .ed-pk__main { padding: 32px 32px 28px; gap: 18px; }
#order-standard_cart .ed-shop--c .ed-pk__buy { padding: 26px 32px 30px; }
/* d: comparison */
#order-standard_cart .ed-shop--d { gap: 0 16px; }
#order-standard_cart .ed-shop--d .ed-pk__top { padding: 26px 24px 22px; gap: 12px; }
#order-standard_cart .ed-shop--d .ed-pk__desc, #order-standard_cart .ed-shop--d .ed-pk__specs { padding: 18px 24px; }
#order-standard_cart .ed-shop--d .ed-pk__facts { padding: 0 24px 16px; }
#order-standard_cart .ed-shop--d .ed-pk__ready { margin: 0 24px 18px; }
#order-standard_cart .ed-shop--d .ed-pk__terms { margin: 8px 24px 0; }
#order-standard_cart .ed-shop--d .ed-pk__price { padding: 18px 24px 0; margin-top: 18px; }
#order-standard_cart .ed-shop--d .ed-pk__go { margin: 16px 24px 24px; }
/* e: spotlight + list */
#order-standard_cart .ed-shop--e { gap: 14px 24px; }
#order-standard_cart .ed-shop--e .ed-pk:first-child { padding: 36px; gap: 30px; }
#order-standard_cart .ed-shop--e .ed-pk:first-child .ed-pk__main { gap: 18px; }
#order-standard_cart .ed-shop--e .ed-pk:first-child .ed-pk__buy { padding-top: 26px; }
#order-standard_cart .ed-shop--e .ed-pk:not(:first-child) { padding: 18px 22px; gap: 16px; }
#order-standard_cart .ed-shop--e .ed-pk:not(:first-child) .ed-pk__main { gap: 4px 14px; }
@media (max-width: 767px) {
  #order-standard_cart .ed-shop--a .ed-pk, #order-standard_cart .ed-shop--b .ed-pk, #order-standard_cart .ed-shop--c .ed-pk__main,
  #order-standard_cart .ed-shop--e .ed-pk:first-child { padding: 24px; }
  #order-standard_cart .ed-shop--c .ed-pk__buy { padding: 22px 24px 26px; }
  #order-standard_cart .ed-shop--a, #order-standard_cart .ed-shop--c { gap: 20px; }
  #order-standard_cart .ed-shop__variants { margin-bottom: 22px; }
}
/* The switch fits on one line: no visible label (the nav keeps its aria-label), tighter pills; on
   narrow screens it may wrap instead of being cut off. */
#order-standard_cart .ed-shop__variants { flex-wrap: wrap; overflow: visible; gap: 4px; }
#order-standard_cart .ed-shop__variants > span { display: none; }
#order-standard_cart .ed-shop__variants a { padding: 8px 14px 8px 12px; padding-inline: 12px 14px; gap: 7px; }
#order-standard_cart .ed-shop__variants a.ed-shop__auto { padding-inline: 14px; }
/* Spotlight list rows: name and line on top, price and round button on a row under them. */
#order-standard_cart .ed-shop--e { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
#order-standard_cart .ed-shop--e .ed-pk:not(:first-child) { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 20px 22px; }
#order-standard_cart .ed-shop--e .ed-pk:not(:first-child) .ed-pk__buy { justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--ed-line); }
#order-standard_cart .ed-shop--e .ed-pk:not(:first-child) .ed-pk__price small { display: inline; flex-basis: auto; margin-inline-start: 6px; }
/* Comparison: each spec as a small label over its value, so narrow columns stay tidy. */
#order-standard_cart .ed-shop--d .ed-pk__specs li { display: grid; gap: 2px; justify-content: start; padding: 10px 0; }
#order-standard_cart .ed-shop--d .ed-pk__specs span { font-size: 12.5px; }
#order-standard_cart .ed-shop--d .ed-pk__specs b { font-size: 15px; }
#order-standard_cart .ed-shop--d { grid-template-columns: repeat(var(--n, 3), minmax(240px, 1fr)); }
#order-standard_cart .ed-shop--d .ed-pk__terms button { min-height: 30px; padding: 0 10px; font-size: 12.5px; }

/* ---------- 11. Product logos (img/products of this folder) ----------
   A logo replaces the icon on a plate as tall as the icon tile: white for coloured logos, ink for
   light ones (Apple). If the file fails to load, the icon comes back. */
#order-standard_cart .ed-pk__logo { width: auto !important; min-width: 52px; max-width: 100%; padding: 0 14px; background: #fff !important; box-shadow: inset 0 0 0 1px var(--ed-rule-e3e3dc); justify-self: start; }
#order-standard_cart .ed-pk__logo.is-dark { background: #151515 !important; box-shadow: none; }
#order-standard_cart .ed-pk__logo img { display: block; height: 46%; width: auto; max-width: 150px; object-fit: contain; }
#order-standard_cart .ed-pk__logo > i { display: none; }
#order-standard_cart .ed-pk__logo.is-broken { padding: 0; width: 52px !important; background: var(--ed-tint-f2f2ec) !important; }
#order-standard_cart .ed-pk__logo.is-broken img { display: none; }
#order-standard_cart .ed-pk__logo.is-broken > i { display: inline; }
#order-standard_cart .ed-shop--a .ed-pk__logo { box-shadow: none; }
#order-standard_cart .ed-shop--c .ed-pk__top:has(.ed-pk__logo) { grid-template-columns: minmax(0, 1fr); }
#order-standard_cart .ed-shop--b .ed-pk__main:has(.ed-pk__logo) .ed-pk__icon { grid-row: auto; grid-column: 2; }
#order-standard_cart .ed-shop--b .ed-pk__main:has(.ed-pk__logo) { grid-template-columns: minmax(0, 1fr); }
#order-standard_cart .ed-shop--b .ed-pk__main:has(.ed-pk__logo) > :not(.ed-pk__icon) { grid-column: 1; }
#order-standard_cart .ed-shop--b .ed-pk__main:has(.ed-pk__logo) .ed-pk__icon { grid-column: 1; }
#order-standard_cart .ed-shop--e .ed-pk:not(:first-child) .ed-pk__main:has(.ed-pk__logo) { grid-template-columns: minmax(0, 1fr); }
.ed-sheet__icon.has-logo { width: auto; min-width: 52px; padding: 0 14px; background: #fff; }
.ed-sheet__icon.has-logo.is-dark { background: rgba(255, 255, 255, .1); }
.ed-sheet__icon.has-logo img { display: block; height: 22px; width: auto; max-width: 140px; }
.ed-sheet__icon.has-logo > i { display: none; }
/* Bundles: their contents as a plain list. */
#order-standard_cart .ed-pk__list li { display: flex; align-items: baseline; gap: 10px; justify-content: flex-start; padding: 6px 0; border: 0; color: var(--ed-text-2); }
#order-standard_cart .ed-pk__list li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .55; transform: translateY(-2px); }
/* Bento: no tile left alone with empty cells beside it (counts 3, 5, 6, 7). */
#order-standard_cart .ed-shop--f .ed-pk:nth-child(3):last-child { grid-column: span 2; }
#order-standard_cart .ed-shop--f .ed-pk:nth-child(5):last-child { grid-column: 1 / -1; }
#order-standard_cart .ed-shop--f .ed-pk:nth-child(5):nth-last-child(2), #order-standard_cart .ed-shop--f .ed-pk:nth-child(6):last-child { grid-column: span 2; }
#order-standard_cart .ed-shop--f .ed-pk:nth-child(7):last-child { grid-column: span 2; }
#order-standard_cart .ed-shop--f .ed-pk:nth-child(n+3):is(:nth-child(3):last-child, :nth-child(5):last-child, :nth-child(5):nth-last-child(2), :nth-child(6):last-child, :nth-child(7):last-child) .ed-pk__tag { display: block; }
@media (max-width: 767px) {
  #order-standard_cart .ed-shop--f .ed-pk:nth-child(5):last-child { grid-column: span 2; }
}
/* Prices never break across lines; small bento tiles on phones stack the price over the button. */
#order-standard_cart .ed-pk__price b { white-space: nowrap; }
@media (max-width: 767px) {
  #order-standard_cart .ed-shop--f .ed-pk:nth-child(n+3) .ed-pk__buy { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  #order-standard_cart .ed-shop--f .ed-pk:nth-child(n+3) .ed-pk__price b { font-size: 22px; }
  #order-standard_cart .ed-shop--f .ed-pk { padding: 18px; }
}
/* Accordion: a wide logo sits above the name instead of squeezing it. */
#order-standard_cart .ed-shop--g .ed-pk__top:has(.ed-pk__logo) { grid-template-columns: minmax(0, 1fr); gap: 8px; justify-items: start; }
#order-standard_cart .ed-shop--g .ed-pk__logo { height: 36px; }
#order-standard_cart .ed-shop--g .ed-pk__logo img { max-width: 110px; }

/* ---------- 12. Deal pricing, price in the button, tiered plans (h), size picker (i) ---------- */
/* Deal: the old price crossed out above, a lime "save" pill after the term; "مثال" marks
   preview example values (ELABDA3_STORE_DEALS 'example'). */
#order-standard_cart .ed-pk__was { flex-basis: 100%; order: -1; font-size: 15px; font-weight: 500; color: var(--ed-muted); text-decoration-thickness: 1.5px; font-variant-numeric: tabular-nums; }
#order-standard_cart .ed-pk__save { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 4px 10px 4px 6px; padding-inline: 10px 6px; border-radius: 999px; background: var(--ed-lime); color: var(--ed-ink); font-size: 13px; font-weight: 700; }
#order-standard_cart .ed-pk__save i { font-style: normal; padding: 1px 7px; border-radius: 999px; background: var(--ed-ink); color: var(--ed-lime); font-size: 12px; }
#order-standard_cart .ed-ex, .ed-shop__count .ed-ex { display: inline-flex; align-items: center; margin-top: 6px; margin-inline-start: 6px; padding: 2px 8px; border: 1px dashed currentColor; border-radius: 6px; font-size: 11.5px; font-weight: 700; opacity: .75; }
#order-standard_cart .ed-shop--a .ed-pk__was, #order-standard_cart .ed-shop--c .is-featured .ed-pk__was { color: rgba(255, 255, 255, .7); }
#order-standard_cart .ed-shop--a .ed-pk__save { background: #fff; }

/* The section countdown */
#order-standard_cart .ed-shop__count {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 0 15px 22px; padding: 14px 20px;
  border-radius: 20px; background: var(--ed-ink); color: #fff;
}
#order-standard_cart .ed-shop__count[hidden] { display: none; }
#order-standard_cart .ed-shop__count-label { font-size: 15px; font-weight: 700; }
#order-standard_cart .ed-shop__count-parts { display: inline-flex; gap: 8px; direction: ltr; }
#order-standard_cart .ed-shop__count-parts > span { display: grid; justify-items: center; min-width: 54px; padding: 6px 8px; border-radius: 12px; background: rgba(255, 255, 255, .1); }
#order-standard_cart .ed-shop__count-parts b { font-size: 22px; line-height: 1.1; color: var(--ed-lime); font-variant-numeric: tabular-nums; }
#order-standard_cart .ed-shop__count-parts small { font-size: 11px; color: #c9c9c1; }
#order-standard_cart .ed-shop__count .ed-ex { margin: 0; color: #fff; }

/* Price inside the order button (switch "السعر في الزر") */
#order-standard_cart .ed-pk__go-price { display: none; padding-inline-start: 12px; border-inline-start: 1px solid rgba(255, 255, 255, .35); font-variant-numeric: tabular-nums; white-space: nowrap; }
#order-standard_cart .is-pricebtn .ed-pk__go-price { display: inline; }
#order-standard_cart .is-pricebtn .ed-pk__price > b, #order-standard_cart .is-pricebtn .ed-pk__price > .ed-pk__cur { display: none; }
/* with term buttons, the pressed one already names the term: drop the repeated label, and the price
   line itself when nothing else is left in it (a deal keeps its old price and save pill) */
#order-standard_cart .is-pricebtn:not(.ed-shop--e, .ed-shop--f) .ed-pk__buy:has(.ed-pk__terms) .ed-pk__price small[data-ed-term] { display: none; }
#order-standard_cart .is-pricebtn:not(.ed-shop--e, .ed-shop--f) .ed-pk__buy:has(.ed-pk__terms) .ed-pk__price:not(:has(.ed-pk__was, .ed-pk__save)) { display: none; }
#order-standard_cart .ed-shop--a .ed-pk__go-price, #order-standard_cart .ed-shop--c .ed-pk:not(.is-featured) .ed-pk__go-price,
#order-standard_cart .is-featured .ed-pk__go:is([class]) .ed-pk__go-price { border-inline-start-color: rgba(21, 21, 21, .25); }
/* round buttons keep the price beside them */
#order-standard_cart .is-pricebtn:is(.ed-shop--f) .ed-pk:not(:first-child) .ed-pk__go-price,
#order-standard_cart .is-pricebtn.ed-shop--e .ed-pk:not(:first-child) .ed-pk__go-price { display: none; }
#order-standard_cart .is-pricebtn:is(.ed-shop--f) .ed-pk:not(:first-child) .ed-pk__price > :is(b, .ed-pk__cur),
#order-standard_cart .is-pricebtn.ed-shop--e .ed-pk:not(:first-child) .ed-pk__price > :is(b, .ed-pk__cur) { display: inline; }
#order-standard_cart .ed-shop__pb { border: 1.5px dashed var(--ed-rule-c4c4bb); color: var(--ed-muted) !important; }
#order-standard_cart .ed-shop__pb i { width: 26px; height: 15px; border-radius: 999px; background: var(--ed-tint-e6e6e0); position: relative; flex: none; }
#order-standard_cart .ed-shop__pb i::after { content: ""; position: absolute; top: 2px; inset-inline-start: 2px; width: 11px; height: 11px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: inset-inline-start .15s ease; }
#order-standard_cart .ed-shop__pb.is-on { border-style: solid; border-color: var(--ed-edge); color: var(--ed-text) !important; }
#order-standard_cart .ed-shop__pb.is-on i { background: var(--ed-ink); }
#order-standard_cart .ed-shop__pb.is-on i::after { inset-inline-start: 13px; background: var(--ed-lime); }

/* h: tiered plans - columns joined in one strip; the featured plan raised with an ink tab; each
   plan after the first lists only what differs from the one before ("مقارنةً بـ..."). */
#order-standard_cart .ed-pk__plus { display: none; }
#order-standard_cart .ed-shop--h {
  display: grid; grid-template-columns: repeat(var(--n, 3), minmax(230px, 1fr)); gap: 0; margin-inline: 15px; padding: 26px 0 0;
  overflow-x: auto; scroll-snap-type: x proximity;
}
#order-standard_cart .ed-shop--h .ed-pk {
  display: flex; flex-direction: column; gap: 14px; padding: 28px 24px; background: var(--ed-surface); scroll-snap-align: start;
  border-block: 1px solid var(--ed-rule-ecece6); border-inline-start: 1px solid var(--ed-rule-ecece6);
}
#order-standard_cart .ed-shop--h .ed-pk:first-child { border-start-start-radius: 24px; border-end-start-radius: 24px; }
#order-standard_cart .ed-shop--h .ed-pk:last-child { border-inline-end: 1px solid var(--ed-rule-ecece6); border-start-end-radius: 24px; border-end-end-radius: 24px; }
#order-standard_cart .ed-shop--h .ed-pk__main, #order-standard_cart .ed-shop--h .ed-pk__buy { display: contents; }
#order-standard_cart .ed-shop--h .ed-pk__top { order: 1; display: grid; gap: 10px; }
#order-standard_cart .ed-shop--h .ed-pk__icon { width: 42px; height: 42px; border-radius: 13px; font-size: 19px; background: var(--ed-tint-f2f2ec); }
#order-standard_cart .ed-shop--h .ed-pk__name { font-size: 19px; }
#order-standard_cart .ed-shop--h .ed-pk__desc { order: 2; font-size: 14px; }
#order-standard_cart .ed-shop--h .ed-pk__price { order: 3; padding-top: 6px; }
#order-standard_cart .ed-shop--h .ed-pk__terms { order: 4; width: fit-content; }
#order-standard_cart .ed-shop--h .ed-pk__go { order: 5; width: 100%; }
#order-standard_cart .ed-shop--h .ed-pk__facts { order: 6; }
#order-standard_cart .ed-shop--h .ed-pk__specs, #order-standard_cart .ed-shop--h .ed-pk__plus { order: 7; padding-top: 16px; border-top: 1px solid var(--ed-line); }
#order-standard_cart .ed-shop--h .ed-pk__plus { display: grid; gap: 8px; }
#order-standard_cart .ed-shop--h .ed-pk__plus > b { font-size: 13.5px; color: var(--ed-muted); font-weight: 700; }
#order-standard_cart .ed-shop--h .ed-pk__plus .ed-pk__specs { order: 0; padding-top: 0; border: 0; }
#order-standard_cart .ed-shop--h .ed-pk:has(.ed-pk__plus) > .ed-pk__main > .ed-pk__specs { display: none; }
#order-standard_cart .ed-shop--h .ed-pk__specs li { padding: 6px 0; border: 0; }
#order-standard_cart .ed-shop--h .ed-pk__specs li::before { content: "✓"; margin-inline-end: 8px; font-weight: 700; color: var(--ed-text); }
#order-standard_cart .ed-shop--h .ed-pk__specs li { justify-content: flex-start; gap: 4px; }
#order-standard_cart .ed-shop--h .ed-pk__specs li span { order: 2; }
#order-standard_cart .ed-shop--h .ed-pk__specs li b { order: 1; }
#order-standard_cart .ed-shop--h .ed-pk__ready { order: 8; }
#order-standard_cart .ed-shop--h .ed-pk.is-featured { position: relative; margin-top: -14px; padding-top: 42px; border-radius: 22px; box-shadow: 0 0 0 1.5px var(--ed-edge), 0 24px 40px -28px rgba(var(--ed-shade-rgb), .5); z-index: 1; border-color: transparent; }
#order-standard_cart .ed-shop--h .ed-pk.is-featured::before { content: "\0627\0644\0623\0643\062B\0631 \0637\0644\0628\064B\0627"; position: absolute; top: 0; inset-inline-start: 24px; transform: translateY(-50%); padding: 4px 12px; border-radius: 999px; background: var(--ed-ink); color: var(--ed-lime); font-size: 12.5px; font-weight: 700; }
html[dir="ltr"] #order-standard_cart .ed-shop--h .ed-pk.is-featured::before { content: "Most popular"; }
#order-standard_cart .ed-shop--h .ed-pk.is-featured .ed-pk__go { background: var(--ed-lime); color: var(--ed-ink) !important; }
#order-standard_cart .ed-shop--h .ed-pk.is-featured .ed-pk__go svg { color: var(--ed-ink); }
#order-standard_cart .ed-shop--h .ed-pk.is-featured .ed-pk__facts .is-star { display: none; }
#order-standard_cart .ed-shop--h .ed-pk:hover { transform: none; background: var(--ed-tint-f9f9f6); }
#order-standard_cart .ed-shop--h .ed-pk.is-featured:hover { background: var(--ed-surface); }

/* i: size picker - the products as size tiles, one chosen, and one bar under them */
#order-standard_cart .ed-shop--i { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
#order-standard_cart .ed-shop--i .ed-pk {
  display: grid; align-content: center; justify-items: center; gap: 6px; min-height: 140px; padding: 20px 14px; text-align: center;
  border: 1.5px solid var(--ed-rule-e3e3dc); border-radius: 22px; background: var(--ed-surface);
}
#order-standard_cart .ed-shop--i .ed-pk__main, #order-standard_cart .ed-shop--i .ed-pk__buy { display: contents; }
#order-standard_cart .ed-shop--i :is(.ed-pk__icon, .ed-pk__tag, .ed-pk__desc, .ed-pk__specs, .ed-pk__facts, .ed-pk__ready, .ed-pk__terms, .ed-pk__go, .ed-pk__plus, .ed-pk__list, .ed-pk__save, .ed-ex) { display: none !important; }
#order-standard_cart .ed-shop--i .ed-pk__top { display: contents; }
#order-standard_cart .ed-shop--i .ed-pk__name { font-size: 16.5px; line-height: 1.4; }
#order-standard_cart .ed-shop--i .ed-pk__price { justify-content: center; }
#order-standard_cart .ed-shop--i .ed-pk__price small { text-align: center; }
#order-standard_cart .ed-shop--i .ed-pk__price b { font-size: 28px; display: inline !important; }
#order-standard_cart .ed-shop--i .ed-pk__price .ed-pk__cur { display: inline !important; }
#order-standard_cart .ed-shop--i .ed-pk:hover { transform: translateY(-2px); border-color: var(--ed-rule-b4b4ad); box-shadow: none; }
#order-standard_cart .ed-shop--i .ed-pk.is-picked { border-color: var(--ed-edge); box-shadow: inset 0 0 0 1.5px var(--ed-edge); }
#order-standard_cart .ed-shop--i .ed-pk.is-picked::after { content: ""; position: absolute; top: 12px; inset-inline-start: 12px; width: 18px; height: 18px; border-radius: 50%; background: var(--ed-lime); box-shadow: 0 0 0 3px var(--ed-ink) inset; }
#order-standard_cart .ed-shop--i .ed-pk:focus-visible { outline: 2px solid var(--ed-edge); outline-offset: 3px; }
#order-standard_cart .ed-pick {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin: 16px 15px 0; padding: 22px 26px;
  border-radius: 24px; background: var(--ed-surface); box-shadow: 0 1px 2px rgba(var(--ed-shade-rgb), .05), 0 0 0 1px var(--ed-rule-ecece6);
}
#order-standard_cart .ed-pick__info { display: grid; gap: 4px; min-width: 0; }
#order-standard_cart .ed-pick__name { margin: 0; font-size: 18px; font-weight: 700; color: var(--ed-text); }
#order-standard_cart .ed-pick__unit { margin: 0; font-size: 14px; color: var(--ed-muted); font-variant-numeric: tabular-nums; }
#order-standard_cart .ed-pick__total { display: flex; align-items: baseline; gap: 8px; margin: 0; margin-inline-start: auto; }
#order-standard_cart .ed-pick__total b { font-size: 36px; line-height: 1; color: var(--ed-text); font-variant-numeric: tabular-nums; }
#order-standard_cart .ed-pick__total span { font-size: 14px; color: var(--ed-muted); }
#order-standard_cart .ed-pick__go {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px;
  background: var(--ed-ink); color: #fff; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer;
}
#order-standard_cart .ed-pick__go svg { color: var(--ed-lime); }
#order-standard_cart .ed-pick__go:disabled { background: var(--ed-tint-e6e6e0); color: var(--ed-muted); cursor: not-allowed; }
#order-standard_cart .ed-pick__go:focus-visible { outline: 0; box-shadow: 0 0 0 3px var(--ed-surface), 0 0 0 5px var(--ed-edge); }
:root[data-theme="dark"] #order-standard_cart .ed-pick__go { background: #f2f2ec; color: #151515; }
:root[data-theme="dark"] #order-standard_cart .ed-pick__go svg { color: #151515; }
@media (max-width: 767px) {
  #order-standard_cart .ed-shop--i { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #order-standard_cart .ed-pick { padding: 18px; }
  #order-standard_cart .ed-pick__total { margin-inline-start: 0; }
  #order-standard_cart .ed-pick__go { width: 100%; justify-content: center; }
  #order-standard_cart .ed-shop--h { grid-template-columns: repeat(var(--n, 3), minmax(240px, 82%)); }
}
.ed-sheet__dres.is-warn { color: var(--ed-text); font-weight: 500; padding: 10px 14px; border-radius: 14px; background: var(--ed-tint-fff6d9); }

/* Size picker: the details card of the chosen size (replaces the earlier one-line bar). */
#order-standard_cart .ed-pick {
  --soft: color-mix(in srgb, var(--tone, #151515) 13%, var(--ed-surface));
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, auto); align-items: stretch; gap: 0; padding: 0; overflow: hidden;
}
#order-standard_cart .ed-pick__main { display: grid; gap: 16px; align-content: start; padding: 28px 30px; }
#order-standard_cart .ed-pick__head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; }
#order-standard_cart .ed-pick__head:has(.ed-pk__logo) { grid-template-columns: minmax(0, 1fr); gap: 12px; justify-items: start; }
#order-standard_cart .ed-pick__head .ed-pk__icon { background: var(--soft); }
#order-standard_cart .ed-pick__head .ed-pk__name { font-size: 22px; }
#order-standard_cart .ed-pick__body { display: grid; gap: 14px; }
#order-standard_cart .ed-pick__body[hidden], #order-standard_cart .ed-pick__terms[hidden] { display: none; }
#order-standard_cart .ed-pick__terms .ed-pk__terms { display: inline-flex !important; }
#order-standard_cart .ed-pick__side {
  display: grid; align-content: center; justify-items: start; gap: 10px; padding: 28px 30px;
  background: var(--ed-tint-f9f9f6); border-inline-start: 1px solid var(--ed-rule-ecece6);
}
#order-standard_cart .ed-pick__deal { display: grid; gap: 4px; justify-items: start; }
#order-standard_cart .ed-pick__deal:empty { display: none; }
#order-standard_cart .ed-pick__deal .ed-pk__was { order: 0; flex-basis: auto; }
#order-standard_cart .ed-pick__deal .ed-pk__save { margin: 0; }
#order-standard_cart .ed-pick__total { margin: 0; flex-wrap: wrap; }
#order-standard_cart .ed-pick__unit { margin: 0; }
#order-standard_cart .ed-pick__go { width: 100%; justify-content: center; margin-top: 6px; }
:root[data-theme="dark"] #order-standard_cart .ed-pick__side { background: rgba(255, 255, 255, .03); }
@media (max-width: 767px) {
  #order-standard_cart .ed-pick { grid-template-columns: minmax(0, 1fr); }
  #order-standard_cart .ed-pick__main, #order-standard_cart .ed-pick__side { padding: 20px; }
  #order-standard_cart .ed-pick__side { border-inline-start: 0; border-top: 1px solid var(--ed-rule-ecece6); }
}

/* ---------- Domain search (domainregister.tpl, ours since 2026-11-30) ----------
   George: "make this page make sales". White head card with the search and price chips, the exact
   name as a large card (lime edge when free), other extensions and close ideas as rows with an
   add button each, and a sticky bar leading to the add-ons step (a=confdomains). Tokens only. */
.ed-ds { position: relative; }
.ed-ds__head { padding: 32px 34px 28px; border-radius: 24px; background: var(--ed-surface); box-shadow: 0 1px 2px rgba(var(--ed-shade-rgb), .05); text-align: start; }
.ed-ds__kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--ed-muted-2); }
.ed-ds__title { margin: 6px 0 4px; font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; line-height: 1.2; color: var(--ed-text); }
.ed-ds__lead { margin: 0 0 18px; font-size: 16px; line-height: 1.7; color: var(--ed-muted); }
.ed-ds__form { display: flex; gap: 10px; }
.ed-ds__input {
  flex: 1 1 auto; min-width: 0; height: 60px; padding: 0 22px; border: 1.5px solid var(--ed-rule-d4d4ce); border-radius: 999px;
  background: var(--ed-bg); color: var(--ed-text); font-size: 19px; text-align: left; outline: 0;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.ed-ds__input:focus { border-color: var(--ed-edge); background: var(--ed-surface); box-shadow: 0 0 0 4px rgba(171, 250, 8, .45); }
.ed-ds__go {
  flex: 0 0 auto; height: 60px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--ed-ink); color: #fff;
  font-size: 17px; font-weight: 700; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease;
}
.ed-ds__go:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(21, 21, 21, .6); }
.ed-ds__go:focus-visible { outline: 3px solid var(--ed-edge); outline-offset: 3px; }
.ed-ds__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ed-ds__chip {
  padding: 7px 14px; border: 1px solid var(--ed-rule-d9d9d1); border-radius: 999px; background: var(--ed-surface);
  color: var(--ed-text-2); font-size: 14px; line-height: 1.4; cursor: pointer; text-decoration: none !important;
  transition: border-color .15s ease, transform .15s ease;
}
.ed-ds__chip b { font-weight: 800; color: var(--ed-text); }
.ed-ds__chip:hover { border-color: var(--ed-edge); transform: translateY(-1px); }
.ed-ds__chip.is-hot { border-color: #e2364f; }
.ed-ds__chip.is-hot b { color: #e2364f; }
.ed-ds__chip--all { background: transparent; border-style: dashed; color: var(--ed-muted) !important; }
.ed-ds__chip:focus-visible { outline: 3px solid var(--ed-edge); outline-offset: 2px; }

.ed-ds__msg { margin: 16px 0 0; padding: 12px 18px; border-radius: 16px; background: var(--ed-tint-f2f2ec); color: var(--ed-text); font-size: 15px; text-align: start; }
.ed-ds__msg.is-bad { background: #fde8eb; color: #a3162a; }
.ed-ds__results { margin-top: 20px; }

/* The exact name. Free: lime edge, price and add. Taken: transfer, and the nearest free option
   underneath. The name sits at the start of the card (inline-block, so a left-to-right name still
   lines up with the right-to-left text). */
.ed-ds__card {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 24px;
  padding: 26px 30px; border-radius: 24px; background: var(--ed-surface); border: 2px solid var(--ed-rule-e3e3dc);
  box-shadow: 0 1px 2px rgba(var(--ed-shade-rgb), .05); text-align: start;
}
.ed-ds__card.is-free { border-color: var(--ed-lime); box-shadow: 0 18px 40px -28px rgba(110, 160, 0, .9); }
.ed-ds__state { grid-column: 1 / -1; font-size: 15px; font-weight: 700; color: var(--ed-muted); }
.ed-ds__card.is-free .ed-ds__state { color: #3f7d16; }
.ed-ds__card.is-taken .ed-ds__state { color: #c2283e; }
.ed-ds__cardMain { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.ed-ds__cardMain .ed-ds__name { font-size: clamp(28px, 3.2vw, 38px); }
.ed-ds__cardMain .ed-ds__price b { font-size: 30px; }
.ed-ds__cardSide { display: flex; flex-direction: column; align-items: stretch; gap: 10px; min-width: 190px; }
.ed-ds__cardSide .ed-ds__add { justify-self: auto; padding: 14px 30px; font-size: 17px; }
.ed-ds__takenText { margin: 0; font-size: 15px; line-height: 1.7; color: var(--ed-muted); }
.ed-ds__xfer {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 999px;
  border: 1.5px solid var(--ed-edge); color: var(--ed-text) !important; font-weight: 700; text-decoration: none !important; white-space: nowrap;
}
.ed-ds__xfer:hover { background: var(--ed-ink); color: #fff !important; }
.ed-ds__near {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  margin-top: 6px; padding: 14px 18px; border-radius: 18px; background: var(--ed-tint-f3ffd6);
}
.ed-ds__near[hidden] { display: none; }
.ed-ds__nearLabel { font-size: 14px; font-weight: 700; color: #3f7d16; }
.ed-ds__near .ed-ds__name { font-size: 20px; }
.ed-ds__near .ed-ds__add { margin-inline-start: auto; }

.ed-ds__name { display: inline-block; font-size: 20px; font-weight: 500; line-height: 1.25; color: var(--ed-muted-2); overflow-wrap: anywhere; }
.ed-ds__name b { font-weight: 800; color: var(--ed-text); }
.ed-ds__hot { margin-inline-start: 8px; font-size: 14px; color: #e2364f; vertical-align: middle; }
.ed-ds__price { color: var(--ed-text); white-space: nowrap; font-size: 14px; }
.ed-ds__price b { font-size: 22px; font-weight: 800; }
.ed-ds__price small { display: block; margin-top: 2px; font-size: 13px; color: var(--ed-muted-2); }
.ed-ds__years {
  height: 42px; padding: 0 12px; border: 1px solid var(--ed-rule-d4d4ce); border-radius: 999px;
  background: var(--ed-surface); color: var(--ed-text); font-size: 14px; cursor: pointer;
}
.ed-ds__add {
  padding: 10px 22px; border: 0; border-radius: 999px; background: var(--ed-lime); color: var(--ed-ink);
  font-size: 15px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.ed-ds__add:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(80, 120, 0, .8); }
.ed-ds__add:focus-visible { outline: 3px solid var(--ed-edge); outline-offset: 3px; }
.ed-ds__add:disabled { opacity: .6; cursor: progress; transform: none; }
.ed-ds__add.is-added { background: var(--ed-ink); color: #fff; }

/* Other extensions and ideas: free ones only, cheapest first; the taken ones in one line. */
.ed-ds__group { margin-top: 28px; }
.ed-ds__h2 { margin: 0 0 12px; font-size: 20px; font-weight: 700; color: var(--ed-text); text-align: start; }
.ed-ds__count { font-size: 15px; font-weight: 500; color: #3f7d16; }
.ed-ds__rows { list-style: none; margin: 0; padding: 0; border-radius: 20px; background: var(--ed-surface); box-shadow: 0 1px 2px rgba(var(--ed-shade-rgb), .05); overflow: hidden; }
.ed-ds__rows[hidden] { display: none; }
.ed-ds__row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px 20px; padding: 14px 22px; border-top: 1px solid var(--ed-rule-ecece6); transition: background .15s ease; }
.ed-ds__row:first-child { border-top: 0; }
.ed-ds__row:hover { background: var(--ed-tint-f7f7f2); }
.ed-ds__who { min-width: 0; justify-self: start; }
.ed-ds__taken { margin: 10px 4px 0; font-size: 14px; line-height: 1.8; color: var(--ed-muted-2); text-align: start; }
.ed-ds__taken b { color: var(--ed-text-2); margin-inline-end: 4px; }
.ed-ds__none { display: inline-block; margin-top: 4px; color: var(--ed-text-2); }
.ed-ds__loading { margin: 12px 4px 0; font-size: 14px; color: var(--ed-muted-2); text-align: start; }
.ed-ds__loading[hidden] { display: none; }
.ed-ds__note { margin: 16px 4px 0; font-size: 13.5px; line-height: 1.8; color: var(--ed-muted-2); text-align: start; }

.ed-ds__how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.ed-ds__step { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 18px; background: var(--ed-surface); color: var(--ed-text-2); font-size: 15px; text-align: start; }
.ed-ds__step b { flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ed-ink); color: var(--ed-lime); font-size: 16px; }
.ed-ds__transfer { grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 2px; color: var(--ed-text) !important; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

.ed-ds__bar {
  position: sticky; bottom: 16px; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 20px; padding: 12px 12px 12px 22px; padding-inline-start: 22px; padding-inline-end: 12px;
  border-radius: 999px; background: var(--ed-ink); color: #fff; box-shadow: 0 22px 40px -20px rgba(0, 0, 0, .6);
}
.ed-ds__barText { font-size: 15px; font-weight: 700; }
.ed-ds__barGo { padding: 10px 24px; border-radius: 999px; background: var(--ed-lime); color: var(--ed-ink) !important; font-weight: 800; text-decoration: none !important; white-space: nowrap; }
.ed-ds__arrow { margin-inline-start: 4px; }

@media (max-width: 767.98px) {
  .ed-ds__head { padding: 24px 20px; }
  .ed-ds__form { flex-direction: column; }
  .ed-ds__go { width: 100%; }
  .ed-ds__card { grid-template-columns: minmax(0, 1fr); padding: 22px 20px; }
  .ed-ds__cardSide { min-width: 0; }
  .ed-ds__near .ed-ds__add { margin-inline-start: 0; width: 100%; }
  .ed-ds__row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding: 14px 16px; }
  .ed-ds__who { grid-column: 1 / -1; }
  .ed-ds__row .ed-ds__name { font-size: 18px; }
  .ed-ds__how { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Domain transfer (domaintransfer.tpl, ours since 2026-11-30) ----------
   The domain search head card with a two-field form (domain + transfer code), the transfer prices,
   four steps and the before-you-start notes. Reuses the .ed-ds__* rules above; tokens only. */
.ed-dt__form { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; align-items: end; gap: 12px; }
.ed-dt__field { display: flex; flex-direction: column; gap: 6px; min-width: 0; text-align: start; }
.ed-dt__field label { margin: 0; font-size: 14px; font-weight: 700; color: var(--ed-text-2); }
.ed-dt__hint { font-weight: 400; color: var(--ed-muted-3); margin-inline-start: 4px; }
#order-standard_cart .ed-dt__field .ed-ds__input { width: 100%; height: 58px; }
.ed-dt__go { white-space: nowrap; height: 58px; }
.ed-dt__go .loader { margin-inline-end: 6px; }
.ed-dt__msg { grid-column: 1 / -1; margin: 0; }
.ed-dt__captcha { grid-column: 1 / -1; }
.ed-dt__chipsLabel { align-self: center; font-size: 14px; color: var(--ed-muted-2); }
#order-standard_cart .ed-dt .ed-ds__chip:not(a) { cursor: default; }
#order-standard_cart .ed-dt .ed-ds__chip:not(a):hover { transform: none; border-color: var(--ed-rule-d9d9d1); }

.ed-dt__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ed-dt__steps li {
  display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 20px; background: var(--ed-surface);
  box-shadow: 0 1px 2px rgba(var(--ed-shade-rgb), .05); text-align: start;
}
.ed-dt__steps b { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 4px; border-radius: 50%; background: var(--ed-ink); color: var(--ed-lime); font-size: 16px; }
.ed-dt__stepTitle { font-size: 16px; font-weight: 700; color: var(--ed-text); }
.ed-dt__stepText { font-size: 14px; line-height: 1.7; color: var(--ed-muted); }

.ed-dt__notes { list-style: none; margin: 0; padding: 6px 22px; border-radius: 20px; background: var(--ed-surface); box-shadow: 0 1px 2px rgba(var(--ed-shade-rgb), .05); }
.ed-dt__notes li { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; border-top: 1px solid var(--ed-rule-ecece6); font-size: 15px; line-height: 1.7; color: var(--ed-text-2); text-align: start; }
.ed-dt__notes li:first-child { border-top: 0; }
.ed-dt__notes i { flex: 0 0 auto; margin-top: 4px; font-size: 18px; color: #3f7d16; }
.ed-dt .ed-ds__transfer { display: inline-flex; margin-top: 14px; }

@media (max-width: 991.98px) {
  .ed-dt__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
  .ed-dt__form { grid-template-columns: minmax(0, 1fr); }
  .ed-dt__go { width: 100%; }
  .ed-dt__steps { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Domain options (configuredomains.tpl, cart.php?a=confdomains; ours since 2026-11-30) ----------
   Order steps, the head card, one white card per domain (name, period / service chips, transfer code,
   add-ons as switch cards, the registry's extra fields), the name servers and the continue button.
   Reuses .ed-ds__* and .ed-dt__* above; tokens only. */
.ed-cd__steps { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ed-cd__steps li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; padding-inline: 8px 14px; border-radius: 999px; background: var(--ed-surface); color: var(--ed-muted-2); font-size: 14px; }
.ed-cd__steps b, .ed-cd__steps li > i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ed-tint-f2f2ec); color: var(--ed-muted-2); font-size: 12px; font-weight: 700; }
.ed-cd__steps .is-done { color: var(--ed-text-2); }
.ed-cd__steps .is-done > i { background: var(--ed-lime); color: var(--ed-ink); }
.ed-cd__steps .is-now { background: var(--ed-ink); color: #fff; font-weight: 700; }
.ed-cd__steps .is-now b { background: var(--ed-lime); color: var(--ed-ink); }

.ed-cd__errors { margin: 16px 0 0; }
.ed-cd__errors ul { margin: 6px 0 0; padding-inline-start: 20px; }
.ed-cd__domain { margin-top: 20px; padding: 24px 26px; border-radius: 24px; background: var(--ed-surface); box-shadow: 0 1px 2px rgba(var(--ed-shade-rgb), .05); text-align: start; }
.ed-cd__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.ed-cd__name { font-size: clamp(24px, 2.6vw, 32px); }
.ed-cd__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ed-cd__chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--ed-tint-f2f2ec); color: var(--ed-text-2); font-size: 13.5px; text-decoration: none !important; }
.ed-cd__chip.is-ok { background: var(--ed-tint-f3ffd6); color: #3f7d16; }
.ed-cd__chip.is-add { border: 1.5px dashed var(--ed-rule-c4c4bb); background: transparent; color: var(--ed-text) !important; font-weight: 700; }
.ed-cd__chip.is-add:hover { border-color: var(--ed-edge); }
.ed-cd__epp { margin-top: 18px; max-width: 420px; }

.ed-cd__addons { display: grid; gap: 10px; margin-top: 18px; }
.ed-cd__addon {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 14px;
  margin: 0; padding: 16px 18px; border: 1.5px solid var(--ed-rule-e3e3dc); border-radius: 18px; background: var(--ed-surface);
  cursor: pointer; transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.ed-cd__addon:hover { border-color: var(--ed-edge); }
.ed-cd__addon > input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ed-cd__addon:has(> input:focus-visible) { box-shadow: 0 0 0 3px var(--ed-rule-f7f7f4), 0 0 0 6px var(--ed-edge); }
.ed-cd__addon:has(> input:checked) { border-color: var(--ed-lime); background: var(--ed-tint-f3ffd6); }
.ed-cd__addonIcon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--ed-tint-f2f2ec); color: var(--ed-text); font-size: 19px; }
.ed-cd__addon:has(> input:checked) .ed-cd__addonIcon { background: var(--ed-ink); color: var(--ed-lime); }
.ed-cd__addonText { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ed-cd__addonText b { font-size: 16px; color: var(--ed-text); }
.ed-cd__addonText span { font-size: 13.5px; line-height: 1.6; color: var(--ed-muted); }
.ed-cd__addonPrice { font-size: 18px; font-weight: 800; color: var(--ed-text); white-space: nowrap; }
.ed-cd__addonPrice small { font-size: 12.5px; font-weight: 500; color: var(--ed-muted-2); }
.ed-cd__switch { position: relative; width: 46px; height: 26px; border-radius: 999px; background: var(--ed-rule-d4d4ce); transition: background .2s ease; }
.ed-cd__switch::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: inset-inline-start .2s ease; }
.ed-cd__addon:has(> input:checked) .ed-cd__switch { background: var(--ed-ink); }
.ed-cd__addon:has(> input:checked) .ed-cd__switch::after { inset-inline-start: 23px; background: var(--ed-lime); }

.ed-cd__fields { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--ed-rule-ecece6); }
.ed-cd__fieldsTitle { margin: 0 0 10px; font-size: 14px; font-weight: 700; color: var(--ed-text-2); }
.ed-cd__field { display: grid; grid-template-columns: minmax(140px, 220px) minmax(0, 1fr); align-items: center; gap: 8px 16px; padding: 8px 0; }
.ed-cd__fieldLabel { font-size: 14.5px; color: var(--ed-text-2); }
.ed-cd__fieldInput :is(input[type=text], select, textarea) { width: 100%; max-width: 420px; min-height: 44px; padding: 8px 14px; border: 1.5px solid var(--ed-rule-d4d4ce); border-radius: 14px; background: var(--ed-bg); color: var(--ed-text); }

.ed-cd__ns { margin-top: 20px; padding: 24px 26px; border-radius: 24px; background: var(--ed-surface); box-shadow: 0 1px 2px rgba(var(--ed-shade-rgb), .05); text-align: start; }
.ed-cd__nsText { margin: -4px 0 14px; font-size: 14.5px; line-height: 1.7; color: var(--ed-muted); }
.ed-cd__nsGrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
#order-standard_cart .ed-cd__nsField .ed-ds__input { width: 100%; height: 50px; font-size: 16px; }
.ed-cd__nsField.is-extra { display: none; }
.ed-cd__more { margin-top: 12px; padding: 6px 2px; border: 0; background: transparent; color: var(--ed-text); font-size: 14.5px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

.ed-cd__go { display: flex; justify-content: flex-end; margin-top: 22px; }
.ed-cd__submit { display: inline-flex; align-items: center; gap: 10px; }

@media (max-width: 767.98px) {
  .ed-cd__domain, .ed-cd__ns { padding: 20px 18px; }
  .ed-cd__addon { grid-template-columns: auto minmax(0, 1fr) auto; }
  .ed-cd__addonPrice { grid-column: 2; grid-row: 2; }
  .ed-cd__switch { grid-column: 3; grid-row: 1 / span 2; }
  .ed-cd__field { grid-template-columns: minmax(0, 1fr); }
  .ed-cd__nsGrid { grid-template-columns: minmax(0, 1fr); }
  .ed-cd__go .ed-cd__submit { width: 100%; justify-content: center; }
}

/* Cart page (viewcart.tpl): the order-steps bar above WHMCS's cart app. */
.ed-cv__steps { margin: 0 0 18px; }
@media (max-width: 575.98px) {
  .ed-cd__steps { gap: 6px; }
  .ed-cd__steps li { gap: 6px; padding: 4px 10px 4px 6px; padding-inline: 6px 10px; font-size: 12.5px; }
  .ed-cd__steps b, .ed-cd__steps li > i { width: 20px; height: 20px; font-size: 11px; }
}

/* Completed steps are links back (George, 2026-11-30: "click on this flow not taking me"). */
.ed-cd__steps li.is-done:has(> a) { padding: 0; }
.ed-cd__steps li > a {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; padding-inline: 8px 14px; border-radius: 999px;
  color: inherit !important; text-decoration: none !important; transition: background .15s ease;
}
.ed-cd__steps li > a:hover { background: var(--ed-tint-f2f2ec); }
.ed-cd__steps li > a:focus-visible { outline: 3px solid var(--ed-edge); outline-offset: 2px; }
@media (max-width: 575.98px) { .ed-cd__steps li > a { gap: 6px; padding: 4px 10px 4px 6px; padding-inline: 6px 10px; } }

/* Chosen add-on button (configureproduct.tpl script): "✓ مُضاف" and a separate «إزالة ×» chip that turns red on hover. */
#main-body .ed-cfg #order-standard_cart .panel-addon-selected .panel-add { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 6px 6px 16px; padding-inline: 16px 6px; }
#main-body .ed-cfg #order-standard_cart .ed-addon__on { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; }
#main-body .ed-cfg #order-standard_cart .ed-addon__on i { color: var(--ed-lime); }
#main-body .ed-cfg #order-standard_cart .ed-addon__rm {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .14); color: #fff; font-size: 13px; font-weight: 700; transition: background .15s ease;
}
#main-body .ed-cfg #order-standard_cart .panel-addon-selected:hover .ed-addon__rm { background: #e2364f; }

/* ---------- Product domain step (configureproductdomain.tpl; ours since 2026-11-30) ----------
   The stock step wrapped: our head card and steps on top (the stock heading hidden), each choice
   (register / transfer / own domain / in cart) as a white card that turns lime when chosen, the
   inputs and buttons as our fields and pills, the result and suggestions as cards. */
#main-body .ed-pd #order-standard_cart .header-lined { display: none; }
#main-body .ed-pd #order-standard_cart .ed-pd__head { margin-bottom: 18px; }
#main-body .ed-pd #order-standard_cart .domain-selection-options { display: grid; gap: 12px; margin: 0 0 18px; padding: 0; border: 0; background: transparent; }
#main-body .ed-pd #order-standard_cart .domain-selection-options .option {
  margin: 0; padding: 18px 20px; border: 1.5px solid var(--ed-rule-e3e3dc); border-radius: 20px; background: var(--ed-surface);
  text-align: start; transition: border-color .15s ease, background .15s ease;
}
#main-body .ed-pd #order-standard_cart .domain-selection-options .option:hover { border-color: var(--ed-edge); }
#main-body .ed-pd #order-standard_cart .domain-selection-options .option.is-on { border-color: var(--ed-lime); background: var(--ed-tint-f3ffd6); }
#main-body .ed-pd #order-standard_cart .domain-selection-options .option > label { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 16px; font-weight: 800; color: var(--ed-text); cursor: pointer; }
#main-body .ed-pd #order-standard_cart .domain-selection-options .iradio_square-blue {
  flex: none; width: 22px; height: 22px; margin: 0 !important; border: 2px solid var(--ed-rule-c4c4bb); border-radius: 50%;
  background: var(--ed-surface) !important; transition: border-color .15s ease, box-shadow .15s ease;
}
#main-body .ed-pd #order-standard_cart .domain-selection-options .iradio_square-blue.checked { border-color: var(--ed-ink); box-shadow: inset 0 0 0 4px var(--ed-surface); background: var(--ed-ink) !important; }
#main-body .ed-pd #order-standard_cart .domain-selection-options .domain-input-group { margin: 14px 0 0; padding: 0; }
#main-body .ed-pd #order-standard_cart .domain-selection-options .domain-input-group .row { align-items: center; row-gap: 10px; direction: ltr; }  /* www. | name | .tld | button, in reading order */
#main-body .ed-pd #order-standard_cart .domain-selection-options .domain-input-group [class*="col-"] { margin-inline-start: 0 !important; }
#main-body .ed-pd #order-standard_cart .domain-selection-options .form-control {
  height: 50px; padding: 0 16px; border: 1.5px solid var(--ed-rule-d4d4ce); border-radius: 14px; background: var(--ed-bg);
  color: var(--ed-text); font-size: 16px; box-shadow: none;
}
#main-body .ed-pd #order-standard_cart .domain-selection-options input.form-control { direction: ltr; text-align: left; }
#main-body .ed-pd #order-standard_cart .domain-selection-options .form-control:focus { border-color: var(--ed-edge); box-shadow: 0 0 0 4px rgba(171, 250, 8, .45); background: var(--ed-surface); }
#main-body .ed-pd #order-standard_cart .domain-selection-options .input-group { flex-wrap: nowrap; direction: ltr; }
#main-body .ed-pd #order-standard_cart .domain-selection-options .input-group-text { height: 50px; border: 1.5px solid var(--ed-rule-d4d4ce); border-right: 0; border-radius: 14px 0 0 14px; background: var(--ed-tint-f2f2ec); color: var(--ed-muted); font-size: 15px; }
#main-body .ed-pd #order-standard_cart .domain-selection-options .input-group > .form-control { border-radius: 0 14px 14px 0; }
#main-body .ed-pd #order-standard_cart .domain-selection-options .btn {
  height: 50px; border: 0; border-radius: 999px; background: var(--ed-ink); color: #fff; font-size: 15.5px; font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease;
}
#main-body .ed-pd #order-standard_cart .domain-selection-options .btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(21, 21, 21, .6); }
#main-body .ed-pd #order-standard_cart .domain-selection-options .form-control-static { margin: 0; padding: 0 4px; color: var(--ed-muted); direction: ltr; }
#main-body .ed-pd #order-standard_cart > .row .cart-body > p, #main-body .ed-pd #order-standard_cart .cart-body > .text-center > p { font-size: 13.5px; color: var(--ed-muted-2); }

/* Result of the check, spotlight extensions and suggestions. */
/* The check's result as ONE card (George, 2026-12-01: "fix ui"): name and status at the start, price and the continue
   button at the end. Stock drew a header with a green rule (#62cb31), a padded box inside a padded box, and the button
   floating under it. WHMCS shows each part with an inline display, so the states below read [style*="block"]. */
#main-body .ed-pd #order-standard_cart #frmProductDomainSelections:has(> #DomainSearchResults[style*="block"]:not(.ed-stale)) {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px 28px;
  margin-top: 16px; padding: 20px 24px; border: 1.5px solid var(--ed-rule-e3e3dc); border-radius: 22px; background: var(--ed-surface);
}
#main-body .ed-pd #order-standard_cart #frmProductDomainSelections:has(> #DomainSearchResults[style*="block"]:not(.ed-stale)):has(.domain-available:not([style*="none"])) { border-color: var(--ed-lime); background: var(--ed-tint-f3ffd6); }
#main-body .ed-pd #order-standard_cart #frmProductDomainSelections > #DomainSearchResults { margin: 0; min-width: 0; }
#main-body .ed-pd #order-standard_cart #frmProductDomainSelections > .text-center { margin: 0 !important; display: flex; justify-content: flex-end; }
#main-body .ed-pd #order-standard_cart #frmProductDomainSelections > .text-center:not(:has(#btnDomainContinue[style*="inline"])) { display: none; }
#main-body .ed-pd #order-standard_cart #searchDomainInfo, #main-body .ed-pd #order-standard_cart .domain-lookup-primary-results { margin: 0 !important; padding: 0 !important; border: 0; background: transparent !important; box-shadow: none !important; text-align: start; }
#main-body .ed-pd #order-standard_cart .primary-domain-header { padding: 0 !important; margin: 0 0 8px; border: 0 !important; font-size: 12.5px; font-weight: 700; color: var(--ed-muted-2); }
#main-body .ed-pd #order-standard_cart .domain-lookup-primary-results .headline { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 4px; font-size: 16px !important; font-weight: 700; line-height: 1.4; }
#main-body .ed-pd #order-standard_cart .domain-lookup-primary-results .headline[style*="none"] { display: none !important; }
#main-body .ed-pd #order-standard_cart .domain-lookup-primary-results .headline strong { direction: ltr; unicode-bidi: isolate; font-size: 22px; font-weight: 800; color: var(--ed-text); }
#main-body .ed-pd #order-standard_cart .domain-lookup-primary-results :is(.domain-available, .domain-unavailable)::before {
  content: ""; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%;
  background: var(--ed-lime) center / 14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23151515' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3 8.5l3.2 3L13 4.5'/%3E%3C/svg%3E");
}
#main-body .ed-pd #order-standard_cart .domain-lookup-primary-results .domain-unavailable::before {
  background-color: #c2283e; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' d='M4.5 4.5l7 7M11.5 4.5l-7 7'/%3E%3C/svg%3E");
}
#main-body .ed-pd #order-standard_cart .domain-checker-result-headline { font-size: 20px !important; font-weight: 800; color: var(--ed-text); }
#main-body .ed-pd #order-standard_cart .domain-available { color: #3f7d16 !important; }
#main-body .ed-pd #order-standard_cart .domain-unavailable { color: #c2283e !important; }
#main-body .ed-pd #order-standard_cart .domain-lookup-primary-results .domain-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding-inline-start: 38px; }
#main-body .ed-pd #order-standard_cart .domain-lookup-primary-results .domain-price .register-price-label { font-size: 13.5px; color: var(--ed-muted-2); }
#main-body .ed-pd #order-standard_cart .domain-price .price { font-size: 22px; font-weight: 800; color: var(--ed-text); }
@media (max-width: 640px) {
  #main-body .ed-pd #order-standard_cart #frmProductDomainSelections:has(> #DomainSearchResults[style*="block"]:not(.ed-stale)) { grid-template-columns: 1fr; padding: 18px; }
  #main-body .ed-pd #order-standard_cart #frmProductDomainSelections > .text-center, #main-body .ed-pd #order-standard_cart #frmProductDomainSelections #btnDomainContinue { width: 100%; }
}
#main-body .ed-pd #order-standard_cart .spotlight-tlds { margin: 14px 0 0; padding: 0; border: 0; background: transparent; }
#main-body .ed-pd #order-standard_cart .spotlight-tlds .spotlight-tld { border: 1.5px solid var(--ed-rule-e3e3dc); border-radius: 16px; background: var(--ed-surface); }
#main-body .ed-pd #order-standard_cart .suggested-domains { border: 0; border-radius: 20px; background: var(--ed-surface); box-shadow: 0 1px 2px rgba(17, 17, 17, .05); overflow: hidden; }
#main-body .ed-pd #order-standard_cart .suggested-domains .panel-heading, #main-body .ed-pd #order-standard_cart .suggested-domains .card-header { border: 0; background: transparent; font-weight: 800; }
#main-body .ed-pd #order-standard_cart .suggested-domains .list-group-item { border-color: var(--ed-rule-ecece6); }
#main-body .ed-pd #order-standard_cart :is(#DomainSearchResults, .suggested-domains, .spotlight-tlds) .btn { border-radius: 999px; font-weight: 700; }
#main-body .ed-pd #order-standard_cart :is(#DomainSearchResults, .suggested-domains, .spotlight-tlds) .btn-add-to-cart { border: 0; background: var(--ed-lime); color: var(--ed-ink); }
#main-body .ed-pd #order-standard_cart #btnDomainContinue { height: 54px; padding: 0 30px; border: 0; border-radius: 999px; background: var(--ed-ink); color: #fff; font-size: 16px; font-weight: 800; }
@media (max-width: 767.98px) {
  #main-body .ed-pd #order-standard_cart .domain-selection-options .option { padding: 16px; }
  #main-body .ed-pd #order-standard_cart .domain-selection-options .btn { width: 100%; }
}
/* WHMCS's script on this step checks only the typed name: the extension tiles never get filled and the
   suggestions always come back empty ("لم يتمكن النظام من العثور على أية اقتراحات"), so both are hidden
   here; the result card for the typed name stays. */
#main-body .ed-pd #order-standard_cart #spotlightTlds, #main-body .ed-pd #order-standard_cart .suggested-domains,
#main-body .ed-pd #order-standard_cart .domain-suggestions-warning { display: none !important; }

/* Our order summary on the configure page: the chosen add-ons under the product. */
.ed-sum__addons { margin: 8px 0 0; padding-top: 8px; border-top: 1px dashed var(--ed-rule-dcdcd4); }
.ed-sum__addons > div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; font-size: 14px; }
.ed-sum__addons dt { font-weight: 500; color: var(--ed-text-2); }
.ed-sum__addons dd { margin: 0; font-weight: 700; color: var(--ed-text); white-space: nowrap; }

/* "I own this domain" but it is not registered: the notice under the choice (configureproductdomain.tpl). */
.ed-pd__note { margin-top: 14px; padding: 14px 16px; border-radius: 16px; background: #fff7e8; border: 1.5px solid #ea7410; color: var(--ed-ink); font-size: 14.5px; line-height: 1.8; text-align: start; }
.ed-pd__note[hidden] { display: none; }
.ed-pd__noteBtns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ed-pd__noteBtns button { padding: 8px 18px; border: 0; border-radius: 999px; font-weight: 700; cursor: pointer; }
.ed-pd__reg { background: var(--ed-ink); color: #fff; }
.ed-pd__anyway { background: transparent; color: var(--ed-ink); text-decoration: underline; text-underline-offset: 4px; }

/* Bundle progress note on the domain step (configureproductdomain.tpl). */
.ed-pd__bundle { display: inline-flex; align-items: center; gap: 8px; margin: 12px 0 0; padding: 8px 14px; border-radius: 999px; background: var(--ed-tint-f3ffd6); color: var(--ed-text); font-size: 14px; font-weight: 700; }
.ed-pd__bundle::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ed-ink); color: var(--ed-lime); font-size: 12px; }

/* Our drop-downs (product domain step TLD, domain search years, registry fields): our own arrow with
   room around it instead of the browser's, which sat against the edge (George, 2026-11-30). */
#main-body .ed-pd #order-standard_cart .domain-selection-options select.form-control,
#order-standard_cart .ed-ds__years, #order-standard_cart .ed-cd__fieldInput select {
  -webkit-appearance: none; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23151515' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 14px 14px;
  background-position: right 16px center; padding-right: 42px !important;
}
html[dir="rtl"] #order-standard_cart .ed-ds__years, html[dir="rtl"] #order-standard_cart .ed-cd__fieldInput select {
  background-position: left 16px center; padding-right: 14px !important; padding-left: 42px !important;
}
:root[data-theme="dark"] #main-body .ed-pd #order-standard_cart .domain-selection-options select.form-control,
:root[data-theme="dark"] #order-standard_cart .ed-ds__years, :root[data-theme="dark"] #order-standard_cart .ed-cd__fieldInput select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23f1f1ec' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }

/* Dark theme: the order pages' black buttons and chosen states turn light, as dark.css section 2 does for
   the rest of the site (black on the dark cards disappeared). Here, not in dark.css, because store.css
   loads after it; the :root[data-theme] prefix outranks the light rules above. */
:root[data-theme="dark"] #main-body .ed-pd #order-standard_cart .domain-selection-options .btn,
:root[data-theme="dark"] #main-body .ed-pd #order-standard_cart #btnDomainContinue,
:root[data-theme="dark"] .ed-ds__go, :root[data-theme="dark"] .ed-ds__add.is-added,
:root[data-theme="dark"] .ed-cd__steps .is-now,
:root[data-theme="dark"] #main-body .ed-cfg #order-standard_cart .panel-addon-selected .panel-add {
  background: var(--ed-text) !important; color: var(--ed-ink) !important;
}
:root[data-theme="dark"] .ed-cd__steps .is-now b { background: var(--ed-ink); color: var(--ed-lime); }
:root[data-theme="dark"] #main-body .ed-cfg #order-standard_cart .ed-addon__rm { background: rgba(21, 21, 21, .12); color: var(--ed-ink); }
:root[data-theme="dark"] #main-body .ed-cfg #order-standard_cart .ed-addon__on i { color: #3f7d16; }
:root[data-theme="dark"] #main-body .ed-pd #order-standard_cart .domain-selection-options .iradio_square-blue.checked {
  border-color: var(--ed-lime); background: var(--ed-lime) !important; box-shadow: inset 0 0 0 4px var(--ed-surface);
}
:root[data-theme="dark"] .ed-ds__bar { background: var(--ed-text); color: var(--ed-ink); }
:root[data-theme="dark"] .ed-pd__reg { background: var(--ed-text); color: var(--ed-ink); }

/* Transfer code (EPP) on the domain step (configureproductdomain.tpl adds it; WHMCS's new cart needs it with a transfer):
   shown inside the result card only when the transfer is eligible. */
#main-body .ed-pd #order-standard_cart .ed-pd__epp { display: none; }
#main-body .ed-pd #order-standard_cart #frmProductDomainSelections:has(.transfer-eligible:not([style*="none"])) .ed-pd__epp { display: grid; gap: 6px; max-width: 420px; margin-top: 14px; }
#main-body .ed-pd #order-standard_cart .ed-pd__epp label { margin: 0; font-size: 13.5px; font-weight: 800; color: var(--ed-text); }
#main-body .ed-pd #order-standard_cart .ed-pd__epp input { height: 46px; padding: 0 14px; border: 1.5px solid var(--ed-rule-d4d4ce); border-radius: 12px; background: var(--ed-surface); color: var(--ed-text); font-size: 15px; letter-spacing: .02em; }
#main-body .ed-pd #order-standard_cart .ed-pd__epp input:focus { outline: 0; border-color: var(--ed-edge); box-shadow: 0 0 0 4px rgba(171, 250, 8, .45); }
#main-body .ed-pd #order-standard_cart .ed-pd__epp small { font-size: 12.5px; color: var(--ed-muted-2); }
#main-body .ed-pd #order-standard_cart .ed-pd__epp.is-missing input { border-color: #c2283e; box-shadow: 0 0 0 4px rgba(194, 40, 62, .15); }
#main-body .ed-pd #order-standard_cart .ed-pd__epp.is-missing small { color: #c2283e; }
#main-body .ed-pd #order-standard_cart #frmProductDomainSelections:has(> #DomainSearchResults[style*="block"]:not(.ed-stale)):has(.transfer-eligible:not([style*="none"])) { border-color: var(--ed-lime); }
#main-body .ed-pd #order-standard_cart .transfer-eligible p { margin: 0 0 4px; }
#main-body .ed-pd #order-standard_cart .transfer-eligible p:not(.headline) { font-size: 13.5px; color: var(--ed-muted-2); }

/* Product domain step, dark: the result's status colours on the dark card / lime tint. */
:root[data-theme="dark"] #main-body .ed-pd #order-standard_cart .domain-available { color: var(--ed-lime) !important; }
:root[data-theme="dark"] #main-body .ed-pd #order-standard_cart .domain-unavailable { color: #ff7a8a !important; }
/* Product domain step: the previous result and continue button are hidden while the name is being edited. */
#main-body .ed-pd #order-standard_cart #DomainSearchResults.ed-stale, #main-body .ed-pd #order-standard_cart #btnDomainContinue.ed-stale { display: none !important; }

/* ---------- Checkout (checkout-ed.tpl, 2026-12-01) ----------
   George's mix of the two options he was shown: the ink head with the live progress of the parts (the registration
   page's design B), the form as one sheet with numbered parts divided by hairlines, the summary as a dark receipt.
   Fields are the registration page's boxes (design.css sections 15 and 18: .ed-fl, .ed-reg__grid, .ed-reg__optin);
   the stock cart CSS sizes #order-standard_cart fields and labels by id, so some rules repeat ours with that id. */
#order-standard_cart.ed-co { --f-line: var(--ed-rule-dcdcd4); --f-bg: var(--ed-tint-f9f9f6); --f-mute: var(--ed-muted-2); }
.ed-co__steps { margin: 0 0 16px; }
.ed-co__layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.ed-co__main { min-width: 0; }
.ed-co__head { margin-bottom: 16px; padding: 26px 30px; border-radius: 30px; background: var(--ed-ink); color: #fff; }
.ed-co__title { margin: 0 0 6px; font-size: clamp(28px, 3vw, 38px); font-weight: 800; line-height: 1.25; color: #fff; }
.ed-co__lead { margin: 0 0 14px; font-size: 16px; line-height: 1.8; color: rgba(255, 255, 255, .72); }
.ed-co__who { display: flex; flex-wrap: wrap; gap: 8px; }
.ed-co__switch { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border: 1.5px solid rgba(255, 255, 255, .25); border-radius: 999px; background: transparent; color: #fff; font: inherit; font-size: 14.5px; cursor: pointer; }
.ed-co__switch b { text-decoration: underline; text-decoration-color: var(--ed-lime); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.ed-co__switch:hover, .ed-co__switch:focus-visible { border-color: var(--ed-lime); outline: 0; }
.ed-co__parts { margin-top: 16px !important; }
#order-standard_cart .ed-co__main > .alert { margin: 0 0 16px; border: 0; border-radius: 18px; }
#order-standard_cart .ed-co__main > .alert ul { margin: 6px 0 0; padding-inline-start: 20px; }

/* The sheet: the form is one white sheet, each part a section under a hairline (the first one's line is clipped by the
   sheet), the parts numbered like the head's progress (hidden parts are skipped by both). */
.ed-co__form { container-type: inline-size; counter-reset: edco; padding: 0 32px; overflow: hidden; border-radius: 30px; background: var(--ed-surface); box-shadow: 0 1px 2px rgba(17, 17, 17, .04), 0 24px 48px -36px rgba(17, 17, 17, .35); }
.ed-co__card { margin: 0; padding: 26px 0; box-shadow: 0 -1px 0 var(--ed-line); }
.ed-co__h { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: 19px; font-weight: 800; color: var(--ed-text); }
.ed-co__part .ed-co__h::before { counter-increment: edco; content: counter(edco); display: inline-flex; align-items: center; justify-content: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--ed-ink); color: var(--ed-lime); font-size: 15px; font-weight: 800; }
.ed-co__hint { margin: -6px 0 14px; font-size: 14px; line-height: 1.7; color: var(--ed-muted); }
.ed-co__contact { max-width: 420px; margin-bottom: 14px; }
.ed-co__signin { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 16px; }
#order-standard_cart.ed-co .ed-fl input, #order-standard_cart.ed-co .ed-fl select { display: block; width: 100%; height: 62px; border: 1.5px solid var(--f-line); border-radius: 18px; background-color: var(--f-bg); box-shadow: none; }
#order-standard_cart.ed-co .ed-fl input:focus, #order-standard_cart.ed-co .ed-fl select:focus { border-color: var(--ed-edge); background-color: var(--ed-surface); box-shadow: 0 0 0 3px rgba(171, 250, 8, .5); }
#order-standard_cart.ed-co .ed-fl label { font-weight: 700; }
#order-standard_cart.ed-co .ed-fl--custom select { padding: 25px 18px 7px; padding-inline-end: 46px; font-size: 16px; line-height: 1.5; background-image: none; appearance: none; -webkit-appearance: none; }
#order-standard_cart.ed-co .ed-fl--custom:has(select)::after { content: ""; position: absolute; top: 26px; inset-inline-end: 21px; width: 8px; height: 8px; border: solid var(--ed-edge); border-width: 0 2px 2px 0; transform: rotate(45deg); pointer-events: none; }
#order-standard_cart.ed-co .ed-fl--state select { padding: 25px 18px 7px; }
.ed-co .ed-fl__help { display: block; margin-top: 6px; font-size: 13px; color: var(--ed-muted); }
.ed-co .ed-reg__meter .progress-bar { background-color: #4e9a28; }
/* The account picker of a signed-in client. */
.ed-co__accounts { display: grid; gap: 10px; }
#order-standard_cart .ed-co__accounts .account { margin: 0; padding: 0; border: 0; }
#order-standard_cart .ed-co__accounts label { display: flex; align-items: flex-start; gap: 12px; width: 100%; margin: 0; padding: 14px 16px; border: 1.5px solid var(--f-line); border-radius: 18px; cursor: pointer; }
#order-standard_cart .ed-co__accounts label:has(input:checked) { border-color: var(--ed-edge); background: var(--ed-tint-f9f9f6); }
.ed-co__accounts .address { display: grid; gap: 2px; }
.ed-co__accounts .address .small { color: var(--ed-muted); }

/* Radios and boxes of the stock checkbox plugin (iCheck, kept for the payment scripts): our dot. */
#order-standard_cart.ed-co [class^="iradio_"], #order-standard_cart.ed-co [class^="icheckbox_"] {
  position: relative; flex: none; width: 20px; height: 20px; margin: 0; border-radius: 50%; background: var(--ed-surface); box-shadow: inset 0 0 0 1.5px var(--ed-rule-bdbdb4); transition: box-shadow .15s ease, background-color .15s ease;
}
#order-standard_cart.ed-co [class^="icheckbox_"] { border-radius: 7px; }
#order-standard_cart.ed-co [class^="iradio_"].checked { background: var(--ed-lime); box-shadow: inset 0 0 0 5px var(--ed-ink); }
#order-standard_cart.ed-co [class^="icheckbox_"].checked { background: var(--ed-ink); box-shadow: none; }
#order-standard_cart.ed-co [class^="iradio_"].disabled { opacity: .45; }

/* Payment methods as tiles. */
.ed-co__gateways { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; margin: 0; }
#order-standard_cart .ed-co__gw { display: flex; align-items: center; gap: 12px; margin: 0; padding: 16px; border: 1.5px solid var(--f-line); border-radius: 20px; background: var(--ed-surface); color: var(--ed-text); font-size: 15px; font-weight: 700; line-height: 1.5; cursor: pointer; transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease; }
#order-standard_cart .ed-co__gw:hover { border-color: var(--ed-rule-bdbdb4); }
#order-standard_cart .ed-co__gw:has(input:checked) { border-color: var(--ed-edge); background: var(--ed-tint-f9f9f6); box-shadow: 0 0 0 1px var(--ed-edge); }
.ed-co__gw-icon { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--ed-tint-f2f2ec); color: var(--ed-text); font-size: 18px; }
.ed-co__gw:has(input:checked) .ed-co__gw-icon { background: var(--ed-ink); color: var(--ed-lime); }
.ed-co__gw-name { min-width: 0; }
/* A logo from Icon Studio sits on a white plate in both themes (brand colours are made for white). */
.ed-co__gw-icon.is-logo, .ed-co__gw:has(input:checked) .ed-co__gw-icon.is-logo { padding: 8px; background: #fff; box-shadow: inset 0 0 0 1px var(--ed-line); }
.ed-co__gw:has(input:checked) .ed-co__gw-icon.is-logo { box-shadow: inset 0 0 0 1.5px var(--ed-ink); }
.ed-co__gw-icon.is-logo img { display: block; max-width: 100%; max-height: 100%; }
/* Western Union's mark is yellow, drawn on its brand black. */
.ed-co__gw-icon.is-logo:has(img[src*="/westernunion.svg"]) { padding: 7px; background: #000; }
#order-standard_cart.ed-co .ed-co__gw[hidden] { display: none; }
.ed-co__nw { white-space: nowrap; unicode-bidi: isolate; }
.ed-co__gw-cards { display: flex; gap: 6px; margin-top: 4px; font-size: 22px; line-height: 1; color: var(--ed-muted); }
.ed-co__gw:has(input:checked) .ed-co__gw-cards { color: var(--ed-text); }
.ed-co__credit { margin-bottom: 14px; padding: 14px 16px; border-radius: 18px; background: var(--ed-tint-f9f9f6); }
#order-standard_cart .ed-co__credit label { display: flex; align-items: center; gap: 10px; margin: 6px 0 0; font-weight: 500; }
#order-standard_cart.ed-co .gateway-errors { margin: 12px 0 0; border: 0; border-radius: 16px; }
.ed-co__stock { margin-top: 14px; }

/* Send: note, opt-in, terms, the button with the total. */
.ed-co__sendcard { display: grid; gap: 14px; }
.ed-co__notes summary { width: fit-content; font-size: 15px; font-weight: 700; color: var(--ed-text); cursor: pointer; }
.ed-co__notes summary small { color: var(--ed-muted); font-weight: 500; }
.ed-co__notes textarea { display: block; width: 100%; min-height: 96px; margin-top: 10px; padding: 14px 18px; border: 1.5px solid var(--f-line); border-radius: 18px; background: var(--f-bg); color: var(--ed-text); font: inherit; font-size: 15.5px; line-height: 1.8; resize: vertical; outline: 0; }
.ed-co__notes textarea:focus { border-color: var(--ed-edge); background: var(--ed-surface); box-shadow: 0 0 0 3px rgba(171, 250, 8, .5); }
#order-standard_cart.ed-co .ed-reg__optin { margin: 0; }
.ed-co__send { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; padding-top: 4px; }
#order-standard_cart .ed-co__tos { flex: 1 1 260px; margin: 0; font-size: 14.5px; line-height: 1.7; }
.ed-co__tos a { font-weight: 700; color: var(--ed-text); text-decoration: underline; text-decoration-color: var(--ed-lime); text-decoration-thickness: 3px; text-underline-offset: 4px; }
#order-standard_cart .ed-co__go { min-height: 56px; padding: 0 26px; font-size: 17px; }
.ed-co__go-total { padding-inline-start: 12px; border-inline-start: 1px solid rgba(255, 255, 255, .3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ed-co__captcha { margin: 0 0 16px; }

/* Summary column. */
.ed-co__sum { position: sticky; top: 96px; min-width: 0; }
/* The receipt: ink, a torn edge at the foot, the total in lime. */
.ed-co__sumcard { position: relative; padding: 24px 26px 34px; border-radius: 30px 30px 0 0; background: var(--ed-ink); color: #fff;
  -webkit-mask: radial-gradient(circle 6px at 9px 100%, transparent 97%, #000) 0 0 / 18px 100% repeat-x; mask: radial-gradient(circle 6px at 9px 100%, transparent 97%, #000) 0 0 / 18px 100% repeat-x; }
.ed-co__sumh { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 14px; font-size: 19px; font-weight: 800; color: #fff; }
.ed-co__sumh a { font-size: 14px; font-weight: 700; color: #fff; text-decoration: underline; text-decoration-color: var(--ed-lime); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.ed-co__items { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.ed-co__items li { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.ed-co__items li.is-sub { padding-inline-start: 14px; }
.ed-co__iname, .ed-co__iprice { display: grid; gap: 2px; min-width: 0; }
.ed-co__iname b { font-size: 15px; line-height: 1.5; color: #fff; }
.ed-co__iprice { flex: none; text-align: end; }
.ed-co__iprice b { font-size: 15px; font-variant-numeric: tabular-nums; color: #fff; white-space: nowrap; }
.ed-co__items small { font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .62); }
.ed-co__totals { display: grid; gap: 8px; margin: 14px 0 0; }
.ed-co__totals > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ed-co__totals dt { font-weight: 500; color: rgba(255, 255, 255, .62); }
.ed-co__totals dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; color: #fff; }
.ed-co__totals .is-promo dd { color: var(--ed-lime); }
/* The total due: label above, the figure on one line (it wrapped at 5,269.00 SAR beside the label). */
.ed-co__totals .is-total { display: grid; gap: 6px; margin-top: 8px; padding-top: 16px; border-top: 1.5px dashed rgba(255, 255, 255, .25); }
.ed-co__totals .is-total dt { font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, .72); }
.ed-co__due { display: flex; align-items: baseline; gap: 8px; color: var(--ed-lime); white-space: nowrap; }
.ed-co__due b { font-size: clamp(34px, 3.4vw, 42px); font-weight: 800; line-height: 1.1; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.ed-co__due small { font-size: 16px; font-weight: 700; }
.ed-co__sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ed-co__safe { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; font-size: 13px; color: rgba(255, 255, 255, .62); }

/* Dark theme: ink head and receipt sit on a near-black page, so they get a faint edge. */
:root[data-theme="dark"] .ed-co__head, :root[data-theme="dark"] .ed-co__sumcard { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }

@media (max-width: 1099px) {
  .ed-co__layout { grid-template-columns: minmax(0, 1fr); }
  /* One column: the head, then the receipt, then the form (the main column's parts join the layout grid). */
  .ed-co__main { display: contents; }
  .ed-co__head { order: -2; margin-bottom: 0; }
  .ed-co__sum { position: static; order: -1; }
}
@media (max-width: 600px) {
  .ed-co__head { padding: 22px 18px; border-radius: 24px; }
  .ed-co__form { padding: 0 18px; border-radius: 24px; }
  .ed-co__card { padding: 22px 0; }
  .ed-co__sumcard { padding: 20px 18px 32px; border-radius: 24px 24px 0 0; }
  .ed-co__send { flex-direction: column; align-items: stretch; }
  #order-standard_cart .ed-co__go { justify-content: center; width: 100%; }
}
@media (max-width: 600px) { #order-standard_cart .ed-co__tos { flex: none; } }
/* Checkout, signed in: the account picker as tiles (stock drew a grey box around each one and the currency as a
   full-width blue bar). */
#order-standard_cart.ed-co .ed-co__accounts { margin: 0; border: 0; }
#order-standard_cart.ed-co .ed-co__accounts div.account { padding: 0; border: 0; background: none; }
#order-standard_cart.ed-co .ed-co__accounts label.ed-co__acct { align-items: center; gap: 14px; padding: 16px 18px; border-radius: 20px; background: var(--ed-surface); transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease; }
#order-standard_cart.ed-co .ed-co__accounts label.ed-co__acct:hover { border-color: var(--ed-rule-bdbdb4); }
#order-standard_cart.ed-co .ed-co__accounts label.ed-co__acct:has(input:checked) { border-color: var(--ed-edge); background: var(--ed-tint-f9f9f6); box-shadow: 0 0 0 1px var(--ed-edge); }
.ed-co__acct-text { flex: 1; min-width: 0; display: grid; gap: 4px; }
.ed-co__acct-name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ed-co__acct-name strong { font-size: 16px; font-weight: 800; color: var(--ed-text); }
.ed-co__acct-text small { font-size: 13.5px; line-height: 1.6; color: var(--ed-muted); overflow-wrap: anywhere; }
.ed-co__pill { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--ed-ink); color: var(--ed-lime); font-size: 12px; font-weight: 800; letter-spacing: .03em; }
.ed-co__pill.is-off { background: var(--ed-tint-f2f2ec); color: var(--ed-muted); }
.ed-co__acct-plus { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 12px; background: var(--ed-tint-f2f2ec); color: var(--ed-text); font-size: 16px; }
/* Checkout: what a payment module adds under the tiles (PayPal: an instruction line, "link a new PayPal account",
   its button frame) as one framed panel. The PayPal frame is light; on the dark theme the browser painted it as an
   opaque white block (a light frame inside a dark color-scheme page), so its container declares light. */
#order-standard_cart.ed-co #creditCardInputFields { margin-top: 14px; padding: 18px; border: 1.5px solid var(--f-line); border-radius: 22px; background: var(--ed-tint-f9f9f6); }
#order-standard_cart.ed-co #creditCardInputFields .payment-instructions { margin: 0 0 12px; font-size: 14px; line-height: 1.7; color: var(--ed-muted); text-align: start; }
#order-standard_cart.ed-co #creditCardInputFields > ul { margin: 0 0 14px; padding: 0; list-style: none; border: 0 !important; background: none !important; } /* the payment script boxes it grey */
#order-standard_cart.ed-co #creditCardInputFields > ul > li { padding: 0; }
#order-standard_cart.ed-co #creditCardInputFields > ul label.radio-inline { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 14px; border: 1.5px solid var(--f-line); border-radius: 16px; background: var(--ed-surface); color: var(--ed-text); font-size: 14.5px; font-weight: 700; cursor: pointer; }
#order-standard_cart.ed-co #creditCardInputFields > ul label.radio-inline:has(input:checked) { border-color: var(--ed-edge); }
#order-standard_cart.ed-co #creditCardInputFields .existing-cc-grid { margin-bottom: 14px; border-radius: 16px; overflow: hidden; }
#order-standard_cart.ed-co [id$="_input_container"] { color-scheme: light; max-width: 480px; margin-inline: auto; }

/* ---------- Recommendations pop-up (recommendations-modal.tpl + includes/product-recommendations.tpl, 2026-12-02) ----------
   George: "work on this". The look of the password pop-up (head with a mark, round sheet), one card per product: icon or
   logo, section, name, tagline, the short description always shown, price and an "add" pill. The stock script paints
   inline colours from the product colour (border, button, price, arrow): overridden here. */
.ed-recm .modal-dialog { max-width: 620px; }
.ed-recm .modal-content { overflow: hidden; border: 0; border-radius: 28px; background: var(--ed-surface); color: var(--ed-text); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .45); text-align: start; }
.ed-recm__head { display: flex; align-items: center; gap: 14px; padding: 22px 24px 6px; }
.ed-recm__mark { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 48px; height: 48px; border-radius: 16px; background: var(--ed-lime); color: var(--ed-ink); font-size: 20px; }
.ed-recm__titles { flex: 1 1 auto; min-width: 0; }
.ed-recm__titles .modal-title { margin: 0; font-size: 20px; font-weight: 800; line-height: 1.3; color: var(--ed-text); float: none; }
.ed-recm__titles p { margin: 2px 0 0; font-size: 13.5px; color: var(--ed-muted); }
.ed-recm__x { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--ed-tint-f2f2ec); color: var(--ed-text); font-size: 24px; line-height: 1; cursor: pointer; }
.ed-recm__x:hover { background: var(--ed-tint-e6e6e0); }
.ed-recm__body { display: grid; gap: 12px; max-height: min(62vh, 560px); padding: 16px 24px 8px !important; overflow-y: auto; }
.ed-recm__foot { display: flex; justify-content: flex-end; padding: 14px 24px 22px; }
.ed-recm__go { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 28px; border-radius: 999px; background: var(--ed-ink); color: #fff !important; font-size: 15.5px; font-weight: 700; text-decoration: none !important; }
.ed-recm__go:hover { transform: translateY(-1px); }

/* "Added to cart" strip (the ajax pop-up after "Order") */
.ed-rec__added { display: flex; align-items: center; gap: 12px; margin: 0; padding: 14px 16px; border: 0; border-radius: 18px; background: var(--ed-tint-f3ffd6); color: var(--ed-ink); }
.ed-rec__added > div { display: grid; flex: 1 1 auto; min-width: 0; }
.ed-rec__added small { font-size: 12.5px; font-weight: 700; color: rgba(21, 21, 21, .66); }
.ed-rec__added b { font-size: 15px; overflow-wrap: anywhere; }
.ed-rec__tick { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--ed-ink); color: var(--ed-lime); font-size: 14px; }
.ed-rec__addedprice { display: grid; justify-items: end; flex: none; font-weight: 800; font-variant-numeric: tabular-nums; }

/* The list */
.ed-rec .product-recommendations { display: grid; gap: 10px; margin: 0; }
.ed-rec__lead { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--ed-muted); }
.ed-rec__lead small { margin-inline-start: 8px; font-size: 13px; }
.ed-rec__lead strong, .ed-rec__lead b { color: var(--ed-text); font-weight: 800; }
.ed-rec .product-recommendation.ed-rec__card { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: start; gap: 14px; margin: 0; padding: 16px; border: 1.5px solid var(--ed-line) !important; border-radius: 20px; background: var(--ed-surface); transition: border-color .15s ease, box-shadow .15s ease; }
.ed-rec .product-recommendation.ed-rec__card:hover { border-color: var(--ed-rule-bdbdb4) !important; box-shadow: 0 14px 30px -24px rgba(17, 17, 17, .5); }
.ed-rec__icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 16px; background: var(--ed-tint-f2f2ec); color: var(--ed-text); font-size: 22px; }
.ed-rec__icon.is-logo { padding: 9px; background: #fff; box-shadow: inset 0 0 0 1px var(--ed-line); }
.ed-rec__icon.is-dark { background: var(--ed-ink); box-shadow: none; }
.ed-rec__icon img { display: block; max-width: 100%; max-height: 100%; }
.ed-rec__text { display: grid; gap: 2px; min-width: 0; }
.ed-rec__group { font-size: 12px; font-weight: 700; letter-spacing: .02em; color: var(--ed-muted); }
.ed-rec__name { font-size: 16px; font-weight: 800; line-height: 1.45; color: var(--ed-text); overflow-wrap: anywhere; }
.ed-rec__tag { font-size: 14px; font-weight: 600; color: var(--ed-text-2, var(--ed-text)); }
.ed-rec__desc { margin: 4px 0 0; font-size: 13.5px; line-height: 1.7; color: var(--ed-muted); }
.ed-rec__cta { display: grid; justify-items: end; gap: 10px; }
.ed-rec .ed-rec__cta .price { display: grid; justify-items: end; gap: 2px; color: var(--ed-text) !important; text-align: end; white-space: nowrap; }
.ed-rec .ed-rec__cta .price b { font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.ed-rec .ed-rec__cta .price small { font-size: 12px; color: var(--ed-muted); }
.ed-rec .ed-rec__add { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 8px 0 18px; padding-inline: 18px 8px; border: 0; border-radius: 999px; background: var(--ed-lime) !important; color: var(--ed-ink) !important; font-size: 14.5px; font-weight: 800; text-decoration: none !important; transition: transform .15s ease; }
.ed-rec .ed-rec__add:hover { transform: translateY(-1px); }
.ed-rec .ed-rec__add .text { color: var(--ed-ink) !important; }
.ed-rec .ed-rec__add .arrow { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ed-ink) !important; color: var(--ed-lime) !important; font-size: 13px; }
/* standard_cart's all.css zeroes the button padding and pads .text / .arrow (0,3,0); these win (0,4,0+), so the round
   "+" sits inside the pill instead of on its edge. */
.ed-rec .product-recommendation .btn-add.ed-rec__add { gap: 10px; padding: 6px; padding-inline-start: 18px; font-size: 14.5px; line-height: 1; }
.ed-rec .product-recommendation .btn-add.ed-rec__add .text { padding: 0; font-size: 14.5px; }
.ed-rec .product-recommendation .btn-add.ed-rec__add .arrow { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 30px; height: 30px; padding: 0; border-radius: 50%; }
.ed-rec .product-recommendation .btn-add.ed-rec__add .arrow i { display: block; margin: 0; font-size: 13px; line-height: 1; }
/* A "+" until pressed; the stock script then adds fa-spinner fa-spin, whose glyph wins over fa-plus. */
.ed-rec .ed-rec__add[disabled] { pointer-events: none; opacity: .8; }

:root[data-theme="dark"] .ed-recm .modal-content { box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .08); }
:root[data-theme="dark"] .ed-recm__go { background: var(--ed-text); color: var(--ed-ink) !important; }
/* dark.css section for the stock pop-up turns .btn-add light; ours stays lime (more specific selectors). */
:root[data-theme="dark"] .ed-rec .product-recommendations .product-recommendation .btn-add.ed-rec__add { background-color: var(--ed-lime) !important; color: var(--ed-ink) !important; }
:root[data-theme="dark"] .ed-rec .product-recommendations .product-recommendation .btn-add.ed-rec__add .text { color: var(--ed-ink) !important; }
:root[data-theme="dark"] .ed-rec .product-recommendations .product-recommendation .btn-add.ed-rec__add .arrow { background-color: var(--ed-ink) !important; }
:root[data-theme="dark"] .ed-rec .product-recommendations .product-recommendation .btn-add.ed-rec__add .arrow i { color: var(--ed-lime) !important; }
:root[data-theme="dark"] .ed-rec__added { background: color-mix(in srgb, var(--ed-lime) 18%, var(--ed-surface)); color: var(--ed-text); }
:root[data-theme="dark"] .ed-rec__added small { color: var(--ed-muted); }

/* Added from the pop-up itself (checkout, 2026-12-02): questions open inside the card, the card turns lime once added,
   and a status line beside «متابعة» gives the new total. Fields reuse the order panel's .ed-sheet__q look. */
.ed-rec .ed-rec__card.is-open .ed-rec__add { display: none; }
.ed-rec__form { display: grid; gap: 14px; grid-column: 1 / -1; padding-top: 14px; border-top: 1px dashed var(--ed-line); }
.ed-rec__form .ed-sheet__q label { font-size: 14px; }
.ed-rec__formrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ed-rec__send { display: inline-flex; align-items: center; justify-content: center; gap: 10px; flex: 1 1 auto; min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--ed-lime); color: var(--ed-ink); font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; }
.ed-rec__send:hover { transform: translateY(-1px); }
.ed-rec__send:focus-visible, .ed-rec__cancel:focus-visible { outline: 0; box-shadow: 0 0 0 3px var(--ed-surface), 0 0 0 5px var(--ed-edge); }
.ed-rec__send.is-busy { pointer-events: none; opacity: .75; }
.ed-rec__send.is-busy i::before { content: "\f110"; }
.ed-rec__send.is-busy i { animation: fa-spin 1s linear infinite; }
.ed-rec__cancel { min-height: 48px; padding: 0 20px; border: 1.5px solid var(--ed-line); border-radius: 999px; background: transparent; color: var(--ed-text); font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; }
.ed-rec__cancel:hover { border-color: var(--ed-edge); }
.ed-rec .ed-rec__add.is-busy { pointer-events: none; opacity: .8; }
.ed-rec .ed-rec__add.is-busy .arrow i::before { content: "\f110"; }
.ed-rec .ed-rec__add.is-busy .arrow i { animation: fa-spin 1s linear infinite; }
.ed-rec .product-recommendation.ed-rec__card.is-added { border-color: var(--ed-lime) !important; background: var(--ed-tint-f3ffd6); }
.ed-rec .ed-rec__card.is-added .ed-rec__add { pointer-events: none; background: var(--ed-ink) !important; }
.ed-rec .ed-rec__card.is-added .ed-rec__add .text { color: #fff !important; }
.ed-rec .ed-rec__card.is-added .ed-rec__add .arrow { background: var(--ed-lime) !important; color: var(--ed-ink) !important; }
.ed-recm__foot { align-items: center; gap: 14px; flex-wrap: wrap; }
.ed-recm__note { display: inline-flex; align-items: center; gap: 8px; flex: 1 1 auto; margin: 0; font-size: 14px; color: var(--ed-muted); }
.ed-recm__note i { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ed-lime); color: var(--ed-ink); font-size: 11px; }
.ed-recm__note b { color: var(--ed-text); font-weight: 800; font-variant-numeric: tabular-nums; }
:root[data-theme="dark"] .ed-rec .product-recommendation.ed-rec__card.is-added { background: color-mix(in srgb, var(--ed-lime) 12%, var(--ed-surface)); }
:root[data-theme="dark"] .ed-rec .ed-rec__card.is-added .ed-rec__add { background: var(--ed-text) !important; }
:root[data-theme="dark"] .ed-rec .ed-rec__card.is-added .ed-rec__add .text { color: var(--ed-ink) !important; }

@media (max-width: 575px) {
  .ed-recm .modal-dialog { margin: 12px; }
  .ed-recm__head { padding: 18px 18px 4px; }
  .ed-recm__body { padding: 14px 18px 6px !important; }
  .ed-recm__foot { padding: 12px 18px 18px; }
  .ed-recm__go { width: 100%; }
  .ed-rec .product-recommendation.ed-rec__card { grid-template-columns: 44px minmax(0, 1fr); }
  .ed-rec__icon { width: 44px; height: 44px; font-size: 19px; }
  .ed-rec__cta { grid-column: 1 / -1; grid-auto-flow: column; justify-content: space-between; align-items: center; }
  .ed-rec .ed-rec__cta .price { justify-items: start; }
  .ed-recm__note { flex-basis: 100%; }
}

/* ---------- Add-ons page (addons.tpl, cart.php?gid=addons, 2026-12-02) ---------- */
.ed-addons .cart-body { display: grid; gap: 16px; align-content: start; }
.ed-addons__head { display: flex; align-items: center; gap: 16px; padding: 26px 30px; border-radius: 30px; background: var(--ed-ink); color: #fff; }
.ed-addons__mark { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 54px; height: 54px; border-radius: 18px; background: var(--ed-lime); color: var(--ed-ink); font-size: 22px; }
.ed-addons__head h1 { margin: 0; font-size: clamp(26px, 3vw, 34px); font-weight: 800; color: #fff; }
.ed-addons__head p { margin: 2px 0 0; font-size: 15px; color: rgba(255, 255, 255, .7); }
.ed-addons__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.ed-addons__card { --f-line: var(--ed-rule-dcdcd4); --f-bg: var(--ed-tint-f9f9f6); --f-mute: var(--ed-muted-2); display: grid; gap: 14px; align-content: start; margin: 0; padding: 24px; border-radius: 26px; background: var(--ed-surface); box-shadow: 0 1px 2px rgba(17, 17, 17, .04), 0 24px 48px -36px rgba(17, 17, 17, .35); }
.ed-addons__name { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 18px; font-weight: 800; color: var(--ed-text); }
.ed-addons__name i { color: #5aa832; }
.ed-addons__desc { margin: 0; font-size: 14.5px; line-height: 1.8; color: var(--ed-muted); }
.ed-addons__for select { display: block; width: 100%; height: 62px; padding: 25px 18px 7px; padding-inline-end: 46px; border: 1.5px solid var(--f-line); border-radius: 18px; background: var(--f-bg); color: var(--ed-text); font: inherit; font-size: 15px; appearance: none; -webkit-appearance: none; }
.ed-addons__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.ed-addons__price { display: grid; gap: 2px; }
.ed-addons__price b { font-size: 20px; font-weight: 800; color: var(--ed-text); font-variant-numeric: tabular-nums; }
.ed-addons__price small { font-size: 13px; color: var(--ed-muted); }
.ed-addons__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--ed-tint-f2f2ec); color: var(--ed-text) !important; font: inherit; font-size: 15px; font-weight: 800; text-decoration: none !important; cursor: pointer; }
.ed-addons__btn.is-lime { background: var(--ed-lime); color: var(--ed-ink) !important; }
.ed-addons__btn.is-ink { background: var(--ed-ink); color: #fff !important; }
.ed-addons__empty { display: grid; justify-items: center; gap: 8px; padding: 48px 24px; border-radius: 28px; background: var(--ed-surface); text-align: center; box-shadow: 0 1px 2px rgba(17, 17, 17, .04), 0 24px 48px -36px rgba(17, 17, 17, .35); }
.ed-addons__empty > span { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin-bottom: 6px; border-radius: 22px; background: var(--ed-tint-f3ffd6); color: var(--ed-ink); font-size: 26px; }
.ed-addons__empty b { font-size: 19px; font-weight: 800; color: var(--ed-text); }
.ed-addons__empty p { max-width: 420px; margin: 0; color: var(--ed-muted); line-height: 1.8; }
.ed-addons__emptyrow { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }
:root[data-theme="dark"] .ed-addons__head { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
:root[data-theme="dark"] .ed-addons__btn.is-ink { background: var(--ed-text); color: var(--ed-ink) !important; }
@media (max-width: 600px) { .ed-addons__head { padding: 22px 18px; border-radius: 24px; } }
